@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: #000000;
  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: #000000 !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(0, 0, 0);
  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: #000000 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 15px;
}

.gva_bloque_derecha #primera-linea-gva_bloque{
  text-align: right;
}

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

}
#segunda-linea-gva_bloque.polylang {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  justify-content: space-between;
}

/*ESTILO BUSCADOR REBOSTIGITAL*/
.app-data #segunda-linea-gva_bloque {
	display:flex;
	justify-content: flex-end;
  column-gap: 0;
}

#buscador-movil {
  display: none;
}

.polylang #buscador {
  order:-1;
}
#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"] {
  border: 1px solid black;
  border-left: none;
} */

#buscador input[type="submit"] {
  border: 1px solid black;
  border-left: none;
  background: url(../img/icono-lupa.svg) no-repeat center #fff;
  background-size: 17px;
  padding:0;
  width: 32px;
  height: 32px;
}

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

.language_header {
  float: right;
  line-height: 1.2em;
}

.language_header ul{
  margin:0;
}

.lang-item a {
  color: #000000 !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;
  padding: 5px!important;
  width: auto;
  background: white;
  border-radius: 0;
  font-size: 14px!important;
  line-height: 11px!important;
  color: #000;
  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: #000000 !important;
}
/* .twitter {
  width: 17px;
  height: 17px;
  padding-bottom: 2px;
  padding-top: 2px;
  float: right;
  margin-right: 15px;
} */
.escritorio {
  width: 100%;
  margin-bottom: 0 !important;
}
.movil {
  display: none;
}

/*REDES MENÚ*/
.inside-navigation.redes-menu {
  display:grid;
  justify-content: space-between;
  grid-template-columns: auto auto;
}

.grid-container.inside-navigation.redes-menu {
    grid-template-columns: auto auto auto;
}

.redes {
    display: flex;
    height: 60px;
    align-items: center;
    column-gap: 5px;
}
.redes .twitter img,
.redes .telegram img,
.redes .tiktok img{
  width:26px;
  margin-bottom:-6px;
}
.redes .dashicons {
  font-size:30px;
  width:30px;
  height: 30px;
}
.redes a {
  color:#202020;
}
/* 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 #000000;
    font-family: 'Roboto', sans-serif!important;
  }
  .barratop {
    background: #000000;
    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 #000000;
    background-size: 17px;
    width: 30px;
    height: 37px;
    color: #000000;
    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: #000000;
  }
  .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: auto;
    position: absolute;
    top: 40px;
    right: 0;
    background: none !important;
  }
  .main-navigation.sub-menu-right.toggled {
    width:100%;
  }
  .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: #000000 !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: #000000;
    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, 
  .redes {
    display: none !important;
  }
  .inside-navigation.redes-menu {
    display: inherit;
  }
  .redesmov img, .redesmov .dashicons {
    width:16px;
  }
  .redesmov .dashicons {
    width:18px;
    height: 18px;
    font-size: 18px;
  }
  .redesmov {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .redesmov a {
    display: flex;
  }
}
@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 a{
  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 {
  max-height: 40px;
  display: block;
  margin: auto;
}
