﻿        html {
          position: relative;
          min-height: 100%;
          width: 100%;
        }        
        body
        {   margin:0; padding:0;
            font-family:   Arial, Verdana, Helvetica, 微軟正黑體, 新細明體;
            font-size:16px; line-height:1.8; letter-spacing: 0.08em;
            color:#555;
            width: 100%;
            background:#fff254 url('images/index_bgd.jpg') repeat-x;
            overflow-x: hidden;
        }

A:visited{color: #0066ff; text-decoration: none}
A:active{color: #0066ff}
A:hover {color: #dd0000;text-decoration: underline}
A:link{color: #0066ff; text-decoration: none}

.huge { font-size: 2.2em; text-align:left; letter-spacing:0}
.middle3 {font-size: 1em; text-align:right}
.text-black {color:#000}
.text-white {color:#fff}
.bold {font-weight:800;letter-spacing:0.06em}
.br   {padding-top:1em; clear:both}
.br2x {padding-top:2em}
.br4x {padding-top:4em}
.br6x {padding-top:6em}
.br8x {padding-top:8em}
.shadow {text-shadow:1px 1px 1px rgba(0,0,0,0.2)}
.shadow2 {text-shadow:1px 1px 2px rgba(0,0,0,0.1)}
.shadow3 {box-shadow:2px 2px 8px 3px rgba(38,38,38,0.2)}

/*--define bootstrap 5 columns--*/ 
.col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5 { position: relative; min-height: 1px; padding-right: 0.5em; padding-left: 0.5em; }  
.col-xs-1-5 { width: 20%; float: left; }  
@media (min-width: 768px) { .col-sm-1-5 { width: 19.5%; float: left; }} 
@media (min-width: 992px) { .col-md-1-5 { width: 19.5%; float: left; } } 
@media (min-width: 1200px) { .col-lg-1-5 { width: 19.5%; float: left; } }        
/*--/define bootstrap 5 columns--*/ 


        #index_bgd  {width:100%; position:absolute; z-index:0;}
        #index_bgd2  {width:100%; position:absolute; z-index:1;}
        #index_bgd3  {width:100%; height:100%;  position:fixed; z-index:2;  background:url(images/2p.jpg) bottom right no-repeat}
        #index_bgd4  {width:25%; position:fixed;  z-index:5; top:53% }
        
        #index_page {width:98%; position:absolute; z-index:4; margin:8% 1% 0 1%}
        .story_box {background-color:rgba(255,255,255,0.80); border:dashed 2px #555; border-radius:8px; padding:3% 5%;  margin:1em auto 2em auto; max-width:1100px; text-align:left; font-size:1.15em; line-height:1.8;box-shadow:2px 2px 6px 2px rgba(38,38,38,0.1)}
        .color  { color:#2562ff;font-weight:800; font-size:larger; letter-spacing:0.1em; padding-right:0.2em}
        .top_t  { color:#333} 
        .tip { float:left; padding:0 1em 0.8em 0;}
        .tip img { margin-top:-5.5em;}
        #footer  {
            position:relative; bottom: 0;
            left:50%;margin-left:-50%;/*for IE*/
            color:#fe7fcb;
            letter-spacing:0.08em; line-height:1.6;
            clear:both;
            text-align:center;
        }
        .copyright { margin:0.5em auto; color:#333; text-align:center;font-size: 0.65em; }        
        #girl {float: left; z-index: 100; position:fixed; top: 47%; left:39%}
        .girl {max-width:141px}
        #boy  {float: right; z-index: 200; position:fixed; top: 65%; right:0; padding-right:2.5%}
        .boy  {max-width:193px}        
        
        
        
        @media (min-width: 1280px) and (max-width: 1680px) {
                #index_page { margin-top:12% }
                #index_bgd4 { width:18%;top:80%}
        }
        @media (min-width: 768px) and (max-width: 1279px) {
                #index_page { margin-top:15% }
                #index_bgd4 { width:15%;top:85%}
        }
        @media (max-width: 767px) {
                .logo{ padding-top:68%; text-align:center; position:absolute; z-index:99; left:50%; margin-left:-50%;}
                #index_page { margin-top:15%}
                .tip img { margin-top:-1.5em; max-width:6em}
                .copyright { bottom:0}
        }
        @media(min-width:767px) {
            .no_br br { display:none}
        }        
        

        /*---animate---*/
        @-webkit-keyframes move_slide {
          from  {-webkit-transform: none;transform: none;}
          to    {-webkit-transform: translateX(100%);transform: translateX(100%);}
        }
        @keyframes move_slide {
          from  {-webkit-transform: none;transform: none;}
          to    {-webkit-transform: translateX(100%);transform: translateX(100%);}
        }
        .move_slide {
            -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
            -webkit-animation-name: move_slide;
            animation-name: move_slide;
            animation-duration: 30s;	
            -webkit-animation-duration: 30s;
        }
        @-webkit-keyframes move_slide2 {
          from  {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
          to    {-webkit-transform: none;transform: none;}
        }

        @keyframes move_slide2 {
          from  {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
          to    {-webkit-transform: none;transform: none;}
        }
        .move_slide2 {
            -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
            -webkit-animation-name: move_slide2;
            animation-name: move_slide2;
            animation-duration: 30s;	
            -webkit-animation-duration: 30s;
        }
        
        .pulse2{
	        animation-name: pulse2;
	        -webkit-animation-name: pulse2;	

	        animation-duration: 5s;	
	        -webkit-animation-duration: 5s;

	        animation-iteration-count: infinite;
	        -webkit-animation-iteration-count: infinite;
        }

        @keyframes pulse2 {
	        0% {
		        transform: scale(1);
		        opacity: 1;		
	        }
	        50% {
		        transform: scale(0.95);
		        opacity: 1;	
	        }	
	        100% {
		        transform: scale(1);
		        opacity: 1;	
	        }			
        }

        @-webkit-keyframes pulse2 {
	        0% {
		        -webkit-transform: scale(1);
		        opacity: 1;		
	        }
	        50% {
		        -webkit-transform: scale(0.95);
		        opacity: 1;	
	        }	
	        100% {
		        -webkit-transform: scale(1);
		        opacity: 1;	
	        }			
        }         
        /*---/animate---*/



