.segmented {
  padding: 12px;
}
.segmented input[type=radio] {
   display: none;
}
.segmented label {
  border: outset 1px #C0140A;
  padding:10px;
  /*margin-right: -5px;*/
  margin: 15px;
  background: #C0140A;
    cursor: pointer;
    color: white;
}

.segmented input:checked + label {
  border: inset 1px #ff0c00;
  background: #ff0c00;
}

.type_btn {
    float:left;
    height: 25px;
    cursor: pointer;
}

.type_btn_lbl {
    float:left;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 25px;
    height: 20px;
}

#header_wrapper {
	/*	max-width: 1024px;
    width: 100%;*/
	margin-left: auto;
	margin-right: auto;
	background-image: url("../img/top_logo_bg.jpg");
	background-repeat: repeat-x;
}

#header {
    height: auto;
    margin-top: 0px;
    clear: none;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    display: block;
	padding-top: 20px;

}

#my-menu:not( .mm-menu ) {
   display: none;
}

#top_logo_wrapper {
    float: none;
    height: 110px;
	margin-bottom: 20px;
    margin-left: auto;
    margin-top: 5px;
    clear: none;
    width: 100%;
    max-width: 1024px;
    min-height: 50px;
    min-width: 0px;
    margin-right: auto;
    background-image:url("../img/logo_big.png");
    background-position: 5% 0%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: auto;
    display: block;


}

#version_wrapper {
    float: right;
    height: 25px;
    clear: none;
    margin-top: 19px;
    margin-right: 0px;
    display: block;
    /*background: #B91F29;*/
/*    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;*/
}

#version_wrapper_content {
    float: right;
    width: 180px;
	padding-left: 20px;
	padding-right: 0px;
}

#version_wrapper_member {
    float: left;
    
    width: auto;
    line-height: 28px;
}

#version_search_wapper {
/*    float: left;
    height: auto;
    clear: none;
    width: 288.9999959px;
    margin-top: 57px;
    margin-right: 0px;
    margin-left: 68.95811%;
    display: block;*/
    float: left;
    height: auto;
    clear: none;
    width: 300px;
    margin-top: 35px;
    margin-right: 0px;
    margin-left: 70%;
    display: block;
}

#search_wrapper {
    float: right;
    height: 30px;
    /*margin-left: 42.222222%;*/
    margin-top: -24px;
    clear: both;
    width: 57.783184%;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 10px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-right: 0%;
    background-color: rgb(255, 255, 255);
}

#search_btn {
/*    float: left;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: 4.86509%;
    margin-top: 1px;
    clear: none;
    color: rgb(0, 0, 0);
    margin-right: 0%;
    display: block;*/
    float: left;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: 87.86509%;
    margin-top: -22px;
    clear: none;
    color: rgb(0, 0, 0);
    margin-right: 0%;
    display: block;
}

#top_menu_wrapper {
	float: left;
	height: auto;
	margin-top: 0px;
	clear: none;
	/*max-width: 1024px;*/
	width: 100%;
	margin-right: 0%;
	background-image: url("../img/menubar.gif");
	background-repeat: repeat-x;
	background-position: 0% bottom;
}

.text_title3 {
    padding: 10px;
}

#top_menu {
	max-width: 1024px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;

}

.text_selected {
    color: #000000 !important;
    background-color: white !important;
}

#text_en:hover {
	background-color: #9e7000;
}

#text_en:hover a {
	color: #ffffff;
}

#text_en {
    float: left;
    font-size: 1em;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    margin-left: 0%;
    margin-top: 0px;
    clear: none;
    min-height: 0px;
    margin-bottom: 0px;
    /*padding-top: 11px;*/
    padding-bottom: 10px;
    padding-left: 11px;
    padding-right: 11px;
    margin-right: 0%;
    display: block;
}

#text_hk:hover {
    background-color: #9e7000;
}

#text_hk:hover a {
    color: #ffffff;
}

#text_hk {
    float: left;
    font-size: 1em;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1em;
    margin-left: 0%;
    margin-top: 0px;
    clear: none;
    min-height: 0px;
    margin-bottom: 0px;
    /*padding-top: 11px;*/
    padding-bottom: 10px;
    padding-left: 22px;
    padding-right: 22px;
    margin-right: 0%;
    display: block;
}

