.sm_header_bg {    
    background-image: url('/images/headers/premium-visa-header-crop.jpg');
    background-position-y: 15%;
    background-position-x: right;
    background-size: cover;
    padding: 10px 26px;
    height: 15vw;
    min-height: 150px;
    max-height: 200px;
}
.sm_header_bg_inner {
    height: 100%;
    position: relative;
    padding: 30px 0 0 0;
}
.sm_header_bg_title {
    position: absolute;
    bottom: 50%;
    margin-bottom: -50px;
    color: #fff;
}
.dark_charcoal_bg {
    background: #383838;
    color: #fff;
}
#mobile_header {
    background: #234b9f;
    height: auto;
    min-height: 0;
    border-bottom:1px solid white;
    padding: 26px;
    display: none;
}
#mobile_header h1 {
    color: white;
    text-align: left;
}





.icon-panel div.text {
    padding: 0;   
    text-align: left;
}
.flex-cols div.text p,
.icon-panel div.text p {
    font-size: 14px;
    line-height: 21px;
    font-family: roboto, sans-serif;
    font-weight: 300;
    margin: 1em auto 0 !important;
    min-height: 5rem;
}
.icon-panel p strong {
    font-weight: 600;
}
.icon-panel .action_button {
    margin-top: .5rem;
    margin-bottom: .5rem;
}
.no-pad {
    padding: 0 !important;
}

.action_button.compact {
    margin: 15px auto;
    padding: 7px;
}
section.pad_50.circle_columns.howitworks  {
    padding-bottom: 35px;
}
.howitworks h2.section_header_2 {
    margin-bottom: 20px;
}
section.pad_50.how_to_apply div.column.section_left {
    padding-bottom: 0;
}
.eligibility div.details  {
    margin-top: .5em
}
section.pad_50.circle_columns.apply2 {
    padding-bottom: 15px;
    gap:20px;
}
.apply2 p.roboto {
    max-width: 16em;
}
/*
.flex-cols.how_it_works h3 {
    margin: 1em auto;
    font-size: 1.33em;
    line-height: 1.5;
}*/
.icon_panels_pad.about img.icon {
    height: 80px;
    width: auto;
}
h3, .moreinfo h2.header {
    font-weight: 400;
}
h3 strong, .moreinfo h2.header strong {
    font-weight: 700;
}
 .moreinfo ul {
    padding-left: 0;
    margin-left: 0;
    margin-right: auto;
    list-style-type: circle; 
    list-style-position: inside;
 }
 .moreinfo ul li {
    font-weight: 400;
    margin-bottom: .5rem;
 } 
 .moreinfo ul li:before {
    display: inline-block;
    font-size: .2em;        
    color: #000;
 }
 .moreinfo ul li span {
    display: inline-block;
    font-size: 1rem;
    margin-bottom: -25rem;
 }

.charcoal_bg {
    background: #383838;
    color: #fff;
}
.flex-col {
    display:flex;
    text-align: left;
    flex-flow: column wrap;     
    flex-grow: 1;
    flex-basis: 0;
}
.centred, .centred div, .centred h3, .centred p  {
    text-align:center;
    margin-left: auto;
    margin-right: auto;
}
.flex-cols .flex-col,
.flex-cols .flex-col p {
    vertical-align: top;
}
.apply_buttons {
    font-size: 14px;
    margin-bottom: 50px;
}
body {
    min-height: 100vh;
}
h2.section_header {
    line-height: 1.2em;
}
em {
    font-style: italic;
}
section.how_to_apply.pad_50 {
    overflow: hidden;
}


/* ================================================
Visa cards 
================================================ */
section.overlap_container {
    position: relative;
    overflow: visible;
    padding-top: 30px;
    padding-bottom: 80px;
}
section.overlap_container+section {
    padding-top: 100px;
}
img.visa-card-image.overlap {
    position: absolute;
    width: 300px;
    height: auto;
    left: 0; 
    right: 0; 
    top: 80px;
    margin-inline: auto;
    border-radius: 13px;
}

