* {
  margin: 0;
  padding: 0;

  -webkit-font-smoothing: antialiased;
}

body, html {
  height: 100%;
}
body {
  font: 13px/21px "Helvetica Neue", sans-serif;
  color: #687178;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);

  background: url("../../styles/images/htmlbg.png") repeat-x scroll 0 0 #5F5F5F;
}

a img{
  border: none;
}

.login {
  background: rgba(255,255,255,.5);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.88)), to(rgba(255,255,255,.5)));
  background: -webkit-linear-gradient(top, rgba(255,255,255,.88), rgba(255,255,255,.5));
  background: -moz-linear-gradient(top, rgba(255,255,255,.8), rgba(255,255,255,.5));
  background: -o-linear-gradient(top, rgba(255,255,255,.88), rgba(255,255,255,.5));
  background: -ms-linear-gradient(top, rgba(255,255,255,.88), rgba(255,255,255,.5));
  background: linear-gradient(top, rgba(255,255,255,.88), rgba(255,255,255,.5));

  padding-bottom: 15px;

  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 0 1px rgba(0,0,0,.3), inset 0 0 1px 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 2px rgba(0,0,0,.05);
  border-radius: 3px;
}
.loading {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: url(spinner.gif) 50% 50% no-repeat;
  display: none;
}

.login, .protips {
  position: absolute;
  left: 50%;
  width: 300px;
  margin-left: -140px;
}
.protips {
  margin-top: 100px;
  font-size: 11px;
  text-shadow: none;
}
.protips a {
  color: #547892;
  text-decoration: none;

  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}
.protips a:hover {
  color: #19252d;
}
.protips a + a {
  float: right;
  font-weight: bold;
}

.image {
  position: relative;
  width: 266px;
  height: 80px;
  margin: 30px auto;

  border-radius: 11px;
}
.image a {
  border: none;
}
.image .logo {
  position: absolute;
  top: 15px;
}

input[type="submit"].hide {
  position: absolute;
  left: -9999px;
}

input {
  padding: 8px 12px;

  font: 13px "Helvetica Neue", sans-serif;
  color: #52646e;

  border: none; /* handled by `form p` */

  box-shadow: inset 0 1px 1px rgba(0,0,0,.1);

  background: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.8)), to(#fff));
  background: -webkit-linear-gradient(top, rgba(255,255,255,.8), #fff);
  background: -moz-linear-gradient(top, rgba(255,255,255,.8), #fff);
  background: -o-linear-gradient(top, rgba(255,255,255,.8), #fff);
  background: -ms-linear-gradient(top, rgba(255,255,255,.8), #fff);
  background: linear-gradient(top, rgba(255,255,255,.8), #fff);

  position: relative;
  z-index: 10;

  display: block;
  width: 186px;

  border-radius: 2px;
  margin-bottom: 0;
}
input:focus {
  outline: none;
  background: #FFFFDD;
  border-color: #e7eaec;
}

::-webkit-input-placeholder {
  color: #adb8be;
}

form label {
  position: absolute;
  z-index: 11;
  left: 12px;
  right: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  width: auto;
  height: 20px;
  line-height: 20px;
  margin-top: 6px;
  color: #999;
}

form p {
  position: relative;
  padding: 1px;

  width: 210px;
  margin: 0 auto 20px;

  background: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#9aa3a9), to(#bac2c7));
  background: -webkit-linear-gradient(top, #9aa3a9, #bac2c7);
  background: -moz-linear-gradient(top, #9aa3a9, #bac2c7);
  background: -o-linear-gradient(top, #9aa3a9, #bac2c7);
  background: -ms-linear-gradient(top, #9aa3a9, #bac2c7);
  background: linear-gradient(top, #9aa3a9, #bac2c7);

  box-shadow: 0 1px 0 rgba(255,255,255,.3);

  border-radius: 3px;
}
form p:1after {
  content: '';
  position: absolute;
  left: 1px;
  bottom: 1px;
  right: 1px;
  top: 1px;

  background: #fff;
  border-radius: 2px;
}

#error {
  background: rgba(167, 45, 36, 0.9);
  position: absolute;
  top: 130px;
  z-index: 99;
  left: 20px;
  right: 20px;
  text-shadow: none;
  color: white;
  padding: 0 10px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 0 1px rgba(0,0,0,.3), inset 0 0 1px 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 2px rgba(0,0,0,.05);
}
#error::after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -7px;
  top: -6px;
  display: block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(167, 45, 36, 1);
  opacity: .8;
}
p.reset {
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: #306cb9;
}

input[type="submit"].reset {
  text-align: center;
  width: 100%;
  background: #5daadc; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVkYWFkYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMDZjYjkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #5daadc 0%, #306cb9 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5daadc), color-stop(100%,#306cb9)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #5daadc 0%,#306cb9 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #5daadc 0%,#306cb9 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #5daadc 0%,#306cb9 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #5daadc 0%,#306cb9 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5daadc', endColorstr='#306cb9',GradientType=0 ); /* IE6-8 */
  color: #FFF;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  text-shadow: 0 -1px rgba(0,0,0,0.25);
  box-shadow: inset 0 1px rgba(255,255,255,0.2);
  font-weight: 500;
  padding: 7px 12px 8px;
}
input[type="submit"].reset:hover {
  color: rgba(255,255,255,1);
  background: #5aa5d6; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: -moz-linear-gradient(top,  #5aa5d6 0%, #2f69b5 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5aa5d6), color-stop(100%,#2f69b5)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #5aa5d6 0%,#2f69b5 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #5aa5d6 0%,#2f69b5 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #5aa5d6 0%,#2f69b5 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #5aa5d6 0%,#2f69b5 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5aa5d6', endColorstr='#2f69b5',GradientType=0 ); /* IE6-8 */
}

input[type="submit"].reset:active {
  color: rgba(255,255,255,1);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.1);
  background: #58a1d1; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: -moz-linear-gradient(top,  #58a1d1 0%, #2e66b0 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#58a1d1), color-stop(100%,#2e66b0)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #58a1d1 0%,#2e66b0 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #58a1d1 0%,#2e66b0 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #58a1d1 0%,#2e66b0 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #58a1d1 0%,#2e66b0 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#58a1d1', endColorstr='#2e66b0',GradientType=0 ); /* IE6-8 */
}

