body {
    background: var(--light-l4) url(../img/ereg-bg-1920px.jpg) no-repeat top right;
    background-size: 100% auto;
    min-height: 100vh;
    padding-top: 140px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size:16px;
    color: var(--dark-d4);
}

@media only screen and (max-width : 1600px) {
    body {
        background-image: url(../img/ereg-bg.jpg);
    }
}

#formArea {
    min-height: 453px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.08);
    padding: 100px 30px 50px;
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    max-width: 420px;
    padding: 0 60px 20px;
    border-bottom: 1px solid var(--light-l4);
    margin-bottom: 22px;
}

    .logo img {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

.bigTitle {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 21px;
}

.subTitle {
    font-size: 16px;
    color: var(--primary-l2);
    margin-bottom: 40px;
}

#eregForm {
    width: 58.7%;
    max-width: 570px;
    margin: 0 auto;
    position: relative;
}

    #eregForm form {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .g-recaptcha{
        padding-top: 20px;
    }
    #eregForm input {
        flex-grow: 1;
        height: 56px;
        border-radius: 5px;
        margin-right: 15px;
        color: var(--primary);
        padding: 20px;
        opacity: 1;
        background: var(--light-l2);
        border: 0;
        opacity: 0.4;
    }

        #eregForm input:focus, #eregForm input:active {
            outline: 0;
            border: 1px solid var(--primary);
            box-shadow: 0px 0px 10px rgba(35, 160, 226, 0.4);
            filter: drop-shadow(0px 0px 10px rgba(35, 160, 226, 0.4));
            opacity: 1;
            background: var(--white);
        }

        #eregForm input.error {
            border: 1px solid var(--danger);
            box-shadow: 0px 0px 10px rgba(255, 69, 69, 0.4);
            filter: drop-shadow(0px 0px 10px rgba(255, 69, 69, 0.4));
            opacity: 1;
        }

    #eregForm button {
        width: 150px;
        height: 56px;
        border-radius: 5px;
        background: var(--dark);
        color: var(--white);
        flex-grow: 0;
        flex-shrink: 0;
        border: 0;
    }

    #eregForm .errorMsg {
        position: absolute;
        left: 0;
        bottom: -20px;
        line-height: 16px;
        font-size: 14px;
        color: var(--danger);
        display: none;
    }

.formSubText {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary);
    margin-bottom: 100px;
}

#rsvpMedProSearchForm{
    min-height: 453px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
}

#rsvpMedProSearchForm .form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

#rsvpMedProSearchForm .form-row {
    display: flex;
    gap: 20px;
}

#rsvpMedProSearchForm .form-field {
    flex: 1;
    text-align: left;
}

#rsvpMedProSearchForm .form-field input,
#rsvpMedProSearchForm .form-field cx-input {
    width: 100%;
    height: 56px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
    color: var(--primary);
    font-size: 1em;
    font-weight: 400;
}

#rsvpMedProSearchForm .form-field input::placeholder {
    color: #6c757d;
    font-size: 1em;
}

#rsvpMedProSearchForm .form-field input.error {
    border: 1px solid var(--danger);
    box-shadow: 0px 0px 10px rgba(255, 69, 69, 0.4);
}

 #rsvpMedProSearchForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Remove default validation icons */
#rsvpMedProSearchForm input:valid {
    background-image: none !important;
}

/* Ensure our custom invalid state takes precedence */
#rsvpMedProSearchForm input.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='5.5' stroke='%23dc3545'/%3e%3cpath stroke='%23dc3545' d='M6 3v3.5'/%3e%3ccircle cx='6' cy='8.5' r='0.5' fill='%23dc3545'/%3e%3c/svg%3e") !important;
    border: 1px solid var(--danger);
}

#rsvpMedProSearchForm .search-instruction.error {
    color: var(--danger);
    text-align: left;
}

#rsvpMedProSearchForm .divider {
    color: var(--primary-l2);
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    font-weight: 700;
}

#rsvpMedProSearchForm .search-instruction {
    color: var(--primary-l2);
    margin-bottom: 5px;
    font-size: 16px;
    text-align: left;
}

#rsvpMedProSearchForm .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

#rsvpMedProSearchForm .employee-section-text,
#rsvpMedProSearchForm .no-selected-profile-text {
    color: var(--primary-l2);
}

span .text-decoration-underline,
#rsvpMedProSearchForm .register-link {
    color: var(--primary);
    text-decoration: underline;
}

#rsvpMedProSearchForm .search-btn {
    width: 270px;
    height: 56px;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    background: var(--dark);
    color: white;
    font-size: 16px;
}

