/*--------------------------------------------------------------
>>> TABLA DE CONTENIDOS:
----------------------------------------------------------------
# Utilidades
# Tipografía
# Diseño
# Componentes
  ## Botones
  ## Iconos
  ## Sliders
  ## Búsqueda
  ## Pie de página
  ## Otros
# Clases móvil/escritorio
# Móvil
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Utilidades
--------------------------------------------------------------*/

/* Clases para poner al editar */
.invisible {
  display: none;
}

.no-bottom {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.no-top {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.no-padding-left {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.wide-margin {
  margin: 30px !important;
}

.paddings {
  padding: 100px 0 !important;
}

.fullwidth {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Tipografía
--------------------------------------------------------------*/

.size28 {
  font-size: 28px !important;
}

.size24 {
  font-size: 24px !important;
}

.size22 {
  font-size: 22px !important;
}

.size20 {
  font-size: 20px !important;
}

.size18 {
  font-size: 18px !important;
}

.size16 {
  font-size: 16px !important;
}

.size14 {
  font-size: 14px !important;
}

/*--------------------------------------------------------------
# Diseño
--------------------------------------------------------------*/

.like-upv-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.wp-block-cover.like-upv-section h2,
.wp-block-cover.like-upv-section p {
  margin: 0;
  padding: 10px 0;
}

.fondo_upv {
  background-image: url(../assets/upv_azul.svg) !important;
  background-position: bottom right !important;
  background-repeat: no-repeat !important;
  background-size: min(573px, 80%) auto !important;
}

.two_columns_text {
  column-count: 2;
  column-gap: 16px;
}

.two_columns_text p {
  margin-top: 0px;
}

.entry-content>.upv-slider:first-child,
.entry-content>.wp-block-cover:first-child {
  /*position:relative;
    top:-70px;*/
  color: #fff;
}

.home .entry-content>.upv-slider:first-child,
.home .entry-content>.wp-block-cover:first-child {
  position: relative;
  top: 0px;
}

.entry-content>.wp-block-cover h1 {
  font-size: 64px !important;
  padding-top: 100px !important;
}

/*--------------------------------------------------------------
# Componentes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Botones
--------------------------------------------------------------*/

.boton_policonsulta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #d73333;
  border-radius: 40px;
  padding: 10px 34px;
  line-height: 1em;
  color: #fff;
  text-decoration: none;
  z-index: 1000;
}

.boton_policonsulta:hover {
  background: #a40e0e;
  ;
  color: #fff;
}

img#upv-policonsulta {
  width: 100px;
  height: 20px;
}

/*--------------------------------------------------------------
## Iconos
--------------------------------------------------------------*/

.flechita a::before {
  content: url(images/flechita.svg);
  display: inline-block;
  margin-right: 10px;
  position: relative;
}

.flechita a,
.flechita_blanca a {
  text-decoration: none;
}

.flechita-blanca a::after {
  content: url(images/flechita_blanca.svg);
  display: inline-block;
  margin-left: 10px;
  position: relative;
}

.icono {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
}

.icono img {
  margin: 0 !important;
  padding: 0 !important;
}

.accessible-megamenu .icon {
  line-height: 1em
}

.document-icon {
  filter: brightness(0.3);
}

/*--------------------------------------------------------------
## Sliders
--------------------------------------------------------------*/

.kb-advanced-slide-inner {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 1));
  text-align: center;
  min-height: 30%;
  font-weight: normal !important;
  padding: 25px;
  position: absolute !important;
  bottom: 0;
}

.kb-advanced-slide-inner-wrap .kb-advanced-slide-inner p,
.kb-advanced-slide-inner-wrap .kb-advanced-slide-inner h2 {
  margin: 0 auto !important;
  padding: 5px 0 !important;
  max-width: 90%;

}

.images_slider {
  text-align: center
}

.slider_slides h3,
.slider_slides h4,
.slider_slides p {
  color: #fff;
  padding: 0;
  margin: 0 121px;
  line-height: 1.2em;
}

.slider_slides h3 {
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 24px;
}

.slider_slides h4 {
  font-size: 26px;
  line-height: 34px;
  margin-bottom: 14px;
}

.slider_slides p {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 0px;
}

@media (max-width: 1025px) {
  .slider_slides h3 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
    margin: 0 auto;
    padding: 0 5%;
  }

  .slider_slides h4 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
    margin: 0 auto;
    padding: 0 5%;
  }

  .slider_slides p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 0px;
    margin: 0 auto;
    padding: 0 5%;
  }

  .slider_slides.left h3 {
    margin-left: 10%;
  }

  .slider_slides.left h4 {
    margin-left: 10%;
  }

  .slider_slides.left p {
    margin-left: 10%;
  }

  .slider_slides.right h3 {
    margin-right: 10%;
  }

  .slider_slides.right h4 {
    margin-right: 10%;
  }

  .slider_slides.right p {
    margin-right: 10%;
  }
}

