/***********************************************************/
/********************* GRUPODW CUSTOM **********************/
/***********************************************************/

/***** VARIABLES *****/
:root {
    --color: #5B6E7F;
    --color-1: white;
    --color-2: black;
    --gallery-padding: 0px 15px 30px 15px;
}

/***** ESTILOS GLOBALES  ******/
.post-inner.thin {
    padding: 0;
}

h2.elementor-heading-title.elementor-size-default {
    margin: 0;
}

blockquote,
.border-color-accent,
.border-color-accent-hover:hover,
.border-color-accent-hover:focus {
    border-color: var(--color) !important;
}

/* .elementor section {
    width: auto !important;
    margin: 0 auto !important;
}
 */
.section-inner {
    width: 100% !important;
    max-width: 1550px !important;
    padding: 20px 15px !important;
}


body:not(.enable-search-modal) .header-titles-wrapper {
    padding-left: initial;
}

/*** HEADER ****/
header.entry-header.has-text-align-center.header-footer-group {
    display: none;
}


body:not(.overlay-header) .primary-menu>li>.icon,
.modal-menu a,
.footer-menu a,
.footer-widgets a,
#site-footer .wp-block-button.is-style-outline,
.wp-block-pullquote:before,
.singular:not(.overlay-header) .entry-header a,
.archive-header a,
.header-footer-group .color-accent,
.header-footer-group .color-accent-hover:hover {
    color: var(--color) !important;
}

header#site-header {
    box-shadow: 0 0 10px 2px #00000059;
}

.home main#site-content {
    padding-top: 0;
}

main#site-content {
    padding-top: 30px;
}

/******** BANNER HOME *********/
.banner-slider img.swiper-slide-image {
    width: 100%;
}

/**** CARRUSEL/SLIDER HOME ANIMATION ****/
@keyframes fadeHome {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.container-first-home,
.slider-home {
    animation: fadeHome .8s;
}

/********* MAPA DE CONTACTO **********/
.mapa-contacto iframe {
    width: 100% !important;
}

/********** FORMULARIO CONTACTO *************/
#formulario-contacto .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
}

/**** FOOTER ****/
.footer-nav-widgets-wrapper.header-footer-group {
    border-top: solid 1px #d0d0d0;
}

.footer-nav-widgets-wrapper.header-footer-group h2.widgettitle {
    margin-top: 0;
}

/******* FIRMA FOOTER ***************/
span.link-firma {
    color: var(--color);
}

.page-id-290 main#site-content {
    padding-top: 0;
}

/* .entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    min-width: 100% !important;
} */


main#site-content {
    padding-top: 0;
}

/************ GALLERY  *************/

figure.gallery-item {
    padding: var(--gallery-padding);
}

.elementor-slideshow__title {
    display: none;
}

.gallery {
    margin: 0 !important;
}

.page-id-297 section#mapa-contacto .elementor-widget-wrap.elementor-element-populated {
    padding: 0;
}

.header-footer-group.sticky {
    position: fixed !important;
    width: 100%;
}




/********************************/

div#wpforms-305-field_7-container,
div#wpforms-305-field_1-container {
    width: 48%;
    display: inline-block;
    flex-wrap: wrap;
    flex-direction: row;
}


div#wpforms-305-field_7-container {
    margin-left: 4%;
}

div#wpforms-305-field_1-container input#wpforms-305-field_1 {
    width: 100%;
    max-width: 100%;
}

div#wpforms-305-field_7-container input#wpforms-305-field_7 {
    width: 100% !important;
    max-width: 100%;
}

div#formulario-contacto .elementor-widget-container {
    padding-right: 30px;
}

header#site-header {
    z-index: 99;
}

/************* FOOTER *****************/

.footer-widgets.column-two.grid-item {
    display: none;
}

.footer-nav-widgets-wrapper.header-footer-group .footer-inner.section-inner {
    max-width: 1550px;
    width: 100%;
}

.footer-nav-widgets-wrapper.header-footer-group .footer-widgets.column-one.grid-item {
    width: 100%;
    margin: 0;
}

