/*!
 * 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:#ff0000;
    border-bottom: #f00 dotted 2px;
}

a:hover {
    color:#29adfc;
    border-bottom: #29adfc dotted 2px;
}

.navbar-brand {
  float: left;
  min-height: 70px;
  /* padding: 0; */
  padding: 25px 0;
}

h1 { color:#fff; }

h3 { font-weight:bold; }

.navbar-toggle {
    margin-top: 20px;
}

.section_margin { padding: 50px 0 50px 0; }

#custom-bootstrap-menu.navbar-default {
    background-image: -webkit-linear-gradient( rgba(255,255,255,1), rgba(255,255,255,1) 50%, rgba(255,255,255,0) ) !important;
}

#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: #262a62;
	/* 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: 20px;
	font-weight: bold; 
	letter-spacing: 2px;
    color: #262a62;
    /* background-color: #84befd; */
	background:none;
	/* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5), 0 0 8px #000; */
    border: none;
	
	-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:#26acfc;
}
#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:#26acfc;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #019fe1;
}
#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: #26acfc;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #26acfc;
}

.navbar {
    min-height: 130px;
}

.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: #26acfc;
}


/* 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.png");
  	background-repeat: repeat;
	background-size: 100% auto;	
	background-position: center center;

	background-color:#afe1f3;
	
	margin: auto;
	padding-top: 0px;
    margin-top: -3vw;
    /* margin-top: -70px; */
}

.main-section2 {
	width: 100%;
	max-width: 1920px;

	background-image: url("../images/bg.png");
	background-size: 100% auto;
	background-position: center top;
	background-color:#fffdf6;
	
	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:#262a62; font-size: 30px; }

.title2 { font-weight:bold; color:#262a62; font-size: 20px;}

.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 } 

.pink-topic { height:70px; }

.pink-subtopic { height:60px; z-index: 10; position: relative; }

.error { color:#F30; font-size:13px; letter-spacing: 0; }

.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:18px; }

.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:#262a62; 
}

.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: 5px solid transparent;
	/* border-image: url("../images/tbl_border.png") 4 fill; */
    padding: 0px 80px 30px 80px;
    line-height: 28px;
	color: #262a62;
}

.tbl_main1{
    border-image: url("../images/tbl_border_1.png") 4 fill !important;
}

.tbl_main2{
    border-image: url("../images/tbl_border_2.png") 4 fill !important;
}

.tbl_main3{
    border-image: url("../images/tbl_border_3.png") 4 fill !important;
}

.tbl_qna {
    padding: 0px 60px 0px 60px !important;
}

.panel-body{
    border-top: 2px dotted #262a62 !important;
}

.tbl_main_topic { height:55px; margin-bottom:20px; }

.tbl_form { padding: 80px 80px; line-height: 25px; letter-spacing: 1px;}

.tbl_topic {
	bottom: -30px;
  	position: relative;
  	width: fit-content;
	margin: auto;
}

.tbl-ws > tbody > tr > td {
  font-size: 14px;
}

.tbl_topic_img { height:80px; }

.pic1 { height: 300px; }
.pic2 { height: 380px; }

.award { height: 140px; vertical-align: bottom; /* display: table-cell; */ }
.award img { /* vertical-align: bottom; */ }

.schedule { height: 400px; }

.drama > tbody > tr > td { font-size: 15px; }

#enquiry { color:#fff; font-size: 16px; background-color: #767cbb; margin-top:100px; padding: 50px 0 50px 0; }
#enquiry a{ color:#ffe831; border: none; }
#enquiry a:hover{ color:#1f057d; border: none; text-decoration: none; }

.pink_tbl { 
    border: 35px solid transparent;
    border-image: url("../images/pink_tbl.png") 48 fill;
    background-size: 100% 100%;
    padding: 20px 30px 0px 30px;
	color: #262a62;
}

.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 { height: 70px; margin-top: 0px; }

.form_topic { color: #3679c0; 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: #ddedf9;
  	margin: 20px;
  	height: 200px;
  	overflow-y: scroll;
  	scrollbar-width: thin;
	scrollbar-color: #8db7db #449be6;
	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;
}

.news_hr {
  margin-top: 0px;
  margin-bottom: 0px;
}

