@media (min-width: 1200px) {

.container {

    max-width: 1200px;

}

.grid .image, .box .image {

    height: 220px;

    line-height: 200px;

}

.contact_top {

    margin-left: 140px;

}

#browsed_products li a{

    height: 85px;

    line-height: 75px;

}

.photo_gallery__item {
    -webkit-box-flex: 0;
    flex: 0 0 25%;
    max-width: 25%;
}

}





@media (min-width: 768px) {

.padding {

    border: 1px solid #dbdbdb;

    padding: 9px;

    border-radius: 4px;

}

.product:hover .padding {

    box-shadow:0 0 2px rgba(0,0,0,0.2)

}
}


@media (max-width: 1199px) {

.container {

    width: 970px;

}

.login_heading h2 {

    font-size:16px;

}

.grid .image, .box .image {

    height: 170px;

    line-height: 150px;

}

.small_banner {

    margin-bottom: 15px;

}

.small_banner .banner_text {

    padding: 10px;

}

.small_banner h3 {

    font-size: 23px;

}

.small_banner h4 {

    font-size: 18px;

    margin-bottom: 3px;

}

#catalog_menu .link_cat {

    font-size: 15px;

}

#browsed_products li a{

    height: 65px;

    line-height: 55px;

}

.contact_top{margin-left: 80px;}

#main_menu li {
    padding: 15px 7px;
}

#search .input_search {
    width: 200px;
}

.photo_gallery__item {
    -webkit-box-flex: 0;
            flex: 0 0 33.3333333%;
    max-width: 33.3333333%;
}
}



@media (min-width: 768px) and (max-width: 991px) {

.container {

    width: 750px;

}

.grid .image, .box .image {

    height: 130px;

    line-height: 110px;

}

.small_banner h3 {

    font-size: 16px;

    margin: 8px 0;

}

.small_banner h4 {

    font-size: 13px;

}

.small_banner p {

    display: none;

}

.contact_top {

	margin-left: 50px;

	margin-top: 10px;

	width: 600px;

}

.product_var {

    margin-left: 0;

}

#products .button {

    margin-bottom: 10px;

}

#main_menu a {

    font-size: 12px;

}

#search {
    float: none;
    width: 100%;
    padding-top: 10px;
}
#search .input_search {
    width: calc(100% - 52px);
    max-width: none;
}

#main_menu {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
            justify-content: space-between;
}
#main_menu li {

    padding: 15px 12px;

}

.side_heading  {

    font-size:15px;

}

#browsed_products li a{

    height: 45px;

    line-height: 35px;

}

.login_icon {

   width: 32px;

   height: 32px; 

}

.login_heading b {display: none;}

}


@media (max-width: 991px) {
.photo_gallery__item {
    -webkit-box-flex: 0;
            flex: 0 0 50%;
    max-width: 50%;
}
}


@media (max-width: 767px) {

.container {

    width: 100%;

}

header {margin-top: 50px;}

#catalog_mobile,

#top_mobile {

    display: block;

}

#cart_informer {

  position: fixed;

  top: 0;

  right: 0px;

  margin: 0;

  z-index: 100;  

}

.cart_heading {

  width: 85px;

  height: 50px;

  background: url(../images/sprite.svg) no-repeat -44px 5px;

    background-color: #e21a22;

}

#cart_informer .cart_content {

    max-height: 400px;

    overflow-y:  auto;

}

#cart_informer #items {

    background: url(../images/cart-total2.png) no-repeat left top;

  top: 14px;

  left: 47px;

  height: 22px;

  line-height: 22px;

  width: 34px;

  text-align: center;

  border-radius: 0;

}

body.ind #mobile_menu {

    display: block;

}

.grid .product, 

.box .product {

    width: 100%;

    margin-bottom: 15px;

    padding-bottom: 15px;

    border-bottom: 1px dotted #D7D7D7;

}

.grid .image, 

.box .image {

    height: auto;

    line-height: normal;

}

.box {

    margin-bottom: 10px;

}

.box h2{

    margin-bottom: 15px;

}

footer .col-3 {

    width: 100%;

}

#copyright {

    margin-top: 15px;

}

#content,

#sidebar {

    width: 100%;

}