/*--------------------------------------------------------------
## Búsqueda
--------------------------------------------------------------*/

.buscar-noticias {
  margin: 40px auto;
  max-width: var(--ancho, 980px);
  height: 34px;
  text-align: center;
}

.buscar-noticias input[type="search"] {
  margin: 5px 5px 5px 14px !important;
  max-width: 90% !important;
  border-radius: 0 !important;
  padding: 5px 10px;
}


.categoria_select {
  min-width: 200px;
  padding: 5px 10px;
  border-radius: 0 !important;
}

.buscar-noticias input[type="submit"] {
  padding: 0 20px;
  margin: 0;
  background: #E5554F;
  color: #fff;
  border: none;
  font-size: 1em;
  line-height: 32px;
  border-radius: 0;
}

.buscar-noticias input[type="submit"]:hover {
  background: #a40e0e;
}

/*--------------------------------------------------------------
## Pie de página
--------------------------------------------------------------*/

.site-info .wp-block-columns {
  margin-bottom: 0;
}

.site-info .column-left {
  flex-grow: 2 !important;
}

.footer-widget ul {
  list-style-type: circle;
}

div.copyright {
  margin-left: 5px;
}

.footer-area .wp-block-columns {
  gap: 20px;
}

/*--------------------------------------------------------------
## Otros
--------------------------------------------------------------*/

.list-spaced li {
  line-height: 1.5em;
  margin-bottom: 1em;
}

.testimonio {
  padding: 40px 20px;
}

.testimonio a {
  text-decoration: none;
}

.wp-block-image figcaption {
  color: #000000;
  background-color: rgb(238, 238, 238, 0.5);
  padding: 10px;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

ul.sitemap,
.sitemap ul {
  list-style: none;
}

blockquote {
  border-left: 5px solid #ddd;
  padding: 20px 0 20px 20px !important;

}

.site-branding a,
.social-sharer a {
  text-decoration: none
}

.social-sharer a span {
  border-radius: 3px;
  margin: 0px;
}

.social-sharer {
  margin: 60px auto !important;
  text-align: right;
}

.off-screen {
  left: -1000vw;
  position: absolute;
}

.kt-blocks-date {
  margin-bottom: 1.5rem;
}

#kbe-breadcrumbs,
#kbe-live-search,
#kbe-content {
  margin: 0 auto 3em auto;
  max-width: var(--ancho, 980px);
}

.kbe-count {
  float: none;
  position: relative;
  top: -3px;
  background-color: #F3F3F3 !important;
  color: #000;
}

.kbe-category-title {
  line-height: 1.2em;
}

.kbe-category-title a {
  color: #006D8F;
  font-family: Inter;
}

.kbe-category a {
  text-decoration: none;
}

.kbe-category a:hover {
  text-decoration: underline;
}

.kbe-object-list li.kbe-list-item-is-article {
  padding: 3px 20px 3px 34px;
  padding-left: 34px !important;
}

.kbe-list-item-is-article svg {
  zoom: 1.2;
  margin-top: 0px;
  margin-left: 0px;
}

.entry-content .wp-block-column ol.has-background,
.entry-content .wp-block-column ul.has-background {
  border-radius: 20px;
}

/*
.entry-content .wp-block-column ul {margin-left:0!important;padding:0!important;}
.entry-content .wp-block-column ul li {margin-left:1em;}
*/

.top-menu {
  padding: 4px;
}

.top-menu a {
  color: #fff;
  text-decoration: none;
}

#toc>ol,
#toc>ul {
  margin: 0;
  padding-left: 0;
}

#toc>ol li,
#toc>ul li {
  padding-left: 0;
  margin-left: 20px;
}

/*--------------------------------------------------------------
# Clases móvil/escritorio
--------------------------------------------------------------*/

.only_narrow_desktop {
  display: none;
}

.not_narrow_desktop {
  display: inline-block;
}

@media (min-width:1024px) and (max-width: 1200px) {
  .only_narrow_desktop {
    display: inline-block;
  }

  .not_narrow_desktop {
    display: none;
  }
}

.only_desktop {
  display: inline-block;
}

.only_mobile {
  display: none;
}

@media (max-width: 1025px) {

  .only_desktop {
    display: none !important;
  }

  .only_wide_desktop {
    display: none;
  }

  .only_mobile {
    display: inline-block;
  }

}

@media (max-width: 781px) {
  #colophon .wp-block-columns .wp-block-column.widget-area {
    flex-basis: 46% !important;
  }
}

