﻿.cts-container {
    max-width: 1400px;
    margin-bottom: 16px;
    position: relative;
}

.cts__block {
    margin-bottom: 42px;
}

.cts__block--pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    padding-left: 16px;
    padding-right: 16px;
}

.cts__block--tiles {
    position: relative;
}

.swiper-button-prev.hide,
.swiper-button-next.hide {
    display: none !important;
}

.cts__block--tiles > .swiper-button-prev,
.cts__block--tiles > .swiper-button-next {
    display: none;
    position: absolute;
    top: 37%;
}

.cts__block--tiles > .swiper-button-prev {
    left: -100px;
}

.cts__block--tiles > .swiper-button-next {
    right: -100px;
}

@media screen and (min-width: 768px) {
    .cts__block--tiles .swiper-button-prev,
    .cts__block--tiles .swiper-button-next {
        display: block;
    }
}

.cts__block--pagination .swiper-button-prev,
.cts__block--pagination .swiper-button-next {
    color: #00E6A1;
}

.cts__block--pagination .swiper-button-prev {
    margin-right: auto;
    margin-left: 16px;
}

.cts__block--pagination .swiper-button-next {
    margin-left: auto;
    margin-right: 16px;
}

@media screen and (min-width: 768px) {
    .cts__block--pagination .swiper-button-prev, .cts__block--pagination .swiper-button-next {
        display: none;
    }
}

.cts__block:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .swiper-container.cts__swiper,
    .cts__block--resources.swiper-wrapper {
        width: calc(100% + 8px);
        padding: 0 8px 0 4px;
        margin-left: -2px;
        margin-right: -10px;
    }
}

@media screen and (min-width: 768px) {
    .cts__block--tiles {
        margin-bottom: 36px;
    }
}

.cts__tile {
    position: relative;
    background-color: #fff;
    height: 510px;
    cursor: pointer;
    box-shadow: 3px 3px 14px 0 rgb(0 0 0 / 7%);
}

@media screen and (min-width: 768px) {
    .cts__tile {
        width: 33.3%;
        margin-right: 30px;
    }
}

.cts__tile:last-child {
    margin-right: 0;
}

.cts__tile .tile__image {
    height: 260px;
}

.cts__tile .form-group {
    margin: 8px;
}

.cts__tile .form-group label {
    line-height: 1;
    margin-top: 2px;
}

.cts__tile .form-group input[type=text] {
    height: auto;
}

.cts__tile .admin-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 3;
}

.cts__tile .admin-buttons a {
    padding: 15px;
}

.cts__tile.cts__tile--plus {
    display: flex;
}

.cts__tile.cts__tile--plus a {
    font-size: 30px;
    background-color: #efefef;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
}

.cts__tile--inactive::after {
    content: ' ';
    position: absolute;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


.cts__tile .tile__image-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
}

.cts__tile .tile__body {
    padding: 16px;
    position: relative;
    height: calc(100% - 260px);
}

@media screen and (min-width: 768px) {
    .cts__tile .tile__body {
        padding: 18px;
    }
}

.cts__tile .tile__footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    position: absolute;
    width: calc(100% - 36px);
    bottom: 18px;
}

@media screen and (min-width: 768px) {
    .cts__tile .tile__footer {
        width: calc(100% - 32px);
        bottom: 16px;
    }
}

.cts__tile .tile__footer .button {
    margin-left: auto;
}

.cts__tile-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
    color: #051219;
}

.cts__tile-summary {
    font-size: 14px;
    line-height: 18px;
    color: #6E6E6F;
    min-height: 110px;
}