/*
/                     CONTENT DTCK
*/

.divTitle p.titleScreen{
    background: url("../images/bg/bg-wrap.jpg") repeat-y scroll 0 0 #f7f8fa;
}


#contentDTCK #s1{
    width: 100%;
    display: block;
}
#contentDTCK #s1 .s1-canh1,
#contentDTCK #s1 .s1-canh2,
#contentDTCK #s1 .s1-canh3,
#contentDTCK #s1 .s1-canh4,
#contentDTCK #s1 .s1-canh5,
#contentDTCK #s1 .s1-canh6,
#contentDTCK #s1 .s1-canh7,
#contentDTCK #s1 .s1-canh8 ,
#contentDTCK #s1 .s1-canh9{
    width: 100%;
    display: block;
    overflow: hidden;
}

#contentDTCK #s1 .s1-canh2 .s1-canh2-wrap,
#contentDTCK #s1 .s1-canh3 .s1-canh3-wrap,
#contentDTCK #s1 .s1-canh4 .s1-canh4-wrap,
#contentDTCK #s1 .s1-canh6 .s1-canh6-wrap,
#contentDTCK #s1 .s1-canh7 .s1-canh7-wrap,
#contentDTCK #s1 .s1-canh8 .s1-canh8-wrap{
    width: 100%;
    display: block;
    position: relative;
    bottom: -60px;
    opacity: 0;
    margin: 0 auto;
}
#contentDTCK #s1 .s1-canh7 .s1-canh7-wrap {
height: 0;
}
#contentDTCK #s1 .s1-canh1 .s1-canh1-wrap{
    width: 100%;
    display: block;
    position: relative;
    bottom: -60px;
    opacity: 0;
 }

#contentDTCK #s1 .s1-canh7 .s1-canh7-wrap{
    overflow: hidden;
    width: 100%;
}
.show-viewsize{

    -webkit-animation-name: showviewsize; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 4s; /* Chrome, Safari, Opera */
    -webkit-animation-delay: 0.5s;
    -webkit-animation-timing-function: linear;

    animation-name: showviewsize;
    animation-duration: 4s;
    animation-delay: 0.5s;
    animation-timing-function: linear;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes showviewsize {
    0%   {height: 0;}
    100% {height: 1017px;}
}

/* Standard syntax */
@keyframes showviewsize {
    0%   {height: 0;}
    100% {height: 1017px;}
}

#contentDTCK #s1 .s1-canh5{
    background: url('../images/pattern_40.gif') repeat;
}
#contentDTCK #s1 .s1-canh5 .s1-canh5-wrap{
    background: url('../images/pattern_40.gif') repeat;
}


/*
///////////////ANIMATION CAR
*/

#s1 .s1-canh8 .s1-canh8-wrap{
    height: 500px;
    max-width: 980px;
    position: relative;
    width: 100%;
    display: block;
}
.stage{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    -webkit-background-size:100%;
    background-size: 100%;
}
#bg {
    background: #aedfe5 url("../images/sky1.png") 0 0 repeat-x;
    height: 500px;

}
#clouds {
    background: transparent url("../images/cloud.png") 305px 102px   repeat-x;
    animation: runClouds 12s linear infinite;
    -moz-animation: runClouds 12s linear infinite;
    -webkit-animation: runClouds 12s linear infinite;
    -o-animation: runClouds 12s linear infinite;
    height:114px;
    position: absolute;
    top: 10px;
    left: 0;

}

@keyframes runClouds{
    0%{background-position: 0px}
    100%{background-position: -1068px}
}

@-moz-keyframes runClouds{
    0%{background-position: 0px ;}
    100%{background-position: -1068px}
}

@-webkit-keyframes runClouds{
    0%{background-position: 0px ;}
    100%{background-position: -1068px}
}

@-o-keyframes runClouds{
    0%{background-position: 0px;}
    100%{background-position: -1068px}
}
/*   *****************************    */

/******************************************/
#hill2 {
    background: transparent url("../images/bg-sau.png") 0 258px repeat-x;
    animation: GoBackground-sau 2s linear infinite;
    -moz-animation: GoBackground-sau 2s linear infinite;
    -webkit-animation: GoBackground-sau 2s linear infinite;
    -o-animation: GoBackground-sau 2s linear infinite;
    height: 94px;
    position: absolute;
    top: 30%;
    left:0;

}
@keyframes GoBackground-sau{
    0%{background-position: 0px}
    100%{background-position: -1110px}
}

@-moz-keyframes GoBackground-sau{
    0%{background-position: 0px ;}
    100%{background-position: -1110px}
}

@-webkit-keyframes GoBackground-sau{
    0%{background-position: 0px ;}
    100%{background-position: -1110px}
}

@-o-keyframes GoBackground-sau{
    0%{background-position: 0px;}
    100%{background-position: -1110px}
}
/*   *****************************    */


#hill1 {
    background: transparent url("../images/bg-truoc.png") repeat-x;
    animation: GoBackground 10s linear infinite;
    -moz-animation: GoBackground 10s linear infinite;
    -webkit-animation: GoBackground 10s linear infinite;
    -o-animation: GoBackground 10s linear infinite;
    height:100%;
}

/*RUN BACKGROUND*/

@keyframes GoBackground{
    0%{background-position: 0px}
    100%{background-position: -2220px}
}

@-moz-keyframes GoBackground{
    0%{background-position: 0px ;}
    100%{background-position: -2220px}
}

@-webkit-keyframes GoBackground{
    0%{background-position: 0px ;}
    100%{background-position: -2220px}
}

