/*--------------------------------------------------------------
## Desktop X-Large ( < 1200px )
--------------------------------------------------------------*/
@media only screen and (max-width: 80em) {

}

/*--------------------------------------------------------------
## Desktop Large ( < 1120px )
--------------------------------------------------------------*/
@media only screen and (max-width: 70em) {
	.header .red, .header .cities, #mod_city {
    	width: 22%;
	}
	.tc {
	    display: none;
	}
	.top-contacts {
		width: calc(78% - 70px);
	}
	.address {
		width: 40%!important;
	}
	.logo {
	    margin: 0 10px 0 10px;
	}
	.red .logo img {
		width: 80%;
		padding-top: 10px;
	}
	.minicart {
		background: none; 
		padding-left: 0;
	}
	.worktime, .freecall, .minicart {
		margin-left: 25px;
	}
	.left-column {
	    width: 220px;
		margin-right: 20px;
	}
	.main {
		width: calc(100% - 240px);
	}
	.left-column .menu h3, .left-column .menu .module-header {
	    background: #222 url(../images/catalogue.png) 54px 15px no-repeat;
	}
	.slick-slide img {
		width: 100%;
	}
	.homeslider-description .cols-3 {
		width: 34%;
	}
	.homeslider-description .cols-3.col3 {
		width: 32%;
	}
	.homepage-cat .cols-4 {
		width: calc(33% - 13px);
	    text-align: center;
	}
	.vm-col-4 {
		width: calc(33% - 13px);
		margin-right: 22px;
	}
	.homepage-cat .cols-4:nth-child(3n), .vm-col-4:nth-child(3n) {
		margin-right: 0;
	}
	.browse-view .row .product .spacer {
		margin-right: 0 !important;
		width: 100%;
	}
	.browse-view .vm-product-media-container {
	    display: block;
	}
	.navi span.nextArrow {
	    right: 0;
	}
	.homepage-cat .cols-4.lastinrow {
		margin-right: 22px;
	}
	.wideblock img {
		width: 100%;
	}
	.footer .col-1, .footer .col-2 {
		width: 26%;
	}
	.footer .col-3 {
		width: 29%;
	}
	.footer .col-4 {
		width: 19%;
	}
	.feedback input {
		width: calc(33% - 40px);
	}
	.feedback textarea {
	    width: calc(100% - 30px);
	}
	.homepage-cat::after {
		content: '';
		display: block;
		clear: both;
		height: 0px;
		visibility: hidden;
	}
	
}

/*--------------------------------------------------------------
## Desktop Large ( < 1024px )
--------------------------------------------------------------*/
@media only screen and (max-width: 64em) {
	.wrapper, .top-menu ul {
		width: calc(100% - 30px);
	}
	.top-menu ul li {
        padding: 0 7px 0 6px;
	}
	.top-menu ul li a {
    	padding: 2px 7px;
	}
	.banner {
		font-size: 26px;
		position: relative;
	}
	.banner .col-1, .banner .col-3 {
		margin: auto 20px;
	}
	.banner .col-1 {
		height: 130px;
	}
	.banner .col-2 {
		width: calc(100% - 597px);
		padding: 20px 0;
	}
	.banner .col-3 a {
    	margin: 34px 0 30px;
	}
	.project-item, .about-item {
		width: calc(33% - 12px);
		height: 180px;
	}
	.color-cat.sq .color-item.t1, .color-cat.sq .color-item.t2, .color-cat.v .color-item.t2, .color-cat.v .color-item.t3 {
    	width: calc(12.5% - 18px);
		height: 110px;
	}
	.color-cat.v .color-item.t2 {
		height: 130px;
	}
	.color-cat.v .color-item.t3 {
		height: 150px;
	}
	.color-item img {
		width: 100%;
		height: 80px;
	}
	.productdetails-view .col-1 {
	    width: 50%;
	}
	.productdetails-view .col-2 {
	    width: calc(50% - 25px);
	}
	.productdetails-view .product-price {
		width: calc(50%);
		/*left: calc(50%);*/
	}
	.productdetails-view .has-price .product-price {
        left: calc(50%);
    }
	label.quantity_box, span.quantity-box {
    float: left;
    clear: both;
}
.productdetails-view .addtocart-area {
    width: 100%;
}
	.productdetails-view .has-price .addtocart-bar {
    	width: calc(50%);
	}
	.vm-customfields-wrap {
	    width: calc(50% - 25px);
	}
	.hide-text {
	    display: none;
	}
}