.footer-nav-widgets-wrapper.header-footer-group .footer-widgets.column-one.grid-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

.footer-nav-widgets-wrapper.header-footer-group .footer-widgets.column-one.grid-item>div {
    margin: 0;
}

.footer-nav-widgets-wrapper.header-footer-group .wp-block-group {
    margin-top: 0 !important;
}

.widget.widget_block ul#menu-social li {
    display: inline-block;
}

.widget.widget_block ul#menu-social {
    margin: 0 !important;
}

.footer-nav-widgets-wrapper.header-footer-group .footer-widgets.column-one.grid-item .widget.widget_block nav ul li a {
    text-decoration: none;
}

.footer-nav-widgets-wrapper.header-footer-group .widget.widget_block nav.menu-social-container ul#menu-social li {
    margin: 0;
    margin-right: 17px;
    text-decoration: none !important;
}

.footer-nav-widgets-wrapper.header-footer-group h2 {
    font-size: 2.7rem;
}

.footer-widgets-wrapper {
    padding: 0 20px;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
}

.footer-nav-widgets-wrapper.header-footer-group {
    margin-top: 0 !important;
}

.footer-nav-widgets-wrapper.header-footer-group .widget.widget_block nav ul li a:hover {
    text-decoration: underline !important;
}

/*****************************/

.bdp-post-grid-main {
    padding: 35px 15px;
}

.bdp-post-grid-main .bdp-post-grid>div {
    /*     background: #f8f8f8;
 */
    padding-bottom: 38px;
    box-shadow: 0 0 15px #00000026;
}

.bdp-post-grid-main .bdp-post-grid>div h2.bdp-post-title a {
    font-size: 2.3rem;
    letter-spacing: initial;
}

.bdp-post-grid-main .bdp-post-grid>div .bdp-post-content {
    padding: 0 20px;
}

.bdp-post-grid-main .bdp-post-short-content {
    font-size: 14px;
}

.bdp-post-grid-main .bdp-post-categories a {
    font-weight: 600;
}

.bdp-post-grid-main a.bdp-readmorebtn {
    color: var(--color);
    border-color: var(--color);
}

.bdp-post-grid-main a.bdp-readmorebtn:hover {
    color: var(--color-1);
    border-color: var(--color);
    background-color: var(--color);
}


/*************** TO TOP *******************/

a.to-the-top {
    margin: 0 !important;
    width: 40px;
    height: 40px;
    background: var(--color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    box-shadow: 0 0 5px #0000007a;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

a.to-the-top:hover {
    text-decoration: none !important;
    background: var(--color-2);
    color: var(--color-1);
}

a.to-the-top.show {
    visibility: visible;
    opacity: 1;
    transition: all .3s;
}

footer#site-footer {
    padding: 0;
}

/**************************************/

.home main#site-content article#post-70>.section-inner {
    display: none;
}


div#wordpress-blog-posts {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
}

main#site-content .featured-media-inner.section-inner img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
}

.post-template-default header.entry-header.has-text-align-center.header-footer-group {
    display: initial;
}

div#wordpress-blog-posts {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
    min-width: 0 !important;
}

.post-template-default .post-inner.thin .entry-content>* {
    max-width: 100% !important;
    width: auto !important;
}


.single-post .post-inner.thin .entry-content {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 15px;
}

.singular .featured-media-inner {
    left: 0 !important;
}

div#wordpress-blog-posts .bdp-post-grid>div {
    border-radius: 10px;
    overflow: hidden;
}

.singular main#site-content .comments-wrapper.section-inner form#commentform {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.singular main#site-content .comments-wrapper.section-inner form#commentform p {
    margin: 0 auto !important;
}

.singular form#commentform {
    max-width: 650px !important;
}

.singular .comments-wrapper.section-inner form#commentform p {
    width: 100%;
    padding-bottom: 19px;
}

.singular .post-inner.thin .entry-content {
    text-align: justify;
}

