html, body {
    background-image: url("../images/Form-BG.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

    select,
    textarea,
    input {
        font-size: 16px;
    }
}

.header {
    height: 12%;
    padding: 0;
    margin: 0;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    max-height: 400px;
    background-color: white;
}

.header>div.container {
    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#left-logo {
    height: 60%;
    width: 100%;
    background-image: url("../images/Logos/MC.png");
    background-position: center;
    background-repeat: no-repeat;
}

.error-text {
    color: #ffd12e;
}

#center-logo {
    height: 60%;
    width: 100%;
    background-image: url("../images/Logos/RCMC.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#right-logo {
    height: 60%;
    width: 100%;
    background-image: url("../images/Logos/ND92.png");
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.event-checkbox-wrapper {
    margin: 0;
}

.event-checkbox-col:first-child {
    text-align: right !important;
}

.event-checkbox-col:nth-child(2) {
    text-align: center !important;
}

.event-checkbox-col:last-child {
    text-align: left !important;
}

.text-custom-success {
    color: #acc458;
}

input[type=checkbox] {
    accent-color: #acc458;
}

input.custom-checkbox+label {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: orange;
    border: 2px solid #acc458;
    border-radius: 2px;
    cursor: pointer;
}

input.custom-checkbox:checked+label:after {
    position: relative;
    top: -4px;
    left: 2px;
    color: #acc458;
    content: '\2714';
    font-size: 14px;
}

input.custom-checkbox {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.select2-selection__rendered {
    font-size: .8rem;
    border-radius: 0 !important;
    line-height: 31px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
    border: 1px solid #acc458 !important;
    border-radius: 0 !important;
    background-color: #0d4c40 !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #198471 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
    line-height: 28px;
}

input.form-control {
    color: white !important;
    background-color: #0d4c40 !important;
}

input.form-control:focus {
    outline: none !important;
    border: 1px solid white;
    box-shadow: 0 0 10px white;
}

label[for="policy"] {
    color: white;
    font-family: "rb-regular";
}

label.col-form-label {
    color: white;
    font-family: "rb-bold";
}

label>span {
    cursor: pointer;
    color: #acc458;
    text-decoration: underline;
}

input.form-control::placeholder {
    color: #198471 !important;
}

.form-control {
    font-size: .8rem;
    height: 36px !important;
}

.input-group-text {
    color: white;
    border: none;
    background-color: #0d4c40;
    padding: .205rem .60rem !important;
}

#confirm-btn {
    color: white;
    border-radius: 0;
    font-weight: bolder;
    font-family: "rb-bold";
    border: 1px solid white;
    background-color: #acc458;
}

#confirm-btn:hover {
    color: white;
    border-radius: 0;
    font-weight: bolder;
    font-family: "rb-bold";
    border: 1px solid white;
    background-color: #0d4c40;
}

input.form-control {
    border-radius: 0;
    border: 1px solid #acc458;
}

.input-group-append {
    border-radius: 0;
    border-top: 1px solid #acc458;
    border-left: 1px solid #acc458;
    border-bottom: 1px solid #acc458;
}

.form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.input-group-text {
    border-radius: 0;
}

.flatpickr {
    text-align: right !important;
}

#policy-title {
    text-align: justify;
    font-size: .8rem;
    font-family: "rb-bold";
    color: #acc458;
}

.policies {}

.policies>li {
    font-family: rb-regular;
    font-size: .7rem;
    text-align: justify;
    word-wrap: break-word;
}

#swal2-title {
    font-size: .9rem;
    font-family: "rb-regular";
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .header {
        height: 10%;
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: center;
        max-height: 400px;
        background-color: white;
    }

    .header>div.container {
        height: 85%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #center-logo {
        object-fit: contain;
    }

    #left-logo {
        background-size: auto 100%;
    }

    #right-logo {
        background-size: 100% 100%;
    }

    .event-checkbox-wrapper {
        margin: 5px 0;
    }

    .row {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .form-group {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .event-checkbox-col:first-child {
        margin: 0 0 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:nth-child(2) {
        margin: 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:last-child {
        margin: 5px 0;
        text-align: right !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .header {
        height: 10%;
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: center;
        max-height: 400px;
        border-bottom: 1px solid grey;
        background-color: white;
    }

    .header>div.container {
        height: 85%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #center-logo {
        object-fit: contain;
    }

    #left-logo {
        object-fit: contain;
    }

    #right-logo {
        object-fit: contain;
    }

    .event-checkbox-wrapper {
        margin: 5px 0;
    }

    .row {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .form-group {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .event-checkbox-col:first-child {
        margin: 0 0 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:nth-child(2) {
        margin: 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:last-child {
        margin: 5px 0;
        text-align: right !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #center-logo {
        object-fit: contain;
    }

    #left-logo {
        object-fit: contain;
    }

    #right-logo {
        object-fit: contain;
    }

    .event-checkbox-wrapper {
        margin: 5px 0;
    }

    .row {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .form-group {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .event-checkbox-col:first-child {
        margin: 0 0 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:nth-child(2) {
        margin: 5px 0;
        text-align: right !important;
    }

    .event-checkbox-col:last-child {
        margin: 5px 0;
        text-align: right !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #center-logo {
        object-fit: contain;
    }

    #left-logo {
        object-fit: contain;
    }

    #right-logo {
        object-fit: contain;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #center-logo {
        object-fit: contain;
    }

    #left-logo {
        background-size: auto 100%;
    }

    #right-logo {
        background-size: auto 100%;
    }
}
