.etsa-testimonials{height: 100%;}
.elite-acf-modal-tab-content.active{display: block;}
.elite-acf-modal-tab-content{display: none;}
.elite-edit-btn,.elite-layout-btn{text-align: center;}
.etsa-swiper-button i{font-style: normal;}
.swiper-button-prev:after,.swiper-button-next:after{display: none;}
.etsa-swiper-pagination .swiper-pagination-bullet{width: unset; height: unset; background: unset;font-size: 6px;}
.etsa-swiper-pagination.swiper-pagination-fraction{font-size: 15px;}
.testimonial__rating{display: flex; align-items: center;justify-content: center;}

/* customized layout*/
.etsa-testimonial-slider .testimonial_content_quote {   display: flex;   gap: 10px;    align-items: flex-start;}
/* .etsa-testimonial-slider .testimonial_content_quote .testimonial__text{align-content: center;} */
.etsa-testimonial-slider .testimonial__cite{font-style: normal;}
.etsa-testimonial-slider{ position: static !important; padding-bottom: 100px; padding-top: 30px !important;}
.etsa-testimonial-slider .advanced{border-style: solid; border-width: 1px 1px 1px 1px; border-color: #bdb6b6; border-radius: 10px 10px 10px 10px;}
.etsa-testimonial-slider .swiper-wrapper, .etsa-testimonial-slider .swiper-slide{overflow:visible !important; height: auto !important;}
.etsa-testimonial-slider .etsa-testimonial__name { font-weight: 600;    font-size: 17px;}
.etsa-testimonial-slider .etsa-testimonial__company { font-weight: 500;    font-size: 15px;}
.etsa-testimonial-slider .etsa-testimonial__title { font-weight: 400;    font-size: 13px;}
/* .etsa-testimonial-slider .quote-icon{	display: block;	text-align: center;} */
.etsa-testimonial-skin-bubble .testimonial__text {z-index: 99999;}
.etsa-testimonial-skin-bubble .testimonial_content_quote{position: relative;background-color: #f9fafa;}
.etsa-testimonial-skin-bubble .testimonial_content_quote::after{content: ""; display: block; background-color: #f9fafa; box-sizing: content-box; height: 14px; position: absolute; transform: scaleX(.75) rotate(45deg); width: 14px;}
.etsa-testimonial-slider .testimonial__image img{ height: 50px; width: 50px; border-radius: 999px; object-fit: cover;}
.etsa-testimonial-slider .testimonial__image svg{position: absolute;    transform: translate(-50px, -5px);    width: 90px;    height: auto;}

/* inline quote images with content before and after */
.etsa-testimonial-slider .testimonial__text p{display: inline; position: relative;}

/* align left/right content*/
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-left .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-left .testimonial_content_quote,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-left .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-left .testimonial__rating,
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-left .testimonial__rating,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-left .testimonial__rating,
.etsa-testimonial--layout-image_left.etsa-testimonial-align-left .testimonial__rating,
.etsa-testimonial--layout-image_right.etsa-testimonial-align-left .testimonial__rating{justify-content: left;}

.etsa-testimonial--layout-image_inline.etsa-testimonial-align-right .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-right .testimonial_content_quote,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-right .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-right .testimonial__rating,
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-right .testimonial__rating,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-right .testimonial__rating,
.etsa-testimonial--layout-image_left.etsa-testimonial-align-right .testimonial__rating,
.etsa-testimonial--layout-image_right.etsa-testimonial-align-right .testimonial__rating{justify-content: right;}

.etsa-testimonial--layout-image_inline.etsa-testimonial-align-center .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-center .testimonial_content_quote,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-center .testimonial_content_quote,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-center .testimonial__rating,
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-center .testimonial__rating,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-center .testimonial__rating,
.etsa-testimonial--layout-image_left.etsa-testimonial-align-center .testimonial__rating,
.etsa-testimonial--layout-image_right.etsa-testimonial-align-center .testimonial__rating{justify-content: center;}

/* align left/right third-party-ratings*/
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-left .testimonial__cite,
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-left .etsa-third-party-ratings,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-left .etsa-third-party-ratings,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-left .etsa-third-party-ratings,
.etsa-testimonial--layout-image_right.etsa-testimonial-align-left .etsa-third-party-ratings,
.etsa-testimonial--layout-image_left.etsa-testimonial-align-left .etsa-third-party-ratings{ align-items: start; }
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-right .testimonial__cite,
.etsa-testimonial--layout-image_inline.etsa-testimonial-align-right .etsa-third-party-ratings,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-right .etsa-third-party-ratings,
.etsa-testimonial--layout-image_above.etsa-testimonial-align-right .etsa-third-party-ratings,
.etsa-testimonial--layout-image_right.etsa-testimonial-align-right .etsa-third-party-ratings,
.etsa-testimonial--layout-image_left.etsa-testimonial-align-right .etsa-third-party-ratings{ align-items: end; }

/* align bubble image wise*/
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_inline .testimonial_content_quote::after,
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_stacked .testimonial_content_quote::after{top: calc(100% - 8px); left: 50%; transform: translateX(-50%) scaleX(.75) rotate(45deg);}
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_above .testimonial_content_quote::after{bottom: calc(100% - 7px); left: 50%; transform: translateX(-50%) scaleX(.75) rotate(-135deg);}
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_left .testimonial_content_quote::after,
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_right .testimonial_content_quote::after{top: calc(20px + 50px / 2);}
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_left .testimonial_content_quote::after{left: -8px; transform: scaleY(.75) rotate(135deg);}
.etsa-testimonial-skin-bubble.etsa-testimonial--layout-image_right .testimonial_content_quote::after{right: -8px; transform: scaleY(.75) rotate(-45deg);}

/*image alignment*/
.etsa-testimonial--layout-image_above.etsa-testimonial-align-center .testimonial__image img,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-center .testimonial__image img{ margin: auto;}
.etsa-testimonial--layout-image_above.etsa-testimonial-align-left .testimonial__image img,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-left .testimonial__image img{margin-right:auto;}
.etsa-testimonial--layout-image_above.etsa-testimonial-align-right .testimonial__image img,
.etsa-testimonial--layout-image_stacked.etsa-testimonial-align-right .testimonial__image img{margin-left:auto;}
/*image_inline*/
.etsa-testimonial--layout-image_inline .testimonial__cite{display: flex; flex-direction: column; align-items: center; margin-left: 10px;}
.etsa-testimonial--layout-image_inline .testimonial__footer{ display: flex; align-items: center; justify-content: center; }
.etsa-testimonial--layout-image_inline .testimonial__footer .etsa-img-wrap{ display: flex; }
/*image_stacked*/
.etsa-testimonial--layout-image_stacked .testimonial__footer.etsa-has-tp {display: flex;    align-items: center;    gap: 10px;}
/* .etsa-testimonial--layout-image_stacked .testimonial__footer{margin-top: 20px;} */
.etsa-testimonial--layout-image_stacked .testimonial__cite{ display: flex; flex-direction: column;}
/*image_above*/
.etsa-testimonial--layout-image_above .etsa-testimonials{display: flex; flex-direction: column-reverse;}
.etsa-testimonial--layout-image_above .testimonial__cite{display: flex; flex-direction: column;}
.etsa-testimonial--layout-image_above .testimonial__footer{display: flex; justify-content: center;  align-items: center; gap: 10px; }
/*image_left*/
.etsa-testimonial--layout-image_left .etsa-testimonials{flex-direction: row-reverse; display: flex; align-items: stretch; justify-content: center;}
.etsa-testimonial--layout-image_left .testimonial__cite{display: flex; flex-direction: column; margin-top: 15px; justify-content: center;}
.etsa-testimonial--layout-image_left .testimonial__footer{ flex-shrink: 0; justify-content: flex-end; min-width: 80px; margin-right: 20px;}
/*image_right*/
.etsa-testimonial--layout-image_right .etsa-testimonials{flex-direction: row; display: flex; align-items: stretch; justify-content: center;}
.etsa-testimonial--layout-image_right .testimonial__cite{display: flex; flex-direction: column; margin-top: 15px; justify-content: center;}
.etsa-testimonial--layout-image_right .testimonial__footer{ flex-shrink: 0; justify-content: flex-start; min-width: 80px; margin-left: 20px;}

/* verified icon alignments */
.etsa-testimonial--layout-image_inline .verified-badge-icon{margin-left: 5px; }
.etsa-testimonial--layout-image_inline .etsa-testimonial__name.etsa-verified-user{display: flex; align-items: center; }

.verified-badge-icon img{width: 15px; height: 15px; margin-left:5px;}
.verified-badge-icon{display: inline-block;}

/*third-party-ratings*/
.etsa-third-party-ratings{display: flex; align-items: center; justify-content: center;    flex-direction: column; }
.etsa-third-party-ratings .etsa-platform-icon img{width: 100px; height: auto;}
.etsa-third-party-ratings .etsa-platform-text{color: #747474;    font-size: 14px;    font-weight: 400;}
.platform_rating_star {display: flex; align-items: center; gap: 2px;}
.platform_rating_star img{width: 20px; height: 20px;}

/*ACF selection modal*/
.elite-acf-modal-overlay {    position: absolute;      left: 20px;      z-index: 1;    background: #fff;    border: 1px solid #e6e8ea;    box-shadow: 0 2px 15px rgba(0,0,0,.3);    width: 260px;}
.elite-acf-modal-box .elite-acf-modal-header{    display: flex;    flex-direction: row;    align-items: center;    justify-content: space-between;    padding: 20px 20px 0 20px;}
.elite-acf-modal-box button.elite-tab-button{    cursor: pointer;    border: none;    background: transparent;    padding: 15px 0;    font-weight: 600;   color: #515962;}
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-settings.active {    display: flex;    align-items: center;    justify-content: space-between;    gap: 15px;    margin-bottom: 20px;    flex-direction: column;}
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-settings.active .elite-acf-select-key,
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-settings.active .elite-acf-select-cpt{    width: 100%; display: flex; align-items: start; justify-content: space-between;  flex-direction: column; gap: 12px;}
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-settings .elite-acf-modal-select-cpt,
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-advanced .elite-acf-modal-input input {    flex: 0 0 50%;}
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-advanced.active {    display: flex;    align-items: center;    justify-content: space-between;    flex-direction: column;    row-gap: 15px;    width: 100%;    padding-bottom: 20px;}
.elite-acf-modal-box .elite-acf-modal-tab-content.elite-acf-tab-advanced .elite-acf-modal-input {    display: flex;    flex-direction: row;    align-items: center;    gap: 15px;    justify-content: space-between;    width: 100%;}
.elite-acf-modal-box .elite-acf-modal-tabs .elite-acf-modal-tab:first-child {    border-bottom: 2px solid #e6e8ea;    }
.elite-acf-modal-box .elite-acf-modal-tabs .elite-acf-modal-tab{    padding: 0 20px;}
.elite-acf-modal-box label{    font-size: 12px;}
.elite-acf-modal-box .elite-acf-modal-close{    border: none;    background: transparent;    font-size: 15px;    cursor: pointer;}
.elite-acf-selector-control-wrapper .elite-dynamic-placeholder{margin-top:10px; border:1px solid #d5d8dc; border-radius:3px; display: flex; align-items: center; justify-content: space-around;}
.elite-acf-selector-control-wrapper .elite-dynamic-placeholder input{border: none;}
.elite-acf-selector-control-wrapper .elite-dynamic-placeholder .elite-dynamic-cover__settings,
.elite-acf-selector-control-wrapper .elite-dynamic-placeholder .elite-dynamic-cover__remove,
.elite-dynamic-tag-button{cursor: pointer;}
.elite-dynamic-tag-button{position: absolute; top: 0; right: 0; border-end-end-radius: 0;  border-end-start-radius: 0px;  border-inline-start-width: 1px;    border-start-end-radius: 0;    border-start-start-radius: 0;    align-items: center;    background: #fff; border: 1px solid #d5d8dc; display: inline-flex; height: 24px; justify-content: center; width: 27px; border-right: unset; border-top-right-radius: 2px; border-bottom-right-radius: 2px;border-bottom: unset;}
.elementor-control-acf_testimonial_content .elementor-control-content .elementor-control-field-description .elite-dynamic-tag-button{border-end-start-radius: 3px; border-bottom: 1px solid #d5d8dc; border-bottom-right-radius: unset;}
.elite-acf-selector-control-wrapper .elite-dynamic-placeholderelite-dynamic-tag-button{height: 24px;}
.elementor-control-acf_testimonial_content .elementor-control-content,
.elementor-control-acf_testimonial_image .elementor-control-content,
.elementor-control-acf_testimonial_name .elementor-control-content,
.elementor-control-acf_testimonial_company .elementor-control-content,
.elementor-control-acf_testimonial_title .elementor-control-content,
.elementor-control-acf_testimonial_rating .elementor-control-content{position: relative;}
.elementor-control-acf_testimonial_content .elementor-control-content .elementor-control-field-description,
.elementor-control-acf_testimonial_image .elementor-control-content .elementor-control-field-description,
.elementor-control-acf_testimonial_name .elementor-control-content .elementor-control-field-description,
.elementor-control-acf_testimonial_company .elementor-control-content .elementor-control-field-description,
.elementor-control-acf_testimonial_title .elementor-control-content .elementor-control-field-description,
.elementor-control-acf_testimonial_rating .elementor-control-content .elementor-control-field-description{position: absolute; right: 1px; top: 12px;}
.elite-acf-modal-box .elite-acf-modal-media-wrap.elite-acf-tab-advanced.active {align-items: flex-start;}
.elite-acf-modal-box .elite-acf-modal-media-wrap.elite-acf-tab-advanced .elite-acf-modal-media{width: 100%}
.elite-acf-modal-box .elite-acf-modal-media-wrap.elite-acf-tab-advanced .elite-acf-modal-media .elite-acf-media-area{ cursor: pointer; position: relative; background-color:#d5d8dc; margin-top: 10px; aspect-ratio: 21 / 9; border: 1px solid #d5d8dc; }
.elite-acf-modal-box .elite-acf-modal-media-wrap.elite-acf-tab-advanced .elite-acf-modal-media i{color: #fff;    font-size: 20px;    left: 50%;    position: absolute;    top: 50%;    transform: translate(-50%, -50%);}
.elite-acf-modal-box .elite-acf-modal-media-wrap.elite-acf-tab-advanced .elite-acf-modal-media .elite-acf-media-preview{background-position: 50%;    background-size: cover;    height: 100%;}

/*template library*/
#elite-testimonial-layouts{    cursor: pointer;}
.elite-template-popup-overlay {    display: none;    position: fixed; top: 0; left: 0;    width: 100vw; height: 100vh;    background: rgba(0,0,0,0.5); z-index: 99999;    opacity: 0; transition: opacity 0.3s ease; }
.elite-template-popup-overlay.show {    opacity: 1;}
.elite-template-popup {    background: #fff;    position: relative;    transform: translateY(30px);    opacity: 0;    transition: all 0.3s ease;    overflow: auto;    position: absolute;    -webkit-transform: translate(-50%, -30%);    -ms-transform: translate(-50%,-30%);    transform: translate(-50%, -30%);    background: #f1f3f5;    min-width: 100%;    height: 100%; }
.elite-template-popup.show {    transform: translateY(0);    opacity: 1; }
.elite-template-popup-header {    display: flex;    justify-content: space-between;    align-items: center;    background-color: #fff;    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);    position: relative;    z-index: 10;    padding: 0px 20px; }
.elite-template-popup-header h2 {    color: #495157;    font-size: 18px;    font-weight: 600;    margin: 0px; }
.elite-template-popup-close {    padding: 0px;    font-size: 25px;    background: none;    border: none;    cursor: pointer !important;    color: #a4afb7;    font-weight: 600; }
.elite-template-popup-close:hover{    color: #3a3a3a;    background: none; }
.elite-template-tabs {    list-style: none;    margin: 0;    padding: 0;    display: inline-flex;    justify-content: center;    align-items: center; }
.elite-template-tabs .tab {    padding: 20px 25px;    color: #6d7882;    font-size: 15px;    font-weight: 500;    text-align: center;    cursor: pointer;    background: none; }
.elite-template-tabs .tab.active {    color: #6d7882;    background-image: linear-gradient(180deg, #f1f3f5, #fff);    border-bottom: 3px solid #6A4BFF; }
.elite-template-grid {    padding: 30px;    display: grid;    grid-template-columns: repeat(4, 1fr);    gap: 20px; }
.elite-template-card {    position: absolute;    border: 1px solid #c6ced5;    border-radius: 3px;    background: #fafafa;    position: relative;    width: 100%; margin: 0 0 20px; height: fit-content;}
.elite-template-card img {    width: 100%;    border-bottom: 1px solid #c6ced5; }
.elite-insert-template-wrap{    padding: 5px 10px 10px;    display: flex;    align-items: center;    justify-content: space-between; }
.elite-insert-template-wrap p{    margin: 0;    font-size: 15px; }
.elite-insert-template-wrap i{    font-size: 13px;    padding: 6px 10px;    color: #fff;    background-color: green;    border-radius: 3px;    cursor: pointer; }
.elite-insert-template-wrap i span{    margin-left: 5px;    letter-spacing: 0.4px;    font-family: 'Roboto'; }
.elite-badge {    position: absolute;    top: 10px;    right: 10px;    padding: 4px 8px;    font-size: 10px;    font-weight: bold;    letter-spacing: 0.3px;    text-transform: uppercase;    text-align: center;    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);    border-radius: 3px; }
.elite-badge.free { background-image: linear-gradient(201deg, #BB82FF 14%, #601CFC 61%); color: white; }

@media screen and (max-width: 1599px) and (min-width: 1025px) {
  .elite-template-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .elite-template-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .elite-template-grid { grid-template-columns: repeat(1, 1fr); }
    .elite-template-card{ max-width: fit-content; }
}

.elite-loader {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.elite-loader-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
}
.elite-spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top: 5px solid #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10000;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

