﻿#wrapper {
    width: 320px;
    margin: 0px;
    padding: 0px;
    position: relative;
    top: -22px;
}

#wrapper1 {
    width: 320px;
    margin: 0px;
    padding: 0px;
    position: relative;
    top: -15px;
}

ul#topnav {
    position: absolute;
    top: 13px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-align: left;
}

    ul#topnav li {
        list-style: none;
        margin-left: 20px;
    }

        ul#topnav li.liBegin {
            float: left;
            width: 100px;
            height: 27px;
            color: #0045f4;
            font-weight: bold;
            font-size: 13px;
            text-align: center;
            padding-top: 5px;
            border-bottom: solid 2px #ccc;
        }

ul#topnav1 {
    position: absolute;
    top: -4px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-align: left;
}

    ul#topnav1 li {
        list-style: none;
        margin-left: 20px;
    }

        ul#topnav1 li.liBegin1 {
            float: left;
            width: 100px;
            height: 27px;
            color: #0045f4;
            font-weight: bold;
            font-size: 13px;
            text-align: center;
            padding-top: 5px;
            border-bottom: solid 2px #ccc;
        }

ul#topnav2 {
    position: absolute;
    top: -4px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-align: left;
}

    ul#topnav2 li {
        list-style: none;
        margin-left: 20px;
    }

        ul#topnav2 li.liBegin2 {
            float: left;
            width: 100px;
            height: 27px;
            color: #0045f4;
            font-weight: bold;
            font-size: 13px;
            text-align: center;
            padding-top: 5px;
            border-bottom: solid 2px #ccc;
        }

ul#topnav li.liEnd {
    float: left;
    width: 100px;
    height: 27px;
    color: #fc0303;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    padding-top: 5px;
}

    ul#topnav li.liBegin:hover, ul#topnav li.liEnd:hover {
        color: #000;
    }

ul#topnav1 li.liBegin1:hover, ul#topnav1 li.liEnd:hover {
    color: #000;
}

ul#topnav2 li.liBegin2:hover, ul#topnav2 li.liEnd:hover {
    color: #000;
}

ul#topnav li.liBegin ul.children {
    position: absolute;
    top: 28px;
    left: 0px;
    display: block;
    width: 370px;
    text-align: justify;
    padding-left: 7px;
    padding-top: 7px;
}

ul#topnav li.liBegin:hover ul.children {
    display: block;
}

ul#topnav li.liEnd ul.children {
    position: absolute;
    top: 28px;
    left: 0px;
    display: none;
    width: 370px;
    text-align: justify;
    padding-left: 7px;
    padding-top: 7px;
    background-color: #ffffff;
}

ul#topnav li.liEnd:hover ul.children {
    display: block;
}

ul#topnav li ul.children li {
    height: 62px;
}

ul#topnav li.liBegin ul.children a, ul#topnav li.liEnd ul.children a {
    color: #022bfd;
    text-align: left;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
}

ul#topnav1 li.liBegin1 ul.children1 a, ul#topnav1 li.liEnd ul.children1 a {
    color: #022bfd;
    text-align: left;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
}

ul#topnav2 li.liBegin2 ul.children2 a, ul#topnav2 li.liEnd ul.children2 a {
    color: #022bfd;
    text-align: left;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
}

ul#topnav li.liBegin ul.children a:hover, ul#topnav li.liEnd ul.children a:hover {
    color: #087c31;
    text-align: left;
}


ul#topnav1 li.liBegin1 ul.children1 {
    position: absolute;
    top: 18px;
    left: 0px;
    display: block;
    width: 430px;
    text-align: justify;
    padding-left: 7px;
    padding-top: 12px;
}

ul#topnav2 li.liBegin2 ul.children2 {
    position: absolute;
    top: 25px;
    left: 0px;
    display: block;
    width: 420px;
    text-align: justify;
    padding-left: 7px;
    padding-top: 12px;
}

@media only screen and (max-width: 540px) {
    ul#topnav1 li.liBegin1 ul.children1 {
        position: absolute;
        top: 15px;
        left: -8px;
        display: block;
        width: 370px;
        text-align: justify;
        padding-left: 7px;
        padding-top: 12px;
    }

    ul#topnav2 li.liBegin2 ul.children2 {
        position: absolute;
        top: 15px;
        left: -8px;
        display: block;
        width: 420px;
        text-align: justify;
        padding-left: 7px;
        padding-top: 12px;
    }

    #wrapper {
        width: 320px;
        height: 400px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: -22px;
    }

    #wrapper_Videokhac {
        width: 320px;
        height: 350px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: 5px;
    }

    #wrapper_Hinhanhkhac {
        width: 320px;
        height: 340px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: 5px;
    }

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 48%;
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }

    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
    }

   
    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 200px;*/
        width: 100%;
    }

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

    /*
         #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }

    #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }

        #divnumberflex {
        padding: 0px;
        margin: 1px;
        margin-top: -243px;
        text-align: right;
    }

    #divtitlebax {
        color: #ffffff;
        font-weight: bold;
        background-color: #333;
        opacity: 80%;
        top: 172px;
        left: 0px;
        padding: 5px;
        height: 45px;
        overflow: hidden;
        position: relative;
    }*/

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }*/

    /*.topBlocknews12 a {
        font-weight: 700px;
        color: red;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        max-width: 280px;
        margin-top: -8px;
    }*/
}

