/*
Theme Name:		Viva Theme
Description:	Viva Theme
Theme URI:		/themes/viva-theme
Version: 		1.0
Author:			Granota
Author URI:         https://www.granota.net/
Tags:           	blog, one-column, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, translation-ready, wide-blocks, block-styles

License:            GPLv2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        viva-theme

Requires PHP:   8.2
Tested up to:   5.4 
*/


:root{
  --primary-color: #4297CE;
  --secondary-color: #005882; 
  --terciary-color: #7D2150;
  --color-black: #373737;
  --font-family: 'Poppins', sans-serif !important;
  --bg-gray: #f6f6f6;
  
}

@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/themes/viva-theme/fonts/Poppins-Light.woff2') format('woff2'),
     url('/wp-content/themes/viva-theme/fonts/Poppins-Light.woff') format('woff');
  font-weight: 300; /* Light */
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/themes/viva-theme/fonts/Poppins-Regular.woff2') format('woff2'),
     url('/wp-content/themes/viva-theme/fonts/Poppins-Regular.woff') format('woff');
  font-weight: 400; /* Regular */
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/themes/viva-theme/fonts/Poppins-Medium.woff2') format('woff2'),
     url('/wp-content/themes/viva-theme/fonts/Poppins-Medium.woff') format('woff');
  font-weight: 500; /* Medium */
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('/wp-content/themes/viva-theme/fonts/Poppins-Bold.woff2') format('woff2'),
     url('/wp-content/themes/viva-theme/fonts/Poppins-Bold.woff') format('woff');
  font-weight: 700; /* Bold */
  font-style: normal;
}

body{
  font-family: var(--font-family) !important;
  font-weight: 300; /* Regular como base */
  margin: 0px;
  padding: 0px;
}

a{
  text-decoration: none;
  color: var(--secondary-color);
}
.gn-menuGlobal{
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
}

.gn-barraSuperior{
  background-color: #7D2150;
  color: white;
}
.gn-barraSuperior img{
  height: 45px !important;
  width: auto;
}

.gn-barraSuperior .gn-redes{
  color: white;
  padding-left: 10px;
  font-size: 18px;
}
.gn-menu{background-color: white !important;}
.gn-menu .gn-asociate,
.gn-menu .gn-area{
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  border-radius: 30px;
}

