/*CSS for logo aniumation on index.php____________________________________*/
.back, .front
{
    position: absolute;
    top: -35px;
    left: 5px;
    width: 165px;
    height: 165px;    
}

.back
{
    z-index: 2;
    -webkit-animation: logo 1s ease-in-out;
       -moz-animation: logo 1s ease-in-out;
        -ms-animation: logo 1s ease-in-out;
         -o-animation: logo 1s ease-in-out;
            animation: logo 1s ease-in-out;
    -webkit-animation-fill-mode: forwards;
       -moz-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
         -o-animation-fill-mode: forwards;
}

.front
{
    z-index: 3;  
    opacity: 1;
    -webkit-animation: wheel 1s ease-in-out;
       -moz-animation: wheel 1s ease-in-out;
        -ms-animation: wheel 1s ease-in-out;
         -o-animation: wheel 1s ease-in-out;
            animation: wheel 1s ease-in-out;
    -webkit-animation-fill-mode: forwards;
       -moz-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
         -o-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}



@-webkit-keyframes logo 
{
    0% {-webkit-transform: rotate(0deg);}
    100% {-webkit-transform: rotate(720deg);}
}

@-webkit-keyframes wheel 
{
    0%      {-webkit-transform: rotate(0deg);}
    50%     {opacity: 1;}
    100%    {-webkit-transform: rotate(720deg); opacity: 0;}
}

@-moz-keyframes logo 
{
    0% {-moz-transform: rotate(0deg);}
    100% {-moz-transform: rotate(720deg);}
}

@-moz-keyframes wheel 
{
    0%      {-moz-transform: rotate(0deg);}
    50%     {opacity: 1;}
    100%    {-moz-transform: rotate(720deg); opacity: 0;}
}
@-ms-keyframes logo 
{
    0% {-ms-transform: rotate(0deg);}
    100% {-ms-transform: rotate(720deg);}
}

@-ms-keyframes wheel 
{
    0%      {-ms-transform: rotate(0deg);}
    50%     {opacity: 1;}
    100%    {-ms-transform: rotate(720deg); opacity: 0;}
}
@-o-keyframes logo 
{
    0% {-o-transform: rotate(0deg);}
    100% {-o-transform: rotate(720deg);}
}

@-o-keyframes wheel 
{
    0%      {-o-transform: rotate(0deg);}
    50%     {opacity: 1;}
    100%    {-o-transform: rotate(720deg); opacity: 0;}
}
@keyframes logo 
{
    0% {transform: rotate(0deg);}
    100% {transform: rotate(720deg);}
}

@keyframes wheel 
{
    0%      {transform: rotate(0deg);}
    50%     {opacity: 1;}
    100%    {transform: rotate(720deg); opacity: 0;}
}


/*CSS for slide show on index.php____________________________________*/


.slideshow{
    position: relative;
    margin: 10px auto 10px auto;
    background: #000;
    border: 5px solid #eaeaea;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;    
    -webkit-box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
       -moz-box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
            box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
    height: 350px;
    width: 570px;

}
.slideshow figure{
   margin: 0;
   position: absolute;
   width: 570px;
   height: 350px;
   opacity: 1;

}
.slideshow figcaption{
   position: absolute;
   top: 0;
   color: #fff;
   background: rgba(0,0,0, .3);
   font-size: 1.2em;
   padding: 8px 12px;
   transition: opacity .5s;
}
 
figure:nth-child(1) {
   -webkit-animation: xfade 36s 32s infinite;
      -moz-animation: xfade 36s 32s infinite;
       -ms-animation: xfade 36s 32s infinite;
        -o-animation: xfade 36s 32s infinite;
           animation: xfade 36s 32s infinite;
}
figure:nth-child(2) {
   -webkit-animation: xfade 36s 28s infinite;
      -moz-animation: xfade 36s 28s infinite;
       -ms-animation: xfade 36s 28s infinite;
        -o-animation: xfade 36s 28s infinite;
           animation: xfade 36s 28s infinite;
}
figure:nth-child(3) {
   -webkit-animation: xfade 36s 24s infinite;
      -moz-animation: xfade 36s 24s infinite;
       -ms-animation: xfade 36s 24s infinite;
        -o-animation: xfade 36s 24s infinite;            
           animation: xfade 36s 24s infinite;
}
figure:nth-child(4) {
   -webkit-animation: xfade 36s 20s infinite;
      -moz-animation: xfade 36s 20s infinite;
       -ms-animation: xfade 36s 20s infinite;
        -o-animation: xfade 36s 20s infinite;
           animation: xfade 36s 20s infinite;
}
figure:nth-child(5) {
   -webkit-animation: xfade 36s 16s infinite;
      -moz-animation: xfade 36s 16s infinite;
       -ms-animation: xfade 36s 16s infinite;
        -o-animation: xfade 36s 16s infinite;
           animation: xfade 36s 16s infinite;
}
figure:nth-child(6) {
   -webkit-animation: xfade 36s 12s infinite;
      -moz-animation: xfade 36s 12s infinite;
       -ms-animation: xfade 36s 12s infinite;
        -o-animation: xfade 36s 12s infinite;
           animation: xfade 36s 12s infinite;
}
figure:nth-child(7) {
   -webkit-animation: xfade 36s 8s infinite;
      -moz-animation: xfade 36s 8s infinite;
       -ms-animation: xfade 36s 8s infinite;
        -o-animation: xfade 36s 8s infinite;
           animation: xfade 36s 8s infinite;
}
figure:nth-child(8) {
   -webkit-animation: xfade 36s 4s infinite;
      -moz-animation: xfade 36s 4s infinite;
       -ms-animation: xfade 36s 4s infinite;
        -o-animation: xfade 36s 4s infinite;
           animation: xfade 36s 4s infinite;
}
figure:nth-child(9) {
   -webkit-animation: xfade 36s 0s infinite;
      -moz-animation: xfade 36s 0s infinite;
       -ms-animation: xfade 36s 0s infinite;
        -o-animation: xfade 36s 0s infinite;
           animation: xfade 36s 0s infinite;
}

@-webkit-keyframes xfade{
   0%       {opacity: 1;}
   5%       {opacity: 1;}
   12%      {opacity: 0;}
   75%      {opacity: 0;}
   100%     {opacity: 1;}
}
@-moz-keyframes xfade{
   0%       {opacity: 1;}
   5%       {opacity: 1;}
   12%      {opacity: 0;}
   75%      {opacity: 0;}
   100%     {opacity: 1;}
}
@-ms-keyframes xfade{
   0%       {opacity: 1;}
   5%       {opacity: 1;}
   12%      {opacity: 0;}
   75%      {opacity: 0;}
   100%     {opacity: 1;}
}
@-o-keyframes xfade{
   0%       {opacity: 1;}
   5%       {opacity: 1;}
   12%      {opacity: 0;}
   75%      {opacity: 0;}
   100%     {opacity: 1;}
}
@keyframes xfade{
   0%       {opacity: 1;}
   5%       {opacity: 1;}
   12%      {opacity: 0;}
   75%      {opacity: 0;}
   100%     {opacity: 1;}
}
