/*================ BANNER IMAGES 01 ================*/
html {
    overflow-x: hidden
}
#banner_on1 .image_cover {
    padding: 0;
    height: 100%
}
#banner_on1 .image_cover {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background-position: 50% 50%;
    width: 100%;
    height: 420px;
}

#banner_on1 .image_cover img{
    right: 0;
    width: 100%;
    height: 420px;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
}
#banner_on1 .grid-col .image_cover,
#banner_on1 .grid-col .image_cover img {
    object-fit: cover;
    width: 100%;
    position: absolute !important;
    top: 0;
    bottom: 0;
    height: 100%;
    padding: 0 !important
}

#banner_on1 .flickity-slider > div:not(.col)
{
    width: 100% !important;
    padding: 0;
    margin: 0;
    transition: transform .6s,
    opacity .6s, box-shadow 0.6s
}

#banner_on1 .flickity-enabled {
    position: relative
}

#banner_on1 .flickity-enabled:focus {
    outline: none
}
#banner_on1 .flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%
}

#banner_on1 .flickity-prev-next-button {
    position: absolute;
    top: 40%;
    bottom: 40%;
    background-color: transparent;
    margin: 0;
    padding: 0;
    width: 36px;
    color: #FF5622;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: transform .3s,
    opacity .3s, background .3s,
    box-shadow .3s
}

#banner_on1 .flickity-prev-next-button.next {
    -ms-transform: translateX(-20%);
    transform: translateX(-20%);
    right: 2%
}

#banner_on1 .flickity-prev-next-button.previous {
    -ms-transform: translateX(20%);
    transform: translateX(20%);
    left: 2%
}

#banner_on1 .slider-show-nav .flickity-prev-next-button,
#banner_on1 .slider:hover .flickity-prev-next-button {
    opacity: .7;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important
}
#banner_on1 .slider .flickity-prev-next-button svg,
#banner_on1 .slider .flickity-prev-next-button .arrow {
    fill: #fff;
}
#banner_on1 .slider .flickity-prev-next-button:hover svg,
#banner_on1 .slider .flickity-prev-next-button:hover .arrow {
    fill: #006666;
}

#banner_on1 .flickity-page-dots {
    position: absolute;
    bottom: 15px;
    left: 20%;
    right: 20%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1
}
#banner_on1 .flickity-page-dots .dot {
    display: inline-block;
    width: 20px;
    height: 6px;
    margin: 0 5px;
    /*border: 1px solid #fff;*/
    /*border-radius: 50%;*/
    /*opacity: .4;*/
    cursor: pointer;
    /*transition: opacity .3s;*/
    background: #fff;
}

#banner_on1 .flickity-page-dots .dot:hover {
    /*opacity: .7*/
    background: #006666;
}

#banner_on1 .flickity-page-dots .dot.is-selected {
    background: #006666;
    opacity: 1 !important
}

@media(max-width: 992px){
    #banner_on1 .image_cover {
        width: 100%;
        height: 420px;
    }

    #banner_on1 .image_cover img{
        width: 100%;
        height: 420px;
    }
}
@media(max-width: 486px){
    #banner_on1 .image_cover {
        width: 100%;
        height: 160px;
    }

    #banner_on1 .image_cover img{
        width: 100%;
        height: 160px;
    }
}
/*================ END BANNER IMAGES 01 ================*/



/*================ END BANNER IMAGES OWL.CAROUSEL 02 ================*/
/*==================== Owl-Theme Slide ========================*/
.owl-theme .owl-controls .owl-buttons div{
    color: #FFF;
    display: inline-block;
    zoom: 1;
    *display: inline;/*IE7 life-saver */
    margin: 5px;
    padding: 3px 10px;
    font-size: 12px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    background: #869791;
    filter: Alpha(Opacity=50);/*IE7 fix*/
    opacity: 0.5;
}
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
    filter: Alpha(Opacity=100);/*IE7 fix*/
    opacity: 1;
    text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
    display: inline-block;
    zoom: 1;
    *display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
    display: block;
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);/*IE7 fix*/
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
    filter: Alpha(Opacity=100);/*IE7 fix*/
    opacity: 1;
}
/*==================== END Owl-Theme Slide ========================*/


