.section-testimonial{

    padding: 50px 50px;

}


@media screen and (max-width:768px) {
    .section-testimonial .btn-white2, .section-testimonial .btn{
        width: 200px;
        padding: 10px 10px;    
    }
}



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

    .section-testimonial{

        padding: 30px 30px;

    }

}



/* section title */



.title_gallery_section{

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

}



.title_gallery_section h2{

    font-size: 50px;

    text-align: center;

    margin-bottom: 10px;

} 

.title_gallery_section p{

    font-size: 18px;

    text-align: center;

    max-width: 700px;

} 

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

    .title_gallery_section h2{

        font-size: 30px;

    } 

}



/* tabulador */



.tab-gallery{

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 10px auto 30px auto;

}



.tab_gallery{

    padding: 10px 20px;

    width: 200px;

    background: #000;

    color: #fff;

    margin: 10px 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-family: var(--font-title);

    cursor: pointer;

    text-transform: uppercase;

}



.tab_gallery.activeProductGallery{

    background: var(--color_primary-dark) ;

    transform: scale(1.05);

}



/* card gallery */


.marginTab{
    padding: 0 60px;
    flex-direction: column;
}

@media screen and (max-width:768px) {
    .marginTab{
        padding: 0 20px;
    }
}

.content_gallery .heading{
    font-size: 30px !important;
}

.content_gallery .heading .icon{
    display: none;
}

.content_gallery .listing .review-more-link{
    color: var(--color_primary-dark) !important;
}

.card-gallery{

    position: relative;

    overflow: hidden;

    display: block;

    margin: 0px auto 20px auto;

    width: 300px;

    height: 340px;

    padding: 20px;

    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;

}



.card-gallery img{

    width: 100%;

    height: 250px;

    object-fit: cover;

    object-position: center;

}



.container-content{

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding-top: 20px;

}



.container-content h4{

    font-size: 20px;

    font-weight: 700;

    color: var(--color_primary-dark);

}



/* card video */



.card-video-gallery{

    position: relative;

    overflow: hidden;

    display: block;

    margin: 0px auto 20px auto;

    width: 300px;

    height: 340px;

    padding: 20px;

    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;

}

.card-video-gallery video{

    width: 100%;

    height: 250px;

    object-fit: cover;

    object-position: center;

}

.card-video-gallery i{

    font-size: 60px;

    color: var(--color_primary-dark);

    width: 50px;

    height: 60px;

    left: calc(50% - 25px);

    top: calc(50% - 60px);

}

.container-content-overlay{

    position: absolute;

    top: -400px;

    left: 0;

    width: 100%;

    height: 100%;

    background: #000000a7;

    z-index: 3;

    padding: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    transition: 300ms;

}



.card-video-gallery:hover .container-content-overlay,.card-gallery:hover .container-content-overlay{

    transform: translateY(400px);

    transition: 300ms;

}



.container-content-overlay h4{

    color: #fff;

    font-size: 25px;

    text-align: center;

    padding-bottom: 15px;

}



.container-content-overlay p{

    color: #fff;

    text-align: justify;

    font-size: 17px;

    max-height: 255px;

    overflow: auto;

    padding-right: 5px;

}



.container-content-overlay p::-webkit-scrollbar{

    background: #fff;
    width: 3px;

}

.container-content-overlay p::-webkit-scrollbar-thumb{

    background: #fff;

    width: 3px;

}



/* button */



.viewMedia{

    margin-top: 20px;

    padding: 10px 10px !important;

    border: 2px #fff solid;

    color: #fff;

    position: relative;

    overflow: hidden;

}



.viewMedia::after{

    content: "";

    height: 155px;

    left: -75px;

    opacity: 0.2;

    position: absolute;

    top: -50px;

    transform: rotate(35deg);

    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);

    width: 50px;

    z-index: -10;

    background: var(--color_primary-dark);

    content: "";

    height: 155px;

    left: -85px;

    opacity: 0.2;

    position: absolute;

    top: -50px;

    transform: rotate(35deg);

    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);

    width: 50px;

    z-index: -10;

}



.viewMedia:hover::after{

    left: 140%;

    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);

}


.buttom_testimonio{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.buttom_testimonio > a{
    margin: 0 20px;
}

@media screen and (max-width:768px) {
    .buttom_testimonio > a{
        margin: 10px 20px;
    }

    .buttom_testimonio{
    flex-direction: column;
  }
}

/* plugin youtube */

iframe.__youtube_prefs__{
    width: 100%!important;
    max-width: 320px;
    height: 300px !important;
    padding-bottom: 20px !important;
    padding: 0 10px;
    margin: auto;
}


.ytp-large-play-button-red-bg .ytp-large-play-button-bg{
    fill: var(--color_primary-dark) !important;
    fill-opacity: 1;
}

.gmbrr.bubble .listing .review-meta + .text{
    border-radius: 0 !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
    background: var(--color_primary-dark) !important;
	color: #fff;
    padding: 20px;
}

@media screen and (max-width:768px) {
    .gmbrr.bubble .listing .review-meta + .text{
        text-align: center;
    }
}

.gmbrr.bubble .listing .text::before{
    border-bottom: 0.5em solid var(--color_primary-dark);
}



/* invertir */

.rating-5:nth-child(2n){
    /* background: #000 !important; */
}

.rating-5:nth-child(2n) .author-avatar{
    order: 2 !important;
}

.rating-5:nth-child(2n) .review-meta {
    width: 100%;
    text-align: right;
    order: 1;
}

.rating-5:nth-child(2n) > .text{
    order: 3;
}
.rating-5:nth-child(2n) > .text::before{
    left: inherit !important;
    right: calc(var(--avatar-width) + 0.7rem);
}