/*==========  Desktop First Method  ==========*/
@media only screen and (max-width : 1229px) {
	.categories-list--small li a {
	    width: 160px;
	}
}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
	.product-buy{
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.product-buy .price{
		margin-bottom: 20px;
	}
	.link-shop-wrap a span {
	    padding: 0 20px;
	}
	.tab-pane{
		padding-left: 0;
	}
	.product-desc-1 {
	    margin-top: 10px;
	}
	.btn.btn-product-buy{
		margin-right: 0;
	}
	#simplecheckout_shipping,
	#simplecheckout_payment{
		max-width: none;
	}
	.simplecheckout-right-column {
	    padding-left: 50px;
	}
	.categories-list--small li a {
	    width: 162px;
	}
}

@media only screen and (max-width : 1024px) {
	.simplecheckout-right-column {
		margin-top: 30px;
	    padding-left: 0;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
	.nav-tabs__link{
		width: calc((100% / 2) - 5px);
	}
	.nav-left .nav-tabs__link:nth-child(1),
	.nav-left .nav-tabs__link:nth-child(3){
		margin-right: 10px;
	}
	.nav-right .nav-tabs__link:nth-child(2) {
	    margin-right: 10px;
	}
	.tab-txt {
	    height: 239px;
	}
	.nav-tabs__link{
		margin-bottom: 10px;
	}
	.link-shop-wrap{
		margin-bottom: 10px;
	}
	.tab-link {
	    margin: 20px 30px 20px;
	}
	.tab-h {
	    font-size: 19px;
	}
	.product-buy .price {
	    margin-bottom: 0;
	}
	.grid-sizer, .grid-item{
		margin-bottom: 30px;
	}
	.grid-item--width2{
		margin-bottom: 30px;
	}
	.footer__inner{
		flex-wrap: wrap;
	}
	.footer__building,
	.footer__service,
	.footer__shop{
		width: 33.33333333%;
	}
	.footer__customer,
	.footer__contacts{
		width: 50%;
	}
	.shop-categories{
		text-align: center;
	}
	.shop-categories li{
		width: calc((100% / 2) - 3px);
		height: 254px;
	}
	.remove-span{
		display: none;
	}
	.btn-remove .zmdi{
		display: inline-block;
	}
	.simplecheckout-cart td.image,
	.simplecheckout-cart td.name,
	.simplecheckout-cart td.model,
	.simplecheckout-cart td.quantity,
	.simplecheckout-cart td.price,
	.simplecheckout-cart td.total,
	.simplecheckout-cart td.remove{
		position: relative !important;
	}
	.simplecheckout-cart td.image:before,
	.simplecheckout-cart td.name:before,
	.simplecheckout-cart td.model:before,
	.simplecheckout-cart td.quantity:before,
	.simplecheckout-cart td.price:before,
	.simplecheckout-cart td.total:before,
	.simplecheckout-cart td.remove:before{
	    position: absolute;
	    top: -10px;
	    left: 10px;
	    color: #31927f;
	    font-size: 14px !important;
	    font-weight: normal !important;
	    text-align: left !important;
	}
	.simplecheckout-cart td.price:before{
		content: "Цена";
		top: -25px;
	}
	.simplecheckout-cart td.total:before{
		content: "Итого";
		top: -25px;
	}
	.simplecheckout-cart td.quantity:before{
		content: "Количество";
	}
	.simplecheckout-cart>tbody>tr{
		flex-wrap: wrap;
		position: relative;
	}
	.simplecheckout-cart td.image{
		order: 1;
		flex-basis: 100px;
	}
	.simplecheckout-cart td.name{
		order: 2;
		flex-basis: calc(100% - 150px);
	}
	.simplecheckout-cart td.quantity{
		order: 5;
		flex-basis: calc(100% / 3);
	}
	.simplecheckout-cart td.price{
		order: 4;
		flex-basis: calc(100% / 3);
	}
	.simplecheckout-cart td.total{
		order: 6;
		flex-basis: calc(100% / 3);
	}
	.simplecheckout-cart td.remove{
		order: 3;
		flex-basis: 50px;
	}
	.simplecheckout-cart>thead{
		display: none !important;
	}
	.calculate-inner .calculate-form{
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.calculate-inner .calculate-form{
		max-width: 610px;
	}
}

@media only screen and (max-width : 867px) {
	.grid-sizer, .grid-item{
		width: 33.33333333%;
	}
	.grid-item--width2 {
		width: 66.66666667%;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
	.navbar-header #category{
		display: inline-block !important;
		vertical-align: middle;
		padding: 17px 15px 0;
	}
	#menu .navbar-nav {
	    padding: 0 15px;
	}
	#search.input-group {
	    width: calc(100% - 30px);
	    margin-left: 15px;
	}
	.input-search {
	    line-height: 28px;
	    height: 28px;
	    padding: 0 10px 0 15px;
	}
	.btn-search {
	    height: 28px;
	    padding: 0 6px;
	}
	.header__left.callback{
		display: none;
	}
	.callback.callback--mob{
		display: inline-block;
		padding-top: 5px;
		padding-bottom: 20px;
	}
	.header__phone a, .header__phone span {
	    padding: 24px 0 0;
	}
	.header__address {
	    padding-bottom: 23px;
	}
	.owl-caption__title{
		max-width: 600px;
	}
	.owl-caption__description{
		max-width: 400px;
	}
	.page__title{
		max-width: 600px;
	}
	.page__description{
		max-width: 400px;
	}
	.banner .owl-theme .owl-dots {
	    bottom: 200px;
	}
	.text-wrap img{
		margin: 0 auto;
	}
	.product-thumb {
	    height: auto;
	    overflow: visible;
	    max-width: 350px;
	    margin: 0 auto 20px;
	}
	.image a img{
		margin: 0 auto;
	}
	.btn-more{
		max-width: 370px;
		width: auto;
	}
	.owl-theme .owl-nav [class*=owl-] {
	    display: none;
	}
	.navs-wrap .nav-item{
		width: 100%;
		flex-basis: 100%;
	}
	.navs-wrap .nav-item{
		width: 100%;
		flex-basis: 100%;
	}
	.navs-wrap .nav-item.nav-right{
		width: 100%;
		flex-basis: 100%;
	}
	.navs-wrap{
		flex-wrap: wrap;
	}
	.link-shop-wrap{
		order: 3;
	}
	.nav-item.nav-center.tab-content{
		order: 1;
		margin-bottom: 10px;
	}
	.nav-item.nav-left.nav.nav-tabs{
		order: 2;
	}
	.nav-item.nav-right.nav.nav-tabs{
		order: 3;
	}
	.tab-img{
		margin: 0 auto;
	}
	.tab-txt {
		height: 90px;
		padding-bottom: 0;
		overflow: hidden;
	}
	.nav-tabs__link{
		height: 155px;
	}
	.tab-icon--link {
	    margin-bottom: 5px;
	}
	.promo-banner{
		margin-top: 35px;
	}
	.nav-center .tab-icon {
	    padding: 20px 0 10px;
	}
	.tab-h {
	    padding: 0 20px 10px;
	    min-height: auto;
	}
	.form-question .form-group .col-sm-6:first-child{
		margin-bottom: 30px;
	}
	.calculate-inner .calculate-form {
	    padding: 20px;
	}
	.modal-header .close,
	button.mfpocp-close {
	    right: 15px;
	    top: 15px;
	}
	.modal-dialog {
	    height: 100%;
	}
	.modal-content {
	    height: 100%;
	}
	.ocpcb-form-group + .ocpcb-form-group,
	.ocpoc-form-group + .ocpoc-form-group{
		margin-left: 6px;
	}
	.ocpcb-control, .ocpcb input,
	.ocpcb-control, .ocpoc-control{
		width: 100%;
	}
	.mfpocp-close:active {
	    top: 15px;
	}
	.main-menu .navbar-nav>li>a {
	    width: calc(100% - 50px);
	}
	.main-menu .navbar-nav>li>a.shop-link{
		width: 100%;
	}
	.link-dropdown .zmdi.zmdi-hc-2x{
		padding-left: 5px;
	}
	.main-menu .nav>li:focus>a,
	.main-menu .nav>li:hover>a {
	    color: #000;
	}
	.main-menu .nav>li.link-dropdown.open-mob > a{
		color: #f97d78;
	}
	.open-mob .zmdi-chevron-down:before{
		content: '\f2fc';
	}
	#menu .dropdown-menu{
		border: none;
	}
	.dropdown-inner li:first-child a{
		border-top: none;
	}
	.dropdown-inner li a {
	    border-top: none;
	    padding: 12px 15px;
	}
	.open-mob>.dropdown-menu {
	    display: block;
	}
	.open-mob .dropdown-menu {
	    position: static;
	    float: none;
	    width: auto;
	    margin-top: 0;
	    background-color: transparent;
	    box-shadow: none;
	}
	#slideout {
		width: 34px;
	}
	.slideout-btn{
		width: 34px;
	}
	#slideout_inner{
		width: 265px;
	}
	#slideout.open-form {
	    right: 265px;
	}
}

