body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background: url(img/bg.png) repeat 100%;
background-position:center;
/*background-color:#ffe8e7;*/
background-color: #fff;
font-family: "Arial" , "微軟正黑體",sans-serif;

}
#gotop {
width:3.8em;
height:3.8em;
text-align: center;
border:1px solid #ddd;
position: fixed;
right: 10px;
bottom: 80px;
border-radius:50%;
padding: 3px 0px;
font-size: 0.9em;
background: rgba(0,0,0,0.7);
border: 1px;
color: white;

}
@media screen and (max-width:38em){
  #gotop {
  font-size:16px;
  padding-top: 6px;
  bottom: 90px;
  }
}
#talk{
  text-align: center;
  position:fixed;
  top:10vh;
  vertical-align: middle;
  left:0px;
  text-align: left;
  color: #fff;
  font-size:0.8em;
  line-height: 1.5;  
  text-align: center
}

@media screen and (max-width:38em){
  #talk {
  width:100%;
  height: 40px; 
  background-color:rgba(236,236,236,0.8);
  border-top:1px solid #f0f0f0;
  /*background-color: rgba(172,222,245,0.8);*/
  line-height:1.2;
  font-size:14px;
  padding: 3px 0px 0px 0px;
   bottom: 0px;
    left: 0px;
    top: auto;
}
}

.dropbtn {
  width: 55px;
  height:55px;
  margin-bottom:0.5vh;
  border:1px solid #fff;
  background-color:#0033cc;
  padding: 0px;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  font-size:1.2em;
  line-height: 1.3;
}
.dropbtn:hover, .dropbtn:focus {
    background-color: #ffff00;
    color: #0033cc;
    border: 1px solid #0033cc;
}
.dropdown {
    position: relative;
    display: inline-block;
    
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    left:10px;
    background-color:#fff;
    border: 1px solid #0033cc;
    border-radius:10px;
    font-size:1.1em; 
    color: #0033cc;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    padding: 0.35em;
    border-radius:8px;
    text-decoration: none;
    border-bottom: 1px solid rgba(35,112,22,0.2);
   color: #0033cc;
    display: block;
}
.dropdown a:hover {background-color: #f1f1f1}
.show {display:block;}
@media screen and (max-width:38em){
.dropbtn {
  width: 68px;  
  height: 30px;
  font-size: 0.9em;
  background-color: #0033cc;
  color:#fff;
  border-radius: 5%;
  border-left:0px solid rgba(0,0,0,0.3);
   text-shadow: 0px 0px 0px rgba(255,255,255,0.6);
}
.dropdown-content a {
    padding:0.5em;
}
.dropdown-content {
  left:0;
  top:auto;
  bottom:100%;
}

.dropdown:hover .dropbtn {
   text-shadow: 0px 0px 0px rgba(255,255,255,0.6);
}
.dropbtn,#talk ul,.share{
    display: inline-block;
  }

}
/*LINE 隤脩�𠸏nd*/
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #ff0000;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 12px;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    background-color: #fff;
    color: #ff0000;
    font-weight: bold;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
    border-bottom: 0px solid rgba(0,0,0,0);
}

#main {
    transition: margin-left .5s;
    padding: 0px;
}
.more{
  width:36px;
  position: fixed;  
  bottom: 120px;
  top: auto;
  left: auto;
  right: 0px;
  color: #fff;
  font-size: 13px;
  border-radius:5px;
  padding:3px;
  text-align: center;
  background-color:#ff0000;
  border: 1px solid #fff;
  cursor: pointer;
  z-index: 1;
}
.more_icon {
  font-size:26px;
  color: #fff;
}

@media screen and (max-width: : 660px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 15px;}

}
/*班址end*/
 ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*background-color: rgba(0,0,0,0.1);*/
}

ul.topnav li {float: left; }

ul.topnav li a {
  font-family: "Arial" , "微軟正黑體",sans-serif;
  display: inline-block;
  color: #333;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}

ul.topnav li a:hover {background-color:rgba(0,0,0,0.1);border-radius: 30px;font-weight: bold;}

ul.topnav li.icon {display: none;}

@media screen and (max-width:980px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;    
  }
  ul.topnav li a {
    color: #fff;
  }
  ul.topnav li a:hover{
    color: #ccc;
  }
}

