section.steps {
    max-width: 1140px;
    padding: 15px;
    margin: 0 auto;
}

section.steps ul,
section.steps ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

section.steps ul {
    display: none;
}

section.steps ul.active {
    display: flex;
}

section.steps h2 {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    margin-top: 38px;
}

section.steps > h2 {
    margin-top: 0px;
}

section.steps .lvl-1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
}

section.steps .lvl-2 {
    position: absolute;
    width: 100%;
    left: 0;
    flex-wrap: wrap;
    flex-direction: row;
}

section.steps .lvl-2>li {
    width: 100%;
    max-width: 33%;
}

section.steps .lvl-2>li .btn {
    width: 100%;
}

section.steps .lvl-3 {
    width: 300%;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

section.steps .lvl-3>li {
    width: 100%;
    max-width: 25%;
}

section.steps .lvl-2 li:nth-child(3n-3) .lvl-3 {
    margin-left: -100%;
}

section.steps .lvl-2 li:nth-child(3n-2) .lvl-3 {
    margin-left: -200%;
}

section.steps .btn {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #CED4DA;
    box-sizing: border-box;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #000000;
    padding: 10px 16px;
    margin: 0 12px 12px 0;
    cursor: pointer;
    display: block;
    z-index: 10;
}

section.steps .btn span {
    line-height: 0;
}

section.steps .lvl-1 .btn {
    font-size: 14px;
}

section.steps .lvl-2>li .btn {
    padding-right: 2px;
    padding-left: 40px;
    text-align: left;
}

section.steps .lvl-2>li .btn span,
section.steps .lvl-2>li .btn label {
    font-size: 10px;
    white-space: normal;
}

section.steps .lvl-2>li .btn span {
    font-size: 11px;
}

section.steps .lvl-2 .btn.dropdown-btn {
    padding-right: 40px;
    text-align: left;
}

section.steps .lvl-2 .btn {
    margin: 0;
    max-height: 59px;
    height: 100%;
}

section.steps .btn label {
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

section.steps .btn:focus,
section.steps .active.dropdown-btn {
    background: #CED4DA;
    border: 1px solid #CED4DA;
    box-shadow: -4px -4px 15px rgba(255, 255, 255, 0.5), 4px 4px 15px rgba(165, 179, 203, 0.5);
    outline: 0;
    z-index: 7;
}

section.steps .active.dropdown-btn+.lvl {
    display: flex;
}

section.steps .btn:hover {
    background: #CED4DA;
    border: 1px solid #CED4DA;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 8;
}

section.steps .btn label {
    width: 100%;
    display: block;
    margin: 0;
}

section.steps .btn.dropdown-btn {
    padding-right: 51px;
}

section.steps .btn.dropdown-btn:after {
    content: "";
    background-image: url(../img/icon-arrow.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

section.steps .checkbox-btn input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

section.steps .checkbox-btn label {
    padding-left: 30px;
}

section.steps .checkbox-btn label.item-title {
    white-space: normal;
    font-size: 11px;
    font-weight: normal;
    padding-left: 0;
    text-align: left;
    line-height: 20px;
}

section.steps .checkbox-btn .btn-checkbox {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 11px;
    background: #FFFFFF;
    border: 1px solid #CED4DA;
    box-sizing: border-box;
    border-radius: 2px;
    left: 16px;
}

section.steps .checkbox-btn .btn-checkbox:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(../img/icon-checkbox-arrow.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.2s;
}

section.steps .checkbox-btn:hover .btn-checkbox:after {
    opacity: 0.3;
}

section.steps .checkbox-btn input[type="checkbox"]:checked+.btn-checkbox:after {
    opacity: 1;
}

section.steps .text-btn,
section.steps .text-btn:hover,
section.steps .text-btn:focus {
    cursor: pointer;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    section.steps .btn {
        margin: 0 6px 6px 0;
        padding: 10px;
    }

    section.steps .btn.dropdown-btn {
        padding-right: 35px;
        width: 150px;
    }

    section.steps .lvl-2 {
        padding-top: 30px;
    }

    section.steps .lvl-2>li {
        max-width: 50%;
    }

    section.steps .lvl-3>li {
        max-width: 50%;
    }

    section.steps .lvl-3 {
        width: 200%;
    }

    section.steps .lvl-2 li:nth-child(3n-3) .lvl-3 {
        margin-left: initial;
    }

    section.steps .lvl-2 li:nth-child(3n-2) .lvl-3 {
        margin-left: initial;
    }

    section.steps .lvl-2 li:nth-child(2n-1) .lvl-3 {
        margin-left: -100%;
    }
}

@media (max-width: 478px) {
    section.steps .lvl-2 {
        padding-top: 78px;
    }
}

@media (max-width: 320px) {
    section.steps .lvl-1>li {
        width: 100%;
        max-width: 50%;
    }

    section.steps .lvl-1>li>.btn {
        margin: 0px;
    }

    section.steps .lvl-2 {
        padding-top: 70px;
    }

    section.steps .lvl-2>li {
        max-width: 100%;
    }

    section.steps .lvl-3>li {
        max-width: 100%;
    }

    section.steps .lvl-3 {
        width: 100%;
    }

    section.steps .lvl-2 li:nth-child(2n-1) .lvl-3 {
        margin-left: 0%;
    }
}