/******** Homepage - Testimonial Section *********/

#testimonial-container
    .testimonial_slider:not([data-style*="multiple_visible"])
    blockquote {
    text-align: left;
}

#testimonial-container .testimonial_slider[data-style="minimal"] .slides {
    max-width: 100%;
}

#testimonial-container .testimonial-next-prev,
#testimonial-container .controls {
    display: none;
}

#testimonial-container
    .testimonial_slider[data-style="minimal"]
    blockquote
    span:not(.title) {
    -webkit-transform: none;
    transform: none;
    margin-bottom: 0;
}

#testimonial-container .testimonial_slider[data-style="minimal"] blockquote {
    padding-left: 0;
    padding-right: 0;
}

#testimonial-container .testimonial_slider[data-style="minimal"] blockquote p {
    font-size: 16px;
    line-height: 28px;
}

#testimonial-container .testimonial_slider a.testimonial-readmore {
    color: #fff;
}

#testimonial-container .text-dark .testimonial_slider a.testimonial-readmore {
    color: #000;
}

#testimonial-container .text-dark .nectar-button {
    color: #000 !important;
    border-color: #000 !important;
}

/*#testimonial-container .testimonial-author{
	margin-bottom: 30px;
}*/

#testimonial-container .testimonial_slider .nectar-button {
    top: 0;
}

#testimonial-container .front {
    /*background-image: url('//d1id9ov24n1lx4.cloudfront.net/wp-content/uploads/2019/01/02063824/testimonial-image.jpg');*/
    background-image: url(https://d1id9ov24n1lx4.cloudfront.net/wp-content/uploads/2019/05/31090302/Rview-photo-update1.jpg);
    background-size: cover;
    background-position: center center;
}

#testimonial-container .front.bg-none {
    background-image: none !important;
    background-color: #f2f5f7;
}

#testimonial-container .back {
    background-color: #f2f5f7;
}

/* .author #testimonial-container .back {
    background-color: transparent!important;
} */

#testimonial-container .front,
#testimonial-container .back {
    padding: 80px 15px;
}

#testimonial-container .back {
    padding: 20px 15px;
}

#testimonial-container .back.max-height-auto {
    padding: 80px 15px;
}

body.author #testimonial-container .front,
body.author #testimonial-container .back {
    padding: 40px 15px;
}

#testimonial-container .front {
    /*padding: 80px 15px 0;*/
}

#testimonial-container .testimonial-content-container {
    max-width: 1245px;
    margin: 0 auto;
}

#testimonial-container .back > *,
#testimonial-container .back p,
#testimonial-container .back h2 {
    color: #000 !important;
}

.max-height-auto {
    max-height: none !important;
}

/* .page-property-management #testimonial-container .front.bg-none,
.page-property-management #testimonial-container .back {
    background-color: #FFF;
} */

@media only screen and (min-width: 1000px) {
    .testimonial-container
        .testimonial_slider[data-style="minimal"]
        blockquote {
        max-width: 70%;
    }
}

@media only screen and (max-width: 1000px) {
    #testimonial-container .front,
    #testimonial-container .back {
        max-height: 700px;
        overflow: hidden;
    }
}

@media only screen and (max-width: 690px) {
    #testimonial-container .front,
    #testimonial-container .back {
        max-height: 800px;
    }
}

@media only screen and (max-width: 380px) {
    #testimonial-container .front,
    #testimonial-container .back {
        max-height: 850px;
    }
}

/*Testimonial page*/

.testimonial-container.layout-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-container.layout-list blockquote {
    width: calc(100% / 3);
    padding: 0px 20px;
    position: relative;
    margin-bottom: 20px !important;
}

.testimonial-container.layout-list blockquote .item-wrapper {
    border: 1px solid #eee;
    /*-webkit-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.2);*/
    padding: 2em 1.5em;
    position: relative;
    height: 100%;
    background-color: #fff;
    text-align: center;
}

