
html, body, input, select, button {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  color: #898989;
}
/* For normal screen devices */
html
{
  background-image: url(/images/background_byn_ccentral_720.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  height: 100%;
  overflow: hidden;

  margin: 0;
  padding: 0;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* For hd screen devices */
@media only screen and (min-width: 720px) {
  html {
    background-image: url(/images/background_byn_ccentral_1080.jpg);
  }
}
/* For retina screen devices */
@media only screen and (min-width: 1080px) {
  html {
    background-image: url(/images/background_byn_ccentral_4k.jpg);
  }
}
.container {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.75);
}
.form-module {
  position: absolute;
  width: 280px;

  top: 50%;
  left: 50%;
  margin-top: -160px;
  margin-left: -140px;

  background: white;
  border-top: 60px solid #375b92;
  border-bottom: 12px solid #375b92;
  z-index: 100;
  -webkit-box-shadow: 4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  -moz-box-shadow:    4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  box-shadow:         4px 4px 20px 0 rgba(50, 50, 50, 0.5);
}
.form-sso-module {
  margin-left: -230px;
}
.form-recover-module {
  margin-top: -300px;
  margin-left: -344px;
  width: 352px;
}
.form-start-module {
  width: 720px;
  margin-left: -360px;
}
.sso-module {
  position: absolute;
  width: 180px;
  height: 300px;

  top: 50%;
  left: 50%;
  margin-top: -148px;
  margin-left: 50px;
  background: white;
  z-index: 50;
  -webkit-box-shadow: 4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  -moz-box-shadow:    4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  box-shadow:         4px 4px 20px 0 rgba(50, 50, 50, 0.5);
}
.sso-module .logo {
  text-align: center;
  height: 120px;
  width: 180px;
  background-repeat: no-repeat;
  background-size: contain;
}
.recover-module {
  position: absolute;
  width: 350px;
  padding: 15px;

  top: 50%;
  left: 50%;
  margin-top: -250px;
  margin-left: 176px;
  background: white;
  -webkit-box-shadow: 4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  -moz-box-shadow:    4px 4px 20px 0 rgba(50, 50, 50, 0.5);
  box-shadow:         4px 4px 20px 0 rgba(50, 50, 50, 0.5);
}
.form-start-module .app {
  position: relative;
  height: 80px;
  width: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  float: left;
}
.app .app-content {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  position: absolute;
  bottom: 0;
}
form.box {
  float:none;
}
.form-start-module .uls,
.sso-module .uls {
  background-image: url(/images/logos/logo-uls.png);
}
.form-start-module .eduroam,
.sso-module .eduroam {
  background-image: url(/images/logos/logo-eduroam.png);
}
.form-start-module .moodle,
.sso-module .moodle {
  background-image: url(/images/logos/logo-moodle.png);
}
.form-start-module .soporte,
.sso-module .soporte {
  background-image: url(/images/logos/logo-soporte.png);
}
.form-start-module .reuna,
.sso-module .reuna {
  background-image: url(/images/logos/logo-reuna.png);
}
.form-start-module .gitlab,
.sso-module .gitlab {
  background-image: url(/images/logos/logo-gitlab.png);
}
.form-start-module .vpn,
.sso-module .vpn {
  background-image: url(/images/logos/logo-vpn.png);
}
.form-module .logo {
  position: relative;
  clear: left;
  padding: 0;
  bottom: 100px;
  margin-bottom: -100px;
  margin-left: -15px;
  width: 100px;
  height: 100px;
  background-image: url(/images/uls.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.form-module .title {
  position: relative;
  clear: right;
  bottom: 50px;
  margin-bottom: -45px;
  margin-left: 85px;
  width: 180px;
  height: 40px;
  text-align: right;
  color: white;
  font-size: 24px;
}
.form-start-module .title {
  text-align: left;
}
.form-recover-module .title {
  width: 250px;
}
.form-module .subtitle {
  position: relative;
  clear: right;
  bottom: 18px;
  margin-bottom: -45px;
  margin-left: 83px;
  width: 180px;
  height: 40px;
  text-align: right;
  color: white;
  font-size: 10px;
  font-style: italic;
}
.form-start-module .subtitle {
  text-align: left;
  width: 250px;
}
.form-recover-module .subtitle {
  width: 250px;
}
.form-start-module .user_tag {
  position: relative;
  clear: right;
  bottom: 42px;
  margin-left: 160px;
  right: 0;
  width: 550px;
  height: 40px;
  text-align: right;
  color: white;
  font-size: 12px;
}
.user_tag p {
  padding: 0;
  margin: 0;
}
.sso-module .title {
  text-align: center;
  display: table-cell;
  vertical-align: bottom;
  height: 100px;
  width: 180px;
}

.recover-module .content {
  font-size: 11px;
  text-align: justify;
  text-justify: inter-word;
}
.recover-module .kako {
  text-align: center;
  color: white;
  font-size: 21px;
  background-color: red;
}
.form-module .form {
  padding: 25px 25px 0 25px;
}
.form-start-module .form {
  padding: 0 15px 15px 0;
  text-align: right;
}
.form-module label {
  display: block;
  width: 100%;
}
.form-module label.msg {
  display: block;
  width: 100%;
  color: white;
  font-size: 12px;
  margin-bottom: 8px;
}
.form-module label.error {
  color: red;
}
.form-module input,
.form-module select {
  display: block;
  width: 100%;
  border: 1px solid #b2b2b2;
  padding: 5px;
  padding-left: 30px;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}
.form-module input:focus,
.form-module select:focus {
  outline: none;
  color: white;
  border: 1px solid #747373;
  background-color: #c5c5c5;
}
.form-module input.error,
.form-module select.error {
  outline: none;
  color: white;
  border: 1px solid red;
  background-color: #c87575;
}
.form-module input.ok,
.form-module select.ok {
  outline: none;
  color: white;
  border: 1px solid #375b92;
  background-color: #387fd8;
}
.form-module #user,
.form-module #nid {
  background-image: url(/images/user.png);
  background-position: 6px 5px;
  background-repeat: no-repeat;
  background-size: 18px auto;
}
.form-module #password,
.form-module #voucher,
.form-module #new-password,
.form-module #rep-password {
  background-image: url(/images/key.png);
  background-position: 6px 5px;
  background-repeat: no-repeat;
  background-size: 18px auto;
}
.form-module #user:focus,
.form-module #user.error,
.form-module #user.ok,
.form-module #nid:focus,
.form-module #nid.error,
.form-module #nid.ok {
  background-image: url(/images/user-reverse.png);
}
.form-module #password:focus,
.form-module #password.error,
.form-module #password.ok,
.form-module #voucher:focus,
.form-module #voucher.error,
.form-module #voucher.ok,
.form-module #new-password:focus,
.form-module #new-password.error,
.form-module #new-password.ok,
.form-module #rep-password:focus,
.form-module #rep-password.error,
.form-module #rep-password.ok {
  background-image: url(/images/key-reverse.png);
}
/*#user:focus::-webkit-input-placeholder,
#voucher:focus::-webkit-input-placeholder,
#user:focus:-moz-placeholder,
#user:focus::-moz-placeholder,
#user:focus:-ms-input-placeholder,*/
#user:focus::placeholder,
#voucher:focus::placeholder {
  color: white;
}
.form-module button {
  cursor: pointer;
  background: #375b92;
  width: 100%;
  border: 0;
  padding: 5px 10px;
  margin-top: 10px;
  color: white;
  font-size: 16px;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}
