/*** ESSENTIAL STYLES ***/

@media only screen and (min-width: 751px) {
#flexible{
	
	position: fixed;

	width /**/: 100%; /*for foxfire*/
		*width: auto;
	z-index: 8000;
	display:block;

	}	
	
#header_menu{
	padding-top:1.3em;
}
header nav {
/*	padding-top:0.5em;*/
	text-align: center;
	margin-left: 0em;

}


#header_menu{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}

#logo{
	width:222px;
	height:50px;
	display: inline;
	margin-top:-20px;
	margin-right:2em;
	*position:relative;
	*top:-20px;
	*float:none;
	

}
header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;

	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}
/*header nav {
	text-align: center;
}

header nav ul li {
	clear: both;
	float: none;
	display: inline;
	margin-left: 1em;
}*/

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	/*left: 0;*/
	z-index: 8001;
}
.sf-menu > li {
	float: none;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}
.sf-menu li ul li  a{
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}

/*** DEMO SKIN ***/
.sf-menu {
	/*float: left;*/
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
	*margin-top: 0.8em;

}
.sf-menu a{
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu li ul li {
	background-color: #000;
	display:block;
}

.sf-menu li ul li a{
	text-decoration: none;
	color:#FFF;
	zoom: 1; /* IE7 */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: rgba(255,255,255,.5);
	line-height: 300%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	display: block;
	text-indent: 10px;
	padding: 0px;
}


.sf-menu a {
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */



	*white-space: normal;
}
/*.sf-menu ul li {
	background: #AABDE6;
}*/
.sf-menu ul ul li {

}
.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}
}



@media only screen and (max-width: 1280px) and (min-width: 1000px){
#flexible{

	position: fixed;
	top: 0;
	left: auto;
	margin: 0 auto;
	
	max-width: 88.2%;
	width /**/: 100%; /*for foxfire*/
	*width: auto;
	z-index: 8000;

	display:block;
	/*width:100%;
	max-width:900px;

	display: table;
	background-color: #33C;*/
	}
.outer-wrapper{
  max-width:1118px;
	display:block;
  }


.logo-image-title a{
color:#666;}

.info-title-email-wrapper {
	display: table;
	width: 100%;
	/**max-width: 1118px;	
	max-width: 1118px;*/
	padding: 0 75px;
	padding-top: 10px;
	padding-bottom: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}

.site-title-wrapper {
  display: table-cell;
}
.site-title .logo {
  display: inline-block;
}

.site-title-wrapper {
    display: table-cell;
  }


.logo-image-title {
  height: 0;
  display:none;

  opacity: 0;
	font-family: "微軟正黑體", Arial;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity .3s ease-out;
  -moz-transition: opacity .3s ease-out;
  -o-transition: opacity .3s ease-out;
  transition: opacity .3s ease-out;
}
  .logo-image-title {
  height: 0;
  display:none;
  overflow:hidden;
  opacity: 0;
  font-family: "微軟正黑體", Arial;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity .3s ease-out;
  -moz-transition: opacity .3s ease-out;
  -o-transition: opacity .3s ease-out;
  transition: opacity .3s ease-out;
}
  
 .logo-image-title {
  color: #343434;
  opacity: 1;
  height: auto;
  font-size: 12px;
}
}




@media only screen and (max-width: 999px) and (min-width: 900px){
#flexible{
	
	position: fixed;
	top: 0;
	left: auto;
	margin: 0 auto;
	max-width: 90.2%;
	z-index: 8000;
	display:block;

	/*width:100%;
	max-width:900px;

	display: table;
	background-color: #33C;*/
	}
.outer-wrapper{
   max-width:100%;
	display:block;
  }


.logo-image-title a{
color:#666;}

.info-title-email-wrapper {
	display: table;
	width: 100%;
	max-width: 1000px;
	padding: 0 75px;
	padding-bottom: 20px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}

.site-title-wrapper {
  display: table-cell;
}
.site-title .logo {
  display: inline-block;
}

.site-title-wrapper {
    display: table-cell;
  }


.logo-image-title {
  height: 0;
  display:none;

  opacity: 0;
   font-family: "微軟正黑體", Arial;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity .3s ease-out;
  -moz-transition: opacity .3s ease-out;
  -o-transition: opacity .3s ease-out;
  transition: opacity .3s ease-out;
}
  .logo-image-title {
  height: 0;
  display:none;
  overflow:hidden;
  opacity: 0;
	font-family: "微軟正黑體", Arial;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  line-height: 1em;
  -webkit-transition: opacity .3s ease-out;
  -moz-transition: opacity .3s ease-out;
  -o-transition: opacity .3s ease-out;
  transition: opacity .3s ease-out;
}
  
 .logo-image-title {
  color: #343434;
  opacity: 1;
  height: auto;
  font-size: 12px;
}
}




@media only screen and (max-width: 899px) and (min-width: 769px) {
#flexible{
	display:block;
	max-width:95%;
	z-index: 8000;
    position: fixed;

  }

  .outer-wrapper{
    width: 100% !important;
  }

header nav {
	/*padding-top:10px;*/
	text-align: center;
	margin-left: 0em;
	

}

.info-title-email-wrapper {
	display: table;
	width: 100%;
	padding: 0 75px;
	padding-bottom: 20px;
	padding-top:10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
.site-title .logo {
	display: inline-block;
	/*display:none;*/
}


.logo-image-title {
	margin-top:0px;
	 display: none;

	}
.logo-image-title a{
color:#666;}


header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}

header nav ul li a {
	color: #000;
	text-decoration: none;
	
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}

/**/

}


@media only screen and (max-width: 768px) and (min-width: 751px) {
#flexible{
	display:block;
	max-width:95%;
	z-index: 8000;
    position: fixed;

  }

  .outer-wrapper{
    width: 100% !important;
  }

header nav {
	/*padding-top:10px;*/
	text-align: center;
	margin-left: 0em;
	

}

.info-title-email-wrapper {
	display: table;
	width: 100%;
	padding: 0 75px;
	padding-bottom: 20px;
	padding-top:10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
.site-title .logo {
	display: inline-block;
	/*display:none;*/
}


.logo-image-title {
	margin-top:0px;
	 display: none;

	}
.logo-image-title a{
color:#666;}


header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}

header nav ul li a {
	color: #000;
	text-decoration: none;
	
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}

/**/
copyright {
	text-align: right;
	font-size: 75%;
	letter-spacing: 0.2em;
	
}
}



/* 行動版面: 480px 以下。 */

@media only screen and (max-width: 750px) and (min-width:0px){
#flexible{
    position: relative;
	display:block;
  }

  header, .outer-wrapper{
    width: 100% !important;
  }

header nav {
	/*padding-top:10px;*/
	text-align: center;
	margin-left: 0em;
	

}


.logo-wrapper{
	margin-top:0px;
	margin-bottom:0px;
}

.info-title-email-wrapper {
	display: table;
	width: 100%;
	padding: 0px !important;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border:none;
}

.site-title .logo {
	display:none;
}

.logo-image-title {
	margin-top:-20px;
	 display: block;
	 
	}
.logo-image-title a{
color:#fff !important;}



header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}


header nav ul li ul li{
	

	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 85%;

}

header nav ul li a {
	color: #000;
	text-decoration: none;
	
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}

copyright {
	text-align: center;
	font-size: 75%;
	letter-spacing: 0.1em;
	
}

}


