/* Marketo form css */

.mkto-form-paid-search .mktoForm.mktoHasWidth{
    width: 100% !important;
    font-family: 'Gotham 4r' !important;
}



.mkto-form-paid-search .mktoLabel.mktoHasWidth{
    width: 65% !important;
    float: none !important;
    font-family: 'Gotham 5r';
    font-size: 14px !important;
    display: flex;
    margin-bottom: 8px;
    font-weight: normal !important;
}

.mkto-form-paid-search .mktoAsterix{
    display: flex !important;
    padding-left: 0 !important
}

.mkto-form-paid-search #LblExistingMember_MKTO .mktoAsterix{
    display: inline !important;
}

.mkto-form-paid-search #LblPHI_PhoneNumber_MKTO .mktoAsterix{
    display: none !important;
}
.mkto-form-paid-search #LblExistingMember_MKTO{
    display: flex !important;
    font-size: 16px !important;
}

/* .mkto-form-paid-search #LblExistingMedicare_MKTO .mktoAsterix{
    display: inline !important;
} */

.mkto-form-paid-search #LblExistingMedicare_MKTO{
    display: flex !important;
    font-size: 16px !important;
}

.mkto-form-paid-search .mktoGutter.mktoHasWidth{
    width: 0 !important;
}

.mkto-form-paid-search .mktoFieldDescriptor.mktoFormCol,
.mkto-form-paid-search .mktoField.mktoHasWidth,
.mkto-form-paid-search .mktoFieldWrap,
.mkto-form-paid-search .mktoHtmlText.mktoHasWidth{
    width: 100% !important;
    
}
.mkto-form-paid-search .mktoFieldWrap input{
    height: 48px !important;
    font-family: 'Gotham 4r' !important;
    font-size: 16px !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
}
.content-above-mkto h3, .content-above-mkto .p3{
    margin-bottom: 25px !important;
}

.mkto-form-paid-search div:has(> #LblExistingMember_MKTO),.mkto-form-paid-search div:has(> #LblExistingMedicare_MKTO) ,   .mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth {
  display: flex;
  column-gap: 8px;
}

.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input{
    height: 16px !important;
    margin-top: 1% !important;
}

.mkto-form-paid-search .mktoRadioList > label{
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.mkto-form-paid-search .mktoRadioList label{
  
    margin-top: 0;
    margin-bottom: 0;
}

.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: 2px solid #0078B3;
    height: 20px !important;
    width: 20px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: text-bottom;
    position: relative;
    margin-right: -1px;
}

.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio]:checked::before {
    border: 5px solid transparent;
    border-radius: 100%;
    outline-offset: -6px;
    background: #0078B3;
}
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio]::before {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    top: 0
}
 
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio]:focus {
    border-color: #0078B3;
    outline: 2px solid;
    outline-offset: 2px;
    outline-color: #fefefe;;
}
 
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio]:focus-visible {
    outline-color: #0078B3;
}
 
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio]::before {
    height: 0 !important;
    width: 0 !important;
}
 
 
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio][disabled] {
    border: 2px solid #0078B3;
}
 
.mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth input[type=radio][disabled]:checked::before {
    background: #0078B3;
}

.mkto-form-paid-search .mktoButtonWrap.mktoSimple .mktoButton, .success-close-btn{
    color: #ffffff !important;
    background-color: #0074AD !important;
    background-image: none !important;
    border-color: #003B71 !important;
    font-size: 16px !important;
    font-family: 'Gotham 5r' !important;
    border: none !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    cursor: pointer;
}


.mkto-form-paid-search button[type="reset"] {
    font-family: 'Gotham 5r' !important;
    border-radius: 30px; 
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer; 
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: #0074AD;
    background-color: #ffffff;
    border: 1px solid #0074AD;
    margin-right: 10px;
}
.mkto-form-paid-search button[type="submit"]:focus-visible, .mkto-form-paid-search button[type="reset"]:focus-visible {
    outline: 2px solid #0056b3 !important; 
    outline-offset: 3px !important;
    box-shadow: 0 0 4px rgba(0, 86, 179, 0.5) !important; 
}