.section_header.cobranded_logos {
    margin-bottom: 20px;
    min-width: 450px;
}
.section_header.cobranded_logos p {
    + p {
        margin-top: 1em;
    }
}
.section_header.cobranded_logos img {
    display: block;
    width:80%;
    min-width: 480px;
    height: auto;
    margin: 30px auto 0;
}

/* ================================================
How to apply
================================================ */
section.how_to_apply.pad_50 {
    padding-bottom : 0;
}
.how_to_apply.visa-card-image {
    display: block;
    width: 400px;
    height: auto;    
}
.how_to_apply.eligibility div.details {
    vertical-align:top;
}
.eligibility h3 {
    margin-top: -1em;
    font-size: 24px;
    margin-bottom: .5em;
}
.eligibility p {
    font-size: 16px;
    line-height: 1.75;
}

a.action_button {
    padding: 8px 15px;
}


/* ================================================
Flexbox content with numbered circles:
How it works, Apply 2

Flexbox rectangular panels with more info buttons:
Exclusive Benefits, About...
================================================ */

.flex-col div.circle {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position:relative;
    background:#fff;
    color: #234b9f;
    text-align:center;
}
.flex-col div.circle span {
    display: inline-block;
    line-height: 2.5rem;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-align:center;
    margin: auto;
}
.flex-cols.darkblue_bg {
    color: #fff;
}
.flex-cols.white_bg {
    color: #000;
}

.flex-cols.white_bg .flex-col div.circle {
    background: #000;
}
.flex-cols.white_bg .flex-col div.circle span {
    color: #fff;
}
.large_body, .faq_item div.answer {
    font-family: Merriweather, serif;
    font-size: 14px;
    line-height: 21px;
    font-weight: 300;
}
.icon-panel {
    text-align: left;
}
.icon-panel h3 {
    font-size: 18px;
    line-height: 25px;
    margin:15px auto 0;
}
.circle_columns h3 {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 12px;
    font-weight: 400;
}
.flex-cols,
.icon-panels {
    display:flex;
    flex-wrap:wrap;
    padding: 1rem;
    gap:.75rem;
    justify-content: space-between;
}
.flex-cols {
    align-items: flex-start;
}
/*
div.flex-col {
    display:flex;
}*/
.flex-cols.gappy {
    gap:10%;
    flex-wrap: nowrap;
}
.flex-cols > * {
    display:flex;
    width:100%;
    text-align:center;
}
.icon-panels > * {
    width:100%;    
    text-align: left;
    background:#efedea;
}

.lighterblue_bg, .lighterblue,
.lighterblue_panels div.icon-panel {
    background-color: #e8eef3;
}
.icon-panel.lighterblue_bg {
    background-color: #e8eef3 !important;
}
.icon-panel.darkblue_bg {
    background-color: #234b9f !important;
    color: #fff;
}
.icon-panel.darkblue_bg a {
    font-weight: 600;
}
.icon-panel img.icon {
    display: block;
    width: 35%;
    height: auto;
}
.icon-panel {
    padding:25px;
}

.about-benefits .icon-panels {
    width: 100%;
    max-width: 970px;
    margin: auto;
    text-align: center;
    box-sizing: border-box;
}
.about-benefits .icon-panels div.icon-panel img.icon {
    display:block;
    height: 74px;
    width: auto;
}
.about-benefits .icon-panels div.text {
    min-height: 140px;
}

@media screen and (min-width:765px) {
    .about-benefits .icon-panels div.text {
        min-height: 180px;
    }
}
@media screen and (min-width:780px) {
    .about-benefits .icon-panels div.text {
        min-height: 200px;
    }
}




