@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css2?family=Abel);

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #093958; /*Gray*/
}

select:focus,
textarea:focus,
input:focus {
  outline: 0;
}

/**************************************************************************/
/** Placeholder text
/**************************************************************************/

::placeholder {
  color: rgba(166, 170, 169, 0.5);
}

/**************************************************************************/
/** Login container
/**************************************************************************/

.login-container {
  width: 100%;
  padding: 20px 0;
  /*
    height: 400px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.35s cubic-bezier(0.39, 0.575, 0.565, 1);
    transition: opacity 0.35s cubic-bezier(0.39, 0.575, 0.565, 1);
    */
  background-color: #bdd2e4;
}

.login-container,
.login-container input {
  font-family: "Open Sans", "Abel", sans-serif;
  font-size: 16px;
  color: #7d7d7d;
}

.login-container a {
  font-family: "Open Sans", "Abel", sans-serif;
  font-size: 16px;
  color: #1974a9;
}

@media (min-width: 641px) {
  .login-container {
    box-shadow:
      0 12px 14px 0 rgba(0, 0, 0, 0.2),
      0 13px 20px 0 rgba(0, 0, 0, 0.2);
    width: 456px;
    /* height: 610px; */
    padding: 20px 72px 20px 72px;
    border-radius: 5px;
    background-color: #bdd2e4;
  }
}

/**************************************************************************/
/** Login logo
/**************************************************************************/

.login-logo {
  margin: -20px 0 36px 0;
  background: url(../images/dot.svg) no-repeat;

  height: 144px;
  margin-left: -72px;
  border-radius: 0;
  background-position-x: 73px;
  background-color: #1974a9;
  color: #fff;
  background-position-y: 32px;
  background-size: 14%;
}

.login-logo:before {
  content: "NPMS";
  margin-left: 185px;
  display: inline-block;
  float: left;
  font-size: 50px;
  white-space: nowrap;
  color: #fff;
  margin-top: 30px;
}

.login-logo:after {
  content: "U.S. Department of Transportation";
  margin-left: 189px;
  display: inline-block;
  float: left;
  font-size: 50px;
  white-space: nowrap;
  color: #fff;
  margin-top: -9px;
  font-size: 14px;
}

@media (min-width: 641px) {
  .login-logo {
    width: 600px;
    border-radius: 5px 5px 0 0;
  }
}

/**************************************************************************/
/** Login error message
/**************************************************************************/

.login-error {
  font-size: 18px;
  padding: 10px 0 10px 0;
  color: #f7dbdb;
  background-color: #bb2f2f;
  margin: 0px 0 12px;
  line-height: 40px;
  border-radius: 5px;
  height: 40px;
  margin-top: -24px;
}

/**************************************************************************/
/** Borders for the Username and Password Inputs
/**************************************************************************/

.login-username-input,
.login-password-input {
  border-top: 1px solid #b9b9b9;
  border-left: 1px solid #b9b9b9;
  border-right: 1px solid #b9b9b9;
  padding: 0 4px 0 4px;
  background-color: #ffffff;
  transition: 0.4s;
}

.login-username-input {
  border-radius: 8px 8px 0 0;
}

.login-password-input {
  border-bottom: 1px solid #b9b9b9;
  border-radius: 0 0 8px 8px;
}

.login-username-input.disabled,
.login-password-input.disabled {
  background-color: #efefef;
}
.login-username-input.disabled span,
.login-password-input.disabled span {
  opacity: 1;
}

/**************************************************************************/
/** Icons for the Username and Password Inputs
/**************************************************************************/

.login-form span {
  display: inline-block;
  float: left;
  width: 44px;
  height: 44px;
  text-align: center;
}

@media (min-width: 641px) {
  .login-form span {
    width: 56px;
    height: 56px;
  }
}

.login-user-icon,
.login-lock-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center center;
  opacity: 0.5;
}

.login-user-icon {
  background-image: url(../images/email.png);
}

.login-lock-icon {
  background-image: url(../images/password_lock.png);
}

/**************************************************************************/
/** Username, Password, and Submit inputs
/**************************************************************************/

/*     
	.login-form input[type="text"],
    .login-form input[type="password"],
    .login-form input[type="submit"]{
        border: none;
        padding: 0;
        -webkit-appearance: none;
    } 
	*/

/*
    .login-form input[type="text"]:disabled ,
    .login-form input[type="password"]:disabled {
        background-color: #728596;
    }
    */

/*     
	.login-form input[type="text"],
    .login-form input[type="password"] {
        background-color: inherit;
        height: 60px;
        border-left: 0px solid transparent;
        color: #97989c;
        margin-bottom: 0;
        width: 100%;
        font-size: 20px;
        -webkit-transition: all 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
        transition: all 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
    }




    .login-form input[type="text"]:focus,
    .login-form input[type="password"]:focus,
    .login-form input[type="text"]:active,
    .login-form input[type="password"]:active {
        outline: none;
        padding-left: 5px;
        -webkit-transition: all 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
        transition: all 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
    }

    .login-form input[type="submit"] {
        background-color: #1974a9;
        color: #e2f4ff;
        margin-top: 1em;
        margin-bottom: 1em;
        font-size: 16px;
        text-transform: uppercase;
        font-weight: bold;
        height: 60px;
        width: 100%;
        cursor: pointer;
        border-radius: 8px;
        -webkit-transition: background-color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1), color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
        transition: background-color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1), color 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
        -webkit-transform: scaleY(0.9);
        transform: scaleY(0.9);
    } */

