@import url("all.css");

/* Basic */

body {
    background: #fff;
    font-family: Helvetica,Arial,"文泉驛正黑","WenQuanYi Zen Hei","儷黑 Pro","LiHei Pro","微軟正黑體","Microsoft JhengHei","新細明體",PMingLiU;
    font-size: 16pt;
    line-height: 1.75em;
    color: #333;
}

.header-wls {
    width: 100%;
    max-width: 100%;
    min-width: 375px;
    position: fixed;
    top: 0;
    background: #ffffff;
    box-shadow: #999 0 0px 1px;
    z-index: 10001;
    margin-right: 1em;
}

.bar {
    display: flex;
    height: .5em;
}

.bar-g {
    flex: 7;
    background: #898989;
}

.bar-r {
    background: #c70008;
    flex: 3;
}

.logo {
    max-width: 1200px;
    margin: .5em auto;
    display: flex;
}

.logo div:first-child {
    flex: 1;
}

.logo-nav {
    text-align: right;
    flex: 4;
    margin-bottom: 0;
}

.logo-nav li {
    display: inline-block;
    margin: .5em .3em;
    border-right:2px dotted #333;
    padding-right:.6em;
}

.logo-nav li a.active {
   color: #cc0000;
    font-weight: bold;
}

.logo-nav li a:hover {
    color: #cc0000;
    font-weight: bold;
}
 .logo-nav li.active a {
	color: #cc0000;
	font-weight: bold;
}
.center {
    text-align: center;
}
/* Header */

#header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    color: #fff;
    height: 100%;
    right: 0;
    overflow-y: auto;
    position: fixed;
    text-align: right;
    top: 0;
}

#header .top {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
}

#header .bottom {
    -moz-flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    padding: 1.5em 0 0.75em 0;
}

#header .bottom > :last-child {
    margin-bottom: 0;
}

#header .icons {
    font-size: 0.8em;
    text-align: center;
}

#header .icons a {
    color: #41484c;
    -moz-transition: color 0.35s ease-in-out;
    -webkit-transition: color 0.35s ease-in-out;
    -ms-transition: color 0.35s ease-in-out;
    transition: color 0.35s ease-in-out;
}

#header .icons a:hover {
    color: #fff;
}


#nav {
    display: none;
}

#nav ul {
    margin: 20em .6em 0 .6em;
}

#nav ul li a {
    display: block;
    text-decoration: none;
    outline: 0;
    border: 0;
    -moz-transition: none;
    -webkit-transition: none;
    -ms-transition: none;
   
}

#nav ul li a span {
    position: relative;
    display: block;
    font-size: 0.7em;
}

#nav ul li a span:before {
    position: absolute;
    left: 0;
    color: #FFF;
    text-align: center;
    width: 1.5em;
}

#nav ul li a.active {
    color: #e27689;
}

#nav ul li a.active span:before {
}
/* Footer */

#footer {
    text-align: center;
    color: #fff;
    background-color: #888;
    padding: 2em;
    font-size: 0.8em;
}

#footer .copyright {
    cursor: default;
    margin: 0;
}

#footer .copyright li {
    display: inline-block;
    line-height: 1em;
    border-left: solid 1px rgba(128, 128, 128, 0.35);
    padding: 0 0 0 0.5em;
    margin: 0 0 0 0.5em;
}

#footer .copyright li:first-child {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
}

/* Main */
#main .logo {
    position: absolute;
    z-index: 10001;
    margin: 2em 0 0 2em;
}

#main .logo img {
    width: 80%;
}


#main h2 {
    color: #cc0000;
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 0.2em;
}


#main h3 {
    color: #333333;
    font-weight: 600;
    font-size: 1.2em;
}

#main h3 span {
   border:1px solid #26337f;
   padding:.2em .5em;
   border-radius:.2em;
}

#main h4 {
   color: #333333;
   font-weight:600;
}

#menu {
    background: #950d1a;
    line-height: 58px;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    position: absolute;
    width: 100%;
    display: block;
    font-size: 1.2em;
}

