/*!
 * 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: 17px;
	letter-spacing: 2px;
}

html {
    width: 100%;
    height: 100%;
}

a{
  color:#ff7007;
}

a:hover {
  color:#666;
  text-decoration:none;
}

.navbar-brand {
  float: left;
  min-height: 70px;
  /* padding: 0; */
  padding: 25px 0;
}

h1 { color:#fff; }

h3 { font-weight:bold; }

.navbar-toggle {
    margin-top: 20px;
}

#intro { margin-top:55vw; padding-top: 120px; }
#details { padding-top: 120px; }
#result { padding-top: 120px; }
#award { padding-top: 120px; }
#judge { padding-top: 120px; }
#consultant { padding-top: 120px; }
#selected_book { padding-top: 120px; }
#schedule { padding-top: 120px; }
#workshop { padding-top: 120px; }


#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: #2D5485;
}
#custom-bootstrap-menu.navbar-default {
    font-size: 16px;
    /* background-color: #fdf9f1; */
	background : none;
    border-bottom-width: 0px;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
	font-size: 18px;
    color: #fff;
    background-color: rgba(117, 117, 234, 1.0);
    letter-spacing: 2px;
	border-top: #fff solid 3px;
	border-bottom: #fff solid 3px;

	-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: #ffbe22;
}
#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: #ffbe22;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #fff;
}
#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: #fff;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #7575ea;
}


.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: #2273aa;
}


/* 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; letter-spacing:2px} 

.main-section {
	width: 100%;
	max-width: 1920px;

	
	background-image: url("../images/main.png"), url("../images/bg.jpg");
  	background-repeat: no-repeat, repeat;
	background-size: 100% auto, 100% auto;	
	background-position: center top, center top;
	
	background-color:#fefbc7;
	
	margin:auto;
	margin-top: -30px;
}

.main-section2 {
	width: 100%;
	max-width: 1920px;

	background-image:url('../images/bg.png');
	background-repeat: no-repeat;
	background-size: auto 430px;
	/* background-size: 100% auto; */
	background-position: center top;
	background-color:#fefbc7;
	
	margin-top:-23px;
}

.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:#231815; }

.table-bordered > tbody > tr > td  {
    border: 1px solid #231815;
	text-align:center;
	vertical-align: middle;
}

.table > thead:first-child > tr:first-child > th {
	border: 1px solid #231815;	
}

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;
}

.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;
}

.row { font-size:18px; color:#333; }

.topic { color:#c09d78; font-size:22px } 

.error { color:#F30; font-size:14px; }

.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 */
}

.file_btn {border: #7b7878 solid 1px; padding: 3px 6px; }

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, 0.5);
}

.dropdown-menu > li > a {
  font-size: 16px;
  padding: 6px 20px;
  color:#FFF; 
}

.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; }

#enquiry { color:#000; font-size: 16px; background-color: #e5dba1; padding:70px; margin-top:100px; }
.enquiry_topic { font-weight:bold; font-size: 17px; margin-bottom:10px;}
#enquiry a{ color:#000; }
#enquiry a:hover{ color:#666; }

.booklist { background: rgba(255, 255, 255, 0.3); margin-top:100px; padding:20px; }

.register-section { /* background-color:#f2d39c; */ }

