.as_slider {
    width: 100%; /* when the slider is loading the width will be 100% */
    height: 200px; /* and the height 200px */
    z-index: 300;
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    background: white;
    background-image: url('../img/loading.gif');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 8;
}

    .as_slider a {
        text-shadow: none;
        color: #98C8FC;
    }

.as_slider_shadow {
    -webkit-box-shadow: 0px 7px 9px -8px #4a4a4a;
    -moz-box-shadow: 0px 7px 9px -8px #4a4a4a;
    -o-box-shadow: 0px 7px 9px -8px #4a4a4a;
    -ms-box-shadow: 0px 7px 9px -8px #4a4a4a;
    box-shadow: 0px 7px 9px -8px #4a4a4a;
    /*
  -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
     -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
       -o-box-shadow: 0px 1px 5px 0px #4a4a4a;
      -ms-box-shadow: 0px 1px 5px 0px #4a4a4a;
          box-shadow: 0px 1px 5px 0px #4a4a4a;
*/
}

.as_slider img {
    position: absolute;
    padding: 0;
    margin: 0;
    display: inline-block;
    z-index: 50;
    opacity: 0;
}

    .as_slider img:first-child {
        z-index: 100;
    }

.as_slider:hover .as_prev, .as_slider:hover .as_next, .as_slider:hover .as_play, .as_slider:hover .as_navContainer, .as_slider:hover .as_captions {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

.as_prev, .as_next, .as_play {
    display: inline-block;
    position: absolute;
    margin-top: -13px;
    z-index: 200;
    width: 25px;
    height: 35px;
    cursor: pointer;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    background-image: url('../img/icons.png');
}

.as_prev {
    background-position: -18px -124px;
    background-color: red;
    margin-left: -150px;
    top: 50%;
}

    .as_prev:hover {
        background-position: 3px -124px;
    }

.as_next {
    right: 0;
    background-position: -65px -124px;
    margin-right: 15px;
    top: 50%;
}

    .as_next:hover {
        background-position: -43px -124px;
    }

.as_boxesContainer {
    position: absolute;
    z-index: 101;
}

.as_box {
    float: left;
    display: block;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.as_navContainer {
    display: inline-block;
    position: absolute;
    z-index: 200;
    bottom: 13px !important;
    right: 18px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.as_navBtn:first-child {
    margin-left: 0;
}

.as_navBtn {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: white;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    -webkit-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -moz-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -o-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -ms-box-shadow: 1px 2px 12px -2px #4a4a4a;
    box-shadow: 1px 2px 12px -2px #4a4a4a;
}

    .as_navBtn:hover {
        opacity: .7;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
        filter: alpha(opacity=70);
    }

.as_navContainer .selected {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

.as_timer {
    position: absolute;
    z-index: 200;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #fff;
    font-size: 0;
    font-family: sans-serif;
    line-height: normal;
}

.as_play {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
    position: absolute;
    z-index: 200;
    right: 17px;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: #252626;
    background: rgba(0,0,0,.8);
    border: 1px solid black;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    -webkit-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -moz-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -o-box-shadow: 1px 2px 12px -2px #4a4a4a;
    -ms-box-shadow: 1px 2px 12px -2px #4a4a4a;
    box-shadow: 1px 2px 12px -2px #4a4a4a;
    background-position: -162px 4px;
    background-image: url('../img/icons.png');
}

.as_pause {
    background-position: -179px 4px;
}

.as_captions {
    z-index: 199;
    position: absolute;
    bottom: 20px; /* Important to use only bottom position, dont use top (for js coding) */
    left: 0px;
    background-color: #000;
    background: rgba(0,0,0,.7);
    text-shadow: 0 1px 1px rgba(255,255,255,.4);
    padding: 15px;
    color: white;
    box-sizing: border-box;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

@media only screen and (max-width: 500px) {

    .as_captions {
        padding: 5px;
    }

        .as_captions h4 {
            font-size: 12px;
        }
}


.as_tip {
    border: 2px solid white;
    position: absolute;
    z-index: 300;
}

    .as_tip img {
        max-width: 100%;
    }

.as_arrow {
    position: absolute;
    z-index: 400;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.numeric .as_navBtn {
    border-radius: 2px;
    width: 20px;
    height: 20px;
    text-align: center;
    font-family: sans-serif;
}

.numeric .as_navContainer {
    bottom: 15px !important;
}

/* Theme 1 */

.theme1 .as_prev {
    top: auto;
    left: auto;
    bottom: 7px;
    right: 70px;
    margin: 0;
}

.theme1 .as_next {
    top: auto;
    right: 10px;
    bottom: 7px;
    margin: 0;
}

.theme1 .as_navContainer {
    right: 110px;
}

.theme1 .as_play {
    top: auto;
    bottom: 14px;
    right: 41px;
    margin: 0;
}

/* Theme 2 */

.theme2 .as_prev {
    background-color: black;
    border-radius: 0 3px 3px 0;
    left: 0;
    margin-right: 0;
    margin-left: 0;
}

.theme2 .as_next {
    background-color: black;
    border-radius: 0 3px 3px 0;
    right: 0;
    margin-right: 0;
    margin-left: 0;
}

.theme2 .as_play {
    top: 50%;
    margin-top: -7px;
    left: 50%;
    margin-left: -7px;
}

/* Theme 3 */

.theme3 .as_prev {
    top: 7px;
    left: auto;
    bottom: auto;
    right: 70px;
    margin: 0;
}

.theme3 .as_next {
    top: 7px;
    right: 10px;
    bottom: auto;
    margin: 0;
}

.theme3 .as_navContainer {
    right: 110px;
    top: 15px;
}

.theme3 .as_play {
    top: 14px;
    bottom: auto;
    right: 41px;
    margin: 0;
}

.theme3 .as_captions {
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: transparent;
    background: rgba(0,0,0,.5);
    overflow: hidden;
}


/* Theme 4 custome */
.theme4 .as_prev {
    background: url('../img/home_arrow_left.png') no-repeat center center;
    margin-left: 5px;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    width: 25px;
    height: 75px;
}

.theme4 .as_next {
    margin-right: 5px;
    background: url('../img/home_arrow_right.png') no-repeat center center;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    width: 25px;
    height: 75px;
}

.theme4 .as_navContainer {
    margin: 0 40%;
    max-width: 200px;
}

    .theme4 .as_navContainer .selected {
        background: #cc3300;
    }

.theme4 .as_captions h1 {
    font-size: 3vw;
    margin-bottom: 20px;
}

.theme4 .as_captions p {
    font-size: 1.5vw;
}

.theme4 .as_captions a {
    display: inline-block;
    background-color: #cc3300;
    padding: 6px 12px;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.5vw;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

.theme4 .as_captions {
    z-index: 199;
    position: absolute;
    bottom:0px;
    background: url('../img/semi-dark-bg.png') no-repeat center center;
	-webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    color: white;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    display: none;
    width: 100%;
    height: 100%;
    padding-right: 35%;
    padding-left: 50px;
    position: relative!important;
    display: -webkit-box!important;
    display: -moz-box!important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-flow: row wrap!important;
    flex-flow: row wrap!important;
    align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-align-items: center;
}

    .theme4 .as_captions a:focus,
    .theme4 .as_captions a:active:focus,
    .theme4 .as_captions a.active:focus,
    .theme4 .as_captions a.focus,
    .theme4 .as_captions a:active.focus,
    .theme4 .as_captions a.active.focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .theme4 .as_captions a:hover,
    .theme4 .as_captions a:focus,
    .theme4 .as_captions a.focus {
        color: #ffffff;
        text-decoration: none;
        opacity: 0.8;
    }

/* Theme 5 custome */
.theme5 {
    overflow: visible;
}

    .theme5 .as_prev {
        background: url('../img/home_arrow_left_t5.png') no-repeat center center;
        margin-left: -6%;
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        -o-background-size: 100% 100%;
        background-size: 100% 100%;
        width: 48px;
        height: 95px;
    }

    .theme5 .as_next {
        margin-right: -6%;
        background: url('../img/home_arrow_right_t5.png') no-repeat center center;
        -webkit-background-size: 100% 100%;
        -moz-background-size: 100% 100%;
        -o-background-size: 100% 100%;
        background-size: 100% 100%;
        width: 48px;
        height: 95px;
    }
/*************************************** ***************************************
 * col-sm -> min-width: 768px
 *************************************** ***************************************/
@media (min-width: 992px) and (max-width: 1279px) {
    .theme5 .as_prev {
        margin-left: 5px;
        width: 48px;
        height: 95px;
    }

    .theme5 .as_next {
        margin-right: 5px;
        width: 48px;
        height: 95px;
    }
}

@media (min-width: 868px) and (max-width: 990px) {
    .theme5 .as_prev {
        margin-left: -8%;
        width: 30px;
        height: 60px;
    }

    .theme5 .as_next {
        margin-right: -8%;
       width: 30px;
        height: 60px;
    }
}
@media (min-width: 780px) and (max-width: 867px) {
    .theme5 .as_prev {
        margin-left: -5%;
        width: 30px;
        height: 50px;
    }

    .theme5 .as_next {
        margin-right: -5%;
        width: 30px;
        height: 50px;
    }
}

@media (max-width: 779px) {
    .theme5 .as_prev {
        margin-left: 5px;
        width: 30px;
        height: 50px;
    }

    .theme5 .as_next {
        margin-right: 5px;
        width: 30px;
        height: 50px;
    }
}

/*************************************** ***************************************
 *  iPhone
 *  iPhone 6 Plus landscape · width: 736px
 *  iPhone 6 landscape · width: 667px
 *  iPhone 5 landscape · width: 568px
 *  iPhone 6 Plus portrait · width: 414px
 *  iPhone 6 portrait · width: 375px
 *************************************** ***************************************/

@media (max-width: 640px) {
    .theme4 .as_captions ,.theme5 .as_captions {
        display: none !important;
    }

    .theme4 .as_captions {
        margin: auto;
    }

        .theme4 .as_captions h1 {
            font-size: 3.5vw;
            margin-top: 30%;
            margin-bottom: 10px;
        }

        .theme4 .as_captions p, .theme4 .as_captions a {
            font-size: 2vw;
        }
}

@media (max-width: 480px) {
    .theme4 .as_captions h1 {
        font-size: 3.9vw;
        margin-top: 30%;
        margin-bottom: 10px;
    }

    .theme4 .as_captions p, .theme4 .as_captions a {
        font-size: 3vw;
    }
}

@media (max-width: 320px) {
}

/*************************************** ***************************************
 * Thiet bi di dong cu
 *************************************** ***************************************/
@media (max-width: 240px) {
}
/*************************************** ***************************************
 * col-xs -> min-width: 0;
 *************************************** ***************************************/

/* ===CIRUCLAR TIMER== */


.as_circularTimer {
    position: absolute;
    z-index: 200;
    top: 10px;
    left: 10px;
    font-size: 200px;
    width: 0.1em;
    height: 0.1em;
}

    .as_circularTimer > .as_percent {
        position: absolute;
        top: 1.05em;
        left: 0;
        width: 3.33em;
        font-size: 0.3em;
        text-align: center;
    }

    .as_circularTimer > #as_peace {
        position: absolute;
        width: 0.1em;
        height: 0.1em;
        clip: rect(0px,0.1em,0.1em,0.05em);
    }

        .as_circularTimer > #as_peace.gt50 {
            clip: rect(auto, auto, auto, auto);
        }

        .as_circularTimer > #as_peace > .as_pie {
            /*border: 0.0.1em solid #c0c0c0;*/
            position: absolute;
            width: 0.0em;
            height: 0.0em;
            clip: rect(0em,0.05em,0.1em,0em);
            -moz-border-radius: 0.05em;
            -webkit-border-radius: 0.05em;
            border-radius: 0.05em;
        }

            .as_circularTimer > #as_peace > .as_pie.as_fill {
                -moz-transform: rotate(180deg) !important;
                -webkit-transform: rotate(180deg) !important;
                -o-transform: rotate(180deg) !important;
                transform: rotate(180deg) !important;
            }

    .as_circularTimer.as_fill > .as_percent {
        display: none;
    }

    .as_circularTimer.as_fill > #as_peace > .as_pie {
        border: transparent;
        background-color: white;
        width: 0.1em;
        height: 0.1em;
    }
