/************* LOGIN *****************/
.user-password{
  width: 91% !important;
}
.icon-show-password {
  position: absolute !important;
  top: unset;
  bottom: 0;
  right: 0;
  margin: 0px 10px 7px 0px;
  cursor: pointer;
  z-index: 1000;
}
.loginForm {
  padding-top: 2em;
  width: 100%;
  opacity: 0;
  -webkit-animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.175s 1 normal forwards;
          animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.175s 1 normal forwards;
}
.loginForm .login-input-container{
  position: relative;
  height: 2.9em;
  border-bottom-width: 1px;
  font-size: 20px;
  margin-top: 20px;
}

.loginForm .login-loadingBlock {
  width: 100%;
  height: 50%;
  background: url(../../global/images/login-loading.gif) #2793ad no-repeat 50%;        
  z-index: 99;    
  opacity: 0.7;
  padding: 50%;
}

.wrongData{
  border-bottom: 1px solid red !important;
}

.loginForm input:not(#terms) {
  display: block;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  top: 1.2em;
  z-index: 1;
  padding: 1px;
  font-size: 1em;
  font-family: "Helvetica Neue", Helvetica, Arial;
  letter-spacing: 0.012em;
}

.loginForm input:not(.login-form-button){
  background: none;
  border-bottom: 1px solid rgb(224, 224, 224);
}

.loginForm label {
  font-family: "Helvetica Neue", Helvetica, Arial;
  display: block;
  position: absolute;
  margin-top: 2px;
  padding: 1px;
  letter-spacing: 0.012em;
  color: #ACACAC;
  font-size: 1em;
  -webkit-animation-name: labelIn;
          animation-name: labelIn;
  -webkit-animation-duration: 0.35s;
          animation-duration: 0.35s;
  -webkit-animation-direction: reverse;
          animation-direction: reverse;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
          animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}
.loginForm input:focus + label, .loginForm input:valid + label {
  -webkit-animation-name: labelOut;
          animation-name: labelOut;
  -webkit-animation-duration: 0.35s;
          animation-duration: 0.35s;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
          animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}
