.ui-widget-overlay {
  background: #2c2c2c;
  opacity: .6;
  filter: Alpha(Opacity=60);
}

.ui-dialog.ui-widget.ui-front {
  border: none;
  border-radius: 5px;
  font-family: 'Diglo Aero', sans-serif;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.ui-dialog .ui-button .ui-icon-closethick,
.ui-dialog .ui-button .ui-icon-closethick:hover {
  background-image: url(/sites/default/files/img/misc/close.svg);
  background-position: center;
}

.ui-dialog .ui-dialog-titlebar-close {
  position: absolute !important;
  right: 1em !important;
  top: 50% !important;
  width: 30px !important;
  margin: -13px 0 !important;
  padding: 0 !important;
  height: 30px !important;
  background-color: #aee4b5 !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
  border: none;
  background-color: #ededed !important;
}

.ui-dialog .ui-dialog-titlebar.ui-widget-header {
  border: none;
  background: #ffffff;
  color: #004b7a;
  font-weight: bold;
  font-size: 1.3rem;
}

#drupal-modal.ui-widget-content {
  color: #757575;
}

#drupal-modal.ui-widget-content .description {
  font-size: 0.8rem;
}

.diglo-modal-login h5 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.diglo-modal-login p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.diglo-modal-login label,
.diglo-modal-register label {
  font-family: "Diglo Aero", sans-serif;
  color: #242424;
  margin-bottom: 0;
  font-weight: 500;
}

.diglo-modal-login ul {
  list-style: none;
  padding: 0 !important;
  margin-bottom: 25px;
  margin-left: 20px;
}

.diglo-modal-login li {
  padding-left: 1.3em;
  margin-right: 0px !important;
  float: none !important;
  text-align: left !important;
  width: 100% !important;
}

.diglo-modal-login li:before {
  content: "\f00c";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em;
  width: 1.3em;
  color: #387096;
}

.diglo-modal-login input,
.diglo-modal-register input {
  -webkit-box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  max-width: 100%;
  width: -webkit-fill-available;
  margin-bottom: 10px;
  margin-top: 0px;
}

.diglo-modal-register select {
  -webkit-box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  max-width: 100%;
  width: -webkit-fill-available;
  margin-bottom: 10px;
  margin-top: 0px;
  height: auto;
  border-radius: 0px;
}

.ui-dialog .ui-dialog-buttonpane button {
  margin: 0.5em 0.4em 0.5em 0;
  background: #aee4b5;
  color: #004b7a;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  font-size: 14px;
  font-weight: 600;
  padding: 0 26px;
  line-height: 42px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  text-transform: capitalize;
  border: none;
  font-family: "Diglo Aero", sans-serif;
}

.diglo-modal-login input#submit {
  background: #aee4b5;
  color: #004b7a;
  font-family: "Diglo Aero", sans-serif;
  border: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  margin-top: 20px;

}

.diglo-modal-login input#submit:hover {
  background: #004b7a;
  color: #aee4b5;
}

.ui-dialog .ui-dialog-buttonpane button:hover {
  background: #004b7a;
  color: #aee4b5;
}

.ui-widget-content .diglo-modal-login a {
  color: #aee4b5;
}

.ui-widget-content .diglo-modal-login a:hover {
  color: #004b7a;
}

.diglo-modal-login .button-secondary {
  padding: 10px 20px;
  margin-top: 10px;
}

.diglo-modal-login {
  background: url(/sites/default/files/img/misc/register-bg.svg) no-repeat right bottom, white;
}

.ui-dialog .ui-dialog-buttonpane {
  display: none;
}

.diglo-modal-login label {
  display: block !important;
  cursor: auto;
}

.ui-dialog-content {
  border-radius: 5px;
}

.ui-dialog,
.ui-dialog-content {
  padding: 0px !important;
}

.result_message_login {
  color: #a94442 !important;
}

.error_login_name,
.error_login_pass {
  color: #a94442 !important;
}

/* Botones registro y olvidar contraseña */

.diglo-modal-login .btn-registro {
  cursor: pointer;
  line-height: 1rem;
}

.diglo-modal-login .btn-password {
  cursor: pointer;
  padding: 0px;
}

.diglo-modal-login .btn-password:hover {
  outline: none !important;
  color: #aee4b5;
  text-decoration: none;
}

/* Register Form */

.diglo-modal-register .description {
  display: none;
}

.diglo-modal-register {
  background: url(/sites/default/files/img/misc/register-bg.svg) no-repeat right bottom, white;
}

.diglo-modal-register label {
  display: block !important;
  cursor: auto;
}

.diglo-modal-register input#submit {
  background: #aee4b5;
  color: #004b7a;
  font-family: "Diglo Aero", sans-serif;
  border: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  margin-top: 20px;

}

.diglo-modal-register input#tealium-btn-registro-submit {
  display: none;
}

