﻿@charset "utf-8";
/* Omicard 2017 */

/* Color Chart
*/

/*--------------------------------------- universal (全部頁面使用)------------------------------------------*/
/*
@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);
*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);



body              { margin: 0; background: #fff; color: #111; font-size: 18px; line-height: 1.6em; height: 100%;
                    -webkit-font-smoothing: antialiased;
                    -moz-osx-font-smoothing: grayscale;
                    font-family: 'Helvetica Neue', 'Helvetica', 'PingFangTC-Light', 'Apple LiGothic Medium', 'STHeiti Light', 'Hiragino Sans GB', 'Microsoft JhengHei', sans-serif;
				}
a, 
a:visited, 
a:active, 
a:hover           { text-decoration: none; blr:expression(this.onFocus=this.blur()); cursor: pointer;}

a                 { outline: none; /* for Firefox Chrome */ behavior:expression(this.onFocus=this.blur()); /* for IE */} 
a:focus           { -moz-outline-style: none; outline: none; } /* for Firefox Chrome */

a:link            { text-decoration: none;}
a:visited         { text-decoration: none;}
a:hover           { text-decoration: none;}
select, 
input, 
button, 
textarea          { font-family: 'Helvetica Neue', 'Helvetica', 'PingFangTC-Light', 'Apple LiGothic Medium', 'STHeiti Light', 'Hiragino Sans GB', 'Microsoft JhengHei', sans-serif;}
button:focus, 
input:focus, 
select:focus, 
textarea:focus    { outline: none;}

html{
    height: 100%;
}
.clear:after{
    content: '';
    clear: both;
    display: block;
}