@media only screen and (max-width: 600px) {
    

    ul#topnav1 li.liBegin1 ul.children1 {
        position: absolute;
        top: 15px;
        left: -8px;
        display: block;
        width: 370px;
        text-align: justify;
        padding-left: 7px;
        padding-top: 12px;
    }

    ul#topnav2 li.liBegin2 ul.children2 {
        position: absolute;
        top: 15px;
        left: -8px;
        display: block;
        width: 420px;
        text-align: justify;
        padding-left: 7px;
        padding-top: 12px;
    }

    #wrapper {
        width: 320px;
        height: 400px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: -22px;
    }

    #wrapper_Videokhac {
        width: 320px;
        height: 350px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: 5px;
    }

    #wrapper_Hinhanhkhac {
        width: 320px;
        height: 340px;
        margin: 0px;
        padding: 0px;
        position: relative;
        top: 5px;
    }

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 48%;
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }

    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
    }





    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 200px;*/
        width: 100%;
    }

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

    /*
        #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }
          #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }
        #divnumberflex {
        padding: 0px;
        margin: 1px;
        margin-top: -243px;
        text-align: right;
    }

    #divtitlebax {
        color: #ffffff;
        font-weight: bold;
        background-color: #333;
        opacity: 80%;
        top: 172px;
        left: 0px;
        padding: 5px;
        height: 45px;
        overflow: hidden;
        position: relative;
    }*/

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }

    .topBlocknews12 a {
        font-weight: 700px;
        color: red;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        max-width: 280px;
        margin-top: -8px;
    }*/
}

@media only screen and (max-width: 1200px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }



    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    /*#imgflex {
            width: 100%;
            height: 240px;
            cursor: pointer;
            margin: 0px;
            padding: 0px !important;
            margin-right: 5px;
            margin-bottom: 5px;
            border: solid 1px #f0f0f0;
            box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        }

        #imgflexdiv {
            height: 240px;
            margin: 0px;
            padding: 0px !important;
            border: none;
        }
            #divnumberflex {
            padding: 0px;
            margin: 1px;
            margin-top: -243px;
            text-align: right;
        }

        #divtitlebax {
            color: #ffffff;
            font-weight: bold;
            background-color: #333;
            opacity: 80%;
            top: 172px;
            left: 0px;
            padding: 5px;
            height: 45px;
            overflow: hidden;
            position: relative;
        }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }

    .bieudo {
        width: 100%;
    }

    /*.topBlocknews12 {
            padding: 8px 5px;
            text-transform: uppercase;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            background: url('/Skin/images/titteBoxBg.png') bottom left no-repeat;
            height: 90px;
            line-height: 30px;
            text-align: left;
            color: #ffffff;
            
        }

            .topBlocknews12 a {
                color: #ffffff;
                text-overflow: ellipsis;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow: hidden;
                max-width: 280px;
                margin-top: 50px;
                MARGIN-LEFT: 35PX;
            }

                .topBlocknews12 a:hover {
                    color: #ffff00;
                }*/

    .blockNewsMore1 {
        /*top: 10px;*/
        left: -10px;
        height: 5px;
        position: relative;
        list-style-image: url('/images/bullet.png') !important;
    }

    .cssVideoBorder {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 180px;
    }

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }*/
}

@media only screen and (max-width: 768px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }

    #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }

    #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    /*#divnumberflex {
            padding: 0px;
            margin: 1px;
            margin-top: -243px;
            text-align: right;
        }

        #divtitlebax {
            color: #ffffff;
            font-weight: bold;
            background-color: #333;
            opacity: 80%;
            top: 172px;
            left: 0px;
            padding: 5px;
            height: 45px;
            overflow: hidden;
            position: relative;
        }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }

    .cssVideoBorder {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 280px;
    }

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }*/
}



@media only screen and (max-width: 992px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }

    #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }

    #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    #divnumberflex {
        padding: 0px;
        margin: 1px;
        margin-top: -243px;
        text-align: right;
    }

    /*#divtitlebax {
            color: #ffffff;
            font-weight: bold;
            background-color: #333;
            opacity: 80%;
            top: 172px;
            left: 0px;
            padding: 5px;
            height: 45px;
            overflow: hidden;
            position: relative;
        }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }

    .cssVideoBorder {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 280px;
    }

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }*/
    /*.topBlocknews12 a {
        font-weight: 700px;
        color: red;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        max-width: 280px;
        margin-top:-8px;
    }*/
}