@media screen and (max-width:980px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
    border-bottom:1px solid rgba(255,255,255,0.1);
    background-color:rgba(0,0,0,0.8);
    border-radius: 0px;
  }
}
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 0px;
}

#header {
  text-align: left;  
  padding-left: 20px;
}
.red {color: #F00;font-weight: bold;}
.yellow{color: #ff0;font-weight: bold;}
.blue{color: #333;font-weight: bold;}
.with{color: #fff;font-weight: bold;}
.c_add{color: #0033cc;font-weight: bold;}
.r_bg{background-color: #ff0000;color: #fff;padding: 1px 5px;margin: 0px 2px;text-shadow: 0px 0px 0px rgba(255,255,255,0.6); font-weight: bold;}
.c_bg{background-color: #006fff;color: #fff;padding: 1px 5px;margin: 0px 2px;text-shadow: 0px 0px 0px rgba(255,255,255,0.6); font-weight: bold;}
/*.w_bg{background-color: #fff;color: #666;padding: 1px 5px;margin: 0px 2px;text-shadow: 0px 0px 0px rgba(255,255,255,0.6); font-weight: bold;}*/
.g_bg{background-color: #288e17;padding: 1px 5px;margin-right:5px; border-radius: 5px; font-size: 15px; color: #fff;text-shadow: 0px 0px 0px rgba(255,255,255,0.6);}
.y_bg{background-color: #ffff00;padding: 1px 5px;margin-right:5px; border-radius: 5px;  color: #333;text-shadow: 0px 0px 0px rgba(255,255,255,0.6);}
.b_bg{background-color: #0033cc;padding: 1px 5px;margin-right:8px; border-radius: 5px; font-size: 15px; color: #fff;text-shadow: 0px 0px 0px rgba(255,255,255,0.6);}
.w_bg{background-color: #fff;}
#top{
  width: 85%;
  margin:0px auto;
  font-size: 13px;
  color: #333;
  background-color: #ffffe6;
  padding-bottom: 80px;
}
#top h1 {
  font-weight: bold;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  text-align:left;
  margin-left:0px;
  margin-top: 0px;
}
@media screen and (max-width:980px){  
  #top{
  font-size:14px;
  width: 100%;
}
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #ff0000;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 12px;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    background-color: #fff;
    color: #ff0000;
    font-weight: bold;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
    border-bottom: 0px solid rgba(0,0,0,0);
}

#main {
    transition: margin-left .5s;
    padding: 0px;
}
.more{
  width:36px;
  position: fixed;  
  bottom: 120px;
  top: auto;
  left: auto;
  right: 0px;
  color: #fff;
  font-size: 13px;
  border-radius:5px;
  padding:3px;
  text-align: center;
  background-color:#ff0000;
  border: 1px solid #fff;
  cursor: pointer;
}
.more_icon {
  font-size:26px;
  color: #fff;
}

@media screen and (max-width:660px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 15px;}

}
/*國考日程*/
#teacher{
  font-size:1.2em;
  line-height: 1.8;
  color: #666;
  background-color: rgba(255,255,255,0.8);
  padding-bottom: 80px;
  text-align: center;

}
#teacher h1{
  text-align: center;
  font-size:2em;
  line-height: 2;
  color: #5C95EF;
  padding-top:10vh;
  font-weight: bold;
  margin: 0px auto;
  /*background-color: #fff;*/
 }
#teacher p{
  text-align: center;
  margin: 0px auto;
  color: #666;
  font-size: 12px;
}
#teacher ol,
#teacher ul{
  margin: 0px 0px;
  padding: 0px 0px 0px 20px;
}
#teacher a{
  color: #5C95EF;
}
#teacher a:hover{
  font-weight: bold;
}
#teacher nav{
  /*background-color: #ffe8e7;*/
  padding: 3vh;
  margin: 1vh auto 10vh auto;
  font-weight: bold;
}
#teacher nav a{
  font-size: 0.8em;
  background-color:#fff;
   color: #5c95ef;
   text-decoration: none!important;
   padding: 6px 10px;
   border: 1px solid  #5c95ef;
   margin: auto 10px;
}
#teacher nav a:hover{
    background-color: #ffff00;
  font-weight: bold;
  color: #0033cc;
}
#teacher hr {
  margin-bottom: 20vh;
}
#primarys,
#secondary,
#special,
#kindergarten{
  text-align: center;

}
#primarys h2,
#secondary h2,
#special h2,
#kindergarten h2{
  font-size: 1.5em;
  line-height: 1.8;
  text-align: center;
  padding-top:2vh;
  margin: 0px auto;
  background-color: rgba(255,255,255,0.95);
 }