.tbl_schedule td { border-top:#262a62 3px dotted !important; text-align: center;}
.tbl_schedule td:first-child { border-right:#262a62 3px solid !important; }
.tbl_schedule th { border-bottom:#262a62 3px solid !important; }
.tbl_schedule th:first-child { border-right:#262a62 3px solid !important; }

.line { border-top: 3px dotted #262a62; margin: 40px 0 40px 0; }

.criteria { height: 120px; }

.icon { height: 70px; }

.details-left { padding-left:0; }

.details-right { padding-right:0; }

.criteria-left { padding-left:0; }
.judge-right { padding-right:0; }

.judge_tbl { height: 213px; }

.logo { display: flex; flex-direction: column; justify-content: flex-end; height: 240px; }

.qna_topic { height:90px; margin-bottom:40px; }

.panel-default > .panel-heading {
      color: #262a62;
      background: none !important;
      border: none !important;
}
.panel-title { font-size: 26px; margin-top: 10px; margin-bottom: 10px; }

.collapsed { color:#262a62 !important; }

.qna_link { color:#262a62 !important; }

/*
.panel-title:after {
    content: '\002B';
    float: right;
    border:#f00 solid 1px;
}
*/

.panel-group .panel {
  margin-bottom: 30px;
}

.register_topic { height:120px; }

.register_btn { height:100px; }

.register_div{ margin-top: 100px; }


/* end change breakpoint */


@media (max-width: 767px) {
    .navbar {
        min-height: 70px;
    }

    .navbar-nav {
        background-color: #fff !important;
    }
	.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:#26acfc !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.png");
  		background-repeat: no-repeat, repeat;
		background-size: 100% auto, 100% auto;	
		background-position: center top, center top;
		*/
	
		margin:auto;
		margin-top: -1vw;
	}
	
    .main-section2 {
		max-width: 780px;

		background-image: url("../images/bg.png");
		background-color:#0296b4;
	
		margin:auto;
		margin-top:-20px;
	}
	
	.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;
	}
	
	.tbl_main{
  		/* border: 5px solid transparent; */
        /* border-image: url("../images/tbl_border.png") 4 fill; */
        padding: 0 30px 30px 30px;
        line-height: 28px;
	}
    
    .tbl_main1{
        border-image: url("../images/tbl_border_3.png") 4 fill !important;
    }
	
    .tbl_main_topic { height:40px; margin-bottom:20px; }
    
	.pic1 { height: 170px; }
	
	.schedule { width: 90%; height: auto; }
	
	#enquiry { padding:0px; padding-top:50px; }
	
	.section_margin { padding: 20px 0 20px 0; }
	
	.orange_col { display:block; vertical-align:none; float: left; }
	
	.orange_border { padding: 40px 10px; }
	
	.btn_apply { height: 80px; margin-top: 50px; }
	
	.pink_tbl { 
    	border: 25px solid transparent;
    	border-image: url("../images/pink_tbl.png") 45 fill;
    	background-size: 100% 100%;
    	padding: 20px 0px 0px 0px;
	}
	
	.pink-topic { height:50px; }
	.pink-subtopic { height:40px; }
	
	.tbl_topic { bottom: -25px; }
    
    .details-left { padding-left:0; padding-right:0; }
    .details-middle { padding-left:0; padding-right:0; }
    .details-right { padding-left:0; padding-right:0; }
    
    .criteria-left { padding-left:0; padding-right:0; }
    .judge-right { padding-left:0; padding-right:0; }
    
    .judge_tbl { height: auto; }
    .judge { margin-top: 0px; }
    
    .logo { height:auto; display:block; flex-direction:row; justify-content:center; }
    .logo img{ height: 70px; margin: 20px 0 40px 0; }
    
    .qna_topic { height:60px; margin-bottom:20px; }
    
    .tbl_qna { padding: 0px 10px 0px 10px !important; }
    
    #custom-bootstrap-menu.navbar-default { background-color: rgba(255, 255, 255, 0.8); }
    
    .navbar-toggle {
        border: 3px solid #26acfc !important;
        border-radius: 8px!important;
    }
    
    .nav > li {
      width: 50%;
      float: left;
    }
    
    .register_topic { height:70px; }
    
    .register_div{ margin-top: -100px; padding-top: 170px; }
}

@media (min-width: 768px) {
    .navbar-nav {
        margin: auto;
        display: table;
        float: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .register_topic { height:80px; }
	.log {padding:110px 0 0 30px;}	
	.content_topic { font-size:18px; }
	.dropdown-menu > li {
		width: 200px; 
		display: inline-block;
	}
	.tbl_main{
    	padding: 0px 40px 30px 40px;
    	line-height: 28px;
	}
	
	.pic1 { height: 230px; }
	
	.main-section { position: relative; }
	
	.tbl_topic { bottom: -30px; }
	.tbl_topic_img { height:60px; }
	
	.schedule { height: 310px; }
	.pic2 { height: 290px; }
	
	.section_margin { padding: 40px 0 40px 0; }
	
	.btn_apply { height: 90px; margin-top: 70px; }
	
	.tbl_main_topic { height:45px; }
    
    .pink-subtopic { height:45px; }
    
    #custom-bootstrap-menu.navbar-default .navbar-nav > li > a {
          font-size: 15px;
    }
    
    .judge_tbl { padding: 10px 10px 0px 10px !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .register_topic { height:90px; }
	.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{
    	padding: 0px 60px 30px 60px;
    	line-height: 28px;
	}
	
	.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; }
	
	.section_margin { padding: 45px 0 45px 0; }

	.btn_apply { height: 100px; margin-top: 80px; }
	
	.tbl_main_topic { height:50px; }	
}

@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;
    }
	
	
}


