.img_with_text p {
    font-size: 22px!important;
    font-weight: 300;
    line-height: 34px;
    margin: 0 auto 40px;
}
.slider {
    position: relative;
}

.slider.main-slider {
    height: 100vh;
}

.slider .hide-overflow {
    overflow: hidden;
}

.slider .nowrap {
    white-space: nowrap;
 }

.slider .inner,
.slider .outer {
    height: 100%;
}

.slider .inner,
.chevron,
.img_with_text.gallery .slider .idx-wrapper .idx-wrapper-outer {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.slider:not(.infinitive) .inner .row {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.slider .row .info.overlay {
    top: 0;
    width: 100%;
    left: 0;
    position: absolute;
    height: 100%;
}

.slider.full:not(.infinitive) .inner .row {
    width: 100%;
}

.slider .outer.hide-overflow {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

.chevron {
    display: inline-block;
    width: 24px;
    height: 16px;
    position: relative;
    cursor: pointer;
}

.chevron.right {
    transform: scale(1) rotate(-90deg);
}

.chevron.right.disabled {
    transform: scale(0) rotate(-90deg);
}

.chevron.left.disabled {
    transform: scale(0)  rotate(90deg);
}

.chevron.left {
    transform: scale(1) rotate(90deg);
}

.img_with_text.gallery .chevron {
    position: absolute;
    z-index: 2;
}

.img_with_text.gallery .chevron.left {
    left: 0;
}

.img_with_text.gallery .chevron.right {
    right: 0;
}

.chevron::after, .chevron::before {
    content: "";
    bottom: 0;
    width: 50%;
    height: 2px;
    position: absolute;
    top: 50%;
    background-color: #000;
}

.chevron::before {
    right: 2px;
    -webkit-transform: translate(0, -50%) rotate(-45deg);
    -ms-transform: translate(0, -50%) rotate(-45deg);
    transform: translate(0, -50%) rotate(-45deg);
}

.chevron::after {
    left: 2px;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    -ms-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
}

.chevron .line {
    height: 100%;
    width: 2px;
    top: -6px;
    display: inline-block;
    background-color: #000;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

/**************** Custom Slide CSS *****************/
.img_with_text.gallery .slider .navigation-arrows {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 50px;
    background-color: #f4da2b;
    border-radius: 50px;
    line-height: 36px;
    font-size: 0;
}

.img_with_text.gallery .slider .idx-wrapper {
    width: 100%;
    height: 100%;
}

/*.img_with_text.gallery .slider .idx-wrapper .idx {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/
.img_with_text.gallery .slider .idx-wrapper .idx-wrapper-outer {
    height: 100%;
}

.img_with_text.gallery .slider .idx-wrapper .idx {
    width: 100%;
    height: 50px;
    display: inline-block;
    line-height: 50px;
    font-size: 12px;
}

.img_with_text.gallery .slider .idx-wrapper .idx > span {
    vertical-align: middle;
}

/*.img_with_text.gallery .slider .idx-wrapper .idx:nth-child(n + 2) {*/
/*    left: 150%*/
/*}*/

.gallery-slider .slider {
    margin-top: 60px;
}

.gallery-slider .slider .row {
    width: calc((100% / 2) - 54px);
}

.gallery-slider.image-1:not(.image-9_16) .row {
    width: 100%;
}

.gallery-slider .slider .row:not(:last-child) {
    margin-right: 60px;
}

.gallery-slider .navigation-arrows {
    position: absolute;
    top: 50%;
    width: calc(100% + 146px);
    transform: translateY(-50%);
}

.gallery-slider .slider .navigation-arrows .chevron-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #f4da2b;
    transition: all .3s ease-in-out;
}

.gallery-slider .slider .inner {
    text-align: center;
}

.gallery-slider .slider .navigation-arrows .chevron-wrapper.disabled {
    opacity: 0;
}

.gallery-slider .slider .navigation-arrows .chevron-wrapper.left {
    margin-left: 30px;
}

.gallery-slider .slider .navigation-arrows .chevron.left {
    left: -4px
}

.gallery-slider .slider .navigation-arrows .chevron.right {
    right: -4px
}
/**************** Custom Slide CSS *****************/

@media screen and (max-width: 1280px) {
    .img_with_text.gallery .slider .navigation-arrows {
        width: 130px;
        height: 35px;
    }

    .img_with_text.gallery .slider .idx-wrapper .idx {
        height: 35px;
        line-height: 33px;
        font-size: 11px;
    }

    .img_with_text.gallery .chevron {
        width: 16px;
        height: 14px;
      }

      .img_with_text.gallery .chevron .line {
        height: 75%;
        top: -10px;
      }
}
@media screen and (max-width: 640px) {
    .img_with_text.gallery .slider .navigation-arrows {
        bottom: -40px;
        right: 14px;
        width: 150px;
        height: 50px;
    }

    .img_with_text.gallery .slider .idx-wrapper .idx {
        height: 50px;
        line-height: 50px;
        font-size: 13px;
    }

    .img_with_text.gallery .chevron {
        width: 24px;
        height: 16px;
      }

      .img_with_text.gallery .chevron .line {
        height: 100%;
        top: -6px;
      }
}

@media screen and (max-width: 420px) {
    .img_with_text.gallery .slider .navigation-arrows {
        width: 130px;
        height: 35px;
    }

    .img_with_text.gallery .slider .idx-wrapper .idx {
        height: 35px;
        line-height: 33px;
        font-size: 11px;
    }

    .img_with_text.gallery .chevron {
        width: 16px;
        height: 14px;
      }

      .img_with_text.gallery .chevron .line {
        height: 75%;
        top: -10px;
      }

      .img_with_text.gallery .slider .card .caption {
        margin-left: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
        padding-left: 12px;
      }

      .img_with_text.gallery .slider .card .caption .c-title {
        font-size: 14px;
        line-height: 18px;
      }
}