/*///////////////////////// GENERALES /////////////////////////*/

body {
  font-family: "Montserrat", sans-serif;
  color: #383838;
  background-color: #fbfbfb;
}

img {
  width: 100%;
}

a {
  transition: 0.3s;
  color: #405CA4;
}

a:hover {
  color: #405CA4;
}

strong,
b {
  font-weight: 700;
}

.main-wrapper {
  overflow: hidden;
}

a.no-hover:hover {
  text-decoration: none;
}

.rotate {
  transform: scaleX(-1);
}

.regular-padding {
  padding: 3rem 0 6rem 0;
}

.underline {
  text-decoration: underline;
}

/* PESO FUENTES */
.fw-200 {
  font-weight: 200;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

/* COLORES */
.primary {
  color: #222a59 !important;
}

.primary-bg {
  background-color: #222a59;
}

.white-bg {
  background-color: white;
}

.blue {
  color: #405ca4;
}

.light-blue {
  color: #64a1d5;
}

.yellow {
  color: #cbd03e;
}

.green {
  color: #25bd10;
}

.orange {
  color: #f29100;
}

.aqua {
  color: #65a8a3;
}

.violet {
  color: #807da8;
}

.pink {
  color: #c8217e;
}

.light-pink {
  color: #de80af;
}

.automotor {
  color: #64A1D5;
}

.inmobiliario {
  color: #807DA8;
}

.sellos {
  color: #CBD03E;
}

.iibb {
  color: #65A8A3;
}

.canon-minero {
  color: #5877a0;
}

.planes {
  color: #4bb373;
}

.dark {
  color: #383838;
}

.success {
  color: #0d932d;
}

.danger {
  color: #b91526;
}
.light-gray-bg {
  background-color: #f7f7f7;
}

/* Alertas */
.alert-info {
  color: #222A59;
  background-color:  #7d9ef121;
  border-color:  #222A59;
}
.alert-info .alert-link {
  color: #222A59;
}
.text-info {
  color: #222A59 !important;
}

/* Badges */
.badge-success {
  color: #fff;
  background-color: #0d932d;
}

.badge {
  padding: 0.4em 0.6em;
  font-size: 80%;
  font-weight: 600;
}

/* FORMULARIOS */
label {
  font-size: 15px;
  font-weight: 500;
  color: #495057;
}

.form-control {
  color: #495057;
  border: 1px solid #7b7b7b;
  border-radius: 6px;
}

.form-control:hover,
.form-control:focus {
  box-shadow: none;
  border-color: #222a59;
}

label {
  display: inline-block;
  margin-bottom: 0.2rem;
}

.form-group .form-text {
  position: absolute;
}

/* CARDS */
.card {
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 15px;
  background-color: white;
  border: 0;
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 0.8rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.regular-card {
  padding: 1.4rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 15px;
  background-color: white;
}

.otras-consultas-card {
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  background-color: white;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.otras-consultas-card:hover {
  box-shadow: 0 0.8rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.otras-consultas-card i {
  font-size: 36px;
  margin-bottom: 0.8rem;
}

.otras-consultas-card-nombre {
  font-size: 18px;
  font-weight: 600;
  color: #383838;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

/* TABLAS */
.table-bordered thead td,
.table-bordered thead th {
  border-bottom-width: 0px;
}

.table {
  white-space: nowrap;
  background-color: white;
}

/* Estilos barra scroll para motores Webkit y blink (Chrome, Safari, Opera... )*/
.table-responsive::-webkit-scrollbar {
  -webkit-appearance: none;
}

.table-responsive::-webkit-scrollbar:vertical {
  width: 10px;
}

.table-responsive::-webkit-scrollbar-button:increment,
.table-responsive::-webkit-scrollbar-button {
  display: none;
}

.table-responsive::-webkit-scrollbar:horizontal {
  height: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: #222a59 !important;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}

.table-responsive::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f1f1f1 !important;
}

/* ESTILOS DATATABLES */
table.dataTable tbody th,
table.dataTable tbody td {
  padding: 0.6rem 0.75rem;
}

.dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding: 0;
  float: none;
}

.dataTables_paginate span {
  display: flex;
}

.dataTables_wrapper .paginate_button:not(.paginate_button.previous, .paginate_button.next) {
  border-radius: 0.4rem !important;
  padding: 0.75rem !important;
  width: 44px !important;
  height: 44px !important;
  font-weight: 500 !important;
  color: #383838;
  border: 1px solid #ebebeb !important;
  position: relative;
  display: block;
  margin-left: -1px;
  line-height: 1.25;
  background: linear-gradient(to bottom, white 0%, white 100%);
  margin: 0 4px !important;
}

.dataTables_wrapper .paginate_button:not(.paginate_button.previous, .paginate_button.next):hover,
.dataTables_wrapper .paginate_button.current:hover {
  background: #222a59 !important;
  color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next:not(.disabled):hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:not(.disabled):hover {
  color: #222a59 !important;
  border: 1px solid #fff !important;
  background-color: #fff;
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  border-radius: 0.4rem !important;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 0rem;
  margin-bottom: 0.3rem;
  background-color: transparent;
  font-size: 15px;
}

.breadcrumb-item a:hover {
  text-decoration: none;
}

.table td,
.table th {
  padding: 0.6rem 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

/* ESTADOS VACIOS */
.estado-vacio {
  margin: 3rem auto;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.estado-vacio img {
  max-width: 190px;
}

/* PAGINADOR */
.pagination .page-item {
  margin: 0 4px;
}

.pagination .page-item .page-link {
  border-radius: 0.4rem;
  padding: 0.75rem;
  width: 44px;
  height: 44px;
  font-weight: 500;
  color: #383838;
  border-color: #ebebeb;
}

.pagination .page-item.disabled .page-link {
  color: #c2c2c2;
  border-color: #ebebeb;
  background-color: #ebebeb;
}

.pagination .page-item .page-link:hover {
  background-color: #222a59;
  color: white;
}

/*///////////////////// BOTONES QUE PISAN BS //////////////////*/
.btn {
  border-radius: 8px;
  font-weight: 400;
  padding: 0.4rem 1.6rem;
  text-decoration: none !important;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  height: fit-content;
}

.btn-sm {
  padding: 0.4rem 1rem;
}

.btn-primary {
  border: 1px solid #222a59;
  color: #fff;
  background-color: #222a59;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  background: #151b43;
  color: #fff;
  border: 1px solid #151b43;
  box-shadow: none !important;
}

.btn-outline-primary {
  border: 1px solid #222a59;
  color: #222a59;
  background-color: #fff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  border: 1px solid #222a59;
  color: #222a59;
  background-color: #fff;
  box-shadow: none !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #222a59;
  border-color: #222a59;
}

.btn:hover {
  box-shadow: 0 0.3rem .8rem rgba(0, 0, 0, 0.15) !important;
}

/*///////////////////////// HEADER /////////////////////////*/
.menu {
  border-bottom: 3px solid #222a59;
  background: white;
}

.top-header {
  background-color: #222a59;
  padding: 0.4rem 3rem;
}

.top-header-links {
  color: white;
  position: relative;
  padding: 0 1.2rem;
  transition: 0.3s;
}

.top-header-links:hover {
  color: white;
  text-decoration: none;
}

.top-header-links::after {
  content: "";
  width: 1px;
  height: 100%;
  background-color: white;
  position: absolute;
  top: 0;
  margin-left: 1.2rem;
}

.top-header-links::before {
  content: "";
  width: calc(100% - 2.4rem);
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -3px;
  background-color: white;
  transform: scaleX(0);
  transition: 0.3s;
}

.top-header-links:hover::before {
  transform: scaleX(100%);
}

.social-header {
  list-style: none;
  display: inline-flex;
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.social-header li:not(:last-child) {
  margin: 0 0.8rem 0 0;
}

.social-header li a {
  font-size: 21px;
  color: white;
}

.social-header li a i {
  transition: 0.3s;
}

.social-header li a:hover i {
  transform: scale(1.2);
}

.header-logo {
  width: auto;
  max-width: 320px;
}

.bsnav-mobile {
  z-index: 10000 !important;
}

.navbar {
  z-index: 1000;
  width: 100%;
  padding: 0.4rem 3rem;
  background-color: white;
  top: 0;
}

.navbar .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #383838 !important;
  margin-right: 1rem !important;
  margin-left: 1rem !important;
  position: relative;
  padding: 10px 0px !important;
}

.navbar .nav-link .fa-chevron-down {
  font-size: 14px;
  margin-left: 2px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active-nav {
  color: #405ca4 !important;
}

.nav-item ul .nav-link,
.nav-item.dropdown ul .nav-link {
  font-size: 15px;
  font-weight: 400;
}

.bsnav-sticky.bsnav-sticky-slide {
  position: relative;
}

.navbar.bsnav-sticky.bsnav-sticky-slide.sticked.in {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 8px 15px -5px,
    rgba(0, 0, 0, 0.25) 0px 4px 10px -8px;
}

.navbar-toggler {
  right: 20px;
}

.bsnav-sticky.bsnav-sticky-slide.navbar-toggler-icon,
.bsnav-light .navbar-toggler .navbar-toggler-icon,
.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::after,
.bsnav-sticky.bsnav-sticky-slide .navbar-toggler-icon::before {
  background-color: #222a59 !important;
}

/* Bs nav para el menú mobile */
.bsnav-mobile .navbar {
  left: 0 !important;
  transform: translate3d(-300px, 0, 0) !important;
}

.bsnav-mobile.in .navbar {
  transform: translate3d(0px, 0, 0) !important;
}

.bsnav-mobile .navbar.bsnav-dark {
  background: #ffff !important;
  color: #222a59 !important;
  padding: 0px 0 15px;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  border-bottom: 4px solid #222a59;
}

.bsnav-mobile {
  z-index: 100;
}
/*///////////////////////// TURNOS VIRTUALES //////////////////////////*/
.turnos {
  padding: 3rem 0;
  background-color: #214370;
}

.turnos-container {
  color: white;
}

/*///////////////////////// FOOTER //////////////////////////*/
footer {
  background-color: #222a59;
  padding-top: 2rem;
  position: relative;
}

footer:before {
  background: linear-gradient(to right,
      #222a59 12.5%,
      #405ca4 12.5% 25%,
      #64a1d5 25% 37.5%,
      #cbd03e 37.5% 50%,
      #65a8a3 50% 62.5%,
      #807da8 62.5% 75%,
      #c8217e 75% 87.5%,
      #de80af 87.5%);
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  height: 5px;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

footer b {
  font-weight: 500;
}

footer .contact {
  list-style: none;
  padding-left: 0;
}

footer .contact li {
  margin-bottom: 0.4rem;
}

footer .contact li i {
  margin-right: 8px;
}

footer .contact li,
footer .contact li a {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  transition: 0.3s;
}

footer .contact li a:hover {
  color: white;
}

.social-media-container {
  display: flex;
}

.social-media-container a:hover {
  text-decoration: none;
}

.social-media {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  border-bottom-right-radius: 10px;
  color: #fff;
  padding: 15px;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  margin-right: 12px;
  background-color: #fff;
  color: #151b43;
}

.social-media:hover {
  background-color: #151b43;
  border-radius: 0;
  color: white;
}

.copy-end {
  background-color: #151b43;
  padding-bottom: 12px !important;
}

.copy-end p {
  font-size: 14px !important;
  color: #ffffff7b;
}


/* BOTON PARA SRCOLLEAR ARRIBA */
.top-btn {
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 99;
  width: 45px;
  height: 45px;
  border: 2px solid #222a59;
  border-radius: 50%;
  background-color: #151b43;
  color: white;
  font-size: 21px;
}

/* MODALS */
/* Para el modal */
.close {
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
  z-index: 10;
}

.modal-content {
  border: 0;
  border-radius: 10px;
}

.modal form textarea {margin-bottom: 1rem;}
/*////////////////////// RESPONSIVE //////////////////*/

@media (max-width: 1140px) {}

@media (max-width: 1024px) {
  .navbar {
    padding: 0.8rem 0.4rem;
  }

  .header-logo {
    width: auto;
    max-width: 210px;
  }
}

@media (max-width: 768px) {
  .header-logo {
    max-width: 240px;
  }

  .top-header {
    padding: 0.6rem 0rem;
  }

  .top-header-links {
    font-size: 14px;
  }

  .social-header li a {
    font-size: 18px;
  }

  .nav-item ul {
    background-color: #f6f6f6 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
}

@media (max-width: 525px) {
  .navbar {
    padding: 0.8rem 0.4rem;
  }

  .top-btn {
    bottom: 15px;
    right: 15px;
}

  /* Breadcrumb */
  .breadcrumb-item.active {
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .form-group .form-text {
    position: relative;
  }

  .top-header {
    text-align: right;
    padding: 0.4rem 0rem;
  }

  .top-header-links {
    padding: 0 0.6rem;
    white-space: nowrap;
  }

  .top-header-links::after {
    margin-left: 0.6rem;
  }

  .top-header-links.top-header-links-contacto::after {
    content: none;
  }

  .social-header {
    padding-right: 0.6rem;
    margin-top: 0.2rem;
  }

  .estado-vacio {
    margin: 2rem auto;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 425px) {}

@media (max-width: 375px) {
  .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: auto;
    font-size: 14px;
  }
}

@media (max-width: 320px) {}