
/* ------------------------------ Set Background - Margin Top, Bottom ------------------------------ */

body {
    background: #fefefe;
}

#page{
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ------------------------------ Set Font all site ------------------------------ */

html,

button,
input,
optgroup,
select,
textarea,

body,

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6{

    font-family: 'Saira Semi Condensed', sans-serif;

}



/* ------------------------------ Link color ------------------------------ */


a {
    color: #1779ba;
}

a:visited {
    color: #800080;
}

a:active {
    color: #191970;
}

a:hover, a:focus {
    color: #1468a0;
}



/* ------------------------------ Mod Dot for Main menu ------------------------------ */


.iot-dot-menu-a::after {

    content: " \002B";

}

.iot-dot-menu ul .iot-dot-menu-a::after {

    content: " \00BB";

}


.menu .button, .menu a {
    line-height: 1;
    text-decoration: none;
    display: block;
    padding: .7rem 1rem;
}

.main-navigation ul ul{
    background: #fff;
    box-shadow: -1px 1px 0px rgba(0, 0, 0, 0.07);
}



/* ------------------------------ Dashicons ------------------------------ */


.dashicons, .dashicons-before:before {
    display: inherit;
    width: inherit;
    height: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: dashicons;
    text-decoration: inherit;
    font-weight: inherit;
    font-style: inherit;
    vertical-align: inherit;
    text-align: inherit;
}




/* ------------------------------ Offcanvas menu ------------------------------ */


#iot-menu-left{
    overflow-y: auto;
    position:fixed;
    height: 100%;
    width: 250px;
    left: -250px;
    top:0;
    background: #fff;
    z-index: 6;
}


.iot-menu-left-filter {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 5;
    left: -100%;
    background-color: rgba(0,0,0,.68);
}



/* Menu Left style */

.iot-menu-left-ul{
    margin-top: 10px;
}

.iot-menu-left-ul a{
    font-size: 18px;
    font-weight: normal;
}

ul.iot-menu-left-ul, .iot-menu-left-ul ul{
    line-height: 2.0;
    list-style: none;
}



/* Close button style */

.iot-menu-left-close{
    /*position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    font-size: 32px;*/
}



/* Toggle button */

.iot-menu-left-open {
    /*position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
    text-decoration: none;
    padding: 0.7rem 1rem;
    display: none;
    cursor: pointer;*/
}

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

    #primary-menu{
        /*display: none;*/
    }

    .iot-menu-left-open {
        /*display: block;*/
    }

}



/* ------------------------------ Your CSS here ------------------------------ */
:root{
    /*
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    */
    --mainColor: #00dbc7;
    /*--mainColor: #31dac7;*/
    --mainColorDark: #1c867a;
}

/* Enlaces */
a:visited {
    color: #1779ba;
}

/* Form de busqueda */
input.search-submit{
    background-color: var(--mainColor);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    line-height: 22px;
    padding: 6px 20px;
}

/* Sidebar2 */
.sidebarPosts li{
    list-style: none;
}



/* Header */
#masthead{
    /* -webkit-box-shadow: 0 0 6px rgba(132,132,132,0.75); */
    -moz-box-shadow: 0 0 6px rgba(132,132,132,0.75);
    box-shadow: 0 0 6px rgba(132,132,132,0.75);
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 10px
}
body.sticky #masthead{
    /*background: var(--white);*/
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}
body.sticky #masthead .ad_header{
    display: none;
}

/* Header en color */
#masthead.greenHeader{
    background-color: var(--mainColor);
}
#masthead.greenHeader .dashicons-menu:before{
    color: #888;
}

/* Ad Top */
.ad_header{
    margin: 0 auto 20px;
    text-align: center;
}

/* Menu */
#site-navigation{
    float: none;
    position: relative;
}
#site-navigation .menu-menu-principal-container{
    display: none;
}
.iot-menu-left-open{
    background-color: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 30px;
    display: inline-block;
    padding: 0;
    /*margin-left: 30px;*/
    position: relative;
    border: none;
    height: 50px;
    width: 50px;
    transition: all .5s;
}

