@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/* CSS Document */
.top{	
	width: 100%; height: 10px;
	background: linear-gradient(90deg,rgba(22, 192, 227, 1) 0%, rgba(17, 198, 185, 1) 59%, rgba(12, 204, 151, 1) 100%);}
	
 
.main-nav { height:auto; 
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1983c2+0,23b2cc+100 */
background: #fff;; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */




}
.main-nav img{ width:200px; height:auto; margin-left:10px; margin-top:10px;}
.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {

  float: left;
  margin: 0;
} 



.nav-brand a {
  display: block;
  padding: 11px 11px 11px 20px;
  color: #fff;
  font-family:  "微軟正黑體";
  font-size: 1.5em; font-weight:bold;
  line-height: 17px;
  text-decoration: none;
}
/* PC版選單區塊距離 */

#main-menu {
  clear: both;
  border-bottom: 0; margin-right:20px; margin-top:10px;
}

@media (min-width: 768px) {
  #main-menu {
    float: right;
    clear: none;
  }
}


/* Mobile menu toggle button */

.main-menu-btn {
  float: right;
  margin: 25px 15px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon 漢堡選單條*/

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #2e2e2e;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 1280px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}


/* IGNORE: Unrelated generic demo styles */

body {
  margin: 0px;
  background: #121212;

 font: 16px/1em 'Noto Serif TC', "微軟正黑體";
}

.demo-text {
  margin: 3em 22px;
}

.demo-text p {
  margin-bottom: 1em;
}

.demo-text a {
  color: #999;
}

@media screen and (min-width:500px) and (max-width:1178px){
.main-nav img{ width:60%; height:auto; margin-left:10px; margin-top:0px;}

.main-nav { height:auto; 
  border-bottom: 0px solid #9845aa;
  background: #fff;
}

	}
@media screen and (min-width:1195px){
	
.main-nav img{ width:200px; height:auto; margin-left:10px; margin-top:15px;}

.main-nav { 
height:auto; 
/*PC版 整體選單背景色 Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1983c2+48,1983c2+48,1e9ac7+71,22adcb+100 */
background:#fff ; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  
}
.top{	
	width: 100%; height: 10px;
	background: linear-gradient(90deg,rgba(22, 192, 227, 1) 0%, rgba(17, 198, 185, 1) 59%, rgba(12, 204, 151, 1) 100%);}
	}
 