#menu_content {
    width: 1000px;
    margin: 0 auto;
    margin-top: -50px;
    margin-bottom: 10px;
}

#menu_content li {
    float: left;
    padding: 0 2em;
    margin-right: 2px;
    line-height: 58px;
}

#menu_content li a.active {
    float: left;
    line-height: 58px;
    margin-right: 2px;
    color: #ffd731;
    font-weight: bold;
}

#menu_content li a:hover {
    float: left;
    color: #ffc8c2;
    font-weight: bold;
}

#main .container {
    margin-top: 50px;
}

#main > section {
    margin: 0;
    overflow: hidden;
    padding: .5em 0;
    text-align: center;
}

#main > section p {
    margin: 0;
    padding-bottom: -.5em;
   
}

#main > section.dark {
    margin-top:4em;
}

#main > section.dark h2, #main > section.dark h3, #main > section.dark h4, #main > section.dark h5, #main > section.dark h6 {
    color: inherit;
}

#main > section.dark strong {
    color: #fff;
    border-color: inherit;
}

#main > section.dark a {
    color: #fff;
    border-color: inherit;
}

#main > section.dark a:hover {
    border-bottom-color: rgba(255, 255, 255, 0);
}

#main > section .icon {
    width: 8%;
}

#main > section.cover {
    padding: 6em 0;
    background-size: cover;
    background-position: center center;
}

#main > section.one {
    padding: 0;
    position: relative;
}


#main > section.one img {
    max-width: 100%;
    height: auto;
}
#main > section.two {
    margin-bottom:2em;
}
/*--- Back To Top---*/

#back-top {
	position: fixed;
	bottom: 1em;
	right: 1em;
	z-index: 999;
    width:3em;
    height:3em;
    background: #cc0000;
    border-radius:10em;
    line-height:3em;
    text-align:center;
}
#back-top a{
	display: block;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top  a:hover {
	color: #fff;
}
/*主視覺*/
 .mobile-marster {
    display: none;
    }


/*活動內容*/
#main > section#content .container {
    width: 100%;
    margin-bottom: 3em;
    max-width: 1200px;
}

#main > section#content .container p {
    padding: 5px 5px;
    clear: both;
    /*margin: .5em auto;*/
    color: #2F2F2F;
    max-width: 1200px;
    text-align: center;
}

#main > section#content .container span {
    text-align: left;
}

#main > #contact h2 {
    text-align: center;
}

.btn {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 3em;
}
.btn a {
    background: #cc0000;
    color: #fff;
    border-radius: 10em;
    padding: .5em 2em;
    font-weight: 600;
}

.contact-list {
    display: flex;
}

.contact-list div:first-child {
    padding-top: 0.3em;
    padding-right: 0.3em;
    font-size: 4em;
    margin: 0  0.3em;
    color: #666;
    border-right: 2px dotted #333;
}
.contact-list div:last-child {
    min-height: 6em;
    text-align:left;
}
/*宣導*/
.video iframe{
		width:100%;
	}
	a.group1{
		position: absolute;
		z-index: 10;
		right: .5em;
		bottom:1em;
	}
	.img img{
		border: 1px solid #999;
		width:100%;
	}	
	.img {
		position:relative;
	}
	
	.img .zoom{
		font-size: 1.2em;
		display: block;
		width: 2em;
		line-height: 2em;		
		background: #333;
		color: #fff;
		border-radius: 100em;
	}

	.title1{
		margin: .5em auto;
		
		font-weight: bold;
		line-height: 1.2em;
		height: 2em;
	}
	.title2{
		font-size: .8em;
		font-weight: bold;
		background: #999;
		color: #fff;
		border-radius: 10em;
		padding: .2em 1em;
	}
	.link{
		font-weight: bold;
		background: #cc0000;
		color: #fff;
		border-radius: 10em;
		padding: .5em 1em;
		
	}

