.reg-form {
    background: #FFFF;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 556px;
    text-align: center;
    border: navajowhite;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    color: #000;
    font-family: 'Trebuchet MS', sans-serif;
}

.default-form-grid__form .reg-form {
    background: #BA222C;
    color: #fff;
}

.fancybox-inner .reg-form {
    width: 580px;
    max-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px;
}

h2.reg-form-heading {
    margin: 0;
    font-size: 36px;
    font-weight: 400;
}

.reg-form-title {
    font-family: "Trebuchet MS";
    text-transform: uppercase;
    font-weight: normal;
    margin: 5px 0 20px;
}

.reg-form-block {
    display: grid;
    flex-direction: row;
    gap: 14px;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.reg-form-block--or {
    color: #C4C4C4;
}

.default-form-grid__form .reg-form-block--or {
    color: inherit;
}

.reg-form-block a {
    color: inherit;
    font-weight: 600;
}

.reg-form-block--small-gap {
    margin: -0.5em 0;
}

.reg-form-block input[type=text], .reg-form-block input[type=email], .reg-form-block input[type=password], .reg-form-block input[type=date], .reg-form-block select, .reg-form-block .input-wrap .date-placeholder {
    box-sizing: border-box;
    width: 100%;
    font-size: 20px;
    line-height: 3em;
    border: 1px solid #B7B7B7 !important;
    background: #ffffff;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    color: #2F2F2F;
    font-weight: 400;
    flex: 1;
    outline: none !important;
    height: 3em;
    margin-right: 0;
    text-align: center;
    font-family: inherit;
    border-radius: 4px;
}
.default-form-grid__form .reg-form-block input[type=text], .default-form-grid__form .reg-form-block input[type=email], .default-form-grid__form .reg-form-block input[type=password],
.default-form-grid__form .reg-form-block input[type=date], .default-form-grid__form .reg-form-block select, .default-form-grid__form .reg-form-block .input-wrap .date-placeholder {
    border: none !important;
}
.reg-form-block input::placeholder {
    color: inherit!important;
}
.reg-form-block .input-wrap {
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}
.reg-form-block .input-wrap--labeled {
    overflow: visible;
}
.reg-form-block .input-wrap--labeled label {
    position: absolute;
    top: 0;
    font-size: 24px;
    font-weight: 700;
    left: 10px;
    transform: translateY(-50%);
    z-index: 1;
    padding: 0 5px;
    background: #fff
}
.reg-form-block .input-wrap > input, .reg-form-block .input-wrap > select, .reg-form-block .input-wrap .date-placeholder  {
    flex: 1;
    padding: 0 2ex;
}
.reg-form-block .input-wrap > select {
    padding-right: 30px;
    text-overflow: ellipsis;
}
.reg-form-block .input-wrap > select option {
    text-align: center;
}
.input-wrap__select-chevron {
    position: absolute;
    width: 13px;
    height: 8px;
    right: 13px;
    transform: scaleY(-1);
    pointer-events: none;
    color: #2F2F2F;
}
.reg-form-block .input-wrap select:focus + .input-wrap__select-chevron {
    color: #FFF;
}
.reg-form-block .input-wrap:has(select:open) .input-wrap__select-chevron {
    transform: scaleY(1);
}
.reg-form-block .input-wrap__icon {
    display: inline-flex;
    flex: 0 0 30px;
    color: #B7B7B7;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.reg-form-block .input-wrap__icon--interactive {
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
}
.reg-form-block .input-wrap__icon svg {
    height: auto;
    width: 30px;
}
.reg-form-block .input-wrap .date-placeholder {
    width: auto;
}
.input-wrap--w-placeholder input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}
.input-wrap--w-placeholder input:focus, .input-wrap--w-placeholder input:valid {
    opacity: 1;
    pointer-events: auto;
    position: static;
}
.reg-form-block .input-wrap input:focus + .date-placeholder,
.reg-form-block .input-wrap input:valid + .date-placeholder{
    display: none;
}
.reg-form-block small {
    font-size: 15px;
}
.reg-form-register {
    box-sizing: border-box;
    width: auto;
    line-height: 1;
    box-shadow: 0 0 4px #00000040;
    border: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    color: #fff;
    font-weight: 600;
    font-size: 24px;
    padding: 17px 3ex;
    border-radius: 4px;
    background: #BA222C;
    font-family: inherit;
}

.reg-form-register:hover {
    background-color: #ff2d5e;
}

.default-form-grid__form .reg-form-register {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    color: #000;
}

.default-form-grid__form .reg-form-register:hover {
    background-color: #cdcdcd;
}

.social-reg-form {
    box-sizing: border-box;
    border: 1px solid #fff;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    margin-right: 2%;
    font-weight: 500;
    font-size: 24px;
    line-height: 56px;
    height: 56px;
    padding: 0 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    font-family: inherit;
    box-shadow: 0 0 4px #00000040;
}

.social-reg-form:hover {
    box-shadow: none;
    background: #D9D9D9;
}

.social-reg-form:last-child {
    margin-right: 0;
}

.fb-reg-form {
    background: #4c72bb;
    color: #fff;
}

