.rd-popup-overlay {
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999999;
    display: none;
    width: 100%;
    padding: 0;
    left: 0;
    top: 0;
}

.rd-popup-overlay.close {
    display: none;
}

.rd-popup-overlay .form-left {
    padding: 40px 40px 80px 80px;
}

.rd-popup-overlay .form-left,
.rd-popup-overlay .form-left a {
    color: #fff;
}

.rd-popup-overlay .form-right {
    background-image: url(image/bg-poupup.jpg);
    background-repeat: no-repeat;
    background-position: center;
    justify-content: center;
    background-size: cover;
    flex-direction: column;
    align-items: center;
    position: relative;
    display: flex;
    height: 100vh;
}

.rd-popup-overlay .form-right h2 {
    font-size: 26px;
    color: #FFF;
    margin: 0;
}

.rd-popup-overlay .form-right h3 {
    font-size: 70px;
    color: #FFF;
    margin: 0;
}

.rd-popup-overlay .form-right .logo {
    justify-content: center;
    position: absolute;
    display: flex;
    bottom: 40px;
    width: 100%;
}

.rd-popup-overlay .form-right .logo img {
    filter: invert(1);
}

.rd-popup-content {
    background: transparent;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.rd-popup-close {
    position: absolute;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    color: #FFF;
    right: 20px;
    z-index: 9;
    top: 20px;
    width: 40px;
    height: 40px;
    display: flex;
}

.rd-popup-close:hover {
    color: #000;
}

.rd-form-container .required {
    color: #ff062f;
}

.rd-form-container p {
    font-weight: regular;
    font-size: 12px;
    color: #fff;
}

.rd-form-container label.form-label {
    font-weight: regular;
    font-size: 14px;
}

.rd-form-container label.form-label {
    margin-top: 20px;
    color: #c07800;
}

.rd-form-container .checkbox-item>label {
    font-size: 14px;
    display: block;
    color: #fff;
}

.rd-form-container input[type="checkbox"] {
    margin-right: 10px;
}

.btn-poupup {
    background-color: #ff062f;
    border: 1px solid #ff062f;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    border: none;
}

.btn-poupup:hover {
    border: 1px solid #ff062f;
    color: #ff062f !important;
    background-color: #000;
}

.rd-popup-overlay .btn-poupup,
.rd-popup-overlay .form-control,
.rd-popup-overlay select.form-control {
    border-radius: 0;
    height: 40px;
}

.rd-popup-overlay .form-control-select {
    border-radius: 0;
    height: 40px;
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-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;
}

#rd-form-mnsxg3pc .bricks-form__fieldset .with-select-flags .select2-container {
    background-color: #FFF;
    min-width: 150px;
}

#rd-form-mnsxg3pc .bricks-form__fieldset .with-select-flags .select2-selection__rendered {
    line-height: 36px;
    text-indent: 10px;
    font-size: 14px;
}

/* Responsivo */

@media(min-width: 992px) {

    .rd-popup-overlay {
        position: absolute;
        min-height: 100vh;
        overflow: hidden;
    }

    .rd-popup-close {
        position: fixed;
        font-size: 40px;
        right: 30px;
        top: 30px;
    }

    .rd-popup-overlay .form-right {
        position: fixed;
        height: 100vh;
        width: 50%;
        right: 0;
        top: 0;
    }

    .form-columns-2 {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        display: grid;
    }
}

@media (max-width: 992px) {
    .rd-popup-overlay .rd-popup-content {
        overflow: hidden;
        overflow-y: auto;
        height: 100vh;
    }

    .rd-popup-overlay .rd-form-container {
        padding-bottom: 30vh;
        height: 120vh;
    }

    .rd-popup-overlay .form-left {
        padding: 20px;
    }

    .rd-popup-overlay .form-right {
        min-height: 300px;
        padding: 20px;
        height: auto;
    }

    .rd-popup-overlay .form-right::before {
        background-color: black;
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: -1;
    }

    .rd-popup-overlay .form-right .logo img {
        max-width: 180px;
    }

    .form-columns-2 {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 10px;
        display: grid;
    }
}

@media(min-width: 992px) {
    #rd-form-mnsxg3pc .bricks-form__fieldset {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        height: fit-content;
        grid-row-gap: 20px;
        display: grid;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(1) {
        grid-area: 1 / 1 / 2 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    /* #rd-form-mnsxg3pc .bricks-form__field:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    } */

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) {
        grid-area: 3 / 1 / 4 / 3;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
        display: grid !important;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4)>.bricks-form__label {
        grid-area: 1 / 1 / 2 / 3;
        display: grid !important;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(1) {
        grid-area: 2 / 1 / 3 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(4) {
        grid-area: 3 / 1 / 4 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(5) {
        grid-area: 3 / 2 / 4 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(6) {
        grid-area: 4 / 1 / 5 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(7) {
        grid-area: 4 / 2 / 5 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(8) {
        grid-area: 5 / 1 / 6 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(4) .bricks-form__field__option:nth-child(9) {
        grid-area: 5 / 2 / 6 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(5) {
        grid-area: 4 / 1 / 5 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) {
        grid-area: 5 / 1 / 6 / 3;
        display: grid !important;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6)>.bricks-form__label {
        grid-area: 1 / 1 / 2 / 3;
        display: grid !important;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) .bricks-form__field__option:nth-child(1) {
        grid-area: 2 / 1 / 3 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) .bricks-form__field__option:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) .bricks-form__field__option:nth-child(3) {
        grid-area: 2 / 2 / 3 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) .bricks-form__field__option:nth-child(4) {
        grid-area: 3 / 1 / 4 / 2;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(6) .bricks-form__field__option:nth-child(5) {
        grid-area: 3 / 2 / 4 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(7) {
        grid-area: 6 / 1 / 7 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(8) {
        grid-area: 7 / 1 / 8 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(9) {
        grid-area: 8 / 1 / 9 / 3;
    }

    #rd-form-mnsxg3pc .bricks-form__field:nth-child(10) {
        grid-area: 9 / 1 / 10 / 3;
    }
}

@media(max-width: 991px) {
    #rd-form-mnsxg3pc .bricks-form__fieldset {
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 20px;
        height: fit-content;
        grid-row-gap: 20px;
        display: grid;
    }
}