/* Version 1.0.8 */
/**************************************** 
GEOinfo Map
****************************************/
#mapid {
	height: 280px;
	width: calc(100% + 10px);
    border: 1px #DFDFDF solid;
    border-radius: 7px;
    margin-left: -5px;
  }
#provider_mapid{
	min-height: 300px;
    min-width:400px;
    max-width: 100%;
	height: 300px;
	width:100%;
}
.district_tab::-webkit-scrollbar , .sub_district::-webkit-scrollbar {
    width: 2px;
    height: 10px;
}
 
.district_tab::-webkit-scrollbar , .sub_district::-webkit-scrollbar-track {
	background:#FFF;
	
}
 
.district_tab::-webkit-scrollbar , .sub_district::-webkit-scrollbar-thumb {
  background-color: #7A97B7 !important;
  border-radius: 40px;
  border:2px solid white;
}

div::-webkit-scrollbar-thumb {
	background-color: #7A97B7;
	margin:2px;
}

section.adv_search div.wget_hcp_search .search-adv {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

section.adv_search div.wget_hcp_search .search-adv:last-of-type {
    border: 0;
}

section.adv_search div.wget_hcp_search .search-adv .row {
    margin-left: -15px;
    margin-right: -15px;
}

section.adv_search div.wget_hcp_search .search-adv .search_box {
    align-items: baseline;
}

section.adv_search div.wget_hcp_search .search-adv .search_box .spacer {
    border-bottom: 1px solid #CCC;
}

div.wget_hcp_search button#hcp_search_reset:after {
    background: none;
    width: 0;
    height: 0;
    margin: 0;
}

section.adv_search .hcp_starting {
    height: 3rem;
}

.err_msg {
    display: none;
    color: #E00000;
}

