﻿
#Background {
    -webkit-animation: fadein 4s; /* Safari and Chrome */
       -moz-animation: fadein 4s; /* Firefox */
        -ms-animation: fadein 4s; /* Internet Explorer */
         -o-animation: fadein 4s; /* Opera */
            animation: fadein 4s;
    box-shadow: 5px 5px 6px 3px #0A0500;
}

#Buttons {
    width: 870px;
	margin-top: -58px;
    margin-left: auto;
    margin-right: auto;
}

#pageDown {
    width: 1023px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

/*----------------------------LOGO SPINS*-------------------------------------*/

#spin { 
   position: relative; 
   left: 88px;
   top: 30px;
}

#Background { position: absolute; }

#Back_div {
    position: relative;
    width: 1023px;
    margin-left: auto;
    margin-right: auto;
}

#Logo {
    position: relative;
    width: 1023px;
    margin-left: auto;
    margin-right: auto;
}

#spinner { 
           -webkit-animation-name: spinner; 
           -webkit-animation-iteration-count: infinite; 
           -webkit-animation-duration: 5s; 
           -webkit-transform-style: preserve-3d; 
                   animation-name: spinner; 
                   animation-iteration-count: infinite; 
                   animation-duration: 5s; 
                   transform-style: preserve-3d; 
              -moz-animation-name: spinner; 
              -moz-animation-iteration-count: infinite; 
              -moz-animation-duration: 5s; 
              -moz-transform-style: preserve-3d;
               -ms-animation-name: spinner; 
               -ms-animation-iteration-count: infinite; 
               -ms-animation-duration: 5s; 
               -ms-transform-style: preserve-3d;
                -o-animation-name: spinner; 
                -o-animation-iteration-count: infinite; 
                -o-animation-duration: 5s; 
                -o-transform-style: preserve-3d; 
} 
   
.flags {
    position: relative;
	top: -114px;
	left: 436px;
	width: 148px;
	height: 60px;
	margin: auto;
	overflow: hidden;
}

#flagBG {
	width: 62px;
	height:48px;
	-webkit-transition: all ease 0.35s;
    -moz-transition: all ease 0.35s;
    transition: all ease 0.35s;
	cursor: pointer;
}

#flagEN {
	width: 62px;
	height:48px;
	-webkit-transition: all ease 0.35s;
    -moz-transition: all ease 0.35s;
    transition: all ease 0.35s;
	cursor: pointer;
}

#flagBG:hover {
	 transform: scale(1.2);
	 -webkit-transform: scale(1.2) ;
	 -moz-transform: scale(1.2);
	 -o-transform: scale(1.2);
	 -ms-transform: scale(1.2);
 }

 #flagEN:hover {
	 transform: scale(1.2);
	 -webkit-transform: scale(1.2) ;
	 -moz-transform: scale(1.2);
	 -o-transform: scale(1.2);
	 -ms-transform: scale(1.2);
 }
 
/*TEXT MOVING*/
.marquee { 
   position: relative; 
   width: 400px;
   height: 30px;
   left: 290px;
   top: -45px;
   margin: 25px auto;  
   overflow: hidden;  
   border: 1px solid #000;  
   margin: 25px auto;    
   background-color: black;  
  -webkit-border-radius: 5px;  
  -moz-border-radius: 5px;  
  -ms-border-radius: 5px;
  border-radius: 5px;    
  border-radius: 5px;  
  opacity: 0.56;
}