.num{
  background-color: #ff0000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}
.box_primary,.box_height {
  width:92%;
  margin-left:auto;
  margin-right:auto;
  margin-top:0px;  
  background-color:#FFF;
  border:1px solid #ccc;
  text-align: center;
  font-size: 1.05em;
  line-height: 1.6;
  color: #666;

}
.box_primary td,
.box_height td{
  border-bottom:1px solid rgba(255, 206, 179,0.95);
  border-left:1px solid rgba(255, 206, 179,0.95);
  padding:8px 3px;
   vertical-align: top;
}
.box_primary th,
.box_height th{
  border-bottom:1px solid #fff;
  border-left:1px solid #fff;
  padding:8px 3px;
   vertical-align: top;
}
.box_primary th,
.box_height th{
  text-align: center;
  background-color: rgba(255, 206, 179,0.95);
  vertical-align: middle;
}
.box_primary tr:nth-child(2n) td,
.box_height tr:nth-child(2n) td{
  background-color: #fffde3;
}
.box_primary td:nth-child(1),
.box_primary th:nth-child(1){
  width:20%;
}
.box_height td:nth-child(1),
.box_height th:nth-child(1){
  width:22%;
}
.box_primary td:nth-child(1),
.box_height td:nth-child(1){
  color: #5C95EF;
}
.box_primary td:nth-child(2),.box_primary th:nth-child(2),
.box_primary td:nth-child(3),.box_primary th:nth-child(3),
.box_primary td:nth-child(4),.box_primary th:nth-child(4),
.box_primary td:nth-child(5),.box_primary th:nth-child(5),
.box_primary td:nth-child(6),.box_primary th:nth-child(6),
.box_primary td:nth-child(7),.box_primary th:nth-child(7){
  width:12%;
}
.box_height td:nth-child(2),.box_height th:nth-child(2),
.box_height td:nth-child(3),.box_height th:nth-child(3),
.box_height td:nth-child(4),.box_height th:nth-child(4),
.box_height td:nth-child(5),.box_height th:nth-child(5),
.box_height td:nth-child(6),.box_height th:nth-child(6){
  width:12%;
}
.box_primary th:nth-last-child(1),
.box_height th:nth-last-child(1){
background-color: rgba(255,87,75,0.95);
color: #fff;
}
@media screen and (max-width: 50em){
 #teacher{
  font-size: 12px;
  line-height: 1.6;
}
#teacher h1{
  font-size: 22px;
}
#teacher p{
  font-size: 15px;
}