/*--------------------------------------------------------------
## Desktop Small ( < 960px )
--------------------------------------------------------------*/
@media only screen and (max-width: 57.5em) {
	.banner .col-1 {
		height: 190px;
	}
	.banner .col-2 {
	    width: calc(100% - 350px);
    	padding: 50px 0;
	    position: absolute;
	}
	.banner .col-3 {
		width: 290px;
		float: unset;
		text-align: center;
		margin-top: -10px;
		position: absolute;
		left: 0;
		top: 120px;
	}
	.banner .col-3 a {
    	margin: 0 auto;
    	display: inherit;
	}
}

/*--------------------------------------------------------------
## Tablet Medium ( < 800px )
--------------------------------------------------------------*/
@media only screen and (max-width: 50em) {

}

/*--------------------------------------------------------------
## Tablet Medium ( < 768px )
--------------------------------------------------------------*/
@media only screen and (max-width: 48em) {
	.header {
		background: url(../images/header-bg-768.jpg) 50% 0 no-repeat;
		height: 182px;
	}
	#mod_city {
		width: 28%;
	}
	.address {
		width: 30px!important;
        height: 1px;
        visibility: hidden;
	}
	.top-contacts {
		width: calc(72% - 70px);
	}
	.worktime {
		display: none;
	}
	.header .red {
		width: 24%;
	}
	.red .logo img {
    	width: 100%;
	}
	.freecall {
		margin-left: 35px;
		width: 190px;
		margin-bottom: 3px;
	}
	.minicart {
		background: url(../images/cart.png) 0 2px no-repeat;
		padding-left: 82px;
		margin-left: 43px;
	}
	.top-menu, .left-column {
		display: none !important;
	}
	.top-menu-m {
		display: block;
	}
	.nav-toggle {
		display: none;
	}
	.nav-toggle2 {
		display: block !important;
		position: relative;
		padding: 10px 15px;
		background: transparent;
		border: 1px solid transparent;
		top: 50%;
		right: 0;
    	width: 100%;
	}
	.nav-toggle2 [class*="bar-"] {
		background: #1d1d1d;
		display: block;
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .2s ease all;
		transition: .2s ease all;
		border-radius: 2px;
		height: 2px;
		width: 25px;
		margin-top: 4px;
		margin-bottom: 4px;
	}
	.nav-toggle2 .bar-top {
		margin-top: 2px;
	}
	.nav-toggle2 .bar-bot {
		margin-bottom: 2px;
	}

	.nav.menu.top-menu-m {
		display: none;
	}
	.nav.menu.top-menu-m.open {
		display: block;
		background: #f5f5f5;
		z-index: 1;
		position: relative;
		margin-top: 0;
	    padding: 20px;
    	list-style: none;
	}
	.nav.menu.top-menu-m.open ul {
		padding-top: 10px;
		padding-left: 0;
		list-style: none;
	}
	.nav.menu.top-menu-m.open li {
		line-height: 18px;
		padding: 10px 0;
		border-bottom: 1px solid #e9e8e8;
		padding-left: 20px;
	}
	.nav.menu.top-menu-m.open li li {
		border-bottom: none;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.nav.menu.top-menu-m.open li a {
		text-decoration: none;
		color: #110f0f;
	}
	.nav.menu.top-menu-m.open li.active a {
		color:  #ce0302;
		font-weight: 700;
	}
	.nav.menu.top-menu-m.open li li.active {
		background: #ce0302;
	}
	.nav.menu.top-menu-m.open li.active li a {
		color: #000;
	    font-weight: 400;
	}
	.nav.menu.top-menu-m.open li li.active a {
		color: #fff;
	}
	.nav-toggle2 .burg {
		float: right;
		margin-left: 10px;
	}
	.burger2 {
		display: inline-block;
		text-transform: uppercase;
		font-weight: 700;
	    float: right;
    	font-family: 'Open Sans';
	}
	.opened .bar-top {
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transform-origin: 15% 15%;
		transform-origin: 15% 15%;
	}
	.opened .bar-mid {
		opacity: 0;
	}
	.opened .bar-bot {
		-webkit-transform: rotate(45deg);
		transform: rotate(-45deg);
		-webkit-transform-origin: 15% 95%;
		transform-origin: 15% 95%;
	}
	.main, .main.cw_lc {
		width: 100%;
	}
	.footer .col-4 .phone {
    	font-size: 15px;
	}
	.clear.top {
		display: none;
	}
	.item-page.news {
		padding-left: 0;
	}
	.footer .col-1 img {
		width: 120px;
	}
	.footer .col-1 .marketplace img {
		width: auto;
	}
	.vm-pagination ul {
	    float: left;
	}
}

