.row_banner_s2>div{
    padding-top:96px;
    padding-bottom:96px;
}


.stj_hero_s1_wrap{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.stj_h_ic_pin{
    color:transparent !important;
    background-image: url('/wp-content/themes/bb-theme-child/icons/sjt_map_pin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width:34px;
    height:68px;
    transform: translateY(-10px);
}
.stj_hero_s1{
    display:flex;
    margin-left: auto;
    margin-right: auto;
}
.stj_hero_s1_in{
    display:inline-flex;
    justify-content: center;
    margin:0 auto;
    box-shadow:0px 0px 32px 0px rgba(0,0,0,0.08);
    border-radius: 20px;
}
.stj_hero_s1_btn{
    width:100%;
    padding-left:calc(50% + 10px);
    position: relative;
    width:260px;
    height:104px;
    border:1px solid var(--c_grey);
    background:#fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor:pointer;
    text-align: left;
}
.stj_hero_s1_btn.active{
    /*border-color:var(--c_black2);*/
    border-color:var(--c_red);
}
.stj_hero_s1_btn.active:before{
    content:'';
    pointer-events: none;
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    z-index: 9;
    /*box-shadow: inset 0px 0px 0px 3px var(--c_black2);*/
    box-shadow: inset 0px 0px 0px 3px var(--c_red);
}
.stj_hero_s1_col:nth-child(1) .stj_hero_s1_btn{
    border-radius: 20px 0px 0px 20px;
    border-right:0px;
}
.stj_hero_s1_col:nth-child(3) .stj_hero_s1_btn{
    border-radius: 0px 20px 20px 0px;
    border-left:0px;
}
.stj_hero_s1_col:nth-child(1) .stj_hero_s1_btn.active:before{
    border-radius: 18px 0px 0px 18px;
}
.stj_hero_s1_col:nth-child(3) .stj_hero_s1_btn.active:before{
    border-radius: 0px 18px 18px 0px;
}
.stj_hero_s1_btn_ic{
    position: absolute;
    right: 52%;
    height:92%;
    bottom:0px;
    width: auto;
}
.stj_hero_s1_btn_text{
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 1.05em !important;
    transform: translatey(2px) translatex(-7px);
    color:#000 !Important;
    letter-spacing: 0px !important;
}
.stj_hero_s1_loc{
    display:inline-flex;
    margin-left: auto;
    margin-right: auto;
    margin-top:24px;
}

.stj_hero_s1_loc_in {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.stj_hero_s1_loc_in>div{
    border: 1px solid var(--c_grey) !important;
    display: block;
    padding: 8px 19px 5px;
    background: #fff;
    border-radius: 16px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0px;
    color: #000;
}
.stj_hero_s1_loc_in>div {
    padding: 6px 19px 7px;
    font-family: Lab Grotesque;
}

.stj_hero_s1_loc_in[filter="uc"] div:not(.has_uc){
    display:none;
}
.stj_hero_s1_loc_in[filter="gp"] div:not(.has_gp){
    display:none;
}
.stj_hero_s1_loc_in[filter="d"] div:not(.has_d){
    display:none;
}

.stj_hero_s1_loc_in>div.active{
    /*box-shadow: inset 0px 0px 0px 2px #000;*/
    box-shadow: inset 0px 0px 0px 2px var(--c_red);
}
.stj_hero_s1_main_btn{
    display: inline-block;
    justify-content: center;
    margin-top:40px;
    margin-left: auto;
    margin-right: auto;
}
.stj_hero_s1_main_btn_a{
    padding:18px 22px 12px;
    background:var(--c_black);
    border-radius: 100px;
    text-decoration: none !important;
    display: inline-block;
    vertical-align: center;
}
.stj_hero_s1_main_btn_a span{
    font-size:20px !important;
    font-weight: bold !important;
    letter-spacing: 0px !important;
    line-height: 1.2 !important;
    color:#fff !important;
}
.stj_hero_s1_main_btn_a svg{
    display:inline-block;
    margin-left: 10px;
    transform: translatey(0px);
    width:9px;
}
.stj_hero_s1_main_btn_a:hover{
    color: #fff;
    background:var(--c_red);
}
.stj_hero_s1_main_btn_a{
    /*padding-top:17px;*/
    /*padding-top: 1.13em;*/
    padding-top: 18.58px;
    padding-bottom: 13px;
}
.stj_hero_s1_main_btn_a svg{
    transform: translatey(2px);
}

/* test */
.stj_hero_s1_main_btn_a{
    line-height: 0;
    padding-top:16px;
    padding-bottom:16px;
    font-size: 0;
    display:inline-flex;
    align-items: center;
}
.stj_hero_s1_main_btn_a>span{
    font-family: 'LabGrotesqueFix3' !important;
    line-height:1 !important;
    /* background:red !important;  */
    /* font-family: 'Roboto'!important; */
    /* font-family: 'Montserrat' !important; */
    /* font-family: 'arial' ; */
    
}
/* test 1*/


.stj_hero_s1_wrap .need_selection{
    position: relative;
}
.stj_hero_s1_wrap .need_selection:before{
    content: '';
    position: absolute;
    top:50%;
    left:-38px;
    transform:translateY(-50%);
    width:25px;
    height:21px;
    background-image:url('/wp-content/themes/bb-theme-child/stj_hero/images/triangle_red.svg');    
    background-size:contain;
    background-position: center;
    animation-name: triangle_an;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transition: all ease 0.3s;
}
@keyframes triangle_an {
  0% {margin-left: 5px;}
  50% {margin-left: 0px;}
  100% {margin-left: 5px;}
}

/* wait_time_popoup */
.wait_time_popup:before{
    content:'';
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}
.wait_time_popup.active:before{
    opacity: 1;
    visibility: visible;
    background-color:rgba(0,0,0,0.15);
    backdrop-filter: blur(16px);   
}
.wait_time_popup .loclist_waittime{
    position: static;
}
.wait_time_popup .wait_time_info{
    display:none;
}
.wait_time_popup .loc_waittime_card_n {
    display:none;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:auto;
    height: auto;
}
.wait_time_popup .loc_waittime_card_n.active_s1{
    display:block;
}
.wait_time_popup .loc_waittime_card_n.active_s2{
    visibility: visible;
    opacity: 1;
}
.wait_time_popup .loc_waittime_card_n_in{
    display:none;
}
.wait_time_popup .loc_waittime_card_n{
    border:0px;
    background: transparent;
}
.wait_time_popup .loc_waittime_card_n_in.hover_content{
    display: flex;
    position: relative;
    left:0px;
    top:0px;
    visibility: visible;
    opacity: 1;
    transform: none;
    width:440px;
    padding-top:33px;
    border-radius: 16px;
    padding-bottom: 28px
    
}
.wait_time_popup .loc_waittime_card_n_title{
    font-size:31.25px;
    margin-bottom:16px;
    font-weight: 800;
    letter-spacing: 0px;
    color: #000;
    text-align: center;
}
.wait_time_popup .loc_waittime_card_n_title_suf{
    display: inline !important;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.wait_time_popup .loc_waittime_card_n .close_icon{
    display: block !important;
    position: absolute;
    top:-11px;
    right:-11px;
    left:auto;
    height:27px;
    width:27px;
}
.wait_time_popup .loc_waittime_card_n .close_icon{
    cursor: pointer;
}
.wait_time_popup .loc_waittime_card_n:not(.closes) .loc_waittime_card_n_wt_label{
    display: block !important;
    margin-bottom: 4px;
    letter-spacing: 0px;
}
.wait_time_popup .loc_waittime_card_n_time{
    font-size:39.06px;
    line-height: 1.2;
    font-weight: 900;
    padding:4px 16px;
    width:auto;
    min-width: 205px;
    margin-bottom: 17px;
}
.wait_time_popup .loc_waittime_card_n_address{
    font-size: 20px;
    line-height: 1.28em;
    margin-bottom: 4px !important;
}
.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h{
    margin-bottom: 16px !important
}

.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h svg{
    display:none;
}
.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h span{
    font-size: 16px;
    font-weight: 800 !important;
    letter-spacing: 0px;
}
.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h span.op_status:after{
    content: '-';
    color: #000;
    display: inline-block;
}
.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h span.op_status{
    padding-right:4px;
}
.wait_time_popup .loc_waittime_card_n .loc_short_info_n_op_h span.op_info{
    padding-left:0px;
}
.wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp{
    gap:15px;
}

@media(min-width: 851px){
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a span{
        font-size: 19.2px;
        line-height:1.4em !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        display: inline-block;
        font-weight: 500 !important;
        transform: none !important;
        padding: 0px !important;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a{
        padding:7px 8px;
        padding-right: 32px;
        position: relative;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a svg{
        position: absolute;
        right:10px;
        top:50%;
        transform: translatey(-50%);
        width: 14px;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a.loc_waittime_card_n_btn_phone svg{
        background:var(--c_black2);
        border-radius: 50%;
        padding:0.15em;
        padding-bottom:0.2em;
        padding-left:0.2em;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a.loc_waittime_card_n_btn_phone svg path{
        fill:#fff;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a.loc_waittime_card_n_btn_phone:hover svg{
        background:#fff;
    }
    .wait_time_popup .loc_waittime_card_n .loc_waittime_card_n_btn_wrp>a.loc_waittime_card_n_btn_phone:hover svg path{
        fill:var(--c_red);
    }    
}






@media(max-width:850px){
    .stj_hero_s1,
    .stj_hero_s1_loc {
        max-width: 100%;
    }
    .stj_hero_s1 {
        max-width: 100%;
    }
    .stj_hero_s1_in{
        flex-wrap:wrap;
        flex-direction: column;
    }
    .stj_hero_s1_btn{
        border-top:0px;
        border-left:0px;
        border-right:0px;
        border-radius: 0px !important;
        width:350px;
        max-width: 100%;
        height:112px;
        padding-left:50%
    }
    .stj_hero_s1_btn.active{
        border-color: var(--c_grey);
    }
    .stj_hero_s1_btn.active:before{
        content:none;
    }
    .stj_hero_s1_col:last-child .stj_hero_s1_btn{
        border-bottom: 0px;
    }
    .stj_hero_s1_in{
        border-radius: 20px;
        overflow: hidden;
        width:350px;
        max-width: 100%;
    }
    .stj_hero_s1_btn_ic{
        right:75%;
        transform:translateX(50%);
    }
    .stj_hero_s1_btn[link="gp"] .stj_hero_s1_btn_ic{
        right:70%
    }
    .stj_hero_s1_wrap .need_selection:before{
        content:none;
    }
    .stj_hero_s1_btn .stj_hero_s1_btn_ic_ar{
        display:block !important;
        position: absolute;
        top:50%;
        right:0px;
        transform:translateY(-50%);
        right:70px;
        line-height: 0;
        font-size: 0;
    }
    .stj_hero_s1_main_btn{
        display:none;
    }
    
    .stj_hero_s1_loc_in{
        flex-direction: column;
        width:350px;
        max-width: 100%;
        gap:0px;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.08);
        position: relative;
        margin-top:0px !important;
        margin-bottom: 0px !important;
    }
    .stj_hero_s1_loc_in>div{
        border-top:0px !important;
        border-left: 0px !important;
        border-right: 0px !important;
        border-radius: 0px;
        font-size:20px;
        line-height: 1.2em;
        padding:15px 32px 15px;
        position: relative;
    }
    .stj_hero_s1_loc_in>div.active{
        box-shadow:none;
    }
    .stj_hero_s1_loc_in>div:last-child{
        border-bottom:0px !important;
    }
    .stj_hero_s1_loc_item_ic{
        display: block !important;
        font-size: 0 !important;
        line-height: 0 !important;
        position: absolute;
        top:50%;
        right:32px;
        transform:translatey(-50%);
        
    }
    .stj_hero_s1_loc_item_ic svg{
        width:5px;
    }
    
    
    /* ------------------ */
    .stj_hero_s1{
        display:none;
    }
    .stj_hero_s1_wrap[current_step="1"] .stj_hero_s1{
        display: block;
    }
    .stj_hero_s1_loc{
        margin-top:0px;
        margin-bottom: 0px;
        display: none;
    }
    .stj_hero_s1_wrap[current_step="2"] .stj_hero_s1_loc{
        display: block;
    }
    /* ------------------- */
    
    .stj_hero_s1_wrap[current_step="2"] .stj_hero_s1_loc_in[filter="gp"] .stj_hero_s1_loc_item a.ling_gp,
    .stj_hero_s1_wrap[current_step="2"] .stj_hero_s1_loc_in[filter="d"] .stj_hero_s1_loc_item a.link_d{
        display: block !important;
        position: absolute;
        top:0px;
        left:0px;
        width: 100%;
        height: 100%;
    }
    
    /* .wait_time_popup */
    .wait_time_popup {
        display: none;
    }
    .stj_hero_s1_wrap[current_step="3"] .wait_time_popup {
        display:block !important;
    }
    .wait_time_popup .loc_waittime_card_n.active_s1{
        display: block;
        opacity: 1;
        visibility: visible;
        max-width: 100%;
    }
    .wait_time_popup.active:before{
        content:none !important;
    }
    .wait_time_popup .loc_waittime_card_n{
        position: relative;
        top:0px;
        left:0px;
        transform: none !important;
    }
    .loc_waittime_card_n{
        box-shadow: none !important
    }
    .wait_time_popup .loc_waittime_card_n_in.hover_content{
        display: flex !important;
        width:350px;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 40px;
    }
    .wait_time_popup .loc_waittime_card_n .close_icon{
        display: none !important;
    }
    .wait_time_popup .loc_waittime_card_n_title{
        font-size:39.1px;
    }
    .wait_time_popup .loc_waittime_card_n_address{
        font-size: 16px
    }
    .loc_waittime_card_n .wrp_mobile .loc_waittime_card_n_btn_wrp>a{
        width:auto;
    }
    /* .wait_time_popup end */
    
    
    
    
    
    /* -- NAV ----------------- */
    .stj_hero_s1_mob_nav_wrp{
        position: relative;
        display: inline-flex;
        width:300px;
        margin:0 auto;
        margin-top:21px;
        height: 46px;
        justify-content: center;
    }
    .stj_hero_s1_mob_back{
        display: flex !important;
        position: absolute;
        line-height: 0;
        font-size: 0;
        width:46px;
        height: 46px;
        background:#fff;
        border: 1px solid var(--c_grey);
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        bottom:0px;
        left:0px;
        cursor: pointer;
        opacity: 0;
        transition: all ease 0.3s;
        visibility: hidden;
    }
    .stj_hero_s1_wrap:not([current_step="1"]) .stj_hero_s1_mob_back{
        opacity: 1;
        visibility: visible;
    }
    .stj_hero_s1_mob_nav{
        display:flex !important;
        gap:10px;
        align-items: center;
    }
    .stj_hero_s1_mob_nav_item{
        width:8px;
        height: 8px;
        background:#CFD5D4;
        border-radius: 5px;
        transition: all ease 0.3s;
    }
    .stj_hero_s1_wrap[current_step="1"] .stj_hero_s1_mob_nav_item:nth-child(1),
    .stj_hero_s1_wrap[current_step="2"] .stj_hero_s1_mob_nav_item:nth-child(2),
    .stj_hero_s1_wrap[current_step="3"] .stj_hero_s1_mob_nav_item:nth-child(3){
        width:28px;
        background-color: #57C293;
    }
    /* -- NAV END --------------- */

    
}



@media(max-width:991px){
    .stj_h_ic_pin{
        height: auto;
        width: 24px;
        transform: translateY(-13px);
        aspect-ratio: 34 / 69;
    }
}
@media(max-width:500px){
    .home_banner_s2_text{
        width:280px;
        margin-left:auto;
        margin-right: auto;
    }
}