.wrapper{
    background-image: url("../img/wallpaper.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    overflow: auto;
    transition: all 0.3s;
}
.logo{
    width: 160px;
    position: fixed;
    left: 0;
    top: 30%;
    z-index: 2;
    text-align: center;
}
.logo a{
    width: 100%;
    height: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    display: block;
}

.content{
    background: rgba(255,255,255,0.8);
    width: 80%;
    min-height: 80%;
    max-width: 700px;
    position: relative;
    box-sizing: border-box;
    padding: 30px 50px 50px 50px;
    margin-left: 50%;
    margin-top: 80px;
    margin-bottom: 80px;
    transition: all 0.3s;
}
.banner{
    display: none;
}





h1{
	/*font-family: 'cwTeXFangSong', 'cwTeXMing', 'Noto Sans TC', 'PingFangTC-Light', 'Apple LiGothic Medium', 'STHeiti Light', 'Hiragino Sans GB', 'Microsoft JhengHei', sans-serif;*/
    font-family: 'Noto Sans TC', 'PingFangTC-Light', 'Apple LiGothic Medium', 'STHeiti Light', 'Hiragino Sans GB', 'Microsoft JhengHei', sans-serif;
	font-size: 3.5em;
	font-weight: normal;
	letter-spacing: 0.1em;
	border-bottom: 1px solid #000;
	padding: 0.2em 0;
	line-height: 1em;
	margin: 0;
}

h2{
	font-size: 1.3em;
	font-weight: normal;
}
h2 .en{
	font-family: "Georgia", "Book Antiqua", Palatino, serif;
	padding-left: 0.5em;
}



.btn{
	background-color: #304a3d;
	padding: 10px 20px;
	color: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 0;
}
.btn:hover{
	background-color: #3a634f;
}








.note{
    color: #5e8f77;
    font-size: 0.8em;
    line-height: 1.4em;
}
.note.date{
    display: block;
    margin-left: 12em;
    margin-top: 8px;
}
.checkbox-group > span{
    margin-right: 20px;
    line-height: 2em;
    display: inline-block;
}
.radio-group > span{
    margin-right: 20px;
    line-height: 2em;
    display: inline-block;
}


.form-row{
    margin-bottom: 20px;
}


.form-row .label:before{
    display: inline-block;
    content: "\25C6";
    padding-right: 10px;
    font-size: 1.2em;
}


.form-row.inline .input{
    position: relative;
}

.form-row.inline .label{
    width: 9em;
    display: inline-block;
    vertical-align: top;
}
.form-row.inline .input{
    width: 60%;
    display: inline-block;
}
.form-row.inline .input input{
    width: 100%;
}

.form-row.inline .input input.areacode{
    width: 26%;
    margin-right: 2%;
}
.form-row.inline .input input.number{
    width: 70%;
}



.form-row input[type="text"],
.form-row input[type="number"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row input[type="email"],
.form-row input[type="date"]{
    border: 0;
    border-bottom: 1px solid #3f7158;
    box-sizing: border-box;
    padding: 5px;
    transition: all 0.2s;
    background-color: transparent;
    border-radius: 0;
}
.form-row input[type="text"]:hover,
.form-row input[type="number"]:hover,
.form-row input[type="tel"]:hover,
.form-row input[type="password"]:hover,
.form-row input[type="email"]:hover,
.form-row input[type="date"]:hover{
    border-color: #002d00;
}
.form-row input[type="text"]:focus,
.form-row input[type="number"]:focus,
.form-row input[type="tel"]:focus,
.form-row input[type="password"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="date"]:focus{
    border-color: #002d00;
}
.form-row input[type="date"]{
    min-height: 2em;
}


.no-inputtypes .html5date{ background-color: red; }
.inputtypes .html5date{ background-color: green; }






.form-row textarea{
    border: 0;
    border: 1px solid #6c846a;
    box-sizing: border-box;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.2s;
    background-color: transparent;
    width: 90%;
    border-radius: 3px;
    margin-top: 5px;
}




input[type="checkbox"] {
    display:none;
}
input[type="checkbox"] + label{
    cursor: pointer;
    color: #626262;
}
input[type="checkbox"]:hover + label{
    color: #002d00;
}
input[type="checkbox"] + label i {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin: -3px 6px 0 0;
    vertical-align: middle;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #304a3d;
    border-radius: 1px;
    transition: all 0.3s;
    background-size: 200%;
    background-position: center center;
}
input[type="checkbox"]:checked + label{
    color: #002d00;
}
input[type="checkbox"]:checked + label i {
    background: url("../img/icon-checked-light.png") center center no-repeat;
    background-size: 100%;
    background-color: #304a3d;
    border-color: #304a3d;
}
input[type="checkbox"]:disabled + label i {
    background-color: #ccc;
    border-color: #aaa;
    cursor: default;
}



input[type="radio"] {
    display:none;
}
input[type="radio"] + label{
    cursor: pointer;
    color: #626262;
}
input[type="radio"]:hover + label{
    color: #002d00;
}
input[type="radio"] + label i {
    display: inline-block;
    width: 17px;
    height: 17px;
    vertical-align: middle;
    cursor: pointer;
    background-color: #eee;
    border: 1px solid #304a3d;
    border-radius: 1px;
    transition: all 0.2s;
    box-shadow: 0px 0px 0px 2px transparent inset;
}
input[type="radio"]:disabled + label i {
    background-color: #ccc;
    border-color: #aaa;
    cursor: default;
}
input[type="radio"]:checked + label{
    color: #002d00;
}
input[type="radio"]:checked + label i {
    background-color: #304a3d;
    box-shadow: 0px 0px 0px 2px #fff inset;
}


.radio-group input[type="radio"] + label i {
    margin: -3px 6px 0 0;
}



textarea,
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="password"] {
    background-clip: padding-box; /*remove iOS input shadow*/
}




/* select */

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 60%;
    vertical-align: middle;
}
.custom-select-wrapper.full {
    width: 100%;
}
.custom-select-wrapper:after {
    content: "\0276F";
    transform: rotate(90deg);
    position: absolute; 
    right: 12px; 
    top: 18%;
    z-index: 1;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;   
    color: #6c846a;
}


.custom-select {
    /*max-width: 500px;*/
    width: 100%;
    background: transparent;
    padding: 8px 35px 8px 10px;
    border-radius: 3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #6c846a;
    box-sizing: border-box;
    color: #72848c;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
    font-size: 0.9em;
}
.custom-select:hover{
    border-color: #929292;
}