.marquee p {  
        position: absolute;  
        font-family: Tahoma, Arial, sans-serif;  
        width: 100%;  
        height: 100%;  
        margin: 0;  
        line-height: 30px;  
        text-align: center;  
        color: #fff;  
        text-shadow: 1px 1px 0px #FFAD5C;  
        filter: dropshadow(color= #FFAD5C, offx=1, offy=1);  
        transform:translateX(100%);  
        -webkit-transform:translateX(100%);
        -moz-transform:translateX(100%); 
        -ms-transform:translateX(100%);
}  

.marquee p:nth-child(1) {  animation: left-one 20s ease infinite;  }  
.marquee p:nth-child(2) {  animation: left-two 20s ease infinite;  }  
.marquee p:nth-child(3) {  animation: left-three 20s ease infinite;  }
.marquee p:nth-child(1) {  -webkit-animation: left-one 20s ease infinite;  }  
.marquee p:nth-child(2) {  -webkit-animation: left-two 20s ease infinite;  }  
.marquee p:nth-child(3) {  -webkit-animation: left-three 20s ease infinite;  }  
.marquee p:nth-child(1) {  -moz-animation: left-one 20s ease infinite;  }  
.marquee p:nth-child(2) {  -moz-animation: left-two 20s ease infinite;  }  
.marquee p:nth-child(3) {  -moz-animation: left-three 20s ease infinite;  }  
.marquee p:nth-child(1) {  -ms-animation: left-one 20s ease infinite;  }  
.marquee p:nth-child(2) {  -ms-animation: left-two 20s ease infinite;  }  
.marquee p:nth-child(3) {  -ms-animation: left-three 20s ease infinite;  }  

.Buttons {
    transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

.Buttons:hover {
	box-shadow: 0px 0px 15px 1px rgb(0,0,0);
	transform: scale(1.2) rotate(-5deg);
	-webkit-transform: scale(1.2) rotate(-5deg);
	-moz-transform: scale(1.2) rotate(-5deg);
	-o-transform: scale(1.2) rotate(-5deg);
	-ms-transform: scale(1.2) rotate(-5deg);
}  

/*----------------------------LOGO SPINS------------------------*/
 @-webkit-keyframes spinner { 
        0%   { -webkit-transform: rotateY(0deg)  scale(1.0);}
        50%  { -webkit-transform: rotateY(-180deg)scale(1.3);} 
        100% { -webkit-transform: rotateY(-360deg) scale(1.0);} } 

 @-moz-keyframes spinner { 
        0%   { -moz-transform: rotateY(0deg)  scale(1.0);}
        50%  { -moz-transform: rotateY(-180deg)scale(1.3);} 
        100% { -moz-transform: rotateY(-360deg) scale(1.0);} } 

 @keyframes spinner { 
        0%   { transform: rotateY(0deg)  scale(1.0);}
        50%  { transform: rotateY(-180deg)scale(1.3);} 
        100% { transform: rotateY(-360deg) scale(1.0);} } 

 @-ms-keyframes spinner { 
        0%   { -ms-transform: rotateY(0deg)  scale(1.0);}
        50%  { -ms-transform: rotateY(-180deg)scale(1.3);} 
        100% { -ms-transform: rotateY(-360deg) scale(1.0);} } 


/*LOGO FADE IN*/
@keyframes fadein { from { opacity: 0; } to   { opacity: 1; }}
@-moz-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }}
@-webkit-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }}
@-ms-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }}

/*TEXT MOVING*/
@keyframes left-one {  
        0%  {  transform:translateX(100%);  }  
        10% {  transform:translateX(0);  }  
        20% {  transform:translateX(0);  }  
        30% {  transform:translateX(-100%);  }  
        100%{  transform:translateX(-100%);  }  }  
@keyframes left-two {  
        0% {   transform:translateX(100%);  }  
        30% {  transform:translateX(100%);  }
        40% {  transform: translateX(0);  }          
        60% {  transform:translateX(0);  }  
        70%{  transform:translateX(-100%);  }  
        100%{  transform:translateX(-100%);  } }  
@keyframes left-three {  
        0% {   transform:translateX(100%);  }  
        70% {  transform:translateX(100%);  }
        80% {  transform: translateX(0);  }          
        90% {  transform:translateX(0);  }  
        100%{  transform:translateX(-100%);  }  }  
@-webkit-keyframes left-one {  
        0%  {  -webkit-transform:translateX(100%);  }  
        10% {  -webkit-transform:translateX(0);  }  
        /*20% {  -webkit-transform:translateX(0);  }*/  
        30% {  -webkit-transform:translateX(-100%);  }  
        100%{  -webkit-transform:translateX(-100%);  }  }  
@-webkit-keyframes left-two {  
        0% {   -webkit-transform:translateX(100%);  }  
        30% {  -webkit-transform:translateX(100%);  }
        40% {  -webkit-transform: translateX(0);  }          
        60% {  -webkit-transform:translateX(0);  }  
        70%{   -webkit-transform:translateX(-100%);  }
        100%{  -webkit-transform:translateX(-100%);  } }  
@-webkit-keyframes left-three {  
        0% {   -webkit-transform:translateX(100%);  }  
        70% {  -webkit-transform:translateX(100%);  }
        80% {  -webkit-transform: translateX(0);  }          
        90% {  -webkit-transform:translateX(0);  }  
        100%{  -webkit-transform:translateX(-100%);  }  }  
@-moz-keyframes left-one {  
        0%  {  -moz-transform:translateX(100%);  }  
        10% {  -moz-transform:translateX(0);  }  
        20% {  -moz-transform:translateX(0);  }  
        30% {  -moz-transform:translateX(-100%);  }  
        100%{  -moz-transform:translateX(-100%);  }  }  
@-moz-keyframes left-two {  
        0% {   -moz-transform:translateX(100%);  }  
        30% {  -moz-transform:translateX(100%);  }
        40% {  -moz-transform: translateX(0);  }          
        60% {  -moz-transform:translateX(0);  }  
        70%{   -moz-transform:translateX(-100%);  }  
        100%{  -moz-transform:translateX(-100%);  } }  

