* 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;
}
.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;
  /* display: inline-block; */
  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: 12px;
  margin-bottom: 2px;
  margin-left: 10px;
}
.logoTipCli a:hover {
  text-decoration: none;
}
.logoTipCli img {
  height: 83px;
}
.logoTipCli a:hover {
  transition: all 1.3s ease-in-out.5s;
  transform: scale(1.4) translate(26px, 11px);
  position: relative;
  z-index: 10;
}
/* DESPLEGABLES IDIOMAS y BUSCADOR */
.seldesple {
  float: right;
  margin-right: 2px;
  /* margin-top:11px; */
}
/* BUSCADOR */
label.sr-only {
  border-radius: 4px 0 0 4px !important;
  background: #fafafa;
}
.form-control:hover {
  border-radius: 4px;
  background: #fff;
}
.form-control::placeholder {
  opacity: 1;
  font-size: 0.75rem;
  color: #333;
}
.input-group > :not(.dropdown-menu) {
  margin-left: -1px;
  height: 36px;
  padding: 2px 11px 1px;
  font-size: 0.8rem;
  border-color: #999;
}
svg.fa-magnifying-glass {
  font-size: 1rem;
  width: 12px;
}

svg.fa-xmark {
  font-size: 1.7rem;
  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.8;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.dropdown-item:hover {
  color: #1d1d1b;
  text-underline-offset: 5px;
  opacity: 0.8;
  text-decoration: underline;
  background-color: #ffdb00;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
}
/* Menu/colapsado */

button.btn.btn-secondary.dropdown.dropdown-toggle-split {
  float: left;
  /* 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;
  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;
}
/* .btn:not(:disabled):not(.disabled) { */
/* cursor: pointer; */
/* border: 1px solid transparent; */
/* border: 1px solid #d6d6d6; */
/* } */
span.separa {
  font-size: 0.8rem;
  margin-top: 14px;
  display: inline-flex;
  margin-left: -2px;
  margin-right: -1px;
}
/* h1 span{ */
/* font-weight:bold; */
/* } */
h2.oculto {
  padding-bottom: 0;
}
/*============================================  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;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .logoTipCli a {
    margin-top: 12px;
    margin-bottom: 15px;
  }
  .navbar-nav {
    margin-bottom: 1px;
  }
  .logoTipCli img {
    height: 78px;
  }
  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;
  }
  /* h1{font-size:1rem;padding-top:10px; margin-bottom: 1px;} */
  /* h1 a{letter-spacing:0.37rem;line-height:1.5rem;} */
}

@media (max-width: 991px) {
  header {
    height: auto;
    min-height: 114px;
  }
  .navbar-brand {
    padding-top: 9px;
  }
  .navbar-brand:focus {
    margin-top: 10px;
  }
  .logoTipCli img {
    height: 74px;
  }
  .logoTipCli a {
    margin-top: 12px;
    margin-bottom: 0;
    display: block;
    float: left;
  }
  .navbar-toggler {
    margin-top: -94px;
  }
  .navbar {
    margin-top: 17px;
    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: -7px;
  }
  .navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 15px;
    border: 1px solid gray;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    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-right: -5px;
  }
  .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.4rem;
    margin-top: 0;
    padding-bottom: 0.6rem;
  }
  .navbar-nav .nav-link:hover {
    border: 1px solid #bdbdbd !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  /* h1 {font-size: .75rem;padding-top:12px } */
  /* h1 a{line-height:1.1rem;} */
  /* h1 span{font-size: .75rem; } */
  .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) {
  /* h1{font-size:.75rem;} */
  a.saltar {
    left: 2px;
    top: 2px;
  }
  .navbar-brand {
    padding-top: 2px;
  }
  .navbar-brand:focus {
    margin-top: 2px;
  }
  .navbar-toggler {
    margin-top: -59px;
    margin-right: -1px;
  }
  .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: 7px;
  }
  .seldesple {
    float: left;
    margin: -15px -2px 0px 11px;
  }
  .navbar-toggler:focus {
    width: 42px;
    height: 41px;
    margin-top: -49px;
    margin-right: -6px;
  }
  .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;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .fixed-top {
    position: inherit;
  }
  /* h1{padding-top:6px; margin-right:-12px;} */
  /* h1 span{font-size: .75rem;}	 */
}

@media (min-width: 576px) {
  /* h1 span{display:block;margin-right:-4px;} */
}

@media (max-width: 575px) {
  .fixed-top {
    position: inherit;
  }
  .navbar-brand {
    padding-top: 2px;
  }
  .navbar-brand:focus {
    margin-top: 2px;
  }
  .cabMir img {
    height: 80px;
  }
  .logoTipCli a {
    margin-top: 8px;
  }
  .logoTipCli img {
    height: 62px;
  }
  .seldesple {
    margin: -11px -2px 0 15px;
  }
  .navbar-toggler {
    margin-top: -61px;
    margin-right: 5px;
  }
  .navbar-toggler:focus {
    width: 42px;
    height: 41px;
    margin-top: -50px;
    margin-right: 0;
  }
  .navbar-toggler:focus span.menuTexto {
    margin-left: -2px;
    margin-top: -5px;
  }
  .menuTexto {
    margin-top: -5px;
    margin-left: -8px;
  }
}

@media (max-width: 475px) {
  /* h1{font-size:.7rem;} */
  /* h1 span{font-size: .7rem;}	 */
  header {
    height: auto;
    min-height: 104px;
  }
  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-top: 2px;
    margin-left: 5px;
  }
  .logoTipCli img {
    height: 50px;
  }
  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) {
  .cabMir img {
    height: 70px;
  }
  .logoTipCli img {
    height: 44px;
  }
  .logoTipCli a {
    margin-left: 4px;
  }
  .seldesple {
    margin: -6px 0 0px -5px;
  }
  .dropdown-menu {
    left: 5px !important;
    top: 5px !important;
  }
  .bandera {
    margin-top: 3px;
  }
}

@media (max-width: 340px) {
  /* h1{font-size:.7rem;} */
  /* h1 span{font-size: .7rem;}	 */
  .cabMir img {
    height: 70px;
    margin-left: 3px;
  }
  .logoTipCli img {
    height: 37px;
    margin-left: 4px;
    margin-top: 1px;
    margin-bottom: 0px;
  }
  .logoTipCli a {
    margin-left: 0;
  }
}
