/*  */
.demoGridInner {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.demoGridCard {
    padding-left: 15px;
    padding-right: 15px;
    width: 20%;
    margin-bottom: 16px;
}

.demoGridCard .item {
    height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #232323;
    border-radius: 8px;
    transition: all .2s;
    cursor: pointer;
    position: relative;
}

.demoGridCard .item {

}

.demoGridCard .title {
    /* 	margin-bottom: 7px; */
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    transition: all .2s;
}

.demoGridCard .text {
    height: 40px;
    font-size: 12px;
    line-height: 20px;
    color: #232323;

    position: absolute;
    max-width: 152px;
    opacity: 0;
}

.demoGridCard .img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.demoGridCard:last-child .img {
    width: 40px;
}

.demoGridCard .img svg {
    fill: #232323;
    transition: all .2s;
}

.demoGridCard .info {
    /* 	max-width: 152px; */
}

.demoGridCard .item:hover {
    border-color: #026EF9;
    box-shadow: 0 4px 15px rgba(0, 121, 250, 0.3);
}

.demoGridCard .item:hover .title,
.demoGridCard .item:hover .text {
    color: #026EF9;
}

.demoGridCard .item:hover svg {
    fill: #026EF9;
}

.demoGridCard .item:hover .text {
    opacity: 1;
    transform: translateY(-10px);
}

.demoGridCard .item:hover .title {
    transform: translateY(-15px);
}

@media (min-width: 1881px) {
    .demoGridCard:nth-child(4) .text {
        max-width: 176px;
    }
}

@media (max-width: 1880px) {
    .demoGridCard {
        width: 33.33%;
    }

    .demoGridCard .text {
        font-size: 11px;
        line-height: 16px;
        max-width: 142px;
    }

    .demoGridCard .item:hover .text {
        opacity: 1;
        transform: translateY(-15px);
    }

    .demoGridCard .item:hover .title {
        transform: translateY(-20px);
    }
}

@media (max-width: 1439px) {
    .demoGridCard .text {
        max-width: 124px;
    }
}

@media (max-width: 1199px) {
    .demoGridCard .title {
        font-size: 15px;
    }

    .demoGridCard .item {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1023px) {
    .demoGrid {
        display: none;
    }
}

/*  */

/*  */

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#thumbnail-carousel {
    margin-top: 30px;
}

#thumbnail-carousel .splide__track--nav > .splide__list > .splide__slide {
    border: none;
}

#thumbnail-carousel .splide__slide {
    opacity: 0.7;
    transition: opacity .3s;
}

#thumbnail-carousel .splide__slide.is-active {
    opacity: 1;
    transition: opacity .3s;
}

#thumbnail-carousel:not( .is-overflow ) .splide__list {
    justify-content: center;
}

.demoSlider #main-carousel,
.demoSlider #thumbnail-carousel {
    overflow: visible;
}

#main-carousel .splide__pagination {
    bottom: -250px;
    flex-wrap: nowrap;
    padding-left: 0;
    padding-right: 0;
}

#main-carousel .splide__pagination li {
    width: 120px;
    height: 30px;
    margin-left: 7px;
    margin-right: 7px;
}

#main-carousel .splide__pagination .splide__pagination__page {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

#main-carousel .splide__pagination .splide__pagination__page::before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 2px;
    top: 50%;
    margin-top: -1px;
    left: 0;
    background-color: #026EF9;
    opacity: 0;
    -webkit-transition: width 0.3s, opacity 0.3s;
    -moz-transition: width 0.3s, opacity 0.3s;
    -o-transition: width 0.3s, opacity 0.3s;
    transition: width 0.3s, opacity 0.3s;
    z-index: 1;
}

#main-carousel .splide__pagination .splide__pagination__page::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    top: 50%;
    margin-top: -1px;
    left: 0;
    background-color: #CCCCCC;
}

#main-carousel .splide__pagination__page {
    background: none;
    opacity: 1;
    margin-left: 0;
    margin-right: 0;
}

#main-carousel .splide__pagination .splide__pagination__page.is-active {
    transform: scale(1);
}

#main-carousel .splide__pagination .splide__pagination__page.is-active::before {
    width: 100%;
    opacity: 1;
}

#main-carousel .splide__arrow {
    width: 22px;
    height: 40px;
    background: none;
    opacity: 1;
    border-radius: 0;
}

#main-carousel .splide__arrow svg {
    display: none;
}

#main-carousel .splide__arrow--prev {
    right: calc(100% + 20px);
    left: auto;
}

#main-carousel .splide__arrow--next {
    left: calc(100% + 20px);
}

#main-carousel .splide__arrow--prev:before,
#main-carousel .splide__arrow--next:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(images/slider-arrow-black.svg);
}

#main-carousel .splide__arrow--prev:after,
#main-carousel .splide__arrow--next:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(images/slider-arrow-blue.svg);
    opacity: 0;
    transition: opacity .2s;
}

#main-carousel .splide__arrow--prev:before,
#main-carousel .splide__arrow--prev:after {
    transform: scale(-1);
}

#main-carousel .splide__arrow:hover:after {
    opacity: 1;
}

.demoSlider.mainSection {
    margin-top: 46px;
}

.demoSliderInner {
    padding-bottom: 38px;
}

@media (max-width: 1023px) {
    #main-carousel .splide__arrow {
        display: none !important;
    }

    #thumbnail-carousel {
        margin-top: 15px;
        display: none;
    }

    #main-carousel .splide__pagination {
        bottom: -30px;
    }
}

/*  */