﻿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:#333;
    width: 100%;
    background-color:#a2c3e4;
}
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}

        #index_bgd  {width:100%; height:100%; position:absolute; z-index:0; background:#a2c3e4 url('images/bgd.jpg') no-repeat; background-size:100%}
        #index_page {width:100%; position:absolute; z-index:1;}
        #page       {width:100%; position:relative; z-index:3; max-width:1024px; margin:0 auto;}
        #page h1 ,#page h2 ,#page h3 ,#page h4 ,#page h5 { line-height:1.8}
        
        .container2 { width:100%; margin:0 auto; max-width:1180px; position:relative}
        .container2 .col-sm-1-5 {  min-height:150px; text-align:center; color:#fff; padding:3% 0; margin:2px} 
        .container2 h1 { font-weight:800}        
        .container2 A:visited{color: #fff; text-decoration: none}
        .container2 A:active{color: #fff; text-decoration: none}
        .container2 A:hover {color: #fff000; font-size:larger; text-decoration: none}
        .container2 A:link{color: #fff; text-decoration: none}
        .container2 .color_block{border: solid 2px rgba(255,255,255,0.3); background-color:rgba(0,0,0,0.3)}     
        .logo { max-width:650px; width:100%; margin:0 auto; padding-top:2.5em}
        
        .story_box {background-color:rgba(255,255,255,0.7); border:solid 1px #aaa; border-radius:8px; padding:3% 6%; text-align:left; margin-top:-3em; font-size:1.1em}
        .story { font-size:0.85em; line-height:1.8; text-align:left;padding-top:1.5em; color:#555}

        #floor {float:none; z-index: 2; position:fixed; bottom:0}
        #footer  {
            position:relative; bottom: 0;
            left:50%;margin-left:-50%;/*for IE*/
            color:#555;
            letter-spacing:0.08em; line-height:1.6;
            clear:both;
            text-align:center;
        }
        .copyright { margin:0.5em auto; color:#555; text-align:center;font-size: 0.65em; }
        hr{ border: 0;color:#ddd;background-color: #ddd;height: 1px;}

.color { color:#1a91d7;font-weight:800; font-size:larger}
.color2 { color:#e145c5;font-weight:800; font-size:larger}
.huge { font-size: 1.8em; text-align:left; letter-spacing:0}
.middle3 {font-size: 1em;}
.main_content  { padding-top:4em}
.text-black {color:#000}
.text-white {color:#fff}
.bold {font-weight:800;letter-spacing:0.06em}
.br   {padding-top:0.5em; 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 1px rgba(0,0,0,0.1)}
.shadow3 {box-shadow:2px 2px 8px 3px rgba(38,38,38,0.2)}



/*-- effect for nav --*/
.cl-effect-1 a::before,
.cl-effect-1 a::after {
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s;
}
.cl-effect-1 a::before {
    margin-right: 10px;
    content: '[';
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    transform: translateX(20px);
}
.cl-effect-1 a::after {
    margin-left: 10px;
    content: ']';
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    transform: translateX(-20px);
}
.cl-effect-1 a:hover::before,
.cl-effect-1 a:hover::after,
.cl-effect-1 a:focus::before,
.cl-effect-1 a:focus::after {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
}
/*-- //effect --*/  

/*--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--*/ 



        /*          
        ==============================================
        pulse
        ==============================================
        */

        .pulse{
	        animation-name: pulse;
	        -webkit-animation-name: pulse;	

	        animation-duration: 10s;	
	        -webkit-animation-duration: 10s;

	        animation-iteration-count: infinite;
	        -webkit-animation-iteration-count: infinite;
        }

        @keyframes pulse {
	        0% {
		        transform: translateY(-8%) scale(0.85);
		        opacity: 1;		
	        }
	        50% {
		        transform: translateY(-5%) scale(1);
		        opacity: 1;	
	        }	
	        100% {
		        transform: translateY(-8%) scale(0.85);
		        opacity: 1;	
	        }			
        }

        @-webkit-keyframes pulse {
	        0% {
		        -webkit-transform: translateY(-8%) scale(0.9);
		        opacity: 1;		
	        }
	        50% {
		        -webkit-transform: translateY(-5%) scale(1);
		        opacity: 1;	
	        }	
	        100% {
		        -webkit-transform:  translateY(-8%) scale(0.9);
		        opacity: 1;	
	        }			
        }


        .pulse2{
	        animation-name: pulse2;
	        -webkit-animation-name: pulse2;	

	        animation-duration: 10s;	
	        -webkit-animation-duration: 10s;

	        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;	
	        }			
        }                    

/*
==============================================
tossing
==============================================
*/

.tossing{
	animation-name: tossing;
	-webkit-animation-name: tossing;	

	animation-duration: 5.5s;	
	-webkit-animation-duration: 5.5s;

	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes tossing {
	0% {
		transform: rotate(-1deg);	
	}
	50% {
		transform: rotate(1deg);
	}
	100% {
		transform: rotate(-1deg);	
	}						
}

@-webkit-keyframes tossing {
	0% {
		-webkit-transform: rotate(-1deg);	
	}
	50% {
		-webkit-transform: rotate(1deg);
	}
	100% {
		-webkit-transform: rotate(-1deg);	
	}				
}

/*
@media(min-width:768px) {
    .no_br br { display:none}
    .mainTag { display:none}
}

@media (max-width: 767px) {
    #index_bgd  {background-size:200%; background-position:50% top}
    .story_box { margin:-1.68em 0.5em 0 0.5em; padding:4% 3%}
    .ceiling { padding-top:50px}
    .logo{ padding:45px 0 0 0; text-align:center;}
    .copyright { bottom:0}
    .main_content  { padding-top:0}
    .huge { font-size: 1.5em; text-align:left; letter-spacing:0; line-height:1.2}
    .color h1 { font-size: 1.25em}
    .tip { margin:0 auto; text-align:center; width:30%}
} 


/*----左右兩邊葉子位置----*/
#girl {float: left; z-index: 200; position:fixed; top: 0%; left:0}
.girl {max-width:800px; margin:50% 0 0 -20%}
#boy  {float: right; z-index: 300; position:fixed; top: 5%; right:0;}
.boy  {max-width:550px}        
@media (max-width: 1680px){.girl,.boy{ width:90%} #girl{ margin-left:0} #boy{ top:0% ; margin-right:-5%}  }
@media (max-width: 1480px){.girl,.boy{ width:80%} #girl{ margin-left:-5%} #boy{ top:5%; margin-right:-10%} }
@media (max-width: 1380px){.girl,.boy{ width:70%} #girl{ margin-left:-5%} #boy{ top:10%; margin-right:-18%} }
@media (max-width: 1280px){.girl,.boy{ width:60%} #girl{ margin-left:-8%} #boy{ top:20%; margin-right:-22%} }
@media (max-width: 1024px){.girl,.boy{ width:40%} #girl{ margin-left:-5%} #boy{ top:30%; margin-right:-38%} }
   




