/*Media Queries*/
/*mobile*/
@media only screen and (max-width: 30rem) {
    /*.question-header h1{
        font-size: 1.5rem !important;
    }*/
    
    .question-header .base-next-line_text{
        font-size: 1.125rem !important;
    }
    
    .mmcheckbox .nds-checkbox__label .nds-form-element__label.nds-form-element__control-help {
        font-size: 1rem !important;
    }
    
    .aura-main-body .aura-question-m-left_medium {
        margin-left: 0;
    }
    
    .slds-popover {
        left: 2.1875rem !important;
        right: 2.1875rem !important;
    }

    .h1 { 
        font-size: 28px !important;
        line-height: 30px !important;
    }

    c-middle-market-f-a-q-section .faq-title { 
        font-size: 12px !important;
        line-height: 10px !important;
    }

    c-middle-market-f-a-q-section .faq-header { 
        font-size: 30px !important;
        line-height: 13.5px !important;  
    }

    c-middle-market-f-a-q-section .everest-regular,
    c-middle-market-f-a-q-section .slds-accordion__summary-heading { 
        font-size: 14px !important;
        line-height: 24px !important; 
    }

    .nds-spinner[vlocity_ins-spinner_spinner_nds] {
        left: 50% !important;
    }

    c-payment-os-iframe .summary-label { 
        font-size: 18px;
        line-height: 22px;
    }

    c-payment-os-iframe .summary-value { 
        font-size: 18px;
        line-height: 22px;      
    }

    c-navigate-action a{ 
        font-size: 18px;
        line-height: 24px;
        font-family: 'AIAEverest-Medium';
    }

    .omniscript-article .action-link-text.request-adviser-text .nds-action .nds-action_text {
        font-size: 18px !important;
        line-height: 22px;
    }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
    .omniscript-article .slds-rich-text-editor__output h1 {
        font-size: 28px !important;
        line-height: 30px !important;
    }

    .nds-horizontal_radio .nds-icon {
        width: 45px;
        height: 45px;
    }

    c-d-m-m-estimate-jny-english .nds-button-group-row .fc-custom-button span div {
        line-height: 46px;
    }

    c-middle-market-f-a-q-section .faq-header {
        font-size: 28px !important;
    }
    .omniscript-article .action-link-text .nds-action .nds-action_text {
        font-size: 18px !important;
        line-height: 24px;
    }
}

/* desktop and tablet*/
@media only screen and (min-width: 48rem) {   
    /*.question-header h1{
        font-size: 2.25rem !important;
        line-height: 2.75rem !important;
    }
    
    .question-header h2{
        font-size: 1.75rem !important;
    }*/

    c-aura-question .question-header h1 {
        font-size: 30px !important;
        line-height: 26px !important;
    }
    
    c-aura-question .question-header h2{
        font-size: 24px !important;
    }
    
    .question-header .base-next-line_text{
        font-size: 1.25rem !important;
    }
    
    .base-help_text{
        font-size: 1rem !important;
    }
    
    /** Info icon size **/
    .parent-question-helptext-icon svg{
        width: 1.5rem;
        height: 2.5rem;
    }
    
    .child-question-helptext-icon svg{
		width: 1.25rem;
    	height: 1.75rem;
    }
    
    .slds-popover_tooltip .slds-popover__body {
        font-size: 1rem !important;
    }
    
    .mmcheckbox .nds-checkbox__label .nds-form-element__label.nds-form-element__control-help {
        font-size: 22px !important;
    }
    
    .aura-main-body .aura-question-m-left_medium {
        margin-left: 24px;
    }
    
    .h1 { 
        font-size: 48px !important;
        line-height: 52px !important;
        letter-spacing: -.5px !important;
    }

    c-middle-market-f-a-q-section .faq-title { 
        font-size: 14px !important;
        line-height: 8.82px !important;
    }
    
    c-middle-market-f-a-q-section .faq-header { 
        font-size: 30px !important;
        line-height: 30px !important;  
    }
    
    c-middle-market-f-a-q-section .everest-regular,
    c-middle-market-f-a-q-section .slds-accordion__summary-heading { 
        font-size: 18px !important;
        line-height: 24px !important; 
    }

    c-ins-os-single-instance-extended .nds-input[readonly] {
        /* font-size: 28px !important; */
        line-height: 24px !important;
    }

    c-payment-os-iframe .summary-label { 
        font-size: 24px;
        line-height: 28.8px;
    }

    c-payment-os-iframe .summary-value { 
        font-size: 24px;
        line-height: 28.8px;  
    }
         
    c-navigate-action a{ 
        font-size: 24px;
        line-height: 28.8px;
        font-family: 'AIAEverest-Medium';
    }

    .omniscript-article .action-link-text.request-adviser-text .nds-action .nds-action_text {
        font-size: 24px !important;
        line-height: 28.8px;
    }
    
}