.gn-menu .gn-asociate{background-color: #4297CE;}
.gn-menu .gn-area{background-color: #005882;}
.site-branding{margin-right: 60px;}

.site-branding img{
  height: 80px;
  width: auto;
}
.gn-carouselContenedor{
  position: relative;
  overflow: hidden;
  padding-top: 15px;
  padding-bottom: 50px;
}
.gn-carouselInicio{
  height: 590px;
  border-radius: 20px;
}
.carousel-item{
  height: 590px;
  overflow: hidden;
  position: relative;
}
.gn-carouselInicio .carousel-inner{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.gn-carouselText{
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 9;
  top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px;
}
.gn-carouselText h1{
  font-size: 34px;
  max-width: 450px;
  margin-bottom: 20px;
}
.gn-carouselText p{
  margin-bottom: 20px !important;
  font-size: 24px;
  max-width: 500px !important;
}
.gn-carouselText h1 span{
  font-weight: bolder;
  color: #005882;
}
.gn-carouselText .btn-carousel{
  background-color: #4297CE;
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 18px;
}
.gn-carouselText .btn-carouseldos{
  background-color: #005882;
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 18px;
  margin-left: 10px;
}
.gn-carouselIndicators{
  position: absolute;
  bottom: -50px;
  left: 0px;
  height: 40px;
  width: 140px;
}
.gn-carouselIndicators button i{color: #4297CE;}

.gn-carouselIndicators button.carousel-control-prev,
.gn-carouselIndicators button.carousel-control-next{
  width: 65px;
  opacity: 1;
  border: 2px solid #4297CE;
  background-color: transparent;
}
.gn-psRight,
.gn-psLeft{
  position: absolute;
  height: 490px !important;
  top: 80px;
}
.gn-psRight{right: -280px;}
.gn-psLeft{left: -280px;}

.gn-webAcreditada{
  position: absolute;
  z-index: 99;
  margin-top: -15px;
  margin-left: -40px;
}
button.gn-menuBars{
  background-color: white !important;
  padding: 10px 20px;
  color: #4297CE !important;
  border: 1px solid #4297CE !important;
  margin-right: 5px;
}
.gn-menuPrincipal ul{
  display: flex;
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

.gn-menuPrincipal  li:first-child{padding-left: 0px;}

.gn-menuPrincipal  li{
  margin: 0px;
  padding: 0px;
  padding-left: 20px;
}
.gn-menuPrincipal li a{
  text-decoration: none;
  color: #272727;
}
.gn-menuClose{
  background-color: transparent !important;
  border: 0px solid transparent;
  font-weight: 200;
  font-size: 18px;
  margin-top: 10px;
  padding-right: 15px;
}

.gn-footer{border-bottom: 8px solid #4297CE;}

.gn-footer .site-title{
  font-size: 20px;
  font-weight: 600;
  color: #005882;
}
.gn-footer .gn-redes{
  font-size: 24px !important;
  color: #4297CE;
  padding-right: 10px;
}
.gn-footer ul{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.gn-copy{
  padding-top: 15px;
  font-size: 14px;
  padding-bottom: 15px;
}

.gn-copy img{margin-top: -8px;}

.gn-mensajeAsociate{
  background-color: #4297CE;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 10px 20px;
  color: white;
}
.gn-mensajeAsociate h3{
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}
.gn-mensajeAsociate a{
  background-color: #005882;
  display: flex;
  width: 100%;
  text-align: center;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  padding: 10px 20px;
  justify-content: center;
  margin-top: 10px;
}

.gn-mensajeAsociate a:hover{background-color: #4297CE;}

.gn-footer h2{
  font-size: 20px;
  font-weight: 600;
  color: #005882;
}
.gn-iniciativas .cartas {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}
.gn-iniciativas .carta-wrapper {
  flex: 1;
  min-width: 0;
    transition: flex 0.5s ease;
    cursor: pointer;
}
   
.gn-iniciativas .cartas:not(.has-hover):not(.has-selected) .carta-wrapper.default-selected {flex: 2;}
.gn-iniciativas .cartas.has-hover .carta-wrapper {flex: 1;}
.gn-iniciativas .cartas.has-hover .carta-wrapper.hovered {flex: 2;}
.gn-iniciativas .cartas.has-selected .carta-wrapper {flex: 1;}
.gn-iniciativas .cartas.has-selected .carta-wrapper.selected {flex: 2;}

.gn-iniciativas .carta-wrapper:nth-child(1) .carta,
.gn-miniCard.gn-redCaps {
  background-color: #42CECC;
  border-radius: 10px;
  box-sizing: border-box;
}
.gn-iniciativas .carta-wrapper:nth-child(2) .carta,
.gn-miniCard.gn-sgreclip {
  background-color: #4297CE;
  border-radius: 10px;
}
.gn-iniciativas .carta-wrapper:nth-child(3) .carta,
.gn-miniCard.gn-redSalud {
  background-color: #8066A5;
  border-radius: 10px;
}
.gn-iniciativas .carta-wrapper:nth-child(4) .carta,
.gn-miniCard.gn-grupos {
  background-color: #FFFFFF;
  border: 2px solid #5C5C5C;
  border-radius: 10px;
}
.gn-iniciativas .carta-wrapper:nth-child(4) .carta h2,
.gn-iniciativas .carta-wrapper:nth-child(4) .carta p{color: #005882;}
.gn-iniciativas .carta-wrapper:nth-child(5) .carta,
.gn-miniCard.gn-recursos {
  background-color: #325980;
  border-radius: 10px;
}
.gn-iniciativas .carta-wrapper:nth-child(6) .carta,
.gn-miniCard.gn-mys {
  background-color: #7D2150;
  border-radius: 10px;
}
.gn-miniCard.gn-mys img{
  height: 60px;
  width: auto;
}
.gn-miniCard.gn-grupos h3,
.gn-miniCard.gn-grupos i{
  color: var(--secondary-color) !important;
}
.gn-iniciativas .carta {
  position: relative;
  width: 100%;
  height: 430px;
  perspective: 1200px;
  padding: 20px 25px;
  overflow: hidden;
}
.gn-iniciativas .carta-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.gn-iniciativas .carta.flipped .carta-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
} 
.gn-iniciativas .cartas:not(.has-hover):not(.has-selected) .carta-wrapper.default-selected .gn-spCartas,
.gn-iniciativas .carta-wrapper.default-selected .gn-spCartas,
.gn-iniciativas .cartas.has-hover .carta-wrapper.hovered .gn-spCartas,
.gn-iniciativas .cartas.has-selected .carta-wrapper.selected .gn-spCartas {
  position: absolute;
  left:-26px;
  bottom: 0px;
  z-index: 999;
  height: 190px ;
  max-width: none !important;
  width: auto;
}
.gn-iniciativas .cartas .carta-wrapper .gn-spCartas,
.gn-iniciativas .cartas.has-hover .carta-wrapper .gn-spCartas,
.gn-iniciativas .cartas.has-selected .carta-wrapper .gn-spCartas{
  position: absolute;
  left:-26px;
  bottom: 0px;
  z-index: 999;
  height: 145px ;
  max-width: none !important;
  width: auto;
}
.gn-iniciativas .cartas:not(.has-hover):not(.has-selected) .carta-wrapper.default-selected h2,
.gn-iniciativas .carta-wrapper.default-selected h2,
.gn-iniciativas .cartas.has-hover .carta-wrapper.hovered h2,
.gn-iniciativas .cartas.has-selected .carta-wrapper.selected h2 {
  font-size: 22px;
  font-weight: 600;
}
.gn-iniciativas .cartas .carta-wrapper  h2,
.gn-iniciativas .cartas.has-hover .carta-wrapper  h2,
.gn-iniciativas .cartas.has-selected .carta-wrapper  h2{
  font-size: 16px;
  font-weight: 600;
}
.gn-iniciativas .cartas .gn-logoMys{
  height: 50px !important;
  width: auto;
  max-width: none !important;
}
.gn-iniciativas .cartas i{
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 99;
}
.gn-iniciativas .carta-wrapper:nth-child(4) .carta i{color: black !important;}
.gn-iniciativas .cara {
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}
.gn-iniciativas .carta.flipped .delante{display: none;}
.gn-iniciativas .delante {
  color: white;
  position: relative;
  height: 100%;
}
.gn-iniciativas .detras {
  color: white;
  transform: rotateY(180deg);
  position: relative;
  height: 100%;
}
.gn-iniciativas .detras .gn-spCartas{opacity: .1;}
.gn-iniciativas .detras .mys{height: 80px !important;}
.gn-iniciativas .detras h2{margin-bottom: 39px;}
.gn-iniciativas .detras p{margin-bottom: 10px;}
.gn-iniciativas .boton-container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gn-iniciativas .boton {
  padding: 8px 20px;
  border: 0;
  border-radius: 30px;
  background: #4297CE;
  color: white;
  cursor: pointer;
  width: 100%;
}
.gn-cabeceraBlog{
  background-color: #C0E0F5;
  border-radius: 10px;
  height: 120px;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  flex-direction: column;
  padding: 0px 100px;
  margin-top: 20px;
}
.gn-cabeceraBlog h1{
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 0px;
  padding: 0px;
}
.gn-cabeceraBlog .gn-webAcreditada{
  position: absolute;
  left: 0px;
  top: 0px;
}
.gn-cabeceraBlog .gn-webAcreditada img{
  height: 80px !important;
  max-width: none !important;
}
.gn-introBlog{
  padding-top: 60px;
  padding-bottom: 60px;
}
.gn-introBlog p{
  font-size: 20px;
  font-weight: 200;
}
.gn-todasCategorias{
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  color: var(--primary-color);
}
.categorias-blog{
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
}

.categorias-blog li:first-child{margin-left: 0px;}

.categorias-blog li{
  background-color: #C0E0F5;
  padding: 10px 20px;
  margin: 15px 5px;
  border-radius: 30px;
}
.categorias-blog li:hover{
  background-color: var(--primary-color);
  padding: 10px 20px;
  margin: 15px 5px;
  border-radius: 30px;
}
.categorias-blog li a{
  text-decoration: none;
  color: var(--primary-color);
}
.wp-block-search__inside-wrapper{
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-color);
}

.wp-block-search__inside-wrapper input{padding-left: 20px;}

.wp-block-search__inside-wrapper button{
  background-color: var(--primary-color);
  border-radius: 30px;
  padding: 10px;
}

.categorias-blog li a:hover{color: white;}

.gn-articuloLista{
  border: 1px solid #D8D8D8;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 25px;
}
.gn-articuloLista .gn-articuloImg{
  height: 220px;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.gn-articuloLista .gn-articuloImg img{
  height: 220px;
  width: auto;
  max-width: none !important;
}
.gn-articuloLista h1,
.gn-articuloLista h2{
  font-size: 20px;
  line-height: 26px;
  font-weight: 300;
  text-align: center;
}
.gn-contentAct .post-date{
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 5px;
}
.gn-articuloLista .post-title a{
  text-decoration: none;
  color: var(--color-black);
}
.page-link{
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  margin-right: 5px;
  color: var(--color-black);
}
.page-link.current{
  background-color: #C0E0F5;
  border-radius: 30px !important;
  border: 1px solid #C0E0F5;
  margin-right: 5px;
  color: var(--color-black);
}

.page-item:last-child .page-link{border-radius: 30px;}

.page-link:hover{
  background-color: var(--primary-color);
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  margin-right: 5px;
  color: white;
}
.gn-categoriaActual{
  border-radius: 30px;
  background-color: #C0E0F5;
  padding: 15px 20px;
  font-size: 16px;
  margin-left: 10px;
  color: var(--primary-color);
  font-weight: 300;
  margin-bottom:0px;
}
.page-header--page{
  height: 490px;
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  position: relative;
  margin-top: 20px;
}
.page-header--page .gn-webAcreditada{
  position: absolute;
  left: 0px;
  top: 0px;
}
.page-header--page .gn-webAcreditada img{
  height: 80px !important;
  max-width: none !important;
}
.gn-articleInterInfo .gn-postCategories a{
  background-color: #C0E0F5;
  border-radius: 30px;
  width: fit-content;
  padding: 10px 20px;
  color: var(--primary-color);
  text-decoration: none;
}
.gn-articleInterContent h1{
  font-size: 32px;
  line-height: 38px;
  font-weight: 800;
  color: var(--secondary-color);
}
.gn-articleInterContent .post-date{
  font-size: 14px;
  margin-bottom: 10px;
}
.mi-bibliografia h2{
  color: #005882;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 20px;
}
.ref-bibliografica{
  background-color: #F1F9FF;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.ref-bibliografica a{
  text-decoration: none;
  color: var(--primary-color);
}

.gn-postNavigation{margin-top: 30px;}

.gn-postNavigation a{
  background-color: #F1F9FF;
  border-radius: 10px;
  padding: 15px 10px;
  display: flex;
  width: 100%;
  text-decoration: none;
  color: var(--primary-color);
}
.widget .wp-block-heading{
  font-size: 24px;
  color: var(--secondary-color);
  margin-top: 20px;
  font-weight: 600;
}
#bloglateral-widgets .widget_categories ul li a::before {
    content: url("/wp-content/themes/viva-theme/assets/img/blue-points.svg");
    font-weight: 900;
    margin-right: 10px;
}
#bloglateral-widgets .widget_categories ul{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
#bloglateral-widgets .widget_categories ul li a{
  background-color: #F1F9FF;
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
}
#bloglateral-widgets .widget_categories ul li a:hover{
  background-color: var(--primary-color);
  color: white;
}
#bloglateral-widgets .widget_recent_entries ul li a::before {
    content: "\f1ea";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--secondary-color);
}
#bloglateral-widgets .widget_recent_entries ul li {
  padding: 10px;
  border-bottom: 1px solid var(--primary-color);
}

#bloglateral-widgets .widget_recent_entries ul li a{color: var(--color-black);}

.gn-formulario {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.gn-fila {
  display: flex;
  width: 100%;
  gap: 20px;
}
.gn-campo {
  width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}
.gn-mitad {
  flex: 1;
  width: 50%;
}
.gn-formulario .gn-inputform {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #82B3D4;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}
.gn-formulario .gn-textareaform {
  width: 100%;
  min-height: 150px;
  padding: 15px 18px;
  border: 1px solid #82B3D4;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.gn-formulario .gn-inputform::placeholder,
.gn-formulario .gn-textareaform::placeholder {
  color: #888;
  opacity: 1;
}
.gn-formulario .gn-inputform:focus,
.gn-formulario .gn-textareaform:focus {
  border-color: #82B3D4;
  outline: none;
}
.gn-acciones {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.gn-aceptacion {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
.gn-aceptacion input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}
.gn-formulario .gn-legalForm {
  color: #373737;
  font-weight: 700;
}

.gn-boton {flex-shrink: 0;}

.gn-formulario .gn-btnenviar {
  min-width: 180px;
  height: 55px;
  padding: 0 45px;
  border: 0;
  border-radius: 50px;
  background: #b29559;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gn-formulario .gn-btnenviar:hover {
  background: #8f763f;
  color: #fff;
}
.gn-formulario .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.4;
}
.gn-formulario .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
}
.evento-destacado,
.evento-secundario{
  border-left: 7px solid #6A9FCF;
  border-top: 1px solid #6A9FCF;
  border-right: 1px solid #6A9FCF;
  border-bottom: 1px solid #6A9FCF;
  border-radius: 0px 10px 10px 0px;
  padding: 20px;
  margin-bottom: 10px;
}

.diaSuelto{font-size: 60px;}

.mesSuelto{
  text-transform: capitalize;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0px;
}

.mesFecha{font-size: 16px;}

.evento-destacado__titulo{
  font-size: 18px;
  margin: 0px;
  padding:0px;
  margin-bottom: 10px;
}
.evento-destacado__subtitulo{
  font-size: 14px;
  margin: 0px;
  padding: 0px;
}

.gn-borderDestacado{border-left: 3px solid #6A9FCF;}
.evento-destacado__resumen{margin-top: 20px;}

.evento-destacado__enlace,
.evento-secundario__enlace{
  text-decoration: none;
  color: black;
}
.eventos-carousel__enlace{
  color: white;
  font-weight: 600;
}
.eventos-carousel__slide{
  background-color: #4297CE;
  border-radius: 30px;
  padding: 0px 10px;  
}
.eventos-carousel__slide .mesFecha{
  font-weight: 300;
  font-size: 16px;
}
.eventos-carousel__slide h1,
.eventos-carousel__slide p{
  margin: 0px;
  padding: 0px;
}

.gn-eventosCaruselBord{border-left: 3px solid white;}

.eventos-carousel__title{
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  padding: 0px;
  margin: 0px;
}
  
.gn-eventosCarousel .carousel-item{height: fit-content;}

.evento-single__contenido{
  position: relative;
  overflow: hidden;
}
.evento-single__imagen{
  position: relative;
  overflow: hidden;
  height: 500px;
  border-radius: 10px;
}
.evento-single__imagen img{
  width: 100% !important;
  height: auto;
  max-width: none !important;
}
.evento-single__imparte{
  background-color: #C0E0F5;
  padding: 10px 15px;
  border-radius: 10px;
}
.evento-single__titulo{
  font-size: 32px;
  line-height: 38px;
  font-weight: 800;
  color: var(--secondary-color);
}
.evento-single__texto{
  font-size: 16px;
  margin-top: 20px;
}
.evento-single__texto h1, .evento-single__texto h2, .evento-single__texto h3, .evento-single__texto h4, .evento-single__texto h5{color: var(--secondary-color);}
.evento-destacado__imagen{
  position: relative;
  overflow: hidden;
}
.evento-destacado__imagen img{
  width: 100%;
  height: auto;
}
  
li:has(> a[href*="/category/morbilidad-y-farmacologia-diferenciales/"]), li:has(> a[href*="/category/atencion-primaria/"]), li:has(> a[href*="/category/eventos-y-formaciones/"]), li:has(> a[href*="/category/grupo-de-medio-ambiente/"]), li:has(> a[href*="/category/hormonas-y-salud/"]), li:has(> a[href*="/category/mujeres-salud-y-trabajos/"]), li:has(> a[href*="/category/salud-perinatal/"]), li:has(> a[href*="/category/violencia-gineco-obstetrica/"]){display: none !important;}
.gn-accordionGrupos{border: 0px solid transparent;}
.gn-accordionGrupos .accordion-item{
  border: 0px solid transparent;
  margin-bottom: 10px;
}
.gn-accordionGrupos .accordion-button,
.gn-accordionGrupos .accordion-button:hover{
  background-color: #F1F9FF;
  border-radius: 10px;
  border: 0px solid transparent;
  box-shadow: none;
  color: black;
}
.gn-accordionGrupos .accordion-button .gn-bluePoints{
  height: 23px;
   margin-bottom: 20px;
}
.gn-accordionGrupos .accordion-button h2{
  font-size: 28px;
  font-weight: 600;
  color: #4297CE;
   margin-bottom: 10px;
}
.gn-accordionGrupos .accordion-button p{
  margin: 0px;
  padding: 0px;
}
.accordion-button::after {
  position: absolute;
  top: 20px;
  right: 20px;
}
  
.gn-eventoSingleLateral.gn-borderDestacado{border-left: 0px solid transparent !important;}
.gn-eventoSingleLateral .evento-single__imparte{margin-top: 10px;}
.eventos-listado .evento-destacado__imagen{
  height: 215px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.eventos-listado article{color: var(--color-black);}
.eventos-listado .evento-destacado__imparte{margin-top: 10px;}
.gn-collapseMenu{background-color: white;}
.gn-collapseMenu .show{padding: 10px 0px;}

.gn-collapseMenu h2{
  font-size: 20px;
  color: #005882;
}
.gn-miniCard{
  height: 95px;
  padding: 10px 20px;
  position: relative;
  color: white;
}
.gn-miniCard h3{
  color: white;
  font-size: 18px;
  text-align: center;
}
.gn-miniCard i{
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.gn-404{
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
}
.gn-404 a{
  background-color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 30px;
  color: white;
}
.gn-submenuPrincipal{display: none !important;}

.gn-proximos{margin-top: 40px;}
@media (max-width: 767px) {
  .gn-fila {
    flex-direction: column;
    gap: 0;
  }
  .gn-mitad { width: 100%;}
  .gn-acciones {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .gn-aceptacion {width: 100%;}
  .gn-boton {width: 100%;}
  .gn-formulario .gn-btnenviar {
    width: 100%;
    min-width: 0;
    height: 55px;
  }
  .evento-single__imagen {height: 200px;}
  .gn-menu{
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Ocultar barra de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .gn-menu ::-webkit-scrollbar {display: none;}
  .gn-submenuPrincipal{
    display: block !important;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
  }
  .gn-submenuPrincipal li.gn-submenu-item{
    padding:0px !important;
    margin: 0px;
  }
  .gn-submenuPrincipal li:last-child{
    border: 0px solid transparent;
    margin-bottom: 0px !important;
  }
  .gn-submenuPrincipal li a{
    display: flex;
    padding: 10px 15px;
  }
}
@media (max-width: 380px) {
  .gn-formulario .gn-inputform {
    height: 50px;
    font-size: 15px;
  }
  .gn-formulario .gn-textareaform {
    min-height: 130px;
    font-size: 15px;
  }
  .gn-aceptacion {font-size: 13px;}
}

.widget-image-caption{
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px 20px;
  border-radius: 0px 0px 10px 10px;
}
.gn-cardEquipo{
  background-color: var(--secondary-color);
  margin-bottom: 10px;
  border-radius: 10px;
}
.gn-equipoFoto{
  background-color: white;
  width: 100%;
  height: 290px;
  position: relative;
  overflow: hidden;
  border-radius: 10px 0px 0px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.gn-equipoFoto img{
  height: 100%;
  width: auto;
  max-width: none !important;
}
.gn-equipoDescripcion{
  padding: 10px 20px;
  color: white;
  position: relative;
}
.gn-equipoNombre{
  margin-top: -10px;
  margin-bottom: 30px;
  padding-left: 30px;
  padding-right: 30px;
}
.gn-rango{
  background-color: #F1F9FF;
  border-radius: 0px 0px 20px 20px;
  padding: 10px 20px;
}

.gn-rango p{font-weight: bold;}
.gn-equipoDescripcion .gn-spCartas{
  position: absolute;
  left: -24px;
  bottom: -10px;
}
.banner-mys{margin: 30px 0px; }
.banner-mys h2{
  text-align: center;
  font-size: 32px;
  color: #7D2150;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 40px;
}
.banner-mys p{
  text-align: center;
  margin-top: 40px;
}
.gn-bannerMys{
  height: 504px;
  background-image: linear-gradient(0deg, #7D2150 0%, #52A0D3 100%);
  border-radius: 10px;
  padding: 0px 50px;
}
.gn-bannerMys h3{
  color: white;
  font-weight: 200;
  font-size: 32px;
}
.gn-bannerMys p{
  color: white;
  text-align:left;
  font-size: 18px;
}
.gn-bannerRow{
  height: 504px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.gn-bannerRectangle{
  background-color: #FDEEF6;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #7D2150;
}
  .gn-bannerRectangle img{
    height: 23px !important;
    width: auto;
    margin-right: 10px;
  }
  .gn-bannerPrecio p{
    font-weight: 200 !important;
    font-size: 18px;
  }
  .gn-bannerPrecio h4{
    font-weight: 600;
    color: white;
    font-size: 32px;
    margin-top: -15px;
  }
  .gn-bannerPrecio h4 small{
    font-size: 18px;
    font-weight: 200;
  }
  .gn-bannerPrecio a{
    background-color: #FECB00;
    color: #7D2150;
    padding: 15px 40px;
    border-radius: 30px;
  }
  
.tnp-subscription .tnp-field-email label{
  display: none;
}
.tnp-subscription .tnp-field-email input{
  background-color: white !important;
}
.tnp-subscription form{
  background-color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  border-radius: 30px;
  align-items: center;
  align-content: center;
  padding: 5px;
}
.tnp-subscription div.tnp-field{
  margin: 0px !important;
  padding: 0px;
}

.s2W h1,
.s2W p{
  color: white
}


@media (max-width: 576px){
  .gn-barraSuperior{font-size: 14px;}
  .site-branding img{
    height: 60px;
    width: auto;
    margin-left: 10px;
  }
  .site-branding{margin-right: 0px;}
  .gn-menu .container{
    max-width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .navbar-collapse{background-color: #005882}
  .gn-btnMenus{margin-right: 10px; }
  .gn-btnMenu a{
    width: 100%;
    text-align: center;
    margin: 10px 5px;
  }
  .gn-btnMenu .gn-area{
    border: 1px solid white;
    color: white;
  }
  .gn-menuPrincipal {padding: 10px;}
  .gn-menuPrincipal li{
    padding: 10px;
    border-bottom: 1px solid white;
  }
  .gn-menuPrincipal li a{color: white;}
  .gn-menuPrincipal  li:first-child{padding-left: 10px;}
  .gn-menuPrincipal  li:last-child{margin-bottom: 40px;}
  .gn-carouselText .btn-carousel,
  .gn-carouselText .btn-carouseldos{
    width: 100%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  .gn-carouselText .btn-carouseldos{
    margin-left: 0px;
    margin-top: 5px;
  }
  .gn-carouselBtn{
    display: flex;
    flex-direction: column;
  }
  .gn-carouselText{
    padding-bottom: 15px;
    padding: 15px 10px;
  }
  .gn-carouselText h1{
    font-size: 24px;
    max-width: 100%;
    margin-bottom: 10px;
    color: white;
  }
  .gn-carouselText p{
    margin-bottom: 20px !important;
    font-size: 24px;
    
  }
  .gn-carouselInicio,
  .carousel-item{height: 480px !important;}
  .gn-carouselInicio .gn-carouselImg{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 480px;
  }
  .gn-carouselInicio .gn-carouselImg img{
    height: auto !important;
    width: 100% !important;
    max-width: none !important;
  }
  .gn-webAcreditada img{
    height: 60px !important;
    width: auto;
    max-width: none !important;
  }
  .gn-webAcreditada{margin-left: -20px;}
  .gn-carouselText h1 span{
    font-weight: bolder;
    color: var(--primary-color);
  }
  .gn-iniciativas .cartas {flex-direction: column;}
  .gn-iniciativas .carta-wrapper:nth-child(1) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(3) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(4) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(5) .carta {height: 260px;}
  .gn-iniciativas .carta-wrapper:nth-child(1) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(3) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(4) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(5) .carta .gn-spCartas{height: 150px !important ;}
  .gn-iniciativas .carta-wrapper:nth-child(2) .carta {height: 340px;}
  .gn-iniciativas .carta-wrapper:nth-child(2) .carta .gn-spCartas{height: 190px !important ;}
  .gn-iniciativas .carta-wrapper:nth-child(6) .carta .gn-spCartas{height: 200px !important ;}
  .gn-equipoFoto img{
    height: auto;
    width: 100%;
  }
  .gn-equipoDescripcion .gn-spCartas{
    position: absolute;
    left: 0px;
    bottom: 10px;
  }
  .gn-equipoFoto{
    background-color: white;
    width: 100%;
    height: 290px;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
  }
  .gn-bannerMys,
  .gn-bannerRow{
    height: 100% !important;
    padding-top: 20px;
    padding-bottom: 20px;
  }
	.s3B h1{
		color: black;
	}
}
@media (min-width: 577px) and (max-width: 769px){
  .gn-barraSuperior{font-size: 14px;}
  .site-branding img{
    height: 60px;
    width: auto;
    margin-left: 10px;
  }
  .site-branding{margin-right: 0px;}
  .gn-menu .container{
    max-width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .navbar-collapse{background-color: #005882}
  .gn-btnMenus{margin-right: 10px; }
  .gn-btnMenu a{
    width: 100%;
    text-align: center;
    margin: 10px 5px;
  }
  .gn-btnMenu .gn-area{
    border: 1px solid white;
    color: white;
  }
  .gn-menuPrincipal {padding: 10px;}
  .gn-menuPrincipal li{
    padding: 10px;
    border-bottom: 1px solid white;
  }
  .gn-menuPrincipal li a{color: white;}
  .gn-menuPrincipal  li:first-child{padding-left: 10px;}
  .gn-menuPrincipal  li:last-child{margin-bottom: 40px;}
  .gn-containerCar{max-width: 95%;}
  .gn-carouselInicio, .carousel-item{height: 600px;}
  .gn-carouselInicio .carousel-item img{
    height: auto;
    width: 100% !important;
    max-width: none !important;
  }
  .gn-carouselText h1{
    color: white;
    max-width: 100%;
  }
  .gn-carouselText h1 span{
    font-weight: bolder;
    color: var(--primary-color);
  }
  .gn-carouselInicio .gn-carouselImg{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 600px;
  }
  .gn-iniciativas .cartas {flex-direction: column;}
  .gn-iniciativas .carta-wrapper:nth-child(1) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(3) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(4) .carta,
  .gn-iniciativas .carta-wrapper:nth-child(5) .carta {height: 190px;}
  .gn-iniciativas .carta-wrapper:nth-child(1) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(3) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(4) .carta .gn-spCartas,
  .gn-iniciativas .carta-wrapper:nth-child(5) .carta .gn-spCartas{height: 100px !important ;}
  .gn-iniciativas .carta-wrapper:nth-child(2) .carta {height: 240px;}
  .gn-iniciativas .carta-wrapper:nth-child(2) .carta .gn-spCartas{height: 140px !important ;}
  .gn-iniciativas .carta-wrapper:nth-child(6) .carta {height: 300px !important ;}
  .gn-iniciativas .carta-wrapper:nth-child(6) .carta .gn-spCartas{height: 190px !important ;}
  .gn-menu{
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .gn-menu ::-webkit-scrollbar {display: none;}
  .gn-submenuPrincipal{
    display: block !important;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
  }
  .gn-submenuPrincipal li.gn-submenu-item{
    padding:0px !important;
    margin: 0px;
  }
  .gn-submenuPrincipal li:last-child{
    border: 0px solid transparent;
    margin-bottom: 0px !important;
  }
  .gn-submenuPrincipal li a{
    display: flex;
    padding: 10px 15px;
  }
  .gn-bannerMys,
  .gn-bannerRow{
    height: 100% !important;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (min-width: 769px ) and (max-width: 991.98px){
  /*MD*/
  .gn-asociate{margin-right: 5px; }
  .navbar-collapse{background-color: #005882}
  .gn-menu .container{
    max-width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .gn-menuPrincipal {padding: 10px;}
  .gn-menuPrincipal li{
    padding: 10px;
    border-bottom: 1px solid white;
  }
  .gn-menuPrincipal li a{color: white;}
  .gn-menuPrincipal  li:first-child{padding-left: 10px;}
  .gn-menuPrincipal  li:last-child{margin-bottom: 40px;}
  .gn-carouselInicio, .carousel-item{height: 600px;}
  .gn-containerCar{max-width: 95%;}
  .gn-carouselInicio .carousel-item img{
    height: 100%;
    width: auto !important;
    max-width: none !important;
  }
  .gn-carouselInicio .gn-carouselImg{
    display: flex;
    justify-content: center;
  }
  .gn-carouselText h1 span{
    font-weight: bolder;
    color: var(--primary-color);
  }
  .gn-iniciativas .cartas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gn-iniciativas .carta-wrapper {
    width: 100%;
    min-width: 0;
    flex: none !important;
  }
  .gn-iniciativas .cartas.has-hover .carta-wrapper, .gn-iniciativas .cartas.has-selected .carta-wrapper, .gn-iniciativas .cartas:not(.has-hover):not(.has-selected) .carta-wrapper {flex: none !important;}
  .gn-iniciativas .carta-wrapper .carta {height: 300px;}
  .gn-iniciativas .carta-wrapper .carta .gn-spCartas {
    height: 170px !important;
    max-width: none !important;
    width: auto;
  }
  .gn-iniciativas .carta-wrapper:nth-child(5) .carta, .gn-iniciativas .carta-wrapper:nth-child(6) .carta {height: 330px !important;}
  .gn-iniciativas .carta-wrapper:nth-child(6) .carta .gn-spCartas {height: 190px !important;}
  .gn-menu{
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    
    /* Ocultar barra de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .gn-menu ::-webkit-scrollbar {display: none;}
  
  .gn-submenuPrincipal{
    display: block !important;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
  }
  .gn-submenuPrincipal li.gn-submenu-item{
    padding:0px !important;
    margin: 0px;
  }
  .gn-submenuPrincipal li:last-child{
    border: 0px solid transparent;
    margin-bottom: 0px !important;
  }
  .gn-submenuPrincipal li a{
    display: flex;
    padding: 10px 15px;
  }
  .gn-bannerMys,
  .gn-bannerRow{
    height: 100% !important;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .gn-proximos{margin-top: 50px;}
}

@media (min-width: 992px) and (max-width: 1200px){
  /*LG*/
  .gn-menu .menu-item i{display: none;}
  .gn-carouselInicio, .carousel-item{height: 400px;}
  .gn-psRight{right: -160px;}
  .gn-psLeft{left: -160px;}
  .gn-psRight,
  .gn-psLeft{
    position: absolute;
    height: 360px !important;
    top: 50px;
  }
  .gn-bannerRow .gn-imgRevista{
   height: auto;
   width: 90%;
  }
  .gn-proximos{margin-top: 40px;}
}
@media (min-width: 1201px) and (max-width: 1400px){
  
  /*XL*/
  .gn-menu .menu-item i {display: none;}
  .gn-carouselInicio, .carousel-item{height: 510px;}
  .gn-psRight{right: -260px;}
  .gn-psLeft{left: -260px;}
  .gn-psRight,
  .gn-psLeft{
    position: absolute;
    height: 460px !important;
    top: 50px;
  }
  .gn-proximos{margin-top: 40px;}
}