@media screen and (max-width: 600px) {

    .sm_header_bg_title h1 {
        display: none;
    }
    #mobile_header {
        display: block;
    }

    /* FULL WIDTH PANELS */
    .section_cols div.column {
        display: block;
        width: 100%; 
    }
    div.flex-cols, div.flex-col {
        display: block;
    }
    .flex-cols.how_it_works div.flex-col,
    .flex-cols.white_bg div.flex-col {
        display: block;
        margin-top: 30px;
    }
    .flex-cols.how_it_works div.flex-col.col1,    
    .flex-cols.white_bg div.flex-col.col1 {
        margin-top: 10px;
    }
    .sm_header_bg {
    background-image: url('/images/headers/premium-visa-header-crop.jpg');
    background-position-y: 45px;
    }

    .flex-cols.how_it_works h2.section_header_2 {
        margin: 10px auto 0;
    }
    p.footnote {
        text-align:center;
        margin: 0 10vw;
    }
    /*
    .about-benefits .icon-panels,
    .about-benefits .icon-panels > * {
        display:block;
    }
    */
    .about-benefits .icon-panels div.icon-panel {
        width: 100%;
        text-align:center;
        padding: 20px;
    }

    .circle_columns .flex-cols h3 {
        margin: 1em auto 1em;
        font-size: 1.33em;
        line-height: 1.5;
    }
    .flex-cols.how_it_works {
        margin-top: 0;
    }
    .flex-cols.how_it_works p {
        max-width: 370px;
    }
    .circle_columns.flex-col div.circle {
        margin-top: 20px;
    }
    .circle_columns.flex-col:first-of-type div.circle {
        margin-top: 0;
    }
    .how_to_apply img.visa-card-image {
        width: 80vw;
        height: auto;
        margin-left: auto;
        margin-right: auto; 
    }
}

@media screen and (max-width: 700px) {
    .discover_eabx p {
        max-width: 300px;
    }
}

@media screen and (min-width: 765px) and (max-width: 1110px) {
    .pad_20.icon-panels_pad {
        padding: 20px 0;
        box-sizing: border-box;
    }
    .about-benefits .icon-panels {       
        display:flex;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }       
    .icon-panels.benefits > *,
    .about-benefits .icon-panels > * {
        width: calc((100% - 1.5rem) / 3);
        box-sizing: border-box;
    }
    .about-benefits .icon-panels div.icon-panel {
        padding: 20px;
    }
    .about-benefits .icon-panels div.icon-panel p {
        padding-right: 20px !important;
        min-height: 9em;
    }
    .icon-panels a.action_button {
        margin: auto;
    }
}
@media screen and (min-width: 765px) {
    div.icon-panels.benefits div.icon-panel.eabx img.eabx_logo {
        margin: 17px auto 0 0;
    }
    div.icon-panel.eabx h3 {
        margin: 30px auto 20px 0;
        width: 8em;
    }
}
@media screen and (min-width: 1111px) {
    h3.wrap_eabx {
        margin-left: 50px;
        max-width:175px;
    }

    .flex-cols > *, .icon-panels > * {
        width: calc((100% - 1.5rem) / 3);
    }
}





/* ================================================
MORE INFO
================================================ */
div.moreinfo {
    width: 910px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    text-align: center;
    margin:auto;
}
div.moreinfo .action_button {
    border: none;
}

