/*
Theme Name: Empretec Contenidos
Description: Template de El Pixel
Author: El Pixel
Template: elpixel-empretec
Version: 1.0.2  
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.empretec-blog a:hover {
    color: #04488c!important;
}
.text-white{
    color: white;
}
.empretec-blog{
font-family: 'Avenir', sans-serif;
font-size: 18px;
}
.text-align-center{
    text-align: center;
}
.text-title--blue {
    color: #04488c;
    font-size: 32px!important;
}
.bg-lightgray{
    background-color: #fefefe;
}
.empretec-blog p {
    color: #262626;
    font-weight: 300;
}
.empretec-blog.single p, .empretec-blog.single td{
    color: #262626;
    font-weight: 300;
    text-align: justify;
    font-size: 18px;
}
.empretec-blog.home article .entry-content p{
    font-size: 1.1rem!important;
}
.article-single .entry-content p{
    margin-bottom: 14px;
}
.article-home p{
    margin-bottom: 0rem;
}
.side-bar .widget {
    margin-bottom: 45px;
    background-color: white;
}
.widget#block-conected {
    background-color: #82BE42!important;
    border-radius: 0.42rem;
    
}
.widget#block-conected h3.widget-title{
    color: #ffffff;
    text-align: center;
    
}

.side-bar .widget_search{
padding: 0.75rem 1.5rem3
}
.side-bar .widget_search{
padding-bottom: 2rem;
}

.wp-widget-group__inner-blocks {
    padding: 1rem 2rem;
    padding-bottom: 2rem;
}
.widget-title {
    padding: 1rem 2rem;
    padding-top: 1rem;
    padding-top: 1.5rem;
}
.entry-title a, .widget-title{
    color: #04488c;
}
.wp-block-categories{
    padding-left:0;
    margin-bottom:0;
}
.side-bar .widget li, .widget_block a {
    position: relative;
    color: #6f6f6f!important;
}

.widget_block form p{
    margin-bottom: 0rem;
}
.widget_block li {
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    position: relative;
    transition: all .3s ease;
    z-index: 0;
    

}

.widget_block li.cat-item{
    justify-content: start;
}
.widget_block li.cat-item a{
    padding-right: 0.75rem;
}

.widget .widget_block .conected{
    background-color: #cccccc;
    
}
figcaption{
    font-size:12px;
    text-align: end;
}
.widget-area.side-bar .widget {

    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 1px solid #EBEDF3;
    border-radius: 0.42rem;


    margin-left: auto;
    -webkit-box-shadow: 0px 0px 30px 0px rgb(82 63 105 / 5%);
    box-shadow: 0px 0px 30px 0px rgb(82 63 105 / 5%);
    border: 0;

}

.entry-title{
    font-size: 24px!important;
    font-weight: bold!important;
}
.empretec-blog.home article a{
    transition: 0.45s;    
}

.widget_block p:empty {
    display: none;
}
.widget_block p label:empty{
    display: none;
}
.top-carousel{
    margin-bottom: 45px;
}

.article-home{
    overflow: hidden;
    transition: 0.45s;  
}

.empretec-blog.home article a img, .widget a img{ 
    transition: 0.45s;  
}
.empretec-blog.home article a:hover, .widget a:hover{
    
    opacity: 0.85;
}
.empretec-blog.home article .overlay, .widget .overlay{
    transition: 0.45s;  
    
    overflow: hidden; 
}
.empretec-blog.home article a:hover .overlay, .widget a:hover .overlay{
    background-color: white;
  
}
.empretec-blog.home article a:hover img, .widget a:hover img{
    opacity: 0.85;
    transform: scale(1.015,1.015);
}
.empretec-blog.home article a:hover p{
    color: #04488c;
}

.widget_block .wpcf7-email{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.widget_block .wpcf7-submit{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.wpcf7-spinner{
    display: none;
}
.wpcf7-response-output{
    display:none!important;
}
.wp-block-search__input{
    font-size:18px!important;
    color:#6f6f6f!important;
    border-top-right-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
}
.wpcf7-form-control{
    display: block;
    width: 100%;
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1rem;
    font-size: 18px!important;
    font-weight: 400;
    line-height: 1.5;
    color: #3F4254;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #E4E6EF;
    border-radius: 0.42rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.wpcf7-submit{
    color: #ffffff;
    background-color: #3699FF;
    border-color: #3699FF;
    height: calc(1.5em + 1.3rem + 2px);
}
.search-submit{
    color: #ffffff;
    background-color: #3699FF;
    border-color: #3699FF;
    height: calc(1.5em + 1.3rem + 2px);
    border-top-right-radius: 0.42rem!important;
    border-bottom-right-radius: 0.42rem!important;
}
.empretec-blog .side-bar .wp-post-image {
    width: 100%!important;
    height: 66px!important;
    object-fit: cover;
    object-position: center;
    border: 1px solid #E4E6EF;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    cursor: pointer;

    height: 16px;
    width: 16px;
    background-image: url("./inc/img/blue_x.svg");
}

input[type="search"]::-webkit-search-cancel-button :after {
    content: '\F62A';
    font-style: italic;
    color: #3699FF;
}

.bg-transparent{
    background-color: transparent!important;
}
.newsletter-single .entry-content p{
    padding-left: 2rem;
    padding-right: 2rem;
}

.newsletter-single .entry-content img{

    object-fit: cover;
    width: 100%;
    height: auto;
}
.newsletter-single .bg-banner {
    background-image: url("../elpixel-empretec-contenidos/assets/media/img/difusion_green_back_flip.png")!important;
    background-repeat: no-repeat;
    background-position: 0% 110%;
    background-size: 80% 80%;
    background-color: #80C342;
}
.newsletter .entry-content{
    overflow: hidden;
}

.slope-bg{
    background: linear-gradient(360deg, transparent 40%, #3699FF 40.5%, #3699FF 0%, #04488c 100%) no-repeat;
    background-size: 100% 700px;
    position: absolute!important;
    height: 300px;
    width: 100%;
   
    background-clip: border-box;
    border: 1px solid #EBEDF3;
    border-radius: 0.42rem;

    -webkit-box-shadow: 0px 0px 30px 0px rgb(82 63 105 / 5%);
    box-shadow: 0px 0px 30px 5px rgb(82 63 105 / 15%);
    
    border: 0;
}
.wp-block-tag-cloud a {
    display: block;
    margin-right: 5px;
}
.wp-block-separator{
    width: 50%;
    margin: 20px auto!important;
}
.carousel-cont .carousel-indicators {
    position: static!important;
}

.home #secondary{
    padding-left:0px!important;
    padding-right:0px!important;
}
@media (max-width: 1200px) {
    .empretec-blog .size-post-thumbnail.wp-post-image, .home .entry-content{
        width: 100%!important;
        height: auto!important;
    }
    .empretec-blog .wp-post-image{
        width: 100%!important;
        height: 200px!important;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .empretec-blog .size-post-thumbnail.wp-post-image, .home .entry-content{
        width: 100%!important;
        height: auto!important;
    }
    .empretec-blog.home article a img {  
        width: 100%!important;
        height: auto!important;       
        max-height: 500px!important;
        object-fit: cover;
    }
    .article-home{
        margin-bottom: 45px;
    }
}
@media (min-width: 768px) {

    .top-carousel .carousel-item {
        height: 600px!important; /* Adjust the height value as per your requirements */
        overflow: hidden;
    }
}

