@media all and (max-width: 1540px){
    .centered{
        padding: 0 15px;
    }
    
    #wrap .centered{
        padding: 0;
    }
    
    #sidebar{
        width: 25%;
    }

    #content,#content.basket {
        width: 75%;
    }
    
    #content > .padding {
        padding: 30px 30px 30px 0;
    }
    
    aside.special-offer-aside{
        width: 100%;
    }
    
    aside.special-offer-aside > .padding{
        padding: 30px 0 0;
    }
    
    #topproducts{
        border:none;
        border-radius: 0;
        -moz-border-radius:0;
        -webkit-border-radius:0;
        border-top:1px solid #ccc;
    }
    
    .topproduct{
        width:33%;
    }
    
    .topproduct .img{
        min-height: 126px;
    }
    
    #special-offers ul.products-list.gallery li{
        width:32%;
        margin-right: 1%;
    }
    
    #special-offers ul.products-list.gallery .desc-wrap{
	width: 70%;
    }

    /*.navbar .centered{
        padding: 0 30px;
    }*/
}

@media all and (max-width: 1280px) {
    .team .item{width: 25%;}
    form.standart dl.info dd#delivery-div {
        margin-left: 25%;
    }
}

@media all and (max-width: 1060px) {
    .team .item{width: 33%;}
}

@media all and (max-width: 990px){
    .hide-s{
        display: none;
    }
    
    .centered.top-menu{
        padding: 0;
    }
}

@media all and (max-width: 970px){
    
    #sidebar{
        width: 35%;
    }

    #content,#content.basket {
        width: 65%;
    }
    
    ul.products-list.gallery li{
        width: 48%;
    }
    
    #categories-filter{
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media all and (max-width: 900px){
    #header{
        position: relative;
    }
    
    #header .logo{
        padding-bottom: 15px;
    }
    
    .top-menu .toggle-menu{
        display: block;
        font-size: 40px;
        color: #fff;
        position: absolute;
        left: 13px;
        cursor: pointer;
        top: 27px;
        line-height: 100%;
    }
    
    .top-menu nav{
        position: absolute;
        left: -200%;
        top: 91px;
        margin: 0;
        color: #25b;
        height: auto;
        width: 100%;
        z-index: 30;
        transition: left 0.6s;
    }
    
    .top-menu nav.open {
        left: 0;
        box-shadow: 0px 3px 10px #8E8E8E;
    }
    
    .top-menu nav ul{
        display: table;
        margin: 0;
        padding: 0;
        position: relative;
        width: 100%;
    }
    
    #mainmenu li{
        display: block;
        border-bottom: 1px solid #25b;
        width: 100%;
        float: none;
        text-align: center;
        margin: 0;
        
        background: #fff;
        transition: background 0.1s ease;
    }
    
    #mainmenu li.active,
    #mainmenu li:hover{
        background: #98B2E6;
    }
    
    #mainmenu li > a {
        color:#25b;
        padding: 0 15px;
        display:block;
        transition: color 0.3s ease;
    }
    
    #mainmenu a:hover{
        color:#25b;
    }
    
    #header-bottom .admcp-link-wrap{
        width: 30%;
    }
    
    #header-bottom .search{
        width: 70%;
    }
    
    #header-bottom .search input[type=text]{
        width: 80%;
        padding: 7px 0;
    }
    
    #header-bottom .search button{
        width: 18%;
        padding: 7px 0;
    }
    
    #header-bottom .admcp-link-wrap a.admcp-link:nth-child(n+2){
        margin-left: 10px;
    }
    .container .main .content .goodslist .goods,
    .main-page.categories .item{
        width: 32%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }
    
    #special-offers ul.products-list.gallery li{
        width: 48%;
    }
    
    #special-offers ul.products-list.gallery li:last-child{
        display:none;
    }
    
    .topproduct .padding {
        padding: 5px;
    }
    
    #content input[type="text"] {
        padding: 7px;
    }
    
    .basket .info.user-info, .basket .info.delivery-method{width: 100%;}
}

@media all and (max-width: 815px) {
    .team .item{width: 50%;}
    ul.products-list.gallery li {
        width: 98%;
    }
    
    #categories-filter{
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media all and (max-width: 700px){
    
    #sidebar{
        width: 45%;
    }

    #content, #content.basket {
        width: 55%;
    }
    
    ul.products-list.gallery li{
        width: 98%;
    }
    
    .schedulle{
        width: 100%;
        text-align: right;
    }
    
    #header .logo {
        padding-top: 15px;
    }
    
    .top-menu nav{
        top: 128px;
    }
    
    #header .phone{
        margin: 0 0 0 5px;
    }
    
    .top-menu .toggle-menu{
        top:58px;
    }
}

@media all and (max-width: 680px) {
    .team .item{width: 100%;}
    
    .topproduct{
        width: 48%;
    }
    
    .topproduct:last-child{
        display:none;
    }
}
@media all and (max-width: 640px) {
    #footer .made-by{
        float:none;
        margin-left: 30px;
    }
    
    #footer .counters{
        margin-left:0;
    }
    
    #sidebar.basket,
    #content.basket {
        width: 100%;
    }
    
    .sidebar.basket .padding {
        padding: 30px;
    }
    
    #sidebar.basket .h1_razdel_cataloga{
        -moz-border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        border-radius: 8px 8px 0 0;
    }
    
    .sidebar.basket #categories-tree{
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
    }
}

@media all and (max-width: 500px){
    .schedulle,
    #header .phone{
        font-size: 0.85em;
    }
    
    
    #header-bottom .search input[type=text]{
        width: 65%;
    }
    
    #header-bottom .search button{
        width: 32%;
    }
    
    #sidebar,
    #content,
    #content.basket,
    .topproduct,
    #special-offers ul.products-list.gallery li,
    #content.product #main-image,
    #product-gallery{
        width: 100%;
        float:none;
    }
    
    .topproduct:last-child,
    #special-offers ul.products-list.gallery li:last-child{
        display:inline-block;
    }
    
    .container .main .content .goodslist .goods,
    .main-page.categories .item{
        width: 48%;
    }
    
    #content > .padding{
        padding: 0;
    }
    
    .sidebar.basket .padding,
    .sidebar .padding {
        padding: 30px 0;
    }
    
    #wrap .centered {
        padding: 0 30px;
    }
    
    .h1_razdel_cataloga,
    .h1_userpanel2{
        -moz-border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        border-radius: 8px 8px 0 0;
    }
    
    #userpanel,
    #categories-tree,
    #special-offers,
    #topproducts{
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
    }
    
    ul.categories-list li{
        width:94%;
    }
    
    #header-bottom .admcp-link-wrap a.admcp-link:nth-child(n+2),
    #special-offers ul.products-list.gallery li{
        margin: 0;
    }
    
    #product-gallery img{
        max-width: 90%;
        max-height: 100%;
    }
    
}

@media all and (max-width: 480px) {
    .team .item{width: 49%;}
}
@media all and (max-width: 400px) {
    .team .item .img{height: 120px}
}