
html {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: #ececec url("../images/texture.jpg");
  position: relative;
  min-height: 100%; 
  padding: 0;
  margin: 0 !important;
}



.button-blue {
  border: 1px solid #0099cc;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: #089dcf; /* Old browsers */
  background: -moz-linear-gradient(top, #089dcf 0%, #0099cc 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#089dcf), color-stop(100%,#0099cc)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* IE10+ */
  background: linear-gradient(to bottom, #089dcf 0%,#0099cc 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#089dcf', endColorstr='#0099cc',GradientType=0 ); /* IE6-9 */
  color: #FFFFFF;
  padding: 6px;
  width: 100%;
}

.button-blue:hover {
  color: #eeeeee;

}

.button-blue:active {
  -webkit-box-shadow: none;
  background: #089dcf; /* Old browsers */
  background: -moz-linear-gradient(top, #0099cc 0%, #089dcf 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0099cc), color-stop(100%,#089dcf)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #0099cc 0%,#089dcf 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #0099cc 0%,#089dcf 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #0099cc 0%,#089dcf 100%); /* IE10+ */
  background: linear-gradient(to bottom, #0099cc 0%,#089dcf 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0099cc', endColorstr='#089dcf',GradientType=0 ); /* IE6-9 */
}

/* Login page */

.login-container {
  width: 400px;
  position: absolute;
  left: 50%;
  top: 320px;
  margin-left: -200px;
  margin-top: -170px;
}

.login-container .login {
  background: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 100px 30px 30px;
}

.login-container .login .avatar {
  width: 173px;
  height: 123px;
  padding: 25px 2px 2px 2px;
  border: 1px solid #d2d2d2;
  background: #fff;
  position: absolute;
  left: 41%;
  margin-left: -51px;
  top: -90px;
}

.login-container .login form {
  width: 238px;
  margin: -12px auto 0;
}

.login-container .login form .error-login {
  color: #b94a48;
  background: #f2dede url("../images/progress-pattern.png");
  border: 1px solid #dcadad;
  padding: 8px 0 7px;
  text-align: center !important;
  display: block;
  margin-bottom: 20px;
  display: none;
  font-size: 11px;
}

.login-container .login form > input {
  width: 238px;
  margin-bottom: 20px;
  padding-left: 41px !important;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.login-container .login form > input.error {
  border: 1px solid #e24f4d;
}

.login-container .login form > input:focus {
  border: 1px solid #0099cc;
}

.login-container .login form > input.login-input {
  background: url("../images/user-login.png") no-repeat left;
}

.login-container .login form > input.password-input {
  background: url("../images/password-login.png") no-repeat left;
}

.login-container .login form > input.email-input {
  background: url("../images/email-login.png") no-repeat left;
}

.login-container .login form > input.morada-input {
  background: url("../images/morada-login.png") no-repeat left;
}

.login-container .login form > input.telefone-input {
  background: url("../images/telefone-login.png") no-repeat left;
}

.login-container .login form > input.nome-input {
  background: url("../images/nome-login.png") no-repeat left;
}

.login-container .login form > input.contribuinte-input {
  background: url("../images/contribuinte-login.png") no-repeat left;
}



.login-container .login-footer {
  padding: 15px;
  margin-top: 20px;
  background: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  text-align: center;
}

.login-container > span {
  text-align: center;
  display: block;
  margin-top: 7px;
  font-size: 11px;
}

/* Login page v2 */

.login-containerv2 {
  width: 620px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -310px;
  margin-top: -150px;
}

.login-containerv2 a img {
  -webkit-border-radius: 150px;
  width: 100px;
  height: 100px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
}

.login-containerv2 .nouser {
  display: inline-block;
  float: left;
  margin-top: 50px;
  -webkit-border-radius: 100px;

}

.login-containerv2 .forgot {
  display: inline-block;
  float: right;
  margin-top: 50px;
  -webkit-border-radius: 100px;
}

.login-containerv2 .loginform {
  width: 300px;
  background: #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  display: inline-block;
}

.login-containerv2 .loginform form {
  padding: 20px;
  display: block;
  margin: 0;
}

.login-containerv2 .loginform form > input {
  width: 100%;
  margin-bottom: 20px;
  padding-left: 41px !important;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.login-containerv2 .loginform form > input.error {
  border: 1px solid #e24f4d;
}

.login-containerv2 .loginform form > input:focus {
  border: 1px solid #0099cc;
}

.login-containerv2 .loginform form > input.password-input {
  background: url("../images/password-login.png") no-repeat left;
}

.login-containerv2 .loginform form > .button {
  margin-top: 15px;
}

/* Error containers */

.error-container {
  position: absolute;
  top: 50%;
  margin-top: -100px;
  width: 100%;
  text-align: center;
}

.error-code {
  display: inline-block;
  position: relative;
  top: 0px;
  width: 100px;
  height: 100px;
  -webkit-border-radius: 120px;
  line-height: 100px;
  font-size: 45px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.55);
  -webkit-box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.55), inset 0 1px 2px 0 rgba(255, 255, 255, 0.35);
  -moz-box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.55), inset 0 1px 2px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.55), inset 0 1px 2px 0 rgba(255, 255, 255, 0.35);
  background: #089dcf; /* Old browsers */
  background: -moz-linear-gradient(top, #089dcf 0%, #0099cc 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#089dcf), color-stop(100%,#0099cc)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #089dcf 0%,#0099cc 100%); /* IE10+ */
  background: linear-gradient(to bottom, #089dcf 0%,#0099cc 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#089dcf', endColorstr='#0099cc',GradientType=0 ); /* IE6-9 */
}

.error-message {
  font-size: 44px;
  display: inline-block;
  margin-left: 15px;
  text-align: left;
} 

.error-message p {
  font-size: 14px;
  margin-top: 25px;
}

.error-container .error-buttons {
  text-align: left;
  margin-top: 15px;
}

.error-container .error-buttons .button {
  float: left;
}