@media (min-width: 992px) {

    .empretec-blog.single{
        padding-top: 20px;
    }
    .empretec-blog.home article .entry-content p{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 6; /* number of lines to show */
                line-clamp: 6; 
        -webkit-box-orient: vertical;
   }
    .top-carousel .carousel-item {
        height: 550px!important; /* Adjust the height value as per your requirements */
        overflow: hidden;
    }

}

@media (min-width: 1200px) {
    .empretec-blog .wp-post-image{
        width: 100%!important;
        height: 200px!important;
        object-fit: cover;
    }
    .home .entry-content{
        width: 100%;
        height: auto!important;
        text-align: left;
    }
    .empretec-blog.home article .entry-content p{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 9; /* number of lines to show */
                line-clamp: 9; 
        -webkit-box-orient: vertical;
    }

}
@media (min-width: 1500px) {
    .top-carousel .carousel-item {
        height: 520px!important; /* Adjust the height value as per your requirements */
        overflow: hidden;
    }
}

/*Estilos header*/
header.header{
    height: auto;
    position: fixed;
    width: 100%;
}
header.header img{
    width: 200px!important;
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}

header.header li, header.header span, header.header a{
    font-size: 16px;
}

.banner {
    background-image: url("../elpixel-empretec-contenidos/assets/media/img/difusion_transparent.png")!important;
    background-repeat: no-repeat;
    background-position: 100% 0%;
    /* background-size: 100% 100%; */
    background-color: #f8f8f8;
  }
#sidebar{
    top: 100px!important;
}