@import url('https://cdn.lineicons.com/4.0/lineicons.css');

:root {
    --add-link: 17px;
    --fs: 28px;
    --w: 1363px;
    --pt: 90px;
    --pt-step: 50px;
    --pb-step: 190px;
    --p-colums: 11px 16px;
    --pw: 41px 46px;
    --gap: 29px;
    --n: 2 / 5;
    --nc: 1 / 2;
    --jc: flex-end;
    --size-label: 17px;
    --top-label: 15px;
    --h2-thanks: 40px;
    --p-thanks: 94px 46px;
    --mt-thanks: 66px;
    --mb-thanks: 130px;
}

html,
body {
    background: #f5f5f5;
}

.container {
    max-width: var(--w);
}

.breadcrumb-form {
    padding-top: var(--pt) !important;
}

.inputDnD {
    position: relative;
    background-color: #f5f5f5;
}

.inputDnD span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    color: #5b5b6d;
}

.inputDnD svg {
    color: #c61c23;
    margin-left: 5px;
}

.inputDnD .form-control-file {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 98px;
    outline: none;
    opacity: 0;
    cursor: pointer;
    background-color: #f5f5f5;
    box-shadow: 0 0 5px solid currentColor;
    z-index: 1;
}

.inputDnD:before {
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 98px;
    opacity: 1;
    visibility: visible;
    text-align: center;
    border: 0.25em dashed #979797;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    overflow: visible;
}

.inputDnD:hover:before {
    border-style: solid;
    box-shadow: inset 0px 0px 0px 0.20em #979797;
}

.form-step {
    padding-top: var(--pt-step);
    padding-bottom: var(--pb-step);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 21px;
    font-family: 'Montserrat', sans-serif;
}

.form-step .columns-steps {
    grid-column: var(--nc);
}

.form-step .form-step-actions {
    grid-column: var(--n);
}

.form-step-actions .hidden {
    display: none;
}

.form-step-actions h2 {
    font-size: var(--fs);
    font-family: 'D-DIN';
    color: #374f5b;
    padding: 10px 0;
    padding-bottom: 27px;
}

.columns-steps img {
    width: 100%;
    aspect-ratio: 251/137;
    object-fit: cover;
    border-radius: 15px;
}

.columns-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background: white;
    border-radius: 15px;
    margin-top: 23px;
    counter-reset: counter;
    overflow: hidden;
}

.columns-steps ul li {
    counter-increment: counter;
    position: relative;
    color: #888c8e;
    font-size: 17px;
    padding: var(--p-colums);
    display: flex;
    align-items: center;
    gap: 10px;
}

.columns-steps ul li:before {
    content: counter(counter);
    flex-basis: 25px;
    height: 25px;
    border: solid 3px #b1b1b1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b1b1b1;
    font-size: 16px;
    font-weight: bold;
    line-height: 15px;
}

.columns-steps ul li.active-step {
    font-weight: bold;
    color: #06a300;
}

.columns-steps ul li button {
    background: none;
    border: 0;
    outline: none;
}

.columns-steps ul li.active-step:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-weight: lighter;
    color: #06a300;
    border: solid 3px #06a300;
}

.columns-steps ul li.this-step {
    font-weight: bold;
    color: white;
    background-color: #ee1744;
}

.columns-steps ul li.this-step:before {
    color: white;
    border: solid 3px white;
}

.white-form {
    padding: var(--pw);
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);

    hr {
        margin-bottom: 25px;
        border-top: 1px solid #c9c9c9;
    }
}

.white-form [class^="col-"] {
    margin-bottom: 29px;
}

.white-form h3 {
    font-size: 20px;
    font-weight: bold;
    color: #374f5b;
}

.white-form h3 sup {
    color: #ee1744;
}

.white-form p {
    font-size: 15px;
    color: #374f5b;
}

.white-form select {
    --wbg: 17px;
    appearance: none;
    background-image: url(../img/arrow.svg) !important;
    background-repeat: no-repeat !important;
    background-size: var(--wbg) !important;
    background-position: calc(100% - var(--wbg)) center !important;
}

. parent-input {
    width: 100%;
    position: relative;
    z-index: 1;
}

.parent-input input,
.parent-input select {
    width: 100%;
    height: 55px;
    position: relative;
    border: solid 1px #c9c9c9;
    border-radius: 16px;
    outline: none;
    background: none;
    padding: 0 10px;
    font-size: 17px;
    color: #212529;
}