@media screen and (min-width: 768px) and (min-width: 1024px) {
    .omniscript-article .custom-subheader, .omniscript-article .nds-rich-text-editor__output h5, .omniscript-article .slds-rich-text-editor__output h5 {
        font-size: 20px !important;
        line-height: 28.8px;
    }

    .omniscript-article .action-link-text .nds-action .nds-action_text {
        font-size: 20px !important;
        line-height: 28.8px;
    }

    c-aura-question .nds-form-element__control.nds-horizontal_radio .nds-radio .nds-form-element__label { 
        font-size: 22px !important;
    }
}

/*Font*/
@font-face {
    font-family: "AIAEverest";
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.eot');
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.eot?#iefix') format('embedded-opentype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.woff2') format('woff2'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.woff') format('woff'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.ttf') format('truetype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Regular.svg') format('svg');
}

@font-face {
	font-family: "AIAEverest-CondensedMedium";
	src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-CondensedMedium.eot?#iefix') format('embedded-opentype'),
	url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-CondensedMedium.woff') format('woff'),
	url('../resource/AIAFonts/AIAFonts/fonts//AIAEverest-CondensedMedium.svg#svgFontName') format('svg');
}
@font-face {
    font-family: "AIAEverest-Medium";
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Medium.eot');
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Medium.eot?#iefix') format('embedded-opentype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Medium.woff2') format('woff2'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Medium.woff') format('woff'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Medium.ttf') format('truetype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AAIAEverest-Medium.svg') format('svg');
}

@font-face {
    font-family: "AIAEverest-Bold";
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.eot');
    src: url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.eot?#iefix') format('embedded-opentype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.woff2') format('woff2'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.woff') format('woff'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.ttf') format('truetype'),
        url('../resource/AIAFonts/AIAFonts/fonts/AIAEverest-Bold.svg') format('svg');
}

/** Font Class **/
.everest-regular { 
    font-family: 'AIAEverest' !important;
}

.everest-bold { 
    font-family: 'AIAEverest-Bold' !important;
}

.everest-medium { 
    font-family: 'AIAEverest-Medium' !important;
}

.forceCommunityThemeHeaderCompact .themeHeaderInner {
    font-size: 28px !important;
    font-family: 'AIAEverest';
    line-height: 20px !important;
    letter-spacing: -0.5px !important;
}

/*.siteforceThemeLayoutStarter, .nds-theme_default { 
    background-color: #e5e5e5 !important;
}*/

/*.nds-theme_default { 
    background-color: #e5e5e5 !important;
}*/

.aia-red {
    color:#D31145 !important;
}

.aia-link-blue{ 
    color: #22A8DA;
}

.aia-icon .slds-icon { 
    fill: #22A8DA;
}

.h1 { 
    font-family: AIAEverest-Medium !important;
}

.grey-bg{
    background-color: #f2f2f2;
}

.question-header .base-next-line_text {
    font-weight: normal;
}

.question-header h1{
	font-weight: normal !important;
}

.question-header h2{
	font-weight: normal !important;
    font-family: AIAEverest;
}

.question-header-playback{
    font-size: 1.25rem !important;
    line-height: 0rem !important;    
}

.via-nds .hide-asterisk .nds-required {
    display:none;
}

/* Spinner */
/*.via-nds .aura-question-spinner .nds-spinner {
    position:fixed;
}*/

.via-nds .aura-question-spinner .nds-is-absolute {
    position:fixed !important;
}

