/* ======================================================================= */
/*@media only screen and (max-width: 1300px){*/
@media only screen and (max-width: 1300px)/* and (max-resolution: 100dpi),
	(max-width: 650px) and (min-resolution: 101dpi)*/{
	body:not(.page-type-contact) .half-inner{
		width: 100%;
	}
	body:not(.page-type-contact) .half-inner .content-inner{
		max-width: calc(100% - 40px);
		margin-left: 20px;
	}

	
}



@media only screen and (min-width: 1235px) and (max-width: 1500px){
	.contact-page-left{
		background-size: 100% auto;
	}
}


/* ======================================================================= */
@media only screen and (min-width: 2000px){
	
	.page-content-header{
		padding-bottom: 800px;
	}
}



/* ======================================================================= */
@media only screen and (min-width: 1440px){
	
	.page-content-header{
		padding-bottom: 468px;
	}
}


/* ======================================================================= */
/*@media only screen and (max-width: 1250px){*/
@media only screen and (max-width: 1250px)/* and (max-resolution: 100dpi),
	(max-width: 625px) and (min-resolution: 101dpi)*/{
	.content-block-half-image-half-text-section{
		min-height: unset;
	}
	.content-block-half-image-half-text-section .inner-half,
	.content-block-half-image-half-text-section .img-wrapper{
		width: 100%;
		display: block;
	}
	.content-block-half-image-half-text-responsive{
		display: block;
	}
	.content-block-half-image-half-text-desktop{
		display: none;
	}
	.content-block-half-image-half-text-section h4,
	.content-block-half-image-half-text-section p{
		width: 80%;
		min-width: 700px;
		max-width: calc(100% - 20px);
	}
	.content-block-half-image-half-text-left-side h4,
	.content-block-half-image-half-text-right-side h4,
	.content-block-half-image-half-text-left-side p,
	.content-block-half-image-half-text-right-side p{
		text-align: center;
		margin: 0 auto 0 auto !important;
		display: block;
		left: 0 !important;
		right: 0 !important;
	}
	.content-block-half-image-half-text-left-side img,
	.content-block-half-image-half-text-right-side img{
		margin: auto;
		margin-bottom: 30px;
		transform: none !important;
		float: none;
		display: block;
	}
	.content-block-half-image-half-text-section{
		display: block;
	}
	
	.inner{
		width: calc(100% - 40px);
	}

	body.page-type-contact .half-inner .content-inner {
		max-width: calc(100% - 40px);
		margin-left: 20px;
	}
}


/* ======================================================================= */
/*@media only screen and (min-width: 1000px){*/
@media only screen and (min-width: 1000px)/* and (max-resolution: 100dpi),
	(min-width: 500px) and (min-resolution: 101dpi)*/{
	.news-items-results .news-item:nth-of-type(1){
		width: calc((100% - 20px) / 1.5);
		margin-left: 20px;
		display: inline-block;
		vertical-align: top;
		float: left;
	}
	.news-items-results .news-item:nth-of-type(1){
		margin-left: 0px;
	}
	.news-items-results .news-item:nth-of-type(1) .news-item-img{
		position: relative;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		/*background-image: none !important;*/
		background-position: center top;
		transition: ease all .3s;
		background-size: 100% auto;
	}
	/*.news-items-results .news-item:nth-of-type(1) .news-item-content{
		position: absolute;
		left: 20px;
		bottom: 20px;
		width: calc(100% - 40px);
	}*/
	.news-items-results .news-item:nth-of-type(1) .news-item-content h3,
	.news-items-results .news-item:nth-of-type(1) .news-item-content a,
	.news-items-results .news-item:nth-of-type(1) .news-item-content span,
	.news-items-results .news-item:nth-of-type(1) .news-item-content p{
		/*color: #fff;*/
	}
	.news-items-results .news-item:nth-of-type(1) .news-item-content h3{
		font-size: 30px;
	}
}


