﻿.fdiv {
    background-color: #bae0f1;
    border-radius: 5px 5px 5px 5px;
    padding: 10px;
    position:relative;
    
   

}
/* The animation text*/
.effect2 {
    position: relative;
}

    .effect2:before, .effect2:after {
        z-index: -1;
        position: absolute;
        content: "";
        bottom: 15px;
        left: 10px;
        width: 50%;
        top: 80%;
        max-width: 300px;
        background: #777;
        -webkit-box-shadow: 0 15px 10px #777;
        -moz-box-shadow: 0 15px 10px #777;
        box-shadow: 0 15px 10px #777;
        -webkit-transform: rotate(-3deg);
        -moz-transform: rotate(-3deg);
        -o-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }

    .effect2:after {
        -webkit-transform: rotate(3deg);
        -moz-transform: rotate(3deg);
        -o-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
        transform: rotate(3deg);
        right: 10px;
        left: auto;
    }
.intro {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position:absolute;
    float:left;
    top:10PX;
    left:10PX;
}

.intro1 {
    animation: showup 7s infinite;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    color: white;
}

.intro2 {
    width: 0px;
    animation: reveal 7s infinite;
    margin-top: 40px;
    color: white;
    font-size: 30px;
}
.intro3 {
    width: 0px;
    animation: reveal 7s infinite;
    margin-top: 80px;
    color: white;
    font-size: 30px;
}

.sub-head {
    margin-left: -355px;
    animation: slidein 7s infinite;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
}
.sub-head2 {
    margin-left: -355px;
    animation: slidein 7s infinite;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    z-index:1;
}

@keyframes showup {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slidein {
    0% {
        margin-left: -800px;
    }

    20% {
        margin-left: -800px;
    }

    35% {
        margin-left: 0px;
    }

    100% {
        margin-left: 0px;
    }
}

@keyframes reveal {
    0% {
        opacity: 0;
        width: 0px;
    }

    20% {
        opacity: 1;
        width: 0px;
    }

    30% {
        width: 355px;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        width: 355px;
    }
}