@media only screen and (max-width: 375px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
        /*height: 80px;*/
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }


    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    /*
        
    #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }

    #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }

        #divnumberflex {
        padding: 0px;
        margin: 1px;
        margin-top: -243px;
        text-align: right;
    }

    #divtitlebax {
        color: #ffffff;
        font-weight: bold;
        background-color: #333;
        opacity: 80%;
        top: 172px;
        left: 0px;
        padding: 5px;
        height: 45px;
        overflow: hidden;
        position: relative;
    }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }

    .bieudo {
        width: 100%;
    }
    /*.cssVideoBorder {
            padding: 4px;
            border: solid 1px #f0f0f0;
            box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
            min-width: 100%;
            height: 180px;
        }*/

    img {
        max-width: 100%;
        margin-top: -8px;
    }

    .topBlocknews12 a {
        font-weight: 700px;
        color: red;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        max-width: 280px;
        margin-top: -8px;
    }
}

@media only screen and (max-width: 415px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
        /*height: 80px;*/
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }

    #imgflex {
        width: 100%;
        height: 240px;
        cursor: pointer;
        margin: 0px;
        padding: 0px !important;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    }

    #imgflexdiv {
        height: 240px;
        margin: 0px;
        padding: 0px !important;
        border: none;
    }

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    /*#divnumberflex {
            padding: 0px;
            margin: 1px;
            margin-top: -243px;
            text-align: right;
        }

        #divtitlebax {
            color: #ffffff;
            font-weight: bold;
            background-color: #333;
            opacity: 80%;
            top: 172px;
            left: 0px;
            padding: 5px;
            height: 45px;
            overflow: hidden;
            position: relative;
        }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }

    /*img {
        max-width: 100%;
        margin-top: -8px;
    }*/

   
}


@media only screen and (max-width: 820px) {

    .adsFooter1 {
        display: inline;
        border: solid 1px #f0f0f0;
        /*padding: 1px;*/
        /*margin-top: 8px;*/
        width: 47%;
        /*height: 80px;*/
    }

        .adsFooter1 img {
            width: 250px;
            height: 80px;
        }

    .adsFooter {
        display: inline;
        border: solid 1px #f0f0f0;
        padding-top: 2px;
        width: 100%;
    }


    .boxtintrangchu1 {
        min-height: 170px;
        height: auto;
        margin-left: 0px;
    }

    /*#imgflex {
            width: 100%;
            height: 240px;
            cursor: pointer;
            margin: 0px;
            padding: 0px !important;
            margin-right: 5px;
            margin-bottom: 5px;
            border: solid 1px #f0f0f0;
            box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        }

        #imgflexdiv {
            height: 240px;
            margin: 0px;
            padding: 0px !important;
            border: none;
        }*/

    .ads {
        border: solid 1px #ddd;
        margin-bottom: 5px;
        width: 100%;
        height: auto;
    }

        .ads img {
            width: 100%;
        }

    .carousel-inner > .item > img {
        display: block;
        min-width: 100%;
        /*height: 500px;*/
        width: 100%;
    }

    .listnews img {
        width: 100%;
        height: 80px;
        border: solid 1px #f0f0f0;
        padding: 2px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }

    /*#divnumberflex {
            padding: 0px;
            margin: 1px;
            margin-top: -243px;
            text-align: right;
        }

        #divtitlebax {
            color: #ffffff;
            font-weight: bold;
            background-color: #333;
            opacity: 80%;
            top: 172px;
            left: 0px;
            padding: 5px;
            height: 45px;
            overflow: hidden;
            position: relative;
        }*/

    .imgBorder2 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 100px;
    }

    .imgBorder3 {
        padding: 2px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 190px;
    }

    .adsFooter4 {
        display: inline;
        height: 100px;
        min-width: 40%;
    }

    .cssImgBorder1 {
        padding: 4px;
        border: solid 1px #f0f0f0;
        box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
        min-width: 100%;
        height: 90px;
    }

    .titleTopNews {
        color: #ffffff;
        font-weight: bold;
        /*background-color: #333;*/
        opacity: 80%;
        top: -6px;
        padding: 5px;
        height: 50px;
        width: 98.5%;
        left: 3px;
        overflow: hidden;
        position: relative;
    }

        .titleTopNews a {
            font-family: Arial;
            font-size: 13px;
            font-weight: bold;
            color: #ffffff;
            text-decoration: none;
        }

            .titleTopNews a:hover {
                color: #cc0000;
            }

    .timkiemvideo {
        height: 33px;
        margin-top: 0px;
    }

    .adsCfso {
        min-width: 100%;
    }
    /*.cssVideoBorder {
            padding: 4px;
            border: solid 1px #f0f0f0;
            box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
            min-width: 100%;
            height: 180px;
        }*/
}
}
