/*!
 * 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;
}

html {
    width: 100%;
    height: 100%;
}

a{
  color:#f43d13;
}

a:hover {
  color:#ff7511;
  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;
}

.boat { margin-top:6vw; }

#custom-bootstrap-menu.navbar-default {
	background: #ce1332 !important;
	z-index: 10;
}

#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: #fff;
	/* 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:300; 
	letter-spacing: 2px;
    color: #fff;
    /* 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:#f5d108;
}
#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:#f5d108;
}
#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: #ce1332;
}


.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.jpg"), url("../images/bg.jpg");
  	background-repeat: no-repeat, repeat;
	background-size: 100% auto, 100% auto;	
	background-position: center top, center center;
	*/
	background-color:#498ae8;
	background-image: url("../images/bg.jpg");
  	background-repeat: repeat;
	background-size: 100% auto;	
	background-position: center top;
	
	margin:auto;
	margin-top:0px;
}

.main-section2 {
	width: 100%;
	max-width: 1920px;

	/* //// background-image: url("../images/bg2.jpg"); */
	/* background-image: url("../images/bg_red.png"); */
	background-size: 100% auto;
	background-position: center bottom;
	/* background-color:#fffdf6; */
    background-color:#fff;
    background-attachment: fixed;
	
	margin:auto;
    /* min-height : 100vh; */
    /* padding-top: 50px; */
}


.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:#fff; font-size: 14px;  }

.table-bordered > tbody > tr > td {
  border: 1px solid #fff;
}


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;
}

.title-img { height: 100px; margin-bottom: 20px; }

.idea-img { width: 250px; padding-bottom: 20px; margin-left: 30px; }

.idea_txt { margin-left:80px; margin-right:60px; font-size: 18px; padding-bottom: 20px; }

.title1 { font-weight:bold; color:#ff3109; text-align:left; border-bottom:#ff3109 dashed 1px; padding:0 0 10px 10px; margin-bottom:30px; font-size: 34px;}

.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:#ce1332; font-size:28px; font-weight: bold; margin-bottom: 20px; } 

.topic2 { color:#ff5908; font-size:24px; font-weight: bold; margin-bottom: 20px; } 

.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 */
}

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:#000; 
}

.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: #fff; padding-bottom: 70px; }
.enquiry_topic { font-weight:bold; font-size: 17px; margin-bottom:10px;}
#enquiry a{ color:#f43d13; }
#enquiry a:hover{ color:#ff7511; }

.booklist { background: rgba(255, 255, 255, 0.3); margin-top:100px; padding:20px; }

.register-section { /* background-color:#f2d39c; */ }

.text_white { color:#FFF; }

.albun_padding { padding:5px; }

/* change breakpoint */

.tbl_th{
    background: rgba(234, 79, 61, 1);
    color: #fff;
}

#fancybox-close {
    right: -35px;
}

#main { padding-top: 80px; }
#background { padding-top: 50px; padding-bottom: 30px; }

/* .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(98,223,220,0.5), rgba(55,177,174,0.8)); color:#FFF; 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{
	background-color:#fff;
  	border-radius:30px;
    
	margin-top:10px;
    /*
	margin-bottom:10px;
    padding:40px 80px;
    */
  	padding:0px 80px;
	
	font-size: 18px;
	letter-spacing: 2px;
	color: #000;
	line-height: 28px;
	
	background: rgba(255, 255, 255, 0.8);
	/*
	background-image: url("../images/bg2.jpg");
  	background-repeat: repeat;
	background-size: 100% auto;	
	background-position: center top;
	*/
	
	/* text-align: justify; */
  	text-justify: inter-word;
}

.tbl_topic {
	background-color:#dd8141;
	border: 2px solid #6a4f43;
  	border-radius:12px;
	bottom: -30px;
  	position: relative;
	
	padding: 10px 70px;
  	width: fit-content;
	margin: auto;
}

.tbl_topic_img { height:35px; }

.pic1 { height: 300px; }
.pic2 { height: 380px; }

.tbl_margin { margin-top:50px; } 

.award { max-height: 400px; }

.schedule { height: 400px; }

.drama > tbody > tr > td { font-size: 15px; }