/*--------------------------------------------------------------
## Tablet Medium ( > 768px )
--------------------------------------------------------------*/
@media only screen and (min-width: 48em) {
	.nav-toggle, .nav-toggle2, .nav-toggle3 {
		display: none;
	}
}


/*--------------------------------------------------------------
## Tablet Small ( < 720px )
--------------------------------------------------------------*/
@media only screen and (max-width: 45em) {

}

/*--------------------------------------------------------------
## Mobile Extra Large ( < 640px )
--------------------------------------------------------------*/
@media only screen and (max-width: 40em) {

}

/*--------------------------------------------------------------
## Mobile Medium ( < 480px )
--------------------------------------------------------------*/
@media only screen and (max-width: 30em) {
	.main-about {
        flex-direction: column;
    }
    .main-about div:first-child {
        margin-bottom: 30px;
    }
    .main-about iframe {
        width: 100%;
    }
    .content div.feedback.main {
        min-height: 300px;
    }
    .feedback textarea {
	    width: 100%;
	}
	.header {
		/*margin-top: 40px;*/
		/*margin-top: 81px;*/
		height: auto;
	/*	background: rgba(198,3,2,1);
		background: -moz-linear-gradient(left, rgba(198,3,2,1) 0%, rgba(209,3,2,1) 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, rgba(198,3,2,1)), color-stop(100%, rgba(209,3,2,1)));
		background: -webkit-linear-gradient(left, rgba(198,3,2,1) 0%, rgba(209,3,2,1) 100%);
		background: -o-linear-gradient(left, rgba(198,3,2,1) 0%, rgba(209,3,2,1) 100%);
		background: -ms-linear-gradient(left, rgba(198,3,2,1) 0%, rgba(209,3,2,1) 100%);
		background: linear-gradient(to right, rgba(198,3,2,1) 0%, rgba(209,3,2,1) 100%);*/
		background: #222;
	}
	.fixed {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        box-shadow: 0 0 5px rgba(0,0,0,0.15);
        -webkit-transition: .7s;
        -o-transition: .7s;
        transition: .7s;
    }
    .header.fixed {
        margin-top: 0;
        width: 100%;
    }
	.top-contacts {
		/*width: calc(100% - 15px);
		padding: 0 0 0 15px;*/
	    /*width: 100%;*/
		padding: 0;
		margin: 0 0 0 -15px;
	/*	position: absolute;*/
		top: 0;
		/*background: #222;
		border-bottom: 1px solid #fff;*/
	}
	
	.address {
		width: 0 !important;
		padding-left: 0;
	}
	.email {
		margin-left: 0;
	}
	.phone {
		margin-left: 20px;
	}
	.freecall, .email, .phone, .header .phone.hide-icon {
		display: none;
	}
	.link.email {
	    display: inline-block;
	    background-position: 0 0;
	}
	.fixed .top-contacts .link.email{
	    display: none;
	}
	.mobile-contacts {
        display: block;
    }
    .top-contacts .mobile-contacts {
        line-height: 22px;
        text-align: right;
        width: 100%;
        padding: 7px 0;
    }
    .mobile-contacts .line {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        float: unset;
    }
    .top-contacts .mobile-contacts a {
        color: #fff;
        text-decoration: none;
        line-height: 1;
    }
	#mod_city {
		width: 100%;
	}
	#mod_city_iner {
		float: left;
	}
	a.citychen {
		padding-left: 14px;
		border-bottom: none !important;
	}
	span.arrow {
		margin: 0; 
		left: 0;
	}
	#vmmcity {
		left: 0 !important;
		width: 200px;
	}
	a.citychen {
        font-size: 12px !important;
	}
	#mod_city_iner {
        height: 30px !important;
        line-height: 30px !important;
	}
	span.arrow {
        top: 14px !important;
	}
	.header .red {
		width: 40%;
	}
	.logo img {
		margin: 0;
		width: 100px;
	}
	.red .logo img {
		width: 100%;
		padding-top: 0;
	}
	.minicart {
		background-size: 30px !important;
        padding-left: 0;
        margin-left: 0;
        margin-top: 0px;
        float: right;
	}
	.minicart {
        background: url(../images/cart.png) 50% 0 no-repeat;
	}
	.worktime, .freecall, .minicart {
        height: 49px;
	}
	.header .row1 {
        display: none;
    }
	.minicart .row2 {
		color: #ffffff8f;
		display: none;
	}
	.header .total {
		font-size: 14px;
        line-height: 26px;
        white-space: nowrap;
        padding-top: 24px;
	}
	.minicart .total span {
        font-size: 12px;
        text-transform: uppercase;
    }
	.top-menu-m {
		display: inline-block;
		background: #fff;
		width: 100%;
	}
	.burger2 {
		width: 46px;
	}
	.nav.menu.top-menu-m.open {
		padding: 0;
	    margin-bottom: 0;
	    overflow-y: scroll;
        max-height: 80vh;
	}
	.left-column ul.menu li a img {
        display: block;
    }
	.custom.banner {
		display: none;
	}
	.nav.menu.top-menu-m.open li a img {
	    display: inline-block;
        float: left;
	}
	.nav.menu.top-menu-m.open li a span.image-title {
        display: inline-block;
    }
    .nav.menu.top-menu-m.open li li {
        line-height: 25px;
        border-bottom: 1px solid #e9e8e8;
        padding-left: 10px;
    }
	.banner .col-1, .banner .col-2, .banner .col-2 {
		width: 100%;
		margin: 0;
	}
	.banner .col-1 {
		height: 350px;
	}
	.banner .col-2 {
		left: 0;
		top: 150px;
		width: calc(100% - 40px);
		margin-left: 20px;
	}
	.banner .col-3 {
		margin-left: 0;
		margin-right: 0;
	}
	.banner .col-3 a {
	}
