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

/* Large Devices, Wide Screens - adaptive styles bofore 1200px */

@media only screen and (max-width: 1200px) {
	.navbar .pull-right {
		padding-left: 15px;
		margin-top: 20px;
	}

	header .group.row {
		margin-right: -15px;
	}

	.news p {
		margin-left: 10px;
	}
}
/* Medium Devices, Desktops - adaptive styles bofore 992px */

@media only screen and (max-width: 992px) {
	.navbar .pull-right {
		text-align: right;
		margin-top: 0px;
	}

	.contacts .navbar-nav {
		float: right;
		margin-bottom: 10px;
	}

	header .contacts li:last-child {
		margin-right: 0px;
	}

	.navbar-right > li {
		margin-right: 5px;
	}

	.news .new .col-md-4 {
		margin-bottom: 20px;
	}

	.news p {
		margin-left: 45px;
	}

	.leave button {
		margin-bottom: 20px;
	}

	.map .adress {
		margin-bottom: 20px;
	}

	.map .col-lg-6 {
		margin-bottom: 20px;
	}

	.products .col-lg-6 {
		float: none;
		margin: 24px auto 0px auto;
	}

	.company p {
		width: inherit;
	}
}
/* Small Devices, Tablets - adaptive styles bofore 768px */

@media only screen and (max-width: 768px) {
	#toggle {
		display: block;
	}
	.header_small .header_top{
		display:none;
	}
	.header_small #toggle{
		position: fixed;
		width: 100%;
		top: 0px;
		left: 0px;
	}
	.menu_block {

	}
	.header_small .menu_block {
		position: fixed;
		left: 0px;
		top: 43px;
		width: 100%;
		height: 100%;
		overflow: auto;
	}
	.header_small.open_menu {
		overflow: hidden;
	}
	#toggle.on +.menu_block  .menu{
		padding-bottom: 44px;
		margin: 0px;
	}
	.navbar-toggle {
		margin-bottom: 15px;
		margin-top: 15px;
		left: -45%;
	}
	.navbar-header {
		width:100%;
		text-align:center;
	}
	.navbar-brand{
		float: none;
		display: inline-block;
	}
	header .contacts{
		width:100%;
		text-align: center;
	}
	.contacts .nav.navbar-nav{
		width:100%;
		padding: 0px 0px 10px 0px;
		float:none;
	}
	.navbar-collapse {
		width: 100%;
	}

	header ul.nav a:hover {
		background-color: #fde700;
		color: #000;
		margin-left: 3px;
	}

	.navbar .pull-right {
		text-align: center;
	}

	.contacts .navbar-nav {
		float: left;
		margin: 0 auto;
	}

	.leave button {
		font-size: 22px;
	}
}
/* Extra Small Devices, Phones - adaptive styles bofore 480px */

@media only screen and (max-width: 608px) {
	/* .contacts .navbar-nav {
		margin-left: 26%;
	} */
}

@media only screen and (max-width: 480px) {
 /* button.btn{
    margin-left:22%;
  } */
  /* a.navbar-brand img{
    margin-left: 32%;
  } */
	.navbar-toggle {
	/* left: -27%; */
		margin-top: 10px;
	}

	header .contacts button {
		font-size: 14px;
	}

	header .contacts li {
		font-size: 14px;
	}

	.contacts .navbar-nav {
	/*	margin-left: 14%; */
	}

	#carousel h1 {
		font-size: 20px;
	}

	.news .new .col-md-4 {
		margin-bottom: 40px;
	}

	.news p {
		margin-left: 10px;
	}

	.leave button {
		font-size: 20px;
		padding: 10px 45px 9px 35px;
	}

	.leave button.second  {
		padding-right: 45px;
		padding-left: 55px;
	}

	.products .col-lg-6 h2 {
		font-size: 20px;
	}
}
/* Custom, iPhone Retina - adaptive styles bofore 320px */

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