@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

/* Menú */
.main-navigation {
  font-family: "Roboto", sans-serif !important;
}

.main-navigation,
.main-navigation ul ul {
  background-color: #fff !important;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li.sfHover > a,
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus > a,
.main-navigation .main-nav ul ul li.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
  color: rgb(200, 15, 46);
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.main-navigation ul ul {
  display: block;
  box-shadow: 1px 1px 0 rgb(0 0 0 / 10%);
  float: left;
  position: absolute;
  left: -99999px;
  opacity: 0;
  z-index: 99999;
  width: 200px;
  text-align: left;
  top: auto;
  transition: opacity 80ms linear;
  transition-delay: 0s;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.main-navigation .main-nav ul li a,
.menu-toggle,
.main-navigation .main-nav ul ul li a {
  color: rgb(200, 15, 46) !important;
}

.main-navigation .main-nav ul li.menu-item-has-children > a {
  padding-right: 0;
  position: relative;
}

/* CSS de la cabecera */
body {
  background-color: #ffffff !important;
}

.inside-header {
  max-width: 1600px;
  padding: 15px !important;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  border-bottom: 1px solid rgb(200, 15, 46);
  background-image: none !important;
}

.site-branding .main-title {
  padding-top: 10px;
  font-size: 2vw;
}

.gva_logo {
  padding-right: 40px;
  vertical-align: middle;
  float: left;
}

.logo_FSE img {
  height: auto;
  max-width: 120px;
  padding-right: 40px;
  float: left;
  margin-top: 4px;
}

.site-logo {
  display: none !important;
}

.logo_site img {
  padding-right: 40px;
  float: left;
  max-height: 77px;
}
.site-logo img,
.gva_logo img {
  max-height: 77px;
}

.gva_bloque_derecha {
  float: right;
  color: #c80f2e !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 15px;
}

#segunda-linea-gva_bloque {
  margin-top: 10px;
  font-size: 0.86em;
}

#buscador-movil {
  display: none;
}

#buscador {
  float: right;
}

#buscador form {
  margin: 0;
  font-size: 0;
}

.form-buscador {
  font-size: 0;
  margin-bottom: 5px;
  display: grid;
  grid-template-columns: auto auto;
}

#buscador input[type="image"] {
  height: 16px;
  width: 16px;
  border: 1px solid black;
  border-left: none;
}

#boton-form-buscador {
  vertical-align: bottom;
}

.language_header {
  float: right;
  line-height: 1.2em;
  margin-left: 15px;
}

.lang-item a {
  color: #c80f2e !important;
  font-family: "Roboto", sans-serif !important;
}

.lang-item::after {
  content: "\00a0 /\00a0 ";
}

.lang-item:last-child:after {
  content: "";
}

li.lang-item {
  float: left;
  list-style: none;
}

#segunda-linea-gva_bloque #buscador input[type="text"] {
  border: 1px solid black;
  height: 17px;
  padding: 2px 2px 2px 10px;
  width: 108px;
  background: white;
  border-radius: 0;
  font-size: 11px;
  line-height: 11px;
  color: #c80f2e;
  font-weight: bold;
  font-family: 'Roboto', sans-serif !important;
}

#tercera-linea-gva_bloque {
  float: right;
  line-height: 1em;
  margin-top: 5px;
  font-size: 0.86em;
}

#tercera-linea-gva_bloque a {
  color: rgb(200, 15, 46) !important;
}
.twitter {
  width: 17px;
  height: 17px;
  padding-bottom: 2px;
  padding-top: 2px;
  float: right;
}
.escritorio {
  width: 100%;
  margin-bottom: 0 !important;
}
.movil {
  display: none;
}

/* Movil */

