.sliders {
    width: 100%;
    position: relative;
}

.sliders::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgb(255,251,230);
    background: radial-gradient(circle at top left, rgba(255,251,230,1) 0%, rgba(255,251,230,0) 60%);
    z-index: 1;
}

.sliders::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgb(229,223,255);
    background: radial-gradient(circle at top right, rgba(229,223,255,1) 0%, rgba(229,223,255,0) 60%);
    z-index: 1;
}

.slides__container {
    position: relative;
    z-index: 2;
}

.home-flexslider {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: none;
    padding-top: 42%;
}

.flexslider .slides {
    width: 100%;
    height: 100%;
}

.flexslider .slides li {
    height: 100%;
}

.flexslider .bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    z-index: 9;
    background: rgba(0, 0, 0, 0.1);
}

.bg__link {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.flexslider .bg h3 {
    color: var(--t4s-secondary-color);
    font-size: 42px;
    line-height: 1.2em;
    margin-bottom: 15px;
}

.flexslider .bg p {
    color: var(--t4s-secondary-color);
    font-size: 14px;
    line-height: 1.5em;
    margin-bottom: 30px;
}

.flexslider .bg a {
    background-color: var(--t4s-primary-color);
    color: white !important;
    border-radius: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 30px;
}

.flexslider .bg a:hover {
    background-color: #c82325;
    color: white !important;
}

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

.home-flexslider::after {
    /* content: ""; */
    position: absolute;
    pointer-events: none;
    height: 42px;
    width: 100%;
    top: -1px;
    z-index: 99;
}

.home-flexslider::before {
    /* content: ""; */
    position: absolute;
    pointer-events: none;
    height: 32px;
    width: 100%;
    bottom: 0;
    z-index: 99;
}

.flexslider {
    border: 0;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 98;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.flex-control-nav {
    bottom: 25px;
    left: 85px;
    z-index: 3;
    text-align: left;
}

.flex-control-paging li a {
    width: 12px;
    height: 3px;
    background: #ccc;
    border-radius: 0 !important;
    box-shadow: none;
}

.flex-control-paging li a.flex-active, .flex-control-paging li a:hover {
    width: 24px;
    background: #fff;
}

.flexslider > svg {
    display: none;
    color: var(--t4s-primary-color);
}

.loading .flexslider svg {
    display: block;
}

.flex-direction {
    width: 45px;
    height: 45px;
    position: absolute;
    bottom: 40px;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 0.5s all ease;
    background: rgba(255, 255, 255, 0.3);
    color: var(--t4s-primary-color);
    border-radius: var(--t4s-input-border-radius);
    cursor: pointer;
}

/*.home-flexslider:hover .flex-direction {*/
/*    opacity: 1;*/
/*}*/

.flex-direction:hover {
    background: rgba(255, 255, 255, 0.3);
}

.flex-direction svg {
    color: var(--t4s-text-content-color);
    width: 10px;
}

.flex-prev {
    left: 15px;
}

.flex-next {
    right: 15px;
}

.loading .flexslider .slides, .loading .flexslider .flex-control-paging, .loading .custom-navigation {
    display: none;
}

.section__service {
    padding-top: 80px;
}

.section__service .item {
    background: rgba(248, 248, 248, 1);
    border-bottom: 4px solid var(--t4s-secondary-color);
    transition: 0.5s all ease;
    position: relative;
}

.section__service .box-thumbnail {
    padding-top: 118.4%;
}

.section__service .item::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(248, 248, 248, 0) 30%, #F8F8F8 60%, #F8F8F8 100%);
    transition: 0.5s all ease;
    z-index: 9;
}

.section__service img {
    object-fit: contain;
    padding: 20px;
}

.section__service .item .description {
    position: relative;
    padding: 20px;
    z-index: 10;
}

.section__service .item:hover {
    background-color: var(--t4s-secondary-color);
    border-bottom: 4px solid var(--t4s-primary-color);
}

.section__service .item:hover a {
    color: white !important;
}

.section__service .item:hover::before {
    background: linear-gradient(180deg, rgba(30, 39, 115, 0) 30%, #1E2773 60%, #1E2773 100%);
}

.section__future .box-thumbnail {
    padding-top: 41.8%;
}

.section__future video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    object-fit: cover;
    z-index: 3;
}

.section__community {
    position: relative;
    margin-bottom: 80px;
}

.section__community::after {
    position: absolute;
    content: "";
    top: 200px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--t4s-secondary-color);
    z-index: -1;
}

.section__community .box {
    background-color: white;
    padding: 5px;
    box-shadow: 0 8px 32px 0 rgba(3, 46, 202, 0.16);
}

.section__community .box .box-thumbnail {
    height: 100%;
}

.section__community .flow .box-thumbnail {
    padding-top: 20.33%;
}

.section__video .box-thumbnail {
    padding-top: 61.58%;
}

.section__video .box-thumbnail .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(33, 36, 55, 0) 0%, #212437 100%);
    padding: 15px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    color: white;
}

.section__publication .box-thumbnail {
    padding-top: 135%;
}

.section__publication .box {
    background: rgba(248, 248, 248, 1);
    padding: 30px;
}

.section__sharespace {
    padding-top: 80px;
}

@media (max-width: 991px) {
    .custom-navigation {
        display: none !important;
    }

    .flex-control-nav {
        left: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .home-flexslider {
        padding-top: 65%;
    }

    .flexslider .bg h3 {
        font-size: 28px;
    }

    .section__community .box .box-thumbnail {
        padding-top:  65%;
        height: auto !important;
    }
}

@media (max-width: 575px) {
    .home-flexslider {
        padding-top: 100%;
    }

    .flexslider .bg a  {
        padding: 10px 20px;
    }
}