img {
    height: auto;
    max-width: 100% ;
}

.hidden_large {
    display: none;
}
@media (max-width: 1024px) {
    .hidden_mobile {
        display: none !important
    }
    .hidden_large {
        display: block;
    }
    .container {
        width: 100%;
        padding: 60px 15px 0 15px;
        box-sizing: border-box;
    }
    #content_right{
        width: 100%;
    }
    #content_left{
        width: 100%;
    }
    .caption_cate {
        top: 18px;
        text-transform: uppercase;
        right: 50px;
        position: absolute;
        z-index: 99;
    }
    #tooltip{
        display: none !important;
    }
    #footer table{
        width: 100%;
    }
    .cart-res{
        position: absolute;
        z-index: 999999;
        top: 15px;
        right: 50px;
    }
    .cart-res a{
        background: url('../img/shopping_cart.png') no-repeat left center;
        width: 40px;
        color: #f81b00;
        text-indent: 23px;
        padding: 0 2px;
        display: block;
        font-weight: 600;
    }
    .search-res{
        position: absolute;
        z-index: 999999;
        top: 8px;
        right: 100px;
    }
    .btn-srch {
        display: inline-block;
    }
    .search-box {
        position: relative;   
        margin-right: 10px;
    }
    .frm-search {
        display: inline-block;
        background: #81b8f9;
        padding: 8px;
        border-radius: 3px;    
        position: absolute;    
        right: -10px;
        top: 98%;
        display: none;
    }

    .frm-search input[type="submit"] {
        position: absolute;
        right: 0;
        top: 0;
        height: 25px;
        width: 25px;
        background: url('../img/icon_search.png') no-repeat center;
        background-size: 15px;
        border: 0px;
        outline: 0;

    }

    .frm-search input[type="text"] {
        height: 25px;
        padding: 3px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        border-radius: 2px;
    }

    .frm-search form {
        position: relative;
    }
    .frm-search:before{
        position: absolute;
        border-top: 0 solid transparent;
        border-bottom: 10px solid #81b8f9;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        content: '';    
        top: -10px;
        right: 20px;
    }
}

@media (max-width: 980px) {
    .wrap-item{
        width: 33.33%
    }
    .wrap-item:nth-of-type(n){
        clear: none;
    }
    .wrap-item:nth-of-type(3n+1){
        clear: both;
    }
}

@media (max-width: 768px) {


    .wrap-widget{
        width: 50%;
    }
    .wrap-widget:nth-of-type(n){
        clear: none;
    }
    .wrap-widget:nth-of-type(2n+1){
        clear: both;
    }

    .single_product_image,
    .single_product_info{
        width: 100%;
        display: block;
        padding: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .wrap-item{
        width: 50%
    }
    .wrap-item:nth-of-type(n){
        clear: none;
    }
    .wrap-item:nth-of-type(2n+1){
        clear: both;
    }
    #product .thumb{
        width: 100%;
        margin-bottom: 10px;
    }
    #product .info{
        width: 100%;
        padding-left: 0;
    }
    #contact-page .inline{
        text-align: left;
    }
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        margin-bottom: 20px;
    }
    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .panel_body table{
        width: 100%;
    }
    #footer table td{
        width: 50%;
        display: block;
        margin-bottom: 10px;
    }
    #tbl_cart table,
    #tbl_cart thead,
    #tbl_cart tbody,
    #tbl_cart th,
    #tbl_cart td,
    #tbl_cart tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    
    #tbl_cart thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    #tbl_cart tr {
        border-bottom: 1px solid #ccc;
    }
    #tbl_cart td select{width: 50px;}
    #tbl_cart tr:nth-of-type(2n+1){background: #fff}
    #tbl_cart td {
        /* Behave  like a "row" */
        
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        white-space: normal;
        text-align: left;
        min-height: 30px;
    }
    #tbl_cart td:before {
        /* Now like a table header */
        
        position: absolute;
        /* Top/left values mimic padding */
        
        top: 6px;
        left: 6px;
        /*width: 45%;*/
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    /*
    Label the data
    */
    
    #tbl_cart td:before {
        content: attr(data-title);
    }

    #tbl_info th{
        width: 100%;
        display: block;
        text-align: left;
    }
    #tbl_info td{
        width: 100%;
        display: block;
    }
    #tbl_info input, #tbl_info textarea{
        width: 200px;
    }
    .row .large-3, .row .large-9{
        width: 100%;
    }
    .row .large-3{
        text-align: left;
    }
    .columns input[type="text"], .columns textarea{
        width: 100%;
    }
}

@media (max-width: 480px) {
    #tbl_contact th, 
    #tbl_contact td{
        width: 100%;
        display: block;
        text-align: left;
    }
}
@media (max-width: 360px){
    .wrap-item{
        width: 100%
    }
    .txt, .txta {
        width: 100%;
        box-sizing: border-box;
    }
}
@media (max-width: 320px) {
    #tbl_contact input[type="text"],
    #tbl_contact textarea {
        width: 100%;
        box-sizing: border-box;
    }
}