/*--------------------------------------------------------------
# Móvil
--------------------------------------------------------------*/

.pie_menu_movil {
  display: none !important;
}

@media (max-width: 1025px) {



  #page {
    margin-top: 74px;
  }

  .custom-logo {
    min-width: auto !important;
  }

  #site-title-text {
    max-width: auto;
    display: inline-block;
    padding-left: 0px;
  }

  .site-description {
    font-size: 16px;
    line-height: 19px;
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    margin-left: 20px;
    margin-right: 60px;
  }

  .is-ios .only_mobile .site-description {
    max-width: 40%;

  }


  .microsite_description p {
    margin-top: 0;
    padding: 6px;
  }

  .site-info {
    padding: 0 10px;
    margin: 0;
  }


  .site-branding {
    margin: 0 !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200000;
    margin: 0;
    padding: 8px 0 8px 12px;
    height: 74px;
    background: #fff;
    display: inline-block;
  }

  .site-branding #upv-logo {
    margin-right: 10px;
    display: none;
  }

  .site-branding #upv-logo-min {
    margin-top: 6px;
    margin-right: 0px;
    margin-left: 9px;
    display: inline-block;
    width: auto;
    max-height: 44px;
    padding: 6px 0;
  }

  .site-branding .custom-logo {
    margin-top: 6px;
    padding-left: 0;
    border-left: none;
  }

  .site-branding img {
    max-width: 100px;
    margin: 0;
    padding: 0;
    max-height: 44px;
  }

  .breadcrumb {
    background: #444;
  }

  .breadcrumb {
    padding: 9px 10px 9px 10px;
  }

  #site-navigation {
    position: fixed;
    top: 0;
    z-index: 200002;
    width: 100%;
    overflow-y: scroll;
    max-height: calc(100vh - 74px);
  }

  #site-navigation.toggled {
    background: #3F4444;
  }

  /*menu*/

  .accessible-megamenu-toggle[aria-expanded=true]~#menu-principal {
    border-top: 1px solid #D73333;
  }

  #site-navigation.toggled .accessible-megamenu>.pie_menu_movil {
    display: block !important;
    padding-top: 16px !important;
  }

  .accessible-megamenu .accessible-megamenu-panel h3 {
    margin-bottom: 20px;
  }

  .accessible-megamenu-toggle[aria-expanded=true]~.accessible-megamenu>.menu_static_info {
    margin-top: 5px !important;
    padding-top: 5px !important;
  }

  .accessible-megamenu .accessible-megamenu-top-nav-item-right .icon {
    color: #fff !important;
  }

  .accessible-megamenu .accessible-megamenu-top-nav-item-right {
    border: 1px solid transparent;
  }

  .mobile_menu_login {
    padding: 10px 0 0 0;
    background: #D73333;
    text-align: center;
    margin-top: 10px;
  }

  .mobile_menu_login a {
    color: #fff;
    text-decoration: none;
  }

  .mobile_menu_languages {
    padding: 40px 0;
    text-align: center;
    font-weight: 700;
  }

  .mobile_menu_languages a {
    color: #fff;
    font-weight: 400;
    text-decoration: none;
  }

  .mobile_menu_logo img {
    display: block !important;
    color: #fff;
  }

  .mobile_menu_logo {
    margin: 0 !important;
  }

  .accessible-megamenu .menu_static_info input[type="text"] {
    min-width: auto !important;
    width: 70%;
  }

  .menu_static_info form {
    margin-bottom: 30px !important;
  }

  /*cuerpo*/



  .entry-content {
    padding: 0 10px !important;
  }

  .entry-header .entry-title {
    line-height: 1.2em;
    margin-bottom: 10px !important;
  }

  .wp-block-column .entry-header,
  .wp-block-column .entry-footer,
  .wp-block-column .entry-summary {
    padding: 0;
  }

  .entry-content .wp-block-cover.alignfull {
    margin: 0 -14px !important;
    position: relative;
    max-width: unset !important;
    width: auto;
  }

  .wp-block-cover,
  .wp-block-cover-image {
    min-height: 370px;
  }

  /*pie*/

  .site-footer {
    padding: 20px 0 0px 0;
  }

  #colophon,
  #colophon .column-right {
    text-align: center;
  }

  .site-info .column-right {
    width: auto;
    text-align: center
  }

  .site-info .column-right .footer-widget {
    display: inline-block;
    margin: 0
  }

  #colophon .wp-block-column.social-networks {
    margin: 30px 0 10px 0 !important;
  }

  /*#colophon .wp-block-columns{display:block;}*/
  .footer-alt-business .site-info {
    display: block;
  }

  .footer-alt-business .text {
    text-align: center;
    max-width: 100%;
    min-width: 100%;
  }

  .footer-alt-business .footer-questions {
    margin: 25px 0 !important;
    max-width: 100%;
    min-width: 100%;
  }

  .footer-alt-business .footer-questions .footer-question-pregunta {
    display: none;
  }

  .footer-alt-business .footer-questions .footer-question-logo {
    width: auto;
    text-align: center;
  }

  .footer-alt-business .footer-question {
    justify-content: center;
  }

  .footer-suggestions {
    padding: 10px 0;
    border: none;
  }

  .footer-suggestions .social-networks {
    text-align: center
  }

  .footer-business .site-info,
  .footer-quality .site-info {
    justify-content: center;
    padding: 0 30px;
  }

  .footer-business .text {
    display: none;
  }

  .footer-questions {
    margin: 25px !important
  }

  .footer-question {
    display: flex !important;
    flex-wrap: nowrap;
    column-gap: 0 !important;
  }

  .footer-question-respuesta a {
    padding: 10px 10px;
    white-space: nowrap;
  }

  .footer-upv-logo {
    margin: 40px 0;
  }

  .footer-bottom-bar {
    padding: 20px;
  }


  .footer-menu.site-info .widget-area {
    width: auto;
    margin: 30px 0;
  }

  ul.spacer>li:not(:last-child) {
    margin-right: 10px;
    white-space: nowrap;
  }

  .site-footer ul.horizontal>li {
    display: block;
    text-align: center;
    margin: 10px 0;
  }


  .site-footer .menu-social-container ul.horizontal>li {
    display: inline-block;
  }

  .copyright {
    margin: 30px 0 20px 0;
  }


}