.diglo-modal-register .password-suggestions {
  display: none !important;
}

.diglo-modal-register .boton-continuar {
  line-height: 43px;
  color: #004b7a;
  background: #aee4b5;
  border: solid 1px #aee4b5;
  width: 100%;
  font-weight: bolder;
  border-radius: 4px;
  cursor: pointer;
}

.diglo-modal-register .boton-continuar:hover {
  color: #aee4b5;
  background: #004b7a;
  border: solid 1px #aee4b5;
}

.diglo-modal-register .success-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #084B7A;
  font-weight: 500;
}

.diglo-modal-register .success-register {
  padding: 25px 20px;
}

.diglo-modal-register .success-register img {
  max-width: 400px;
}

.diglo-modal-register .form-item-field-usuario-privacidad-value label {
  color: #757575;
  font-weight: 400;
}

@media (min-width: 768px) {
  .diglo-modal-register .success-title {
    font-size: 23px;
  }

  .diglo-modal-register .success-register {
    padding: 45px;
  }
}

.result_message_register {
  margin-left: -15px;
  margin-right: -15px;
  color: #a94442 !important;
}

.error_message {
  color: #a94442 !important;
}

.diglo-modal-register .lista-info-proteccion-datos {
  padding-left: 25px;
}

.diglo-modal-register a {
  color: #004b7a;
  text-decoration: underline;
}

.diglo-modal-register a:hover {
  outline: none !important;
  color: #7cb984;
  text-decoration: none;
}

.diglo-modal-register .li-title {
  color: #444444;
  font-weight: 600;
}

/* Password Form */

.diglo-modal-password label {
  font-family: "Diglo Aero", sans-serif;
  color: #242424;
  font-weight: 500;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.diglo-modal-password input {
  -webkit-box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  max-width: 100%;
  width: -webkit-fill-available;
  margin-bottom: 10px;
  margin-top: 0px;
}

.diglo-modal-password .info-password {
  margin: 10px -15px;
  font-weight: 500;
}

.diglo-modal-password .boton-continuar {
  line-height: 43px;
  color: #004b7a;
  background: #aee4b5;
  border: solid 1px #aee4b5;
  width: 100%;
  font-weight: bolder;
  border-radius: 4px;
  cursor: pointer;
}

.diglo-modal-password .boton-continuar:hover {
  color: #aee4b5;
  background: #004b7a;
  border: solid 1px #aee4b5;
}

.diglo-modal-password .success-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #084B7A;
  font-weight: 500;
}

.diglo-modal-password .success-password {
  padding: 25px 20px;
}

.diglo-modal-password .success-register img {
  max-width: 400px;
}

.diglo-modal-password .form-password .form-actions {
  min-height: 80px;
  text-align: center;
}

.diglo-modal-password .form-password .form-actions .ajax-progress {
  margin: 0 auto;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .diglo-modal-password .success-title {
    font-size: 23px;
  }

  .diglo-modal-password .success-password {
    padding: 45px;
  }
}

.result_message_password {
  color: #a94442 !important;
}

/*  Reset password  */

.diglo-reset-password img {
  max-height: 200px;
  width: auto;
}

/* Botón header */

.header-button button.button-secondary.btn-iniciar-sesion {
  background-color: transparent;
  border: solid 1px #aee4b5;
  color: #aee4b5;
  line-height: 34px;
  font-family: "Diglo Aero", sans-serif;
  font-weight: 300;
  padding: 0 15px;
  cursor: pointer;
}

.header-button button.button-secondary.btn-iniciar-sesion:hover {
  color: #004b7a;
  background: #aee4b5;
  border-color: #aee4b5;
}

/* User Login New Styles */

#userLogin .modal-header {
  padding-top: 50px;
  padding-bottom: 10px;
  border-bottom: none;
}

#userLogin .modal-header .modal-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #444444;
}

@media (min-width: 768px) {
  #userLogin .modal-header .modal-title {
    font-size: 24px;
  }
}

#userLogin .modal-header .close {
  margin-top: -48px;
}

#userLogin .modal-body .col,
#userLogin .modal-body .col-12 {
  padding-left: 0;
  padding-right: 0;
}

#userLogin .modal-body .user-login-form {
  margin-bottom: 0;
}

#userLogin .block-social-auth {
  padding-bottom: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e9ecef;
}

@media (min-width: 768px) {
  #userLogin .block-social-auth {
    flex-direction: column;
  }
}

#userLogin .block-social-auth .auth-link {
  width: 50%;
  padding: 8px 16px;
  text-align: center;
  line-height: 1.8;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 1px solid #004B7A;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#userLogin .block-social-auth .auth-link-temporarily-hidden {
  display: none;
}

@media (min-width: 768px) {
  #userLogin .block-social-auth .auth-link {
    width: 100%;
    padding: 6px 14px;
  }
}