#rsvpMedProSearchForm .search-results-section {
    margin-top: 30px;
}

#rsvpMedProSearchForm .search-results-section .results-list {
    color: var(--primary);
    line-height: 22px;
}

#rsvpMedProSearchForm .search-results-section .divider {
    border: none;
    border-top: 1px solid #E5E5E5;
    margin: 15px 0;
}

#rsvpMedProSearchForm .search-results-section .error-message {
    color: var(--danger);
    margin: 0 0 35px;
    text-align: center;
    white-space: pre-line;
    font-size: 16px;
}

#rsvpMedProSearchForm .profile-details span {
    text-decoration: underline;
}

#rsvpMedProSearchForm .profile-count {
    color: var(--primary);
    text-align: right;
    font-size: 16px;
}

#rsvpMedProSearchForm .profile-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    text-align: left !important;
    color: var(--primary);
}

#rsvpMedProSearchForm .profile-details {
    flex: 1;
    padding-right: 20px;
}

#rsvpMedProSearchForm .profile-address {
    margin-left: 8px;
}

#rsvpMedProSearchForm .profile-name {
    color: var(--primary);
    font-weight: 700;
}

#rsvpMedProSearchForm .select-btn {
    background: var(--success);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    min-width: 120px;
}

#rsvpMedProSearchForm .add-profile-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
}

#rsvpMedProSearchForm .new-profile-btn {
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 16px;
    width: 270px;
    height: 56px;
}


#footer {
    border-top: 1px solid rgb(0 0 0 / 3%);
    padding: 30px 0 40px;
    display: flex;
    font-size: 12px;
    line-height: 14px;
    width: 100%;
}

    #footer .left {
    }

        #footer .left p {
            color: var(--primary);
            margin-bottom: 14px;
        }

        #footer .left span {
            color: var(--info);
        }

            #footer .left span a {
                color: var(--info);
            }

    #footer .right {
        text-align: right;
        color: var(--primary);
        margin-left: auto;
    }
    .footer-links {
        padding-bottom:10px;
    }

    .footer-links a {
        color: var(--blue);
    }

        .footer-links a + a {
            position:relative;
            margin-left:20px;
        }
            .footer-links a + a::before {
                content:"|";
                position:absolute;
                left: -10px;
                color:#ccc;
            }

    @media screen and (max-width:767px) {
            body {
        padding-top: 80px;
    }

    #eregForm {
        width: 100%;
    }
}

@media screen and (max-width:575px) {
    body {
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
        background-size: auto 418px;
    }

    #formArea {
        padding: 70px 18px 50px;
        min-height: unset;
    }

    .logo {
        padding: 0 10px 10px;
        width: auto;
        max-width: calc( 100% - 100px );
        box-sizing: border-box;
    }

        .logo img {
            display: block;
            width: 100%;
            margin: 0 auto;
        }

    .bigTitle {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 16px;
    }

    .subTitle {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    #eregForm {
        width: 100%;
    }

        #eregForm form {
            flex-direction: column;
        }

        #eregForm input {
            margin-right: 0;
            margin-bottom: 15px;
        }

        #eregForm button {
            flex-grow: 1;
            width: 100%;
        }

    .formSubText {
        margin-bottom: 40px;
    }

    #footer {
        border-top: 0;
        padding-top: 0;
        flex-direction: column;
        text-align: center;
        font-size: 14px;
        line-height: 22px;
    }

        #footer .right {
            margin-left: unset;
            text-align: center;
            padding-top: 20px;
        }
}
@media (max-width:390px) {
    .logo {
        max-width: 100%;
    }
        .logo img {
            max-width:100%;
        }
}


body.detail {
    background: var(--light-l4);
    padding-top: 40px;
}
.form-control {
    color:var(--secondary);
}
.detail .logo {
    border-bottom: unset;
    margin-bottom: 30px;
    padding: 0;
}

.detailTop {
    background: url(../img/detail-bg.jpg) no-repeat right top;
    background-size:cover;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-left: 70px;
    color: var(--white);
    margin-bottom: 40px;
}

.meetingTitle {
    font-weight: normal;
    font-size: 36px;
    color: var(--cyan);
    margin-bottom: 21px;
}

.detailTop .meetingTitle {
    color: var(--white);
    max-width: 50%;
    margin-top: 50px;
}

.meetingDesc {
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.01em;
    line-height: 24px;
    color: var(--primary);
}