/* effective width of mreinfo content */
 .moreinfo .tips,
 .moreinfo .types {
    padding: 30px 150px;
    max-width: 910px;
    text-align: left;
}
.moreinfo a {
    color:#000;
    font-weight: 300;
    text-decoration: underline;
}
.moreinfo ul {
    text-align: left;
}
.moreinfo ul li {
    list-style-type: disc;
}
.moreinfo ul li::marker {
    color:#000;
}
.moreinfo ul li strong {
    font-weight: 600;
}
.moreinfo_content div.topic-logo {
    display:block;
    margin: auto;
    text-align:center;
}
.moreinfo_content div.topic-logo img {
    height: 80px;
    width: auto;
    margin: 30px auto;
}
.moreinfo_content h2.header {
    background-color:#234b9f;
    color: #fff;
    margin: 0 auto;
    padding: .5em;
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
}
.moreinfo_content h1.topic-title {
    font-size: 1rem;
    background: #e7eef4;
    padding: 1em;
    margin: 0 auto;
}
.moreinfo_content .types {
    background: #fff;
    padding: .5rem 1rem 1rem;
}
.moreinfo_content .tips {
    background: #e7eef4;
    padding: 1rem;
}
.moreinfo_content h3 {
    font-family: "Roboto", sans-serif;
    color: #234b9f;
    font-size: 1em;
    font-weight: bold;
    margin: 1em auto;
}
.action_button.hide {
    min-width: 7em;    
}
.moreinfo_content ul.links {
    color: #234b9f;
    font-weight: 600;
    margin-top: 1.5rem;
}
.moreinfo_content ul.links li {
    margin-bottom: 1rem;
}
.moreinfo h2.header {
    padding: 20px 71px;
    font-family: Merriweather, serif;
    font-weight: 400;
}
.moreinfo h2.header strong {
    font-weight: 700;
}
.moreinfo p {
    font-family: roboto, sans-serif;
    text-align: left;
}
.moreinfo .tips {
    background: #fff;
}
.moreinfo .types {
    background: #e7eef4;
}
.moreinfo .tips,
.moreinfo .types {
    padding: 30px 0;
    margin: 0 auto auto 0;
}
.moreinfo_content div.topic-inner,
.moreinfo_content h1.topic-title {
    background: #fff;
    text-align:center;
}
.moreinfo_content div.topic-inner {
    display: inline-block;
    margin: auto;
}
.moreinfo img.topic-icon {
    display:block;
    margin: .25rem auto;
    height: 5rem;
    width: auto;
}
@media screen and (min-width:601px) {
    .moreinfo {
        height: auto;
    }
}


section.how_to_apply.pad_50 {
    padding-bottom: 0;
}
h2.tight_bottom {
    margin-bottom: .35em !important;
}
.how_to_apply div.section_right {
    text-align: left; 
    margin: 5em 0 0 0;
    padding: 0 0 0 30px;
}
.how_to_apply div.section_left div.section_col {
    max-width: 310px; 
    text-align:right; 
    margin: 0;
}
.how_to_apply div.section_right div.section_col {
    max-width: 26em; 
    text-align:left; 
    margin: 5em 0;
}

/* .about .icon-panels */
section.pad_20.icon_panels_pad.about.gappy {
    padding-left: 0;
    padding-right: 0;
}
section.pad_20.icon_panels_pad.about-benefits {
    padding: 0;
}
section.icon_panels_pad.about div.section_inner {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.about div.icon-panels {
    padding: 0;
}  
.moreinfo .tips,
.moreinfo .types {
    padding: 30px 5vw;
}
.moreinfo .tips a,
.moreinfo .types a {
    color: #000;
    font-weight: light;
    text-decoration: underline;
}
.moreinfo .tips a.action_button,
.moreinfo .types a.action_button:hover {
    background: #234b9f;
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}

@media screen and (max-width:550px) {
    .section_header.cobranded_logos,
    .section_header.cobranded_logos img {
        width: 100%;
        min-width: auto;
    }  
}

@media screen and (max-width: 700px) {

    .moreinfo {
        position:absolute;
        top: 0;
        left: 0;
        height: 100vh;        
        width: 100vw;      
        max-height: 100%;        
        max-width: 100%;
    }
    .moreinfo_content {
        background: #e7eef4;
        display: none;
        width: 100%;
        height: 100%;
    } 
    div#content {
        padding: 0;
    }
    .icon-panel.eabx {
        display: block;
        margin-bottom: 0;
    }
    .moreinfo {
        display: none; 
        position: absolute;
        left: 0;
        top: 48px;
        width: 100%;
        overflow: auto;
        background-color: #e7eef4; 
        margin: 0 0; 
        padding: 0;
        border: none;
        box-shadow: none;
        z-index:1;
    }
    .moreinfo div.topic-inner {
        overflow-y: auto;
    }
    .pad_50 .icon-panels-pad {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 1px;
    }
    br.gt600 {
        display: none !important;
    }
    .icon-panels.benefits {
        padding: 35px 0 50px;
    }
}