.mkto-form-paid-search button[type="reset"]:hover, .mkto-form-paid-search .mktoButtonWrap.mktoSimple .mktoButton:hover, .success-close-btn:hover {
    background-color: #003B71 !important;
    border-color: #003B71 !important;
    color: white;
    text-decoration: underline;
}

.mkto-form-paid-search .mktoButtonWrap.mktoSimple{
    margin-left: 0 !important;
}

#popupForm {
    box-sizing: border-box;
    width: auto;
    max-width: 692px;
    margin: 5.75rem auto;
    opacity: 0;
    transform: translateY(-20px); /* Start slightly above */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
    display: none; /* Initially hidden */
    position: relative; /* Use fixed positioning to ensure it appears above everything */
    z-index: 4000; /* Ensure it appears above other elements */
    background: white;
    padding: 20px 20px 60px 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Gotham' !important;
    border-radius: 15px;
}
  
  #popupForm h3 {
	margin: 0 0 10px;
  }
  
  #popupForm .p3 {
	margin-bottom: 20px;
  }


#popupForm.show {
    opacity: 1; /* Fully visible */
    visibility: visible; /* Allow interaction */
    transform: translateY(0); /* Move to its original position */
	display: block;
}


#popupBackdrop {
   
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    opacity: 0;
    transition: all 0.3s ease; /* Smooth transition for backdrop */
    overflow-y: auto; 
    z-index: 1040; /* Slightly lower than the popup */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent gray */
    display: none; /* Initially hidden */
}
#popupBackdrop.show {
    opacity: 1;
    display: block; /* Ensure the backdrop is visible */
}

body.no-scroll {
    overflow: hidden; /* Prevent scrolling */
   
}

.mktoRadioList.mktoHasWidth label{
    font-size: 16px !important;
    line-height: 24px !important;
}

.mkto-form-paid-search  .mktoFieldWrap .mktoHtmlText.mktoHasWidth{
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    margin-bottom: 15px !important;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.popup-header h2 {
    margin: 0; /* Remove default margin for better alignment */
    margin-right: 6px;
}

.popup-header button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #0074AD;
}


.success-popup-close-btn{
    display: flex;
    flex-direction: row-reverse;
}

@media (min-width: 767px) and (max-width: 1151px) {
    .mkto-form-paid-search .mktoLabel.mktoHasWidth{
        width: 100% !important;
    }
    #popupForm {
        max-width: 547px;
        padding: 20px 20px 50px 20px;
    }
    .mkto-form-paid-search #LblExistingMedicare_MKTO,.mkto-form-paid-search #LblExistingMember_MKTO, .mkto-form-paid-search  .mktoFieldWrap .mktoHtmlText.mktoHasWidth{
        font-size: 14px !important;
    }

    .popup-header {
        margin-bottom: 20px;
    }
    
}

@media (max-width: 767px) {
    .mkto-form-paid-search .mktoRadioList > label{
        margin-right: 0 !important;
    }
    .mkto-form-paid-search .mktoLabel.mktoHasWidth{
        width: 100% !important;
        float: none !important;
        display: flex;
        font-family: 'Gotham 5r';
        font-size: 14px;
    }

    .mkto-form-paid-search .mktoFieldWrap.mktoRequiredField .mktoRadioList.mktoHasWidth{
        width: 40%;
    }
    #popupForm{
        padding: 15px 20px 40px 20px;
        width: auto;
        margin: 3rem auto;
        max-width: 343px;
    }
    .mkto-form-paid-search form{
        padding: 0
    }
    .success-popup-close-btn{
        display: grid;
    }
    .mkto-form-paid-search #LblExistingMedicare_MKTO,.mkto-form-paid-search #LblExistingMember_MKTO, .mkto-form-paid-search  .mktoFieldWrap .mktoHtmlText.mktoHasWidth{
        font-size: 14px !important;
    }
    .popup-header {
        margin-bottom: 15px;
    }
    #closePopup img, #closePopupSuccess img{
        padding-top: 5px;
    }
}