/*==================== Owl-Carousel Slide ========================*/
.owl-carousel .owl-wrapper{
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
    overflow: hidden;
    position: relative;
    width: 100%;
}
.owl-carousel .owl-item{
    float: left;
}
.owl-carousel .owl-buttons,
.owl-carousel .owl-pagination
{
    cursor: pointer;
}
.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 320px;
}

@media(max-width: 992px){
    .owl-carousel .owl-item img {
        height: 300px;
    }
}
@media(max-width: 486px){
    .owl-carousel .owl-item img {
        height: 160px;
    }
}
/*==================== End Owl-Carousel Slide ========================*/


/*====================  Owl-Carousel Transition Slide ========================*/
.owl-origin {
    -webkit-perspective: 1200px;
    -webkit-perspective-origin-x : 50%;
    -webkit-perspective-origin-y : 50%;
    -moz-perspective : 1200px;
    -moz-perspective-origin-x : 50%;
    -moz-perspective-origin-y : 50%;
    perspective : 1200px;
}
/* fade */
.owl-fade-out {
    z-index: 10;
    -webkit-animation: fadeOut .7s both ease;
    -moz-animation: fadeOut .7s both ease;
    animation: fadeOut .7s both ease;
}
.owl-fade-in {
    -webkit-animation: fadeIn .7s both ease;
    -moz-animation: fadeIn .7s both ease;
    animation: fadeIn .7s both ease;
}
/* backSlide */
.owl-backSlide-out {
    -webkit-animation: backSlideOut 1s both ease;
    -moz-animation: backSlideOut 1s both ease;
    animation: backSlideOut 1s both ease;
}
.owl-backSlide-in {
    -webkit-animation: backSlideIn 1s both ease;
    -moz-animation: backSlideIn 1s both ease;
    animation: backSlideIn 1s both ease;
}
/* goDown */
.owl-goDown-out {
    -webkit-animation: scaleToFade .7s ease both;
    -moz-animation: scaleToFade .7s ease both;
    animation: scaleToFade .7s ease both;
}
.owl-goDown-in {
    -webkit-animation: goDown .6s ease both;
    -moz-animation: goDown .6s ease both;
    animation: goDown .6s ease both;
}
/* scaleUp */
.owl-fadeUp-in {
    -webkit-animation: scaleUpFrom .5s ease both;
    -moz-animation: scaleUpFrom .5s ease both;
    animation: scaleUpFrom .5s ease both;
}

.owl-fadeUp-out {
    -webkit-animation: scaleUpTo .5s ease both;
    -moz-animation: scaleUpTo .5s ease both;
    animation: scaleUpTo .5s ease both;
}
/* Keyframes */
/*empty*/
@-webkit-keyframes empty {
    0% {opacity: 1}
}
@-moz-keyframes empty {
    0% {opacity: 1}
}
@keyframes empty {
    0% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}
