
@media only screen and (max-width : 1440px) {
	
	body {
		font-size: 14px;
	}
	
	.h1, h1,
	.h2, h2 {
		font-size: 1.5rem;
	}
	
	/*.h5, h5 {
		font-size: 14px;
	}*/
	
	/*.nav-link {
		padding: .3rem 1rem;
	}*/

	.modal-black .modal-dialog {
	    max-width: 500px;
	}
	
	.bd-modal-lg .modal-dialog {
		    max-width: 600px;
	}
}

@media only screen and (max-width : 1200px) {
	.bd-modal-lg .modal-dialog {
		    max-width: 600px;
	}
	
	.item-texture-wrap a.js-texture.no-bg i {
		/*font-size: 85px;
		line-height: 190px;*/
		
		font-size: 50px;
		line-height: 90px;
	}
	
	.main-right-icon {
		right: 270px;
	}
	
	#modal-right-panel, 
	#modal-left-panel {
		max-width: 260px;
	}
	
	#modal-right-panel .modal-dialog, 
	#modal-left-panel .modal-dialog {
		max-width: 260px;
	}
		
	#modal-right-panel h4, 
	#modal-left-panel h4 {
		font-size: 16px;
	}
	
	#modal-right-panel.modal {
		max-width: 260px;
	}
	
	.modal-right-panel .nav-pills {
		max-width: 260px;
	}
	
	.modal-left-panel .btn-back,
	.modal-right-panel .btn-back {
		max-width: 260px;
	}
	.modal-left-panel a.btn-back .fa, 
	.modal-right-panel a.btn-back .fa {
		font-size: 20px;
		left: 14px;
		top: 10px;
	}
	
	
	.left-panel a.catalog-model .img {
		height: 160px;
	}
	
	/*.item-forms-wrap a {
		max-width: 150px;
		max-height: 150px;
	}*/
	
	/*.modal-right-panel .nav-pills a {
		font-size: 12px;
	}
	
	.modal-right-panel .nav-pills a .img {
		top: 4px;
		width: 20px;
		height: 20px;
	}
	
	.modal-right-panel .nav-pills a .fa {
		top: 4px;
		font-size: 20px;
		left: 16px;
	}*/
	
	.modal-right-panel .tab-content {
		/*padding-bottom: 150px;*/
	}
	
	
	.modal-black .modal-dialog {
		margin-top: 50px;
		max-width: 500px;
	}
}

@media only screen and (max-width : 1024px) {
	
	.bd-modal-lg .modal-dialog {
		max-width: 370px;
	}
	#modal-constructor-order .nav-tabs .nav-item,
	#modal-constructor-order .nav-tabs .nav-item .nav-link {
		width: 100%;
	}
}

@media only screen and (width < 992px) {
	
	
	.main-right-icon {
		right: 10px;
	}
	
	#panel-bottoms {
		bottom: 0;
	}
	
	.panel-bottoms-wrap {
		width: 300px;
		margin: 0 auto;
	}
	
	.panel-bottoms-wrap .btn,
	.panel-bottoms-wrap .btn-group {
		width: 100%;
	}
	
		
	
	.modal-black {
		z-index: 1500;
		background: #343a40;
		
		width: calc(100% - 260px);
		margin: 0 auto;
		left: 260px;
	}
	.modal-black .modal-dialog {
		margin-top: 0;
		max-width: 100%;
		height: 100%;
	}
	.modal-black .modal-content {
		border-radius: 0;
		border-bottom: 0;
	}
	.modal-black .modal-body {
		margin: 0 auto;
		max-width: 500px;
	}
	
	
	/*#modal-right-panel .modal-dialog, 
	#modal-left-panel .modal-dialog {
		max-width: 200px;
	}*/
	
	#modal-right-panel .modal-dialog {
		position: absolute;
		right: 0;
	}
	
	.panel-bottoms-mobile {
		display: block;
	}
	
	.modal-left-panel .modal-header,
	.modal-right-panel .modal-header {
		display: block !important;
	}
	
	.panel-bottoms-wrap .btn {
		border-radius: 0;
		border-bottom: 2px solid #49515a;
	}
	
	.panel-bottoms-wrap .btn:active,
	.panel-bottoms-wrap .btn:focus {
		box-shadow: none !important;
	}
	
	.modal-backdrop {
		display: block;
	}
}

	
@media only screen and (max-width : 768px) {
	
	.main-right-icon {
		right: 10px;
	}
	
	#modal-right-panel, 
	#modal-left-panel {
		max-width: 100%;
	}
	
	#modal-right-panel.modal {
		max-width: 100%;
	}
	

}

@media only screen and (max-width : 575px) {
	.panel-bottoms-wrap {
		width: 100%;
		margin: 0 auto;
	}
	
	#logo-constructor-top {
		padding-left: 10px;
		text-align: left;
	}
}

@media only screen and (max-width : 530px) {
	
	.modal-black {
		z-index: 1500;
		background: #343a40;
		
		width: 100%;
		left: 0;
	}
	.modal-black button {
		display: inline-block;
	}
	
	#modal-constructor-order .nav-tabs .nav-item,
	#modal-constructor-order .nav-tabs .nav-item .nav-link {
		width: 100%;
	}
	
	.bd-modal-lg .modal-dialog {
		    max-width: 100%;
	}
	
	.modal-left-panel-main .modal-dialog {
		width: 100%;
		max-width: 100% !important;
	}
	.modal-left-panel-main .left-panel {
		min-width: 300px;
		margin: 0 auto;
	}
	.modal-left-panel-main .left-panel a.active, 
	.modal-left-panel-main .left-panel a:hover {
		border-right: 20px solid #343a40;
		border-radius: 15% !important;
	}
	
	.modal-constructor-order .modal-content button {
		width: 100%;
		margin-top: 10px;
	}
}

@media only screen and (max-width : 460px) {

}

@media only screen and (max-width : 425px) {

}