/*選擇國家區碼*/
.intl-tel-input .country-list .country-name {
    font-size: 0.8em;
    color: #555;
}
.intl-tel-input .country-list .country .dial-code {
    color: #999;
    font-size: 0.8em;
}
.intl-tel-input {
    display: block;
}
.intl-tel-input.separate-dial-code .selected-flag {
    background-color: transparent;
}
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .selected-flag {
    width: 75px; 
}
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .selected-flag {
    width: 83px;
}
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag {
    width: 93px; 
}
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 .selected-flag {
    width: 100px;
}



.back-to-top{
    position: fixed;
    right: 25px;
    bottom: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: rgba(0,0,0,0.2);
    display: block;
    color: #fff;
    font-size: 1.3em;
    text-align: center;
    line-height: 50px;
    transition: all 0.2s;
}
.back-to-top:hover{
    background-color: rgba(0,0,0,0.5);
}
.back-to-top span{
    transform: scale(1, 0.8);
    display: block;
}


.alert{
    color: #d72828;
    font-size: 0.85em;
    background-color: rgba(229,67,67,0.15);
    border: 1px solid rgba(229,67,67,0.2);
    border-radius: 3px;
    padding: 2px 10px;
    margin-top: 5px;
}











/* appointment */

.appointment .intro{
    line-height: 2em;
    margin-top: 3em;
}
.appointment .form-wrapper .text{
    font-size: 0.9em;
}

.appointment .start{
    display: block;
    margin: 0 auto;
    width: 120px;
    margin-top: 80px;
}

.appointment .form-apply{
    margin-top: 50px;
}
.appointment .form-apply .submit{
    display: block;
    margin: 0 auto;
    width: 120px;
    margin-top: 20px;
}




/* appointment done */

.done .links{
    text-align: center;
    margin-top: 20px;
    min-height: 100px;
    display: none; /*先全部隱藏 偵測agent後再選擇顯示項目*/
}
.done .links a.link{
    background-color: #304a3d;
    padding: 10px 20px;
    color: #fff;
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
    text-align: center;
    border: none;
    cursor: pointer;
    margin: 0 10px 20px 10px;
    vertical-align: middle;
}
.done .links a.link:hover{
    background-color: #3a634f;
}