@-moz-keyframes left-three {  
        0% {   -moz-transform:translateX(100%);  }  
        70% {  -moz-transform:translateX(100%);  }
        80% {  -moz-transform: translateX(0);  }          
        90% {  -moz-transform:translateX(0);  }  
        100%{  -moz-transform:translateX(-100%);  }  }  
@-ms-keyframes left-one {  
        0%  {  -ms-transform:translateX(100%);  }  
        10% {  -ms-transform:translateX(0);  }  
        20% {  -ms-transform:translateX(0);  }  
        30% {  -ms-transform:translateX(-100%);  }  
        100%{  -ms-transform:translateX(-100%);  }  }  
@-ms-keyframes left-two {  
        0% {   -ms-transform:translateX(100%);  }  
        30% {  -ms-transform:translateX(100%);  }
        40% {  -ms-transform: translateX(0);  }          
        60% {  -ms-transform:translateX(0);  }  
        70%{   -ms-transform:translateX(-100%);  }
        100%{  -ms-transform:translateX(-100%);  } }   
@-ms-keyframes left-three {  
        0% {   -ms-transform:translateX(100%);  }  
        70% {  -ms-transform:translateX(100%);  }
        80% {  -ms-transform: translateX(0);  }          
        90% {  -ms-transform:translateX(0);  }  
        100%{  -ms-transform:translateX(-100%);  }  }  


/*----------------------------PHOTO GALLERY-----------------------------*/

#building {
    width: 870px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    font-size: 24px;
    font-family: Verdana, Arial;
    color: #522900;
}

#systems {
    width: 870px;
    margin-left: auto;
    margin-right: auto;
}

#systems p{
    font-weight: bold;
    font-size: 20px;
    font-family: Verdana, Arial;
    color: #522900;
}

#systems ul li{
    font-weight: bold;
    font-size: 16px;
    font-family: sans-serif;
    color: #333300;
}

#Images-box {
    /* The total width of the image-box, mainly for centering */
    width: 850px;
    height: 230px;
    margin: 0px auto;
    position: relative;
    top: 20px;
    left: 20px;
}
 
.image-lightbox img {
    /* Inherit the width and height from the parent element */
    width: inherit;
    height: inherit;
    z-index: 3000;
}
 
.holder {
    /* The width and height, you can change these */
    width: 250px;
    height: 166px;
    /* Float left, so everything aligns right */
    float: left;
    margin: 0 20px 0 0;
}

.image-lightbox {
    /* Inherit width and height from the .holder */
    width: inherit;
    height: inherit;
    padding: 8px;
    /* Box shadow */
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    /* Position absolutely so we can zoom it out later */
    position: absolute;
    top: 0;
    font-family: Arial, sans-serif;
    /* Transitions to provide some eye candy */
    transition: all ease-in 0.8s;
    -webkit-transition: all ease-in 0.8s;
    -moz-transition: all ease-in 0.8s;
    -ms-transition: all ease-in 0.8s;
    -o-transition: all ease-in 0.8s;
    background-color: #FFB84D;
}


.image-lightbox span {
    display: none;
}
 
.image-lightbox .expand {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 4000;
    background: rgba(0,0,0,0); /* Fixes an IE bug */
    left: 0;
}
 
.image-lightbox .close {
    position: absolute;
    width: 20px; height: 20px;
    right: 20px; top: 20px;
}
 
.image-lightbox .close a {
    height: auto; width: auto;
    padding: 5px 10px;
    color: yellow;
    text-decoration: none;
    background: #22272c;
    box-shadow: inset 0px 24px 20px -15px rgba(255, 255, 255, 0.1), inset 0px 0px 10px rgba(0,0,0,0.4), 0px 0px 30px rgba(255,255,255,0.4);
    border-radius: 5px;
    font-weight: bold;
    float: right;
}
 
.image-lightbox .close a:hover {
    box-shadow: inset 0px -24px 20px -15px rgba(255, 255, 255, 0.01), inset 0px 0px 10px rgba(0,0,0,0.4), 0px 0px 20px rgba(255,255,255,0.4);
    background-color: #8F4700;
    color: white;
}

div#image-1 { left: 0; }
div#image-2 { left: 275px; }
div#image-3 { left: 550px; }

div[id^=image]:target {
    width: 450px;
    height: 300px;
    z-index: 5000;
    top: 50px;
    left: 200px;
}
div[id^=image]:target .close {
    display: block;
}
 
div[id^=image]:target .expand {
    display: none;
}
 
div#image-1:target, div#image-2:target, div#image-3:target { left: 200px; }