@media only screen and (max-width: 1024px) {

    .form-wide {
        width: 100% !important;
    }

    .elementor-297 .elementor-element.elementor-element-af2fc5d>.elementor-widget-container {
        border: none !important;
    }

}


@media only screen and (max-width: 991px) {

    .footer-nav-widgets-wrapper.header-footer-group .footer-widgets-wrapper .footer-widgets.column-one.grid-item .widget.widget_text {
        width: 20% !important;
        max-width: 100% !important;
    }

}

@media only screen and (max-width: 767px) {
    .footer-nav-widgets-wrapper.header-footer-group .footer-widgets-wrapper .footer-widgets.column-one.grid-item .widget.widget_text {
        width: 58% !important;
        max-width: 100% !important;
    }

}

@media only screen and (max-width: 450px) {
    .footer-nav-widgets-wrapper.header-footer-group .footer-widgets-wrapper .footer-widgets.column-one.grid-item .widget.widget_text {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-nav-widgets-wrapper.header-footer-group .footer-widgets.column-one.grid-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
        display: table-row;
    }

}



/**** BUSCADOR IVORY *******/

div#buscador-ivory {
    width: 100%;
}

div#buscador-ivory input {
    height: 50px;
}

.search-modal {
    background: rgb(0 0 0 / 72%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

header#site-header button.toggle.search-toggle.desktop-search-toggle span.toggle-text {
    display: none;
}

.toggle-wrapper.search-toggle-wrapper:before {
    display: none !important;
}

.header-toggles.hide-no-js button.toggle.search-toggle.desktop-search-toggle {
    padding: 0;
}

header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li a {
    color: black;
}

header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li a:hover,
header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li.current-menu-item a {
    color: var(--color);
}

header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li a:hover {
    color: var(--color);
    text-decoration: none;
}

header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li.current-menu-item a {
    font-weight: bold;
}

.search-results main#site-content hr.post-separator.styled-separator.is-style-wide.section-inner {
    display: none !important;
}

input#search-form-1 {
    outline: 0 !important;
    border: 0 !important;
}

/**** SECTION WIDE  *******/

.entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 1550px !important;
    width: 100% !important;
}


/********* FIXES ******/

.primary-menu-wrapper+.header-toggles {
    padding-left: 3rem;
    margin-left: 0 !important;
}

.header-navigation-wrapper {
    flex-wrap: wrap;
}

nav.primary-menu-wrapper {
    width: auto;
}

.header-toggles {
    margin: initial !important;
}


/**** FIXES BUSCADOR ******/
button.toggle.nav-toggle.mobile-nav-toggle span.toggle-inner span.toggle-icon i.fa.fa-bars {
    font-size: 27px;
}

button.toggle.nav-toggle.mobile-nav-toggle span.toggle-inner span.toggle-icon {
    height: auto;
    overflow: visible;
}

button.toggle.nav-toggle.mobile-nav-toggle span.toggle-inner {
    padding: 0;
}

div#boton-whatsapp {
    z-index: 9999;
}

/*ALEX*/

/*HEADER*/
/*Margen logo*/
.header-titles .site-title,
.header-titles .site-logo,
.header-titles .site-description {
    margin: 0 !important;
}

/*colores links header*/

header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li a:hover,
header#site-header .header-navigation-wrapper nav.primary-menu-wrapper ul li.current-menu-item a {
    color: #00cac4;
}

.primary-menu li.current-menu-item>a,
.primary-menu li.current-menu-item>.link-icon-wrapper>a {
    text-decoration: none !important;
}

/*letras mayusculas menu*/
ul.primary-menu.reset-list-style {
    text-transform: uppercase;
}

/*tamaño letra menú*/
ul.primary-menu {

    font-size: 1.6rem !important;
}

/*BODY*/
/*texto categorias home*/

.columna-categorias {
    top: 55px;
}

/*imagen marca*/

img.attachment-medium.size-medium.wp-image-997 {
    width: 100px;
}

/*FOOTER*/
.footer-widgets-outer-wrapper {
    padding: 0 !important;
}