/* ======================================================================= */
/*@media only screen and (max-width: 1000px){*/
@media only screen and (max-width: 1000px)/* and (max-resolution: 100dpi),
	(max-width: 500px) and (min-resolution: 101dpi)*/{

	.page-content-header{
		padding-bottom: 50%;
		background-size: cover;
	}

	.footer-section:first-of-type{
		display: block;
	}
	.footer-section{
		width: calc(( 100% - 40px ) / 3 ) !important;
		margin-left: 0;
		margin-right: 20px;
	}
	.footer-section:nth-of-type(4n){
		margin-right: 0;
	}

	/*news items:*/
	.animate-in-style-4{
		animation-delay: 0s !important;
	}
	.news-items-results .news-item,
	.news-items-the-rest .news-item,
	.news-items-results .news-items-featured .news-item:nth-of-type(n){
		width: calc(50% - 10px );
		float: none;
		margin-bottom: 20px;
	}
	.news-items-results .news-item:nth-of-type(1),
	.news-items-results .news-item:nth-of-type(3),
	.news-items-the-rest .news-item:nth-of-type(3n+1){
		margin-right: 20px;
	}
	.news-items-the-rest .news-item:nth-of-type(2n+1){
		margin-right: 0;
	}
	.news-items-the-rest .news-item:nth-of-type(9n){
		margin-right: 20px;
	}
	.news-items-results .news-item:nth-of-type(1){
		width: 100%;
	}
	.news-items-results .news-item:nth-of-type(1) .news-item-img,
	.news-items-results .news-item:nth-of-type(2) .news-item-img,
	.news-items-results .news-item:nth-of-type(3) .news-item-img{
		/*padding-bottom: 100%;*/
	}
	.animate-in-style-3,
	.animate-in-style-4,
	.animate-in-style-5,
	.animate-in-style-6{
		transform: translateY(40px);
	}
	.news-items-results img{
		/*display: none;*/
	}
	.news-items-results .news-item:nth-of-type(1) .news-item-img{
		display: block;
		background-position: center;
		background-size: contain;
		width: 100%;
		/*padding-bottom: 100%;*/
		background-repeat: no-repeat;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
	.news-items-results .news-items-featured{
		display: block;
	}

	/*----------------*/



	body.page-type-contact .half-inner{
		width: 100%;
	}
	body.page-type-contact .half-inner .content-inner{
		max-width: calc(100% - 40px);
		margin-left: 20px;
	}

	.contact-page-left {
		position: relative;
		background-image: none !important;
	}
	.contact-page-left img{
		display: block;
		margin-left: auto;
		max-height: 800px;
		/*max-width: 800px;*/
		margin-right: auto;
		margin-bottom: 60px;
	}

}




/* ======================================================================= */
/*@media only screen and (max-width: 850px){*/
@media only screen and (max-width: 850px)/* and (max-resolution: 100dpi),
	(max-width: 425px) and (min-resolution: 101dpi)*/{
	/*-----------------------*/
	.header-menu-wrapper{
		display: block;
		position: relative;
		z-index: 1;
		-webkit-user-select: none;
		user-select: none;
		margin-top: 12px;
	}
	.header-menu-wrapper a{
		text-decoration: none;
		color: #232323;

		transition: color 0.3s ease;
	}
	.header-menu-wrapper input{
		display: block;
		width: 40px;
		height: 32px;
		position: absolute;
		top: -7px;
		left: -5px;
		cursor: pointer;
		opacity: 0; /* hide this */
		z-index: 2; /* and place it over the hamburger */
		-webkit-touch-callout: none;
	}
	.header-menu-wrapper span{
		display: block;
		width: 33px;
		height:2px;
		margin-top: 5px;
		margin-bottom: 5px;
		position: relative;
		background: #cdcdcd;
		z-index: 1;
		transform-origin: 5px 0px;
		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
					background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
					opacity 0.55s ease,
					margin-top: .3s ease;
	}
	.header-menu-wrapper span:first-child{
		transform-origin: 0% 0%;
	}
	.header-menu-wrapper span:nth-last-child(2){
		transform-origin: 0% 100%;
	}
	/*.header-menu-wrapper input:checked{
		margin-top: 8px;
	}*/
	.header-menu-wrapper input:checked ~ span{
		opacity: 1;
		transform: rotate(45deg) translate(-5px, -3px);
		margin-top: 12px;
	}
	.header-menu-wrapper input:checked ~ span:nth-last-child(3){
		opacity: 0;
		transform: rotate(0deg) scale(0.2, 0.2);
		margin-top: 0;
	}
	.header-menu-wrapper input:checked ~ span:nth-last-child(2){
		transform: rotate(-45deg) translate(0, -1px);
		margin-top: 0;
	}
	.header-menu{
		position: fixed;
		width: calc(100% - 40px);
		margin: -100px 0 0 -50px;
		padding: 20px;
		padding-top: 125px;

		background: #000;
		list-style-type: none;
		-webkit-font-smoothing: antialiased;
		/* to stop flickering of text in safari */
		transform-origin: 0% 0%;
		transform: translateX(53px);
		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
		height: calc(100vh - 89px);
		overflow: auto;
	}
	ul.header-menu li{
		padding: 10px 0;
		font-size: 22px;
		display: block;
		margin-left: 0;
		text-align: center;
	}
	.header-menu-wrapper input:checked ~ ul{
		transform: translate(calc(-100% - -53px), 0);
	}
	/*-----------------------*/
	/*half text content block*/
	.content-block-wrapper.content-block-half-and-half .content-block-half{
		display: block;
		margin-right: 0;
		width: 100%;
	}
	.content-block-half-responsive{
		display: block;
	}
	.content-block-half-not-responsive{
		display: none;
	}

	/*-----------------------*/
	/*our products content block*/
	.content-block-wrapper.content-block-our-products .inner{
		display: block;
	}
	.content-block-our-products .half-width{
		display: block;
		width: calc(100% - 80px);
		margin-left: 0;
		margin-bottom: 60px;
	}
	/*---------------------*/
	ul.content-block-image-grid{
		grid-template-columns: repeat(4,1fr);
		grid-gap: 10px;
	}
	/*---------------------*/
	.page-content-header-text-desktop {
		top: unset;
		bottom: 20px;
		transform: translateY(0);
	}
	.page-content-header-text-desktop p{
		display: none;
	}
	.page-content-header-text-responsive{
		display: block;
		position: relative;
		transform: none;
	}
	.page-content-header-text-responsive p{
		max-width: 100%;
	}
	.page-content-header-text-responsive h1{
		display: none;
	}

	/*news items:*/
	.news-item{
		width: 100% !important;
		margin-right: 0 !important;
	}
	.news-items-results .news-item:nth-of-type(2) .news-item-img,
	.news-items-results .news-item:nth-of-type(3) .news-item-img{
		/*padding-bottom: 100%;*/
	}
	.news-items-results .inner-large .inner{
		width: 100%;
	}
	/*----------------*/

	.homepage-concave{
		opacity: 1;
	}
	.homepage-concave::after{
		border-radius: 45px;
		left: 0;
		right: 0;
	}

	.news-items-results .news-items-featured .news-item:nth-of-type(2) .news-item-img,
	.news-items-results .news-items-featured .news-item:nth-of-type(3) .news-item-img{

/*		display: block;
		background-position: center top;
		background-size: 100% auto;
		width: 100%;
		padding-bottom: 0;
		background-repeat: no-repeat;
		border-radius: 10px;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;*/
		height: auto;
		padding-bottom: 0;
	}
	.news-items-results .news-items-featured .news-item:nth-of-type(2) .news-item-img img, .news-items-results .news-items-featured .news-item:nth-of-type(3) .news-item-img img{
		display: block;
		opacity: 1;
	}
}

/* ======================================================================= */
@media only screen and (max-width: 720px){
	.content-block-half-image-half-text-section .img-wrapper img,
	.content-block-half-image-half-text-section h4,
	.content-block-half-image-half-text-section p{
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}
	.content-block-half-image-half-text-section{
		position: relative;
	}
	.content-block-half-image-half-text-section/*:nth-of-type(2n - 1)*/::after{
		content: '';
		position: absolute;
		width: 100px;
		/*height: 1px;*/
		border-bottom: 1px solid rgba(153,153,153,.4);
		/*background-color: #999;*/
		transform: translateX(-50%);
		left: 50%;
		bottom: .5px;
	}
}



/* ======================================================================= */
@media only screen and (max-width: 650px){
	.contact-page-left img{
		margin-bottom: 0;
	}
	.homepage-large-video video{
		display: none;
	}
	.homepage-large-video .inner{
		position: unset;
	}
	.homepage-large-video{
		height: calc(100vh - 66px);
		background-color: #000;
		background-image: url(../../storage/images/pages/uk-at-night.jpg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		position: relative;
	}
	.homepage-carousel{
		transform: translateY(calc(-50% - 33px));
	}
}



/* ======================================================================= */
@media only screen and (max-width: 600px){
	/*.footer-section{
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}*/
	.footer-section{
		width: calc(50% - 10px) !important;
		margin-left: 0;
		margin-right: 20px;
	}
	.footer-section:nth-of-type(3n){
		margin-right: 0;
	}
	.homepage-content{
		max-width: 100%;
	}
}

/* ======================================================================= */
@media only screen and (max-width: 600px){
	.content-block-subscribe-cta-input input[type="submit"]{
		margin-top: 20px;
	}
}

/* ======================================================================= */
@media only screen and (max-width: 440px){
	.content-block-our-products .half-width:nth-of-type(1) .bottom-section{
		width: calc(100% - 64px);
		height: 230px;

	}
	.content-block-our-products .half-width{
		width: calc(100% - 40px);
		padding: 60px 20px 0 20px;
	}
}

/* ======================================================================= */
@media only screen and (max-width: 410px){
	.footer-section{
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.header-logo{
		/*width: 100%;*/
	}
}