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

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.home .main-nav .menu > li > a{
		font-size: 16px;
	}
	.first-screen h1{
		font-size: 40px;
	}

	.title-block .title{
		font-size: 24px;
	}

	.wp-content .h3, .wp-content h3, .h3, h3{
		font-size: 20px;
	}

	ul.foot-contacts li{
		margin-bottom: 10px;
	}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
	.home .top-head-container{
		flex-direction: row;
	}

	ul.foot-contacts{
		justify-content: flex-start;
	}

	.custom-gallery-items{
		grid-template-columns: repeat(2, 1fr);
	}


	.main-nav .menu > li > a{
		color: #171717;
	}


	.main-header .menu{
		width: 290px;
	}
	.sidebar{
		margin-top: 30px;
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.home .head-contacts{
		flex: 1 1 auto;
		justify-content: flex-end;
	}
	.head-contacts li{
		margin-bottom: 0;
	}
	.head-contacts{
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	.partners.columns-6 .partner{
		width: 25%;
	}

	.small-icons .icon-box.horizontal {
		padding-left: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.small-icons .icon-box.horizontal .icon {
		height: 40px;
		position: static;
		margin-bottom: 10px;
	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.partners.columns-6 .partner{
		width: 100%;
	}
	.main-footer .copyright{
		float: none;
	}
	.main-footer .iks{
		float: none;
	}
	.main-footer .footer-copyright{
		text-align: left;
	}

	.custom-gallery-items{
		grid-template-columns: 1fr;
	}

	.custom-gallery-items .custom-gallery-item{
		width: 100%;
		height: 213px;
	}

	.custom-gallery-items .custom-gallery-item.height-2x{
		min-height: 213px;
		height: auto;
	}
	.first-screen h1{
		font-size: 24px;
	}
}

/* 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) {
	.home .main-header .custom-logo-link{
		display: none;
	}
}

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

}