@font-face {
  font-family: AvenirBook;
  src: url('/assets/fonts/AvenirLTPro-Light.ttf') format('truetype');
  src: url('/assets/fonts/AvenirLTPro-Light.woff') format('woff');
}

@font-face {
  font-family: AvenirHeavy;
  src: url('/assets/fonts/Avenir-Heavy.ttf') format('truetype');
  src: url('/assets/fonts/Avenir-Heavy.woff') format('woff');
}

@font-face {
  font-family: AvenirMedium;
  src: url('/assets/fonts/AvenirNextLTPro-Medium.ttf') format('truetype');
  src: url('/assets/fonts/AvenirNextLTPro-Medium.woff') format('woff');
}

@font-face {
  font-family: AvenirRoman;
  src: url('/assets/fonts/AvenirLTPro-Roman.ttf') format('truetype');
  src: url('/assets/fonts/AvenirLTPro-Roman.woff') format('woff');
}

@font-face {
  font-family: AvenirRegular;
  src: url('/assets/fonts/AvenirNextLTPro-Regular.ttf') format('truetype');
  src: url('/assets/fonts/AvenirNextLTPro-Regular.woff') format('woff');
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: AvenirBook;
  font-size: 16px;
  color: #3e505e;
}

input {
  background: transparent;
}