/* Input Fields */
.via-nds .nds-checkbox .nds-checkbox--faux, .via-nds .nds-checkbox .nds-checkbox_faux,
.mmcheckbox .slds-checkbox .slds-checkbox_faux, .mmcheckbox .slds-checkbox .slds-checkbox--faux {
    border: 2px solid #dddbda !important;
}

.mmcheckbox .slds-required{
    display: none;
}

/* Combo Box */
.via-nds .question-layout .nds-dropdown-trigger .nds-form-element .nds-dropdown.nds-dropdown_fluid {
    z-index: 1;
}

/* Tooltip */
.slds-rise-from-ground {
    background-color: white !important;
}

.slds-fall-into-ground {
    background-color: white !important;    
}

.slds-popover_tooltip .slds-popover__body, .slds-popover--tooltip .slds-popover__body {
    color: #000000 !important;
}

.slds-nubbin_bottom-left:before {
    background-color: white !important;
}

.base-help_text .slds-button_icon {
    color: #6b6d70 !important;
}

/* Text transition */
.container-help_text {
    overflow: hidden;
}

.container-help_text .expand-container{
  margin-top: -100%;
  transition: all 0.2s ease;
}

.container-help_text .expanded{
    margin-top: 0;
}

/* FAQ */
c-cf-d-m-m-frequently-asked-question .nds-button:focus{
    box-shadow: none !important;
}

/*Removing Home tab from Navigation*/
.forceCommunityThemeNav .comm-navigation__top-level-item.mainNavItem:first-child {
    display: none;
    visibility: hidden;
}

.bold-text{
    font-weight: bold;
}

c-custom-card-header .aia-red .nds-button{
    color: #d31145 !important;
}

c-custom-card-header .aia-gray .nds-button{
    color: #d8d8d8 !important;
}

c-custom-card-header .button-icon svg.nds-button__icon{
    fill: #6b6d70 !important;
}

c-custom-card-header button:focus {
    box-shadow:none !important;
}

/** FAQ **/
c-middle-market-f-a-q-section .faq-title { 
    font-family: 'AIAEverest' !important;
    color: #B2B0C7 !important;   
}

c-middle-market-f-a-q-section .faq-header { 
    font-family: 'AIAEverest' !important;
    color: #37346C !important;   
}

c-middle-market-f-a-q-section .everest-regular,
c-middle-market-f-a-q-section .slds-accordion__summary-heading { 
    font-family: 'AIAEverest' !important;
    color: #333D47 !important;   
}

c-middle-market-f-a-q-section .slds-accordion__summary-heading .slds-button:focus{
    text-decoration: none;
}

/** Underwriting **/
c-aura-question .omniscript-article .nds-input[readonly] { 
    font-size: 24px !important;
}

/** Spinner **/
.nds-spinner_brand[vlocity_ins-spinner_spinner_nds]>div[vlocity_ins-spinner_spinner_nds] {
    background-color: #D31145 !important;
}

/** NDS specific classes, only if we don't want to apply the changes globaly **/
.nds-radio [type=radio]:checked+.nds-radio--faux, .nds-radio [type=radio]:checked+.nds-radio__label .nds-radio--faux, .nds-radio [type=radio]:checked+.nds-radio__label .nds-radio_faux, .nds-radio [type=radio]:checked+.nds-radio_faux, .nds-radio [type=radio]:checked~.nds-radio--faux, .nds-radio [type=radio]:checked~.nds-radio_faux {
    border-color: #E86487 !important;
}

.nds-radio [type=radio]:checked+.nds-radio--faux:after, .nds-radio [type=radio]:checked+.nds-radio__label .nds-radio--faux:after, .nds-radio [type=radio]:checked+.nds-radio__label .nds-radio_faux:after, .nds-radio [type=radio]:checked+.nds-radio_faux:after, .nds-radio [type=radio]:checked~.nds-radio--faux:after, .nds-radio [type=radio]:checked~.nds-radio_faux:after {
    background: #E86487 !important;
}

.nds-combobox  .nds-input[readonly] {
    font-size: 20px !important;
    line-height: 24px !important;
}

.nds-horizontal_radio .nds-icon {
    width: 55px;
    height: 55px;
}