.small_banner {display: none;}

#search {

    position: fixed;

    top: 50px;

    left: 0px;

    z-index: 101;

    display: none;

    width: 100%;

    margin: 0;

    z-index: 10;

}

#search form {

    padding: 4px 5px;

    background-color: #4a4a4a;

    overflow: hidden;

    position: relative;

}

#search .button_search {

    position: absolute;

    top: 11px;

    right: 10px;

    background: none;

    border: 0;

}

#search .input_search {

    width: 100%;

    max-width: none;

    border-radius: 4px;

    box-shadow: inset 0 0 11px rgba(0,0,0,0.22);

    height: 44px;

    padding: 10px 40px 10px 10px;

    box-sizing: border-box;

}

.contact_top {

      margin-left: 0;

	  margin-top: 5px;

}

#main_menu,

#catalog_menu {

    display: none;

}

#catalog_mobile {

    display: block;

}

.switcher{

    width: 20px;

    height: 20px;

    float: right;

    line-height: 20px;

    background: url(../images/sprite.svg) no-repeat;

    background-position: -50px -200px;

    margin-top: 2px;

    cursor: pointer;

}

.active .switcher {

    background-position: 0 -200px;

}

.sideblock {

    display: none;
    padding-left: 5px;  

}
#footer{

    display: none;   

}

footer {

    padding: 0;

    margin-top: 5px;

}

.col-6 {

    width: 100%;

}

.login_form label {

    display: block;

    float: none;

    margin-bottom: 3px;

    width: auto;

    text-align: left;

    

}

.login_form .form_group input {

    width: 100%;

    max-width: 100%;

}

#browsed_products li a {

    height: 90px;

    line-height: 80px;

}

#browsed_products li {

    width: 100px;

}

.list .padding {

    overflow: hidden;

    border: 1px solid #dbdbdb;

    padding: 9px;

    border-radius: 4px;

}

}

@media (max-width: 650px)  {

#gallery,

#flypage .product_info {

    width: 100%;

    text-align: center;

} 

#flypage h1 {

    border:  none;

    padding: 0;

}

#flypage .price_container  {

    border:  none;

    padding: 5px 0;

}

#flypage .buttons_box {

    display: inline-block;

    border: none;

}

#flypage .product_info .productRatings {

    margin: 0;

}

}

@media (max-width: 550px) {

#logo {width: 100%;

    text-align: center;

    margin: 0;

}
.callback_block{
    width: 100%;

    text-align: center;
}
#callback_form{
    height: 250px;
    width: 250px;
}

.contact_top {

      margin: 0 auto;

      float: left;

      max-width:  100%;

      padding: 15px 0;

}

.contacts{width: 100%;}

.phone,

.email{

	width: 160px;

	margin: 0px auto;

}

.contact_top .info{float: none;}

.list .image,

.list .product_info{

    width: 100%;

    padding: 0 15px;

    text-align: center; 

}

.list .annotation {

   text-align: left;

}

.list h3 {

    margin: 10px 0;

}

.list .price_container {

    padding: 0px;

    float: none;

    margin-top: 7px;

}

#purchases  {

	display:block;

	width:100%

}

#purchases thead {

	display:none;

}

#purchases tbody {

	display:block;

	border:0;

}

#purchases tr {

	display:block;

	margin-bottom:30px; 

	border:1px solid #d7d7d7;	

}

#purchases td {

	display:block !important;

	text-align:center !important;

	border:0 !important;

}

#purchases .image {

    width: 100% !important;

}

tr.coupon {

    padding-left: 10px;

}

#purchases th.price {

    padding-right: 7px;

}

#purchases .order_total {

    padding: 15px;

    display: block;

}

#cart_informer.active .content {

	height:350px;

}

.product .features label {

    margin-bottom: 5px;

    float: none;

    width: 100%;

}

.product .features span {

    float: none;

    width: 100%;

    padding-left: 0;

}

}





@media (max-width: 420px)  {

#flypage .select_amount, 

#flypage .product_var {

    display: block;

    margin: 0  0 10px 0;

}

#flypage .select_container {

  margin: 20px 0px 20px;

}

.photo_gallery__item {
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
}

.photo_gallery__image  {
    height: 200px;
}
}