#iot-menu-left{
    text-align: right;
}
.iot-menu-left-close{
    border: none;
    background: transparent;
    font-size: 30px;
    padding: 0;
    overflow: hidden;
    line-height: 50px;
    width: 50px;
    text-align: center;
    cursor: pointer;
}
.iot-menu-left-ul{
    margin: 10px auto;
    padding: 0 20px;    
}
ul.iot-menu-left-ul,
.iot-menu-left-ul ul{
    text-align: left;

}
.iot-menu-left-ul a{
    color: var(--gray-dark);
}



/* Logo */
.site-branding{
    text-align: center;
}
.site-branding .custom-logo-link{
    max-width: 60%;
}


/* Posts Lista */

.pace .pace-progress{
    /* Son estilos inline, por eso important.*/
    background: var(--mainColor) !important;
}

#ajax-load-more{
    margin: 20px auto;
    width: 100%;
}
.ajax-load-more-wrap div.alm-listing{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
}
.ajax-load-more-wrap div.alm-listing div.grid-item{
   border: 1px solid #efefef;
   width: 47%;
   margin: 0 0 3%;
   overflow: hidden;
}
@media screen and (max-width: 990px){
   .ajax-load-more-wrap div.alm-listing div.grid-item{
      width: 100%;
      margin: 0 0 20px;  
   }
}

.grid-item .post-overlay{
    overflow: hidden;
    position: relative;
}
.grid-item .post-overlay .post-image-bg{
    background: #f1f1f1;
    height: 280px;
    line-height: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.grid-item .post-overlay .post-image-bg{
    display: block;
    background-position: center;
    background-size: cover;
}
.grid-item .post-overlay .post-image-bg img{
    opacity: 0;
}
.grid-item .post-overlay .post-short-content{
    height: 46%;
    display: flex;
    align-items: center;
    clear:both; 
    background: rgba(51, 51, 51, 0.5);
    bottom: 0; 
    color: #fff; 
    left: 0; 
    padding: 0px 30px; 
    position: absolute; 
    right: 0; 
    transition: all 0.5s ease-in-out 0s;
}
.grid-item .post-overlay:hover > .post-short-content .wp-post-content{
    opacity:1;height:auto;
}
.grid-item .post-overlay:hover > .post-short-content {
    height:100%;
}
.grid-item .post-overlay h2.wp-post-title{
    color: #fff;
    display: block;
    font-size: 22px;
    line-height: 24px;
}
.grid-item .post-overlay .entry-summary{
    height: 0px;
    margin: 0 auto;
    opacity: 0;
    transition: all 0.5s ease-in-out 0s;
}
.grid-item .post-overlay:hover .entry-summary {
    height: 75px;
    opacity: 1;
}
.grid-item .post-overlay .post-short-content .item-meta .linkItems{
    background: var(--mainColor);/*rgba(188, 37, 25, 0.8);*/
    width: 100%;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: -60px;
    z-index: 4;
    overflow: hidden;
    transition: all .5s ease-in-out;
}
.grid-item .post-overlay:hover .post-short-content .item-meta .linkItems{
    bottom: 0;
}
.grid-item .post-overlay .post-short-content .item-meta .linkItems a{
    display: block;
    font-size: 20px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    transition: all .1s ease-in-out;
    color: #ffffff;
    width: 50%;
    display: block;
    float: left;
}
.grid-item .post-overlay .post-short-content .item-meta .entry-summary p{
    margin: 0 auto;
}
.grid-item .post-overlay .post-short-content .item-meta .entry-summary .addthis_tool{
    display: none;
}

/* Deshabilitar animacion del slider */ 
.wppsac-post-slider.design-3 .wppsac-post-overlay:hover > .wppsac-post-short-content {
    height:70%;
}

/* Boton ver mas noticias */
.alm-btn-wrap{}
.alm-btn-wrap .alm-load-more-btn{
    /* Estilos inline por eso important */
    background-color: var(--mainColor) !important;
    font-weight: normal !important;
    font-size: 20px !important;
    width: 60% !important;
}

/* Paginaci{o}n theme */
.nav-links > div > a{
    background-color: var(--mainColor);
    border: none;
    border-radius: 3px;
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: normal;
    line-height: 22px;
    padding: 6px 20px; 
}


/* Footer Options */
.site-footer .footerInside{
    /*border-bottom: 1px solid var(--mainColorDark);*/
    border-top: 1px solid var(--mainColorDark);
    margin: 40px auto 80px;
    padding: 10px 0;
}
.site-footer .homepage-footer-share-buttons {
    display: inline-block;
    overflow: hidden;
    padding-left: 15px;
}
.site-footer .homepage-footer-button {
    display: block;
    float: left;
    border-left: 1px solid #d5d5d5;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    font-family: "FranklinITCProBold",sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 4px 10px 6px;
    line-height: normal;
}
.site-footer .homepage-footer-share-buttons a {
    color: #000;
    font-weight: normal;
    font-size: 14px;
}
.site-footer .pb-f-global-footer-colored footer.light a {
    color: #333;
}
.site-footer .homepage-footer-share-buttons a:first-of-type {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: none;
}
.site-footer .homepage-footer-share-buttons a:last-of-type {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    border-right: 1px solid #d5d5d5 !important;
}
.site-footer .fa {
    font-size: 14px !important;
}
.site-footer .fa-facebook,
.site-footer .fa-twitter,
.site-footer .fa-rss {
    color: #000 !important;
}

.site-footer .footerLinks{
    text-align: left;
}
.site-footer .footerLogo{
    text-align: center;
}
.site-footer .footerLogo img{
    max-width: 200px
}
.site-footer .footerText{
    text-align: right;
}
.site-footer .footerText p{
    margin: 0 auto;
    padding-right: 15px;
}

/* Back to top Btn */
#ToTop-Btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--mainColorDark);
    color: white;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 24px;
}

