/* ****************************** *\
   Mobile First
\* ****************************** */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

* {
  -webkit-box-sizing: border-box; /* Android ≤ 2.3, iOS ≤ 4 */
     -moz-box-sizing: border-box; /* Firefox ≤ 28 */
          box-sizing: border-box;
}

body {
  background: #f9f9f9;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  position: relative;
  width: 100%;
}

a,
a:link,
a:visited {
  color: #09c;
}

a:hover {
  color: #38b0ed;
}

.login-container {
  text-align: left;
}

.logo {
  background: url(../images/logo_login.png) no-repeat center;
  background-size: 200px 94px;
  height: 100px;
}

.login-failed {
  background: #f3f3f3;
  background-clip: padding-box;
  border-radius: 3px;
  border: 1px solid red;
  font-size: .875em; /* 16 * .875 = 14px */
  font-weight: 300;
  padding: .5em 1em;
  width: 87.5% !important;
}


.input-form {
  margin: 0;
  padding: 0 0 1em;
}

.input-form p {
  margin-left: auto;
  margin-right: auto;
  width: 250px;
}

.login-credentials,
.login-principal {
  margin: 0 auto;
}

.input-form label {
  color: #777;
  cursor: pointer;
  font-size: .875em; /* 16 * .875 = 14px */
  font-weight: 300;
}

.input-form input[type=text],
.input-form input[type=password] {
  border: 1px solid #ccc;
  background-clip: padding-box;
  border-radius: 3px;
  font-size: 100%;
  outline: none;
  padding: .5em;
  width: 100%;
}

input[type=checkbox] {
  display: none;
}

.section-title {
  color: #666;
  font-weight: 400;
}

.fake-checkbox {
  background: #ddd;
  background-image: -ms-linear-gradient(bottom right, #FFFFFF 0%, #C7C7C7 100%); /* IE10 Consumer Preview */ 
  background-image: -moz-linear-gradient(bottom right, #FFFFFF 0%, #C7C7C7 100%); /* Mozilla Firefox */ 
  background-image: -o-linear-gradient(bottom right, #FFFFFF 0%, #C7C7C7 100%); /* Opera */ 
  background-image: -webkit-gradient(linear, right bottom, left top, color-stop(0, #FFFFFF), color-stop(1, #C7C7C7)); /* Webkit (Safari/Chrome 10) */ 
  background-image: -webkit-linear-gradient(bottom right, #FFFFFF 0%, #C7C7C7 100%); /* Webkit (Chrome 11+) */ 
  background-image: linear-gradient(to top left, #FFFFFF 0%, #C7C7C7 100%); /* W3C Markup, IE10 Release Preview */ 
  border: 1px solid #bbb;
  display: inline-block;
  height: 20px;
  margin-right: .5em;
  overflow: hidden;
  padding: 1px;
  position: relative;
  top: .3em;
  text-align: center;
  width: 20px;
}

input[type=checkbox]:checked ~ .fake-checkbox {
  background: url(../images/check.png) no-repeat -1px -1px;
}

.btn-submit {
  background-color: #09c;
  background-image: -webkit-linear-gradient(top, #38b0ed, #09c); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
  background-image:         linear-gradient(to bottom, #38b0ed, #09c); /* Chrome 26, Firefox 16+, IE 10+, Opera */
  background-clip: padding-box;
  border: 1px solid #0c719d;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 100%;
  height: 2em;
  opacity: 1;
  width: 100%;

  -webkit-transition: all .5s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all .5s ease-in-out;
}

.forgot-login {
  display: inline-block;
  font-size: .875em; /* 16px * .875 = 14px */
  margin-top: 2em;
  text-align: center;
  text-decoration: none;
  width: 100%;

  -webkit-transition: all .5s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all .5s ease-in-out;
}

.login-form {
  opacity: 1;
  -webkit-transition: all .5s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all .5s ease-in-out;
}

.forgot-form {
  max-height: 0;
  overflow: hidden;
  position: relative;

  -webkit-transition: all .5s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all .5s ease-in-out;
}





/* ****************************** *\
   How elements look when .forgot
\* ****************************** */

.forgot .forgot-login {
  display: none;
}

.forgot .login-form {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: .6;
}

.forgot .login-form input[type=submit] {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
  opacity: .3;
}

.forgot .forgot-form {
  border-top: 1px solid #ccc;
  max-height: 300px;
}

.redirCt .redir {
	padding: '20 0 0 0';
}

.loginTimeoutRedir {
  display: none;
  background: #f3f3f3;
  background-clip: padding-box;
  border-radius: 3px;
  border: 1px solid red;
  font-size: .875em; /* 16 * .875 = 14px */
  font-weight: 300;
  padding: .5em 1em;
  width: 87.5% !important;
}

.idp-msg {
	color: #777;
	font-size: .875em;
	font-weight: 300;
}

/* ****************************** *\
   Media Query for non-mobile
\* ****************************** */

@media screen and (min-width: 400px) {
  .login-container {
    background-color: #fff;
    background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
    background-image:         linear-gradient(to bottom, #fff, #f3f3f3);
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 4px 0px #ddd;
            box-shadow: 0px 1px 4px 0px #ddd;
    margin: auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 400px;
  }

  .logo {
    background-size: auto;
    height: 137px;
    margin-top: 12px;
  }

  .fake-checkbox:hover {
    background-image: -ms-linear-gradient(bottom right, #FFFFFF 0%, #8FECFF 100%); /* IE10 Consumer Preview */ 
    background-image: -moz-linear-gradient(bottom right, #FFFFFF 0%, #8FECFF 100%); /* Mozilla Firefox */ 
    background-image: -o-linear-gradient(bottom right, #FFFFFF 0%, #8FECFF 100%); /* Opera */ 
    background-image: -webkit-gradient(linear, right bottom, left top, color-stop(0, #FFFFFF), color-stop(1, #8FECFF)); /* Webkit (Safari/Chrome 10) */ 
    background-image: -webkit-linear-gradient(bottom right, #FFFFFF 0%, #8FECFF 100%); /* Webkit (Chrome 11+) */ 
    background-image: linear-gradient(to top left, #FFFFFF 0%, #8FECFF 100%); /* W3C Markup, IE10 Release Preview */ 
  }

  .forgot .forgot-login {
    display: inline-block;
  }
}

.unauthMsg {
	text-align: center;
	font-size: large;
	font-weight: bold;
	color: #AA0000;
}