.google-reg-form {
    background-color: transparent;
    color: inherit;
}

.fb-reg-form .icon-fb-f {
    margin-right: 10px;
}

#formloginout .fb-reg-form, #OnPageLoginForm .fb-reg-form {
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    padding-left: 0;
    padding-right: 0;
}

#formloginout .btn, #OnPageLoginForm .btn {
    font-size: 12px;
}

.strike-behind {
    position: relative;
    text-align: center;
}

.strike-behind::after {
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 50%;
    background: #e8e8e8;
    width: 100%;
}

.strike-behind span {
    padding: 0 3ex;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.reg-color-a {
    color: #777777;
}

.sign-in-form-grid {
    display: grid;
    grid-template-areas:
        "form picture"
        "form picture";
    width: auto;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100dvh;
    position: relative;
    font-family: 'Trebuchet MS', sans-serif;
}

.sign-in-form-grid__slogan {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1em;
    color: #202020;
}

.sign-in-form-grid__form {
    grid-area: form;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 77px;
}

.sign-in-form-grid__picture {
    grid-area: picture;
    display: flex;
    background-color: #000;
    color: #fff;
    position: relative;
}

.sign-in-form-grid__picture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sign-in-form-grid .reg-form {
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 471px;
    margin-bottom: 35px;
}

.sign-in-form-grid .google-reg-form .icon-google-g {
    width: 32px;
    height: 32px
}
.sign-in-form-grid  .social-reg-form, .fancybox-inner .social-reg-form {
    width: 100%;
    justify-content: center;
}
.reg-form-agree-block {
    font-size: 16px;
    text-align: left;
}
.reg-form-agree-block-input {
    outline: none!important;
    padding: 0;
    margin: 0;
    width: 22px;
    height: 22px;
}
.reg-form-agree-block-caption {
    user-select: none;
    font-weight: 400;
}
.reg-form-agree-block-caption a {
    color: inherit;
    text-decoration: underline;
    font-weight: 400;
}
.reg-form-block.reg-form-block--remind {
    color: #EC6671;
    text-align: right;
}

.reg-form-block--reg-link {
    text-align: left;
}
.reg-form-block--reg-link a {
    color: #BA222C;
    font-weight: 700;
    font-size: 1.2em;
}
.sign-in-form-grid__logo {
    position: absolute;
    left: 30px;
    top: 30px;
    color: #BA222C;
    z-index: 1;
}
.sign-in-form-grid__logo svg {
    width: 200px;
    height:auto;
}

.sign-in-form-grid__legal {
    position: absolute;
    bottom: 20px;
    left: 30px;
    display: flex;
    font-size: 16px;
    gap: 2ex;
}

.sign-in-form-grid__legal a {
    color: #BA222C;
    text-decoration: underline;
}

.sign-in-form-grid__copyright {
    position: absolute;
    left: 30px;
    bottom: 20px;
    font-size: 18px;
    z-index: 2;
}

.sign-in-form-grid__social {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.sign-in-form-grid__social a {
    color: inherit;
}
.sign-in-form-grid__social a svg {
    width: 27px;
    height: 27px;
}
@media (max-width: 1230px) {
    .sign-in-form-grid {
        grid-template-areas:
            "picture"
            "form";
        grid-template-columns: 100%;
        padding: 0;
    }
    .sign-in-form-grid__picture::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 50%;
        background: linear-gradient(to bottom, #0000, #000f);
        z-index: 1;
    }
    .sign-in-form-grid__picture-img-wrap {
    }
    .sign-in-form-grid__picture-img {
        width: 100%;
        height: auto;
    }
    .sign-in-form-grid__slogan {
        font-size: 28px;
        margin: 0em 0 1em;
    }
    .container--main {
        margin-top: 20px;
    }
    .sign-in-form-grid__slogan-badge {
        display: none;
    }
    .sign-in-form-grid__form .reg-form {
        padding-bottom: 100px;
        box-shadow: none;
        margin: 0;
    }
    .sign-in-form-grid__form {
        padding: 20px;
    }
    .reg-form-block input[type=text], .reg-form-block input[type=email], .reg-form-block input[type=password], .reg-form-block input[type=date], .reg-form-block select, .reg-form-block .input-wrap .date-placeholder {
        font-size: 20px;
    }
    h2.reg-form-heading {
        font-size: 22px;
    }
    .fancybox-inner .reg-form {
        padding: 10px;
    }
    .reg-form-agree-block {
        font-size: 14px;
    }
    .sign-in-form-grid__logo {
        color: #fff;
        left: 10px;
        top: 10px
    }
    .sign-in-form-grid__logo svg {
        width: 105px;
    }
    .sign-in-form-grid__social {
        bottom: 12px;
        z-index: 2;
    }
    .sign-in-form-grid__legal {
        left: 20px;
        right: 20px;
        justify-content: space-between;
    }
    .sign-in-form-grid__legal a {
        color: #c2c2c2;
    }
    .reg-form-block .input-wrap--labeled label {
        font-size: 20px;
    }
    .sign-in-form-grid__copyright {
        font-size: 15px;
    }
}