.animated{
    -webkit-animation-fill-mode:both;
    -moz-animation-fill-mode:both;
    -ms-animation-fill-mode:both;
    -o-animation-fill-mode:both;
    animation-fill-mode:both;
    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    -ms-animation-duration:1s;
    -o-animation-duration:1s;
    animation-duration:1s;
}


@-webkit-keyframes slideInLeft {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInLeft {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slideInLeft {
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
}

@-webkit-keyframes fadeOutLeft {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

.on-mobile {
    display: none;
}

@media all and (min-width: 1280px) {
    body .ontop:before {right: 100px}
}

@media all and (max-width: 1280px) {
    /* main menu */
    body header nav.main a {padding: 10px}
    /* banners */
    body ul.advantages li {padding-right: 0; width: 30%; margin-right: 5%}
    body ul.advantages li:last-child {margin-right: 0}
    body ul.advantages li:after {display: none}
    body ul.advantages li img {width: 100%; height: auto}
    /* categories */
    body .main_categories li:after, body main ul.dots li:after {display: none}
    /* subscription */
    body footer .subscription .title span {display: none;}
    body footer .subscription .form_wrapper {margin-left: 340px}
    /* footer menu */
    footer nav > ul > li {margin-left: 50px; max-width: 200px}
}

@media all and (max-width: 1100px) {
    /* main menu */
    body header nav.main {padding-top: 17px; padding-left: 310px}
    body header nav.main a {height: 20px; line-height: 20px}
    body header nav.main > ul > li:first-child > a {padding-left: 10px;}
    /* header elements */
    body header .top p {display: none}
    body header .top nav.user {float: none; text-align: center}
    body header .top nav.user ul li {display: inline-block; float: none}
    /* search */
    body header .search {margin-right: 200px}
    /* banners */
    body #banner {height: 219px;}
    body #banner img {width: 100%; position: absolute;}
    body ul.advantages li {height: 140px}
    /* footer menu */
    footer nav {line-height: 20px; height: 340px; overflow: hidden; padding-top: 40px; max-width: 250px}
    body footer nav > ul > li {margin-left: 0; max-width: 100%; float: none}
    body footer nav > ul > li span {height: auto; line-height: 20px}
    #content #shop_goods .show_hide_filters {right: 31px; top: -19px;}
}

@media all and (max-width: 860px) {
    /* header elements */
    body header .top nav.user ul li {padding: 0 10px;}
    body header .top nav.user ul li:after {display: none}
    /* banners */
    body #banner {height: 180px;}
    body ul.advantages {padding-top: 0}
    body ul.advantages li {float: none; margin: 0 auto 20px auto; padding-right: 0; width: 270px; height: 170px}
    body ul.advantages li:last-child {margin: 0 auto;}
    /* goods */
    body .goods_wrapper {margin-left: 0}
    body .goods {width: 100%; margin-left: 0; min-width: 200px;}
    /* goods set at main page */
    body section.goods_set .more, body section.last_reviews .more {display: none}
    /* search */
    body header .search {display: none}
    /* unisiter link */
    body footer .unisiter {display: none}
    #content #shop_goods {margin: 69px 0 0 0;}
    #content #shop_goods .sorting p { position: absolute; top: -24px;}
}

@media all and (max-width: 720px) {
    /* main menu */
    body header nav.main {padding-left: 220px}
    /* header elements */
    body header .top nav.user ul li.phone, body header .top nav.user ul li.mail {display: none}
    /* banners */
    body #banner {height: 136px;}
}

@media all and (max-width: 640px) {
    /* general */
    body .container .container {margin: 0 10px;}
    body #content .left_col {display: none;}
    body .has_left_col main {margin-left: 0;}
    body form.forms .item .title, body form.forms .item .input,  body form.forms .item .textarea, body form.forms .item .hint, body form.forms .item .hinterror {width: 90%}
    body form.forms div.item {margin-top: 8px}
    body form.forms .item .hint, body form.forms .item .title {height: 20px}
    body #shop_goods, body #shop_goods div.nav {margin-left: 0; margin-right: 24px}
    body #content h1 {font-size: 26px; line-height: 26px; margin-bottom: 12px; padding-bottom: 12px; padding-right: 24px}
    body h2, body h4 {font-size: 20px; padding-top: 20px; margin-bottom: 20px}
    html, body {font-size: 12px;}
    /* mobile head */
    body header div, body header nav, body header a {display: none}
    body header, #mobile_nav ul.panel {height: 50px; background-color: #2c3959;}
    body #cart:before {display: none}
    /* banners */
    body #banner {height: 204px; margin-bottom: 20px}
    body ul.advantages {display: none}
    /* cart page */
    body #shopping_cart_table .features {display: none}
    #formOrdering .devider {display: none}
    /* goods card */
    body #shop_goods .goods-card .gallery {float:none; margin: 0 auto 20px auto; padding: 0}
	body #shop_goods .goods-card .gallery img{height: 300px}
    body #shop_goods .similar-goods {margin-left: -12px}
    body #shop_goods .similar-goods h4 {margin-left: 12px; margin-bottom: 20px;}
    body #shop_goods div.nav {margin-top: -60px; margin-right: 0; width: 100%}
    body #shop_goods div.nav:before {content: ""; display: block; float: right; width: 50px; height: 18px;} /* чтобы текст не перекрывал элементы управления: сортировку и фильтры */
    body #shop_goods ul.goods_slider li.next {right: 0}
    body #shop_goods .goods-card .small, body #zoom {display: none}
    /* goods list */
    body .goods_wrapper {margin-left: -12px;}
    body .goods {display: block; float: left; width: calc(50% - 14px); min-width: 0; margin: 0 0 12px 12px; border: 1px solid #eee; border-radius: 8px; height: 302px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05)}
    body .goods.goods_btn_qt {height: 322px;}
    body .list .goods {float: none; width: calc(100% - 2px); min-width: 0; margin: 0 0 12px 0; height: 156px;}
    body .goods a, body .list .goods a {width: 100%; height: auto}
    body .goods:after {display: none}
    body .goods img {margin: 0 auto 8px auto; width: 100%; max-width: 180px; height: auto; float: none; border-radius: 8px;}
    body .list .goods img {width: 40%; height: auto; float: left; margin: 0}
    body .goods .name {font-size: 14px; line-height: 16px; margin: 8px; padding: 0; height: 48px; overflow: hidden; display: block; max-width: 100%}
    body .list .goods span.name {position: absolute; left: 45%; top: 34px; margin: 0; padding: 0; height: 48px; line-height: 16px; overflow: hidden; display: block; max-width: 100%}
    body .goods span.info, body .gallery span.info {display: block; left: 8px; top: 8px; padding: 4px 6px; background-color: #50cbc9; border-radius: 4px; color: #ffffff; line-height: 1}
    body .list .goods span.info {left: 45%; top: 8px; padding: 4px 6px;}
    body .goods .price {left: 8px; right: auto; bottom: 14px;}
    body .goods.goods_btn_qt .price {bottom: 45px;}
    body .list .goods .price {left: 45%; right: auto; bottom: 14px;}
    body .goods a.buy {right: 8px; bottom: 8px; width: 34px; height: 34px}

    body .goods .buttons, body #shop_goods .goods .buttons {left: 50%; bottom: 8px; margin-left: -95px; width: 192px;}
    body .list .goods .buttons, body #shop_goods .list .goods .buttons {left: unset; right: 0; bottom: 0; top: unset; width: 213px; height: 67px;}
    body #shop_goods .list .goods.goods_btn_qt div.buttons a.buy,  body #shop_goods .list .goods.goods_btn_qt div.buttons input.buy {left: unset; top: 15px; width: 87px; float: left; right: 15px;}
    body #shop_goods .list .goods .qt {right: unset;}
    body .list .goods.goods_btn_qt .price {right: 16px; top: unset; bottom: 57px;}
    body .goods .qt input, body #shop_goods .goods .qt input {font-size: 14px}
    body .goods input.buy, body .goods .buttons a.buy {left: auto; right: 8px;}
    body .goods.goods_btn_qt .buttons a.buy {left: unset; right: 0;}
    body .goods .buttons a.buy, body #shop_goods .goods .buttons a.buy {width: 90px}
    body #shop_goods .goods .buttons a.buy {right: unset}
    body .goods.goods_btn_qt div.buttons a.buy, body .goods.goods_btn_qt div.buttons input.buy {left: 102px;}
    body .goods .qt, body #shop_goods .goods .qt {width: 88px; border-radius: 4px; margin-left: 0;}
    body .goods .qt input, body #shop_goods .goods .qt input {width: 36px}
    body .list .goods .qt {display: none}
    /* viewed goods list */
    body .container-view-products .container.products {margin: 0}
    body .goods_viewed .title {margin-bottom: 20px;}
    body .goods_viewed > div {margin-left: -12px;}
    body .goods_viewed .item {width: calc(50% - 14px); min-width: 0; margin: 0 0 12px 12px; border: 1px solid #eee; border-radius: 8px; height: 250px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05)}
    body .goods_viewed .item a {height: auto; text-decoration: none}
    body .goods_viewed .item img {margin: 0 auto 8px auto; width: 100%; max-width: 180px; height: auto; float: none; border-radius: 8px;}
    body .goods_viewed .item .name {position: relative; width: auto; left: auto; top: auto; font-size: 14px; line-height: 16px; margin: 8px; padding: 0; height: 48px; overflow: hidden; font-weight: 600;}
    /* goods list switcher */
    body #view_switcher div { position: absolute; right: 0;z-index: 2}
    body #view_switcher div:before {opacity: 0}
    body #view_switcher div.list {padding-right: 0;}
    body #view_switcher div.list.selected, body #view_switcher div.dots.selected{z-index:1}
    body #view_switcher div.dots.selected:before, body #view_switcher div.list.selected:before {opacity: 1; z-index:1}
    /* subscription */
    body footer .subscription .title {color: transparent; font-size: 1px; width: 0; overflow: hidden; height: 60px}
    body footer .subscription .form_wrapper {margin-left: 50px}
    /* FOOTER: general styles */
    body footer {margin-top: -451px;}
    body footer, body footer .container {height: auto;}
    body footer ul.contacts {display: block; position: relative; top: auto; padding: 20px 0 0 0; background: transparent; width: auto; max-width: 100%; margin: 0; float: none}
    body footer ul.contacts li, body footer nav > ul > li li {font-size: 14px; line-height: 24px; margin-left: 0;}
    body footer ul.contacts li.title, body footer nav > ul > li.sub span {height: auto; line-height: 40px; font-size: 16px; font-weight: bold}
    body footer ul.contacts a, body footer ul.contacts span {height: auto; line-height: 24px; text-decoration: none}
    body footer nav {display: block; max-width: 100%; padding: 0; position: relative; float: none; height: auto}
    body footer nav > ul > li {float: none; width: auto; margin: 0}
    body footer nav > ul > li ul {list-style-type: none}
    body footer nav a {text-decoration: none}
    body footer ul.social {position: relative; left: auto; top: auto; margin: 0; padding: 16px 0; text-align: center; width: auto; height: auto}
    body footer .bottom {position: relative; top: auto; text-align: center; height: auto; padding: 20px 0; line-height: 24px}
    body footer .ways_to_pay {position: relative; display: block; width: 100%; height: 20px; background-size: contain; background-position: center 0; left: auto; top: auto; bottom: auto; margin: 0 0 20px 0; padding: 0; font-size: 1px; color: transparent;}
    body footer .unisiter {display: block; position: relative; left: auto; right: auto; top: auto}
    body footer .unisiter a {display: inline-block; background-position: 0 -14px}
    body footer .unisiter a:hover {background-position: 0 -64px}
    body footer .copyright {position: relative; left: auto; top: auto; line-height: 24px; margin: 0; height: auto}
    body footer p.description {display: none}
    /* footer elements */
    body footer nav > ul > li.sub ul {opacity: 0; height: 0; transition: all 0.5s ease; overflow: hidden;}
    body footer nav > ul > li.sub > span:after {content: '\e90a'; display: inline-block; font-family: 'Unisiter-Icons'; font-size: 12px; font-weight: bold;}
    body footer nav > ul > li.show ul {opacity: 1; height: auto}
    body footer nav > ul > li.show > span:after {transform: rotate(180deg);}
    body footer nav > ul > li > span.empty {display: none}
    /* main page */
    body .main_categories {margin-bottom: 8px}
    body .main_categories h2 {display: none}
    /* filters */
    body #shop_goods .filters .values {margin-bottom: 8px; padding-left: 8px;}
    body #shop_goods .filters {padding: 0 8px 0 108px; height: 100%;}
    body #shop_goods .filters:before, body #shop_goods .filters:after {content: " "; display: block; position: relative; width: 100%; height: 8px;}
    body #content #shop_goods .show_hide_filters {right: 30px; top: -61px; font-size: 0; border: none;) 0 0 no-repeat; background-size: 100%}
    body #content #shop_goods .show_hide_filters:before {content: "\e911"; display: block; float: left; font-family: 'Unisiter-Icons'; font-size: 20px; color: #000000;}
    /* sorting */
    body #shop_goods .sorting {top: -61px; right: 0; width: 20px;}
    body #content #shop_goods .sorting p {display: none;}
    body #shop_goods .sorting select {display: block; margin: 0; width: 20px; height: 20px; border: none; padding-top: 20px; position: absolute; background-color: transparent; top: 0;appearance: none !important; webkit-appearance: none; -moz-appearance: none; -ms-appearance: none;}
    body #shop_goods .sorting:before {content: "\e915"; display: block; float: right; font-family: 'Unisiter-Icons'; font-size: 20px; color: #000000;}
}

@media all and (max-width: 480px) {
    /* general */
    body #shopping_cart_table .img {display: none}
    body .on-mobile {display: block}
    body .ontop:before {right: 10px;}
    /* banners */
    body #banner {height: 152px;}
    body ul.advantages li {float: none; margin: 0 auto 20px auto; padding-right: 0; width: 270px; height: 170px}
    body ul.advantages li:last-child {margin: 0 auto;}
    /* categories */
    body .main_categories ul, body main ul.dots, body .cats_with_goods #shop_cats ul {margin-left: -12px; padding: 0; box-sizing: border-box;}
    body .main_categories li, body main ul.dots li, body .cats_with_goods #shop_cats ul li {width: calc(33.3% - 14px); margin: 0 0 12px 12px; position: relative; height: 180px; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05)}
    body .main_categories li img, body ul.dots li img {width: 100%; height: auto; margin: 0 auto; border: none; border-radius: 0}
    body .main_categories li a, body ul.dots li a {width: 100%; height: 100%}
    body .main_categories li .name, body ul.dots li .name {width: 96%; left: 2%; height: 32px; font-size: 14px; line-height: 1.2; bottom: 6px}
    /* categories with goods */
    body #shop_cats .devider {display: none}
    /* categories as a list */
    body #shop_cats {width: 100%}
    body #shop_cats ul {width: calc(100% - 2px);}
    body #shop_cats ul li {width: 96%; padding: 6px 2%;}
    /* main page features */
    body section.main_features ul {margin-left: 0}
    body section.main_features li {float: none; margin: 0 auto 50px auto}
    /* search */
    body header .search {margin: 0; position: absolute}
    body #search_form_input {box-shadow: inset 0 0 1px #aaa;}
    /* goods */
    body .goods.goods_btn_qt {height: 362px;}
    body .goods.goods_btn_qt .price {bottom: 87px;}
    body .goods .buttons, body #shop_goods .goods_wrapper .buttons {margin-left: -45px; width: 89px; height: 73px;}
    body .goods.goods_btn_qt div.buttons a.buy, body .goods.goods_btn_qt div.buttons input.buy {bottom: 0; width: 88px; left: 0; top: 38px; font-size: 14px;}
    body .goods.goods_btn_qt span.name {height: 50px;}
}

@media all and (max-width: 414px) {
    /* banners */
    body #banner {height: 130px;}
    body .main_categories li, body main ul.dots li, body .cats_with_goods #shop_cats ul li {height: 160px;}
    /* goods buy buttons */
    body .goods input.buy, body .goods .buttons a.buy {padding-left: 0; background-image: none; width: 70px}
    body #shop_goods .buttons input.buy, body #shop_goods .buttons a.buy  {width: 89px; left: 0;}
}

@media all and (max-width: 400px) {
    body .list .goods.goods_btn_qt .price {bottom: 62px;}
    body .list .goods.goods_btn_qt {height: 195px;}
    body .list .goods .buttons, body #shop_goods .list .goods .buttons {width: 190px;}
    body #shop_goods .list .goods .qt {width: 83px;}
    body #shop_goods .list .goods .qt input {width: 31px;}
}

@media all and (max-width: 375px) {
    /* banners */
    body #banner {height: 117px;}
    body .main_categories li, body main ul.dots li {height: 150px;}
    body .goods span.name {height: 64px}
    body .list .goods {height: 140px}
}

@media all and (max-width: 352px) {
    /* banners */
    body #banner {height: 99px;}
}