/*==========  Desktop First Method  ==========*/


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1400px) {
	
	.history-item .left-comment {
		font-size: 13px;
	}

}

@media only screen and (max-width : 1350px) {
	
	.product-item .price {
		font-size: 13.5px;
	}


}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1290px) {

	.ms-container .site-size {
		padding: 15px 35px 75px;
		min-height: 100vh;
		height: 100%;
	}

	

	.section .containers-nav ul li.active a {
		font-size: 50px;
	}

	.menu.open .menu-content-wrap {
		width: calc(55vw - 275px)
	}

	.menu .menu-content {
		width: calc(55vw - 270px);
	}

	.menu .menu-content li a {
		font-size: 12px;
	}

	.ms-container:last-child .seo-text {
		padding-right: 50px;
	}

	.ms-container:last-child .divider {
		width: calc(100% - 50px);
	}

	.product-item .price-block + div.tar {
		text-align: right;
	}

}


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

	.ms-container:nth-child(even) .section .section-bg .half:nth-child(1),
	.ms-container:nth-child(odd) .section .section-bg .half:nth-child(2) {
		display: none;
	}

	.ms-container:nth-child(even) .section .section-bg .half:nth-child(2),
	.ms-container:nth-child(odd) .section .section-bg .half:nth-child(1) {
		left: 0;
		width: 100%;
	}
	

	.chess-section .brand-content .brand-logo {
		/*background: #e2a34c;*/
		/*padding: 10px;*/
		/*border: 1px solid #bb8438;*/
	}

	.chess-section .brand-content {
    	width: 80%;
    }
	
	.chess-section .brand-content .list ul li:before {
		background: #fff;
	}
    .chess-section .brand-content .list ul li a {
    	color: #fff;
    }

    .chess-section .brand-content .brand-logo {
		max-width: 250px;
	}

	.ms-container:nth-child(odd) .brand-content {
		margin-left: 0;
	}

	/*.ms-container:not(:last-child) {
		padding-bottom: 50px;
	}

	.ms-container:not(:first-child) .site-size {
		padding-bottom: 120px;
	}*/

	/*.ms-container:last-child .site-size {
		padding-bottom: 140px;
	}*/

	.ms-container:not(:last-child) .section .down-arrow.big-center,
	.ms-container:not(:last-child) .section .footer .down-arrow {
    	bottom: 0px;
    }
    .ms-container .section-bg .section-descr {
    	display: none;
    }

    .page-footer .logo-block {
    	margin-right: auto;
    	margin-left: auto;
    }

    /*.section .footer .left-side .dotted-link {*/
    	/*margin-left: 0;*/
    /*}*/

    .ms-container .section .footer {
		padding: 25px 0 30px;
	}

	.ms-container:last-child .section .footer .right-side {
		padding-right: 25px;
	}

	.ms-container .section .footer {
		position: static;
	}

	.history-item .left-comment {
		font-size: 12px;
	}

	.product-item .price-block + div.tar {
		text-align: left;
	}

	.product-item .price {
		font-size: 16px;
	}

	.product-item p.price-val {
	    font-size: 16px;
	}

	

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	
	.price-slider-wrap .amount > * {
		margin-top: 10px !important;
	}
	
	.brands-list .brand-logo {
		display: none;
	}

	.ms-container .brands-list {
		margin-bottom: 90px;
	}
    
    .site-size {
    	padding-left: 15px;
    	padding-right: 15px;
    }

    .header .site-size .right-panel {
    	right: 15px;
    }

    .item-info .item-title {
		font-size: 24px;
	}

	.breadcrumbs ul {
		width: 40%;
	}

	.breadcrumbs .right-nav {
		width: 55%;
	}

	.cabinet-sidebar ul li a {
		padding-left: 15px;
	}

	.cabinet-form *[type="submit"] {
		display: block;
		width: 200px;
		margin: 15px auto 45px;
	}

	.search-form-wrap {
		z-index: 6;
		left: auto;
		right: 155px;
	}

	.search-form-wrap.open {
		position: fixed;
	    height: 120px;
	    background: #000;
	    left: 0;
	    right: 0;
	    top: 0;
	    margin: auto;
	    padding-left: 80px;
	}

	.search-form-wrap.open #search-form input {
		display: block;
	    margin-top: 50px;
	    width: 235px;
	    font-size: 13px;
	    background: transparent;
	    border: none;
	    border-bottom: 1px solid #a2a2a2;
	    color: #a2a2a2;
	}

	.search-form-wrap.open #search-form .close {
	    position: absolute;
	    text-align: center;
	    top: 0;
	    right: 40px;
	    bottom: 0;
	    margin: auto;
	    width: 23px;
	    height: 25px;
	    line-height: 25px;
	    font-size: 27px;
	    color: #a2a2a2;
	    cursor: pointer;

	    -webkit-transition: opacity 0.15s;
	    -o-transition: opacity 0.15s;
	    transition: opacity 0.15s;
	}

	.search-form-wrap.open .search-open, .search-form-wrap.open #search-form button[type="submit"] {
	    content: '';
	    display: block;
	    position: absolute;
	    left: 20px;
	    top: 0;
	    bottom: 0;
	    margin: auto;
	    width: 24px;
	    height: 24px;
	    background: url(../img/search-icon.png) no-repeat center;
	    background-size: 100%;
	    cursor: pointer;
	    border: none;
	    -webkit-transition: opacity 0.15s;
	    -o-transition: opacity 0.15s;
	    transition: opacity 0.15s;
	}

	.offer-form .no-padding-right {
		padding-left: 0;
	}

}