@media (min-width: 641px) {
  /*
    .login-form input[type="text"],
    .login-form input[type="password"],
    .login-form input[type="submit"]{
        font-size: 20px;
    }
    */

  /*  
	.login-form input[type="text"],
    .login-form input[type="password"] {
        height: 60px;
        width: 100%;
    } 
	*/

  /*
    .login-form input[type="submit"] {
        height: 70px;
        background-color: #1974a9;
    }
    */
}

.login-form input[type="submit"]:hover,
.login-form input[type="submit"]:focus {
  background-color: rgba(245, 134, 11, 1);
  color: #fefefe;
  -webkit-transition:
    background-color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1),
    color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition:
    background-color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1),
    color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}

/**************************************************************************/
/** Login agreement
/**************************************************************************/

.login-agreement {
  margin-bottom: 5px;
}

.login-agreement td {
  vertical-align: top;
}

.login-agreement input {
  -moz-appearance: none;
  -webkit-appearance: none;
  padding: 0px;
  margin: 4px 5px 4px 1px;
  width: 24px;
  height: 24px;
  border: 1px solid #b9b9b9;
  background: #fff;
  border-radius: 5px;
}

.login-agreement input:checked:before {
  content: "";
  display: block;
  width: 4px;
  height: 10px;
  border: solid #2a79bf;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: 4px 0px 0px 8px;
}

.login-agreement input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.075) inset,
    0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0 none;
}

/**************************************************************************/
/** Style for links on the bottom of the form
/**************************************************************************/

.login-links {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}
.login-links p {
  font-size: 11pt;
  letter-spacing: 0.4px;
  color: #7d7d7d;
  margin: 0;
  padding: 0;
  line-height: 1.6em;
}

@media (min-width: 641px) {
  .login-links a {
    font-size: 11pt;
    color: #1974a9;
  }
}

.login-agreement a,
.login-links a {
  text-decoration: none;
  -webkit-transition: color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: color 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.login-agreement a:hover,
.login-links a:hover {
  text-decoration: none;
  color: #ff9015;
}

/**************************************************************************/
/** OR
/**************************************************************************/
.or {
  border-top: 1px solid #919191;
  margin: 25px 0 20px 0;
  position: relative;
  text-align: center;
}

.or:after {
  content: "OR";
  color: #7d7d7d;
  margin-top: -11px;
  position: absolute;
  text-align: center;
  background-color: #bdd2e4;
  padding: 0 10px;
  margin-left: -22px;
}

/**************************************************************************/
/** Alternative Login
/**************************************************************************/

.alt-login button {
  border: none;
  padding: 0;
  -webkit-appearance: none;

  height: 53px;
  width: 48%;
  cursor: pointer;

  font-size: 14px;
  color: #7d7d7d;

  border: 1px solid #b9b9b9;
  border-radius: 8px;
}

.alt-login button:hover,
.alt-login button:focus {
  border-color: rgba(82, 168, 236, 0.8);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.075) inset,
    0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0 none;
  -webkit-transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.alt-login i {
  background: url(../images/alt-login-sm.png) no-repeat;
  padding: 0 50px;
}

i.login-gov {
  background-position-y: -2px;
  background-position-x: 1px;
}

i.my-access {
  background-position-x: -100px;
  background-position-y: -1px;
}

/**************************************************************************/
/** Info Box
/**************************************************************************/
.info-box {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 5;
  transition: 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (min-width: 762px) {
  .info-box {
  }
}

.info-box > div {
  position: absolute;
  width: 300px;
  color: #fff;
  background-color: #0f81c3;
  font-family: "Open Sans", "Abel", sans-serif;
  font-size: 16px;
  padding: 35px 20px 20px;
  box-shadow:
    0 12px 14px 0 rgba(0, 0, 0, 0.2),
    0 13px 20px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transition: 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (min-width: 420px) {
  .info-box > div {
    width: 375px;
  }
}

@media (min-width: 762px) {
  .info-box > div {
    width: 685px;
  }
}

.info-box a {
  color: #47ccff;
}

.info-box li {
  margin: 15px 0 0;
}

.info-box div.close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ff8662;
  text-align: center;
  border: 2px solid #fff;
  cursor: pointer;
}

.info-box div.close:after {
  content: "\00D7";
  font-size: 36px;
  line-height: 36px;
}

/**************************************************************************/
/** Terms Policy Box
/**************************************************************************/
.terms-box {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 5;
  transition: 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (min-width: 762px) {
  .terms-box {
  }
}

.terms-box > div {
  position: absolute;
  width: 300px;
  color: #fff;
  background-color: #0f81c3;
  font-family: "Open Sans", "Abel", sans-serif;
  font-size: 16px;
  padding: 35px 20px 20px;
  box-shadow:
    0 12px 14px 0 rgba(0, 0, 0, 0.2),
    0 13px 20px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transition: 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (min-width: 355px) {
  .terms-box > div {
    width: 355px;
    height: 400px;
    overflow-y: auto;
  }
}

@media (min-width: 420px) {
  .terms-box > div {
    width: 375px;
    height: 400px;
    overflow-y: auto;
  }
}

@media (min-width: 762px) {
  .terms-box > div {
    width: 685px;
    height: 400px;
    overflow: hidden;
    overflow-y: auto;
  }
}

.terms-box a {
  color: #47ccff;
}

.terms-box li {
  margin: 15px 0 0;
}

.terms-box div.close {
  position: absolute;
  top: 5px;
  right: 3px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ff8662;
  text-align: center;
  border: 2px solid #fff;
  cursor: pointer;
}

@media (min-width: 355px) {
  .terms-box div.close {
    right: 8px;
  }
}

.terms-box div.close:after {
  content: "\00D7";
  font-size: 36px;
  line-height: 36px;
}