#userLogin .block-social-auth .auth-link:hover {
  background-color: #004b7a;
}

#userLogin .block-social-auth .auth-link .auth-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #444444;
}

#userLogin .block-social-auth .auth-link .auth-text {
  font-size: 16px;
  font-weight: 700;
  color: #004b7a;
  transition: all 0.3s ease;
}

#userLogin .block-social-auth .auth-link:hover .auth-text {
  color: #aee4b5;
}

#userLogin .block-social-auth .auth-link:focus .auth-text {
  color: #aee4b5;
}

#userLogin .modal-body .diglo-modal-login {
  background: none;
}

#userLogin .modal-body .user-login-form .form-item label {
  padding-top: 6px;
  padding-bottom: 2px;
  font-size: 16px;
  color: #444444;
}

#userLogin .modal-body .user-login-form .form-item input[type="email"],
#userLogin .modal-body .user-login-form .form-item input[type="password"] {
  padding: 8px 16px;
  font-size: 16px;
  line-height: 1.8;
  background-color: #F4F4F4;
  border: 0;
  box-shadow: none;
}

#userLogin .modal-body .user-login-form .form-item-keep-logged-in {
  margin-top: 12px;
}

#userLogin .modal-body .user-login-form .form-item-keep-logged-in label {
  font-size: 16px;
  color: #757575;
}

#userLogin .modal-body .user-login-form .form-item-keep-logged-in label::before {
  height: 20px;
  width: 20px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 12px;
  padding: 3px;
}

#userLogin .modal-body .user-login-form .form-actions input[type="submit"] {
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

#userLogin .modal-body .user-login-form .form-actions input[type="submit"]:disabled,
#userLogin .modal-body .user-login-form .form-actions input[type="submit"][disabled] {
  background: #F4F4F4;
  color: #CBCBCB;
  cursor: not-allowed;
  opacity: 0.9;
  box-shadow: none;
}

#userLogin .modal-body .user-login-form .form-actions .error_login_name,
#userLogin .modal-body .user-login-form .form-actions .error_login_pass {
  font-size: 15px;
}

#userLogin .modal-body .user-login-form .btn-password,
#userLogin .modal-body .user-login-form .btn-registro {
  margin-top: 2px;
  margin-bottom: 4px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0076CF;
  border: 0;
  transition: all 0.3s ease;
}

#userLogin .modal-body .user-login-form .btn-password:hover,
#userLogin .modal-body .user-login-form .btn-registro:hover {
  color: #aee4b5;
  background-color: unset;
}

#userLogin .modal-body .user-login-form .btn-password:focus,
#userLogin .modal-body .user-login-form .btn-registro:focus {
  color: #aee4b5 !important;
}

#userLogin .modal-body .user-login-form .register {
  margin-top: 20px;
  margin-bottom: 6px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#userLogin .modal-body .user-login-form .register h5 {
  margin-top: 2px;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #444444
}

#userLogin .result_message_login .my_top_message {
  margin-left: -15px;
}

/* User Register New Styles */

#registerModal .modal-header {
  padding-top: 50px;
  padding-bottom: 10px;
}

#registerModal .modal-header .modal-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #444444;
}

@media (min-width: 768px) {
  #registerModal .modal-header .modal-title {
    font-size: 24px;
  }
}

#registerModal .modal-header .close {
  margin-top: -48px;
}

#registerModal.register-success-state .modal-header .close {
  display: none;
}

#registerModal .modal-body .col,
#registerModal .modal-body .col-12 {
  padding-left: 0;
  padding-right: 0;
}

#registerModal .modal-body .user-yera-registration-form {
  margin-bottom: 0;
}

#registerModal .modal-body .diglo-modal-register {
  background: none;
}

#registerModal .modal-body .user-yera-registration-form .form-item label {
  padding-top: 6px;
  padding-bottom: 2px;
  font-size: 16px;
  color: #444444;
}

#registerModal .modal-body .user-yera-registration-form .form-item-field-usuario-privacidad-value label {
  font-size: 15px;
}

#registerModal .modal-body .user-yera-registration-form .form-item input[type="email"],
#registerModal .modal-body .user-yera-registration-form .form-item input[type="password"],
#registerModal .modal-body .user-yera-registration-form .form-item input[type="text"],
#registerModal .modal-body .user-yera-registration-form .form-item select {
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 14.5px;
  line-height: 1.8;
  background-color: #F4F4F4;
  border: 0;
  box-shadow: none;
}

#registerModal .modal-body .user-yera-registration-form .form-item select {
  font-size: 13.5px;
  line-height: 1.94;
}

@media (min-width: 768px) {
  #registerModal .modal-body .user-yera-registration-form .form-item select {
    margin-right: 6px;
  }
}