@media screen and (max-width: 1110px) {
    .about div.icon-panels {
        gap:.75rem 0;
    }
    .about div.icon-panels,
    .about div.icon-panel,
    .about div.icon-panels > * {
        display: block;
        width: 100%;
    }
    .about div.icon-panel {
        margin-bottom: 20px;
    }  
    .about div.icon-panel div.text p {
        min-height: 0;
    }

    /* HOW TO APPLY */
    section.how_to_apply,
    .how_to_apply div.section_right,
    .how_to_apply div.section_left {
        display: block;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto;
        text-align:center;
        width: auto;
    }
    .how_to_apply div.section_right {
        text-align: center; 
        margin: 0 auto;
        padding: 2em 0;
        width: 600px;
        max-width: 80%
    }
    .how_to_apply div.section_left div.section_col {
        max-width: 100%;
        text-align:center; 
        margin: 0 auto;
    }
    .how_to_apply div.section_right div.section_col {
        max-width: 100%; 
        text-align:center; 
        margin: 0 auto;
    }

}

@media screen and (min-width: 601px) {
    .moreinfo {
        display: none; 
        position: absolute;
        left: 50%;
        top: 50%;
        width: 70%;
        transform: translate(-50%, -50%);
        background-color: #fff; 
        margin: 0 auto; 
        padding: 0;
        border: 1px solid #888;
        box-shadow: rgba(0, 0, 0, 0.35) .25em .25em 1em;
        z-index:2;
    }
    .modal_cover {
    position: fixed;
    overflow:auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.85);
    display: none;
    z-index: 1;
    }
}
@media screen and (max-width:764px) {
    .icon-panel,
    .icon-panels > *,
    .icon-panel div.text,
    .icon-panel div.text,
    .icon-panel div.text p,
    .icon-panel img.icon {
        text-align: center;
        margin-left: auto;
        margin-right: auto;  
    }
    .icon-panel div.text p {
        min-height: initial;
    }
    .benefits .icon-panel {
        padding:35px;
    }
    .benefits .icon-panel img.icon {
        max-width: 135px;
        margin-bottom: 5vw;
    }
    .icon-panel.eabx {
        display: block;
        margin-bottom: 0;
        text-align: center;
    }
    .icon-panel.eabx img {
        width: 100%;
        margin-bottom: -.5em;
        margin-top: -.5em;
    }
    h3.wrap_eabx {
        margin: auto;
        text-align: center;
    }      
    .about-benefits .icon-panels {
        margin-bottom: 0;
    }
}

@media screen and (min-width:830px) {       
    .about-benefits .icon-panel div.text {
        min-height: 140px;
    }
}
/* tablet breakpoint */
@media screen and (min-width:1110px) {
    .flex-cols,
    .icon-panels {
        margin-bottom: 0;
    }
    .icon-panel div.text {
        min-height: 200px;
    }
    .about-benefits .icon-panels .icon-panel a.action_button {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 764px) {
    
    .icon-panels.benefits .icon-panel div.text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .about-benefits .icon-panels {
        text-align: center;
        width: 100%;
    /*  row-gap: 20px; */
    }    
    /* about-benefits */
    .about-benefits .icon-panels .icon-panel div.text {
        text-align: center;
        div.text {
            min-height: 120px;
        }
    }
    .about-benefits .icon-panels .icon-panel div.text p {
        max-width: 420px;
        text-align: center;
    }
    .about-benefits .icon-panels .icon-panel a.action_button {
        display:block;
        position: relative;
        width: 12em;
        left: auto;
        right: auto;
        margin-top: 18px;        
    }
}
