/*
Custom page: Dang ky
*/

.c-dangky {
    padding-bottom: 0 !important;
}

.c-dangky .col-inner > .stack > .img:nth-child(1) {
    max-width: 346px;
}

.c-dangky .col-inner > .stack > .img:nth-child(2) {
    max-width: 504px;
}

.page-id-1142 .c-dangky .col-inner > .stack > .img:nth-child(2),
.c-dangky .col-inner > .stack > .img:nth-child(6) {
    max-width: 381px;
}

.c-dangky .col-inner > .stack > .box .box-image {
    max-width: 200px;
}

.c-dangky .col-inner > .stack > .box .box-text {
    padding: 0;
}

.c-dangky .col-inner > .stack > .divider {
    background: rgb(212, 199, 103);
    background: radial-gradient(
            circle,
            rgba(212, 199, 103, 1) 0%,
            rgb(40 30 21) 86%
    );
    max-width: 384px !important;
    margin: 25px 0px 8px 0px !important;
}

.page-id-1142 .c-dangky .col-inner > .stack > .divider {
    margin: 5px 0px 8px 0px !important;
}

.page-id-1142 .c-dangky .col-inner > .stack > .divider:nth-child(3),
.c-dangky .col-inner > .stack > .divider:nth-child(7) {
    margin: 8px 0px 15px 0px !important;
}

.c-dangky .col-inner > .stack > .img:nth-child(8) {
    max-width: 295px;
}

.c-dangky-form-wrap {
    background-image: url("/wp-content/uploads/2024/03/bg-form.webp");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 590px;
    height: 328px;
    margin: auto;
}

.title_signup {
    position: absolute;
    top: 19% !important;
}

@media only screen and (max-width: 600px) {
    .c-dangky-form-wrap {
        max-width: -webkit-fill-available;
    }
}

@media only screen and (min-width: 450px) {
    .c-dangky-form-wrap {
        position: relative;
        top: 50%;
        left: auto;
        right: auto;
    }

    .title_signup {
        top: 6% !important;
    }
}

@media only screen and (min-height: 450px) {
    .title_signup {
        top: 6% !important;
    }
}

.c-dangky-form-wrap > .img:nth-child(2) {
    max-width: 177px;
}

.c-dangky-form .icon_element_outer_alignleft {
    position: absolute;
    top: 0px;
    left: 15px;
    cursor: pointer;
}

.c-dangky-form .form-group {
    position: relative;
}

.c-dangky-form .form-group:nth-child(2) .icon_element_outer_alignleft:last-child {
    left: unset;
    right: 15px;
}

.c-dangky-form .btn_link {
    margin-top: 5px !important;
    text-align: center;
    font-size: 13px;
}

.c-dangky-form .btn_link a {
    color: #e7c985;
}

.c-dangky-form .btn_form {
    text-align: center;
}

.c-dangky-form [type="submit"] {
    width: 268px;
    padding: 0;
}

.c-dangky-form {
    width: 70%;
}

.c-dangky-form .form-control:focus {
    border-radius: 13px;
}

.c-dangky-form .form-control {
    height: 55px;
    background: url(/wp-content/uploads/2024/03/bg-input.webp) center no-repeat !important;
    background-size: 100% 100% !important;
    border: none !important;
    outline: 0 !important;
    margin: 0 auto;
    padding-right: 45px;
    padding-left: 45px;
    font-size: 16px;
    color: #ffcc7e !important;
    border-radius: 0;
    text-align: center;
}

.c-dangky-form .error {
    margin-bottom: -0.8rem;
    color: red;
    width: 100%;
    text-align: center;
    display: block;
}

#alert-modal .btn-close {
    background-image: url(/wp-content/uploads/2024/03/icon_close.webp);
    background-size: 100% 100%;
    background-color: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    right: 0;
    top: -37px !important;
}

#alert-modal h4 {
    color: #ffe400;
    text-transform: uppercase;
    text-align: center;
}

#alert-modal p {
    margin-bottom: 0;
    color: #f20000;
    font-weight: bold;
    text-align: center;
}

#alert-modal {
    padding: 20px 15px;
    background: linear-gradient(
            180deg,
            #7d5105 0,
            #382303 15%,
            #140c02 40%,
            #1c1202 70%,
            #261901 100%
    );
    border: 2px solid #c3ad61;
    border-radius: 10px;
}