/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .logo {
        padding-left: 0;
    }
    
	.phone_item i{
		font-size: 17px;
	}
	.phone_item{
		font-size: 15px;
	}
	.lead{
		font-size: 14px;
	}
	
	.main_head {
	    padding-top: 20px;
	}

	.main_nav{
/* 		padding-top: 7px; */
	}

	.footer_nav{
		display: none;
	}
	
	.logo_img{
		width: 80px;
		margin-top: 10px;
	}

	.front{
		background-size: cover;
	}
	
	.working-hours {
		display: none;
	}
	
	.main-header {
       display: flex;
       justify-content: space-between;
    }
    
    header .phone {
       padding-right: 15px;
   }
}

@media (max-width: 992px) {
    .main_head .row > .col-sm-5:first-child {
        padding-left: 0;
    }
    .main_head .row > .col-sm-4:last-child {
        padding-right: 0;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	header .phone{
		margin-top: 0;
		margin-bottom: -5px;
		margin-top: 10px;
		margin-bottom: 2px;
	}
	
	.main-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .phone_email_container {
        gap: 10px;
		flex-direction: row;
		align-items: end;
		margin-top: 10px;
	}
	
	.email_item {
		display: flex;
		align-items: baseline;
	}
	
	.front .title{
		font-size: 18px;
	}

	.front{
		height: auto;
	}

	.front .list{
		padding-bottom: 20px;
		font-size: 15px;
	}

	.mobile-menu-button {
		display: block;
	}
	
	.main_head{
		text-align: center;
		height: 145px;
	}

	.main_nav{
		display: none;
		padding: 0;
		left: 0;
		top: 100%;
		z-index: 999;
		position: absolute;
	}

	.main_nav.active{
		display: block;
	}

	.main_nav ul{
		text-align: left;
		border-left: 0;
		border-right: 0;
		margin: 0;
		display: block;
		background: #f3f5f6; /* Old browsers */
		background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #fefefe 51%, #f3f5f6 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#fefefe 51%,#f3f5f6 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#fefefe 51%,#f3f5f6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f5f6',GradientType=0 ); /* IE6-9 */

	}

	.main_nav ul > li{
		display: block;
	}

	.main_nav ul > li > a{
		padding: 10px;
		height: auto;
	}

	.logo{
		display: block;
		float: none;
	}

	.phone{
		font-size: 0;
	}

	/*.phone_item{
		display: inline-block;
	}*/

	

	.phone_item:last-child{
/* 		margin-left: 10px; */

	}

	.logo_img{
		margin-top: 0;
		width: 80px;
		vertical-align: middle;
		float: none;
		display: inline-block;
	}

	.logo_text{
		text-align: left;
		vertical-align: middle;
		float: none;
		display: inline-block;
	}

	.logo .title{
		font-size: 18px;
		line-height: 1.2;
	}

	.footer_nav{
		display: none;
	}
	
	header .phone span {
	font-size: 14px;
	margin-right: 5px;
}
	
	header .phone {
	padding-right: 0;
	justify-content: center;
}

.working-hours {
		display: none;
	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.phone_item i{
		display: none;
	}
	.email_item i {
		display: none;
	}
	.phone_email_container {
		margin-top: 10px;
	}
	
}

/* 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) {

}