.meetingDetails {
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.04);
    padding: 41px 30px 20px 30px;
    margin-top: -120px;
}

    .meetingDetails .detailRow {
        display: flex;
        align-items: center;
        padding: 0 0 20px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        max-width: 450px;
        border-bottom: 1px solid var(--light-l3);
    }

        .meetingDetails .detailRow:last-child {
            border: 0;
            margin-bottom: 0;
        }

        .meetingDetails .detailRow .img {
            width: 70px;
            flex-grow: 0;
            flex-shrink: 0;
        }

            .meetingDetails .detailRow .img img {
                width: 50px;
                height: 50px;
                border-radius: 50px;
            }

        .meetingDetails .detailRow .icon {
            width: 70px;
            flex-grow: 0;
            padding-left: 10px;
            flex-shrink: 0;
        }

        .meetingDetails .detailRow .text {
            flex-grow: 1;
            font-size: 14px;
        }

            .meetingDetails .detailRow .text .title {
                margin-bottom: 12px;
                font-weight: bold;
                text-align: left;
                color: var(--info);
            }

            .meetingDetails .detailRow .text p {
                line-height: 22px;
                color: var(--primary);
                margin: 0;
            }

                .meetingDetails .detailRow .text p strong {
                    font-weight: bold;
                }

                .meetingDetails .detailRow .text a,
                .meetingDetails .detailRow .text p a {
                    color: var(--blue);
                }

#registerForm {
    margin-bottom: 100px;
}

    #registerForm .row label.col-md-4 {
        font-size: 14px;
        line-height: 20px;
        color: var(--primary);
        margin-bottom: 0;
        display: flex;
        align-items: center;
        font-weight: 700;
    }

    #registerForm .row select,
    #registerForm .row input[type=text] {
        width: 100%;
        height: 44px;
        border-radius: 4px;
        background: var(--white);
        border: 1px solid var(--primary-l4);
        color: var(--secondary);
        padding-left: 18px;
        padding-right: 18px;
    }

    #registerForm .row input[type=text] {
    }

.cxformbtns button.--cx-form-submitter {
    width: 270px;
    height: 56px;
    border-radius: 5px;
    background: var(--dark) !important;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--white);
    border: 0;
    float: left !important;
}

.detail #footer {
    background: var(--white);
    border-top: unset;
    padding-top: 40px;
    padding-bottom: 0;
}

@media only screen and (max-width: 991px) {
    #eregForm form {
        flex-direction:column;
        align-items:center;
    }
    #eregForm input {
        margin-right:0;
        margin-bottom:15px;
        width: 100%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .meetingDetails .detailRow .img,
    .meetingDetails .detailRow .icon {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    #formArea {
        padding-top: 50px;
    }
    body.detail {
        padding-top: 0;
    }

    .detail .logo {
        height: 150px;
        /*background: var(--white);*/
        width: 100%;
        max-width: 100%;
        padding-top: 20px;

    }

        .detail .logo img {
            width: auto;
            max-width: 200px;
            max-height: 110px;
            margin: 0 auto;
        }

    .detailTop {
        display: none;
    }

    .meetingDetails {
        margin-top: 0;
        margin-bottom: 70px;
    }

    #registerForm .row label.col-md-4 {
        margin-bottom: 12px;
    }
}

@media only screen and (max-width: 575px) {
    body.detail {
        padding: 0;
    }

    .detail .logo {
        margin-bottom: 0;
    }

    .meetingDetailsBg {
        padding: 30px 20px;
        background: no-repeat center center;
        background-size: cover;
        margin-bottom: 40px;
    }

    .meetingDetails {
        margin-bottom: 0;
    }

    #registerForm {
        padding: 0 24px;
    }

        #registerForm button[type=submit] {
            display: block;
            width: 100%;
        }
}

.-txt .select2-container {
    color: var(--primary);
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    vertical-align: top;
}

.-txt .select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-size: 14px;
}

.noticeText {
    font-weight: 700;
    margin: 0 auto;
    color: var(--dark-d4);
    max-width: unset;
}
.noticeLogo {
    align-items: center;
    display: flex !important;
}
.noticeLogo > img {
    max-height: 150px;
    max-width: 100%;
    margin: 0 auto;
}

