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

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.home section, .last_form {
		height: auto;
		padding-bottom: 80px;
		-webkit-background-size: cover;
		background-size: cover;
	}
	.head .logo img {
	    width: 100%;
	}
	.menu ul li {
	    margin: 0 10px;
	}
	.h1 {
	    width: 90%;
	}
	.osob_item img {
		width: 100%;
	}
	.osob_item br {
		display: none;
	}
	.page3 .zag {
		width: 85%;
    	margin: 80px auto 0;
	}
	.pk_item {
		margin-bottom: 40px;
	}
	.we_cool {
		margin-top: 10px;
	}
	.dost_item p {
	    width: 65%;
	}
	.dost_item p br {
		display: none;
	}
	.dostavka .btn {
		margin-bottom: 50px;
	}
	.viezd {
		margin-top: -85px;
	}
	.viezd .zag {
		margin-top: 80px;
	}
	.zag {
		line-height: 60px;
	}
	.adress {
	    margin-right: -10px;
	}
	.map-info {
		right: 30px;
	}
	
	.content table td {
		font-size: 18px;
	}
	.content table thead td {
	    font-size: 26px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.head .logo img {
		width: auto;
	}
	.hamburger {
		margin: 35px 0;
	}
	.h1 {
	    width: 100%;
	    text-align: center;
	    line-height: normal;
	    margin: 50px 0 0 0;
	}
	.h1 br {
		display: none;
	}
	.h2 {
		width: 100%;
	    text-align: center;
	    line-height: normal;
	}
	.page1 .form {
		margin: 40px auto 0;
	}
	.page1 {
		height: auto;
		-webkit-background-size: cover;
		background-size: cover;
		padding-bottom: 70px;
	}
	.pk_item {
		min-height: 430px;
	}
	.dost_item p {
	    width: 55%;
	}
	.dost_item p, .dost_item img {
	    display: inline-block;
	    vertical-align: top;
	}
	.dost_item {
	    margin-bottom: 60px;
	}	
	.fform .form__button  {
		margin-top: 20px;
	}
	.footer {
    	height: auto; 
	    text-align: center;
	    padding-bottom: 20px;
	}
	.footer .email, .footer .adress {
	    line-height: 40px;
	}
	.map-info {
	    right: 0;
	    left: 0;
	    top: 0;
	    width: 100%;
	    height: auto;
	    padding: 10px;
	    text-align: center;
	}
	.map-info p {
	    display: inline;
	    margin: 10px;
	    line-height: 30px;
	}


	.four {
	    margin-top: 0px;
	}
	.svai_item:after {
		left: 0;
		right: 0;
		margin: auto;
	}
	.zag br {
		display: none;
	}
	.r1 .label {
	    width: 250px;
	}
	.form .row {
	    margin: 0 auto 10px;
	    width: 413px;
	}
	.r1 .label {
	    width: 215px;
	}
	.r1 .form__input:nth-of-type(1) {
		margin-right: 0;
	}
	.form-block:last-child {
		margin-left: 137px;
	}
	.pre_item {
	    width: 30%;
	    padding-right: 15px;
	    margin-bottom: 35px;
	}
	.shema_item {
	    padding: 0 15px;
	    margin-bottom: 40px;
	}
	.zag2 {
	    margin: 55px 0;
	}
	.form2 {
		text-align: center;
	}
	.form2 .form__button {
	    margin-top: 30px;
	}
	
	.footer .adress {
	    display: inline;
	}
	.footer .phone {
		float: none;
		text-align: center;
	}
	.content table td {
		line-height: normal;
		padding: 5px;
	}
	
	.service_img {
	    float: none;
	    text-align: center;
	}
	.service_img  img {
		width: 100%;
		margin: 0 0 40px 0;
	}

}

/* 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;
	}
	.head .logo {
	    margin-left: 50px;
	}
	.form {
	    padding: 25px;
	    text-align: center;
	}
	.h2 br {
		display: none;
	}
	.modal p {
		font-size: 18px;
	}
	.osob_item {
		margin-bottom: 50px;
	}
	.fform .form__input {
		margin: 0 0 20px 0;
	}
	.footer {
		padding-bottom: 40px;
	}
	.services_item span {
	    font-size: 22px;
	    line-height: normal;
	}
	.map-info p {
		display: inline-block;
	}
	


	.col-sm-2.col-xs-1.hidden-md.hidden-lg {
		right: 42%;
	}
	.col-md-3.col-sm-4.col-xs-5 {
    	left: 8%;
	}

	
	.h1, .zag {
		line-height: normal;
	}
	.zag {
		font-size: 40px;
	}

	.form .row {
	    margin: 0 auto 10px;
	    width: 280px;
	}
	.selectize-input, .selectize-input.focus {
		width: 280px;
	}

	.form-block:last-child {
	    margin: 15px 0 0 0; 
	}
	.form .form__input {
		width: 280px;
	}
	.form .form__button.btn {
		width: 280px;
		padding: 0;
		font-size: 16px;
	}
	.pre_item {
		width: 49%;
	}
	.form2 .form__input {
	    margin: 10px 10px;
	}
	.btn {
		font-size: 18px;
	}
	.dostavka {
	    height: 638px;
	    background: none;
	    background-color: #f3f4f8;
	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.phone {
	    float: none;
	    text-align: center;
	    margin-top: 0;
	}
	.head {
		height: auto;
		padding-bottom: 20px;
	}
	.modal {
		width: 100%;
		padding: 30px;
	}
	.pk_item img {
		width: 100%;
	}
	.dost_item {
		text-align: center;
	}
	.dost_item p {
	    width: 100%;
	    margin: 15px 0 0 0;
	}
	.form .form__input {
		width: 100%;
	}
	.form .form__button.btn {
		width: 100%;
	}
	.map-info {
		top: -40px;
	}
	.services_item {
		width: 100%;
	}




	.col-phone {
		width: 100%;
	}

	.logo {
		margin-left: 15px;
	}
	.h1 {
		font-size: 38px;
	}
	
	.page2 {
		background: none;
	}
	.form2 {
		padding: 15px 10px 60px;
	    margin: 80px -15px;
	}
	.podzag {
	    font-size: 22px;
	    line-height: normal;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 360px) {
	.form {
	    margin: 0 -15px;
	}
	.zag {
	    font-size: 32px;
	}
}


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

}