.text_border {
	border-right: 1px solid white;
}

#text_en:hover {
    background-position: 0% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
}

#text_en:active {
    /*color: rgb(255, 255, 255);*/
    /*background-image:url("../img/top_menu_selected.jpg");*/
    background-position: 0% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
}

#text_hk:hover {
    background-position: 0% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
}

#text_hk:active {
    /*color: rgb(255, 255, 255);*/
    /*background-image:url("../img/top_menu_selected.jpg");*/
    background-position: 0% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
}

#cn {
    float: left;
    height: auto;
    font-size: 1em;
    margin-left: 8%;
    margin-top: 2px;
    clear: none;
    width: auto;
    background-color: rgba(229, 233, 232, 0);
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    margin-right: 0%;
    border-top-color: rgba(157, 172, 169, 0);
    border-right-color: rgba(157, 172, 169, 0);
    border-bottom-color: rgba(157, 172, 169, 0);
    border-left-color: rgba(157, 172, 169, 0);
}

#hk {
    float: left;
    height: auto;
    font-size: 1em;
    /*margin-left: 8%;*/
    margin-top: 2px;
    clear: none;
    width: auto;
    background-color: rgba(229, 233, 232, 0);
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    margin-right: 0%;
    border-top-color: rgba(157, 172, 169, 0);
    border-right-color: rgba(157, 172, 169, 0);
    border-bottom-color: rgba(157, 172, 169, 0);
    border-left-color: rgba(157, 172, 169, 0);
    margin-bottom: 0px;
}

#en {
    float: left;
    height: auto;
    font-size: 1em;
    margin-left: 8%;
    margin-top: 3px;
    clear: none;
    width: auto;
    background-color: rgba(229, 233, 232, 0);
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    margin-right: 0%;
    border-top-color: rgba(157, 172, 169, 0);
    border-right-color: rgba(157, 172, 169, 0);
    border-bottom-color: rgba(157, 172, 169, 0);
    border-left-color: rgba(157, 172, 169, 0);
}

.version_selected {
    color: #C0140A !important;
}

#hk:hover {
    color: red;
}

#hk:active {
    color: red;
}

#cn:hover {
    color: red;
}

#cn:active {
    color: red;
}

#en:hover {
    color: red;
}

#en:active {
    color: red;
}

#index_banner {
	height: auto;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	background-image: url('../img/banner_bg.gif');
    background-size: 100% 100%;
    background-repeat: repeat-x;
}

#index_slider_shadow {
    background-image: url('../img/banner_shadow.jpg');
    background-size: 100% 100%;
    background-repeat: repeat-x;
    height: 2px;
}

#top_login_member_wrapper {
    max-width: 1024px;
    margin-left: auto;
    margin-right:auto;
    padding-right: 10px;
    padding-top: 0px;
}

#top_login_member {
    float: right;
    color: black;
	padding: 8px 0 8px 15px;
}

@media only screen and (max-width: 1050px) {
	#version_search_wapper {
		margin-left: 67%;
	}

    #text_en {
        padding-left: 9px;
        padding-right: 9px;
    }

    #text_hk {
        padding-left: 19px;
        padding-right: 19px;
    }
}

@media only screen and (max-width: 980px) {

    #text_en {
        padding-left: 5px;
        padding-right: 5px;
    }

    #text_hk {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media only screen and (max-width: 931px) {
	#header {
	border-bottom-width: 1px;
        border-bottom-color: rgb(189, 34, 35);
        border-bottom-style: solid;
        padding-bottom: 0px;
    }
    #top_logo_wrapper {
        /*background-image:url("../img/logo_mid.jpg");*/
        background-image:url("../img/logo_big.png");
        background-attachment: scroll;
        background-size: auto;
        background-position: 5% 0%;
        background-repeat: no-repeat no-repeat;

    }

	#version_wrapper {
        clear: none;
        float: right;
        margin-right: 0.05343117%;
    }


    #version_search_wapper {
