/*******************************************************
*
* General
*
*******************************************************/

#site-main .site-reviews {
    position: relative;
    display: block;
    padding: 105px 0;
    background: var(--white-color-2);
    overflow: hidden;
}

#site-main .site-reviews.bg-white {
    background: var(--white-color-1);
}

#site-main .site-reviews-inner {
    position: relative;
    display: block;
}

#site-main .site-reviews-title {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 50px;
}

#site-main .site-reviews-title h3 {
    margin: 0;
}

#site-main .site-reviews-list {
    position: relative;
    display: block;
}

#site-main .site-reviews-list-col {
    position: relative;
    display: block;
    padding: 0 20px;
    height: 100%;
}

#site-main .site-reviews-list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white-color-1);
    padding: 50px;
    box-shadow: -20px 20px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    max-width: 100%;
}

#site-main .site-reviews-list-item.with-border {
    border: 1px solid var(--light-color-3);
}

#site-main .site-reviews-list-item:before {
    content: '';
    position: absolute;
    right: 25px;
    top: 25px;
    background: transparent url(../../images/startups-double-quote.png) no-repeat;
    background-size: 100% 100%;
    width: 168px;
    height: 126px;
    pointer-events: none;
}

#site-main .site-reviews-list-text {
    position: relative;
    display: block;
}

#site-main .site-reviews-list-text p {
    margin: 0;
    line-height: 1.6;
    color: var(--gray-color-1);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

#site-main .site-reviews-list-info {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 30px;
}

#site-main .site-reviews-list-img {
    position: relative;
    display: block;
    flex-shrink: 0;
}

#site-main .site-reviews-list-img canvas {
    display: block;
    height: auto;
    max-width: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 50%;
}

#site-main .site-reviews-list-author {
    position: relative;
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: var(--black-color-2);
    margin-left: 15px;
}

#site-main .site-reviews-list:not(.slick-initialized) {
    display: flex;
}

#site-main .site-reviews-list:not(.slick-initialized) .site-reviews-list-item {
    width: 581px;
}

#site-main .site-reviews-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
    margin-top: 53px;
}

#site-main .site-reviews-control-arrow {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.3s ease-in-out;
}

#site-main .site-reviews-control-arrow:focus,
#site-main .site-reviews-control-arrow:hover {
    opacity: 0.75;
}

#site-main .site-reviews-control-arrow img {
    display: block;
    height: auto;
    max-width: 100%;
}

#site-main .site-reviews-control-dots {
    position: relative;
    display: block;
    margin: 0 50px;
}

#site-main .site-reviews-control-dots ul {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
    margin: -5px -8px !important;
}

#site-main .site-reviews-control-dots ul li {
    display: block;
    padding: 5px 8px;
}

#site-main .site-reviews-control-dots ul li span {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gray-color-9);
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

#site-main .site-reviews-control-dots ul li.slick-active span,
#site-main .site-reviews-control-dots ul li span:hover {
    background: var(--primary-color);
}

#site-main .site-reviews .slick-list {
    overflow: visible;
    padding: 0 30% !important;
}

#site-main .site-reviews .slick-track {
    display: flex;
}

#site-main .site-reviews .slick-slide {
    height: auto;
}

#site-main .site-reviews .slick-slide>div {
    height: 100%;
}

/*******************************************************
*
* Mobile styles and other media queries
*
*******************************************************/

@media only screen and (max-width: 1199px) {
    #site-main .site-reviews .slick-list {
        padding: 0 20% !important;
    }
}

@media only screen and (max-width: 991px) {
    #site-main .site-reviews-list-text {
        font-size: 14px;
    }

    #site-main .site-reviews {
        padding: 52px 0;
    }

    #site-main .site-reviews-title h3 {
        font-size: 28px;
    }

    #site-main .site-reviews-title {
        margin-bottom: 40px;
    }

    #site-main .site-reviews-control {
        margin-top: 43px;
    }

    #site-main .site-reviews .slick-list {
        padding: 0 12% !important;
    }
}

@media only screen and (max-width: 767px) {
    #site-main .site-reviews .slick-list {
        padding: 0 !important;
    }

    #site-main .site-reviews-list-col {
        padding: 0 32px;
    }
}

@media only screen and (max-width: 567px) {
    #site-main .site-reviews-control-dots {
        width: 100%;
        order: -1;
        margin: 0 0 25px;
    }

    #site-main .site-reviews-control-dots ul li {
        padding: 5px;
    }

    #site-main .site-reviews-control-arrow.arrow-next {
        margin-left: 25px;
    }
}

@media only screen and (max-width: 480px) {}

@media only screen and (max-width: 400px) {
    #site-main .site-reviews-list-item {
        padding: 30px;
    }

    #site-main .site-reviews-list-img {
        width: 45px;
    }
}