#registerModal .modal-body .user-yera-registration-form input[type="checkbox"]+label::before {
  height: 20px;
  width: 20px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 12px;
  padding: 3px;
}

#registerModal .modal-body .user-yera-registration-form .form-actions input[type="submit"] {
  margin-top: 8px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

#registerModal .modal-body .user-yera-registration-form .privacity-information-row {
  margin-bottom: 30px;
}

#registerModal .modal-body .user-yera-registration-form .privacity-information-row h6 {
  font-size: 15px;
}

#registerModal .ajax-progress {
  margin-top: 20px;
  margin-left: 50%;
  transform: translateX(-50%);
}

#registerModal .modal-body .diglo-modal-register {
  background: url(/sites/default/files/img/misc/register-bg.svg) no-repeat right bottom, white;
}

#registerModal .modal-body .diglo-modal-register > .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

#registerModal .modal-body .diglo-modal-register .description {
  display: none;
}

#registerModal .modal-body .diglo-modal-register label {
  display: block !important;
  cursor: auto;
  font-family: "Diglo Aero", sans-serif;
  color: #242424;
  margin-bottom: 0;
  font-weight: 500;
}

#registerModal .modal-body .diglo-modal-register input,
#registerModal .modal-body .diglo-modal-register select {
  -webkit-box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  box-shadow: 0 0 2px 2px rgb(0 0 0 / 2%) inset;
  border: 1px solid #dee2e6;
  max-width: 100%;
  width: -webkit-fill-available;
  margin-bottom: 10px;
  margin-top: 0;
}

#registerModal .modal-body .diglo-modal-register select {
  height: auto;
  border-radius: 0;
}

#registerModal .modal-body .diglo-modal-register input#tealium-btn-registro-submit {
  display: none;
}

#registerModal .modal-body .diglo-modal-register .password-suggestions {
  display: none !important;
}

#registerModal .modal-body .diglo-modal-register .boton-continuar {
  line-height: 43px;
  color: #004b7a;
  background: #aee4b5;
  border: solid 1px #aee4b5;
  width: 100%;
  font-weight: bolder;
  border-radius: 4px;
  cursor: pointer;
}

#registerModal .modal-body .diglo-modal-register .boton-continuar:hover {
  color: #aee4b5;
  background: #004b7a;
  border: solid 1px #aee4b5;
}

#registerModal .modal-body .diglo-modal-register .success-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #084b7a;
  font-weight: 500;
}

#registerModal .modal-body .diglo-modal-register .success-register {
  padding: 25px 20px;
}

#registerModal .modal-body .diglo-modal-register .success-register img {
  max-width: 400px;
}

@media (min-width: 768px) {
  #registerModal .modal-body .diglo-modal-register .success-title {
    font-size: 23px;
  }

  #registerModal .modal-body .diglo-modal-register .success-register {
    padding: 45px;
  }
}

#registerModal .result_message_register {
  margin-left: -15px;
  margin-right: -15px;
  color: #a94442 !important;
}

#registerModal .error_message {
  color: #a94442 !important;
}

#registerModal .modal-body .diglo-modal-register .lista-info-proteccion-datos {
  padding-left: 25px;
}

#registerModal .modal-body .diglo-modal-register a {
  color: #004b7a !important;
  text-decoration: underline;
}

#registerModal .modal-body .diglo-modal-register a:hover {
  outline: none !important;
  color: #7cb984 !important;
  text-decoration: none;
}

#registerModal .modal-body .diglo-modal-register .li-title {
  color: #444444;
  font-weight: 600;
}

/* Reset Password New Styles */

#passwordModal .modal-header {
  padding-top: 50px;
  padding-bottom: 10px;
}

#passwordModal .modal-header .modal-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #444444;
}

@media (min-width: 768px) {
  #passwordModal .modal-header .modal-title {
    font-size: 24px;
  }
}

#passwordModal .modal-header .close {
  margin-top: -48px;
}

#passwordModal .modal-body .col,
#passwordModal .modal-body .col-12 {
  padding-left: 0;
  padding-right: 0;
}

#passwordModal .modal-body .diglo-modal-password .row.info-password {
  margin-bottom: 20px;
}

#passwordModal .modal-body .diglo-modal-password .form-item label {
  padding-top: 6px;
  padding-bottom: 2px;
  font-size: 16px;
  color: #444444;
}

#passwordModal .modal-body .diglo-modal-password .form-item input[type="text"] {
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 14.5px;
  line-height: 1.8;
  background-color: #F4F4F4;
  border: 0;
  box-shadow: none;
}

#passwordModal .modal-body .diglo-modal-password .form-actions input[type="submit"] {
  margin-top: 8px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* login-button-403 */

.login-button-403 .btn-iniciar-sesion {
  cursor: pointer;
}

/* User Logo */

.gva-navigation .user-container .user-logo {
  overflow: hidden;
}
