@media screen and (max-width:640px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: 100% !important
    }

    .nav {
        display: block;
        clear: both;
    }

    .wrapper:after {
        display: block;
        clear: both;
        content: "";
    }

    .fm-container {
        border: solid #292929;
        border-width: 1px 0;
        background: #333 url('../images/bg-nav_gradient.png?1380865101') repeat-x
    }

    .fm-button {
        display: none;
        box-sizing: border-box;
        margin: 2px 0 2px 20px;
        padding: 14px;
        width: 52px;
        border-radius: 3px
    }

    .fm-button:hover {
        cursor: pointer;
        background-color: #555;
        -webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3)
    }

    .fm-button:hover .fm-bar {
        background-color: #fff
    }

    .fm-button .fm-bar {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 1px;
        background-color: #dfdfdf
    }

    .fm-button .fm-bar {
        margin-top: 4px
    }

    .flexmenu:before,
    .flexmenu:after {
        display: table;
        content: " "
    }

    .flexmenu:after {
        clear: both
    }

    .flexmenu a {
        text-decoration: none
    }

    .flexmenu.fm-toggle.fm-sm {
        display: none
    }

    .fm-outer {
        position: relative;
        overflow: hidden;
        height: 100%;
        width: 100%
    }

    .fm-inner {
        position: relative;
        height: 100%;
        width: 100%;
        left: 0
    }

    .fm-inner.open {
        left: 70%
    }

    .fm-inner.open .flexmenu.fm-sm {
        left: 0
    }

    .flexmenu.fm-offcanvas.fm-sm {
        z-index: 100;
        overflow-y: auto;
        overflow-x: hidden;
        position: fixed;
        top: 0;
        left: -70%;
        width: 70%;
        height: 100%;
        -webkit-box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.3);
        box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.3);
        background: #333
    }

    .flexmenu.fm-sm ul {
        margin: 0;
        padding: 0;
        list-style: none
    }

    .flexmenu.fm-sm ul li {
        position: relative
    }

    .flexmenu.fm-sm ul li a {
        display: block;
        padding: 14px 15px;
        font-size: 16px;
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
        color: #ccc
    }

    .flexmenu.fm-sm ul li a:hover,
    .flexmenu.fm-sm ul li a.active {
        color: #fff;
        text-decoration: none
    }

    .flexmenu.fm-sm ul li {
        border-top: 1px solid #4d4d4d;
        border-bottom: 1px solid #1a1a1a
    }

    .flexmenu.fm-sm ul li a {
        background-color: #333
    }

    .flexmenu.fm-sm ul li a:hover,
    .flexmenu.fm-sm ul li a.active {
        background-color: #262626
    }

    .flexmenu.fm-sm ul ul li {
        border-top: 1px solid #6e6e6e;
        border-bottom: 1px solid #3b3b3b
    }

    .flexmenu.fm-sm ul ul li a {
        background-color: #555
    }

    .flexmenu.fm-sm ul ul li a:hover,
    .flexmenu.fm-sm ul ul li a.active {
        background-color: #484848
    }

    .flexmenu.fm-sm ul ul li ul li {
        border-top: 1px solid #919191;
        border-bottom: 1px solid #5e5e5e
    }

    .flexmenu.fm-sm ul ul li ul li a {
        background-color: #777
    }

    .flexmenu.fm-sm ul ul li ul li a:hover,
    .flexmenu.fm-sm ul ul li ul li a.active {
        background-color: #6a6a6a
    }

    .flexmenu.fm-sm .navicon {
        position: absolute;
        top: 0;
        right: 2px;
        height: 50px;
        width: 50px;
        border-radius: 5px;
        -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
        background: url('../images/bg-nav_gradient.png?1380865101') repeat-x
    }

    .flexmenu.fm-sm .navicon:hover {
        cursor: pointer
    }

    .flexmenu.fm-sm .navicon:after {
        border: 5px solid transparent;
        border-top-color: #888;
        content: "";
        position: absolute;
        right: 18px;
        top: 25px
    }

    .fm-inner:after {
        clear: both;
        content: "";
        display: block;
    }

    #header .inner-header,
    #header .top,
    #header .top > div {
        float: inherit !important;
        display: block !important;
        width: auto !important;
        max-width: 100%;
        height: auto !important;
    }

    body  #header .top .hidden-xs,
    body .hidden-xs,
    #header embed.banner,
    .addthis-smartlayers {
        display: none !important;
    }

    #search {
        padding: 0px;
    }

    #search .search {
        display: block;
        float: inherit;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    #search .search li {
        display: inline-block;
        float: inherit;
        position: relative;
        vertical-align: top;
        text-align: center;
    }

    #search .search li.inputbox-li {
        width: 89%;
    }

    #search .search li.button-li {
        width: 9%
    }

    #search .search li .inputbox {
        height: 32px !important;
    }

    #search .search li .inputbox,
    #search .search li .button {
        display: block;
        float: inherit;
        max-width: 100%;
    }

    #search .search li .button {
        padding: 0px;
        margin-left: -4px;
    }

    #header .top .time {
        display: block;
        margin: 0px;
        padding: 0px 0px 10px 0px;
    }

    #header .top .time #theClock {
        display: block;
        text-align: center !important;
    }

    #header .name {
        display: block;
        position: relative;
        width: auto;
        max-width: 100%;
        float: inherit;
        height: auto;
        display: -webkit-box !important;
        display: -moz-box !important;
        display: -ms-flexbox !important;
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: row !important;
        -ms-flex-direction: row !important;
        flex-direction: row !important;
        -webkit-flex-wrap: wrap !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        -webkit-box-pack: center !important;
        -moz-box-pack: center !important;
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        -webkit-box-align: center !important;
        -moz-box-align: center !important;
        -webkit-align-items: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    #header .name img.banner {
        max-width: 100%;
        height: auto;
        position: relative;
    }

    #header .name img.fire2 {
        position: absolute;
        top: 0px;
        right: 10px;
        max-width: 20%;
    }

    #container {
        display: block;
        position: relative;
        max-width: 100%;
    }

    #main {
        width: auto;
        max-width: 100%;
        margin: 0px;
        float: inherit;
        display: flex;
        flex-wrap: wrap;
    }

    #main .pull-left {
        order: 1;
        width: 100%;
        float: unset;
    }

    #main .pull-left .row
    {
        float: unset;
    }
    #main .row2,
    #vertical .jcarousel-skin-tango .jcarousel-container-vertical,
    #vertical .jcarousel-skin-tango .jcarousel-item,
    #vertical .jcarousel-skin-tango .jcarousel-clip-vertical,
    #main .row2 .slide .title
    {
        width: 100%;
    }


    #main .row2 .slide .aside img
    {
        width: 100%;
        object-fit: cover;
    }

    #main .pull-right {
        display: block;
        position: relative;
        width: inherit;
        max-width: 100%;
        float: inherit;
        margin: 10px;
    }

    #main .pull-right .row2,
    #main .pull-right .row1,
    #main .pull-right .row2 .content {
        float: inherit;
        display: block;
        max-width: 100%;
        position: relative;
        width: inherit;
        min-width: 200px;
    }

    #main .row2 .slide .aside
    {
        float: unset;
    }

    #footer {
        background: #3b83c6;
        padding-top: 15px;
    }

    #footer .inner-footer {
        width: inherit;
        max-width: 100%;
        display: block;
        float: inherit;
        padding: 0px;
        margin: 0px;
        height: auto;
    }

    #footer .inner-footer .nav {
        display: none !important;
    }

    #footer .document {
        position: relative;
        float: inherit;
        width: inherit;
        max-width: 100%;
        font-size: 11px;
    }

    #footer .document p {
        line-height: 1.2em;
        padding: 0px 5px 0px 10px;
    }

    #footer .nambovn {
        position: relative;
        display: block;
        bottom: inherit;
        right: inherit;
        text-align: center;
        width: 100%;
        padding: 10px;
        background: #415a00;
    }

    #main .pull-center {
        width: inherit;
        position: relative;
        float: inherit;
        max-width: 100%;
        margin: 0px;
        padding: 0px;
        display: block;
    }

    #main .pull-center:after {
        content: "";
        display: block;
        clear: both;
    }

    #main .row3,
    #main .row4 {
        display: block;
        position: relative;
        float: inherit;
        width: inherit;
        max-width: 100%;
    }

    #main .row4 li,
    #main .product-other li {
        display: inline-block;
        position: relative;
        float: inherit;
        width: 47.5%;
        margin: 10px 0.5%;
        background: none;
        height: auto;
        vertical-align: top;
    }

    #main .row4 li .tooltip a,
    #main .product-other li .tooltip a {
        position: relative;
        display: block;
        padding: 6px 6px 20px 6px;
    }

    #main .row4 li img,
    #main .product-other li img {
        max-width: 100%;
        margin: 0px;
    }

    #main .row3 a.xemthem {
        position: relative;
        display: block;
        bottom: inherit;
        top: inherit;
        width: inherit;
        padding: 10px;
        text-align: right;
    }

    #main .row3 h1,
    #main .row3 h2 {
        display: block;
        float: inherit;
        width: inherit;
    }

    #main .row4 li div.button,
    #main .product-other li div.button {
        display: block;
        vertical-align: top;
        float: inherit;
        width: inherit;
        text-align: center;
        width: 100%;
    }

    #main .row4 li div.button > a,
    #main .product-other li div.button > a {
        display: inline-block !important;
        float: inherit !important;
        margin: 2px 5px !important;
        width: 48%;
    }

    #main .tenloai {
        float: inherit;
        display: block;
    }

    body #unitip {
        display: none !important;
    }

    #facebook {
        position: relative;
    }

    #main .row5,
    #main .pull-center .row,
    #main .title,
    #main .document2 {
        width: inherit;
        max-width: 99%;
        position: relative;
        display: block;
        float: inherit;
    }

    .menu-simple-tab {
        width: inherit;
        max-width: 99%;
        position: relative;
        display: block;
        float: inherit;
    }

    #main .pull-center img {
        max-width: 99%;
        height: auto !important;
    }

    #thaison-1 {
        width: 100%!important;
        height: auto!important;
    }

    #main .row4 img {
        height: 95px !important;
    }

    #main .aside {
        margin: 10px;
    }

    #hinhanh div.content {
        display: block;
        position: relative;
        max-width: 99%;
        margin: 0px !important;
        float: inherit !important;
    }

    #hinhanh div.content * {
        max-width: 99%;
        float: inherit;
    }

    #hinhanh div.slideshow-container,
    #hinhanh div.slideshow a.advance-link {
        height: auto !important;
        line-height: inherit !important;
    }

    #hinhanh div.slideshow span.image-wrapper {
        position: relative !important;
    }

    #hinhanh div.navigation {
        max-width: 99%;
        width: inherit !important;
    }

    #hinhanh ul.thumbs {
        display: block;
        text-align: center;
    }

    #hinhanh ul.thumbs li {
        position: relative;
        display: inline-block;
        float: inherit !important;
        vertical-align: top;
        width: 49.9%;
    }

    #main form.contact,
    form.contact .row_contact1,
    form.contact .row_contact2,
    form.contact .row_contact2 input,
    form.contact .row_contact1 label {
        width: auto !important;
        display: block;
        float: inherit !important;
        max-width: 100%;
        position: relative;
        padding: 0px !important;
    }

    form.contact .row_contact2 {
        display: block !important;
        width: 99% !important;
    }

    form.contact .row_contact1 label {
        padding-top: 10px !important;
    }

    #main form.contact {
        padding: 15px !important;
    }

    #footer .fpyoutube img,
    #footer .fpfacebook img,
    #footer .tiktok img {
        margin-left: 7px !important;
        margin-bottom: 5px !important;
    }

}

@media screen and (min-width:640px) {

	.col-sm-7 {
        width: calc(58.33333333% - 10px) !important;
        padding: 5px !important;
        float: left;
    }

    .col-sm-6 {
        width: calc(50% - 10px) !important;
        padding: 5px !important;
        float: left;
    }

    .col-sm-5 {
        width: calc(41.66666667% - 10px) !important;
        padding: 5px !important;
        float: left;
    }

    .col-sm-4 {
        width: calc(33.333333% - 10px) !important;
        padding: 5px !important;
        float: left;
    }

    .col-md-6 {
        width: calc(50% - 10px) !important;
        padding: 5px !important;
        float: left;
    }

    

}

@media screen and (max-width:767.98px)
{
    .col-xs-12 {
        width: calc(100% - 10px) !important;
        padding: 5px !important;
        float: left;
    }
}
