/*****structure*/
body {
/*padding-top: 50px;*/
	font-size: 18px;
}
div > div.container {
  padding: 40px 15px;
  text-align: center;
}
.row {
    margin-right: initial;
    margin-left: initial;
}

/*****global*/
img{width:100%;}
.bg_white{background-color: white;}
.relative{position: relative;}
.text_left{text-align: left;}
.float_right{float: right;}
a, a:hover, a:focus{text-decoration: none;}
.width_60{width: 60%;}
.border_top{border-top: 50px solid #B3E5FC;}
.text_just{text-align: justify;text-justify:newspaper;}

/*****background*/
.index.intro{
	background: url("../img/bg_1.png"), #B3E5FC;
	background-repeat-x: no-repeat;
	background-repeat-y: repeat;
	background-position-x: center;
	background-position-y: top;
	min-height: 1508px;
}
.expo1{background-color: white;}
.expo2{background-color: #F0F4C3;}
.more_link{
	background: url("../img/bg_2.png"),#B3E5FC;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 600px;
}
.slider{background-color: #D4B07F;}
.gallery.intro, .ref.intro{
	background: #fff;
	box-shadow: 10px 10px 25px #888888;
	z-index: 20;
	position: relative;
}
.ref.keyword{background-color: #B3E5FC;}
.ref.list{background-color: #B3E5FC;}

/*****font*/
@font-face {
	font-family:"Roboto-Regular";
	src: url("../fonts/Roboto-Regular.ttf");
	src: url("../fonts/Roboto-Regular.eot") format("embedded-opentype"),
         url("../fonts/Roboto-Regular.woff") format("woff"),
         url("../fonts/Roboto-Regular.ttf") format("truetype");
}
body{font-family: Roboto-Regular, Microsoft JhengHei, Ariel}
h1, .font_small h1:not(.font_fix){text-align: center;}
h2, .font_small h2:not(.font_fix){}
h3, .font_small h3:not(.font_fix){}
#footer p{font-size: 0.8em;}
#menu li, #navbar li{font-size: 1em;}
p, .font_small p:not(.font_fix){font-size: 1em;}
p, .font_small li{font-size: 1em;}
.font_small .refList{font-size: 0.8em;}
.font_medium h1:not(.font_fix){}
.font_medium h2:not(.font_fix){}
.font_medium h3:not(.font_fix){}
.font_medium p:not(.font_fix){font-size: 1.2em;}
.font_medium li{font-size: 1.2em;}
.font_medium .refList{font-size: 1em;}
.font_large h1:not(.font_fix){}
.font_large h2:not(.font_fix){}
.font_large h3:not(.font_fix){}
.font_large p:not(.font_fix){font-size: 1.5em;}
.font_large li{font-size: 1.5em;}
.font_large .refList{font-size: 1.2em;}

div.footer p{font-size: 50%;}
.fontS{font-size: 13px;}
.fontM{font-size: 19px;}
.fontL{font-size: 28px;}

/*****nav*/
nav.navbar{background-color: transparent; border-width: 0 0 0px;}
nav.navbar li{background-color: #B3E5FC; }
.navbar-nav {
    margin: 0;
	background-color: #B3E5FC;
}
.navbar-inverse {
	background-color: transparent;
	border-color: transparent;
}
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
     max-height: initial;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    background-color: #CDDC39;
}
.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover {
	background-color: #CDDC39;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-width: 0px;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: #CDDC39;
}
.navbar-inverse .navbar-nav>li:focus, .navbar-inverse .navbar-nav>li:hover{
	/*background-color: #CDDC39;*/
}
.navbar-inverse .navbar-toggle {
    border-color: #CDDC39;
}
.navbar-inverse .navbar-nav>li>a {
    color: #000;
}
.nav>li {
    width: initial;
    text-align: center;
}

/*****menu*/
/*.menu{ position: fixed; top: 30%; z-index: 200;}*/
.menu{ position: fixed; top: 0%; left:10%; z-index: 2000;}
.menu img{z-index: 300;width:185px;}
.menu ul{padding: 0; margin: 0;position: absolute; top:-250px;}
.menu a {display: block;}
.menu:hover ul, .menu:focus ul, .menu a:hover + ul, .menu a:focus + ul{top: 35px !important;}
.menu li {
    display: block;
	width: 185px;
    padding: 5px;
	text-align: center;
	background-color: #CDDC39;
}
.menu li.active{background-color: #fff;}
.menu li a{display: block;color: #000;}
.menu li:hover,.menu li:focus{background-color: #fff;}

/*****index*/
.intro .row {padding-top: 75px;margin-bottom: 50px;}
/*intro*/

.intro_detail_before {content: url('../img/bowht1.png'); width: 100%;padding: 0px;}
.intro_detail_after {content: url('../img/bowht3.png'); width: 100%;padding: 0px;}
@media screen\0 {
.intro_detail_before{background:url('../img/bowht1.png'); background-size:cover; padding:9% 15% 0px 10%; background-position-x:50%;}
.intro_detail_after{background:url('../img/bowht3.png'); background-size:cover; padding:9% 15% 0px 10%; background-position-x:50%;}
}
.intro_detail {background:url('../img/bowht2.png'); background-size: contain; padding: 0 15% 0 10%; text-align: justify;text-justify:newspaper;}
.intro_detail *{margin: 0;}

.intro_small{box-shadow: 10px 10px 25px #888888;}
#intro2 > div:nth-child(2){text-align: left;}
/*expo1*/
.expo1_detail_before {content: url('../img/boblue1.png'); width: 100%;padding: 0px;}
.expo1_detail_after {content: url('../img/boblue3.png'); width: 100%;padding: 0px;}
@media screen\0 {
.expo1_detail_before{background:url('../img/boblue1.png'); background-size:cover; padding:7% 0 0 0; background-position-x:50%;}
.expo1_detail_after{background:url('../img/boblue3.png'); background-size:cover; padding:7% 0 0 0; background-position-x:50%;}
}
.expo1_detail {background:url('../img/boblue2.png'); background-size: contain; padding: 0 10%;}
.expo1_detail p{margin: 10px 0px 0px 0px;}
.expo1_detail :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
/*expo2*/
.expo2 div.title_box{
	background:url('../img/btn_dtl.png');
	background-repeat: no-repeat;
	background-position: center;
	min-height: 75px;
}
.expo2 div.title_box > *{
    margin-top: 0px;
    line-height: 75px;
}
.expo2_detail_before {content: url('../img/borice1.png'); width: 100%;padding: 0px;}
.expo2_detail_after {content: url('../img/borice3.png'); width: 100%;padding: 0px;}

.expo2_detail > div:not(.expo2_detail_before):not(.expo2_detail_after){
	background:url('../img/borice2.png') ;
	background-size: contain;
}
.expo2_detail div div {width: 90%;height: 100%;border-bottom: 3px solid #CDDC39;margin: 0 auto;}
.expo2_detail div:nth-child(8n+1) div,.expo2_detail div:nth-child(8n+2) div,.expo2_detail div:nth-child(8n) div {border-bottom: none; margin-bottom: 0px;}
/*.expo2_detail div[style='order:0;'] div,.expo2_detail div[style='order:1;'] div,
.expo2_detail div[style='order:6;'] div,.expo2_detail div[style='order:7;'] div {border-bottom: none; margin-bottom: 0px;}*/
@media screen and (min-width:0\0) and (min-resolution:.001dpcm) {
	.Rtable > .Rtable-cell {display: block;width:100%;}
}
@media screen\0 {
.expo2_detail div{background: #fffde7!important;background-size: contain;}
.ping_shan h3{font-size: 21px;}
}
@media screen\0 and (max-width:700px) {
.ping_shan{margin: 0px !important;}
}
.more_link img{margin-bottom: 15px;}
.more_link p{text-align: justify;text-justify:newspaper;}
/*slideshow*/
img.slideshow_btn{height:30px; width:auto; margin: 10px;}
.slider .col-md-8 p{text-align: justify;text-justify:newspaper;}


#slideshow_main > div{display: inline-block; width:49%;}
#slideshow_main #cycle-1 {width:93%; margin: auto auto;}
#slideshow_main #cycle-1 img{width:auto;max-width: 100%; max-height:700px;}
#slideshow_main #cycle-1 div{padding-top: 20px !important; padding-bottom: 20px !important;}

#slideshow_thumb {width:80%; margin: 0 auto;}
#slideshow_thumb .cycle-caption{text-align: left;}
#slideshow_thumb .cycle-slide {border:3px solid #fff;}
#slideshow_thumb .cycle-slide-active {border:3px solid #004;}
#slideshow_thumb #cycle-1 img{width:auto; max-height:250px;}
#slideshow_thumb img {height: auto; display: inline-block;}

/*****gallery*/
.gallery.intro p{text-align: justify;text-justify:newspaper;}
.gallery.map{z-index: 10; position: relative;}
.ref_num {float: right;}
.ad-preloads{display: none;}
.fancybox-inner{width: 100% !important;}
/*.ad-nav{display: none;}*/
.eastern, .southern, .waichai, .central {cursor : pointer;}
/*.ad-image{
	width: inherit!important;
	max-width: 630px!important;
	height: inherit!important;
	max-height: 450px!important;
	top: 0px!important;
}
.ad-image img{
	width: inherit!important;
	max-width: 630px!important;
	height: inherit!important;
	max-height: 450px!important;
}
.ad-image-description{
	width: inherit!important;
	max-width: 630px!important;
	max-height: 450px!important;
	padding: 0px!important;
}*/
/*****list*/
.ref.intro p{text-align: justify;text-justify:newspaper;}
.ref.list{z-index: 10; position: relative;}
.ref.keyword li{float: left; width: 50%; text-align: left; margin-bottom: 15px;}
.ref.keyword ul{}
.online{padding: 10px; background: white; box-shadow: 10px 10px 25px #888888; }
.online:hover{background: #CDDC39;}
.online a{display: block;padding: 1px;}
.online h2{margin: 0px;color: #000;}
.online:hover h2{color: #fff;}

.part3-head{ width: 90%; margin: auto auto; text-align: center;}
td.refText{background-color: #1B5E20;width: 18%;}
td.refText a{color: #fff; padding: 5px;}
td.refText.active, td.refText:hover{background-color: #CDDC39;}
td.refText.active a,td.refText:hover a{color: #000;}

table.refList th {background-color: #CDDC39;}
table.refList td {background-color: #fff;border-bottom: 2px solid grey;}
table.refList td:nth-child(1), table.refList th:nth-child(1) {padding-left: 5%;width: 20%;}
table.refList td:nth-child(2), table.refList th:nth-child(2) {width: 25%;}
table.refList td:nth-child(3), table.refList th:nth-child(3) {width: 25%;}
table.refList td:nth-child(4), table.refList th:nth-child(4) {width: 20%;padding-right: 5%;}

div.refList{background-color: #fff;    }
div.refList > div.row {padding: 0 5%;border-bottom: 2px solid grey;}
div.refList > div.row:nth-child(1){background-color: #CDDC39;border-bottom: 0px; font-weight: bold;}
div.refList > div.row > div{padding: 5px;  display: inline-block; vertical-align: middle; float: none;}
div.refList > div.row:first-child > div:nth-child(1){}
div.refList > div.row:first-child > div:nth-child(2){margin-left: -4px;}
div.refList > div.row:first-child > div:nth-child(3){margin-left: -3px;}
div.refList > div.row:first-child > div:nth-child(4){margin-left: -4px;}
/*IE*/
@media screen\0 {
	div.refList > div.row:first-child > div:nth-child(1){}
	div.refList > div.row:first-child > div:nth-child(2){}
	div.refList > div.row:first-child > div:nth-child(3){}
	div.refList > div.row:first-child > div:nth-child(4){}
}
/*FireFox*/
_:-moz-tree-row(hover), div.refList > div.row:first-child > div:nth-child(1){}
_:-moz-tree-row(hover), div.refList > div.row:first-child > div:nth-child(2){}
_:-moz-tree-row(hover), div.refList > div.row:first-child > div:nth-child(3){}
_:-moz-tree-row(hover), div.refList > div.row:first-child > div:nth-child(4){}

/*****misc*/
p.padding_top_16{padding-top: 16px;}
.z_10{z-index: 10;}
.skip-link a
{
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}

.skip-link a:focus
{
position:relative;
width:auto;
height:auto;
z-index:99;
left: 0px;
}