h2{
  font-size: 2em;
}
.box_primary,
.box_height {
  width:100%;
  margin-left:auto;
  margin-right:auto;
  margin-top:0px;
  text-align: center;
  font-size: 12px;
  table-layout: fixed;

}
.box_primary td,
.box_primary th,
.box_height td,
.box_height th{
  padding:6px 2px;
}
.box_primary td:nth-child(1),
.box_primary th:nth-child(1),
.box_height td:nth-child(1),
.box_height th:nth-child(1){
  width:15%;
}
.box_primary td:nth-child(2),.box_primary th:nth-child(2),
.box_primary td:nth-child(3),.box_primary th:nth-child(3),
.box_primary td:nth-child(4),.box_primary th:nth-child(4),
.box_primary td:nth-child(5),.box_primary th:nth-child(5),
.box_primary td:nth-child(6),.box_primary th:nth-child(6),
.box_primary td:nth-child(7),.box_primary th:nth-child(7){
  width:11%;
}
.box_height td:nth-child(2),.box_height th:nth-child(2),
.box_height td:nth-child(3),.box_height th:nth-child(3),
.box_height td:nth-child(4),.box_height th:nth-child(4),
.box_height td:nth-child(5),.box_height th:nth-child(5),
.box_height td:nth-child(6),.box_height th:nth-child(6){
  width:12%;
}
#teacher nav a{
  font-size: 1.1em;
   padding: 6px 2px;
   margin: auto 1px;
}
}
#about{
  /*background-color: rgba(251,120,110,0.95);*/
  background-color: rgba(255,255,255,0.7);
  padding: 6vw 15vw;
  text-align: left;
  font-size: 1.2em;
}
#about h2{
  font-size: 3em;
  line-height: 1.6;
  text-align: center;
  border-bottom: 1px solid #999;
  /*margin-top:5vw;*/
  font-weight: bold;
  /*background-color: #f0f0f0;*/
  /*padding-bottom:1vw;*/
}
#about h3 {
  text-align: center;
}
#about p {
  font-size: 1.2em;
  margin-bottom: 0px;
  text-align: left;
  display: inline-block;
}
#about ul {
  padding: 0px 0px;
  list-style-type: none;
  margin: 0px auto;
  text-align:left;
   display: inline-block;
}
#about ul li {
  display: inline-block;
  background-color: rgb(30, 176,6);
  color: #fff;
  border: 1px solid #fff;
  padding: 1vw 1.5vw;
 border-radius: 8px;
 cursor: pointer;
 margin: 0.3vw 0.8vw;
}
#about ul li:hover{
  background-color:#fff;
  color: rgb(30, 176,6);
  border: 1px solid  rgb(30, 176,6);
}

@media screen and (max-width: 50.75em){
  #about{
  /*background-color: rgba(251,120,110,0.95);*/
  background-color: rgba(255,255,255,0.7);
  padding: 6vw 2vw;
  text-align: left;
  font-size: 1em;
}
#about h2{
  font-size: 2em;
}
#about h3 {
  font-size: 1.6em;
}
#about p {
  font-size:0.8em;
  margin-bottom: 0px;
  text-align: left;
  display: inline-block;
}
#about ul li {
  display: inline-block;
  background-color: rgb(30, 176,6);
  color: #fff;
  border: 1px solid #fff;
  padding: 1vw 0.6vw;
 border-radius: 8px;
 cursor: pointer;
 margin: 0.6vw 0.1vw;
}
}
#all {
  /*width: 100%;*/
  /*background-color: #FFDB00;*/
  background-color: rgba(255,219,0,1.0);
  font-size: 1em;
  color: #333;
  line-height: 1.8;
  padding: 60px 0px;
  text-align: center;
  /*font-weight: bold;*/
}
#all h2{
  font-size:22px;
  line-height: 1.6;
  font-weight: bold;
  color:#0033cc;
  text-align: center;
}
#all h3{
  width:68%;
  font-size: 16px;
  background-color:#0033cc;
  color: #fff;
  padding: 2px;
  border-radius: 3px;
  letter-spacing: 2px;
  text-align: center;
  margin: 10px auto;
}
#all p{
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  padding-bottom:5px;
  border-bottom: 1px dashed #333;
}
#all a {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 102, 255, 0.9);
  font-weight: bold;
}
#all a:hover{
  color: #0033cc;
  font-weight: bold;
  text-decoration: none;
}
#all ol{
  padding: 0px;
  margin: 0px;
}
#all ol li{
  display: inline-block;
  margin:auto 30px;
}
.photo{
  width: 135px;
  height:auto;
  margin:20px auto 0 auto;
  border-radius: 50%;
  border: 2px solid #ccc;
}
@media screen and (max-width:880px){
  #all h2{
  font-size: 26px;
  line-height: 1.6;
  font-weight: bold;
  color: #ff355e;
  text-align: center;
}
  .photo{
  width:95px;
  height:auto;
  margin:20px auto 0 auto;
  border-radius: 50%;
  border: 2px solid #ccc;
}
#all h3{
  font-size: 15px;
  width: 60%;
}
#all p{
  font-size: 14px;
}
#all a {
  font-size: 14px;
}
#all ol li{
  display: inline-block;
  margin:auto 1px;
  width: 155px;
  height:200px;
  vertical-align: top;
}
}