/*        clear: none;
        margin-top: 40px;
        margin-right: 0.05343117%;
        margin-left: 0px;
        float: right;*/

        clear: none;
		margin-top: 40px;
		margin-right: 1%;
		float: right;
    }

    #text_en {
        width: auto;
    }

    #text_hk {
        width: auto;
    }

    #top_menu_wrapper {
        width: 100%;
    }

    #text_en {
        padding-left: 3px;
        padding-right: 3px;
    }

    #text_hk {
        padding-left: 13px;
        padding-right: 13px;
    }

    #version_wrapper_member {
        position: absolute;
        top: -2px;
        color: white;
        right: 15px;
        /*display: none;*/
    }

    #version_wrapper_content {
        float: right;
    }
}

@media only screen and (max-width: 875px) {



}

@media only screen and (max-width: 790px) {
	#header {
	    margin-top: 0px;
	    margin-left: 0px;
	    clear: none;
	    margin-bottom: 0px;
	    padding-bottom: 0px;
	    width: 100%;
	    height: auto;

	}

    #top_logo_wrapper {
        height: auto;

        padding-bottom: 5px;
        width: 100%;
        background-position: 15% 0%;
    }

    #version_wrapper {
        margin-left: 0%;
        margin-right: 0px;
        float: left;
        margin-top: 104px;
        clear: none;
        width: 184px;
    }

    #version_search_wapper {
/*        margin-left: 0%;
        margin-right: 0px;
        float: left;
        margin-top: 108px;
        clear: none;
        width: 289px;*/
        margin-left: 0%;
        margin-right: 0px;
        float: right;
        margin-top: 128px;
        clear: none;
        width: 270px;
    }

    #search_wrapper {
        display: block;
        width: 95%;
    }

    #top_menu_wrapper {
        height: auto;
        width: 100%;
        display: block;
    }

    #text_en {
        margin-left: 0%;
        width: 100%;
        margin-top: 0px;
        margin-right: 0%;
        background-image:url("../img/top_menu_bg.jpg");
        background-attachment: scroll;
        background-size: auto;
        padding-bottom: 11px;
        clear: none;
        background-position: 0% 0%;
        background-repeat: repeat repeat;
    }

    #text_en {
        margin-left: 0%;
        width: 100%;
        margin-top: 0px;
        margin-right: 0%;
        background-image:url("../img/top_menu_bg.jpg");
        background-attachment: scroll;
        background-size: auto;
        padding-bottom: 11px;
        clear: none;
        background-position: 0% 0%;
        background-repeat: repeat repeat;
    }

    #version_wrapper_content {
        float: left;
        width: 300px;
		padding-left: 20px;
    }

    #top_logo_wrapper {
        margin-bottom: 0px;
    }
}

@media only screen and (max-width: 550px) {
    #top_logo_wrapper {
        background-size: 98%;
		height: 100px;
    }
    #login_greeting {
        display: none;
    }
}

@media only screen and (max-width: 470px) {
    #header {
        padding-top: 0px;
    }

    #top_logo_wrapper {
        /*background-image:url("../img/logo_small.jpg");*/
        background-image:url("../img/logo_big.png");
        background-position: 25% 15%;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: 98%;
		height: auto;
    }

    #version_search_wapper {
        margin-left: 0%;
        margin-right: 2%;
        float: right;
        /*margin-top: 128px;*/
        margin-top: 30px;
        clear: none;
        /*width: 165px;*/
        width: 100%;
    }

    #version_wrapper {
    	/*width: 150px;*/
        width: 100%;
    }

    #version_wrapper_content {
		display: flex;
    align-items: center;
    justify-content: center;
	padding-right:20px;
	width: 100%;
	padding-left: 20px; 
    }

    #hk {
    	
        
    }
    #cn {
    	margin-left: 15px;
        border-radius: 0px;
        border-left: 1px solid rgb(204, 204, 204);
        padding-left:15px;
    }
    #en {
		
    	margin-left: 15px;
        border-radius: 0px;
        border-left: 1px solid rgb(204, 204, 204);
        padding-left:15px;
    }
}

.table tr td {
    border: 0 !important;
}