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

body{
	margin: 0 auto;
	font-size: 15pt;
	font-family: "Montserrat", "Arial", "Helvetica", "sans-serif", "微軟正黑體";
	line-height: 1.75em;
	letter-spacing: 0.025em;
}
a{
	-moz-transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
	color:#960;
	text-decoration:none;
}
a:hover{
	color:#900;
	text-decoration:underline;
}
h6{
	font-size: smaller;
}

/* 天區塊 */


/* 漢堡選單 */
#h-header{
	display: none;
}
#h-header img{
	margin: 1em 5px;
}
header input + label { /* 選單icon */
  position: fixed;
  top: 35px;
  right: 40px;
  height: 20px;
  width: 15px;
  z-index: 5;
}
header input + label span {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  left: 0;
  display: block;
  background: #020304;
  transition: .5s;
}
header input + label span:first-child {
  top: 3px;
}
header input + label span:last-child {
  top: 16px;
}
header label:hover {
  cursor: pointer;
}
header input:checked + label span {
  opacity: 0;
  top: 50%;
}
header input:checked + label span:first-child {
  opacity: 1;
  transform: rotate(405deg);
}
header input:checked + label span:last-child {
  opacity: 1;
  transform: rotate(-405deg);
}
header input ~ nav { /* 漢堡選單header設定處 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  transition: .5s;
  transition-delay: .5s;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0.15em 0 rgba(0, 0, 0, 0.1);
}
header input ~ nav > ul {
  text-align: center;
  position: absolute;
  left: 20%;
  right: 20%;
}
header input ~ nav > ul > li {
  opacity: 0;
  transition: .5s;
  transition-delay: 0s;
}
header input ~ nav > ul > li > a {
  text-transform: uppercase;
}
header input:checked ~ nav {
  height: 100%;
  transition-delay: 0s;
}
header input:checked ~ nav > ul > li {
  opacity: 1;
  transition-delay: .5s;
}

/* main區塊 */
.wrapper{
	width: 1000px;
	position: relative;
	margin: 0 auto;
}
.titlebg{
	width: 212px;
	height: 65px;
	text-align: center;
    font-size: 30px;
	margin-top: 30px;
	background: url('../images/icon-titlebg-f.png') center bottom no-repeat;
}

/* 地區塊 */
footer{
    padding: 30px 10px 25px 10px;
    line-height: 1.5em;
    background: url('http://carbing.com.tw/images/footer-bgg.png') repeat-x;
	font-size: 13pt;
	color: #333;
	text-align: center;
	clear: both;
}
.footer{
	width: 1020px;
	margin: 0 auto;
}
.footer li{
	float: left;
}
.footer-icon-l{
	position: absolute;
	padding-left: 30px;
}
.footer-tel{
	line-height: 1.2em;
    margin-top: 8px;
	padding: 0 85px 0 115px;
}
.footer-copyright{
	line-height: 1.5em;
    padding-top: 20px;
}
.spfont{
	color: #0b66ba;
	font-weight: bold;
}
.spbig{
	font-size: 36pt;
}

/* 課程頁面 */
#academy-g{
	width: 250px;
    height: 120px;
    border-width: 0 1px 1px;
    border-color: #333;
    border-style: solid;
    text-align: center;
    margin: 0 auto 50px;
    padding: 10px;
}
.bglayout-subject{
	padding-top: 100px;
	text-align: center;
	line-height: 2em;
	font-size: 40px;
	color: #fff;
	text-shadow: 0px 0px 10px #000;
}
.bglayout-subject span{
	font-size: 30px;
	color: #BE371F;
	text-shadow: 0px 0px 10px #fff;
}
.bglayout-subject img{
	padding-top:150px;
}
.class-subject-bg, .class-subject{
	border-width: 0 0 2px 0;
    border-color: #1067A7;
    border-style: solid;
	text-align: center;
}
.class-subject-bg img{
	padding-top: 8px;
}
.class-subject{
    padding: 0 0 15px 0;
    font-size: 40px;
    color: #12629D;
	line-height: 1.2;
}
.class-subject img{
	margin: 20px 20px 0 10px;
	float: left;
}
.class-subject span{
	font-size:15pt;
	color:#C39C61;
}
.classde{
    padding: 20px 0;
}
.classde p{
	text-indent: -5em;
	padding-left: 5em;
	margin-bottom: 0;
}
.imgword li{
    padding: 30px 0;
	float: left;
}
.imgword-i{
	width: 25%;
    text-align: center;
	clear: left;
}
.imgword-w{
	width: 75%;
}

/* 文字設定 */
.fred{
	color:#F00;
}
.fbrown{
	color:#8c5e05;
}
.fyellow{
	color:#ffff00;
}
.ored{
	color: #d94714;
}
.dtitle{
	font-size: 25px;
    color: #C39C61;
    line-height: 2em;
    font-weight: bold;
}

/* 線上表單 */
.contact{
	width: 280px;
	font-size: 16px;
    background: #EEE;
    float: right;
}
.contact p{
	margin-bottom: 0;
}
.contact-note, .contact-info{
	padding: 10px;
}
.contact-info{
	background: #707070;
	color: #ffff00;
}
.titler span{
	background: url('../images/home-title-icon.png') no-repeat;
    width: 19px;
    height: 19px;
    float: left;
	margin: 7px 5px;
}
#ss-form{
	float: left;
}
.errorbox-good{
	margin: 10px 5px;
}
input[type='text'], select, textarea{
	padding: 0.4em 0.6em;
}
input[type='text']{
	width: 240px;
}
select{
	width: 260px;
}
textarea{
	width: 300px;
}
#ss-submit{
	margin-left: 265px;
    margin-top: -35px;
}
.hidefield{
	display: none;
}

/* Screen */
@media screen and (max-width: 1920px) {

}

@media screen and (max-width: 1680px) {

}

@media screen and (max-width: 1280px) {

}

@media screen and (max-width: 1024px) {
	.footer{
	width: 100%;
	}
}

@media screen and (max-width: 1020px) {
	.footer li{
	float: none;
	text-align: center;
	padding-bottom: 30px;
	}
	.footer-tel{
	padding: 0;
	}
	.wrapper{
	width: 98%;
	}
}

@media screen and (max-width: 1000px) {
.imgword li{
    padding: 10px 0;
	float: none;
	width: 100%;
}
.bglayout-subject{
	padding-top: 0;
	font-size: 32px;
}
.bglayout-subject span{
	font-size: 20px;
}
.bglayout-subject img{
	padding-top: 0;
	width: 30vw;
}
}
		
@media screen and (max-width: 736px) {	
#h-header{
  display: block;
}
#s-header {
	display:none;
}
}
@media screen and (max-width: 650px) {	
.bglayout-subject{
	line-height: 1.2em;
	font-size: 52px;
}
}

@media screen and (max-width: 500px) {
.bglayout-subject{
	line-height: 1.5em;
	font-size: 40px;
}
.bglayout-subject img{
	width: 100%;
}
}

@media screen and (max-width: 450px) {
.footer-icon-l{
	position: relative;
	padding-left: 0;
}
.class-subject img{
	margin: 10px 25%;
	float: none;
}
.class-subject span{
	font-size:10pt;
}
.class-subject, .bglayout-subject{
    font-size: 30px;
}
}