/*   
Theme Name: Energy
Description: energyresourceri.com.ua (by Rindan)
Author: Dmitriy Yerohin (aka Rindan)
Author email: rindan1983@gmail.com
Version: 1.0
*/

.header-wrapper:not(.header-sticky) {
	position:unset;
	top:unset;
}
.post_thumb img {
	max-height:100%;
	-o-object-fit: cover;
	   object-fit: cover;
}
@media only screen and (max-width:1200px){
	.img-bkg01, .img-bkg02 {
		max-height: 500px;
		background-repeat: no-repeat;
		background-position:center !important;
	}
	.services-negative-top-text {
		margin-top: -690px;
	}
	.header-wrapper {
		padding-bottom:0;
	}
	.service-feature-box .service-media img {
		object-fit:cover;
	}
	.services-negative-top-text h1 {
		font-size: 1.4em;
		color: #fff;
		line-height: 1.4em;
	}
}
@media only screen and (min-width:767.99px) and (max-width:1200px) {
	#header .row {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap:wrap;
		    flex-wrap:wrap;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
    	-webkit-box-pack: justify;
    	    -ms-flex-pack: justify;
    	        justify-content: space-between;
	}
	#header .main__menu {
		-webkit-box-pack: space-evenly;
		    -ms-flex-pack: space-evenly;
		        justify-content: space-evenly;
	}
	#header .ac_info_wrapper {
		padding-left:0;
		padding-right:0;
display: flex;
    flex-direction: column;
    justify-content: center;
	}
	#header .right-info .ac_info_wrapper:first-child,
	#header .navbar-header {
		flex: 0 1 50%;
	}
	#header .right-info {
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
	}
	#header .row .col-md-6.hidden-xs {
		width: 100%;
	}
	#header .nav-menu ul {
		padding-left:0;
	}
	#header .nav-menu,
	#header .ac_info_wrapper:last-child{
		-webkit-box-flex:1;
		    -ms-flex:1 1 auto;
		        flex:1 1 auto;
	}
	#header .ac_info_wrapper:last-child span {
		text-align:center;
	}
	#header .main__menu li,
	#header .main__menu {
		width:auto;
	}
}
@media only screen and (max-width:768px) {
	.navbar-header {
		-webkit-box-pack:center;
		    -ms-flex-pack:center;
		        justify-content:center;
	}
	.header-wrapper {
		padding-bottom:0;
	}
	.navbar-header .logo  img {
		margin:0;
		height:80px;
	}
	
	.main__menu {
		-webkit-box-pack:center;
		    -ms-flex-pack:center;
		        justify-content:center;
		-webkit-column-gap:20px;
		   -moz-column-gap:20px;
		        column-gap:20px;
		padding-bottom:20px;
		min-height:unset;
	}
	.service-feature-box .service-media img {
		-o-object-fit:cover;
		   object-fit:cover;
	}
	.services-negative-top {
		display:none;
	}
	.page-content.parallax {
		padding-top:0;
	}
	.service-feature-box .service-body {
		/*display:none;*/
	}
	.services-negative-top-text {
		margin-top:-425px;
		margin-bottom:0 !important;
	}
	.services-negative-top-text h1 {
		font-size: 1.4em;
		    text-align: center;
	}
	.services-negative-top-text p {
		font-size:26px;
		    text-align: center;
	}
	.services-negative-top-text p,
	.services-negative-top-text h1 {
		color:#fff;
	}
	.blog, .single_post {
		padding-top:70px;
	}
	.page-content.single_post {
		padding-left:15px;
		padding-right:15px;
	}
}

@media only screen and (max-width:567px) { 
	.services-negative-top-text {
		margin-top:-275px;
		margin-bottom:0;
	}
	.main__menu {
		padding: 0px 0 25px 0;
	}
	.services-negative-top-text p {
		font-size:20px;
	}
	.blog .post .post_thumb {
		padding:0;
	}
	.img-bkg01, .img-bkg02 {
		max-height: 300px;
		background-repeat: no-repeat;
		background-position:center !important;
	}
}
@media only screen and (max-width:450px) {
	.services-negative-top-text {
		margin-top:-240px;
	}
}
@media only screen and (max-width:350px) {
	.services-negative-top-text {
		margin-top:-220px;
	}
}