.sm_header_bg {    
    background-image: url('/images/headers/premium-rj-visa-header.jpg');
    background-position-y: 15%;
    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;
}

#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;
}

@media screen and (max-width: 600px) {
    .sm_header_bg_title h1 {
        display: none;
    }
    #mobile_header {
        display: block;
    }
}

body {
    min-height: 100vh;
}
h2.section_header {
    line-height: 1.2em;
}
em {
    font-style: italic;
}

/* ================================================
ICON PANELS + MORE INFO - START
================================================ */

.flex-cols,
.icon-panels {
    display:flex;
    flex-wrap:wrap;
    padding: 1rem;
    gap:.75rem;
    justify-content: center;
}
.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 {
    padding:2rem;
}
.icon-panel img.icon {
    display: block;
    width: 30%;
    height: auto;
}
.icon-panel h3 {
    font-size: 1.35rem;
    line-height: 1.5;
    margin:0 auto;
    padding: 1em 0 0em;
}
.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;
}
.moreinfo {
    width: 100%;
    max-width: 600px;    
    text-align: center;
}
/* effective width of mreinfo content */
 .moreinfo .tips,
 .moreinfo .types {
        padding: 30px 0;
}
.moreinfo ul {
    width: 85%;
    margin: auto;
    text-align: left;
    padding-left: 1rem;
}
.moreinfo ul li {
    list-style-type: disc;
}/*
.moreinfo ul li span {
    display: inline-block;
    list-style-type: disc;
    font-size: 1rem;
}*/
.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;
}

section.overlap_container {
    position: relative;
    overflow: visible;
    padding-top: 30px;
    padding-bottom: 80px;
}
section.overlap_container+section {
    padding-top: 130px;
}
img.visa-card-image.overlap {
    position: absolute;
    width: 300px;
    height: auto;
    left: 0; 
    right: 0; 
    top: 80px;
    margin-inline: auto;
/*    box-shadow: rgba(0, 0, 0, 0.18) 0px 12px 24px;
    border-radius: 13px;*/
}
section.how_to_apply.pad_50 {
    padding-bottom : 0;
}
.how_to_apply.visa-card-image {
    display: block;
    width: 400px;
    height: auto;    
    vertical-align: bottom;
}
.how-to-apply img.visa-card-image {
    display: block;
    width: 100%;
    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;
}
.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;
}
a.action_button {
    padding: 8px 15px;
}
.flex-col div.circle {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin: auto;
    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;
}

.circle_columns .flex-cols h3 {
    margin: 1em auto;
    font-size: 1.33em;
    line-height: 1.5;
}
/*
.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;
}

/* moreinfo popups */

@media screen and (min-width:601px) {
    .moreinfo {
        height: auto;
    }
}
.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;
}


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.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: #234b9f;
    font-weight: bold;
    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: 600px) {

    .moreinfo {        
        height: auto;
    }
    .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:700px) {

}
@media screen and (max-width:765px) {
    .icon-panel,
    .icon-panels > *,
    .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;
    }
    .eabxlogo {
    }
    .icon-panel.eabx img {
        width: 100%;
        margin-bottom: -.5em;
        margin-top: -.5em;
    }
}

/* icon panels breakpoint */
@media screen and (min-width:766px) {
    .flex-cols > *,
    .icon-panels > * {
        width:calc((100% - .75rem) / 2);
    }
    .icon-panel div.text p {
        min-height: 8em;
    }
}
@media screen and (max-width: 800px) {
    .icon-panels.benefits .icon-panel div.text p {
        font-size: 1rem;
        line-height: 1.5;
    }
}
/* tablet breakpoint */
@media screen and (min-width:1110px) {
    .flex-cols,
    .icon-panels {
        margin-bottom: 0;
    }
    .flex-cols > *,
    .icon-panels > * {
        width:calc((100% - 1.5rem) / 3);
    }
    .icon-panel div.text p {
        min-height: 9em;
    }
}