@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes fadeOut {
    0% { opacity:1; }
    100% { opacity:0; }
}
@-moz-keyframes fadeOut {
    0% { opacity:1; }
    100% { opacity:0; }
}
@keyframes fadeOut {
    0% { opacity:1; }
    100% { opacity:0; }
}
@-webkit-keyframes backSlideOut {
    25% { opacity: .5; -webkit-transform: translateZ(-500px); }
    75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
    100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
}
@-moz-keyframes backSlideOut {
    25% { opacity: .5; -moz-transform: translateZ(-500px); }
    75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
    100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
}
@keyframes backSlideOut {
    25% { opacity: .5; transform: translateZ(-500px); }
    75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
    100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
}
@-webkit-keyframes backSlideIn {
    0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
    75% { opacity: .5; -webkit-transform: translateZ(-500px); }
    100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
}
@-moz-keyframes backSlideIn {
    0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
    75% { opacity: .5; -moz-transform: translateZ(-500px); }
    100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
}
@keyframes backSlideIn {
    0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
    75% { opacity: .5; transform: translateZ(-500px); }
    100% { opacity: 1; transform: translateZ(0) translateX(0); }
}
@-webkit-keyframes scaleToFade {
    to { opacity: 0; -webkit-transform: scale(.8); }
}
@-moz-keyframes scaleToFade {
    to { opacity: 0; -moz-transform: scale(.8); }
}
@keyframes scaleToFade {
    to { opacity: 0; transform: scale(.8); }
}
@-webkit-keyframes goDown {
    from { -webkit-transform: translateY(-100%); }
}
@-moz-keyframes goDown {
    from { -moz-transform: translateY(-100%); }
}
@keyframes goDown {
    from { transform: translateY(-100%); }
}

@-webkit-keyframes scaleUpFrom {
    from { opacity: 0; -webkit-transform: scale(1.5); }
}
@-moz-keyframes scaleUpFrom {
    from { opacity: 0; -moz-transform: scale(1.5); }
}
@keyframes scaleUpFrom {
    from { opacity: 0; transform: scale(1.5); }
}

@-webkit-keyframes scaleUpTo {
    to { opacity: 0; -webkit-transform: scale(1.5); }
}
@-moz-keyframes scaleUpTo {
    to { opacity: 0; -moz-transform: scale(1.5); }
}
@keyframes scaleUpTo {
    to { opacity: 0; transform: scale(1.5); }
}
/*==================== End Owl-Carousel Transition Slide ========================*/


/*==================== Owl-Carousel Images Slide ========================*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none !important;
}

.main-slide{position: relative;}
.main-slide .owl-nav{margin: 0;}
.main-slide .owl-prev,
.main-slide .owl-next{
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    font-size: 60px !important;
    background: none !important;
    color: #fff !important;
}
.main-slide .owl-prev{left: 15px;}
.main-slide .owl-next{right: 15px;}
.main-slide .owl-dots{
    margin: 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
.main-slide .owl-pagination{
    margin: 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
.main-slide.owl-theme .owl-controls .owl-page span{
    margin: 5px;
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 1;
}
.main-slide.owl-theme .owl-controls .owl-page.active span,
.main-slide.owl-theme .owl-controls .owl-page:hover span
{
    background-color: #FF5622;
    opacity: 1;
}
.main-slide.owl-theme .owl-dots .owl-dot span{
    margin: 5px;
    width: 12px;
    height: 12px;
}
.main-slide.owl-theme .owl-dots .owl-dot.active span,
.main-slide.owl-theme .owl-dots .owl-dot:hover span{
    background-color: #FF5622;
}
/*Hiển thị nút trái phải khi dê chuột vào*/
.owl-carousel .owl-buttons{
    visibility: hidden;
}
.owl-carousel:hover .owl-buttons{
    visibility: visible;
}
/*End Hiển thị nút trái phải khi dê chuột vào*/
@media(max-width: 992px){
    .owl-carousel .owl-item img {
        height: 360px;
    }
    .main-slide{position: relative;}
    .main-slide .owl-nav{margin: 0;}
    .main-slide .owl-prev,
    .main-slide .owl-next{
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        font-size: 44px !important;
        background: none !important;
        color: #fff !important;
    }
    .main-slide.owl-theme .owl-controls .owl-page span{
        display: none;
    }
}
@media(max-width: 486px){
    .owl-carousel .owl-item img {
        height: 160px;
    }
}
/*==================== End Owl-Carousel Images Slide ========================*/
/*================ END BANNER IMAGES OWL.CAROUSEL 02 ================*/