@media only screen and (max-width : 940px) {
	.section .footer .left-side,
	.section .footer .right-side {
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 920px) {

	.top-section .main-title {
		font-size: 80px;
	}
	
	.ms-container:last-child .seo-text {
		padding-right: 30px;
	}

	.ms-container:last-child .divider {
		width: calc(100% - 30px);
	}

	.filter-list .title {
		font-size: 21px;
	}

	.breadcrumbs ul,
	.breadcrumbs .right-nav {
		width: 100%;
	}

	.history-item .item-title {
		display: inline-block;
		margin-top: 30%;
		line-height: 1.3em;
	}


	
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	/*Disable Animation on Mobile Devices*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}

	.top-section .main-title {
		line-height: 1;
		font-size: 50px;
		margin-top: 75px;
	}	

	.top-section .site-size {
		padding-bottom: 45px;
	}

	.header .logo-block {
		top: 75px;
		width: auto;
		max-width: 250px;
	}

	.section .containers-nav ul li {
		padding-right: 30px;
	}

	.section .containers-nav ul li.active a {
		font-size: 35px;
	}

	.section .containers-nav ul li.active:after {
		width: 15px;
	}

	.brands-list ul li:last-child {
		/*display: block;*/
		/*width: 50%;*/
		/*float: left;*/
		display: block;
		width: 100%;
		max-width: 162px;
		margin: 0 auto;
	}

	.brands-list ul li:not(:last-child):after {
		display: none;
	}

	/*.ms-container .site-size {
	    padding-bottom: 185px;
	}*/

	.page-footer .info-block {
		margin-top: 15px;
	}

	.ms-container:last-child .seo-text {
		padding-right: 15px;
	}

	.ms-container:last-child .divider {
		width: calc(100% - 15px);
	}


	.section .containers-nav ul li a {
		color: #bfbfbf;
		font-size: 15px;
	}

	.header .site-size .logo-block {
		left: 55px;
		right: auto;
	}

	.header .logo-block .logo {
		padding: 0 5px;
		margin-left: 5px;
	}
	.header .site-size .logo-block .logo {
		font-size: 44px;
	}

	.logo-block {
		width: 125px;
	}

	.right-panel .panel-el {
		width: 55px;
	}



	.header {
		padding: 15px 0;
		height: 90px;
	}

	.header.fixed + * {
		padding-top: 90px;
	}

	.search-form-wrap.open {
	    height: 90px;
	}

	.search-form-wrap.open #search-form input {
		margin-top: 35px;
	}

	.breadcrumbs ul {
		padding-left: 15px;
	}

	.breadcrumbs .right-nav {
		padding-right: 0;
		width: 100%;	
		text-align: center;
	}

	.main-footer {
		padding-left: 15px;
		padding-right: 15px;
	}

	.item-info .item-title {
		font-size: 22px;
	}
	

	.offer .wBasket {
		display: none;
	} 

	.offer-form-part:before {
		position: static;
		margin: 15px auto;
	}

	.offer-form-part {
		padding-left: 0;
	}

	.history-item .item-title {
		margin-top: 10%;
	}

	.history-short-info > .container-fluid .tar {
		text-align: left;
	}

	.wBasketBottom {
		text-align: center;
	}
	
	/*.wb_content .item-info p:first-child {
		display: inline-block;
	}*/


	.wb_item .no-padding {
		padding-left: 15px;
		padding-right: 15px;
	}

}	

/* Extra Small Devices, Phones */
@media only screen and (max-width : 620px) {
	
	.chess-section .brand-content .list ul li {
		width: 49%;
	}

	.list-section .product-item-wrap {
		width: 100%;
	}
	
	/*.ms-container:last-child .site-size .page-footer {
		padding-bottom: 60px;
	}*/

	.item-images-slider > .prev, 
	.item-images-slider > .next {
		top: 25%;
	}

	.item-images-slider > .prev {
		left: -62px;
		transform: rotate(-90deg);
	}

	.item-images-slider > .next {
		right: -62px;
		left: auto;
		transform: rotate(90deg);
	}

	.tel-input-wrap:before {
		display: none;
	}

	.item-descr {
		color: #000;
		font-size: 16px;
	}

	.dotted-button {
		font-size: 16px;
	}
	
	.history-item .item-title,
	.history-item .amount,
	.history-item .price {
		line-height: 2em;
	}

	.tooltip {
		display: none;
	}

}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	
	.chess-section .brand-content .list ul li {
		width: 100%;
	}

	.header .right-panel .panel-el:last-child {
		display: none;
	}

	

	.pagination ul li, 
	.pagination .prev, 
	.pagination .next {
		width: 35px;
		height: 35px;
		line-height: 35px;
	}
	
	#reviews .top .col-xs-6 {
		width: 100%;
		text-align: left;
	}

	#content .content-part {
		width: 100%;
		margin: 10px 0;
	}
	
	.item-info .item-title {
		font-size: 18px;
	}

	.brands-list ul li a {
		font-size: 13px;
	}
	
	.search-form-wrap {
	    right: 80px;
	}

	.search-form-wrap.open {
		padding-left: 50px;
	}

	.search-form-wrap.open #search-form .close {
		right: 15px;
	}

	.section .containers-nav {
		top: 32%;
	}

	.right-panel {
		width: 100px;
	}

}

@media only screen and (max-width : 420px) {
	
	.page-footer .footer-info-block {
		/*width: 100%;*/
		padding-left: 0;
		padding-right: 0;
	}

	.ms-container .brands-list {
	    margin-bottom: 55px;
	}

}



/* 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) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}