/*	.slick-track {
		height: 350px;
	}*/
	.homepage-slider.pharmacy .slick-track {
		height: auto;
	}
	.homepage-cat .cols-4 .title, .homepage-cat .cols-4 .title.tworow {
		padding: 7px 10px;
		font-size: 14px
	}
	.homepage-cat .cols-4 .title.blue {
		padding: 16px 10px;
	}
	.homepage-cat .cols-4 .title.blue.tworow {
		padding: 7px 10px;
	}
	.homeslider-description .cols-3 {
		width: 100%;
		background: none;
		border-bottom: 1px dotted rgba(255,255,255,0.3);
		padding: 0px 0 10px;
	}
	.homeslider-description .cols-3.col3 {
		width: 100%;
	}
	.homeslider-description {
		height: auto;
	}
	.homepage-cat .cols-4:nth-child(3n), .vm-col-4:nth-child(3n) {
		margin-right: 22px;
	}
	.homepage-cat .cols-4:nth-child(2n), .vm-col-4:nth-child(2n) {
		margin-right: 0;
	}
	.homepage-cat .cols-4 {
		width: calc(50% - 11px);
		text-align: center;
	}
	.homepage-cat .cols-4 img {
		width: calc(100% - 26px);
	}
	.homepage-cat .cols-4 .lightgreen {
		padding: 7px 20px;
	}
	.footer .col-1, .footer .col-3 {
		width: 60% !important;
	}
	.footer .col-1 {
		margin-bottom: 30px;
	}
	.footer .col-2, .footer .col-4 {
		width: 40% !important;
	}
	.footer .col-3 {
		clear: both;
	}
	.footer .col-1 .txt {
		padding-right: 20px;
	}
	.footer ul.menu {
		font-size: 14px;
		padding-top: 7px;
	}
	.footer ul.menu li {
		 padding: 0; 
	}
	.copyrights {
    	width: 100%;
	}
	.project-item, .about-item {
	    width: 100%;
	}
	.project-item img, .about-item img {
		width: 100%;
	}
	.color-cat.sq .color-item.t1, .color-cat.sq .color-item.t2, .color-cat.v .color-item.t2, .color-cat.v .color-item.t3 {
    	width: calc(33% - 13px);
	}
	.color-cat.sq .color-item.t1:nth-child(3n), .color-cat.sq .color-item.t2:nth-child(3n), .color-cat.v .color-item.t2:nth-child(3n), .color-cat.v .color-item.t3:nth-child(3n) {
		padding-right: 0;
	}
	.color-item.last-in-row {
		padding: 0 20px 20px 0;
	}
	.color-item img {
		height: 95px;
	}
	.items-leading .item {
    	margin: 0;
	}
	.item-page.news .page-header h1 {
		line-height: 36px;
	}
	.itemid-133 .item-page .contacts-txt {
		margin: 0;
	}
	.itemid-133 .item-page .contact-item .contacts-txt span {
		margin-left: 0 !important;
	}
	.itemid-133 .item-page .contact-item:nth-child(2n) {
		/*height: 170px;*/
	}
	.itemid-133 .item-page .contact-item {
        width: 100%;
        min-height: 90px;
        margin-top: 20px;
	}
	.feedback input {
		width: calc(100% - 30px);
	}
	.contactus-form input[type="text"].contactus-fields, .contactus-form input[type="email"].contactus-fields, .contactus-form input[type="tel"].contactus-fields {
		width: 100%;
	}
	#contactus-form130 div.joomly-contactus-div:nth-child(2) {
        width: 100%;
        margin-right: 0;
    }
    #contactus-form130 div.joomly-contactus-div:nth-child(2) input[type="email"].contactus-fields {
        width: 100%;
        margin-right: 0;
    }
	.width25 {
		width: 50%;
		min-height: 260px;
	}
	.browse-view input.addtocart-button, .productdetails-view input.addtocart-button, .slick-slide .slider-item .addtocart-button {
        width: 140px;
	}
	.category-view a.title {
	    font-size: 15px;
	}
	.category .spacer img {
		width: 100%;
	}
	.category .spacer a:nth-child(2n) {
	    line-height: 15px;
	    display: inherit;
	}
	.vm-search-custom-search-input input.inputbox {
		width: 99%;
	}
	.vm-col-4 {
    	width: calc(50% - 13px);
	}
	.browse-view .vm-product-media-container, .slick-slide .slider-item .media-container {
		height: auto;
		width: 100%;
		display: block;
	}
	.browse-view .row .product .spacer img, .slick-slide .slider-item img {
	    max-width: 150px;
    	max-height: 150px;
	}
	.browse-view h2 a {
	    font-size: 15px;
	}
	ul.breadcrumb {
		padding: 10px 0 10px 25px;
		line-height: 24px;
	}
	.vm-pagination ul li {
		display: inline-block;
		padding-bottom: 20px;
	}
	.slick-slide .slider-item {
    	width: calc(100% - 10px);
	}
	.navi span.prevArrow {
		left: 0;
	}
	.vm-customfields-wrap {
		width: 100%; /*calc(50%);*/
		margin-left: 0
	}
	.has-price .vm-customfields-wrap {
		width: 50%; /*calc(50%);*/
	}
	.productdetails-view h1 {
		margin-left: 0;
	}
	.product-description .description {
    	padding: 20px 0 0 0;
	}
	.mob-img {
		display: block;
		width: 100%;
	    text-align: center;
	}
	.productdetails-view .col-1 {
		width: 100%;
	}
	.productdetails-view .col-2 {
		display: none;
	}
	.main-image img {
    	max-width: 250px;
	}
	.additional-images div {
		width: calc(20% - 10px);
	}
	.additional-images div.lastinrow {
		padding-right: 10px;
	}
	.additional-images img {
		width: 100%;
	}
	div#basket_container div.op_basket_row div.op_col1, div.basket_container div.op_basket_row div.op_col1 {
		padding: 7px 0;
	}
	div#basket_container div.op_basket_row div.op_col2 {
    	width: 44%;
	}
	div#basket_container div.op_basket_row div.op_col6 {
		width: 15%;
		overflow: hidden;
	}
	#vmMainPageOPC div.formLabel {
    	width: 100px;
	}
	#vmMainPageOPC div.field_wrapper, #vmMainPageOPC div.formField {
		float: left;
		clear: unset; 
		width: calc(100% - 100px);
	}
	#vmMainPageOPC .formField input[type="text"], #vmMainPageOPC .formField input[type="email"], #vmMainPageOPC .formField textarea, #vmMainPageOPC .formField input[type="password"] {
    	min-width: 190px;
	}
	div#osgallery122 a {
		width: 100% !important;
	}
	.fancyboxLoc img {
		width: 100%;
		height: auto;
	}
	
	
	.homepage-cat .cols-4:nth-child(5n) {
        margin-right: 22px !important;
    }
    .homepage-cat .cols-4:nth-child(2n) {
        margin-right: 0 !important;
    }
    .ya-modules .reviews {
        width: 100% !important;
    }
    .ya-modules .map {
        display: none;
    }
    .clients {
        justify-content: space-around;
        margin-top: 15px;
    }
    .module.clients-list {
        margin: 10px 0 30px;
    }
    .clients img {
        width: auto !important;
        max-height: 35px;
    }
    .clients .dns img {
        max-width: 220px;
        height: auto;
    }
    
    .category-view .category.item {
        margin-right: 10px;
        width: calc(50% - 10px);
    }
    .category-view .category.item:nth-child(2n) {
        margin-right: 0;
    }
    
    .category-view .category.item {
        margin-right: 10px;
        width: calc(50% - 10px);
    }
    .product.item {
        margin-right: 20px;
        width: calc(50% - 10px);
    }
    .product.item:nth-child(2n) {
        margin-right: 0;
    }
}

/*--------------------------------------------------------------
## Mobile Small ( < 416px )
--------------------------------------------------------------*/
@media only screen and (max-width: 26em) {

}

/*--------------------------------------------------------------
## Mobile Small ( < 384px )
--------------------------------------------------------------*/
@media only screen and (max-width: 25em) {
    .homepage-cat div.cols-4:nth-child(6) span {
        /*min-height: 54px;*/
    }
}

/*--------------------------------------------------------------
## Mobile Small ( < 320px )
--------------------------------------------------------------*/
@media only screen and (max-width: 20em) {
	.homepage-cat .cols-4 .title, .homepage-cat .cols-4 .title.tworow {
	    font-size: 12px;
	}
	.contact-item {
		width: 100%;
		height: auto !important;
	}
	.browse-view input.addtocart-button, .slick-slide .slider-item .addtocart-button, .productdetails-view input.addtocart-button {
    	width: 110px;
	}
	#vmMainPageOPC .formField input[type="text"], #vmMainPageOPC .formField input[type="email"], #vmMainPageOPC .formField textarea, #vmMainPageOPC .formField input[type="password"] {
        min-width: 140px;
	}
	.footer .col-4 .phone {
		font-size: 13px;
	}
}