.nds-button:focus {
    box-shadow: 0 0 0 !important;
}

div.vloc-ins-coverage-total[vlocity_ins-insOsCoverage_insOsCoverage]{
    display:none !important;
}

/** NDS End **/

c-navigate-action a{ 
    font-family: 'AIAEverest-Medium';
}
c-d-m-m-application-jny-english .nds-form-element__control span.nds-radio,
c-d-m-m-estimate-jny-english .nds-form-element__control span.nds-radio {
    padding-left: 0;
    text-indent: 0 !important;
}
c-d-m-m-application-jny-english .nds-form-element__control span.nds-radio .nds-radio__label,
c-d-m-m-estimate-jny-english .nds-form-element__control span.nds-radio .nds-radio__label {
    display: flex;
    align-items: center;
}

c-d-m-m-estimate-jny-english .nds-button-group-row .fc-custom-button span div {
    line-height: 57px;
}


c-d-m-m-estimate-jny-english .nds-button-group-row .fc-custom-button {
   padding: 0 36px;
}
.omniscript-article .nds-form-element__control.nds-vertical_radio .nds-radio .nds-radio_faux,
.omniscript-article .nds-form-element__control.nds-horizontal_radio .nds-radio .nds-radio_faux {
    flex: 0 0 1.5rem;
}

.nds-has-error .nds-form-element__help { 
    text-transform: unset !important;
}

.forceCommunityThemeNav.jepsonHomeHeader .mainNavItem .linkBtn {
    color: #333d47 !important;
    font-weight: 400;
    font-family: "AIAEverest-CondensedMedium";
}

.omniscript-article .slds-rich-text-editor__output h1 {
    line-height: 46px !important;
}

.slds-modal__container .omniscript-article .slds-rich-text-editor__output h1 {
    font-size: 36px !important;
    line-height: 40px !important;
}

c-d-m-m-estimate-jny-english .nds-form-element__control span.nds-radio {
    background-color: #f7f7f8;
}

.omniscript-article .nds-form-element__control.nds-horizontal_radio .nds-radio .nds-form-element__label,
.nds-button-group-row button.nds-button {
    font-size: 20px;
    font-family: "AIAEverest" !important;
}

.nds-progress__item .nds-button__icon {
    fill: #1f78ad !important;
}

.slds-accordion__summary-action .slds-accordion__summary-content {
    font-size: 18px;
    color: #37346C;
}

c-d-m-m-estimate-jny-english .disclaimer-text {
    font-size: 12px;
    color: #333d47
}
c-d-m-m-application-jny-english .nds-progress__step-label,
c-d-m-m-estimate-jny-english .nds-progress__step-label {
    color: #1f78ad;
    font-weight: 700;
}

c-d-m-m-estimate-jny-english .omniscript-article .nds-input {
    font-size: 20px;
}

c-d-m-m-estimate-jny-english .nds-form-element__control.nds-form-element__control-animated-label label {
    font-size: 12px;
    color: #6F6E68;
}
/** mission control **/
c-static-step-chart .nds-progress-bar__value {
    background: #3da758;
}
c-d-m-m-application-jny-english .nds-progress__item.nds-is-active .nds-progress__marker,
c-d-m-m-estimate-jny-english .nds-progress__item.nds-is-active .nds-progress__marker {
    border-color: #1f78ad;
}

c-d-m-m-requestan-adviser-call-english .nds-form-container .nds-form-element__control-animated-label .nds-form-element__label label {
    font-size: 18px;
    color: #d31145;

}

c-d-m-m-requestan-adviser-call-english .omniscript-article .slds-rich-text-editor__output h2 {
    font-family: "AIAEverest-CondensedMedium";
    font-size: 20px;
}

c-d-m-m-requestan-adviser-call-english .omniscript-article .slds-rich-text-editor__output a {
    font-size: 14px !important;
}

.nds-checkbox .nds-checkbox_faux {
    height: 32px;
    width: 32px;
}

.nds-checkbox__label .nds-form-element__label.nds-form-element__control-help {
    font-size: 20px !important;
}

c-d-m-m-estimate-jny-english iframe {
    height: 300px;
}