.form-module button:hover {
  background: #1b3660;
}
.form-start-module button {
  width: 200px;
  margin-top: 25px;
}
.form-module .cta {
  width: 100%;
  padding: 15px;
  text-align: center;
}
.form-module .cta a {
  text-decoration: none;
}
.footer {
  position: absolute;
  vertical-align: bottom;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 100px;
  z-index: 20;
  background-color: white;
  background-color: rgba(255, 255, 255, .75);
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.footer_txt {
  position: absolute;
  vertical-align: bottom;
  left: 0;
  bottom: 20px;
  width: 100%;
  min-height: 50px;
  padding: 0;
  z-index: 10;
  transition: opacity 0.5s ease;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  opacity: 0;
}
.footer p {
  font-size: 10px;
  line-height: 12px;
  margin: 0;
}
.footer_txt p {
  font-size: 14px;
  text-align: center;
  line-height: 14px;
  color: #555;
}
.footer .footer_left {
  padding-left: 220px;
  margin-top: 32px;
  float:left;
  background: url(/images/cic.png);
  background-position: 35px 2px;
  background-repeat: no-repeat;
  background-size: auto 35px;
}
.footer .footer_right {
  padding-right: 220px;
  margin-top: 32px;
  text-align: right;
  float:right;
  background: url(/images/ptdi.png);
  background-position: 200px 6px;
  background-repeat: no-repeat;
  background-size: auto 22px;
}
#main {
  position: absolute;
	top: 50%;
  width: 100%;
  height: 260px;
  margin-top: -130px;
  background: white;
  background-color: rgba(255, 255, 255, 0.75);
}
#message {
  position: absolute;
	top: 50%;
  width: 100%;
  height: auto;
  margin-top: -80px;
  background: white;
  background-color: rgba(255, 255, 255, 0.75);
}
#head {
  position: absolute;
	top: 50%;
  width: 100%;
  height: 100px;
  margin-top: -200px;
  background: white;
  background-color: rgba(255, 255, 255, 0.75);
}
#message div {
  padding: 30px 50px;
  color: #666;
}
#main #uls {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: 85px;
	margin-top: -80px;
	width: 159px;
	height: 159px;
	background-image: url(/images/uls-error.png);
  background-repeat: no-repeat;
	z-index:10;
}
#main #cic {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -300px;
	margin-top: -39px;
	width: 346px;
	height: 77px;
	background-image: url(/images/cic-error.png);
  background-repeat: no-repeat;
	z-index:10;
}
#head #uls {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: 75px;
	margin-top: -60px;
	width: 120px;
	height: 120px;
  background-image: url(/images/uls-error.png);
  background-repeat: no-repeat;
  background-size: 120px auto;
	z-index:10;
}
#head #cic {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -25px;
	width: 250px;
	height: 55px;
  background-image: url(/images/cic-error.png);
  background-repeat: no-repeat;
  background-size: 250px auto;
	z-index:10;
}
/*@media only screen and (max-width: 800px) {
  .footer {
    opacity: 0;
  }
  .footer_txt {
    opacity: 1;
  }
}*/
@media only screen and (max-height: 800px), only screen and (max-width: 750px) {

  .footer {
    opacity: 0;
  }
  .footer_txt {
    opacity: 1;
  }

  .container {
    overflow-y: scroll;
  }

  .form-recover-module {
    top: 0%;
    margin-top: 20px;
    margin-left: -175px;
  }

  .recover-module {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px 15px 0  15px;

    top: 0;
    left: 0;
    margin: 0;
    margin-top: 10px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  .footer_txt {
    margin-bottom: -100px;
  }
}
@media only screen and (max-height: 550px) {
  .footer {
    opacity: 0;
  }
  .footer_txt {
    opacity: 0;
  }
}
