/*------------------------------------*\
    PMS Frontend Styles
\*------------------------------------*/

/* global box-sizing */
.pms-slider *,
.pms-slider *:after:not(.yellowStar),
.pms-slider *:before:not(.yellowStar) {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    /*-webkit-font-smoothing:antialiased;*/
    /*font-smoothing:antialiased;*/
    text-rendering:optimizeLegibility;
    content: ''!important;
}

.pms-slider .slick-slide:focus {
    outline: none;
    border: none;
}

.pms-wrapper {
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pms-hide,
.pms-warning.pms-hide {
    display: none;
}

.pms-fw {
    width: 100%;
}

.pms-row.pms-mgX-0 {
    margin: 0;
}

/*.pad-0,*/
.pms-row.pms-padX-0 > [class^="pms-col"] {
    padding: 0;
}

/* FLEXBOX */
.pms-row {
    box-sizing: border-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 0;
    flex: 0 1 auto;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -1rem;
    margin-left: -1rem;
}

.pms-col-xs,
.pms-col-xs-2,
.pms-col-xs-6,
.pms-col-xs-12 {
    box-sizing: border-box;
    -ms-flex: 0 0 auto;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.pms-col-xs-6 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
}

.pms-col-xs-12 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}
.pms-center-xs {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
}

.pms-end-xs {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
    text-align: end;
}

.pms-start-xs {
    -ms-flex-pack: start;
    -webkit-box-pack: start;
    justify-content: flex-start;
    text-align: start;
}

.pms-btn {
    display: block!important;
    background: #4e4f50;
    border: 2px solid #4e4f50;
    padding: 16px 14px;
    line-height: 1;
    border-radius: 50px;
    color: #faf8f9;
    min-width: 200px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    z-index: 10000;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    text-decoration: none;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
    margin: 10px auto 0 !important;
}

.pms-btn:hover {
    background: 0 0;
    color: #4e4f50;
}

/*  PMS Slider
/* -------------------------------------------------------------------------- */
.pms-slider {
    position: relative;
    padding: 23px 23px 23px 0;
}

.pms-slider :first-child {
    margin-top: 0;
}

.pms-slider :last-child,
.pms-details p {
    margin-bottom: 0;
}

.pms-slider:before {
    content: '';
    position: absolute;
    background: #f2f3f3;
    top: 0;
    bottom: 0;
    left: 28px;
    right: 0;
    margin: auto;
    display: block;
    border: 1px solid #f2f3f3;
    z-index: -1;
}

.pms-title {
    line-height: 1.3;
    font-size: 24px;
    margin-left: 56px;
    margin-bottom: 24px;
    color: #4e4f50;
    font-weight: 700;
}

.pms-contain {
    background: #fff;
    padding: 20px;
    -webkit-box-shadow: 0 0 5px 2px rgba(122,125,125,.25);
    -moz-box-shadow: 0 0 5px 2px rgba(122,125,125,.25);
    box-shadow: 0 0 5px 2px rgba(122,125,125,.25);
    position: relative;
}

/*  Gallery Slider
/* -------------------------------------------------------------------------- */
.pms-gallery-details {
    padding: 15px 15px 0;
    max-width: 230px;
    margin: auto;
}

.pms-detail-title {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #4e4f50;
}

.pms-details .pms-col-xs {
    max-width: 130px;
}

.pms-sync1 {
    position: static !important;
}

.pms-sync1 .slick-arrow {
    font-size: 0;
    line-height: 0;
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 8px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    background: transparent;
    position: absolute;
    bottom: 85px;
    left: 15px;
}

.pms-sync1 .slick-next {
    left: inherit;
    right: 15px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.pms-sync2 .slick-arrow {
    display: none !important;
}

.pms-gallery-slider .pms-defer {
    position: relative;
}

.pms-warning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #7a7d7d;
    z-index: 10002;
    text-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 15px;
}

.pms-warning-title {
    font-size: 22px;
    margin: 14px 0;
    font-weight: 700;
    text-transform: uppercase;
}

.pms-warning-btn {
    background: #fff;
    padding: 10px 15px;
    display: block;
    margin: 0 auto;
    outline: none;
    border: 1px solid #7d7d7d;
    min-width: 200px;
}