.footer-nav-widgets-wrapper.header-footer-group {
    border-top: solid 2px #5b6e7f !important;
}

/*tamaño letra widgets del footer*/
.footer-nav-widgets-wrapper.header-footer-group .widget-content {
    font-size: 18px;
}

/*links*/
/*color links*/
body:not(.overlay-header) .primary-menu>li>.icon,
.modal-menu a,
.footer-menu a,
.footer-widgets a,
#site-footer .wp-block-button.is-style-outline,
.wp-block-pullquote:before,
.singular:not(.overlay-header) .entry-header a,
.archive-header a,
.header-footer-group .color-accent,
.header-footer-group .color-accent-hover:hover {
    color: #5b6e7f !important;
}

/*color links hover*/
.widget_archive a:focus,
.widget_archive a:hover,
.widget_categories a:focus,
.widget_categories a:hover,
.widget_pages a:focus,
.widget_pages a:hover,
.widget_meta a:focus,
.widget_meta a:hover,
.widget_nav_menu a:focus,
.widget_nav_menu a:hover {
    text-decoration: none !important;
    color: #00CAC4 !important;
}

/*color hover links de contacto*/
.widget-content .textwidget a:hover {
    color: #00CAC4 !important;
}

/*quitar underline de los links de contacto*/
.widget-content .textwidget a {
    text-decoration: none;
}

/*color hover links rrss*/
ul#menu-social a:hover {
    color: #00CAC4 !important;
    text-decoration: none !important;
}

/*footerbottom*/
footer#site-footer .footer-credits {
    font-size: 18px;
}

span.link-firma {
    color: #00CAC4;
}

#site-footer a:focus,
#site-footer a:hover {
    text-decoration: none;
}

#site-footer .section-inner {
    padding-top: 0 !important;
}

/*BACKTOTOP*/

a.to-the-top {

    background: #5b6e7f;

}

a.to-the-top:hover {

    background: #00cac4;

}

/*SUBMENU*/

body:not(.overlay-header) .primary-menu ul {
    background-color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 10px;



}

/*quitar margenes h3*/

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    margin: 0px !important;
}

/*problema con el mapa*/

.mapa iframe {
    width: 100% !important;

}

.link-color a {
    color: black !important;
}

/*galeria de marca propia*/
.galeria-productos img {
    width: 262px !important;
    height: 366px !important;
    object-fit: cover !important;
}



/**********************************RESPONSIVE*************************************/

/**********************************movil****************************************/
@media only screen and (max-width: 767px) {

    /*GENERICAS*/
    /*BODY*/
    /*titulos*/
    .titulo-h2 h2 {
        font-size: 27px !important;
        text-align: center;
    }

    .texto-izquierda h2 {
        text-align: left !important;
    }
    
    .titulo-h3 h3 {
        font-size: 19px !important;
        text-align: center;
       
    }

    .texto-izquierda h3 {
        text-align: left !important;
    }

    .descripcion-inicio p {
        font-size: 15px !important;
        text-align: center !important;
        padding: 0px 10px 0px 10px;
    }

    .parrafo p {
        font-size: 12px !important;
        text-align: center !important;
    }

    .parrafo > div > div {
        
        text-align: center !important;
    }


    .boton-inicio a {
        font-size: 12px !important;
        margin-bottom: 20px !important;
    }

    .icono-click i.fas.fa-paper-plane {
        font-size: 20px !important;
    }
    /*FOOTER*/
    /*titulos*/

    .footer-widgets.column-one.grid-item h2, p, a {
        font-size: 15px !important;
    }

    /*BODY*/
    /*seccion_asesoramiento*/
    .elementor-70 .elementor-element.elementor-element-f26a4d7:not(.elementor-motion-effects-element-type-background),
    .elementor-70 .elementor-element.elementor-element-f26a4d7>.elementor-motion-effects-container>.elementor-motion-effects-layer {
        background-image: url(http://farmaciaenriquemartinez.es/wp-content/uploads/2023/05/fondolargo.jpg) !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
    }

    

    /*seccion_asesoramiento-padding*/

    section.elementor-section.elementor-inner-section.elementor-element.elementor-element-e9e79e0.elementor-section-content-middle.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
        padding: 0px !important;
    }


    .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
        padding: 0px !important;
    }


    /*seccion_marca propia*/
    .seccion-marcapropia > div {
        display: flex;
        flex-wrap: wrap;
    }

    .seccion-marcapropia .columna-copa {
        width: 30% !important;
    }

    .seccion-marcapropia .columna-texto {
        width: 70% !important;
    }
    


    /*imagen copa*/
    .imagen-copa img {
        width: 53px !important;
    }



    /*seccion_clicandcollect*/
    .elementor-70 .elementor-element.elementor-element-21a197b>.elementor-element-populated {

        margin: 15px 20px 15px 20px !important;

        padding: 10px !important;
    }

    .elementor-70 .elementor-element.elementor-element-c804166>.elementor-widget-container {

        padding: 0px !important;
    }
    .elementor-70 .elementor-element.elementor-element-4ab8ceb:not(.elementor-motion-effects-element-type-background), .elementor-70 .elementor-element.elementor-element-4ab8ceb > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        padding: 0px;
    }


    /*seccion_marcas*/
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-e67ebaf.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section-height-default>div>div {
        width: 16%;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-e67ebaf.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section-height-default > div {
        justify-content: center !important;
    }

    /*seccion instagram*/

    .imagen-instagram img {
        width: 65px;
    }







}