.testimonial-container.layout-list blockquote i.fa-quote-left {
    /*position: absolute;
    left: 1em;
    top: -25px;
    width: 40px;
    height: 50px;
    color: #fff;
    background-color: #004582;
    display: flex;
    align-items: center;
    justify-content: center;*/
    width: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial-container.layout-list blockquote i.fa-quote-left {
    font-size: 30px;
}

.testimonial-container.layout-list .testimonial-profile-image {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-container.layout-list .testimonial-profile-image img {
    object-fit: cover;
    height: 100px !important;
}

.testimonial-container.layout-list .testimonial-profile-info span {
    /*color: #004582;
    font-weight: 500;*/
    font-size: 16px;
}

.testimonial-container.layout-list .testimonial-heading {
    font-size: 20px;
    line-height: 28px;
    color: #000;
}

.testimonial-container.layout-list p {
    font-size: 16px;
    line-height: 26px;
}

.testimonial-container.layout-list a.nectar-button.see-through {
    border-width: 1px !important;
    border-color: #003663 !important;
    color: #003663 !important;
    display: inline-block !important;
}

.testimonial-loadmore-container {
    position: relative;
}

/*.testimonial-loadmore-container:before {
    content: '';
    height: 1px;
    width: calc(100% - 2em);
    position: absolute;
    top: 50%;
    left: 1em;
    background-color: rgba(112, 112, 112, 0.5);
    z-index: 1;
}*/

.testimonial-loadmore-container a.loadmore {
    z-index: 2;
    margin-bottom: 0px !important;
    display: inline-block;
    margin-top: 7px;
    border-radius: 3px !important;
    min-width: 160px;
}

.testimonial-loadmore-container a.loadmore:hover {
    opacity: 1;
}

/*.testimonial-loadmore-container a.loadmore:before,
.testimonial-loadmore-container a.loadmore:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 20px;
    background-color: #fff;
    top:0px;
}*/

.testimonial-loadmore-container a.loadmore:before {
    left: -20px;
}

.testimonial-loadmore-container a.loadmore:after {
    right: -20px;
}

.testimonial-loader {
    display: none;
}

@media only screen and (max-width: 1000px) {
    #testimonial-container .front {
        padding-top: 120px;
    }
    .testimonial-container.layout-list blockquote {
        width: 100%;
        padding: 0;
    }
    /*.testimonial-container.layout-list blockquote i.fa-quote-left{
		display: none;
	}*/
    .testimonial-container.layout-list p {
        line-height: 22px;
        padding-bottom: 0;
    }
    .testimonial-container.layout-list blockquote .item-wrapper {
        padding: 35px 70px;
    }
}

@media only screen and (max-width: 690px) {
    .testimonial-container.layout-list blockquote .item-wrapper {
        padding: 30px;
    }
}

@media only screen and (max-width: 380px) {
    .testimonial-container.layout-list blockquote .item-wrapper {
        padding: 15px;
    }
}

/***************** Testimonial Modal ******************/

.testimonial-readmore {
    white-space: nowrap;
}

/* The Modal (background) */

#testimonial-modal {
    display: flex;
    align-items: center;
    position: fixed;
    /* Stay in place */
    z-index: 1000000;
    /* Sit on top */
    /* padding-top: 100px; Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */

.modal-content {
    margin: auto;
    max-width: 600px;
    padding: 50px;
    text-align: left;
    background-color: #fff;
}

/* The Close Button */

#testimonial-modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -30px;
    margin-right: -25px;
}

#testimonial-modal .close:hover,
#testimonial-modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#testimonial-modal .modal-content p {
    margin-top: 30px;
    white-space: pre-line;
}

@media screen and (max-width: 600px) {
    #testimonial-modal {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .modal-content {
        max-width: none;
        width: 90%;
        padding: 20px;
    }
    #testimonial-modal .close {
        margin-top: -5px;
        margin-right: 0px;
    }
}

/**************** Preloader Icon ****************/

.sk-fading-circle {
    margin: auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: "";
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%,
    39%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
