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

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

	.header-wrap {
			margin-top: 120px;
	}

	.service {
		margin-top: 20px;
	}

	.view-all {
		position: relative;
		bottom: 30px;
	}

	body {
		background: #000 url(../img/bg-customers.png) no-repeat center 3650px;
	}

	.services {
		padding-bottom: 50px;
	}

	.customers {
		background: url(../img/competence-img4.png) no-repeat 17% 20px / 150px;
	}

	.competence {
		margin-top: 100px;
		background: url(../img/competence-img.png) no-repeat left top / 200px;
	}

}

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

	.header-wrap {
		margin-top: 150px;
	}


	.main-menu li {
		outline: 1px dashed #eb2b2b;
	}

	.logo-desk {
		display: none;
	}

	.main-menu {
		margin: 10px 0 0 10px;
		display: none;
		min-width: 290px;
		float: right;
		text-align: right;
	}

	.main-menu ul li {
		display: block;
	}

	.us {
		margin-top: 20px;
	}

	.us img {
		height: 80px;
	}

	.about h3 {
		font-size: 1.5em; /*main: 16px*/
	}

	.about p {
		font-size: 1.2em; /*main: 16px*/
	}

	.right {
		display: none;
	}

	.competence {
		margin-top: -150px;
		text-align: center;
	}

	.competence p {
		max-width: 100%;
	}

	.view-all {
		position: relative;
		top: 47px;
	}

	.select {
		height: 161px;
		position: relative;
		top: 100px;
	}

	.select h2 {
		font-size: 1.4em; /*main: 16px*/
		max-width: 300px;
		margin: 55px 0 0 50px;
	}

	.select-button {
		position: absolute;
		right: 50px;
		top: 45px;
	}

	.instagram {
		padding: 100px 0 60px 0;
	}

	.map-yandex {
		margin-top: 70px;
	}

	.footer h2 {
		padding-top: 250px;
	}

	.first {
		display: none;
	}

	.main-head {
		margin-bottom: 100px;
	}

	.about {
		padding-top: 100px;
	}

	.us {
		max-width: 200px;
		display: inline-block;
		font-size: 0.7em; /*main: 16px*/
	}

	.customers {
		background: url(../img/competence-img4.png) no-repeat 50% 20px / 100px;
	}

	.competence {
		background: url(../img/competence-img.png) no-repeat left 130px / 100px;
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

	.small {
		display: none;
	}

	.header-wrap {
		margin-top: 90px;
	}

	.logo-desk {
		display: none;
	}

	.select {
		bottom: 30px;
	}

	.select h2 {
		font-size: 1.2em; /*main: 16px*/
		max-width: 220px;
		margin: 60px 0 0 10px;
	}

	.select-button {
		position: absolute;
		right: 10px;
	}

	.links {
		display: block;
		text-align: left;
		margin-left: 50px;
	}

	.contacts {
		display: block;
		text-align: left;
		margin-left: 50px;
	}

	.footer h2 {
		padding-top: 30px;
	}

	.contacts {
		margin-top: 130px;
	}

	.offer h1 {
		font-size: 2.4em; /*main: 16px*/
	}

	.main-head {
		margin-bottom: 70px;
	}

	.about {
		padding-top: 70px;
		background-position: right 270px;
		background-size: 100px 100px;
	}

	.footer p {
    margin-top: 15px;
  }

  .social-inst {
  	margin-top: 15px;
  }

  .footer {
  	padding-top: 100px;
  }

  .footer-menu {
  	margin-top: 15px;
  }

  #applicationName, #applicationEmail, #applicationPhone {
    margin-top: 25px;
    font-size: 18px;
	}

	#application {
    width: 380px;
  }

  .us {
		max-width: 300px;
		display: inline-block;
		font-size: 1em; /*main: 16px*/
	}

	.services {
		background: url(../img/bg-img2.png) no-repeat left top / 100px 100px,
								url(../img/bg-services.png) no-repeat center top;
							 
	}

	.form__text_thanks {
		font-size: 31px;
	}

	.form__text_long.line {
		width: 176px;
	}

	.form__text_contact {
		font-size: 27px;
	}

	.form__text_img {
		width: 200px;
	}

	/*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;
	}

}

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

	.offer h1 {
		font-size: 1.5em; /*main:16px */
	}

	.offer {
		font-size: 1em; /*main:16px */
	}

	body h2 {
		font-size: 1.6em; /*main:16px */
	}

	.quality p {
		font-size: 1.2em; /*main:16px */
	}

	.header-wrap {
		margin-top: 80px;
		margin-bottom: 0;
	}

	.main-head {
		margin-bottom: 0;
	}

	.about {
		padding-top: 0;
		background-position: right 250px;
		background-size: 70px 70px;
	}

	.quality {
		margin-top: 100px;
	}

	.header-button {
		font-size: 0.8em; /*main: 16px*/
	}

	.services p {
		font-size: 1.2em; /*main:16px */
	}

	.services {
		padding-top: 110px;
		background: url(../img/bg-img2.png) no-repeat left top / 70px 70px,
								url(../img/bg-services.png) no-repeat center top;
	}

	.service {
		font-size: 0.80em;
		height: 470px;
	}

	.competence h2 {
		font-size: 1.5em ; /*main:16px */
	}

	.competence p {
		margin-top: 0;
	}

	.long {
		width: 150px;
		margin-top: 20px;
	}

	.competence-button {
		margin-top: 30px;
	}

	.instagram {
		padding-top: 100px;
	}

	.small {
		display: inline-block;
	}

	.phone {
		display: none;
	}

	.view-all {
		top: -145px;	 
	}

	.select {
		height: 100px;
		position: relative;
		top: -140px;
	}

	.select h2 {
		font-size: 1em; /*main: 16px*/
		max-width: 200px;
		margin: 30px 0 0 10px;
	}

	.select-button {
		position: absolute;
		right: 10px;
		width: 115px;
		font-size: 0.8em; /*main: 16px*/
		padding: 10px 0;
		top: 30px;
	}

	.contacts {
		margin-top: 0;
	}

	.footer {
		padding-top: 40px;
	}

	#applicationName, #applicationEmail, #applicationPhone {
    margin-top: 25px;
    font-size: 14px;
    height: 50px;
	}

	.applicationButton {
		font-size: 14px;
		height: 50px;
	}

	#application {
    width: 200px;
  }

  .form__text_thanks {
		font-size: 23px;
	}

	.form__text_long.line {
		width: 150px;
	}

	.form__text_contact {
		font-size: 17px;
	}

	.form__text_img {
		width: 200px;
	}

	.form {
		background: #000 url(../img/form.png) no-repeat center right / cover;
	}

}

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

	.header-wrap {
		margin-top: 50px;
	}

	.main-head {
		margin-bottom: -50px;
	}

	.logo-mobile img {
		width: 150px;
	}

	.toggle-menu {
		line-height: 70px;
		font-size: 2.5em; /*main: 16px*/
	}

	.header_button {
		font-size: 0.7em; /*main: 16px*/
	}

	.competence h2 {
		font-size: 1.2em ; /*main:16px */
	}

	.competence p {
		font-size: 0.8em ; /*main:16px */
	}

	.instagram h2 {
		font-size: 1.3em;
	}

	.select h2 {
		font-size: 0.8em; /*main: 16px*/
		max-width: 150px;
		margin: 35px 0 0 10px;
	}

	#modal_form {
		top: 12% !important;
	}

}


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

 	.phone {
		display: none;
	}

	.small {
		display: none;
	}

}

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

	.logo-mobile {
		display: none;
	}

	.main-menu {
		display: block !important;
	}

}

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

/*992px ровно*/
@media only screen and (width : 992px) {

	.toggle-menu {
		display: block;
	}

	.view-all {
		margin-top: 0;
	}

	.logo-desk {
		display: block;
	}

	.main-menu {
		margin: 10px 0 0 10px;
		display: block;
		min-width: 290px;
		float: right;
		text-align: right;
	}

	.main-menu ul li {
		display: inline;
		outline: none;
	}

	.right {
		display: block;
	}

	.view-all {
		position: relative;
		top: 0px;
	}

	.competence {
		margin-top: 100px;
		background: url(../img/competence-img.png) no-repeat left top;
	}

	.left {
		margin-top: 170px;
	}
	
	.right img {
		margin: 150px 70px 0 0;
		float: right;
	}

}

@media only screen and (width: 768px) {

	.links {
		margin-top: 130px;
	}

}