﻿@charset "utf-8";
/* CSS Document */

body {
    font-family: Arial, "微軟正黑體";
}

.dialog-open {
    overflow: hidden;
}

/*內內最大寬度*/
.content-width {
    width: 100%;
    max-width: 1600px;
    margin: 0px auto;
}

/*bg*/
/*.test-bg {
    background-image: url(../images/bg1.jpg);
    background-repeat: no-repeat;
}
*/
/* 強制設定的CSS ---------------------------------*/
/* 取消左有內距*/
.no-pad-lr {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
/*上間距80*/
.top-margin80 {
    margin-top: 80px !important;
}
/*上間距60*/
.top-margin60 {
    margin-top: 60px !important;
}
/*上間距40*/
.top-margin40 {
    margin-top: 40px !important;
}
/*下間距40*/
.bottom-margin40 {
    margin-bottom: 40px !important;
}
/*下間距60*/
.bottom-margin60 {
    margin-bottom: 60px !important;
}
/*下間距80*/
.bottom-margin80 {
    margin-bottom: 80px !important;
}
/*下內距40*/
.bottom-padding40 {
    padding-bottom: 40px !important;
}
/*下內距60*/
.bottom-padding60 {
    padding-bottom: 60px !important;
}
/*下內距80*/
.bottom-padding80 {
    padding-bottom: 80px !important;
}
/*無邊框*/
.border-none {
    border: none !important;
}
/*無下邊框*/
.border-bottom-none {
    border-bottom: none !important;
}
/*字母間距*/
.letter-space {
    font-size: 1px !important;
    letter-spacing: 0px;
    white-space: normal !important;
    line-height: 0px !important;
}

.letter-space0px {
    font-size: 0px !important;
    letter-spacing: 0px;
    white-space: normal !important;
    line-height: 0px !important;
}
/* --------------------------------------------------*/

/*導覽nav*/
/*高度預設是固定*/
.nav-all {
    height: 120px;
    background-color: #ffffff;
    z-index: 9997;
	margin-top: 50px;
}

/*--------------------nav----------------*/
.logo {
    /*margin-left: 30px;*/
    width: 90%;
    max-width: 300px;
    min-width: 200px;
}

.nav > li > a:hover {
    background-color: #ff6666;
    /*color: #000000;*/
}

.nav > li > a {
    color: #FFFFFF;
    padding: 0px;
}

    .nav > li > a:visited {
        color: #FFFFFF;
        background-color: #ff6666;
    }

.navbar {
    border: 0px;
    font-size: 18px;
    margin-bottom: 0px;
    /*background-color: #ee981e;*/
    /*background-color: #f59e03;*/
    z-index: 9997;
}

    .navbar .content-width {
        max-width: 1600px;
    }

.container-fluid .navbar-header {
    margin-left: 52px;
    margin-top: 30px;
    min-height: 65px;
}

.navbar-collapse {
    border-top-color: rgba(255,255,255,.50);
}

.nav .dropdown-menu {
    font-size: 16px;
    z-index: 9998;
}

.dropdown-menu > li > a {
    line-height: 180%;
    transition-duration: .2s;
}

.nav .dropdown-menu > li > a:hover {
    background-color: #ff6666;
    color: #FFFFFF;
    margin-left: 1px;
    margin-right: 1px;
}

.nav .lmenubase {
    width: 110px;
    min-height: 120px;
    padding-top: 20px;
    color: #3f4551;
    cursor: pointer;
    transition-duration: .2s;
}

    .nav .lmenubase:hover {
        background: #ff6666;
		color:#ffffff;
    }

.nav .lmenu {
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 100px;
    text-align: center;
	font-weight: bolder;
	letter-spacing: 1px;
    padding-top: 60px;
    margin: 0px auto;
    transition-duration: .2s;
}

.nav .m00 {
    width: auto;
    margin: 0px;
    /*margin-left: -1px;
    margin-right: -1px;*/
    background-color: #ffffff;
    z-index: 2;
}

.m00 .mline {
    width: 38px;
    /*min-height: 52px;*/
    margin: 0px auto;
    margin-top: 20px;
}

.m00 .mline.w01{
	width: 80px;
}


.nav .menu-dep01 {
    width: 2.3%;
}

.lmenu.m01 {
    background-image: url( ../images/about-b.png);
}

	.lmenu.m01:hover {
		background-image: url( ../images/about-w.png);
	}

.lmenu.m02 {
    background-image: url( ../images/hat-b.png);
}

	.lmenu.m02:hover {
		background-image: url( ../images/hat-w.png);
	}

.lmenu.m03 {
    background-image: url( ../images/paper-b.png);
}

	.lmenu.m03:hover {
		background-image: url( ../images/paper-w.png);
	}

.lmenu.m04 {
    background-image: url( ../images/star-b.png);
}

	.lmenu.m04:hover {
		background-image: url( ../images/star-w.png);
	}


/* 漢堡按鈕 */
.navbar .navbar-toggle {
    border-color: #3f4551;
    margin-top: 17px;
}

    .navbar .navbar-toggle .icon-bar {
        background-color: #3f4551;
    }

.navbar-toggle[aria-expanded="true"] .b1 {
    position: relative;
    transform: rotate(45deg);
    top: 6px;
}

.navbar-toggle[aria-expanded="true"] .b2 {
    visibility: hidden;
}

.navbar-toggle[aria-expanded="true"] .b3 {
    position: relative;
    transform: rotate(-45deg);
    top: -6px;
}

.navbar-toggle .icon-bar {
    transition: all .3s;
}

    .navbar-toggle .icon-bar.b2 {
        transition: all .1s;
    }

/*導覽列媒體查詢*/

@media screen and (max-width:1200px){
	
	.m00 .mline.w01{
		width: 10px;
	}
	
	.nav .lmenubase {
		width: 110px;
		min-height: 100px;
		padding-top: 20px;
		color: #3f4551;
		cursor: pointer;
		transition-duration: .2s;
	}
	
	
	
}


@media screen and (max-width:991px){
	
	.container-fluid .navbar-header {
		margin-left: 45px;
	}
	
	.m00 .mline.w01{
		width: 0px;
	}
	
	.nav .lmenubase {
		width: 90px;
	}
	
	
	
}


@media screen and (max-width:848px){
	
	.container-fluid .navbar-header {
		margin-left: 15px;
		margin-top: 26px;
		min-height: 65px;
	}
	
	
	.m00 .mline{
		width: 20px;
	}
	
	.nav .lmenubase {
		width: 85px;
	}
	
	
	.logo{
		width: 34%;
		min-width: 240px;
		position: relative;
		z-index: 1;
		top: 4px;
	}
	
	
}



@media screen and (max-width:767px){
	
	
	.nav-all{
		height: 100px;
	}
	
	.nav .lmenubase {
		width: 100%;
		min-height: 0px;
		padding-top: 0px;
		color: #3f4551;
		z-index: 1;	
		cursor: pointer;
		transition-duration: .2s;
		background: #ffffff;
	}

    .nav .lmenubase:hover {
        background: #ff6666;
		color:#ffffff;
    }
	
	
	.nav .lmenu{
		background-position: left center;
		background-repeat: no-repeat;
		min-height: 78px;
		text-align: left;
		padding-top: 28px;
		padding-left: 68px;
		padding-right: 25px;
		min-width: 100%;
		max-width: 100%;
		margin: 0px auto;
	}
	
	
	.m00 .mline{
		width: 50%;
		min-width: 100px;
		max-width: 250px;
		min-height: 2px;
		text-align: center;
		margin: 0px auto;
		margin-top: -1px;
		margin-bottom: -1px;
	}
	
	
	
	.logo{
		width: 20%;
		min-width: 190px;
		max-width: 200px;
		position: relative;
		z-index: 1;
		top: 0px;
	}


	.navbar .navbar-toggle{
		position: relative;
		z-index: 1;
		top: -10px;
	}
	
	
	.navbar-nav .open .dropdown-menu{
		background-color: #ffffff;
	}
	

	.lmenu.m01 {
		background-image: url( ../images/about-b-s.png);
	}

		.lmenu.m01:hover {
			background-image: url( ../images/about-w-s.png);
		}

	.lmenu.m02 {
		background-image: url( ../images/hat-b-s.png);
	}

		.lmenu.m02:hover {
			background-image: url( ../images/hat-w-s.png);
		}

	.lmenu.m03 {
		background-image: url( ../images/paper-b-s.png);
	}

		.lmenu.m03:hover {
			background-image: url( ../images/paper-w-s.png);
		}

	.lmenu.m04 {
		background-image: url( ../images/star-b-s.png);
	}

		.lmenu.m04:hover {
			background-image: url( ../images/star-w-s.png);
		}
	
	
}


@media (max-width: 482px){
	
	.nav-all {
		/*height: 96px;*/
	}
	
	
}




@media screen and (max-width:420px){
	
	.logo{
		/*width: 20%;
		min-width: 190px;
		max-width: 200px;
		position: relative;
		z-index: 1;
		top: 0px;*/
		
	}
	
	.container-fluid .navbar-header {
		margin-left: 8px;
		margin-top: 27px;
	}
}


@media screen and (max-width:321px){
	
	.container-fluid .navbar-header{
		margin-left: 0px;
	}
		
}




/*---------------------------------------*/

/*右上 社交按鈕---------------------------------------*/
.socialBtn {
    position: fixed;
    top: 155px;
    right: 0px;
    width: calc(48px + 8px*2);
    padding: 8px;
    background-color: rgba(211,211,211,.9);
    border-radius: 10px 0px 0px 10px;
    z-index: 9996;
}

    .socialBtn > a {
        text-decoration: none;
    }

    .socialBtn .fb {
        width: 48px;
        height: 48px;
        background-color: #3b5998;
        background-image: url(../images/f.png);
        background-size: contain;
        border-radius: 50%;
    }

    .socialBtn .fb-text {
        color: #3b5998;
        text-align: center;
        font-size: 10px;
        padding-top: 3px;
        padding-bottom: 5px;
    }

    .socialBtn .fb-like-text {
        width: 51px;
        overflow: hidden;
        border-radius: 5px;
        /*margin: 0 auto;*/
        margin-left:-1px;
        margin-top: 2px;
        margin-bottom: 4px;
        height: 16px;
    }

        .socialBtn .fb-like-text > div {
            /*margin-left: -22px;*/
            margin-top: -2px;
            float: right;
            transform: scale(.9,.9);
            transform-origin: right;
        }

    .socialBtn .youtube {
        width: 48px;
        height: 48px;
        background-color: #cc181e;
        background-image: url(../images/y.png);
        background-size: contain;
        border-radius: 50%;
    }

@media (max-width: 767px) {
    .socialBtn {
        top: 68px;
        opacity: .8;
    }

        .socialBtn:hover {
            opacity: 1;
        }
}

@media (max-width: 480px) {
    .socialBtn {
        width: calc(42px + 5px*2);
        padding: 5px;
    }

        .socialBtn .fb {
            width: 42px;
            height: 42px;
        }

        .socialBtn .youtube {
            width: 42px;
            height: 42px;
        }
        .socialBtn .fb-like-text {
            /*width: 110%;*/
            width: 39px;
            margin-left: 2px;
        }
        .socialBtn .fb-like-text > div {
            transform: scale(0.7, 0.7);
        }
}
@media (max-height: 319px) {
	.socialBtn {
		display: none;
	}
}
/*------------------banner----------------------------------*/
/*高度預設是固定*/
.banner-all {
    /*height: 643px;*/
    background-color: #cccccc;
}

.carousel-inner .item.link {
    cursor: pointer;
}
/*左右按鈕*/
.carousel-control {
    top: 0px;
    bottom: 55px;
    width: auto;
    opacity: 1;
    text-shadow: 0px 0px 0px;
}

    .carousel-control.left-btn {
        left: 25px;
        right: auto;
    }

.glyphicon {
    color:rgba(147,147,147,0.75);
    background-color: rgba(255,255,255,0.70);
    min-width: 50px;
    min-height: 50px;
    padding-top: 8px;
    border-radius: 50%;
}

    .glyphicon:hover {
        color: #FFFFFF;
        background-color: rgba(147,147,147,0.75);
    }

.carousel-control .glyphicon-chevron-left {
    left: 0px;
}

.carousel-control.right-btn {
    left: auto;
    right: 25px;
}

.carousel-control .glyphicon-chevron-right {
    right: 0px;
}
/*中間圓圈按鈕*/
.carousel-indicators {
    bottom: 10px;
}

    .carousel-indicators > li, .carousel-indicators .active {
        width: 20px;
        height: 20px;
        background-color: rgba(255,255,255,0.70);
        border: 0px #e85208 solid;
        border-radius: 50px;
        margin: 1px 1% 1px 1%;
        text-indent: 0px;
    }

    .carousel-indicators .circle-btn {
        display: inline-block;
        position: relative;
        margin: 4px;
        width: 12px;
        height: 12px;
    }

    .carousel-indicators .active .circle-btn {
        background-color:#919191;
        border-radius: 50px;
    }

.banner-all .nobanner {
    width: 100%;
    height: 50px;
    background-color: #FFFFFF;
}

@media screen and (min-width:1411px) {
    .banner-all .nobanner {
        height: 0px;
    }
}

@media screen and (max-width:767px) {
    .carousel-inner .item > img {
    }

    .carousel-control {
        top: auto;
        bottom: 40px;
    }

    .glyphicon {
        min-width: 35px;
        min-height: 35px;
        padding-top: 6px;
    }

    .carousel-indicators > li, .carousel-indicators .active {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators .circle-btn {
        display: inline-block;
        position: relative;
        /*margin: 3px;*/
        width: 10px;
        height: 10px;
    }

    .banner-all .nobanner {
        height: 0px;
    }
}
/*----------------------------------------------------------*/

/* 大標題區域 -------------------------------------------------*/


/*-----------------------------------------------------*/

/*-------------------------footer----------------------*/
/*高度預設是固定*/

.footer-all {
    /*height: 565px;*/
}
/* 第一層 -----------------------------*/
.footer-menu {
    background-color: #CECECF;
    /*padding-top: 20px;*/
    padding-bottom: 20px;
}

.footer-all .content-width {
    max-width: 1600px;
}

.fmenu-list {
    width: 40%;
    margin: 0px auto;
    white-space: nowrap;
    padding-top: 20px;
}

.fmenu-title {
    font-size: 18px;
    font-weight: bold;
	letter-spacing: 1px;
    color: #2a2a2a;
}

.fmenu-item > a {
    font-size: 16px;
    line-height: 32px;
    color: #2a2a2a;
	padding-left: 15px;
}

    .fmenu-item > a:hover {
        /*border-bottom: 1px #ffd33c solid;	*/
        /*text-decoration: none;*/
    }

.fmenu-dep00 {
    width: 4.16%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.fmenu-dep01 {
    float: left;
    position: relative;
    width: 2px;
    height: 150px;
    margin: 0px auto;
    text-align: center;
    margin-top: 45px;
    margin-left: -1px;
    margin-right: -1px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+49,ffffff+51,ffffff+100 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

@media screen and (max-width:1430px) {
    .fmenu-list {
        width: 45%;
    }
}

@media screen and (max-width:1199px) {
    .fmenu-list {
        width: 55%;
    }
}

@media screen and (max-width:1099px) {
    .fmenu-list {
        width: 65%;
    }
}

@media screen and (max-width:991px) {
    .fmenu-list {
        width: 85%;
    }

    .fmenu-dep00 {
        width: 11.429%; /*8.33%;*/
    }

    .fmenu-dep01 {
        margin-left: -3.08%;
        height: 100px;
    }
}

@media screen and (max-width:767px) {
    .fmenu-list {
        width: 70%;
    }

    .fmenu-dep00 {
        width: 10.33%; /*8.33%;*/
    }

    .fmenu-dep01 {
        margin-left: -3.08%;
        height: 150px;
    }
}

@media screen and (max-width:480px) {
    .fmenu-base {
        width: 100%;
    }

    .fmenu-list {
        width: 70%;
        padding-top: 20px;
    }

    .fmenu-item {
        width: 50%;
    }

    .fmenu-dep00 {
        display: none !important;
    }

    .fmenu-dep01 {
        width: 100%;
        height: 1px;
        display: block !important;
        text-align: center;
        margin: 0px auto;
        margin-top: 20px;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+49,ffffff+51,ffffff+100 */
        background: rgb(255,255,255); /* Old browsers */
        background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 30%,rgba(255,255,255,1) 70%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
    }
}

@media screen and (max-width:380px) {
    .fmenu-list {
        width: 90%;
    }

    .fmenu-item {
        width: 50%;
    }
}
/* 第二層 -----------------------------*/

.footer-icon {
    background-color: #464646;
    padding-bottom: 5px;
}

.ficon-list {
    margin-top: 22px;
}

.ficon-item {
    background-position: top center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    font-size: 16px;
    min-height: 84px;
    padding-top: 53px;
    text-align: center;
    width: 20%;
    white-space: nowrap;
}

    .ficon-item:hover {
        text-decoration: underline;
    }

    .ficon-item.m01 {
        background-image: url(../images/footer_icon_01.png);
        color: #ffde00;
    }

    .ficon-item.m02 {
        background-image: url(../images/footer_icon_02.png);
        color: #ffde00;
    }

    .ficon-item.m03 {
        background-image: url(../images/footer_icon_03.png);
    }

    .ficon-item.m04 {
        background-image: url(../images/footer_icon_04.png);
    }

    .ficon-item.m05 {
        background-image: url(../images/footer_icon_05.png);
    }

@media screen and (max-width:480px) {
    .ficon-dep00 {
        width: 12%;
    }

    .ficon-list {
        width: 76%;
        margin-top: 25px;
    }

    .ficon-item.m01, .ficon-item.m02 {
        width: 50%;
    }

    .ficon-item.m03, .ficon-item.m04, .ficon-item.m05 {
        margin-top: 13px;
        width: 33.3%;
    }
}

/* 第三層 -----------------------------*/



/* 禮物浮動視窗 ------------------------*/
.footer-form {
    position: fixed;
    bottom: -490px;
    background-color: rgba(48,150,124,.99);
    box-shadow: -10px -5px 30px -10px #30967c;
    z-index: 9996;
    width: calc(100% - 2px);
    left: 1px;
}
.footer-form.open {
	z-index: 9999 !important;
}

/* 禮物按鈕 */
.free-btn {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: -74px;
    margin-bottom: -50px;
    padding-top: 20px;
    width: 110px;
    height: 110px;
    background-color: rgba(48,150,124,.97);
    border-radius: 50%;
    cursor: pointer;
	z-index: 9996;
}

    .free-btn .animated {
        animation-duration: 2s;
        -webkit-animation-duration: 2s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
.free-btn.small {	
    margin-top: -0px;
    margin-bottom: -30px;
    padding-top: 0px;
    width: 30px;
    height: 30px;
	position: relative;
	/*z-index: 9999;*/
}
.free-btn.small .animated {
	width:100%;
	max-height: auto;
}
/* 標題組合 */
.fform-title {
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 2pt;
    margin: 0px auto;
    text-align: center;
    white-space: nowrap;
}

    .fform-title > ul > li {
        position: relative;
        display: inline-block;
        list-style: none;
        width: auto;
    }

    .fform-title .item01 {
        top: -19px;
        width: auto;
    }

    .fform-title .item02 {
        top: 16px;
    }

    .fform-title .item03 {
        top: -19px;
        width: auto;
    }

    .fform-title > ul {
        margin: 0px;
        padding: 0px;
    }

        .fform-title > ul > li > h1 {
            line-height: 160%;
        }

            .fform-title > ul > li > h1 > span {
                font-weight: bold;
                color: #ffde00;
            }
/* 欄位組合 */
.fform-field {
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 2px;
    white-space: nowrap;
}
.fform-field.small {
	background-color: rgba(48,160,124,.99);
}

    .fform-field > ul {
        margin: 0px;
        padding: 0px;
    }

    .fform-field .fform-dep00 {
        position: relative;
        float: left;
        width: 4.16%;
    }

    .fform-field .fform-dep01 {
        min-height: 20px;
    }

    .fform-field .fform-box {
        border: 0px;
        border-radius: 4px;
        background-color: #FFFFFF;
        color: #464646;
        padding: 6px 10px 5px 10px;
        line-height: 24px;
        vertical-align: middle;
    }
    /* 文字欄位 */
    .fform-field .fform-txt {
        width: 95%;
    }
    /* 選擇欄位*/

    .fform-field .fform-select {
        width: 40%;
        max-width: 150px;
        min-width: 120px;
        padding-top: 3px;
        min-height: 35px;
    }

    .fform-field .fform-option {
        border-bottom: 1px #828282 solid;
    }

.fform-br {
    height: auto;
}
/* 個資保護 */
.fform-agree, .fform-agree .protect {
    color: #FFFFFF;
    font-size: 16px;
}

    .fform-agree .protect {
        text-decoration: underline;
        white-space: nowrap;
    }

    .fform-agree .col-xs-1 {
        max-width: 15px;
    }

    .fform-agree .col-xs-10 {
        padding-right: 0px;
    }
/* 按我送出 */
.fform-submit {
    font-weight: bold;
    letter-spacing: 2px;
    background-color: #ff8920;
    border: 0px;
    padding: 10px;
    width: 20%;
    min-width: 200px;
    border-radius: 1px;
	font-size: 20px;
	color: #FFF;
}

@media screen and (min-width:992px) {
    .fform-field .iwant {
        margin-left: -15px;
    }
}

@media screen and (min-width:768px) and (max-width:991px) {
    .fform-field .fform-txt {
        width: 96%;
    }

    .fform-txt.txt-email {
        width: 98%;
    }
}

@media screen and (max-width:767px) {
    .footer-form {
        /*z-index: 9996;*/
    }

    .fform-title .item01 > img, .fform-title .item03 > img {
        width: 80%;
    }

    .fform-title .item01 {
        top: -14px;
        margin-right: -2.2%;
    }

    .fform-title .item02 {
        top: 13px;
    }

        .fform-title .item02 > h1 {
            font-size: 190%;
            line-height: 150%;
        }

    .fform-title .item03 {
        top: -14px;
        margin-left: -2.2%;
    }

    .fform-field .fform-txt {
        width: 100%;
    }

    .fform-field .iwant {
        line-height: 210%;
    }
}

@media screen and (max-width:667px) {
    .fform-title .item01 > img, .fform-title .item03 > img {
        width: 70%;
    }

    .fform-title .item01 {
        top: -6px;
        margin-right: -4%;
    }

    .fform-title .item02 > h1 {
        font-size: 160%;
        line-height: 140%;
    }

    .fform-title .item03 {
        top: -6px;
        margin-left: -4%;
    }

    .fform-field .col-xs-2 {
        width: 12.5%;
    }

    .fform-field .col-xs-8 {
        width: 75%;
    }
}

@media screen and (max-width:567px) {
    .fform-title .item01 > img, .fform-title .item03 > img {
        width: 56%;
    }

    .fform-title .item01 {
        top: -1px;
        margin-right: -6%;
        margin-left: -5%;
    }

    .fform-title .item02 > h1 {
        font-size: 130%;
        line-height: 130%;
        padding-bottom: 15px;
    }

    .fform-title .item03 {
        top: -1px;
        margin-left: -6%;
        margin-right: -5%;
    }

    .fform-field .col-xs-2 {
        width: 10%;
    }

    .fform-field .col-xs-8 {
        width: 80%;
    }
}

@media screen and (max-height:480px) and (max-width:991px) {
	.free-btn.open {	
		margin-top: -0px;
		margin-bottom: -30px;
		padding-top: 0px;
		width: 30px;
		height: 30px;
		position: relative;
		/*z-index: 9999;*/
	}
	.free-btn.open img {	
		width:100%;
		height: auto;
		
		/*z-index: 9999;*/
	}
	
	.fform-title .item01 > img, .fform-title .item03 > img {
        width: 56%;
    }

    .fform-title .item01 {
        top: -1px;
        margin-right: -3%;
        margin-left: -5%;
    }

    .fform-title .item02 > h1 {
        font-size: 130%;
        line-height: 130%;
        padding-bottom: 15px;
    }

    .fform-title .item03 {
        top: -1px;
        margin-left: -3%;
        margin-right: -5%;
    }
}

@media screen and (max-width: 480px) {
    .fform-title .item01 > img, .fform-title .item03 > img {
        width: 25%;
    }

    .fform-title .item01 {
        top: 8px;
        margin-right: -75px;
        margin-left: -56px;
        width: 120px;
    }

    .fform-title .item02 > h1 {
        font-size: 130%;
        line-height: 130%;
    }

    .fform-title .item03 {
        top: 8px;
        margin-left: -75px;
        margin-right: -56px;
        width: 120px;
    }

    .fform-field .col-xs-2 {
        width: 7%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .fform-field .col-xs-8 {
        width: 86%;
    }

    .fform-agree {
        white-space: normal;
    }

    .fform-br {
        max-height: 18px;
    }
}
@media screen and (max-height:480px) {	
	.fform-submit {
		font-size: 16px;
		padding: 6px;
		min-width: 160px;
	}
	.fform-br {
        max-height: 10px;
    }
}
@media screen and (max-height:480px) and (max-width:567px) and (min-width:481px) {
	.free-btn.small {
		padding-top: 4px;
	}
	.fform-title {
		max-height: 87px;		
	}	
	.fform-title .item01 {
    	top: -9px;
	}
	.fform-title .item02 {
    	top: 14px;
	}
	.fform-title .item03 {
    	top: -9px;
	}
	.fform-field{
		padding-top: 3px;
	}
}
@media screen and (max-height:480px) and (max-width:480px) {
	.fform-title {
		max-height: 87px;		
	}	
	.fform-field{
		padding-top: 3px;
	}
}

/* 課程分類 ----------------*/

.class-list {
    padding-top: calc(3% + 20px);
    padding-bottom: calc(4% + 20px);
    /*margin-top: -10px;*/
    margin-top: -1px;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
    /* 01美語背景色 */
    .class-list.m01 {
        background-color: #e5deff;
    }
    /* 01日語背景色 */
    .class-list.m02 {
        background-color: #ffd8dc;
    }
    /* 01西語背景色 */
    .class-list.m03 {
        background-color: #c6e5fc;
    }
    /* 01兒美背景色 */
    .class-list.m04 {
        background-color: #daf1c1;
    }
    /* 01德語背景色 */
    .class-list.m05 {
        background-color: #e6d6c6;
    }
    /* 06c韓語背景色 */
    .class-list.m06 {
        background-color: #caf6ff;
    }

.class-group {
    /*width: 90%;*/
    margin-left: -10px;
    margin-right: -10px;
    width: calc(83.33% + 20px);
}

.class-dep00 {
}

.class-item {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;
}

.class-box {
    position: relative;
    /*border: 1px #CCCCCC solid;*/
    box-shadow: 0px 0px 5px -2px rgb(67,67,67);
    background-color: rgba(67,67,67, 0.9);
    color: #FFFFFF;
    transition-duration: .3s;
}

    .class-box:hover {
        background-color: rgba(255,255,255, 0.9);
        color: #252525;
    }

    .class-box.focus {
        background-color: rgba(255,255,255, 0.9);
        color: #252525;
    }

.class-img {
    width: 100%;
    opacity: .95;
    height: auto;
    /*max-width: 350px;*/
}

.class-txt {
    position: absolute;
    left: auto;
    right: auto;
    bottom: 0px;
    /*width: calc(100% - 22px);*/
    width: 100%;
    background-color: inherit;
    padding-left: 7%;
    height: 40%;
    max-height: 118px;
}

    .class-txt > h2 {
        /*font-size: 30px;*/
        margin-top: 9%;
        font-weight: normal;
    }

    .class-txt > h4 {
        /*font-size: 20px;*/
        margin-top: 5%;
        font-weight: normal;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

@media screen and (max-width:1199px) {
    .class-group {
        /*width: 90%;*/
        margin-left: -7px;
        margin-right: -7px;
        width: calc(83.33% + 14px);
    }

    .class-item {
        padding-left: 7px;
        padding-right: 7px;
        margin-top: 14px;
    }

    .class-txt {
        padding-left: 6%;
        /*width: calc(100% - 14px - 1px);*/
    }

        .class-txt > h2 {
            font-size: 28px;
            margin-top: 9%;
        }

        .class-txt > h3 {
            font-size: 18px;
            margin-top: 4%;
        }
}

@media screen and (max-width:991px) {
    .class-txt {
        padding-left: 6%;
        /*width: calc(100% - 14px - 1px);*/
    }

        .class-txt > h2 {
            font-size: 28px;
            margin-top: 9%;
        }

        .class-txt > h3 {
            font-size: 18px;
            margin-top: 4%;
        }
}

@media screen and (max-width:767px) {
    .class-group {
        width: calc(100% - 12px);
        padding-left: calc(6% + 3px);
        padding-right: calc(6% + 3px);
        margin-left: 6px;
        margin-right: -6px;
    }

    .class-item {
        padding-left: 6px;
        padding-right: 6px;
        margin-top: 12px;
        /*width: 48%;*/
    }

    .class-txt {
        padding-left: 6%;
        /*width: calc(100% - 12px - 1px);*/
    }

        .class-txt > h2 {
            font-size: 28px;
            margin-top: 9%;
        }

        .class-txt > h3 {
            font-size: 18px;
            margin-top: 5%;
        }
}

@media screen and (max-width:767px) {
    .fix-img {
        display: none !important;
    }
}

@media screen and (max-width:480px) {
    .class-group {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

        .class-group .row {
            margin-left: 0px;
            margin-right: 0px;
        }

    .class-item {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }

    .class-txt {
        left: auto;
        right: auto;
        padding-left: 8%;
        /*width: calc(100% - 8px - 2px);*/
    }

        .class-txt > h2 {
            font-size: 28px;
            margin-top: 8%;
        }

        .class-txt > h3 {
            font-size: 20px;
            margin-top: 5%;
        }
}

/*----------------------------------------------------*/

/* 左右滑動區塊 Slider CSS -------------------- */
/*左右箭頭*/
.slick-arrow {
    width: 64px;
    height: 64px;
    border: 3px #d1d1d1 solid;
    top: auto;
    bottom: -130px;
    z-index: 2;
}

.slick-prev {
    right: 60%;
    left: auto;
}

.slick-next {
    left: 60%;
    right: auto;
}

    .slick-prev:before, .slick-next:before {
        color: #bbbbbb;
        font-family: 'Glyphicons Halflings';
        font-size: 36px;
        /*opacity: .9;*/
    }

.slick-prev:before {
    content: '\e079';
}

.slick-next:before {
    content: '\e080';
}
/*圓點按鈕*/
.slick-dots {
    z-index: 1;
    bottom: -75px;
}

    .slick-dots li {
        margin-left: 10px;
        margin-right: 10px;
    }

    .slick-dots > li > button {
        border: 3px #d1d1d1 solid;
        border-radius: 50%;
        padding: 1px;
        width: 24px;
        height: 24px;
    }

        .slick-dots > li > button:before {
            font-size: 15px;
            line-height: 140%;
            top: 2px;
            left: 2px;
            color: #FFFFFF;
            padding: 1px;
        }

    .slick-dots li.slick-active button:before {
        color: #bbbbbb;
    }
/* 左右滑動區塊項目 */
.slider-item {
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
}

    .slider-item > a {
        text-decoration: none;
        outline: none;
    }

@media screen and (max-width:1299px) {
    .slick-prev {
        right: 60%;
    }

    .slick-next {
        left: 60%;
    }
}

@media screen and (max-width:959px) {
    .slick-prev {
        right: 60%;
    }

    .slick-next {
        left: 60%;
    }
}

@media screen and (max-width:768px) {
    .slick-prev {
        right: auto;
        left: 10px;
    }

    .slick-next {
        left: auto;
        right: 10px;
    }

    .slick-dots li {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media screen and (max-width:480px) {
    .slick-arrow {
        width: 48px;
        height: 48px;
        bottom: -90px;
    }
}

@media screen and (max-width:320px) {
    .slider-item {
        padding-left: 0px;
        padding-right: 0px;
    }

    .slick-prev {
        right: auto;
        left: 0px;
    }

    .slick-next {
        left: auto;
        right: 0px;
    }
}

/* 看更多課程 ----------------------*/
.more-class {
    width: calc(4vw + 220px);
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 3px;
    border: 2px #ff862d solid;
    padding: 15px 30px;
    background-color: #f29131;
    text-align: center;
    /*margin-top: 1vw;*/
    cursor: pointer;
    transition-duration: .25s;
    outline: none;
}

    .more-class:hover {
        color: #f29131;
        background-color: #FFFFFF;
        cursor: pointer;
    }

/* 會員登入區域 ---------------------*/
.popup-box {
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    background-color: rgba(0,0,0,0.70);
    overflow-y: auto;
    overflow-x: hidden;
}

    .popup-box .login-box {
        position: relative;
        top: 50px;
        background-color: #FFFFFF;
		background-image: url(../images/flower02.png);
		background-repeat: no-repeat;
		background-position: right bottom;
        border-radius: 10px;
        margin: 0px auto;
        width: 66.6667%;
        max-width: 480px;
        padding: 3%;
        margin-bottom: 50px;
    }

.login-box .title-group {
    margin-top: 3%;
}

    .login-box .title-group .title {
        font-size: 46px;
        color: #ee981e;
        font-weight: bold;
        letter-spacing: 5px;
    }

    .login-box .title-group .line01 {
        width: 17%;
        background-color: #ee981e;
        height: 7px;
        margin-top: -3px;
    }

.login-box .fname {
    font-size: 30px;
    font-weight: 600;
    color: #5e5e5e;
    border-left: 4px #ee981e solid;
    padding-left: 10px;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 20px;
}

    .login-box .fname > span {
        font-size: 20px;
    }

.login-box .text {
    font-size: 18px;
    color: #B6B6B6;
    border: 0px;
    border-bottom: 2px #ff6666 solid;
    width: 97%;
    margin-left: 3%;
    margin-top: 0px;
    margin-bottom: 10px;
    outline: none;
    text-align: left;
    line-height: 120%;
}

.login-box .valid-msg {
    margin-top: -8px;
    text-align: right;
    padding-right: 5px;
}

.login-box .btn {
    /*width: 90%;
    height: 68px;
    margin: 20px 5%;
    margin-top: 40px;
    background-color: #ee981e;
    border-radius: 10px;
    font-size: 30px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 200%;
    letter-spacing: 2px;*/
}

    .login-box .btn.fb {
        margin-top: 20px;
        background-color: #3b5998;
    }

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background-color: #FFFFFF;
    opacity: .5;
	border-radius: 10px;
}

    .close-btn:hover {
        opacity: 1;
        cursor: pointer;
    }

    .close-btn .line {
        position: absolute;
        top: 45%;
        width: 28px;
        height: 5px;
        border-radius: 2px;
        background-color: #A6A6A6;
        transform: rotate(45deg);
    }

        .close-btn .line.l2 {
            transform: rotate(-45deg);
        }

@media screen and (max-width:1199px) {
    .close-btn {
    }
}

@media screen and (max-width:991px) {
    .login-box .title-group .title {
        font-size: 40px;
    }

    .login-box .title-group .line01 {
        width: 17%;
        background-color: #ee981e;
        height: 5px;
        margin-top: -3px;
    }

    .login-box .fname {
        font-size: calc(1.3vw + 17px);
    }

        .login-box .fname > span {
            font-size: calc(1.3vw + 8px);
        }

    .login-box .btn {
        margin-top: 30px;
        font-size: calc(1.3vw + 17px);
        height: calc(3vw + 38px);
    }

    .close-btn {
    }
}

@media screen and (max-width:767px) {
    .popup-box .login-box {
        width: 75%;
        top: 6vh;
        margin-bottom: 10vh;
    }

    .login-box .title-group .title {
        font-size: calc(3vw + 15px);
    }

    .login-box .title-group .line01 {
        width: 17%;
        background-color: #ee981e;
        height: 5px;
        margin-top: -3px;
    }

    .login-box .fname {
        font-size: calc(2vw + 12px);
    }

        .login-box .fname > span {
            font-size: calc(2vw + 8px);
        }

    .login-box .text {
        font-size: calc(2vw + 8px);
    }

    .login-box .btn {
        /*width:86%;	*/
        height: calc(3vw + 38px);
        margin: 20px 8%;
        margin-top: 20px;
        font-size: calc(2vw + 11px);
        padding-left: 0px;
        padding-right: 0px;
    }

        .login-box .btn.fb {
            margin-top: 5px;
        }
}

@media screen and (max-width:480px) {
    .popup-box .login-box {
        width: 83.33%;
        top: 4vh;
        margin-bottom: 8vh;
    }

    .login-box .title-group .title {
        letter-spacing: 1px;
    }

    .login-box .dep00 {
        width: 3.5%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .login-group {
        width: 93%;
    }

    .login-box .fname {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .login-box .text {
        margin-bottom: 10px;
    }

    .login-box .btn {
        width: 100%;
        margin-left: 0%;
        margin-right: 0%;
        letter-spacing: 1px;
        height: calc(3vw + 36px);
    }

    .close-btn {
        top: 0px;
        right: 0px;
    }
}

@media screen and (max-width:320px) {
    .popup-box .login-box {
        top: 2vh;
        margin-bottom: 2vh;
    }

    .login-box .dep00 {
        width: 3%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .login-group {
        width: 94%;
    }

    .login-box .title-group .title {
        font-size: calc(3vw + 14px);
    }
}

.relogin-all .title-group .title {
    color: #4E82F9;
}

.relogin-all .title-group .line01 {
    background-color: #4E82F9;
}

/* gotop --------------------------*/
area {
    outline: none;
}

.gotop {
    position: fixed;
    right: 0px;
    bottom: 36px;
    width: 60px;
    /*background-color: rgba(255,255,255,.8);*/
    /*border-radius: 10px 0px 0px 10px;	*/
    border: 0px #999999 none;
    padding: 10px 5px 5px 5px;
    color: #999999;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    opacity: .8;
    z-index: 9998;
    display: none;
    transition-duration: .25s;
}

    .gotop:hover {
        color: #EE981E;
        border-color: #EE981E;
    }

    .gotop > div {
        width: 50px;
        height: 50px;
        border-width: 25px;
        border-style: solid;
        border-color: inherit;
        border-radius: 50%;
    }

        .gotop > div > div {
            position: absolute;
            width: 18px;
            height: 18px;
            top: calc(50px/2);
            left: calc(42px/2);
        }

            .gotop > div > div > div.arr01 {
                position: absolute;
                top: 5px;
                left: 0px;
                width: 18px;
                height: 18px;
                transform: rotate(45deg);
                border-width: 9px;
                border-style: solid;
                border-color: #FFFFFF;
                z-index: 1;
            }

            .gotop > div > div > div.arr02 {
                position: absolute;
                top: 11px;
                left: 0px;
                width: 18px;
                height: 18px;
                transform: rotate(45deg);
                border-width: 9px;
                border-style: solid;
                border-color: inherit;
                z-index: 2;
            }

    .gotop .gotop-txt {
        display: block;
        position: relative;
        width: 40px;
        height: 18px;
        line-height: 18px;
        margin-top: 2px;
        border-radius: 18px;
        border-top-width: 1px;
        border-left-width: 20px;
        border-right-width: 20px;
        border-bottom-width: 1px;
        border-color: inherit;
        border-style: solid;
        color: #FFFFFF;
    }

        .gotop .gotop-txt > span {
            display: block;
            position: absolute;
            width: 40px;
            top: 0px;
            left: -20px;
        }
/* 自訂核取方塊 -------------------- */
.uc-checkbox {
    display: none;
}

    .uc-checkbox + label {
        background-color: #fafafa;
        border: 1px solid #cacece;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
        padding: 8px;
        border-radius: 1px;
        display: inline-block;
        position: relative;
    }

        .uc-checkbox + label:active, .uc-checkbox:checked + label:active {
            box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
        }

    .uc-checkbox:checked + label {
        background-color: #e9ecee;
        border: 1px solid #adb8c0;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
        color: #99a1a7;
    }

        .uc-checkbox:checked + label:after {
            font-family: Arial, "微軟正黑體";
            content: '\2714';
            font-size: 15px;
            position: absolute;
            top: -2px;
            left: 2px;
            color: rgba(0,0,0,0.65);
            font-weight: bold;
        }
/*沒寬度為0px*/
.zero-width {
    width: 0px;
    padding: 0px;
    margin: 0px;
    font-size: 0px;
}

/*Loading動畫*/
@-webkit-keyframes ajax-loading {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes ajax-loading {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes ajax-loading {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(360deg);
    }
}

@keyframes ajax-loading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.ajax-loading {
    width: 30px;
    height: 30px;
    border: 6px double;
    border-left-color: #7f7f7f;
    border-right-color: #7f7f7f;
    border-top-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    border-radius: 50%;
    -webkit-animation: ajax-loading 1s infinite linear;
    -moz-animation: ajax-loading 1s infinite linear;
    -o-animation: ajax-loading 1s infinite linear;
    animation: ajax-loading 1s infinite linear;
}