.done .links a.fb{
    background-color: #415897;
    background-image: url("../img/fb.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50px;
    width: 50px;
    display: inline-block;
    color: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
    text-align: center;
    border: none;
    cursor: pointer;
    margin: 0 10px 20px 10px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
}
.done .links a.fb:hover{
    background-color: #4968bc;
}




.done .gifts{
    text-align: center;
    margin-top: 50px;
}
.done .gifts h2{
    position: relative;
}
.done .gifts h2:before{
    content: '';
    display: block;
    width: 15%;
    height: 1px;
    background-color: #959595;
    position: absolute;
    left: 20%;
    top: 50%;
}
.done .gifts h2:after{
    content: '';
    display: block;
    width: 15%;
    height: 1px;
    background-color: #959595;
    position: absolute;
    right: 20%;
    top: 50%;
}
.done .gifts h2 .en{
    display: block;
    text-transform: uppercase;
    font-size: 0.7em;
    padding-left: 0;
}

.done .gifts .giftset{
    background-color: #fff;
}
.done .gifts .giftset:after{
    content: '';
    display: block;
    clear: both;
    margin-bottom: 30px;
}
.done .gifts .giftset .item{
    width: 50%;
    float: left;
    margin-bottom: 30px;
}
.done .gifts .giftset .item:nth-child(2n+1){
    clear: both;
}
.done .gifts .giftset .item .name{
    color: #004b00;
    font-size: 0.9em;
    background: url("../img/decor.png") center bottom no-repeat;
    background-size: 40%;
    padding-bottom: 20px;
    display: block;
    line-height: 1.2em;
}



.done .gifts .giftset img{
    max-width: 100%;
}


.fb-plugin{
    margin: 0 auto;
    width: 320px;
}




/* survey */
.form-survey{
    margin-top: 50px;
}

.poll{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}
.poll .head th{
    border-bottom: 1px solid #6c846a;
    padding-bottom: 5px;
    line-height: 1.2em;
}
.poll .body td{
    padding-top: 15px;
}
.poll .body th{
    padding-top: 15px;
    line-height: 1.2em;
}
.poll th{
    font-weight: normal;
}
.poll td{
    text-align: center;
    width: 18%;
}
.poll th:first-child{
    width: 10%;
    text-align: left;
}
.poll br{
    display: none;
}

.poll-mobile{
    display: none;
}

.poll-mobile .label:before{
    content: "\0270E";
    padding-right: 10px;
    font-size: 1.2em;
    margin-top: 15px;
}



.form-survey .submit{
    display: block;
    margin: 0 auto;
    width: 120px;
    margin-top: 40px;
}
















@media screen and (max-width: 1450px) {
.content{
    margin-left: 35%;
}
}
@media screen and (max-width: 1300px) {
.wrapper{
    background-position: left center;
}
}
@media screen and (max-width: 1100px) {
.content{
    margin-left: 18%;
}
}
@media screen and (max-width: 768px) {
.wrapper{
    height: auto;
    width: auto;
    background: none;
    background-size: 0%; /*隱藏寫在頁面上的背景圖*/
}
.logo{
    background-color: #304a3d;
    background-image: url("../img/logo-mobile.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 45px;
    border-top: 5px solid #304a3d;
    border-bottom: 5px solid #304a3d;
    position: fixed;
    left: 0;
    top: 0;
    margin-top: 0;
}
.logo a{
    background-size: 100%;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
.banner{
    display: block;
    margin-top: 45px;
}
.banner img{
    width: 100%;
    display: block;
}
.content{
    background: #fff;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 20px 40px 20px;
}
h2{
	font-size: 1em;
}
h2 .en{
	padding-left: 0.2em;
}
.appointment .start{
	width: 100px;
	padding: 10px;
	margin-top: 0;
	position: absolute;
	right: 20px;
	top: 35px;
}
}



@media screen and (max-width: 450px) {
h1{
	font-size: 2em;
	padding-bottom: 0.4em;
}
.checkbox-group > span{
    min-width: 40%;
    margin-bottom: 10px;
}
.radio-group > span{
    min-width: 40%;
    margin-bottom: 10px;
}
.appointment .intro{
    margin-top: 0em;
}
.appointment .start{
	top: 15px;
}
.form-row.inline .label{
    width: 100%;
    margin-bottom: 8px;
}
.form-row.inline .input{
    width: 100%;
}
.form-row input[type="text"],
.form-row input[type="number"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="date"]{
    border: 1px solid #6c846a;
    border-radius: 3px;
    padding: 8px;
}
.form-row input[type="text"]:hover,
.form-row input[type="number"]:hover,
.form-row input[type="tel"]:hover,
.form-row input[type="password"]:hover,
.form-row input[type="email"]:hover,
.form-row input[type="date"]:hover{
    border-color: #002d00;
}
.form-row input[type="text"]:focus,
.form-row input[type="number"]:focus,
.form-row input[type="tel"]:focus,
.form-row input[type="password"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="date"]:focus{
    border-color: #002d00;
}
.custom-select-wrapper {
    width: 100%;
}
.back-to-top{
    width: 50px;
    height: 50px;
    line-height: 50px;
    right: 15px;
    font-size: 1em;
}
.note.date{
    margin-left: 0;
}
.form-row textarea{
    width: 100%;
}

.done .gifts h2{
    font-size: 1.2em;
}
.done .gifts h2:before{
    width: 25%;
    left: 0%;
}
.done .gifts h2:after{
    width: 25%;
    right: 0%;
}
.done .links a.link{
    margin: 0 5px 20px 5px;
}
.done .links a.fb{
    margin: 0 5px 20px 5px;
}
.done .gifts .giftset .item{
    width: 100%;
}
.poll{
    display: none;
}
.poll-mobile{
    display: block;
}
.poll th{
    font-size: 0.9em;
}
.poll br{
    display: block;
}
}