/*--------------------------------------------------------------
# Tablet - Footer ajustes
--------------------------------------------------------------*/
@media (min-width: 600px) and (max-width: 1024px) {

  /* Footer alt-business y suggestions (mismo estilo) */
  .footer-suggestions {
    padding: 60px 0 !important;
  }

  .footer-alt-business .site-info,
  .footer-suggestions .site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-alt-business .text,
  .footer-suggestions .text {
    text-align: center;
    width: 80%;
    max-width: 80%;
    min-width: 80%;
    margin-bottom: 0;
  }

  .footer-alt-business .footer-questions,
  .footer-suggestions .footer-questions {
    width: 80%;
    max-width: 80%;
    min-width: 80%;
    margin: 0 !important;
  }

  .footer-alt-business .footer-question,
  .footer-suggestions .footer-question {
    justify-content: flex-start;
    width: 100%;
  }

  .footer-alt-business .footer-questions .footer-question-pregunta,
  .footer-suggestions .footer-question-pregunta {
    display: block;
    text-align: left;
    flex: 1;
  }

  .footer-alt-business .footer-questions .footer-question-logo {
    width: 150px;
    flex-shrink: 0;
    text-align: left;
  }

  .footer-alt-business .footer-question .footer-question-respuesta,
  .footer-suggestions .footer-question-respuesta {
    margin-left: auto;
    flex-shrink: 0;
  }

}

/*--------------------------------------------------------------
# Móvil - Footer ajustes
--------------------------------------------------------------*/
@media (max-width: 599px) {

  /* Footer alt-business y suggestions (mismo estilo) */
  .footer-alt-business,
  .footer-suggestions {
    padding: 40px 0 30px 0 !important;
  }

  .footer-alt-business .site-info,
  .footer-suggestions .site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .footer-alt-business .text,
  .footer-suggestions .text {
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-bottom: 0;
  }

  .footer-alt-business .footer-questions,
  .footer-suggestions .footer-questions {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin: 0 !important;
  }

  .footer-alt-business .footer-question,
  .footer-suggestions .footer-question {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
  }

  .footer-alt-business .footer-questions .footer-question-logo {
    width: auto;
    flex-shrink: 0;
    margin-right: 10px;
    text-align: left;
  }

  .footer-alt-business .footer-questions .footer-question-pregunta {
    display: none;
  }

  .footer-suggestions .footer-question-pregunta {
    display: block;
    flex: 1;
    text-align: left;
    position: relative;
  }

  .footer-suggestions .footer-question-pregunta p {
    position: static;
    transform: none;
    margin: 0;

  }

  .footer-alt-business .footer-question .footer-question-respuesta,
  .footer-suggestions .footer-question-respuesta {
    margin-left: auto;
    flex-shrink: 0;
    text-align: right;
  }

  .footer-alt-business .footer-question .footer-question-respuesta a,
  .footer-suggestions .footer-question-respuesta a {
    width: auto;
    display: inline-block;
  }
}