#ToTop-Btn:hover {
    background-color: var(--mainColor);
}


/* Archive Post */
.archive .page-header{
    border-bottom: 1px solid var(--mainColorDark);
}

/* Articulo Post */
article.post{}

article.post .entry-title{
    margin: 0 auto 20px;
}


/* AddThis */
.addthis_tool{
    margin: 30px auto;
}

/* Widgets */
#secondary .widget_search input{}
#secondary button{
    background-color: var(--mainColor);
    border: none;
    border-radius: 3px;
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    line-height: 22px;
    padding: 0 20px;
}

#secondary .widget_categories select{
    border-radius: 3px;
}

/* AdRotate */
#secondary .widget.adrotate_widgets{
    min-height: 200px;
    display: flex;
    align-items: center;
}
#secondary .widget.adrotate_widgets .g .g-dyn{
    visibility: hidden;
}
.page-template-default #secondary .widget.adrotate_widgets .g .g-dyn,
.pace-done #secondary .widget.adrotate_widgets .g .g-dyn{
    visibility: visible;
}

#secondary .widget .bannersHomePC{
    display: block;
}
#secondary .widget .bannersHomeMobile{
    display: none;
}

/* Farmacias */
#accordionFarmacias .card-header h5{
    display: block;
    margin: 0 auto;
    text-align: left;
}

/* Contacto */
.wpcf7 .wpcf7-form-control.wpcf7-submit{
    background-color: var(--mainColor);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    line-height: 22px;
    padding: 6px 20px;
}

/* Colectivos */
.colectivos.table.table-striped th,
.colectivos.table.table-striped td{
    border-width: 0px;
}

/* ------------------------------ Mobile CSS here ------------------------------ */

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {
    .ad_header > div{
        display: none;
    }    
    .site-footer .footerLinks{
        text-align: center;
    }
    .site-footer .footerLogo{
        margin: 10px auto;
        text-align: center;
    }
    .site-footer .footerText{
        text-align: center;
    }
    #secondary .widget .bannersHomePC{
        display: none;
    }
    #secondary .widget .bannersHomeMobile{
        display: block;
    }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {
    .ad_header > div{
        display: none;
    }    
    .site-footer .footerLinks{
        text-align: center;
    }
    .site-footer .footerLogo{
        margin: 10px auto;
        text-align: center;
    }
    .site-footer .footerText{
        text-align: center;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {
    .ad_header > div{
        display: none;
    }
    .site-footer .footerLinks{
        text-align: center;
    }
    .site-footer .footerLogo{
        text-align: center;
    }
    .site-footer .footerText{
        text-align: center;
        margin: 10px auto 0;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}