﻿.acc-types {
    /*padding: 100px 0;
        background: #F4F7FB;*/
}

.table-wrap::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.acc-types .title {
    font-weight: 500;
    font-size: 50px;
    line-height: 112%;
    color: #000;
    margin-bottom: 40px;
}

.acc-types table {
    min-width: 100%;
}

    .acc-types table td {
        width: 25%;
        min-width: 214px;
        text-align: center;
        font-size: 21px;
        line-height: 1;
        color: #000;
        background: #357ebf;
        padding: 20px 15px;
    }

        .acc-types table td:not(:last-child) {
            border-right: 2px solid #fff;
        }

    .acc-types table th {
        min-width: 307px;
        background: #F4F7FB;
        position: sticky;
        left: 0;
        z-index: 2;
        font-weight: 500;
        font-size: 24px;
        line-height: 100%;
        color: #070417;
        vertical-align: top;
        padding: 20px 35px;
    }

    .acc-types table td:first-of-type,
    .acc-types table tr:first-child td:first-of-type:before {
        background: #dfedf1;
    }

    .acc-types table td:nth-of-type(2),
    .acc-types table tr:first-child td:nth-of-type(2):before {
        background: #b6e3ed;
    }

    .acc-types table td:nth-of-type(3),
    .acc-types table tr:first-child td:nth-of-type(3):before {
        background: #05b3d7;
    }

    .acc-types table td:nth-of-type(4),
    .acc-types table tr:first-child td:nth-of-type(4):before {
        background: #058cd7;
    }

    .acc-types table td:nth-of-type(5),
    .acc-types table tr:first-child td:nth-of-type(5):before {
        background: #058cd7;
    }

    .acc-types table tr:nth-child(even) th,
    .acc-types table tr:nth-child(even) td {
        background: #fff;
    }


    .acc-types table tr:first-child td {
        position: relative;
        z-index: 1;
        background: transparent;
        /*padding: 35px;*/
        font-size: 16px;
        color: #070417;
    }

        .acc-types table tr:first-child td .ttl {
            display: block;
            font-weight: 500;
            font-size: 24px;
            line-height: 1;
            color: #070417;
            margin-top: 14px;
        }

        .acc-types table tr:first-child td:before {
            content: '';
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background: #357ebf;
            border-radius: 16px 16px 0 0;
            z-index: -1;
        }


@media(min-width: 1920.1px) {
    .acc-types .wrapper {
        max-width: 1555px;
    }
}

@media (max-width: 1920px) {
    .acc-types .title {
        font-size: 40px;
    }
}

@media (max-width: 1440px) {
    .acc-types table th {
        min-width: 220px;
        font-size: 20px;
        padding: 20px;
    }

    .acc-types table td {
        font-size: 18px;
    }
}

@media (max-width: 1280px) {
    .acc-types .title {
        margin-bottom: 30px;
    }

    .acc-types table td {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .acc-types .table-wrap {
        overflow-x: auto;
    }

    .acc-types .title {
        font-size: 50px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .acc-types .title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .acc-types .title {
        font-size: 30px;
    }

    .acc-types table th {
        min-width: 140px;
        font-size: 16px;
        padding: 20px 5px;
    }
}

@media (max-width: 380px) {
    .acc-types table td {
        min-width: 180px;
        font-size: 15px;
        padding: 20px 5px;
    }
}

.acc-types .table-btns-control {
    /*position: fixed;
    top: 60%;*/
    transform: translateY(-50%);
    right: 0;
    /*background-color: #F4F7FB;*/
    width: 380px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 11;
}

    .acc-types .table-btns-control button:disabled {
        opacity: .5;
    }

    .acc-types .table-btns-control button {
        transition: all ease-in-out .4s;
    }

.btn-reset {
    border: none;
    padding: 0;
    background: 0 0;
    cursor: pointer;
}

.acc-types .btn-left svg {
    transform: rotate(180deg);
}

@media (max-width: 1440px) {
    .acc-types .table-btns-control {
        padding: 0 5px;
    }

        .acc-types .table-btns-control button svg {
            transition: all ease-in-out .4s;
            width: 35px;
            height: 35px;
        }
}

@media (max-width: 1920px) {
    .acc-types .table-btns-control {
        gap: 10px;
        width: 100%;
        height: inherit;
        background-color: transparent;
        justify-content: space-between;
        padding: 0 16px;
    }
}

@media (max-width: 2400px) {
    .acc-types .table-btns-control {
        width: 100%;
    }
}