@media only screen and (max-width : 600px) {
	.owl-caption__title {
	    max-width: 400px;
	}
	.page__title{
		max-width: 400px;
	}
	.footer__building, .footer__service, .footer__shop {
	    width: 50%;
	    text-align: center;
	}
	.footer__customer, .footer__contacts{
		text-align: center;
		width: 50%;
	}
	.footer__contacts{
		text-align: center;
		width: 100%;
	}
	.list-custom li {
	    font-size: 16px;
	    line-height: 20px;
	    padding-bottom: 15px;
	}
	.list-custom li:before {
	    margin-top: -11.1px;
	}
	td.quantity button[data-onclick*="Quantity"]{
	    display: inline-block;
	}
}

@media only screen and (max-width: 640px){
	.simplecheckout-cart td.name {
	    order: 2;
	    flex-basis: calc(100% - 50px);
	    padding-bottom: 45px;
	}
}
@media only screen and (max-width : 500px) {
	.ocpoc-product-btn .btn-buy{
		left: 10px;
		top: 20px;
	}
	.btn.btn-product-buy{
		margin-bottom: 30px;
	}


	.simplecheckout-cart td.image{
		flex-basis: 100%;
	}
	.simplecheckout-cart td.name{
		flex-basis: 100%;
		padding: 0 15px 25px 15px;
	}
	.simplecheckout-cart td.remove{
		position: absolute !important;
		top: 0;
		right: 5px;
	}
	.simplecheckout-cart td.quantity{
		order: 5;
		flex-basis: 100%;
	}
	.simplecheckout-cart td.price{
		order: 4;
		flex-basis: 100%;
	}
	.simplecheckout-cart td.total{
		order: 6;
		flex-basis: 100%;
	}
	.simplecheckout-cart td.price:before{
		content: "Цена";
		top: -5px;
	}
	.simplecheckout-cart td.total:before{
		content: "Итого";
		top: -5px;
	}
	.simplecheckout-cart td.quantity:before{
		content: "Количество";
		top: -5px;
	}
	.simplecheckout-cart .image,
	.simplecheckout-cart .name,
	.simplecheckout-cart .model,
	.simplecheckout-cart .quantity,
	.simplecheckout-cart .price,
	.simplecheckout-cart .total,
	.simplecheckout-cart .remove{
		text-align: center !important;
	}
	.simplecheckout-cart td.name div.image{
		margin: 0 auto;
	}
	.simplecheckout-cart td.price:before,
	.simplecheckout-cart td.quantity:before,
	.simplecheckout-cart td.total:before {
	    left: 50%;
	    -webkit-transform: translateX(-50%);
	    -moz-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	    -o-transform: translateX(-50%);
	    transform: translateX(-50%);
	}
	.simplecheckout-cart td.quantity .input-group {
	    margin: 0 auto !important;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.header__inner{
		flex-wrap: wrap;
	}
	.header__logo img{
		margin: 20px auto 5px;
	}
	.header__center,
	.header__right{
		flex-basis: 100%;
	}
	.grid-sizer, .grid-item, .grid-item--width2 {
	    width: 100%;
	}
	.grid-sizer, .grid-item img{
		margin: 0 auto;
	}
	.list-services{
		column-count: 1;
	}
	.header__callback {
	    padding-right: 0;
	}
	.table.table-price>tbody>tr>td{
		padding: 5px 5px 5px 0;
		font-size: 14px;
	}
	.shop-categories li{
		max-width: 271px;
		width: 100%;
		height: 254px;
	}
	.btn.btn-product-buy{
		margin-right: 0;
		width: 100%;
		display: block;
		margin-bottom: 25px;
	}
	#simplecheckout_shipping, #simplecheckout_payment {
	    min-width: 290px;
	}
}
@media only screen and (max-width : 450px) {
	.owl-caption__title {
	    max-width: 300px;
	    font-size: 40px;
	    line-height: 40px;
	}
	.page__title{
		max-width: 300px;
		font-size: 40px;
		line-height: 40px;
	}
	.owl-caption__description {
	    max-width: 280px;
	    font-size: 20px;
	    line-height: 25px;
	}
	.page__description{
		max-width: 280px;
		font-size: 20px;
		line-height: 25px;
	}
	.btn-more {
	    max-width: 270px;
	    width: auto;
	}
	.block-h,
	.desc-1 h2{
		font-size: 35px;
		line-height: 1;
	}
	.badge {
	    font-size: 12px;
	    padding: 7px 5px;
	}
	.footer__building, .footer__service, .footer__shop, .footer__customer, .footer__contacts {
	    width: 100%;
	}
	.footer__h {
	    padding: 40px 0 10px;
	}
	.btn-more.btn-more--featured + .text-wrap {
	    margin-bottom: 0;
	}
	.text-wrap + .text-wrap {
	    margin-bottom: 0;
	}
	.gallery .block-h {
	    margin: 5px 0 35px;
	}
	.ymaps-b-balloon__content-holster {
	    padding: 20px 20px 20px 20px !important;
	}
	.modal-header {
	    width: 100%;
	    padding: 80px 15px 20px;
	}
	.modal-body,
	.ocpcb-body,
	.ocpoc-body {
	    width: 100%;
	    padding: 10px 15px 20px;
	}
	.modal-title{
		font-size: 30px;
	}
	.form-group-modal,
	.ocpcb-body,
	.ocpoc-body{
		flex-wrap: wrap;
	}
	.ocpoc-form-group,
	.ocpcb-form-group{
		width: 100%;
	}
	.ocpcb-form-group + .ocpcb-form-group, .ocpoc-form-group + .ocpoc-form-group{
		margin-left: 0;
	}
	.ocpcb-body, .ocpoc-body, .ocpoc-footer, .ocpcb-footer{
		width: 100%;
		padding: 15px 15px 0 15px;
	}
	.ocpoc-footer, .ocpcb-footer{
		padding: 0 15px;
	}
	.ocpcb-form-group, .ocpoc-form-group {
	    padding: 0 0 30px 0;
	}
	.form-group-modal .form-control + .form-control {
	    margin-left: 0;
	    margin-top: 30px;
	}

	.ocpcb-head, .ocpcb-footer{
		width: 100%;
		margin: 0;
	}
	.ocpcb-head, .ocpoc-head{
		width: 100%;
		padding: 80px 15px 20px;
		font-size: 30px;
	}
	.ocpcb-body{
		width: 100%;
	}
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	.navbar {
	    border-radius: 0;
	    border: none;
	}
	.main-menu .navbar-nav>li>a {
	    padding-top: 25px;
	    padding-bottom: 19px;
	    padding-right: 12px;
	    padding-left: 12px;
	}
	.main-menu .navbar-nav>li:first-child>a{
		padding-left: 0;
	}
	.main-menu .navbar-nav>li:last-child>a{
		padding-right: 0;
	}
	.main-menu .navbar-nav>li>a.shop-link{
		margin-left: 0;
	}
	.main-menu .navbar-nav>li:first-child>a.shop-link, .main-menu .navbar-nav>li:last-child>a.shop-link {
	    padding-left: 15px;
	    padding-right: 15px;
	    color: #fff;
	}
	.modal-header,
	.ocpoc-head{
		width: 570px;
	}
	.navbar-form {
	    width: calc(100% - 150px);
	    padding-left: 0;
	    margin-top: -60px !important;
	}
	.modal-dialog {
	    width: 100%;
	    height: 100%;
	    margin: 0 auto;
	}
	.modal-open .modal{
		padding-right: 0 !important;
	}
	.modal-content {
		height: 100%;
	    -webkit-box-shadow: none;
	    box-shadow: none;
	}
	.modal-body{
		width: 570px;
	}
	.modal-body .form-control{
		width: 270px;
	}

	.ocpcb-footer,
	.ocpoc-footer{
		padding: 0;
	}
	.ocpcb-body,
	.ocpcb-footer,
	.ocpoc-body,
	.ocpoc-footer{
		width: 570px;
	}
/*	.main-menu .navbar-nav>li.link-dropdown>a {
	    padding-right: 0;
	}*/
/*	.open>.dropdown-menu {
	    display: none;
	}*/
	/*li.link-dropdown .zmdi-hc-2x{
		top: 7px;
	}*/
	.main-menu .link-dropdown:hover .zmdi-chevron-down:before{
		content: '\f2fc';
	}
	.main-menu .link-dropdown:hover .dropdown-menu{
		display: block;
	}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	.main-menu .navbar-nav>li>a.shop-link{
		margin-left: 20px;
	}
	.navbar-form {
	    width: 100%;
	    padding-left: 0;
	    margin-top: 0 !important;
	}
	.navbar-form{
		width: 96px;
		margin-top: 8px !important;
	}
}