/*  Review Slider
/* -------------------------------------------------------------------------- */
.pms-review-details {
    text-align: center;
    border-top: 1px solid #c1c2c2;
    padding-top: 15px;
    margin-top: 15px;
}

.pms-item {
    font-style: italic;
    line-height: 1.4;
    font-size: 18px;
}

.pms-review-details p:not(.pms-total) {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}

.pms-average {
    font-size: 20px;
    margin-right: 10px;
}

.pms-author {
    font-size: 14px;
    margin-bottom: 4px;
}

.pms-link-contain {
    text-align: right;
    margin-top: 20px;
}

.pms-review-slider-item:focus,
.pms-testimonial-slider-item:focus {
    outline: none;
}

.pms-review-slider .pms-review-details p:not(.pms-total) {
    margin: 0;
    line-height: 1;
}

.pms-review-slider .pms-review-details .pms-total {
    margin-top: 10px;
    line-height: 1;
}

.pms-widget-review {
    text-align: center;
}

.pms-widget-review,
.pms-widget-testimonial {
    background: #fff;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(122,125,125,.25);
    -moz-box-shadow: 0px 0px 15px 2px rgba(122,125,125,.25);
    box-shadow: 0px 0px 15px 2px rgba(122,125,125,.25);
    padding: 10px 15px 15px;
}

.pms-widget-testimonial {
    background: #7a7d7d;
}

.pms-widget-review-title,
.pms-widget-testimonial-title {
    font-size: 24px;
    color: #4e4f50;
    font-weight: 700;
    margin-bottom: 10px;
}

.pms-widget-testimonial,
.pms-testimonial-slider-item {
    padding: 28px 15px;
}

.pms-widget-testimonial-title,
.pms-testimonial-button a {
    text-align: left;
    color: #fff;
}

.pms-testimonial-slider-item {
    background: rgba(255,255,255,.9);
    color: #4e4f50;
    font-style: italic;
    margin-bottom: 20px;
}

.pms-testimonial-button {
    text-align: right;
}

.home .pms-testimonial-slider-item {
    background: none;
    padding: 0!important;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    
    /*  Review Slider
    /* -------------------------------------------------------------------------- */
    body .pms-single-slider,
    .pms-review-details {
        display: inline-block;
        vertical-align: middle;
    }

    .pms-single-slider {
        width: calc(100% - 172px);
        margin-right: 20px;
    }

    .pms-review-details {
        margin: 0;
        border: 1px solid #c1c2c2;
        width: 147px;
        padding: 20px;
    }

    .pms-average {
        font-size: 60px;
    }

}

/*  5b. Notebook Phase - 970px +
/* -------------------------------------------------------------------------- */
@media (min-width: 970px) {
    .testimonial-template .pms-widget {
        margin-top: -37px;
    }
}

@media (min-width: 1140px) {

    .pms-start-lg {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        text-align: start;
    }
    
    .pms-contain {
        padding: 28px 15px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
    }

    .pms-slider-contain {
        position: relative !important;
        max-width: calc(100% - 220px);
        width: calc(100% - 220px);
        padding-left: 30px;
        padding-right: 30px;
    }

    .pms-single-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .pms-gallery-details {
        text-align: left;
        padding-top: 0;
    }

    .pms-details .pms-col-xs {
        padding-right: 0;
    }

    .pms-sync1 .slick-arrow {
        left: 4px;
        bottom: 0;
        top: 0;
        height: 15px;
        width: 15px;
        margin: auto;
    }

    .pms-sync1 .slick-next {
        left: inherit;
        right: 4px;
    }

    body .pms-single-slider,
    .pms-review-details {
        vertical-align: top;
    }

    .pms-gallery-details {
        max-width: 230px;
    }

}

/*EMPTY LOADER*/

.pms-empty-loader {
    width: 50px;
    height: 100%;
    display: flex;
    margin: auto;
    align-items: center;
}

.pms-empty-loader-wheel {
    animation: spin 1s infinite linear;
    border: 2px solid rgba(30, 30, 30, 0.5);
    border-left: 4px solid #fff;
    border-radius: 50%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}