/*qa*/
#main #qa ol {
    text-align: left;
}
#main #qa li {
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
#main #qa ol li div:first-child::before {
    content: "Q：";
}
#main #qa ol li div:first-child {
    color: #2a4978;
    font-weight: 600;
}
.hide {
            display: none;
        }
/*tabs */
#tabs {
    display: flex;
    width: 100%;
    margin-bottom: 2em;
}
#tabs > [data-type].active {
    color: #fff;
    background-color: #243552;
}
#tabs > [data-type] {
    color: #fff;
    background-color: #a5a5a5;
    cursor: pointer;
}
#tabs > div {
    padding: 0 2em;
    margin: 0 1px;
    flex-direction: row;
    flex: 1;
}



@media screen and (min-width: 961px) and (max-width: 1880px) {

    /* Basic */

    body, input, textarea, select {
        font-size: 17pt;
    }

    #nav {
        display: none;
    }
    /* Header */

    #header {
        /* width: 150px; */
    }

    /* Footer */

    #footer {
        /* margin-left: 150px; */
    }

    /* Main */

    #main {
        /* margin-left: 150px; */
    }

    container {
        padding: 0;
    }

    #main > section {
        padding-top: 1.5em;
    }

    #main .container {
        margin-top: 10px;
    }
}

/* Normal */

@media screen and (min-width: 961px) and (max-width: 1620px) {

    /* Main */

    #main > section {
        padding: 1.5em 0;
    }

    #main section.cover {
        padding: 5em 0;
    }
}

/* Narrow */

@media screen and (min-width: 961px) and (max-width: 1320px) {

    /* Basic */

    body, input, textarea, select {
        font-size: 16pt;
    }



    /* List */

    ul.icons li a {
        width: 1.75em;
    }

    /* Item */

    .item {
        margin-bottom: 20px;
    }

    /* Header */




    /* Footer */

    #footer {
        /* margin-left: 20%; */
    }

    /* Main */

    #main {
        /* margin-left: 20%; */
    }
}

/* Narrower */
#headerToggle {
    display: none;
}
/*--------NAV斷點---------*/
@media screen and (max-width: 1280px) {

    /* Basic */

    html, body {
        overflow-x: hidden;
    }

    body, input, textarea, select {
        font-size: 16pt;
    }

    header br {
        display: none;
    }



    /* Item */

    .item {
        margin-bottom: 15px;
    }

    /* List */

    ul.icons a {
        width: 1.75em;
        font-size: 1.25em;
    }

    /* Header */

    #header {
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transform: translateX(200px);
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    transform: translateX(200px);
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    -webkit-overflow-scrolling: touch;
    display: block;
    height: 100%;
    right: 0;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 200px;
    z-index: 10002;
    background: #222729;
        box-shadow: inset -0.25em 0 0.25em 0 rgba(0, 0, 0, 0.125);
    }

    #header .top {
        position: relative;
    }

    #header .bottom {
        border-top: solid 1px rgba(255, 255, 255, 0.05);
        box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.15);
        padding-top: 2em;
        margin-top: 2em;
        position: relative;
    }

    #headerToggle {
        display: none;
    }

    #main .container {
        margin-top: 2px;
    }

    #menu {
        display: none;
    }


    /* Footer */

    #footer {
        margin-left: 0;
    }

    /* Main */

    #main {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
        margin-left: 0;
    }

    #main .logo {
        margin: 1em 0 0 1em;
    }

    #main .logo img {
        width: 50%;
    }
    /*#top{
			background-size: cover;
			height: 50vh;
			max-height: 500px;
			min-height: 400px;
            background: url(../images/banner-s.png) no-repeat top center;
padding-top: 50px;
		}*/

    #main > section {
        padding: 0.5em 0;
    }

    #main section.cover {
        padding: 4em 0;
    }
        .gift-title {
    width:40%;
    }
}


/* nav出現 */

