* header {
  line-height: 1.5rem;
  word-spacing: 0.16rem;
  letter-spacing: 0.12rem;
}
header {
  background-color: #ffdb00;
  height: auto;
  min-height: 130px;
}
header a {
  color: #1d1d1b;
  word-spacing: 0rem;
  letter-spacing: 0.05rem;
}
header a:focus,
header .btn-secondary:focus,
.btn-outline-secondary:focus,
.form-control:focus,
.navbar-toggler:focus {
  outline: 1px solid transparent;
  box-shadow: 0px 0px 4px 0.16rem rgba(7, 116, 108, 0.9) !important;
  border: none !important;
  background-color: transparent !important;
  border-radius: 4px;
  color: #000 !important;
}
a.saltar:focus {
  background-color: #f2f2f2 !important;
}
.navbar-toggler:focus {
  width: 45px;
  height: 45px;
}
header img {
  vertical-align: middle;
}
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}
/* BANDERA ESPAÑA */
.bandera {
  background: linear-gradient(
      to right,
      #ad1519 0,
      #ad1519 25%,
      #fabd00 25%,
      #fabd00 75%,
      #ad1519 75%,
      #ad1519
    )
    no-repeat;
  height: 8px !important;
  box-shadow: 0 0.13rem 0.09rem 0.01rem rgba(35, 35, 35, 0.13);
}
/* IR AL CONTENIDO */
a.saltar {
  text-decoration: none;
  background-color: #f2f2f2 !important;
  text-align: center;
  padding: 4px 0;
  width: 160px;
  border-radius: 4px;
  position: absolute;
  left: 4px;
  top: 90px;
  border: 1px solid #666;
}
/* LOGOTIPO INSTITUCIONAL */
.navbar-brand {
  padding-right: 2px;
  padding-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  padding-top: 11px;
  float: left;
  font-size: 0.75rem;
  text-decoration: underline;
}
.navbar-brand:focus {
  padding: 0;
  border-radius: 0;
  margin-top: 11px;
  margin-left: 0;
  margin-right: 2px;
}
.cabMir img {
  height: 85px;
  border: 1px solid transparent;
}
/* LOGOTIPO CLIENTE */
.logoTipCli a {
  display: inline-block;
  text-decoration: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 0;
  margin-left: 0;
}
.logoTipCli a:hover {
  text-decoration: none;
}
.logoTipCli img {
  height: 70px;
  /* border-radius: 6px; */
}
.logoTipCli a.logo img.logoCli:hover,
img:hover.LogoCli {
  transition: all 1.3s ease-in-out.5s;
  transform: scale(1.6) translate(15px, 8px);
  position: relative;
  z-index: 10;
}
/* DESPLEGABLES IDIOMAS y BUSCADOR */
.seldesple {
  float: right;
  margin-right: 2px;
}
/* BUSCADOR */
label.sr-only {
  border-radius: 4px 0 0 4px !important;
  background: #fafafa;
}
.form-control:hover {
  border-radius: 4px;
  background: #f2f2f2 !important;
}
.form-control:focus {
  background: #f2f2f2 !important;
}
.form-control::placeholder {
  opacity: 1;
  font-size: 0.75rem;
  color: #003853;
}
.input-group > :not(.dropdown-menu) {
  margin-left: -1px;
  height: 36px;
  padding: 2px 11px 1px;
  font-size: 0.8rem;
  border: 1px solid #c4c4c4;
  /* box-shadow: 2px 2px 4px #c2c2c2; */
  box-shadow: 2px 2px 4px #686868;
}
svg.fa-magnifying-glass {
  font-size: 1rem;
  width: 12px;
}
.btn.disabled,
.btn:disabled {
  opacity: 0.8 !important;
  cursor: not-allowed;
  pointer-events: inherit;
}
#botonBuscaPc.btn.btn-outline-secondary:focus {
  /* color: #fff;
  border-radius: 0 8px 8px 0;
  background-color: #0b577d !important;
  border: 1px solid #a2a2a2 !important; */
  color: #fffb00 !important;
  background-color: #000 !important;
  border: 1px solid #000 !important;
}
.input-group
  > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(
    .valid-feedback
  ):not(.invalid-tooltip):not(.invalid-feedback) {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 34px;
  /* border: 1px solid transparent; */
}
svg.fa-xmark {
  font-size: 1.6rem;
  width: 20px;
}
#abreBuscador .fa-xmark {
  font-size: 1rem;
  width: 12px;
}
svg.fa-chevron-down,
svg.fa-chevron-up {
  font-size: 14px;
}
/* MENU PRINCIPAL */
.navbar {
  padding: 0;
}
.navbar-nav {
  margin-top: -9px !important;
  margin-bottom: 9px;
}
.navbar-nav .nav-link {
  font-size: 1rem;
  color: #1d1d1b;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding-right: 0.4rem;
  padding-left: 0.6rem;
  padding-top: 0;
  margin-top: 0;
  text-decoration: none;
  padding-bottom: 0.3rem;
  border: 1px solid transparent !important;
}
.nav-link:focus,
.nav-link:hover {
  text-underline-offset: 5px;
  opacity: 0.7;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.dropdown-item:hover {
  color: #1d1d1b;
  text-underline-offset: 5px;
  opacity: 0.7;
  text-decoration: underline;
  background-color: #ffdb00;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
}
/* Menu/colapsado */

button.btn.btn-secondary.dropdown.dropdown-toggle-split {
  display: inline-block;
}
[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
  display: none;
}
.navbar-toggler {
  padding: 0.1rem 0.2rem;
  font-size: 1.6rem;
  margin-left: -8px;
  /* width: 32px;
  height: 32px; */
  width: 42px;
  height: 40px;
  border: 1px solid transparent;
}
.navbar-toggler-icon {
  height: 1em;
  width: 1.5em;
  margin-left: -5px;
  margin-top: -8px;
  color: #1d1d1b !important;
}
.btn.btn-secondary.dropdown-toggle-split.show::after,
.nav-link.dropdown-toggle.dropdown-toggle-split.show::after {
  border-top: 0;
  border-bottom: 0.3em solid;
}
.nav-item.active a.nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  color: #1d1d1b;
}
.dropdown-item {
  width: 100%;
  color: #1d1d1b;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  border: 1px solid transparent;
  text-decoration: none;
}
.buscad.show li.dropdown-item {
  padding: 0;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #f2f2f2;
  border-radius: 4px;
  border: 1px solid #ececec;
}
div.dropdown-menu.show ul {
  padding-left: 0;
  list-style: none;
}
.dropdown.seldesple ul.dropdown-menu.buscad.show {
  background-color: transparent;
  border: none;
  margin-left: -103px !important;
  max-width: 11rem;
  padding: 0.2rem 0 0;
}
.buscad.show li.dropdown-item:hover {
  background-color: transparent;
  opacity: 1;
  border: 1px solid transparent;
}
.dropdown-menu {
  position: absolute;
  z-index: 1002;
  display: none;
  min-width: 6rem;
  padding: 0.4rem;
  margin: 0;
  font-size: 0.85rem;
  list-style: none;
  border-radius: 4px;
  color: #1d1d1b !important;
  border: 1px solid gray;
}
.dropdown-item:focus {
  color: #1d1d1b;
  border: 1px solid transparent !important;
  background-color: #ffdb00;
}
a.dropdown-item:hover {
  background-color: #ffdb00;
}
button.btn.btn-secondary.dropdown-toggle-split {
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  padding: 0.05rem 0.2rem 0 0.1rem;
  margin-top: 2px;
  color: #1d1d1b;
  word-spacing: 0px;
  letter-spacing: 0rem;
  border: none;
  box-shadow: none;
  font-weight: normal !important;
}
span.separa {
  font-size: 0.8rem;
  margin-top: 14px;
  display: inline-flex;
  margin-left: -2px;
  margin-right: -1px;
}
h2.oculto {
  padding-bottom: 0;
}
#navegacionPrincipal.navbar-collapse.collapse.show
  ul.navbar-nav
  li.nav-item.active.dropdown
  div.dropdown-menu.show {
  background-color: #f9f9f9;
}