.parent-input label {
    position: absolute;
    font-size: var(--size-label);
    color: #212529;
    transition: .3s ease;
    left: 27px;
    top: var(--top-label);
    transition: .3s ease;
    padding: 1px 10px;
    background: white;
    z-index: -1;
}

.parent-input label sup {
    color: #ee1744;
}

.parent-input label {
    font-size: 14px;
    top: -10px;
    z-index: 1;
}

/*.parent-input input:focus~label,
.parent-input input:valid~label,
.parent-input input:not(:placeholder-shown)~label,
.parent-input select:focus~label,
.parent-input select:valid~label {
    top: -10px;
    font-size: 14px;
    z-index: 1;
}*/

.parent-input input::placeholder {
    opacity: 0;
    visibility: hidden;
    font-size: 0;
}

.col-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 33px;
    font-size: 17px;
    color: #212529;
}

.col-radios input[type="radio"] {
    accent-color: black;
    width: 18px;
    height: 18px;
}

.col-radios .radio {
    display: flex;
    align-items: center;
    gap: 14px;
}

.col-radios label {
    margin-bottom: 0;
}

.btn-red {
    max-width: 284px;
    width: 100%;
    height: 47px;
    color: white;
    background-color: #ee1744;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 30px;
    line-height: 1;
}

.col-btn {
    border-top: solid 1px #c9c9c9;
    margin-top: 10px;
    padding-top: 43px;
}

.col-btn input[type="checkbox"] {
    width: 100%;
    max-width: 18px;
    height: 18px;
    accent-color: black;
}

.col-btn label {
    font-size: 15px;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 67px;
}

.col-btn a {
    color: #0080ff;
    text-decoration: underline;
}

.btn-wrapper {
    gap: 29px;
    display: flex;
    justify-content: var(--jc);
}

.back-btn {
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 17px;
    font-weight: 600;
    color: #374f5b;
}

.add-link {
    position: relative;
    width: 100%;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #979797;
    background-color: #f5f5f5;
    border-radius: 6px;
    font-size: var(--add-link);
    color: #5b5b6d;
}

.add-link span {
    position: absolute;
    bottom: 0;
    background-color: inherit;
    transform: translateY(50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: inherit;
    font-size: 13px;
    color: #ee1744;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-this {
    text-align: center;
    font-size: 16px;
    color: #fc0000;
    text-decoration: underline;
    margin-bottom: 20px;
    display: block;
}

.parent-add {
    display: flex;
    flex-direction: column;
    gap: 29px;
    padding-top: 56px;
    border-top: solid 1px #c9c9c9;
}

.thanks-page {
    max-width: 1015px;
    padding: var(--p-thanks);
    background: white;
    border-radius: 15px;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 29px;
    margin: auto;
    margin-top: var(--mt-thanks);
    margin-bottom: var(--mb-thanks);
    font-family: 'Montserrat', sans-serif;
}

.thanks-page h2 {
    font-family: 'D-DIN';
    font-size: var(--h2-thanks);
    color: #374f5b;
}

.thanks-page p {
    font-size: 17px;
    color: #212529;
    max-width: 585px;
    width: 100%;
}

.thanks-page a {
    max-width: 284px;
    width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: #ee1744;
    font-size: 17px;
    font-weight: 600;
    color: white;
}

input[type=number]::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 1100px) {
    .form-step .columns-steps {
        --nc: 1 / 5;
    }

    .form-step .form-step-actions {
        --n: 1 / 5;
    }

    .columns-steps img {
        display: none;
    }

    .columns-steps ul {
        display: flex;
        justify-content: space-between;
    }

    .columns-steps ul li {
        --p-colums: 11px 28px;
        justify-content: center;
        width: 100%;
    }

    .columns-steps ul li span {
        display: none;
    }
}

@media (max-width: 960px) {
    .breadcrumb-form {
        --pt: 0px;
    }

    .form-step {
        --pt-step: 0;
        --pb-step: 58px;
    }

    .form-step-actions h2 {
        --fs: 21px;
    }
}

@media (max-width: 680px) {
    .white-form {
        --pw: 28px 20px;
        --gap: 15px;
    }

    .btn-red span {
        display: none;
    }

    .btn-wrapper {
        --jc: center;
    }

    .parent-input label {
        --size-label: 14px;
        --top-label: 17px;
    }

    .add-link {
        --add-link: 15px;
    }

    .thanks-page {
        --p-thanks: 52px 46px;
        --mt-thanks: 40px;
        --mb-thanks: 40px;
    }

    .thanks-page h2 {
        --h2-thanks: 30px;
    }
}