/*
Theme Name: Cactus
Theme URI: http://www.cactussenygrafic.com/
Version: 1.0
Description: Plantilla desenvolupada per Cactus
Author: Cactus Seny Grafic
Author URI: https://www.cactussenygrafic.com/
Template: Divi
*/


/** font custom **/
body, p, h1, h2, h3, h4, h5, h6, a, span:not(.ab-icon), li, div, td, th, label, input, textarea, button, .saes {}

.mega-menu > .sub-menu{width:56% !important; padding:28px 48px !important;}
.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-especialidades-oftalmologicas{    width: calc(70% - 25px);margin-right: 25px;}
.submenu-especialidades-oftalmologicas .sub-menu{columns:2}
.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-ver-todo{width:30%}

.et-menu-nav li.mega-menu>ul{right:0 !important; left:unset !important;border-radius: 20px !important;}


.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-especialidades-oftalmologicas a{padding-left: 0px !important;}
.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-ver-todo a{padding-left: 0px !important;}
.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-especialidades-oftalmologicas > a{border-top:1px solid #084684; padding-top:10px !important; pointer-events:none !important; border-bottom:0px !important; font-weight:600 !important;}
.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li.submenu-ver-todo > a{border-top:1px solid #084684; padding-top:10px !important; pointer-events:none !important;border-bottom:0px !important; font-weight:600 !important;}


.csg_post_list{padding:0 !important;}
.csg_post_list li{list-style: none !important;}

.et-l .et_pb_row.patologia_row{width: 100% !important;border-left: 2px solid var(--gcid-secondary-color);gap:10px; padding-bottom: 8em;}
.et_pb_row.patologia_row .patologia_icono{width: 45px; flex: 0 0 45px;}
.et_pb_row.patologia_row .patologia_titulo{width: 35%; flex: 0 0 35%;}
.et_pb_row.patologia_row .patologia_titulo h2{width: 90%;}
.et_pb_row.patologia_row .patologia_contenido{width: calc(65% - 54px); flex: 0 0 calc(65% - 54px);display: flex;flex-wrap: wrap;position: relative;flex-direction: row;row-gap: 0; column-gap: 16px;}

.patologia_icon{width: 15px; height: 15px; border-radius: 100%; display: block; margin-left: calc(-15px / 2); background:var(--gcid-secondary-color); margin-top: calc(15px / 2);}

.patologia_contenido > p{flex: 0 0 100%;}
.patologia_contenido .wp-caption{border:0px; background-color: transparent; padding:0; flex: 0 0 48%;margin-top: 1.5em;text-align: right;}
.patologia_contenido .wp-caption img{width: 100%;}

.patologia_row_holder > .patologia_row:first-child .patologia_icono .patologia_icon{margin-top: -6px;}
.patologia_row_holder > .patologia_row:first-child .patologia_titulo{margin-top: -15px;}
.patologia_row_holder > .patologia_row:first-child .patologia_contenido{margin-top: -15px;}


/* 1 imagen */
.patologia_contenido:has(> .wp-caption:only-of-type) > .wp-caption{
  flex: 0 0 100%;
  max-width: 100%;
}

/* 3 imágenes */
.patologia_contenido:has(> .wp-caption:nth-of-type(3):last-of-type) > .wp-caption{
  flex: 0 0 32%;
  max-width: 32%;
}
.faq_single{padding:32px 0px 32px 0px !important; border-top: 1px solid var(--gcid-secondary-color); padding-bottom: 1px solid var(--gcid-secondary-color); margin-bottom:-1px;}
.faq_single .faq_title{padding:0px !important; display: flex; justify-content: space-between; cursor: pointer;}
.faq_single .faq_title i{width: 1em; height: 1em; background:url('icons/add.svg'); background-repeat: no-repeat; background-size: contain;}
.faq_single .faq_title.active i{background-image: url('icons/less.svg');}
.faq_single .faq_content{padding-top: 20px;}

@media (max-width:920px){
  

    .et-l .et_pb_row.patologia_row{flex-direction: column; padding-left: 40px;}
    .et_pb_row.patologia_row .patologia_icono{flex: 0 0 0%; margin-bottom: -30px;}
    .et_pb_row.patologia_row .patologia_icon{margin-left: calc(-40px - 7px); min-height: 15px;}
    .et_pb_row.patologia_row .patologia_titulo{width: 100%; flex: 0 0 100%;}
    .et_pb_row.patologia_row .patologia_contenido{width: 100%; flex: 0 0 100%;}

    .patologia_row_holder > .patologia_row:first-child .patologia_icono .patologia_icon{margin-top: -6px;}
    .patologia_row_holder > .patologia_row:first-child .patologia_titulo{margin-top: 0;}
    .patologia_row_holder > .patologia_row:first-child .patologia_contenido{margin-top: 0;}

    .patologia_contenido:has(> .wp-caption:nth-of-type(3):last-of-type) > .wp-caption{flex: 0 0 31%;max-width: 31%;}

}

@media (max-width:650px){

     .et-l .et_pb_row.patologia_row{flex-direction: column; padding-left: 20px;}
     .et_pb_row.patologia_row .patologia_icon{margin-left: calc(-20px - 7px); min-height: 15px;}

    .patologia_contenido .wp-caption{flex: 0 0 100%;}
    .patologia_contenido:has(> .wp-caption:nth-of-type(3):last-of-type) > .wp-caption{flex: 0 0 100%;max-width: 100%;}
    .patologia_contenido:has(> .wp-caption:only-of-type) > .wp-caption{flex: 0 0 100%;max-width: 100%;}


}