@media (max-width: 768px) {
  .desktop {
    display: none !important;
  }
  .movil {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
    padding: 0 0 5px;
    border-bottom: 1px solid #c80f2e;
    font-family: 'Roboto', sans-serif!important;
  }
  .barratop {
    background: #c80f2e;
    color: #fff;
    width: 100%;
    float: left;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    font-size: 14px;
  }
  .barratop a,
  .barratop .lang-item a {
    color: #fff !important;
  }
  .barratop .acceso a {
    padding-left: 20px;
    background: url(../img/icono-admin.svg) no-repeat left center;
    background-size: 15px;
  }
  .barratop .acceso a.salir {
    padding-left: 17px;
    background: url(../img/icono-salir.svg) no-repeat left center;
    background-size: 15px;
    margin-left: 10px;
  }
  .barratop .buscador {
    display: flex;
  }
  .barratop .buscador form {
    display: none;
    position: absolute;
    width: 100%;
    right: 0;
    top: 31px;
    z-index: 444;
  }
  .barratop .buscador form.activo {
    display: block;
  }
  .barratop .form-buscador {
    display: flex;
    width: 100%;
  }
  .barratop .buscador form #campo {
    font-size: 16px;
    padding: 7px;
    line-height: 20px;
    background: #fff;
    width: 100%;
    font-family: 'Roboto', sans-serif !important;
  }
  .barratop .buscador form #boton-form-buscador {
    background: url(../img/icono-lupa-blanca.svg) no-repeat center #c80f2e;
    background-size: 17px;
    width: 30px;
    height: 37px;
    color: #c80f2e;
    font-size: 1px;
  }
  .barratop .buscador img {
    width: 15px;
    cursor: pointer;
  }
  .barratop .idioma ul {
    margin-bottom: 0;
    margin-left: 0;
  }
  .barratop .colder {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
  }
  .has-inline-mobile-toggle .inside-header,
  .inside-header {
    padding: 0 !important;
  }
  .inside-header > :not(:last-child):not(.main-navigation) {
    margin-bottom: 20px;
  }
  .logos {
    width: 60%;
    float: left;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: flex-start;
    grid-gap: 10px;
    padding: 10px 15px 0;
  }
  .logo_site img {
    padding-right: 0;
  }
  .conselleria {
    width: 100%;
    float: left;
    text-align: center;
    font-size: 14px;
    color: #c80f2e;
  }
  .gva_logo {
    padding-right: 0px !important;
    vertical-align: middle !important;
    float: none !important;
  }
  .has-inline-mobile-toggle .mobile-menu-control-wrapper {
    position: absolute;
    right: 0;
    top: 30%;
    background: none !important;
  }
  .mobile-menu-open .has-inline-mobile-toggle .mobile-menu-control-wrapper {
    top: 11%;
  }
  .mobile-menu-control-wrapper .menu-toggle {
    background: none !important;
  }

  .main-navigation .menu-toggle svg {
    height: 2em;
    width: 2em;
  }
  .menu-toggle .mobile-menu {
    display: none;
  }
  .main-navigation.sub-menu-right {
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    background: none !important;
  }
  .logged-in .main-navigation.sub-menu-right {
    top: 82px;
  }
  .main-navigation.sub-menu-right .menu-toggle {
    font-size: 28px !important;
    width: 100px;
    float: right;
  }
  .main-navigation.sub-menu-right .main-nav {
    background: #fff;
  }
  .logo_FSE img {
    height: auto;
    max-width: 25%;
    padding-right: 0px !important;
    vertical-align: middle !important;
    float: none !important;
  }
  .site-branding-container,
  .site-branding {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }
  .site-branding .main-title {
    padding: 5px;
    font-size: 18px;
  }
  .main-title a,
  .main-title a:hover {
    color: #c80f2e !important;
  }
  .gva_bloque_derecha {
    float: none !important;
  }
  #primera-linea-gva_bloque {
    margin-bottom: 10px;
  }
  .language_header {
    float: left;
  }
  #buscador-movil {
    display: block;
    flex: 0 0 50%;
  }
  #buscador {
    display: none;
  }

  .bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #tercera-linea-gva_bloque {
    margin-right: 51px;
  }

  #input-sm {
    width: 70%;
    height: 30px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 22px;
    color: #c80f2e;
    font-weight: bold;
  }

  #boton-form-sm {
    height: 30px;
    width: 30px;
    padding: 0;
    position: relative;
    top: 4px;
    font-size: 16px;
    line-height: 20px;
    background: url(../img/lupa-buscador.svg) no-repeat center #666666;
    background-size: 90%;
    border: none;
  }
  .mobile-bar-items,
  .header-widget {
    display: none !important;
  }
}
@media (max-width: 400px) {
  .barratop .acceso a.admin,
  .barratop .acceso a.salir {
    background-size: 10px;
    padding-left: 13px;
  }
}

/* CSS del pie */
.site-info {
  display: none;
}

.gva-footer {
  width: 100%;
  border-top: 1px solid #c9c9c4;
  padding-top: 13px;
  margin-top: 10px;
  font: 82.5%/1.4 Roboto, Arial, Helvetica, Verdana, sans-serif;
  font-weight: 500;
  color: #565353;
}

.gva-footer_menu {
  width: 100%;
  border-top: 1px solid #c9c9c4;
  padding-top: 13px;
  margin-top: 10px;
  font: 82.5%/1.4 Roboto, Arial, Helvetica, Verdana, sans-serif;
  font-weight: 500;
  color: #565353;
}

.gva_footer_banderaUE {
  text-align: center;
  padding: 5px;
}

.gva_footer_banderaUE img {
  height: 40px;
  display: block;
  margin: auto;
}
