/* search */

.search_wrap .choose{display:flex;align-items: center;}
.search_wrap .choose .word a{padding:5px;font-weight:600;color:#000;}
.search_wrap .choose .word a:hover{color:#ce122b;}
.search_wrap .choose .word a.active{color:#ce122b;}
.search_wrap .choose .custom-select{}

.search_box .section-subtitle{line-height: 2.35;}
.search_wrap .search_box .check_wrap {display: flex;align-items: center;}
.search_wrap .search_box .check_wrap .custom-control-inline:last-child{margin-right:0;}
.search_wrap .form-control{min-width:190px;}
.search_wrap select{min-width:178px;}
.search_wrap .search_box #search_btn i{margin-right:5px;}
.search_wrap .search_box #search_btn:hover{color: #fff;background-color: #ce122b;border-color: #ce122b;}

.search_wrap .search_box #keyword2{max-width:235px;}
.search_wrap .sch_pt {display: flex;align-items: center;}

.search_wrap .section-group > .group {flex-flow: column;}

@media (max-width:800px) {
    .search_box {display: flex;flex-flow: column;}
.search_wrap .form-control{min-width:140px;}
    .search_wrap select{min-width:160px;}
}
@media (max-width:660px) {
    .section-content {flex-flow: column;}
    .section-group.ml-2 {margin-left: 0 !important;}
    .check_wrap{margin-bottom:1rem !important;}
    #search_btn{margin-top:0.25rem;}
}
@media (max-width:540px) {
    .search_wrap .section-group > .group{width:100%;}
    .search_wrap .section-group > .group > .section{flex-flow: column; align-items: flex-start;margin-top:0 !important;}
    .search_wrap .search_box .check_wrap{margin-top:1.5rem;}
.search_wrap .form-control{min-width:100%;}
.search_wrap select{min-width:100%;margin-bottom:0.25rem;}
    .section-group {flex-flow: column;}
    #search_btn{margin-top:1rem;}
    .search_wrap .choose{flex-flow: column;align-items: flex-start;}
}


/* map */
.default-layout .page-content{padding-bottom: 0;}
#networkContent {}
.network_map_wrap {display: flex;}

.map_pt.pt_lf{width:25%;overflow-y: auto;height:85vh;transition-duration:0.4s;}

.map_pt.pt_lf .list-item.active{background:#fafafa;}
.map_pt.pt_lf .list-item.active dd{color:#ce122b !important;}
.map_pt.pt_lf .list-item.active .section-header h2{color:#ce122b !important;}

.map_pt.pt_rt{width:75%;transition-duration:0.4s;}
.map_pt.pt_rt iframe{min-height:770px;}

#map{height:85vh !important;}
.nav-categories .nav-link{background:#fff;}

.section.nav-section {position: sticky;top: 0;background:#e1e1e1;z-index: 10;box-shadow: 0 3px 3px rgb(0 0 0 / 4%);}
/*.sub_tabcon_wrap .list-item:first-child > section {padding-top: 0 !important;}*/
.page--howToBuy-network .network-section .d-flex-table__body {overflow: hidden;text-overflow: ellipsis;height: 20px;word-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;}

@media (max-width:1130px) {
    .map_pt.pt_lf{width:30%;}
    .map_pt.pt_rt{width:70%;}
}
@media (max-width:900px) {
    .network_map_wrap{flex-flow: column;}

    #map{height:50vh !important;}

    .map_pt.pt_lf{width:100%;order: 1;height:60vh;}
    .map_pt.pt_rt{width:100%;}

    .map_pt.pt_lf .section-gutter {padding-top:1rem;padding-bottom:1rem;}
    .section-header {margin-bottom: 0.5rem;}
}
@media (max-width:380px) {
    .map_pt.pt_rt iframe{}
}



/***********scrollbar***********/
.map_pt.pt_lf::-webkit-scrollbar {
    width:6px;
    background-color:#000;
    position:fixed;
    z-index:999999;
} /* this targets the default scrollbar (compulsory) */
.map_pt.pt_lf::-webkit-scrollbar-track{
    background-color:#ccc;
}
.map_pt.pt_lf::-webkit-scrollbar-thumb {
    background-color:#000;
    border-radius:20px;
} /* this will style the thumb, ignoring the track */


/* tab */

.sub_tab_wrap {margin: 0 auto;width: 100%;}
.nav-categories .nav-link{cursor: pointer;}
.sub_tabcon{ display:none; overflow:hidden; }
.sub_tabcon.active{ display:block; }

@media(max-width:900px){
}