.buttonrag {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 12px 24px;
    border: 2px solid #949292;
    border-radius: 5px;
    background: #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));
    background: -moz-linear-gradient(top, #ffffff, #ffffff);
    background: linear-gradient(to bottom, #ffffff, #ffffff);
    -webkit-box-shadow: #a83e3e 0px 0px 4px 0px;
    -moz-box-shadow: #a83e3e 0px 0px 4px 0px;
    box-shadow: #a83e3e 0px 0px 4px 0px;
    text-shadow: #ffffff 1px 1px 0px;
    font: normal normal bold 22px arial;
    color: #676b63;
    text-decoration: none;
}
.buttonrag:hover,
.buttonrag:focus {
    border: 2px solid #c0bebe;
    color: #676b63;
    text-decoration: none;
}
.buttonrag:active {
    background: #999999;
    background: -webkit-gradient(linear, left top, left bottom, from(#999999), to(#ffffff));
    background: -moz-linear-gradient(top, #999999, #ffffff);
    background: linear-gradient(to bottom, #999999, #ffffff);
}
.buttonrag:before{
    content:  "\0000a0";
    display: inline-block;
    height: 24px;
    width: 24px;
    line-height: 24px;
    margin: 0 4px -6px -4px;
    position: relative;
    top: 0px;
    left: 0px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVRIicXWL04DQRTH8U8IQSAQCNKgKlFoDsEBqjkAB+ACaA6A7gnQ1RwBiUKhEAjSLGYnDLOv7bCdDS/5ZSeZP7/Z7+y+N3CGJeY4mEBmWOMDdzjOO/sIJ27oUz6TQdfrBdfB4HyxXfFrTGmQ9ISLisV2xiaDDp+4x4kGZxAZJL1iYci5pl1lkLTCpbpzqEIU6QsPOG2JKNIbbnCY4wjaow2SnnG1Ddu+Bl0//xHnLRFFesctjkJWU0VLRDMTICoPeZCvWn2mzRBN+qOt/KSKmlxU/QZ5svtz/Fu6zgtOtPPRiMqSuXdsK/pNbhXltYXh7kcj+gZ66ODweRw0CAAAAABJRU5ErkJggg==") no-repeat left center transparent;
    background-size: 100% 100%;
}
.buttonval {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 12px 24px;
    border: 2px solid #949292;
    border-radius: 5px;
    background: #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));
    background: -moz-linear-gradient(top, #ffffff, #ffffff);
    background: linear-gradient(to bottom, #ffffff, #ffffff);
    -webkit-box-shadow: #a83e3e 0px 0px 4px 0px;
    -moz-box-shadow: #a83e3e 0px 0px 4px 0px;
    box-shadow: #a83e3e 0px 0px 4px 0px;
    text-shadow: #ffffff 1px 1px 0px;
    font: normal normal bold 22px arial;
    color: #676b63;
    text-decoration: none;
}
.buttonval:hover,
.buttonval:focus {
    border: 2px solid #c0bebe;
    color: #676b63;
    text-decoration: none;
}
.buttonval:active {
    background: #999999;
    background: -webkit-gradient(linear, left top, left bottom, from(#999999), to(#ffffff));
    background: -moz-linear-gradient(top, #999999, #ffffff);
    background: linear-gradient(to bottom, #999999, #ffffff);
}
.buttonval:before{
    content:  "\0000a0";
    display: inline-block;
    height: 24px;
    width: 24px;
    line-height: 24px;
    margin: 0 4px -6px -4px;
    position: relative;
    top: 0px;
    left: 0px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVRIicXWL04DQRTH8U8IQSAQCNKgKlFoDsEBqjkAB+ACaA6A7gnQ1RwBiUKhEAjSLGYnDLOv7bCdDS/5ZSeZP7/Z7+y+N3CGJeY4mEBmWOMDdzjOO/sIJ27oUz6TQdfrBdfB4HyxXfFrTGmQ9ISLisV2xiaDDp+4x4kGZxAZJL1iYci5pl1lkLTCpbpzqEIU6QsPOG2JKNIbbnCY4wjaow2SnnG1Ddu+Bl0//xHnLRFFesctjkJWU0VLRDMTICoPeZCvWn2mzRBN+qOt/KSKmlxU/QZ5svtz/Fu6zgtOtPPRiMqSuXdsK/pNbhXltYXh7kcj+gZ66ODweRw0CAAAAABJRU5ErkJggg==") no-repeat left center transparent;
    background-size: 100% 100%;
}

/* ---------- GENERAL ---------- */
* {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
*:before, *:after {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
 body {
background: url(https://i.imgur.com/3liq69j.png);
   background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% top;
    background-attachment: fixed;
}

a {
  color: #eee;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input {
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  padding: 0;
  -webkit-appearance: none;
}

p {
  line-height: 1.5em;
}

.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: ' ';
  display: table;
}
.clearfix:after {
  clear: both;
}

.container {
  left: 50%;
  position: fixed;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/* ---------- LOGIN ---------- */
#login {
  width: 280px;
}

#login form span {
  background-color: #363b41;
  border-radius: 3px 0px 0px 3px;
  color: #606468;
  display: block;
  float: left;
  height: 50px;
  line-height: 50px;
  text-align: center;
  width: 50px;
}

#login form input {
  height: 50px;
}

#login form input[type="text"], input[type="password"] {
  background-color: #3b4148;
  border-radius: 0px 3px 3px 0px;
  color: #f2f2f2;
  margin-bottom: 1em;
  padding: 0 16px;
  width: 230px;
}
/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}
#login form input[type="submit"] {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #4c84ea;
  color: #eee;
  font-weight: bold;
  margin-bottom: 2em;
  text-transform: uppercase;
  width: 280px;
}

#login form input[type="submit"]:hover {
  background-color: #4cb0ea;
}

#login > p {
  text-align: center;
}

#login > p span {
  padding-left: 5px;
}