.back_to_hcp{
    height:60px;
    background-image: url('../images/back-to-search-bg-banner-desktop.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 1px #DFDFDF solid;
    display: flex;
}
.back_to_hcp .container{
    padding-left: 30px;
	margin-top: 25px;
}
.back_to_basic {
    margin: 25px 0;
}
.back_to_hcp a:before,
.back_to_basic a:before{
    display: inline-block;
    content: '';
    background-image: url('../images/icons/tri-arrow-left-icon-blue.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 7px;
    height: 10px;
    margin-right: 7px;
}
.hcp_name{
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.3);
}
.hcp_name .provider_name{
    background-color: #2767D4;
    color: #FFF;
    border-radius: 25px;
    display: inline-block;
    padding: 4px 20px;
}

.update_date{
    float: none;
    margin-top: 15px;
}

.details_top .social-share-list{
    margin: 0 !important;
}
.hcp-results .white-box{
    background-color: #FFF;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
    width: 100%;
    margin: 0;
	border-radius: 5px;
}
.hcp-results .white-box.provider_box{
	margin-top: 40px;
	
}
.icon-box {
    font-family: 'NotoSansHK-Medium', 'NotoSansSC-Medium';
    background-position: left top;
    background-size: 22px;
    background-repeat: no-repeat;
    padding-left: 32px;
    margin-top: 20px;
	margin-left: 5px;
}
html:lang(en) .icon-box {
    font-family: 'Muli-Medium';
}
.icon-box > div{
    font-family: 'NotoSansHK-Regular', 'NotoSansSC-Regular';
}

html:lang(en) .icon-box > div{
    font-family: 'Muli-Regular';
}


.icon-box.address_box{
    background-image: url(../images/icons/location-detail-address-icon.png);
}

.icon-box.phone_box{
    background-image: url(../images/icons/location-detail-phone-icon.png);
}

.icon-box.email_box{
    background-image: url(../images/icons/location-detail-email-icon.png);
}

.icon-box.website_box{
    background-image: url(../images/icons/location-detail-website-icon.png);
}

.icon-box.service_id_box{
    background-image: url(../images/icons/location-detail-services-number-icon.png);
}

.icon-box.long_name_box{
    background-image: url(../images/icons/location-detail-name-icon.png);
}

.icon-box.short_name_box{
    background-image: url(../images/icons/location-detail-abbreviation-icon.png);
}

.sharable_data{
    background-color:#F2F6F7;
    padding: 30px 20px 20px 20px;
    margin-top: 30px;
	margin-right: 0px;
}

.sharable_data .title, .opening_hours .title, .ehr_reg_centre .title, .newborn_reg_centre .title, .provider_box .title, .fixed_provider_box .title, .provider_notices{ 
    font-family: 'NotoSansHK-Medium', 'NotoSansSC-Medium';
}

html:lang(en) .sharable_data .title, html:lang(en) .opening_hours .title, html:lang(en) .ehr_reg_centre .title, html:lang(en) .newborn_reg_centre .title , html:lang(en) .provider_box .title, html:lang(en) .fixed_provider_box .title, html:lang(en) .provider_notices{
    font-family: 'Muli-Medium';
}
.provider_box .title{
	white-space: nowrap;	
}
.sharable_data li{
    font-size:15px;
}
html:lang(en) .sharable_data li{
    font-size:14px;
}
.sharable_data .body_three{
    color:#565656;
}
.sharable_data .domain .remark {
    font-size: 15px;
}
html:lang(en) .sharable_data .domain .remark {
    font-size: 14px;
}

.ehr_reg_centre{
    padding-left: 0px;
}
.timetable{
    padding-bottom: 30px;
}
.timetable .title, .timetable .details .t_title, .timetable .details .t_body .t_row, .t_body .t_row{
    border-radius: 25px;
    padding: 7px 17px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.timetable .details{
	font-size: 14px;	
}
html:lang(en) .timetable .details{
	font-size: 13px;	
}
.timetable .details .no_timetable {
    padding: 7px 17px;
}
.details .t_body .t_row, .t_body .t_row{
	text-align:right
}
.t_body .t_row > span{
    float:none;
}
.t_body .t_row .th{
/*    padding-right: 10px;*/
/*    float:left;*/
    text-align: left;
}   
.timetable .details .t_title, .t_body .t_row:nth-child(even){
    background-color: #F2F6F7;

}
.timetable .details .t_body .t_row span.time_slot {
    white-space: nowrap;
}
.tooltip .t_body .t_row{
    width: 100%;
    text-align: right;
    padding: 4px 15px;
}
.provider_box{
    padding: 30px 0 0 0 ;
}
 
.provider_info div{
    word-break: break-word;
}
.provider_info div.provider_email, .provider_info div.provider_website{
	word-break: break-all;
}

.provider_notices{
    background-color: #E1F6FF;
    background-image: url(../images/icons/information-icon-yellow.png);   
    background-position: left 20px center;
    background-size: 29px;
    background-repeat: no-repeat;
    padding: 10px 10px 10px 55px;
    border-radius: 25px;

}

.provider_box .other_services{
    background-color: #2767D4;
    color: #FFF;
    background-image: url(../images/icons/address-small-icon-white.png);   
    background-position: left 20px center;
    background-size: 12px;
    background-repeat: no-repeat;
    padding: 5px 19px 5px 41px;
    border-radius: 25px;
    display:inline-block;
}

.provider_box .other_services a{
    color: #FFF;
}
.provider_info .info.hide{
    display:none;
}
.provider_info .row div{
    margin-bottom: 10px;
}
.provider_box hr{
	margin-top: 20px;
	margin-bottom: 20px;	
}
.provider_box .button{
    text-align: center;
}
.provider_box .button .expend_btn:after{
    content: '';
    width: 30px;
    height: 20px;
    background-image: url(../images/arrow-down-icon-blue.png);
    background-position: center 4px;
    background-size: 20px;
    background-repeat: no-repeat;
    display: inline-block;
}

.provider_box .button .expend_btn.active:after{
    background-image: url(../images/arrow-up-icon-blue.png);
}

.downloads{
    margin: 40px 0px 0 0px;
}
.downloads > div{
    float:left;
    width: 50%;
}
.downloads > div > a{
    display: block;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 120px;
    padding: 20px;
    padding-top: 130px;
    text-align: center;
}
.downloads > div.disable a {
    cursor: default !important;
    color: grey !important;
}
.downloads > div.disable a:hover {
    text-decoration: none !important;
}
.downloads .remark {
    font-size: 80%;
    padding-left: 15px;
}
.downloads .remark:before {
    content: '* ';
    margin-left: -10px;
}

.downloads > div.d_csv > a {
    background-image: url(../images/csv-download-icon.png);
}
.downloads > div.d_json > a {
    background-image: url(../images/json-download-icon.png);
}
.downloads > div.d_pdf > a {
    background-image: url(../images/pdf-download-icon.png);
}
.downloads > div.d_pdf.disable > a {
    background-image: url(../images/pdf-no-download-icon.png);
}
.downloads > div.d_xml > a {
    background-image: url(../images/xml-download-icon.png);
}

.downloads > div.d_csv > a:hover {
    background-image: url(../images/csv-download-icon-hover.png);
}
.downloads > div.d_json > a:hover {
    background-image: url(../images/json-download-icon-hover.png);
}
.downloads > div.d_pdf > a:hover {
    background-image: url(../images/pdf-download-icon-hover.png);
}
.downloads > div.d_pdf.disable > a:hover {
    background-image: url(../images/pdf-no-download-icon.png);
}
.downloads > div.d_xml > a:hover {
    background-image: url(../images/xml-download-icon-hover.png);
}
.downloads > div.msg_process {
    display: table;
    position: relative;
    width: 100%;
    padding: 69px 20px;
}
.downloads > div.msg_process::after {
    content: "";
    background: url('../images/download_loading.gif') no-repeat center center;
    opacity: 0.15;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 0;
}
.downloads > div.msg_process > p {
    display: table-cell;
    vertical-align: middle;
    font-size: 1.5em;
    text-align: center;
}

.dataTable thead, .ui.table:not(.unstackable) thead{
    display:none !important;
}
.list_icon{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 28px;
    vertical-align: top;
    display: inline-block;
	margin-right: 10px;
}

.list_icon.icon_mobile{
    background-image: url(../images/icons/location-detail-phone-icon.png);
}

.list_icon.icon_address{
    background-image: url(../images/icons/location-detail-address-icon.png);
}
.list_address{
    display: inline-block;
    width: calc(100% - 45px);
    vertical-align: top;
}

.hcp_name h1{
	margin-bottom:10px;
}
.fixed_provider_box{
	position:fixed;
	bottom: 0px;
	width: 100%;
    z-index: 1000;
	background-color:#F0FAFF;
	background-image:url(../images/arrow-down-icon-blue.png);
	background-position:bottom 10px left 50%;
	background-repeat:no-repeat;
	background-size: 20px;
	cursor: pointer;
}
.fixed_provider_box .container{
	padding: 15px 20px;
}

#overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 99999;
    background-color: #FFF;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
    display: none;
}
#overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin:-30px 0 0 -30px;
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.social-share-list.active .social-share {
    margin-top: 1rem;
}

section.content ul.district_tab > li {
    padding: 0;
}

section.content ul.district_tab > li > a,
section.content ul.district_tab > li:hover > a, 
section.content ul.district_tab > li.active > a {
    display: block;
    padding: 15px 20px 15px 0px;
}

section.content .result_list > ul.sub_district {
    margin: 10px 20px !important;
}

/* Advance search: Sharable data field */
section.adv_search .search-adv .area-1 {
    margin-left: -25px !important;
    margin-right: -25px !important;
}
section.adv_search .search-adv ul.select_box li {
    position: relative;
}
.select_box .select-sd-option {
    background-color: #FFF;
    position: relative;
    padding: 0;
    width: 100%;
}
.select_box .select-sd-option hr {
    margin: 0 15px;
}
.select_box .select-sd-option .option {
    display: block;
    background-image: url('../../main_assets/images/common/unselect-button.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding: 8px 15px 8px 42px;
    border-bottom: #EFEFEF 2px solid;
    text-align: left;
    color: #212121;
}
.select_box .select-sd-option .option:last-child {
    border-bottom: 0;
}
.select_box .select-sd-option .option.active {
    background-image: url('../../main_assets/images/common/selected-button.png');
}


section.adv_search .select_box {
    width: 100% !important;
}
section.adv_search .wget_home_hcp.wget_hcp_search.hcp_search .select_box .select-option {
    width: 100% !important;
    z-index: 10;
}
section.adv_search .select_box .select-district-option {
    min-width: 440px;
    z-index: 10;
}
@media (max-width: 1139px) {
    section.adv_search .select_box .select-district-option {
        min-width: 380px;
    }
}
@media (max-width: 991px) {
    section.adv_search .select_box .select-district-option {
        width: 100% !important;
    }
}

section.adv_search .search-adv label {
    margin-bottom: 0;
}

/**************************************** 
Responsive: Tablet view
****************************************/


@media all and (min-width: 768px) {
    .icon-register_center{
        display: inline-block;
    }
    .provider_box{
        margin-left: 15px;
    }
    .dataTable thead, .ui.table:not(.unstackable) thead{
        display:table-header-group !important;
    }
    .update_date{
        float: right;
    }
    /*.ehr_reg_centre{
        padding-left: 20px;
    }*/

    /*.timetable .title, .timetable .details .t_title, .timetable .details .t_body .t_row, .t_body .t_row{
        width: 90%;
    }*/
    .downloads > div{
        width: 25%;
    }
	.pd-left-10{
		padding-left: 10px;	
	}
	.pd-right-10{
		padding-right: 10px;	
	}
	.provider_notices{  
    	background-position: left 10px center;
	}
	.sharable_data{
		margin-right: -5px;
	}
	.hcp-results .white-box{
    	margin: 0;
	}
	.fixed_provider_box{
		display: none;
	}	
	.hcp-results .white-box.provider_box{
		margin-top: 0px;
		
	}
    section.content ul.district_tab > li {
       padding: 0; 
    }

    section.content ul.district_tab > li > a,
    section.content ul.district_tab > li:hover > a, 
    section.content ul.district_tab > li.active > a {
        display: block;
        padding: 15px 20px;
    }

    section.content .result_list > ul.sub_district {
        margin: 10px 0px !important;
    }

    .wget_home_hcp.wget_hcp_search.hcp_search.adv_search .select_box .select-option {
        width: 100% !important;
    }
}


/**************************************** 
Responsive: Deskktop view
****************************************/


@media all and (min-width: 992px) {
    
    .downloads{
        margin: 40px 50px 0 50px;
    }

	.pd-left-10{
		padding-left: 15px;	
	}
	.pd-right-10{
		padding-right: 15px;	
	}
	
	.provider_notices{  
    	background-position: left 20px center;
	}
	.sharable_data{
		margin-right: 5px;
	}
}

@media all and (max-width: 1199px) {
    .back_to_basic > div {
        padding: 0;
    }

    section.adv_search div.wget_hcp_search .search-adv {
        margin-left: 0;
        margin-right: 0;
    }
}

@media all and (min-width: 1249px) {
    .back_to_hcp .container{
        padding-left: 3px;
    }
}


@media all and (max-width: 767px){
    .ui.table:not(.unstackable) colgroup {
        display: none !important;
    }
    .ui.table:not(.unstackable) td:first-child, .ui.table:not(.unstackable) th:first-child {
        font-weight: normal !important;
		padding: 0 20px !important;
    }
    .ui.table:not(.unstackable) tr {
        border-bottom: 1px #C6C6C6 solid  !important;
		padding-top: 15px  !important;
    	padding-bottom: 15px  !important;
    }
    .ui.table:not(.unstackable) tr.group{
        border:none  !important;
    }
	.ui.table:not(.unstackable) tr>td, .ui.table:not(.unstackable) tr>th {
    	padding: 0 20px!important;
	}
	.ui.table hr{
		margin-top: 15px;
		margin-bottom: 15px;
	}

    .social-share-list.active .social-share {
        margin-top: 0;
    }
}