@media screen and (max-width: 961px) {
    #nav {
        display: block;
    }

        #nav ul {
            margin: 1em 0 0 0;
        }

        #nav ul li a {
            font-size: 1.5em;
            padding: 0.5em 1.25em 0.5em 1.25em;
        }

    .logo-nav li {
        display: none;
    }
    .logo {
        margin-left:.5em;
    }
    #headerToggle {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        position: fixed;
        top: 1.5em;
        right: .5em;
        width: 2em;
        height: 2em;
        z-index: 10002;
        background: #888;
        border-radius:.3em;
       
    }

    #headerToggle .toggle {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        outline: 0;
        border: 0;
    }

    #headerToggle .toggle:before,
    #headerToggle .toggle:after {
        content: "";
        display: block;
        width: 70%;
        margin: 0 auto;
        height: 8px;
        -ms-transition: all .35s ease-in;
        -moz-transition: all .35s ease-in;
        -webkit-transition: all .35s ease-in;
        transition: all .35s ease-in;
    }


    #headerToggle .toggle:before {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        margin-top: 12px;
    }

    #headerToggle .toggle:after {
        border-bottom: 1px solid #fff;
    }

    body.header-visible #main {
        -moz-transform: translateX(-200px);
        -webkit-transform: translateX(-200px);
        -ms-transform: translateX(-200px);
        transform: translateX(-200px);
    }

    body.header-visible #headerToggle {
        -moz-transform: translateX(-200px);
        -webkit-transform: translateX(-200px);
        -ms-transform: translateX(-200px);
        transform: translateX(-200px);
    }

    body.header-visible #headerToggle .toggle:before,
    body.header-visible #headerToggle .toggle:after {
        border: 0;
        height: 1px;
        width: 60%;
        background: #fff;
        margin: 0 auto;
    }

    body.header-visible #headerToggle .toggle:before {
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: 18px;
    }

    body.header-visible #headerToggle .toggle:after {
        -moz-transform: rotate(225deg);
        -webkit-transform: rotate(225deg);
        -ms-transform: rotate(225deg);
        transform: rotate(-225deg);
        margin-top: 0;
    }

    body.header-visible #header {
        -moz-transform: translateX(0);#TOP
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

/* Mobile */

@media screen and (max-width: 736px) {

    /* Basic */

    body, input, textarea, select {
    font-size: 14pt;
    }

    h2 {
    margin-bottom: 0.2em;
    padding-bottom: 0.2em;
    }

    .container {
    padding: 0 15px 0 15px;
    }

    /* List */

    ul.icons a {
    width: 3em;
    font-size: 1.25em;
    }

    /* Main */

    /*#top {
    background: url(/Activity/20181105PassBook2/images/master_s.png) no-repeat center;
    height: 270px;
    max-height: 280px;
    background-size:cover;
    }*/
    #main > section {
        padding: 0.3em 0;
    }

    #main section.cover {
        padding: 2em 0em;
    }

    #main section.cover header {
        padding: 0 1em;
    }
    #main header {
    margin: 0;
    }
    #main .container p {
        margin: 0;
    }
    .title1 {
        height: auto;
    }

    #tabs {font-size:.9em;}
    #tabs > div {padding:0;
        }
     .group1{
			display: none;
		}


    /* Footer */
    #footer .copyright li {
        display: block;
        line-height: 1.25em;
        border: 0;
        padding: 0;
        margin: 1em 0 0 0;
    }

    #footer .copyright li:first-child {
        margin-top: 0;
    }
 
}  


@media screen and (max-width:320px) {
    /* Main */
    #top {
    height: 240px;
    max-height: 240px;
    background-size: cover;
    }
   
    #main > section .icon {
        width: 20%;
    }

    #main > section#Process {
        margin-bottom:1em;
    }
     .gift-img{
        width:50%;
    }
}
/*判斷網頁平台*/
.isMobile .four footer {
    display: none;
}

@media screen and (max-width:1200px) {
    .flex-box {
        flex-direction: column;
    }
    .flex-box > div {
        flex: none;
    }
.pc-marster {
    display: none;

}
    .mobile-marster {
    display: block;
    }

}