/*============================================  MEDIA QUERIES   ====================================*/

@media (min-width: 1400px) {
  div.container.cabMir {
    max-width: 1365px;
  }
}

@media (min-width: 1200px) {
  div.container.cabMir {
    max-width: 1170px;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-right: -8px !important;
  }
  .card.carDes .card-body {
    min-height: 320px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .logoTipCli a {
    margin-top: 18px;
    margin-bottom: 23px;
  }
  .navbar-nav {
    /* margin-bottom: 1px; */
    margin-bottom: -15px;
  }
  .logoTipCli img {
    height: 65px;
  }
  a.saltar {
    width: 140px;
  }
}

@media (max-width: 1152px) and (min-width: 992px) {
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -103px !important;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-collapse {
    display: contents !important;
  }
  .navbar-expand-lg {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .justify-content-lg-center {
    justify-content: right !important;
  }
}

@media (max-width: 991px) {
  header {
    height: auto;
    min-height: 114px;
  }
  header a:hover span,
  header a:focus span {
    top: 88px;
  }
  .navbar-brand {
    padding-top: 9px;
  }
  .navbar-brand:focus {
    margin-top: 10px;
  }
  .logoTipCli img {
    height: 64px;
  }
  .logoTipCli a {
    margin-bottom: 0;
    display: block;
    float: left;
    margin-top: 17px;
    margin-left: 10px;
  }
  .navbar-toggler {
    /* margin-top: -94px; */
    margin-top: -60px;
    margin-left: -5px;
  }
  .navbar {
    /* margin-top: 17px; */
    margin-top: 0px;
    margin-left: 0;
  }
  .menuTexto {
    word-spacing: 0rem;
    color: #1d1d1b !important;
    letter-spacing: 0.05rem;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin-top: -4px;
    display: block;
    margin-left: -3px;
  }
  .navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 0;
    border: 1px solid gray;
    padding-top: 3px;
    padding-left: 3px;
    padding-bottom: 3px;
    padding-right: 3px;
    background-color: #fff;
    margin-left: 0;
    border-radius: 5px;
  }
  .seldesple {
    margin: -1px 3px 0 0px;
  }
  a.saltar {
    left: 1px;
    top: 71px;
  }
  .nav-item.active a.nav-link.active {
    background-color: #f2f2f2;
    border-radius: 4px;
    border: 1px solid #ececec;
  }
  .navbar-toggler:focus {
    width: 42px;
    height: 40px;
    /* margin-top: -84px; */
    /* margin-top: -51px;
    margin-right: -9px; */
    margin-top: -57px;
    margin-right: 0px;
  }
  .navbar-toggler:focus span.menuTexto {
    margin-left: -1px;
    margin-top: -4px;
  }
  .dropdown-menu {
    left: -5px !important;
    top: 0 !important;
  }
  .navbar-nav .nav-link {
    padding-top: 0.15rem;
    margin-top: 0;
    padding-bottom: 0.2rem;
    font-size: 0.85rem;
  }
  .navbar-nav .nav-link:hover {
    border: 1px solid #bdbdbd !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -140px !important;
  }
}

@media (max-width: 912px) and (min-width: 881px) {
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -50px !important;
  }
}