@-webkit-keyframes labelIn {
  0% {
    left: 1px;
    opacity: 1;
    top: 1.2em;
    font-size: 1em;
    font-weight: 300;
  }
  50% {
    font-size: 1em;
    left: 1em;
    opacity: 0;
    top: 1.2em;
    font-weight: 300;
  }
  50.01% {
    font-size: 0.65em;
    left: 1em;
    opacity: 0;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
  100% {
    font-size: 0.65em;
    opacity: 1;
    left: 1px;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
}
@keyframes labelIn {
  0% {
    left: 1px;
    opacity: 1;
    top: 1.2em;
    font-size: 1em;
    font-weight: 300;
  }
  50% {
    font-size: 1em;
    left: 1em;
    opacity: 0;
    top: 1.2em;
    font-weight: 300;
  }
  50.01% {
    font-size: 0.65em;
    left: 1em;
    opacity: 0;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
  100% {
    font-size: 0.65em;
    opacity: 1;
    left: 1px;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
}
@-webkit-keyframes labelOut {
  0% {
    left: 1px;
    opacity: 1;
    top: 1.2em;
    font-size: 1em;
    font-weight: 300;
  }
  50% {
    font-size: 1em;
    left: 1em;
    opacity: 0;
    top: 1.2em;
    font-weight: 300;
  }
  50.01% {
    font-size: 0.65em;
    left: 1em;
    opacity: 0;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
  100% {
    font-size: 0.65em;
    opacity: 1;
    left: 1px;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
}
@keyframes labelOut {
  0% {
    left: 1px;
    opacity: 1;
    top: 1.2em;
    font-size: 1em;
    font-weight: 300;
  }
  50% {
    font-size: 1em;
    left: 1em;
    opacity: 0;
    top: 1.2em;
    font-weight: 300;
  }
  50.01% {
    font-size: 0.65em;
    left: 1em;
    opacity: 0;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
  100% {
    font-size: 0.65em;
    opacity: 1;
    left: 1px;
    top: 0.2em;
    color: #0075d5;
    font-weight: 400;
  }
}
.loginForm *:focus {
  outline: 0;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.terms-container{
  z-index: 100;
  margin-left: 5px;
  margin-top: 8px;
  position: absolute;
}

.terms-container #terms{
  margin-right: 7px;
}

.login-button-container{
  display: flex;
  justify-content: flex-end;
  width: 100%;
  font-size: 20px;
  height: 30px;
}

/* Hack for IE 8 to 10*/
@media screen\0 {
  .login-button-container{
    width: 80%;
  }
}

.login-button-container .login-form-button{
  width: 20% !important;
  height: 100%;
  margin-top: 2px;
}

.login-back-container{
  position: absolute;
  top: 92%;
  width: 90%;
}

.login-back-container .loginBack{
  color: #337ab7;
  cursor: pointer;
  text-align: center;
}

.login-disclaimer{
  font-size: 11px;
}

.left-margin{
  margin-left: 45px !important;
}

.login-logos-container {
  display: flex;
  flex-flow: row wrap;
}

.crps-select .name-type-container:not(:first-child){
  margin-top: 13px;
}

.login-logos-container ul, .selection-bar-options ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.login-logos-container ul li, .selection-bar-options ul li{
  display: inline;
}

.login-logos-container ul li img{
  width: 130px;
  height: 50px;
}

.selection-bar-options ul li .selection-bar-acronym{
  text-align: center;
  vertical-align: middle;
  line-height: 30px;
  font-size: 18px;
}

.selection-bar-options ul li img, .selection-bar-options ul li .selection-bar-acronym{
  border: 1px dashed #d3d3d3;
  background-color: rgba(255, 255, 255, 0.1);
  width: 130px;
  height: 100%;
  margin: 3px 8px;
  cursor: pointer;
}

.selection-bar-options ul li img:hover, .selection-bar-options ul li .selection-bar-acronym:hover{
  background-color: #fff;
  border: 1px dashed #2ca6cb;
}

.selection-bar-options ul li.active img, .selection-bar-options ul li.active div{
  border: 1px solid #2ca6cb;
  background-color: #fff;
}

span.login-input-container.welcome-message{
  color: rgb(141, 140, 140);
}

span.login-input-container.username{
  margin: 8px;
  text-decoration: #d3d3d3 dotted underline;
  cursor: pointer;
}

/* Icon style */
span.login-input-container.username i{
  font-size: 12px;
  vertical-align: middle;
  line-height: 5px;
  height: 10px;
}

span.login-input-container.username:hover i{
  color: rgb(182, 182, 182);
}

.crps-select{
  display: inline-block;
  position: absolute;
  margin-top: 10px;
  left: 80px;
  background-color: #f7f7f7;
  border: 1px solid #ECECEC;
  height: 380px;
  width: 165px;
  box-shadow: 1px 0px 1px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  transition: left 0.5s ease;
}

.crps-select .name-type-container{
  display: flex;
  justify-content: center;
  color: #fff;
  background-color: #438cb1;
  width: 50%;
}

.crps-select.show-select-bar{
  left: -135px;
}

@media(max-width:767px){
  .crps-select.show-select-bar{
    /* Firefox */
    left: -moz-calc(100% - 20px);
    /* WebKit */
    left: -webkit-calc(100% - 20px);
    /* Opera */
    left: -o-calc(100% - 20px);
    /* Standard */
    left: calc(100% - 20px);
  }  
}

p.login-description{
  font-size: 15px;
}

#loginContainer .leftSide {
  width: 60%;
  float: left;
}

#loginContainer .introduction {
  text-align: justify;
  font-style: italic;
}

#loginContainer .disclaimer {
  padding: 10px;
  margin-top: 15px;
  font-weight: 600;
  color: #663300;
}

#loginContainer .leftSide {
  width: 50%;
  float: left;
}

#loginContainer .rightSide {
  width: 50%;
  float: right;
}

#loginContainer #imgModal {
  box-shadow: none;
  text-align: center;
  width: 65%;
}

.loginForm p.invalidField{
  position: absolute;
  padding-right: 15px;
  font-size: 12px;
  color: red;
}

.loginForm p.invalidField{
  position: relative !important;
}

#loginFormContainer .loginForm {
  background-color: #f7f7f7;
  border: 1px solid #ECECEC;
  padding: 8px 24px;
  border-radius: 7px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  margin-top: 10px;
  z-index: 2;
}

#loginFormContainer .loginForm:not(.instructions) {
  min-height: 200px;
}

#loginFormContainer .loginForm.max-size{
  height: 410px;
}

#loginFormContainer .loginForm p {
  margin: 5px 0;
}

#loginFormContainer .loginForm .fieldError {
  font-weight: bold;
  text-align: center;
  padding: 0;
}

#loginFormContainer .loginForm h6 {
  margin: 0px;
}

#loginFormContainer .loginForm div label {
  font-size: 13px;
}

#loginFormContainer .loginForm div input[type=submit] {
  width: 35%;
}

#loginFormContainer .loginForm div input[type=text],#loginFormContainer .loginForm div input[type=password] {
  box-shadow: none;
}

/*input border animation*/

.login-input-container { position: relative; }

.login-input-container::after {
  position: absolute;
  bottom: 0;
  left: 49%;
  z-index: 1;
  content: "";
  width: 2%;
  height: 2px;
  visibility: hidden;
  background-color: #2ca6cb;
  transition-duration: .4s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.login-input-container.is-focused::after {
  left: 0;
  width: 100%;
  visibility: visible;
}

#loginFormContainer .form-control {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-family: 'Open Sans', sans-serif;
  color: #666;
  border: none;
  border-bottom: 2px solid #ccc;
}
#loginFormContainer .form-control:focus {
  border-color: #ccc;
  outline: none;
}

#loginFormContainer input[type=checkbox] {
  transform: scale(1.2);
}

#loginFormContainer input[type="submit"]:disabled{
  opacity: 0.5;
}

/*end input animation*/