@charset "utf-8";
/* CSS Document */

body{
   font-family: Calibri, Microsoft JhengHei;
   font-size: 16px;
   color: #333;
}

h1,h2,h3,h4,h5{
   margin-bottom: 8px;
   font-weight: 500;
   line-height: 1.2;
}
h1{
   font-size: 40px;
}
h2{
   font-size: 32px;
}
h3{
   font-size: 28px;
}
h4{
   font-size: 24px;
   text-align:center;
}
h5{
   font-size: 20px;
   text-align:center;
   margin-top:40px;
}
h6{
   font-size: 18px;
   text-align:left;
   margin-top:40px;
   margin-left: 10px;
   margin-right: 10px;
}
hr{
   border: 0;
   height: 1px;
   background-color: #60318e;
}
.list_none{
   list-style-type: none;
   padding-left: 0;
   line-height: 24px;
}

.ul_list1{
   list-style-type: disc;
   padding-left: 42px;
   line-height: 24px;
}
.ul_list2{
   list-style-type: square;
   padding-left: 16px;
}
.ul_list3{
   list-style-type: disc;
   padding-left: 28px;
}

.ol_list1{
   list-style-type: disc;
   padding-left: 42px;
   line-height: 24px;
}
.ol_list1{
   list-style-type: cjk-ideographic;
   padding: 0 42px;
   line-height: 24px;
   text-align: justify;
}
.ol_list1>li{
   padding-bottom: 8px;
}
.ol_list2{
   list-style-type: decimal;
   padding-left: 16px;
}
.ol_list3{
   list-style-type: lower-latin;
   padding-left: 16px;
}
.link{
   color: #f24;
   transition: .3s;
}
.link:hover{
   color: #099;
}

.container {
   margin: 0 auto;
   width: 1000px;
}
.title{
   background-color: #faee00;
   box-shadow:3px 3px 7px #b3b2b3;
   margin-bottom: 15px;
   padding: 5px 10px;
   color: #000000;
   font-size: 16px;
   font-weight: bold;
}
#tabs{
   margin-top: 10px;
}

ul#tabs-nav {
   margin: 0;
   padding: 0;
   margin-right: -1px;
   position: relative;
}
ul#tabs-nav li {
   list-style: none;
   display: block;
}
a.tab-menu {
   display: block;
   background-color: #60318e;
   box-shadow:3px 3px 9px #b3b2b3;
   font-size: 16px;
   color: #fff;
   padding: 5px 10px;
   text-shadow: 1px 1px 0px #60318e;
   font-weight: bold;
   text-decoration: none;
   border: solid 1px #60318e;
   border-right: 0;
   border-radius: 3px 0 0 3px;
   margin-bottom: 2px;
   
}
#tabs-nav li a:hover {
	background-color: #fff;
	color:#60318e;
	text-shadow: none;
}
a.tab-menu.tabs-active {
   background-color: #fff;
   text-shadow: 1px 1px 0px #ffffff;
   border: solid 1px #60318e;
   color: #6b6b6b;
   border-right: 0;
}
.menu-div-left {
   width: 10%;
   float: left;
}
.tab-div {
   float: left;
   width: 90%;
}
.tabs-container {
   border: solid 1px #60318e;
   margin-left: 10px;
   padding: 15px;
   background-color: #fff;
   min-height: 525px;
}
.tabs-panel {
   /* display: none; */
   min-height: 150px;
   overflow: auto;
   /* max-height: 1000px; */
}

.dropdown-content {
	 border: solid 1px #60318e;
    display: none;
    padding: 5px 10px;
    position:absolute;
    background-color: #f1f1f1;
    min-width:140px;
    margin-bottom: 2px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	 left:100%;
}
.dropdown-content a {
    color: black;
	 font-size:14px;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
	background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}
#dropdown-environment {
	top:18.18%;
}
#dropdown-pre-contest {
	top:36.36%;
}

.box{
   display: inline-block;
   box-sizing: border-box;
   vertical-align: top;
}
.table{
   width: 100%;
   height: auto;
   font-size: 16px;
   line-height: 24px;
   background-color: white;
   border-collapse: collapse;
   margin-bottom: 10px;
}
.table thead{
   background-color:#fff7b7;
   color: #333;
}
.table tr th, .table tr td{
   border: solid 1px #dea51e;
   padding: 10px 15px;
   text-align:center;
}
.table2{
   width: 85%;
   height: auto;
   font-size: 16px;
   line-height: 24px;
   background-color: white;
   border-collapse: collapse;
   margin:20px 80px 20px 80px;
}
.table2 thead{
   background-color:#fff7b7;
   color: #333;
}
.table2 tr th, .table2 tr td{
   border: solid 1px #dea51e;
   padding: 10px 15px;
}
.date{
	margin-left:5px;
}
.newstitle{
	margin-left:15px;
	margin-bottom:5px;
}

.map{
   padding: 10px;
}
.map img{
   width: 100%;
}

.icon img{
   width: 22px;
   vertical-align: middle;
   margin-right: 7px;
}
.item{
   padding: 0 15px 15px;
}
.item .years{
   color: #60318e;
   font-weight: bold;
}
.item ul{
   list-style: inherit;
   padding-left: 20px;
   line-height: 24px;
}
.item ul li a:hover{
   color: #60318e;
}
a{
   color: #333;
   transition: .3s
}
a:hover{
   color: #60318e;
}

.environment{
	padding:20px;
	font-weight:bold;
	font-size:18px;
}


/*歷年題庫*/
.div1{
	width:45%;
	line-height:50px;
	padding:20px;
	float:left;
}
.div2{
	width:40%;
	line-height:50px;
	padding:20px;
	float:left;
}

.footer-div {
	clear:both;
	width:1000px;
	display: block;
	margin: 0 auto;
	height:30px;
	background-color:#004ea2;
	color:#FFFFFF;
	text-align:center;
	padding-bottom: 25px;
}
.footer-div a {
	color: #CCC;
	transition: .3s;
}
.footer-div a:hover{
	color: #fff;
}



/* 只針對 id 為 dropdown-pre-contest 的選單內，結尾是 place.html 的項目進行隱藏 */
#dropdown-pre-contest li:has(a[href$="place.html"]) {
    display: none !important  ;
}


#dropdown-pre-contest li:has(a[href$="pre-contest.html"]) {
    display: none !important  ;
}





#dropdown-environment li:has(a[href$="final.html"]) {
    display: none !important  ;
}

#dropdown-environment li:has(a[href$="judge.html"]) {
    display: none !important  ;

}


#dropdown-environment li:has(a[href$="pre-contest.html"]) {
    display: none !important  ;

}


#dropdown-environment{

    display: none !important  ;

}