@media (max-width: 880px) and (min-width: 768px) {
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -50px !important;
  }
}

@media (max-width: 767px) {
  a.saltar {
    left: 2px;
    top: 2px;
  }
  .navbar-brand {
    padding-top: 2px;
  }
  .navbar-brand:focus {
    margin-top: 2px;
  }
  .navbar-toggler {
    /* margin-top: -61px;
    margin-right: -1px; */
    margin-top: -54px;
    margin-right: -6px;
  }
  .navbar {
    margin-top: 1px;
  }
  .navbar-nav {
    margin-top: 6px !important;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -104px !important;
    padding: 0;
  }
  .seldesple {
    float: left;
    margin: -15px -2px 0 14px;
  }
  .logoTipCli a {
    margin-top: 10px;
  }
  .seldesple {
    float: left;
    margin: -15px -2px 0px 11px;
  }
  .navbar-toggler:focus {
    width: 46px;
    height: 42px;
    margin-top: -49px;
    margin-right: -9.5px;
  }
  .navbar-toggler:focus span.menuTexto {
    margin-left: -1px;
  }
  .dropdown-menu {
    left: 0px !important;
    top: 0px !important;
  }
  span.separa {
    margin-top: 11px;
  }
  .menuTexto {
    margin-top: -4px;
    display: block;
    margin-left: -7px;
  }
  .bandera {
    margin-top: 7px;
  }
  .navbar-toggler {
    width: 37px;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .fixed-top {
    position: inherit;
  }
}

@media (min-width: 576px) {
}

@media (max-width: 575px) {
  header a:hover span,
  header a:focus span {
    top: 69px;
    left: 0;
  }
  .fixed-top {
    position: inherit;
  }
  .navbar-brand {
    padding-top: 2px;
  }
  .navbar-brand:focus {
    margin-top: 2px;
  }
  .cabMir img {
    height: 80px;
  }
  .logoTipCli a {
    margin-top: 10px;
  }
  .logoTipCli img {
    height: 60px;
  }
  .seldesple {
    margin: -11px -2px 0 15px;
  }
  .navbar-toggler {
    /* margin-top: -61px; */
    margin-right: 0;
  }
  .navbar-toggler:focus {
    width: 42px;
    height: 41px;
    margin-top: -50px;
    margin-right: -2px;
  }
  .navbar-toggler:focus span.menuTexto {
    margin-left: -2px;
    margin-top: -5px;
  }
  .menuTexto {
    margin-top: -5px;
    margin-left: -8px;
  }
  .logoTipCli a.logo img.logoCli:hover,
  img:hover.LogoCli {
    transition: none;
    transform: none;
    z-index: 1;
  }
}

@media (max-width: 475px) {
  header {
    height: auto;
    min-height: 104px;
  }
  header a:hover span,
  header a:focus span {
    left: 6px;
  }
  a.saltar {
    width: 50%;
    font-size: 0.7rem;
  }
  .navbar-brand {
    padding-top: 2px;
    margin-left: 3px;
  }
  .navbar-brand:focus {
    margin-top: 2px;
  }
  .cabMir img {
    height: 75px;
  }
  .logoTipCli a {
    margin-left: 3px;
    /* margin-top: 5px; */
  }
  .logoTipCli img {
    height: 60px;
  }
  div.col-md-8.col-sm-11.col-12.newCabMir {
    padding-left: 0;
    padding-right: 0;
  }
  .seldesple {
    margin: -11px -2px -1px 0px;
  }
  .menuTexto {
    margin-top: -5px;
  }
  .navbar-toggler-icon {
    margin-top: -7px;
  }
  .navbar-toggler:focus span.menuTexto {
    margin-left: -2px;
    margin-top: -5px;
  }
  .dropdown.seldesple ul.dropdown-menu.buscad.show {
    margin-left: -86px !important;
    padding: 0;
    max-width: 10rem;
  }
  .dropdown-menu {
    left: 2px !important;
    top: 5px !important;
  }
}

@media (max-width: 380px) {
  header a:hover span,
  header a:focus span {
    min-width: 190px;
  }
  .cabMir img {
    height: 70px;
  }
  .logoTipCli img {
    height: 52px;
  }
  .logoTipCli a {
    margin-left: 0;
  }
  .seldesple {
    margin: -6px 0 0px -5px;
  }
  .dropdown-menu {
    left: 5px !important;
    top: 1px !important;
  }
  .bandera {
    margin-top: 3px;
  }
}

@media (max-width: 340px) {
  .cabMir img {
    height: 70px;
    margin-left: 3px;
  }
  .logoTipCli img {
    height: 40px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .logoTipCli a {
    margin-left: 0;
    margin-top: 12px;
  }
}