/****************************tablet************************/
@media only screen and (min-width: 768px) and (max-width: 1000px) {

    /*GENERICAS*/
    /*BODY*/
    /*titulos*/
    .titulo-h2 h2 {
        font-size: 37px !important;
    }
    .asesoramiento-farmaceutico h2{
        font-size: 28px !important;
    }

    .titulo-h3 h3 {
        font-size: 25px !important;
    }

    .descripcion-inicio p {
        font-size: 15px !important;
        text-align: center;
    }

    .parrafo p {
        font-size: 15px !important;
    }
    .asesoramiento-farmaceutico > div {
        padding: 0px !important;

    }

    .boton-inicio a {
        font-size: 14px !important;
    }
    /*FOOTER*/
    /*titulos*/
    .footer-widgets.column-one.grid-item h2, p, a {
        font-size: 18px !important;
    }
    

    /*HEADER*/
     /*logo*/

     img.custom-logo {

        height: 70px !important;
    }
    /*BODY*/
    /*seccion_asesoramiento*/

    .elementor-70 .elementor-element.elementor-element-f26a4d7:not(.elementor-motion-effects-element-type-background), .elementor-70 .elementor-element.elementor-element-f26a4d7 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        
        padding-top: 0px;
    }

    

    
    /*seccion_clicandcollect*/
    .elementor-70 .elementor-element.elementor-element-21a197b>.elementor-element-populated {

        margin: 0px 20px 0px 20px !important;

        padding: 20px !important;
    }

    .elementor-70 .elementor-element.elementor-element-c804166>.elementor-widget-container {

        padding: 0px !important;
    }

    /*seccion_marcas*/
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-e67ebaf.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section-height-default>div>div {
        width: 16%;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-e67ebaf.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section-height-default > div {
        justify-content: center !important;
    }

    /*seccion instagram*/

    .imagen-instagram img {
        width: 85px;
    }














}













/****************relgas especiales*******************/
/*logo*/
@media only screen and (min-width: 1000px) and (max-width: 1580px) {
    img.custom-logo {
        margin-left: 20px !important;
    }
}


@media only screen and (min-width: 768px) and (max-width: 1580px){

    /*SECCION ASESORAMIENTO*/


    .seccion-asesoramiento section {
        padding: 0px !important;
    }

}

/*PARRAFO CLICK AND COLLECT*/
.click > div {
    padding: 0px !important;
}


h2.bdp-post-title a {
    color: #5B6E7F !important;
}

.bdp-post-categories a {
    color: #5B6E7F !important;
}


span.title span {
    color: #5B6E7F !important;
}