@media only screen and (min-width:992px) and  (max-width: 1199px){
	.navbar-form .form-control{
		width: 65px;
	}
	.btn-search .zmdi-hc-2x {
	    padding: 0 2px;
	}
	.navbar-form{
		margin-left: 4px;
	}
	.input-search {
	    padding: 5px 5px 0 10px;
	}
	.nav-tabs__link{
		width: calc((100% / 2) - 10px);
	}
	.nav-left .nav-tabs__link:nth-child(1),
	.nav-left .nav-tabs__link:nth-child(3){
		margin-right: 20px;
	}
	.nav-right .nav-tabs__link:nth-child(2) {
	    margin-right: 20px;
	}
	.nav-tabs__link{
		margin-bottom: 20px;
	}
	.link-shop-wrap{
		margin-bottom: 20px;
	}
	.tab-txt {
	    height: 212px;
	}
	.product-price{
		text-align: center;
		max-width: 100%;
		margin-top: 13px;
	}
	.btn.btn-product-buy {
	    width: 100%;
	}
	.quantity_div {
	    width: 183px;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	.main-menu .navbar-nav>li:first-child>a.shop-link, .main-menu .navbar-nav>li:last-child>a.shop-link {
	    padding-left: 20px;
	    padding-right: 20px;
	}
	.main-menu .navbar-nav>li>a {
	    padding-right: 14px;
	    padding-left: 14px;
	}
	.navbar-form {
	    width: 285px;
	    padding-left: 0;
	}
	.nav-tabs__link{
		width: calc((100% / 2) - 15px);
	}
	.nav-left .nav-tabs__link:nth-child(1),
	.nav-left .nav-tabs__link:nth-child(3){
		margin-right: 30px;
	}
	.nav-right .nav-tabs__link:nth-child(2) {
	    margin-right: 30px;
	}
	.tab-txt {
	    height: 180px;
	}
	.nav-tabs__link{
		margin-bottom: 30px;
	}
	.link-shop-wrap{
		margin-bottom: 30px;
	}
	.grid-sizer, .grid-item{
		margin-bottom: 30px;
	}
	.product-price{
		text-align: center;
		max-width: 100%;
		margin-top: 13px;
	}
	.btn.btn-product-buy {
	    width: 100%;
	}
}

@media (min-width: 1230px){
	.container {
	    width: 1200px;
	}
	.main-menu .navbar-nav>li:first-child>a.shop-link, .main-menu .navbar-nav>li:last-child>a.shop-link {
	    padding-left: 30px;
	    padding-right: 30px;
	}
	.product-price{
		text-align: center;
		max-width: 100%;
		margin-top: 13px;
	}
	.btn.btn-product-buy {
	    width: 100%;
	}
}