.schedule_tbl td { text-align:center; vertical-align:middle; background-color: #fff; color: #000; }

.grad1 {
  background-color: #2296f2 !important;
  color:#fff !important;
  font-weight:bold !important;
  font-size:18px !important;
  text-align: center !important;
}

.grad2 {
  background-color: #98cef9 !important;
  color:#fff !important;
  font-weight:bold !important;
  font-size:18px !important;
  text-align: center !important;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
  vertical-align: middle !important;
}

.table, .table > tbody > tr > td{
	border:#bbbaba solid 1px;
}

.table > thead > tr > th{
	background-color: #fff; color: #000; border:#99cff9 solid 1px;
}

.table-info > tbody > tr > td{ font-size:14px; margin:3px; }

.btn_apply { height: 60px; }

.logo_hkfyg {
	height: 60px; display: inline;
}

.logo_img_subpage {
	height: 60px; display: inline; 
}

.logo_df { margin-right:80px; }
.logo_df2 { margin-right:40px; }

.df_logo_subpage { height: 90px; }

.logo_qef, .logo_top_qef {
	height: 50px;
}

.eng_text {
	letter-spacing: 0;
	font-size: 17px;
}

.top_logo { background-color:#fff; padding-top:20px; margin-bottom:50px; }

.top_logo_topic { font-weight:bold; font-size: 15px; margin-bottom:10px;}

.top_logo_topic_subpage { font-weight:bold; font-size: 15px; margin-bottom:5px; margin-top:10px; }

.top_logo_margin { float:right; margin-right:60px; }
.top_logo_margin2 { float:right; margin-right:30px; }

.main_img { max-height:600px; }

.tbl_bg { background: rgba(246, 241, 241, 0.9); }

.submit_success { height: 400px; }

.logo_swd { margin-left:100px; }

@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(212, 152, 80, 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) {
    #background { padding-top: 0px;  }
    #main { padding-top: 40px; }
    
	.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-color:#498ae8;
		background-image: url("../images/bg.jpg");
  		background-repeat: repeat;
		background-size: 100% auto;	
		background-position: center top;
	
		margin:auto;
		margin-top:-20px;
	}
	
    .main-section2 {
		max-width: 780px;

		/* //// background-image: url("../images/bg2.jpg"); */
		background-size: 200% auto;
		background-position: right top;
	
		margin:auto;
		margin-top: 50px;
	}
	
	.navbar-brand { padding-left: 20px; font-size: 22px; }
	
	.content_topic {  border-radius: 8px; padding:15px 15px; font-size:18px; }
	
	.dropdown-menu > li {
		width: 180px; 
		display: inline-block;
	}

	.tbl_topic_img { height:27px; }
	
	.tbl_main{
  		/* padding:30px 10px; */
		
		padding-left: 20px;
    	padding-right: 10px;
		/* margin-top: 100px; */
	
		font-size: 16px;
		line-height: 32px;
		border-radius:24px;
	}
	
	.top-margin { /* margin-top: 100px; */ }
	
	.pic1 { height: 170px; }
	
	.schedule { width: 90%; height: auto; }
	
	.logo_margin { margin-top:50px; max-width: 400px; }
	
	.gov_logo { width:85px; }
	
	.title-img { height: 70px; margin-bottom: 20px; }
	
	.idea-img { width: 400px!important; padding-bottom: 20px; margin-left: 0px; }
	.idea_txt { font-size: 16px; margin-left:20px; margin-right:0px; padding-bottom: 20px; }
	
	.logo_hkfyg { height: 50px; }
	
	.logo_qef { width:45%; height: auto; }
	
	.logo_top_qef { height: auto; }
	
	.btn_apply { height: 45px; }
	
	.top_logo { margin-bottom:45px !important; margin-top:0px !important; padding-top:5px; }
	
	.top_logo_topic { font-size: 12px; margin-bottom: 5px;}
	
	.topic { font-size:24px; }
		
	.title1 { font-size: 28px;}
	
	.background_top { margin-top: 10px; }
	
	.main_img { padding-bottom: 20px; }
}

@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:30px 40px;
	
		font-size: 16px;
		line-height: 32px;
		border-radius:22px;
	}
	.pic1 { height: 230px; }
	
	.tbl_topic_img { height:26px; }
	
	.schedule { height: 310px; }
	.pic2 { height: 290px; }
	
	.gov_logo { width:60px; }
	
	.title-img { height: 80px; margin-bottom: 20px; }
	
	.idea-img { width: 400px!important; padding-bottom: 20px; margin-left: 0px; }
	.idea_txt { font-size: 16px; margin-left:40px; margin-right:0px; padding-bottom: 20px; }
	
	.logo_hkfyg { height: 45px; }
	
	.logo_qef, .logo_top_qef { height: 40px; }
	
	.btn_apply { height: 50px; }
	
	.top_logo { margin-bottom:0px !important; margin-top:0px !important; }
	
	.logo_img_subpage { height: 40px; display: inline; }
	
	.df_logo_subpage { height: 70px; }
	
	.topic { font-size:26px; }
	
	.logo_df2 { margin-right:40px; }
	
	.top_logo_margin { float:right; margin-right:14px; }
	.top_logo_margin2 { float:right; margin-right:0px; }
}

@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; }
	.dropdown-menu > li {
		width: 250px; 
		display: inline-block;
	}
	.pic1 { height: 270px; }
	
	.tbl_main{
		font-size: 17px;
		line-height: 35px;
		border-radius:26px;
	}
	
	.tbl_topic_img { height:30px; }
	
	.schedule { height: 370px; }
	.pic2 { height: 350px; }
	
	.gov_logo { width:70px; }
	
	.title-img { height: 90px; margin-bottom: 20px; }
	
	.idea-img { width: 400px!important; padding-bottom: 20px; margin-left: 0px; }
	.idea_txt { font-size: 17px; margin-left:40px; margin-right:0px; padding-bottom: 20px; }
	
	.logo_hkfyg, .logo_qef, .logo_qef { height: 55px; }
	
	.btn_apply { height: 55px; }
	
	.top_logo { margin-bottom:0px !important; margin-top:0px !important; }
	
	.logo_img_subpage { height: 50px; display: inline; }
	
	.df_logo_subpage { height: 80px; }
	
	.topic { font-size:28px; }

}

@media (min-width: 1200px) {	
	.mushroom { margin-left:5%; }
	
	.log { height: 540px; }

	.choice_lg { margin-left: 12%; }
	
	.top_logo { padding-bottom: 50px; }
	
	.logo_m21 { margin-left:30px; }
	
	.logo_swd { margin-left:140px; }
}

@media (min-width: 1920px) {
	.boat { margin-top:100px; }
}


@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;
    }
	
	
}


