img {
    height: auto !important;
    max-width: 100% !important;
}

.hidden_large {
    display: none;
}
@media (max-width: 1024px) {
    #sb-site, .sb-site-container {
        background: #FFF;
    }
    .hidden_mobile {
        display: none !important
    }
    .hidden_large {
        display: block;
    }
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    #header{
        margin-bottom: 10px;
    }
    #logo{
        float: none;
        text-align: center;
    }
    #logo img{
        float: none;
    }
    .content_right{
        width: 100%;
        padding: 0;
    }
    .content_left{
        width: 100%;
        padding: 0;
    }
    .top-res .cart_panel {
        right: 120px;
        top: 5px;
        position: absolute;
        z-index: 99999;
        display: inline-block;
        background: url(../img/icon_cart.png) left center no-repeat;
        background-size: 40px;
        width: 40px;
        height: 40px;
    }
    .top-res .cart_panel .cart_box{
        position: relative;
    }
    .top-res .cart_panel .cart_box a{
        width: 22px;
        height: 22px;
        line-height: 22px;
        background: #f5f5f5;
        display: block;
        text-align: center;
        border-radius: 50%;
        font-size: 12px;
        color: #ff0000;
        position: absolute;
        top: 0px;
        right: -12px;
    }

    .search-res{
        position: absolute;
        z-index: 999999;
        top: 10px;
        right: 65px;
    }
    .btn-srch {
        display: inline-block;
    }
    .search-box {
        position: relative;   
        height: 32px;
        padding: 0;
    }
    .frm-search {
        display: inline-block;
        background: #157efb;
        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: 0;
        border-radius: 2px;
        outline: 0;
        width: 200px;
    }

    .frm-search form {
        position: relative;
    }
    .frm-search:before{
        position: absolute;
        border-top: 0 solid transparent;
        border-bottom: 10px solid #157efb;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        content: '';    
        top: -10px;
        right: 20px;
    }
    .caption_cate {
        top: 18px;
        text-transform: uppercase;
        right: 50px;
        position: absolute;
        z-index: 99;
    }
    #tooltip{
        display: none !important;
    }
    #footer table{
        width: 100% !important;
    }
    
}

@media (max-width: 980px) {
    .wrap-3,
    .wrap-4,
    .wrap-5{
        width: 33.33%
    }
    .wrap-3:nth-of-type(n),
    .wrap-4:nth-of-type(n),
    .wrap-5:nth-of-type(n){
        clear: none;
    }
    .wrap-3:nth-of-type(3n+1),
    .wrap-4:nth-of-type(3n+1),
    .wrap-5:nth-of-type(3n+1){
        clear: both;
    }
}

@media (max-width: 768px) {
	.outer-social{
		left: 0px !important;
	}
	.list-social li a, #nutzalo, .btn-social {
		width: 25px !important;
		height: 25px !important;
	}
	.list-social .icon {
		width: 20px !important;
		height: 20px !important;
	}
	.icon-chat {
		width: 20px !important;
		height: 20px !important;
		background-size: 20px !important;
		margin: 0 0 10px 0;
	}
    #histats_counter{
        margin-left: 10%;
    }

}

@media (max-width: 640px) {
    .wrap-3,
    .wrap-4,
    .wrap-5{
        width: 50%
    }
    .wrap-3:nth-of-type(n),
    .wrap-4:nth-of-type(n),
    .wrap-5:nth-of-type(n){
        clear: none;
    }
    .wrap-3:nth-of-type(2n+1),
    .wrap-4:nth-of-type(2n+1),
    .wrap-5:nth-of-type(2n+1){
        clear: both;
    }
    .wrap-2{
        width: 100%;
    }
    #product_img{
        width: 100%;
        margin-bottom: 10px;
    }
    #product_info{
        width: 100%;
        padding-left: 0;
    }
    .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: 100% !important;
        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){
    .txt, .txta {
        width: 100%;
        box-sizing: border-box;
    }
}
@media (max-width: 320px) {
    .wrap-3,
    .wrap-4,
    .wrap-5{
        width: 100%
    }
    #tbl_contact input[type="text"],
    #tbl_contact textarea {
        width: 100%;
        box-sizing: border-box;
    }
}
