/*!
 * Start Bootstrap - Scrolling Nav HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
	font-family: 'Microsoft JhengHei', sans-serif;
	margin:0;
	padding:0;
	font-size: 16px;
	letter-spacing: 2px;
	background-color:#abdbf6;
}

html {
    width: 100%;
    height: 100%;
}

a{
  color:#333;
}

a:hover {
  color:#666;
  text-decoration:none;
}

.navbar-brand {
  float: left;
  min-height: 70px;
  /* padding: 0; */
  padding: 25px 0;
	
	font-family: 'Microsoft YaHei', 'Microsoft JhengHei';
	font-size: 18px;
	font-weight:600; 
	letter-spacing: 2px;
}

h1 { color:#fff; }

h3 { font-weight:bold; }

.navbar-toggle {
    margin-top: 20px;
}

.section_margin { padding: 65px 0 45px 0; /* margin-top:45px; margin-bottom:45px; */ }

#custom-bootstrap-menu.navbar-default {
	/* background: #fff !important; */
	background: rgba(255, 255, 255, 0.9) !important;
}

#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: #0696d6;
	/* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5), 0 0 8px #000; */
}
#custom-bootstrap-menu.navbar-default {
    font-size: 16px;
    /* background-color: #84befd; */
	background:none;
    border-bottom-width: 0px;
	max-width:1920px;
	margin:auto;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li {
	padding-top:10px;
}

#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
	font-family: 'Microsoft YaHei', 'Microsoft JhengHei';
	font-size: 18px;
	font-weight:600; 
	letter-spacing: 2px;
    color: #0696d6;
    /* background-color: #84befd; */
	background:none;
	/* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5), 0 0 8px #000; */
	
	-webkit-transition: all ease .3s;
       -moz-transition: all ease .3s;
         -o-transition: all ease .3s;
            transition: all ease .3s;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
    color:#fdbd10;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
    color:#fdbd10;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #0cafe2;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #0cafe2;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #0cafe2;
}


.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
  	background: none;
	color: #fdbd10;
}


