.landing-public-mode .block-nx-mailblock-custom-modal-2-0 {
    display: none;
}

.nx-modal-form-custom .custom-ul-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

@media (min-width: 576px) {
    .nx-modal-form-custom .modal-dialog {
        max-width: 640px;
    }
    .nx-modal-form-custom:not(.is-default-view) .modal-dialog {
        max-width: 768px;
    }
}

.nx-modal-form-custom .modal-header {
    padding: 0;
}

.nx-modal-form-custom .modal-header .close{
    cursor: pointer;
    background-color: white;
    border: 2px solid black;
    border-radius: 100px;
    position: absolute;
    width: 30px;
    height: 30px;
    padding: 0;
    top: 0;
    right: 0;
    transition: transform 200ms;
    outline: none;
    opacity: 1;
}

.nx-modal-form-custom .modal-close-v {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nx-modal-form-custom .modal-close-h {
    transform: translate(-50%, -50%) rotate(135deg);
}

.nx-modal-form-custom .modal-close-h,
.nx-modal-form-custom .modal-close-v {
    background-color: black;
    display: block;
    width: 16px;
    height: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
}

.modal-default-wrap.nx-modal-form-custom .modal-content {
    background-color: #ffffff;
    border-radius: 25px;
    border-width: 0;
}

.nx-modal-form-custom .form-container .form-controls-wrap {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
}

.nx-modal-form-custom .form-container .form-controls-wrap .form-control {
    display: block;
    width: 100%;
    background-image: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

    height: auto;
    line-height: 1.5;
    box-shadow: none;
    position: relative;
    color: rgb(0, 0, 0);
    border: 0;
    border-radius: 0;
    padding: 20px 15px;
    font-size: 14px;
    cursor: initial;
    background-color: #f6f6f6;
}

.nx-modal-form-custom .required-sign-wrap,
.nx-modal-form-custom .feedback-form-notes {
    display: none;
}

.nx-modal-form-custom .checkbox input {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0 4.5px 0 0;
    line-height: 0;
    min-height: auto;
    vertical-align: middle;
    accent-color: white;
    border: 1px solid rgba(0, 0, 0, 0.25);
    position: absolute;
    transition: 300ms all;
    border-radius: 2px;
    left: 0;
    top: 0;
}

.nx-modal-form-custom .checkbox input:hover {
    border-color: rgb(255, 180, 16);
}

.nx-modal-form-custom .checkbox input:checked {
    border-color: rgb(29, 20, 0);
    accent-color: rgb(32, 22, 0);
}

.nx-modal-form-custom .checkbox {
    padding-left: 30px;
}

.nx-modal-form-custom .send-btn {
    background-color: rgb(208, 46, 38);
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 400 !important;
    padding: 25px 25px !important;
    position: relative;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
    border: none;
    border-radius: 70px;
    outline: none;
    box-shadow: 0 3.3333333333333335px 10px 0px rgba(208, 46, 38, 0.5);

    -webkit-transition: ease 0.3s;
    -o-transition: ease 0.3s;
    transition: ease 0.3s;

    overflow: hidden;
    transition-property: box-shadow, transform, color, background-color, border-color !important;
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.nx-modal-form-custom .feedback-form-block {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nx-modal-form-custom .modal-header {
    z-index: 1;
}

.nx-modal-form-custom .send-btn:after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 300px;
    margin-left: 60px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.15) 100%);
    opacity: 0.9;
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 2;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-animation-name: slidemempopup;
    animation-name: slidemempopup;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@keyframes slidemempopup {
    30% {
        left: 100%;
        transform: skewX(-45deg) translateX(50%);
    }
    100% {
        left: 100%;
        transform: skewX(-45deg) translateX(50%);
    }
}

@media (max-width: 575px) {

    .nx-modal-form-custom .modal-header .close {
        background-color: transparent;
    }

    .nx-modal-form-custom .modal-dialog {
        margin: 0 !important;
    }

    .modal-default-wrap.nx-modal-form-custom .modal-content {
        border-radius: 0;
    }

    .modal-open .nx-modal-form-custom.modal {
        padding-right: 0 !important;
    }

    .nx-modal-form-custom .modal-header .close {
        top: 15px;
        right: 15px;
        border: none;
    }
}