.text_white { color:#FFF; }

.p_dash { letter-spacing: 0; }

hr { border-top: 1px solid #bebbb8; }

.tbl_box_topic {
  	position: absolute;
  	left: 0px;
  	top: -30px;
}

.tbl_box_topic_img { height: 75px; }

.tbl_yellow_bg {
	border-radius: 40px 40px 40px 40px;
	border: none;
	color: #000;
	background-color: #fffef0;
	padding: 50px 60px 60px 60px;
	/* background-image: url("../images/bg/blue_bg2.png"); background-size: 100% auto; background-repeat: repeat; background-position: center top; */
}

.award_img {
	height:350px;
}

.schedule_img { height: 550px; }

.gov_logo { height: 60px; margin-left: 125px; }

.logo_hkfyg { height: 60px; }

.title_img { height: 140px; margin: 100px auto 60px auto; }

.title_img2 { height: 140px; margin: 100px auto 0px auto; }

.page_apply { margin-top:100px; }

.submit_video { 
	display: block;
  	padding: 8px;
  	margin-bottom: 20px;
  	line-height: 1.42857143;
  	background-color: #fff;
  	border: 1px solid #efc9a7;
 	border-radius: 12px; 
	height: 150px;
}

.submit_bookname { word-break: break-all; font-size: 16px; color: #F84206; letter-spacing: 0; max-height: 50px; overflow: hidden; }

.submit_applicant { font-size: 14px; color: #3e3c3c; margin-bottom:10px; max-height: 40px; overflow: hidden; }

.albun_txt { font-size: 18px; margin: 8px 0; color: #0e66d7; font-size: 18px; }

.logo_scolar { height: 87px; }

.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;
}

.yt {
  background-image: linear-gradient(135deg, rgba(245, 245, 245, 0.7), rgba(241, 245, 249, 0.8));
  color: #FFF;
  border-radius: 8px;
  padding: 15px;
  margin-top: 80px;
}

.podcast { height: 30px; vertical-align: bottom; }

#fancybox-close {
  right: -35px;
}

.subtopic1 { height: 30px; margin: 5px; }

.hr1 { border-top: 2px #acd146 dashed; }

.highlight { background-color: #ffff3c; text-decoration: underline; font-weight: bold; }

.mark_pic { height: 320px; }

.judge_bg { 
	width:760px; height:556px; padding-top:100px; 
	background-image: url("../images/judge_bg.png"); background-size: 100% 100%; background-repeat:no-repeat; background-position: center center; margin:auto; 
}

.preface_topic { height:48px; }

.btn_enroll { position: fixed; right: 0px; bottom: 0px; z-index: 1000; }

.booklist_topic { margin-bottom:150px; }

.register_topic { margin-bottom:120px; }

.btn_register { height: 60px; }

@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:#f7f6cb !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:#fefbc7;

		
		background-image: url("../images/main_xs.png"), url("../images/bg.jpg");
  		background-repeat: no-repeat, repeat;
		background-size: 100% auto, 100% auto;	
		background-position: center top, center top;

		margin:auto;
		margin-top:-20px;
	}

	.booklist_topic { margin-bottom:110px; }
	
	.register_topic { margin-bottom:30px; }
	
	.main-section2 {
		background-size: 900px 250px; max-width: 780px; margin-top:-20px;
	}
    
	#intro { margin-top:70vw; }
	#details { padding-top: 90px; }
	#result { padding-top: 90px; }
	#award { padding-top: 90px; }
	#judge { padding-top: 90px; }
	#consultant { padding-top: 90px; }
	#selected_book { padding-top: 90px; }
	#schedule { padding-top: 90px; }
	#workshop { padding-top: 90px; }
	
	.navbar-brand { padding-left: 20px; display:none; }
	
	.content_topic {  border-radius: 8px; padding:15px 15px; font-size:18px; }
	
	.dropdown-menu > li {
		width: 180px; 
		display: inline-block;
	}
	
	.navbar-header {background-color: rgba(117, 117, 234, 0.8); }

	#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
		border-top: #fff dashed 1px;
		/* border-bottom: #fff solid 1px; */
		border-bottom: none;
	}
	
	.navbar-nav {
  		margin: 0 -15px 7.5px -15px;
	}
	
	.navbar-toggle {
  		margin-top: 10px;
	}
	
	.navbar-nav .open .dropdown-menu {
    	background-color: #948cf4;
	}
	
	.tbl_box_topic_img { height: 55px; }
	
	.tbl_yellow_bg {
		padding: 30px 10px 30px 10px;
	}
	
	.selected-book-div { padding:0 5px; }
	.selected-book { margin-bottom:10px; }
	
	.schedule_img { height: auto; }
	
	#enquiry { padding:20px 0 0 0; }
	
	.gov_logo { height: 35px; margin: 20px 0 20px 50px; }
	
	.logo_scolar { height: 50px; }
	
	.title_img { height: 80px; margin: 20px auto 50px auto; }
	
	/* .title_img2 { height: 80px; margin: 20px auto 0px auto; } */
	
	.title_img2 { height: 80px; margin-top: 20px; }
	
	.page_apply { margin-top:30px; }
	
	.details_padding { padding:0; font-size: 15px; }
	
	.logo_hkfyg { height: 38px; }
	
	.yt { margin-top: 0px; }
	
	.judge_bg { width:100%; min-width:360px; max-width:500px; min-height:300px; max-height:400px; height:auto ; padding-top:30px; }
	
	.judge_topic { height:30px; }
	
	.mark_pic { height: auto; }
	
	.preface_topic { height:40px; }
	
	.btn_register { height: 40px; }

}

@media (min-width: 768px) and (max-width: 991px) {
	.log {padding:110px 0 0 30px;}	
	.content_topic { font-size:18px; }
	
	.navbar { padding: 20px 0 0 0!important; }
	.menu_topic { height: 30px; }
	.menu_topic_a { padding-top: 10px!important; padding-bottom: 10px!important; }
	.navbar-nav > li > a { font-size: 15px !important; padding: 15px 5px 15px 5px; }
	.menu_left { border-radius: 30px 0px 0px 30px; color:#7575ea!important; padding: 15px 10px 15px 10px!important; border-left: #fff solid 2px;}
	.menu_right { border-radius:0 30px 30px 0; color:#7575ea!important; padding: 15px 10px 15px 10px!important; border-right: #fff solid 2px;}
	
	.dropdown-menu {
		margin-top: -10px !important;
	}
	
	.dropdown-menu > li > a {
  		font-size: 13px;
	}
	
	.navbar-brand { display:none; }
	
	.tbl_box_topic_img { height: 62px; }
	
	#intro { margin-top:55vw; }
	#details { padding-top: 105px; }
	#result { padding-top: 105px; }
	#award { padding-top: 105px; }
	#judge { padding-top: 105px; }
	#consultant { padding-top: 105px; }
	#selected_book { padding-top: 105px; }
	#schedule { padding-top: 105px; }
	#workshop { padding-top: 105px; }
	
	.tbl_yellow_bg {
		padding: 40px 30px 40px 30px;
	}

	.award_img {
		height:300px;
	}
	
	.schedule_img { height: 450px; }
	
	.gov_logo { height: 35px; margin-left: 48px; }
	
	.title_img { height: 100px; margin: 40px auto 50px auto; }
	
	.title_img2 { height: 100px; margin: 40px auto 0px auto; }
	
	.page_apply { margin-top:60px; }
	
	.logo_hkfyg { height: 40px; }
	
	.logo_scolar { height: 55px; }
	
	.yt { margin-top: 40px; }
	
	.judge_bg { width:600px; height:439px; padding-top:80px; }
	
	.judge_topic { height:33px; }
	
	.booklist_topic { margin-bottom:120px; }
	
	.register_topic { margin-bottom:90px; }
	
	.main-section2 {
		background-size: 100% 300px;
	}
	
	.btn_register { height: 47px; }
	
	.text_margin {padding-top:6px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.boat { margin-top:11vw; }
	.mushroom { margin-left:5%; }
	.log { padding:140px 0 0 30px;}
	.content_topic { font-size:20px; }
	
	.navbar { padding: 30px 0 0 0!important; }
	.menu_topic { height: 40px; }
	.menu_topic_a { padding-top: 10px!important; padding-bottom: 10px!important; }
	.navbar-nav > li > a { font-size: 16px !important; padding: 15px 10px 15px 10px; }
	.menu_left { border-radius: 40px 0px 0px 40px; color:#7575ea!important; border-left: #fff solid 2px;}
	.menu_right { border-radius:0 40px 40px 0; color:#7575ea!important; border-right: #fff solid 2px; }

	.dropdown-menu > li > a {
  		font-size: 14px;
	}
	
	.navbar-brand { display:none; }
	.tbl_box_topic_img { height: 68px; }
	
	#intro { margin-top:55vw; }
	#details { padding-top: 105px; }
	#result { padding-top: 105px; }
	#award { padding-top: 105x; }
	#judge { padding-top: 105x; }
	#consultant { padding-top: 105x; }
	#selected_book { padding-top: 105x; }
	#schedule { padding-top: 105px; }
	#workshop { padding-top: 105px; }
	
	.tbl_yellow_bg {
		padding: 50px 40px 50px 40px;
	}
	
	.award_img {
		height:310px;
	}

	.schedule_img { height: 500px; }
	
	.gov_logo { height: 48px; margin-left: 115px; }
	
	.title_img { height: 130px; margin: 65px auto 60px auto; }
	
	.title_img2 { height: 130px; margin: 65px auto 10px auto; }
	
	.logo_hkfyg { height: 55px; }
	
	.logo_scolar { height: 72px; }
	
	.yt { margin-top: 60px; }
	
	.judge_bg { width:700px; height:512px; padding-top:90px; }
	
	.judge_topic { height:33px; }
	
	.booklist_topic { margin-bottom:150px; }
	
	.register_topic { margin-bottom:120px; }
	
	.main-section2 {
		background-size: 100% 370px;
	}
	
	.btn_register { height: 54px; }
	
	.text_margin {padding-top:6px; }
}

@media (min-width: 1200px) {	
	.mushroom { margin-left:5%; }
	
	.log { height: 540px; }

	.choice_lg { margin-left: 12%; }
	
	.menu_topic { height: 50px; }
	.menu_topic_a { padding-top: 10px!important; padding-bottom: 10px!important; }
	.navbar-nav > li > a { padding-top: 25px; padding-bottom: 25px; }
	.menu_left { border-radius: 40px 0px 0px 40px; color:#7575ea!important; border-left: #fff solid 2px; }
	.menu_right { border-radius:0 40px 40px 0; color:#7575ea!important; border-right: #fff solid 2px; }
	
	.text_margin {padding-top:6px; }
}

@media (min-width: 1920px) {
	#intro { margin-top:1050px; } 
	.boat { margin-top:100px; }
}


@media(min-width:767px) {
    .navbar {
        padding: 50px 0 0 0;
        -webkit-transition: background 1s linear, padding 1s linear;
        -moz-transition: background 1s linear, padding 1s linear;
        transition: background 1s linear, padding 1s linear;
    }
    
	.navbar-nav { float: none; margin: 0 auto; display: table; }  /* menu centered */

    .top-nav-collapse {
        padding: 5px;
    }
	
    .navbar-nav{
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
	
	.dropdown-menu {
		font-size: 15px;
		color: #fff;
		background-color: rgba(117, 117, 234, 0.9);
		border-radius: 10px;
		border: none;
    	-webkit-box-shadow: none;
    	box-shadow: none;
		margin-top: -20px !important;
	}

	.dropdown-menu > li > a {
  		color: #fff !important;
  		padding: 5px 20px !important;
	}
	
	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus {
  		color: #ffbe22 !important;
  		text-decoration: none !important;
  		background: none !important;
	}
}