.emailLink {
    position:relative;
    width:300px;
    display:block;
}
.emailLink span {
    display:block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.emailLink .copyBtn {
    position:absolute;
    right:-27px;
    top:0;
    font-size:20px;
}
@media only screen and (max-width: 1199px) {
    .emailLink {
        width:250px
    }
    .meetingDetails .detailRow {
        max-width: 350px;
    }
}
@media only screen and (max-width: 991px) {
    .emailLink {
        width:220px
    }
}
@media only screen and (max-width: 767px) {
    .emailLink {
        width:calc( 100% - 50px );
    }
}

.mealRadio .cx-radio {
    font-size: 1rem;
    text-align: right;
}
.alert-danger {
    color: var(--danger);
    background-color: var(--danger-l4);
    border-color: var(--danger);
}
.alert-danger a {
    color: var(--blue);
}
.form-check-inline {
    margin-right:1.5rem;
}
.horizontalview .form-check + .form-check {
    margin-left:0;
}
@media only screen and (max-width: 991px) {
    .detailTop {
        padding-left:50px;
    }
        .detailTop .meetingTitle {
            margin-top:30px;
            font-size:32px;
        }
}

@media only screen and (max-width: 575px) {
    .noticeLogo {
        margin-bottom:15px;
    }
}

#eregForm .attendee-search-btn {
    font-size: 1rem;
}

#eregForm .attendee-info {
    color: var(--primary);
    text-align: left;
    line-height: 1.4;
}

#eregForm button.attendee-select-btn {
    max-width: 110px;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    background: var(--info);
    color: var(--white);
    flex-grow: 0;
    flex-shrink: 0;
    border: 0;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

#eregForm .not-you-btn {
    margin-right: 50px;
    color: var(--primary-l2);
}

#eregForm button.new-profile-btn {
    max-width: 150px;
    flex-grow: 0;
}

/***** CM-GO Footer *****/

#cmgoFooter {
    padding: 1rem 0;
    font-size: 1rem;
    color: #757575;
    font-family: "Source Sans Pro", sans-serif;
    background: #fff;
}

    #cmgoFooter .container {
        padding-bottom: 2rem;
    }

    #cmgoFooter .footerLogos {
        padding-top: 2rem;
        border-top: 1px solid #009AD6;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 2rem;
    }

        #cmgoFooter .footerLogos img {
            max-height: 80px;
            max-width: 150px;
        }

    #cmgoFooter .footerLinks {
        margin-bottom: 2rem;
        font-size: 0;
    }

        #cmgoFooter .footerLinks span {
            display: inline-block;
            font-size: 1rem;
            padding: 0 1.5rem;
            border-right: 1px #757575 solid;
        }

            #cmgoFooter .footerLinks span:first-child {
                padding-left: 0;
            }

            #cmgoFooter .footerLinks span:last-child {
                border-right: 0;
                padding-right: 0;
            }

            #cmgoFooter .footerLinks span a {
                color: #757575;
                display: inline-block;
            }

    #cmgoFooter .copyrightText {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    #cmgoFooter .footerText {
        text-align: left;
        color: #4a4a4a;
        margin-top: 2rem;
    }

@media (max-width: 767px) {
    #cmgoFooter {
        font-size: 14px;
    }

        #cmgoFooter .footerLinks span {
            margin-bottom: 0.5rem;
            width: 50%;
        }

            #cmgoFooter .footerLinks span:nth-child(1), #cmgoFooter .footerLinks span:nth-child(4) {
                padding-left: 0;
                text-align: right;
            }

            #cmgoFooter .footerLinks span:nth-child(2), #cmgoFooter .footerLinks span:nth-child(5) {
                padding-left: 1.5rem;
                padding-right: 0;
                border-right: 0;
                text-align: left;
            }

            #cmgoFooter .footerLinks span a {
                color: #757575;
                display: inline-block;
            }
}

/***** CM-GO Footer *****/

/* Styling selectors of higher specificity needs to come after the default selectors */
#rsvpMedProSearchForm > div.form-container > div > div.text-center > span {
    color: var(--primary-l2);
}

#rsvpMedProSearchForm .form-field .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--primary);
    line-height: 32px;
    padding-left: 0;
    font-size: 1em;
    font-weight: 400;
}

#rsvpMedProSearchForm .form-field cx-select,
#rsvpMedProSearchForm .form-field .select2-container {
    width: 100% !important;
    font-size: 1em;
}

#rsvpMedProSearchForm .form-field .select2-container .select2-selection--single {
    height: 56px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
}

#rsvpMedProSearchForm .form-field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 54px;
    right: 10px;
}

#rsvpMedProSearchForm .form-field .select2-container .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
    font-size: 1em;
}

#rsvpMedProSearchForm .form-field .select2-container .select2-selection--single .select2-selection__clear {
    margin-right: 25px;
    color: #6c757d;
}

#rsvpMedProSearchForm .form-field .form-group label
{
    color: var(--primary-l2);
    font-size: 16px;
    font-weight: 400;
}