/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.row { font-size: 18px; color:#333; letter-spacing:2px; } 

.main-section {
	width: 100%;
	max-width: 1920px;

	background-image: url("../images/bg_loop1.png");
  	background-repeat: repeat;
	/* background-size: 100% auto; */	
	background-position: center center;

	background-color:#abdbf6;
	
	margin:auto;
	
	top: -30px;
  	position: relative;
}

.section_bg { background-image: url("../images/bg_loop3.png"); }

.main-section2 {
	width: 100%;
	max-width: 1920px;

	background-image: url("../images/bg_loop3.png");
	background-size: 100% auto;
	background-position: center top;
	background-color:#fff;
	
	margin:auto;
    min-height : 100vh;
}


.tbl_td { background-image:url(../images/tbl_middle.png); background-size:100% 100%; padding:0 7%;} 

.tbl_td_schedule {padding:0 10%;} 

.tbl_content { color:#000; font-size: 14px;  }

.table-bordered > tbody > tr > td {
  	border: 1px solid #ddd;
	text-align: center;
	vertical-align: middle;
}


a[name] {
  padding-top: 80px;
  margin-top: -80px;
  display: inline-block; /* required for webkit browsers */
}


.standard-section {
    height: auto;
    padding: 50px 0;
    text-align: center;
    background: #88ce43;
}
.standard-section h1, .standard-section td, .standard-section div{
	color:#FFF;	
}

.register-section {
    height: auto;
	max-width:1920px;
	margin:0px 0 0 0 ;
    padding: 0px 0;
	padding-top:60px;
    text-align: center;
    
    
	/*
    background: rgba(255, 255, 255, 0.6);
	background-image:url('../images/bg_apply.jpg');
	background-size: 100% auto;
	background-attachment: fixed;
	*/
}

.demovideo-section {
    height: auto;
	max-width:1920px;
	margin:auto;
    padding: 50px 0;
	padding-top:100px;
    text-align: center;
}

.title1 { font-weight:bold; color:#61c6c2; text-align:left; border-bottom:#61c6c2 dashed 1px; padding:0 0 5px 10px; margin-bottom:10px; font-size: 30px;}

.title2 { font-weight:bold; color:#61c6c2; text-align:left; border-bottom:#61c6c2 dashed 1px; padding:0 0 5px 10px; margin-bottom:10px; font-size: 24px;}

.video_text { font-size:16px}

.video_topic { font-size:22px; color:#8fc13e; font-weight:bold}

.video_topic2 { font-size:18px; color:#8fc13e; font-weight:bold}

.btn-main {
  color: #FFF;
  background-color: #7C7C7C;
  border-color: #FFF;
}

.btn-main:hover,
.btn-main:focus,
.btn-main.focus,
.btn-main:active,
.btn-main.active,
.open > .dropdown-toggle.btn-main {
  color: #fff;
  background-color:#8fc13e;
  border-color: #fff;
}

.topic { color:#c09d78; font-size:22px } 

.error { color:#F30; font-size:13px; line-height: 20px; }

.top-buffer { margin-top: 20px; }

.star { color:#F60; }

.btn-primary.gradient {
	background: -moz-linear-gradient(top,  #33a6cc 50%, #0099cc 50%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#33a6cc), color-stop(50%,#0099cc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #33a6cc 50%,#0099cc 50%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #33a6cc 50%,#0099cc 50%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #33a6cc 50%,#0099cc 50%); /* IE10+ */
	background: linear-gradient(to bottom,  #33a6cc 50%,#0099cc 50%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33a6cc', endColorstr='#0099cc',GradientType=0 ); /* IE6-9 */
	border:none;
}

.btn-primary.gradient:hover, .btn-primary.gradient:focus, .btn-primary.gradient:active, .btn-primary.gradient.active, .open > .dropdown-toggle.btn-primary {
	background: -moz-linear-gradient(top,  #66b2cc 50%, #33a6cc 50%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#66b2cc), color-stop(50%,#33a6cc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #66b2cc 50%,#33a6cc 50%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #66b2cc 50%,#33a6cc 50%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #66b2cc 50%,#33a6cc 50%); /* IE10+ */
	background: linear-gradient(to bottom,  #66b2cc 50%,#33a6cc 50%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66b2cc', endColorstr='#33a6cc',GradientType=0 ); /* IE6-9 */
}

label { display: block; float:left; }

table td { font-size:16px; }

.booklist { padding:10px 10px 0 10px; }

.booklist img{  }

.bookcover { height:200px; overflow:hidden;} 

.thumbnail:hover { box-shadow: 2px 2px 5px grey; }

.bookname { font-size:14px; line-height: 16px;  color:#84befd; height:50px; vertical-align:middle; display:table-cell; }

.demo_bookname { font-size:20px; color:#630; }

.booktxt { font-size:16px; }

.dropdown-menu {
	/* background: rgba(130, 188, 212, 1); */
	background: rgba(255, 255, 255, 1);
}

.dropdown-menu > li > a {
  font-size: 16px;
  padding: 6px 20px;
  color:#0696d6; 
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color:#93c4f9;
}

.rules { color:#12225c; padding:10px 20px 20px 20px;  border-radius: 10px; }

.log {background-image:url(../images/log.png); background-size: contain; background-repeat: no-repeat; width:100%; height: 42vw; padding:160px 0 0 30px; }

.log_xs {  padding:0; }


.log_xs2 {background-image:url(../images/log_xs2.png); background-size: contain; background-repeat: no-repeat; width:100%; height: 250vw; padding:21vw 12vw 0 10vw; margin:auto; }



.booklist { background: rgba(255, 255, 255, 0.3); margin-top:100px; padding:20px; }

.register-section { /* background-color:#f2d39c; */ }

.text_white { color:#FFF; }

.btn_apply { height: 110px; margin-top: 100px; }

/* change breakpoint */

#fancybox-close {
    right: -35px;
}

/* .yt { background: rgba(192, 194, 194, 0.8); color:#FFF; border-radius: 8px; padding:15px; } */
.yt { background-image: linear-gradient(135deg, rgba(215,197,172,0.7), rgba(139,186,229,0.8)); color:#FFF; border-radius: 8px; padding:15px; margin-top:20px; }
.content_topic { background-image: linear-gradient(to bottom, rgba(245,223,220,0.5), rgba(194,163,97,0.8));
  color: #1C1B1B; border-radius: 8px; padding:15px 80px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); font-size:24px; }

.guidelines {
  background-image: linear-gradient(to bottom, rgba(212, 152, 80, 0.7), rgba(147, 130, 162, 0.7));
  color: #FFF;
  border-radius: 18px;
  padding: 15px 80px;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  font-size: 24px;
  border: #fff solid 4px;
}

.tbl_main{
	border: 35px solid transparent;
  	border-image: url("../images/table.png") 40 stretch;
	background: url("../images/white_bg.png");
	background-repeat: no-repeat;
    background-origin: padding-box;
	background-size: 100% 100%;
  	padding: 20px 30px 20px 30px;

	font-size: 18px;
	letter-spacing: 2px;
	color: #000;
	line-height: 35px;
}

.tbl_form { padding: 80px 80px; line-height: 25px; letter-spacing: 1px;}

.tbl_topic {
  	position: relative;
  	width: fit-content;
	margin: auto;
}

.tbl-ws > tbody > tr > td {
  font-size: 14px;
}

.tbl_topic_img { height:80px; }
.img_topic { height:76px; }

.tbl_format_img { height:110px; z-index: 10; position: relative; }

.pic1 { height: 300px; }
.pic2 { height: 380px; }

.award { max-height: 400px; }

.schedule { height: 400px; }

.drama > tbody > tr > td { font-size: 15px; }

#enquiry { color:#000; font-size: 16px; background-color: #abdbf6; padding:70px 70px 0 70px; }
.enquiry_topic { font-weight:bold; font-size: 17px; margin-bottom:10px;}
#enquiry a{ color:#000; }
#enquiry a:hover{ color:#666; }

.gov_logo { height: 60px; }

.top_logo_wrap { background-color: #fff; padding:20px; }
.top_logo { height: 60px; margin-top: 20px; }
.top_logo2 { height: 80px; }

.orange_border { border:#f8a01b solid 6px; padding:40px 40px; }
.orange_format_txt { font-size: 15px; line-height: 24px; text-align: justify; text-justify: inter-word; }
.orange_col { display:table-cell; vertical-align: middle; float: none; }

.judge_name { font-size:24px; font-weight: 600; margin-top: 20px; }

.form_topic { color: #8a6622; font-size: 24px; margin-bottom: 10px; font-weight: bold; }

.justify { text-align: justify; text-justify: inter-word; }

.p_dash { letter-spacing: 0; }

.scroll {
	font-size: 16px;
	padding: 20px;
  	background-color: #f8f4e9;
  	margin: 20px;
  	height: 200px;
  	overflow-y: scroll;
  	scrollbar-width: thin;
	scrollbar-color: #f7af40 #ceb792;
  	float: none;
}

.scroll::-webkit-scrollbar {
  width: 10px;
}

.scroll::-webkit-scrollbar-thumb {
  background-color: #6b96bb; /* Set thumb color for Chrome and Safari */
}

.scroll::-webkit-scrollbar-track {
  background-color: #0c5391; /* Set track color for Chrome and Safari */
}

.submit_video{
	padding:20px; border-radius: 20px; background-color: #fffbf6;
}

.news_hr {
  margin-top: 0px;
  margin-bottom: 0px;
}

.overlay_diamond { position: absolute; top: 40%; width: 98%; text-align: center; }

.overlay_music { position: absolute; top: 62%; width: 98%; text-align: center;  }

.diamond_img { width:180px; }

.overlay_topic { position: absolute; top: -25px; width: 97.5%; text-align: center; }

.consultant_name { font-size: 24px; font-weight: 700; }

.workshop_txt { margin: auto; width: fit-content; text-align: left; min-width:160px; }

audio {
  width: 150px;
  height: 40px;
}

audio::-webkit-media-controls-panel {
  -webkit-justify-content: center;
  height: 40px;
}

/* Removes the timeline */
audio::-webkit-media-controls-timeline {
  display: none !important;
}

/* Removes the time stamp */
audio::-webkit-media-controls-current-time-display {
  display: none;
}
audio::-webkit-media-controls-time-remaining-display {
  display: none;
}

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
		/* background: rgba(130, 188, 212, 0.9); */
		background: rgba(255, 255, 255, 1);
		color:#000;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
	
	/* dropdown menu */
	
	.navbar-nav .open .dropdown-menu {
    	position: static;
    	float: none;
    	width: auto;
    	margin-top: 0;
		/* background: rgba(74, 140, 213, 0.7); */
		background: rgba(27, 201, 255, 0.7);
    	border: 0;
    	-webkit-box-shadow: none;
            	box-shadow: none;
		font-size:18px;
  	}
  	.navbar-nav .open .dropdown-menu > li > a,
  	.navbar-nav .open .dropdown-menu .dropdown-header {
    	padding: 5px 15px 5px 25px;
		color:#FFF;
  	}
  	.navbar-nav .open .dropdown-menu > li > a {
    	line-height: 20px;
  	}
  	.navbar-nav .open .dropdown-menu > li > a:hover,
  	.navbar-nav .open .dropdown-menu > li > a:focus {
    	color:#1d68bb !important;
		background:none !important;
  	}
}

/* end change breakpoint */


@media (max-width: 767px) {
	.caption { display:none; }
	
	.tbl { width:90%; margin:auto; }
	
	.tbl_td {padding:0 10%;}
	
	.tbl_td_schedule {padding:0 6%;} 
	
	.table-responsive { /* width: 73vw */ /* 280px*/; border:none; }
	
	.schedule_xs { padding:0; margin:0; }
	
	.navbar-nav .open .dropdown-menu > li > a {
    	color: #fff !important;
	}
	
	.navbar-nav .open .dropdown-menu > li > a:hover,
  	.navbar-nav .open .dropdown-menu > li > a:focus {
    	color:#fdbd10 !important;
	}
	
	.bookcover { height:130px; overflow:hidden; }
	
	.bookname { height:48px; overflow:hidden; display:block;} 
	
	.main-section {
		max-width: 780px;

		/*
		background-image: url("../images/bg_xs.jpg");
		background-color:#0296b4;

		background-image: url("../images/main_xs.jpg?v=8"), url("../images/bg_loop1.png");
  		background-repeat: no-repeat, repeat;
		background-size: 100% auto, 100% auto;	
		background-position: center top, center top;
		*/
	
		margin:auto;
	}
	
    .main-section2 {
		max-width: 780px;

		/*
		background-image: url("../images/bg_loop1.png");
		background-color:#0296b4;
		*/
	
		margin:auto;
		margin-top:-20px;
	}
	
	.navbar-brand { padding-left: 20px; }
	
	.content_topic {  border-radius: 8px; padding:15px 15px; font-size:18px; }
	
	.dropdown-menu > li {
		width: 180px; 
		display: inline-block;
	}

	/* .tbl_topic { bottom: -40px; } */
	.tbl_topic_img { height:55px; }
	
	.tbl_main{
  		padding: 20px 10px 20px 10px;
	
		font-size: 16px;
		line-height: 32px;
	}
	
	.pic1 { height: 170px; }
	
	.schedule { width: 90%; height: auto; }
	
	.logo_margin { margin-top:50px; }
	
	.gov_logo { height: auto; }
	
	#enquiry { padding:0px; padding-top:50px; }
	
	.section_margin { padding: 60px 0 20px 0; }
	
	.orange_col { display:block; vertical-align:none; float: left; }
	
	.orange_border { padding: 40px 10px; }
	
	.btn_apply { height: 80px; margin-top: 50px; }
	
	.overlay_diamond { top: 45%;}
	.diamond_img { width:50px; }
	
	.overlay_topic { position: absolute; top: -25px; width: 96%; text-align: center; }
	
	.img_topic { height:66px; }
	
	.overlay_music { display:none; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.log {padding:110px 0 0 30px;}	
	.content_topic { font-size:18px; }
	.dropdown-menu > li {
		width: 200px; 
		display: inline-block;
	}
	.tbl_main{
  		padding: 10px 15px 10px 15px;
	
		font-size: 16px;
		line-height: 32px;
	}
	
	.pic1 { height: 230px; }
	
	.main-section { position: relative; }
	
	/* .tbl_topic { bottom: -45px; } */
	.tbl_topic_img { height:60px; }
	
	.schedule { height: 310px; }
	.pic2 { height: 290px; }
	
	.gov_logo { height: 50px; }
	
	.top_logo { height: 47px; margin-top: 20px; }
	.top_logo2 { height: 60px; }
	
	.section_margin { /* padding: 40px 0 0 0; */ }
	
	.btn_apply { height: 90px; margin-top: 70px; }
	
	.diamond_img { width:100px; }
	
	.img_topic { height:70px; }
	
	.overlay_music { top: 90%; width: 98%; text-align: center;  }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.mushroom { margin-left:5%; }
	.log { padding:140px 0 0 30px;}
	.content_topic { font-size:20px; }
	.dropdown-menu > li {
		width: 250px; 
		display: inline-block;
	}
	.pic1 { height: 270px; }
	
	.tbl_main{
		font-size: 17px;
		line-height: 35px;
		padding: 20px 30px 20px 30px;
	}
	
	.tbl_form { padding: 80px 40px; line-height: 25px; letter-spacing: 1px;} 
	
	.main-section { position: relative; }
	
	.tbl_topic_img { height:70px; }
	
	.schedule { height: 370px; }
	.pic2 { height: 350px; }
	
	.gov_logo { height: 55px; }
	
	.top_logo { height: 50px; margin-top: 20px; }
	.top_logo2 { height: 60px; }
	
	.section_margin { /* padding: 45px 0 0 0; */ }

	.btn_apply { height: 100px; margin-top: 80px; }
	
	.diamond_img { width:140px; }
	
	.img_topic { height:73px; }
	
}

@media (min-width: 1200px) {	
	.mushroom { margin-left:5%; }
	
	.log { height: 540px; }

	.choice_lg { margin-left: 12%; }
}

@media (min-width: 1920px) {
	
}


@media(min-width:767px) {
    .navbar {
        padding: 10px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }
	
	
}