@-o-keyframes GoBackground{
    0%{background-position: 0px;}
    100%{background-position: -2220px}
}


/*               RUN CAR                   */
.wrap-car{
    display: block;
    position: relative;
    top: 335px;
    left: 0;
    max-width: 300px;
    width: 100%;
    height: 100px;
}
.car-body{
    background-image:url('../images/car-final.png');
    background-repeat:no-repeat;
    width:300px;
    height:88px;
    z-index: 999;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: 100%;

}

/************************************/
.wheel-front{
    background-image: url("../images/wheel1.png");
    background-repeat: no-repeat;
    float: right;
    height: 47px;
    width: 50px;
    position: absolute;
    bottom: -12px;
    background-size: 100%;
    left: 223px;
}

.wheel-back{
    background-image: url("../images/wheel1.png");
    background-repeat: no-repeat;
    float: left;
    height: 47px;
    width: 50px;
    background-size: 100%;
    position: absolute;
    bottom: -12px;
    left: 41px;
}
/* BANH truoc -banh sau*/
/*
RUN BANH XE-OTO
*/

.wheel-front{
    animation: GoWheel 3s linear 0s infinite;
    -webkit-animation: GoWheel 3s linear 0s infinite;
}
.wheel-back{
    animation: GoWheel 3s linear 0s infinite;
    -webkit-animation: GoWheel 3s linear 0s infinite;
}
/************************************RUN BANH XE*/
@-webkit-keyframes GoWheel {
    0%{transform:rotate(0deg); }
    100%{transform:rotate(360deg); }
}

@keyframes GoWheel {
    0%{transform:rotate(0deg); }
    100%{transform:rotate(360deg); }
}

/************************/
@-webkit-keyframes GoWheel-truoc {
    0%{transform:rotate(0deg); }
    100%{transform:rotate(360deg);}
}

@keyframes GoWheel-truoc {
    0%{transform:rotate(0deg); }
    100%{transform:rotate(360deg);}
}

/*XANG*/
div.wrap-xang{
    width: 115px;
    display: block;
    height: 100px;
    position: absolute;
    top: 41px;
    left: 180px;
}
div.xang{
    width: 100%;
    height: 100px;
    background: url("../images/cot-xang.png") no-repeat top left;
    overflow: hidden;
    position: relative;
}
div.wrap-xang p{
    color: darkgreen;
    font-size: 13px;
    font-weight: bold;
    float: left;
    bottom: -30px;
    left: 0;
    position: absolute;
}
div.wrap-xang p span{
    font-size: 18px;
    color: red;
    opacity: 1;
}
div.xang .xangH {
    width: 40px;
    height: 100px;
    float: left;
    bottom: 0;
    left: 0;
    position: absolute;
}

/*xang*/
.run-xang{
    width: 100%;
    height: 100px;
    opacity: 0.5;
    background: darkcyan;
    position: absolute;
    animation-name: run-xang;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    -webkit-animation-name: run-xang;
    -webkit-animation-duration: 12s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
}
@keyframes run-xang{
    0% {
        bottom: 100%;
        top: 0;
    }
    50% {

        bottom: 0;
        top: 100%;
    }
    100% {
        bottom: 100%;
        top: 0;
    }
}
@-webkit-keyframes run-xang{
    0% {
        bottom: 100%;
        top: 0;
    }
    50% {

        bottom: 0;
        top: 100%;
    }
    100% {
        bottom: 100%;
        top: 0;
    }
}

/*6s run speed car*/
.runcar{
    animation-name: runcar;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    -webkit-animation-name: runcar;
    -webkit-animation-duration: 12s;
    -webkit-animation-iteration-count: infinite;

  }
@keyframes runcar{
    50%{left: 500px;}
    100%{left: 0;}
}
@-webkit-keyframes runcar{
    50%{left: 500px;}
    100%{left: 0;}
}

/*CANH 7 VIEW SIZE*/
.s1-canh7-wrap{
    position: relative;
}


.s1-canh7-wrap .viewsize1,
.s1-canh7-wrap .viewsize2{
    background: none repeat scroll 0 0 rgba(58, 146, 235, 0.6);
    color: #FFF;
    font-size: 20px;
    line-height: 30px;
    padding: 10px;
    width: 250px;
    text-align: left;
    position: absolute;
    border-radius: 5px;
    border: 2px solid #1955a6;

}
.s1-canh7-wrap .viewsize1{
    top: 100px;
    left: 60px;
}

.s1-canh7-wrap .viewsize2{
    top: 200px;
    left: 60px;
}

/*TIEU THU NHIEN LIEU*/
.wrap-tieuthu-nl{
    position: absolute;
    top: 200px;
    left: 40px;
    width: 240px;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #1955a6;
    background:none repeat scroll 0 0 rgba(58, 146, 235, 0.6);
    font-size: 16px;
    color: #FFF;
}

.wrap-tieuthu-nl p span{
    color: #16FF11;
    font-size: 18px;
}
p.txt{
    color: #10FF2B;
    font-weight: bold;
    font-size: 17px;;
}

p.text-size span{
    color: #85FF77;
}


p.titleScreen{
    padding: 20px;
    margin-top: 5px;
}



.s1-canh9 .s1-canh9-wrap{
    display: block;
    margin: 20px auto;
    width: 640px;
    height: auto;

}

.wrap-text-canh5{
    padding: 5px 20px;
    background: none repeat scroll 0 0 rgba(58, 146, 235, 0.6);
    border-radius: 5px;
    border: 2px solid #1955a6;
    max-width: 500px;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}
.wrap-text-canh5 span{
    color: #10FF2d;
}