/* https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -moz-box-shadow: 0 0 0 30px white inset;
  -webkit-box-shadow: 0 0 0 30px white inset;
  box-shadow: 0 0 0 30px white inset;
}

p {
  margin: 0;
}

button,
.btn {
  outline: none;
  border-radius: 20px;
  color: #fff;
  background: #1084ff;
  border: none;
}

.error-msg {
  color: #e44f4f;
  font-size: 13px;
  line-height: 18px;
  margin-top: 16px;
  display: none;
}

#logout-btn {
  color: #3d4353;
  font-family: AvenirHeavy;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#logout-btn .icon {
  margin-right: 5px;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 20px 0;
}

.group-password {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-reset-password,
.text-back-login {
  color: #3d4353;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 19px;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Lato Light';
}

.reset-pw-success {
  color: #a8d459;
  font-family: AvenirHeavy;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 19px;
  margin-bottom: 11px;
}

.group-set-new-password {
  max-width: 337px;
  margin: 0 auto;
}

.input-group label {
  color: #85909b;
  font-family: AvenirRoman;
  font-size: 10px;
  margin-bottom: 5px;
  margin-top: 10px;
  letter-spacing: 2px;
}

.form-control .message-sso-force,
.form-control .message-login {
  color: #85909b;
  font-family: AvenirRoman;
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 10px;
  text-align: center;
}

.form-control .message-login {
  margin-bottom: 10px;
}

.form-control .message-sso-force .txt-sso-force-account {
  text-transform: capitalize;
}

.form-control .provider-wrapper {
  margin-top: 30px;
  padding-left: 37px;
}

.input-group .input-control {
  width: 100%;
  min-height: 40px;
  border-radius: 4px;
  opacity: 50%;
  border: 1px solid #d1d1d1;
  padding: 0 10px;
}

.input-control input {
  border: none;
  width: 100%;
  height: 40px;
  outline: none;
  font-size: 15px;
  font-family: AvenirBook;
}

button.primary-btn,
a.btn {
  font-size: 14px;
  font-family: AvenirHeavy;
  line-height: 19px;
  padding: 7px 27px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid #1084ff;
  height: 40px;
  &:disabled {
    opacity: 0.5;
    pointer-events: none;
  }
}

.submit-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.submit-group button,
.submit-group a {
  width: 100%;
  text-align: center;
}

.employee-handbook-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}

.employee-handbook-container .content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.content .header .airmason-logo {
  max-width: 200px;
  width: auto;
  margin: 50px 0px 40px;
}

.content .header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.content .header.no-icon {
  padding-top: 100px;
}

.content .header p.title {
  color: #3d4353;
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  padding: 0 50px;
}

.content.login-section {
  max-width: 337px;
}

.content.handbook-section {
  max-width: 550px;
}

.content .handbook-list {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d1d1;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
}

.content .handbook-list.empty {
  max-width: 360px;
  align-self: center;
}

.content .handbook-list .empty-text {
  color: #3e505e;
  text-align: center;
  padding: 36px 44px;
  opacity: 48%;
}

.employee-handbook-container .handbook-section .search-handbook {
  text-align: center;
  margin-bottom: 24px;
}
.employee-handbook-container .search-handbook .input-wrapper {
  position: relative;
  margin: 0 auto;
  display: inline-block;
}

.employee-handbook-container .input-wrapper .input-search {
  font-size: 15px;
  border: 1px solid #d1d1d1;
  background-color: #fff;
  border-radius: 0.375rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  height: 40px;
  width: 364px;
  font-family: AvenirBook;
  color: #47a6f8;
  font-weight: 600;
}

@media screen and (max-width: 414px) {
  .employee-handbook-container .input-wrapper .input-search {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.employee-handbook-container .input-wrapper .input-search:focus {
  outline: none;
  border-color: #434858;
}

.employee-handbook-container .input-wrapper .input-search::placeholder {
  color: #8c96a0;
  font-weight: 500;
}

.employee-handbook-container .input-wrapper .icon-search {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 10px;
  color: #5c698d;
}

.employee-handbook-container .input-wrapper .icon-close {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 14px;
  color: #5c698d;
  cursor: pointer;
}

.handbook-list#handbook-search-wrapper .no-record {
  padding: 20px;
  text-align: center;
  font-weight: 600;
}

#handbook-search-wrapper .handbook-item-wrapper .handbook-item .search-result {
  font-size: 14px;
}

#handbook-search-wrapper .handbook-item-wrapper .handbook-item .search-result .relevant-section {
  color: #3d4353;
}
#handbook-search-wrapper .handbook-item-wrapper .handbook-item .search-result .view-txt {
  margin: 20px;
  font-weight: 600;
}

#handbook-search-wrapper .handbook-item-wrapper .handbook-item .search-result .view-txt i {
  color: #000;
  margin-left: 15px;
  font-size: 13px;
}

.handbook-list .handbook-item-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: AvenirMedium;
  font-size: 18px;
  color: #47a6f7;
  padding: 30px;
  cursor: pointer;
  border-bottom: 1px solid #d1d1d1;
  position: relative;
}

.handbook-list .handbook-item-wrapper:last-child {
  border-bottom: none;
}

.handbook-list .handbook-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: AvenirMedium;
  font-size: 18px;
  color: #47a6f7;
  cursor: pointer;
  max-width: 395px;
  width: 100%;
}

.handbook-list .handbook-item .info .last-updated {
  font-size: 12px;
}

.handbook-list .sign {
  font-size: 14px;
  color: #fc5b46;
  font-weight: 500;
  text-align: left;
}

.handbook-list .sign .sign-icon {
  display: flex;
}

.handbook-list .sign .txt-signed {
  color: #419092;
  padding-left: 9px;
}

.handbook-list .sign .date-signed {
  color: #000000;
}

.handbook-list .sign .fas {
  color: #419092;
  font-size: 14px;
}

.handbook-item .icon {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.employee-handbook-header {
  position: relative;
  min-height: 137px;
  max-width: 1185px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.employee-handbook-header .light-blue-bg-wrapper {
  position: relative;
  width: 285px;
  height: 137px;
}

.employee-handbook-header .light-blue-bg-wrapper .light-blue-bg {
  width: 388px;
  height: 273px;
  border-radius: 85px;
  background-color: rgba(178, 215, 255, 0.2);
  transform: rotate(-35deg);
  position: absolute;
  top: -190px;
}

.employee-handbook-header .light-blue-bg-wrapper .app-logo {
  width: auto;
  max-width: 35px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.employee-handbook-header .app-logo-wrapper {
  display: flex;
  align-items: center;
  max-width: 100%;
}

.employee-handbook-header .app-logo-wrapper a.back-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #3d4353;
  opacity: 0.6;
}

.employee-handbook-header .app-logo-wrapper a.back-icon img {
  margin-right: 5px;
}

@media screen and (max-width: 1024px) {
  .employee-handbook-header .app-logo-wrapper {
    padding-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .content .header.no-icon {
    padding-top: 50px;
  }

  .content .header .airmason-logo {
    margin-top: 20px;
  }
}

@media screen and (max-width: 600px) {
  .employee-handbook-header {
    min-height: 87px;
  }

  .employee-handbook-header .light-blue-bg-wrapper {
    height: 87px;
    width: 250px;
  }

  .employee-handbook-header .light-blue-bg-wrapper .light-blue-bg {
    height: 230px;
  }

  #logout-btn {
    position: static;
    float: right;
    padding-right: 20px;
  }
}

@media screen and (max-width: 450px) {
  .employee-handbook-header .light-blue-bg-wrapper {
    width: 190px;
  }

  .employee-handbook-header .light-blue-bg-wrapper .light-blue-bg {
    width: 220px;
    transform: rotate(315deg);
    top: -155px;
    left: -15px;
  }
}

.employee-handbook-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.employee-handbook-footer .footer-logo {
  max-width: 224px;
}

.loading-section {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-section .loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #2a2f3a;
  width: 50px;
  height: 50px;
  position: absolute;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

.loading-section.hide {
  display: none;
}

.hidden {
  display: none;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .content.handbook-section {
    padding: 0 15px;
  }
}

@media (max-width: 415px) {
  .content.handbook-section {
    margin-top: 15px;
  }

  .content .header .airmason-logo {
    max-width: 150px;
  }

  .content .header p.title {
    font-size: 25px;
  }
}

#reset-password-form .group-password {
  display: flex;
  align-items: center;
  justify-content: center;
}

#reset-password-form .group-password .primary-btn {
  font-size: 15px;
  font-weight: 400;
  background-color: #fb8b42;
  font-family: AvenirBook;
  border: none;
}

#back-to-login {
  margin-left: auto;
  text-decoration: underline;
  font-family: 'Lato Light';
  font-weight: 400;
}

@media (max-width: 320px) {
  #employee-login-form {
    width: 100%;
    padding: 0 20px;
  }

  .content .header .airmason-logo {
    max-width: 110px;
  }
}

.set-password-container {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  min-height: 100vh;
  font-family: AvenirBook;
}

.set-password-container .content {
  margin: 0 auto;
  max-width: 100%;
}

.set-password-container .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  margin-top: 57px;
  margin-bottom: 48px;
}

.set-password-container .icon-wrapper .line {
  width: 1px;
  height: 30px;
  border-left: 1px solid rgba(151, 151, 151, 0.3);
}

.set-password-container .icon-wrapper .organization-icon,
.set-password-container .icon-wrapper .airmason-logo {
  max-width: 144px;
  max-height: 50px;
  object-fit: contain;
}

.set-password-container .title {
  font-size: 19px;
  font-family: AvenirHeavy;
  margin-bottom: 20px;
}

.set-password-container #set-new-password-form {
  margin: 0 auto;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 70px 0 rgba(4, 2, 33, 0.13);
  padding: 50px 60px 50px;
  color: #3d4353;
  font-family: 'AvenirBook';
  font-weight: 300;
  text-align: center;
  margin-bottom: 45px;
}

#set-new-password-form label {
  color: #0f1722;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 20px;
  font-family: 'Lato Bold';
  margin-bottom: 5px;
  margin-top: 0;
}

#set-new-password-form .input-control {
  border: 1px solid #d1d1d1;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  opacity: 90%;
}

.set-password-container #set-new-password-form .input-group-confirm-password {
  transition: visibility 0.3s, opacity 0.3s, height 0.3s;
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.set-password-container #set-new-password-form .input-group-confirm-password.active {
  opacity: 1;
  visibility: visible;
  height: 2.5rem;
}

#set-new-password-form .input-control.error {
  border-color: #e44f4f;
}

.set-password-container .goto-admin-btn {
  color: #3d4353;
  cursor: pointer;
}

.set-password-container .group-set-new-password {
  max-width: 100%;
  margin-top: 40px;
}

.set-password-container #setNewPassword {
  width: auto;
  height: 40px;
  background-color: #fb8b42;
  font-size: 15px;
  font-family: AvenirBook;
  font-weight: 400;
  border: none;
}
.set-password-container #setNewPassword.disabled {
  opacity: 0.5;
  pointer-events: none;
}

#set-new-password-form .warning-new-password,
#set-new-password-form .warning-new-confirm-password {
  font-style: oblique;
  font-size: 15px;
  margin-top: 10px;
  line-height: 19px;
  text-align: left;
}

#set-new-password-form .warning-new-password {
  opacity: 80%;
  color: #3d4353;
}

#set-new-password-form .warning-new-confirm-password {
  color: #e44f4f;
}

@media screen and (max-width: 600px) {
  .set-password-container #set-new-password-form {
    border-radius: 0;
    padding: 50px 35px;
    margin-bottom: 0;
    min-height: calc(100vh - 70px);
  }

  .set-password-container #set-new-password-form .rules-list-wrapper {
    grid-template-columns: 1fr;
  }

  .set-password-container .icon-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
