/*
	Theme Name: British Energetics
	Theme URI: https://britishenergetics.com
	Description: Custom WP Theme for British Energetics
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/
:root {
	--unnamed-color-eef2f5: #EEF2F5;
	--unnamed-color-fdf2f2: #FDF2F2;
	--nav: #6687A0;
	--unnamed-color-b3c3d0: #B3C3D0;
	--text-colour: #003761;
	--red: #D80111;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: agenda, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	background-color: #fff;
	color: var(--text-colour);
	letter-spacing: 0.02em;
	line-height: 1.4em;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img, svg {
	max-width:100%;
	vertical-align:bottom;
	height: auto;
}
a {
	color:#D80011;
	text-decoration:none;
	transition: 0.3s all;
}
a:hover {
	color:#DB191F;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid var(--red);
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	letter-spacing: 0.05em;
}

h1 {
	font-family: agenda-condensed, sans-serif;
	font-weight: 500;
	font-size: 50px;
	text-transform: uppercase;
	line-height: 1.1em;
}

h2 {
	font-family: agenda-condensed, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 30px;
	line-height: 1.1em;
}

h6 {
	font-size: 0.8em;
	text-transform: uppercase;
	font-family: agenda-condensed, sans-serif;
	font-weight: 600;
	letter-spacing: 0.2em;
	margin-bottom: 0.4em;
}

textarea {
	resize: none;
}

.btn {
	cursor: pointer;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
/*	max-width:1280px;
	width:95%;*/
	margin:0 auto;
	position:relative;
}
.inner {
	position: relative;
	width: 70%;
	/*max-width: 1440px;*/
	margin: 0 auto;
}
/* header */
.header {

}

.header .inner {
	display: flex;
	justify-content: space-between;
}

.header .inner .nav {
	display: flex;
	align-items: flex-end;
	width: 40%;
	text-transform: uppercase;
	font-size: 18px;
	margin-bottom: 2px;
}
.header .inner .nav ul {
	display: flex;
	justify-content: space-between;
	width: 75%;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 0.5em;
}
.header .inner .nav:nth-of-type(2) ul {
	margin-left: 25%;
}
.header .inner .nav ul li {
	text-align: center;
}
.header .inner .nav ul li a {
	color: var(--nav);
	padding-top: 5px;
	padding-left: 0.2em;
}

.header .inner .nav ul li.current_page_item a {
	color: var(--text-colour);
	border-top: 1px solid var(--red);
}
/* logo */
.logo {
	margin-top: 15px;
	width: 150px;
}
.logo-img {

}
/* nav */
.nav {
	font-family: agenda-condensed, sans-serif;
	font-weight: 600;
	letter-spacing: 0.2em;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	min-height: 768px;
	background-color: var(--red);
	background-image: url(img/footer-bg.svg);
	background-size: contain;
	background-position: center right;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	align-items: center;
	background-blend-mode: soft-light;
}

.footer a {
	color: #fff;
}

.footer h6 {
	opacity: 0.5;
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 0.5fr 1fr 1fr;
}

.footer-top > div:nth-of-type(4) {
	display: flex;
	justify-content: flex-end;
}
.footer-top > div:nth-of-type(4) img {
	width: 125px;
}
.footer-middle {
	border-top: 1px solid #b6c2cf;
	padding: 3em 0;
	margin-top: 3em;
}
.footer-middle nav {
	display: flex;
	justify-content: space-between;
	font-family: agenda-condensed, sans-serif;
	letter-spacing: 0.2em;
	font-weight: 600;
}
.footer-middle nav ul:last-of-type {
	font-weight: 200;
	font-size: 0.8em;
}
.footer nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	text-transform: uppercase;
	font-size: 18px;
}
.footer nav ul li {
	margin-right: 30px;
}

.footer nav ul:last-of-type li:last-of-type {
	margin-right: 0;
}

.footer-bottom {
	text-transform: uppercase;
	font-size: 0.8em;
	font-family: agenda-condensed, sans-serif;
	font-weight: 400;
	letter-spacing: 0.2em;
}
.footer-bottom span {
	opacity: 50%;
	margin-right: 50px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/



.has-wavy-lines {
	background-image: url(img/wavy-lines.svg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
}

.has-pilot::after {
	position: absolute;
	right: 5%;
	top: 15%;
	width: 35%;
	height: 50%;
	content: '';
	background-image: url(img/be-protractor-1.png);
	background-repeat: no-repeat;
	background-size: contain;
	mix-blend-mode: multiply;
}


/*------------------------------------*\
    REDEFINE DEFAULT WP STYLES
\*------------------------------------*/
.wp-block-pullquote {
	border-top: 1px solid #b6c2cf;
	border-bottom: 1px solid #b6c2cf;
	padding: 1em 0;
	margin-top: 2em;
	margin-bottom: 0;
}
.wp-block-pullquote blockquote {
	font-family: agenda-condensed, sans-serif;
	margin: 0;
	text-align: left;
	margin: 10px 0;
}
.wp-block-pullquote p {
	margin-top: 0;
	font-size: 1em;
	font-style: italic;
	font-size: 1.3em;
	line-height: 1.3em;
	margin-bottom: 0.5em;
}

.wp-block-pullquote cite {
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.2em;
}

.wp-block-columns {
	margin-bottom: 0;
}

.wp-block-column:not(:first-child) {
	margin-left: 0;
}

.wp-block-image {
	margin: 0;
}


/*------------------------------------*\
	POSITIONING THINGS
\*------------------------------------*/
.posa {
	position: absolute;
}
.posr {
	position: relative;
}
.bottom {
	bottom: 0;
}
.right {
	right: 0;
}

/*------------------------------------*\
	WIDTHS
\*------------------------------------*/
.width-0,.width-0 img{width:0%;}
.width-5,.width-5 img{width:5%;}
.width-10,.width-10 img{width:10%;}
.width-15,.width-15 img{width:15%;}
.width-20,.width-20 img{width:20%;}
.width-25,.width-25 img{width:25%;}
.width-30,.width-30 img{width:30%;}
.width-35,.width-35 img{width:35%;}
.width-40,.width-40 img{width:40%;}
.width-45,.width-45 img{width:45%;}
.width-50,.width-50 img{width:50%;}
.width-55,.width-55 img{width:55%;}
.width-60,.width-60 img{width:60%;}
.width-65,.width-65 img{width:65%;}
.width-70,.width-70 img{width:70%;}
.width-75,.width-75 img{width:75%;}
.width-80,.width-80 img{width:80%;}
.width-85,.width-85 img{width:85%;}
.width-90,.width-90 img{width:90%;}
.width-95,.width-95 img{width:95%;}
.width-100,.width-100 img{width:100%;}


/*------------------------------------*\
	PADDING
\*------------------------------------*/
.pad-0{padding:0em;}
.pad-1{padding:1em;}
.pad-2{padding:2em;}
.pad-3{padding:3em;}
.pad-4{padding:4em;}
.pad-5{padding:5em;}
.pad-6{padding:6em;}
.pad-7{padding:7em;}
.pad-8{padding:8em;}
.pad-9{padding:9em;}
.pad-10{padding:10em;}

.force-pad-0{padding:0em !important;}
.force-pad-1{padding:1em !important;}
.force-pad-2{padding:2em !important;}
.force-pad-3{padding:3em !important;}
.force-pad-4{padding:4em !important;}
.force-pad-5{padding:5em !important;}
.force-pad-6{padding:6em !important;}
.force-pad-7{padding:7em !important;}
.force-pad-8{padding:8em !important;}
.force-pad-9{padding:9em !important;}
.force-pad-10{padding:10em !important;}

/*------------------------------------*\
	MARGINS	
\*------------------------------------*/
.margin-0{margin:0em;}
.margin-1{margin:1em;}
.margin-2{margin:2em;}
.margin-3{margin:3em;}
.margin-4{margin:4em;}
.margin-5{margin:5em;}
.margin-6{margin:6em;}
.margin-7{margin:7em;}
.margin-8{margin:8em;}
.margin-9{margin:9em;}
.margin-10{margin:10em;}




/*------------------------------------*\
    MOBILE NAV
\*------------------------------------*/

.mobile-title {
	display: none;
	font-size: 30px;
	/*background-color: var(--red);*/
	margin-bottom: 0;
	/*padding-bottom: 0.6em;*/
	padding-top: 2em;
	    font-size: 0.8em;
    text-transform: uppercase;
    font-family: agenda-condensed, sans-serif;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #fff;
    opacity: 0.6;
}

.mobile-nav-container {
	display: none;
}
.hamburger {
	display: none !important;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:1280px) {
	.has-pilot:after {
		display: none;
	}
}
@media only screen and (max-width:1024px) {
	.hide-tablet {
		display: none;
	}

	.stack-tablet.wp-block-columns {
		display: flex;
		flex-direction: column;
	} 
	.stack-tablet-reverse {
		flex-direction: column-reverse !important;
	}
	.stack-tablet.wp-block-columns > * {
		width: 100%;
		flex-basis: 100%;
	}


	.inner {
		width: 90%;
	}
	.mobile-inner {
		width: 90%;
		margin: 0 auto;
		position: relative;
		flex-basis: 90%;
		padding: 3em 5%;
	}
	h1 {
		line-height: 1.1em;
	}

	.wp-block-column.has-pilot.posr {
		flex-basis: 100%;
	}
}
@media only screen and (max-width:900px) {
	#anim {
		display: none !important;
	}
	h1 {
		margin-top: 0;
	}
	.mobile-header-container {
		background-color: var(--red);
		padding: 1em 0;
		margin-top: 2em;
	}
	.mobile-title {
		display: block;
		margin-top: 0em;
		padding-top: 0;
	}
	.header .inner .nav {
		display: none;
	}

	.hamburger {
		display: block !important;
		z-index: 9999;
		cursor: pointer;
	}

	.hamburger-inner, .hamburger-inner::after, .hamburger-inner::before {
		background-color: #013761 !important;
	}
	.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::after, .hamburger.is-active .hamburger-inner::before {
		background-color: #D9000C !important;
	}

	.mobile-nav-container {
		/*display: none;*/
		position: fixed;
		background-color: #fff;
		top: 0;
		left: 0;
		height: 100%;
		min-height: 100vh;
		width: 100%;
		z-index: 999;
		font-size: 2em;
		line-height: 1.5em;
	}

	.mobile-nav-inner {
		display: flex;
		height: 100vh;
		width: 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		text-transform: uppercase;
		font-family: agenda-condensed, sans-serif;
		font-weight: 600;
		letter-spacing: 0.2em;
	}

	.mobile-nav ul {
		list-style: none;
		margin-bottom: 0;
		margin-top: 0;
		padding-left: 0;
	}

	.footer {
		background-position: bottom right;
		background-attachment: fixed;
	}
	.footer-top {
		display: flex;
		flex-direction: column-reverse;
	}
	.footer-top > div:nth-of-type(1) {
		margin-top: 1em;
	}
	.footer-top > div:nth-of-type(4) {
		/*justify-content: flex-start;*/
		justify-content: center;
		padding: 2em 0 1em 0;
	}
	.footer-middle .nav, .footer-middle .nav ul {
		display: flex;
		flex-direction: column;
	}
}
@media only screen and (max-width:768px) {

	.hide-mobile {
		display: none;
	}
	.mobile-pad-0 {
		padding: 3em 0 !important;
	}
	.posa {
		position: relative;
	}
	.width-40, .width-60 {
		width: 100%;
	}



	.footer-bottom {
		margin-bottom: 1em;
	}
	.footer-bottom span {
		display: block;
		margin-right: 0;
	}
}

@media (max-width: 599px) {
	.wp-block-column {
		flex-basis: 90% !important;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:var(--red);
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:var(--red);
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:var(--red);
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

#anim {
	overflow: visible;
	z-index: 2;
	position: relative;
	display: block;
	transition: 0.6s all;
}
#anim.finished {
	transform: translateY(25%);
}
#anim * {
	fill: transparent !important;
	fill-opacity: 0;
	stroke: #14365E;
}


button.gform_button {
    font-size: 0.9em;
    /*letter-spacing: 0.15em;*/
    text-transform: uppercase;
    font-weight: 600;
    font-family: agenda-condensed, sans-serif;
    display: flex;
    align-items: center;
    letter-spacing: 0.15em;
    background: transparent;
    border: 0;

}
button.gform_button a {
	        display: flex;
    justify-content: space-between;
    align-items: center;
    
}
    button.gform_button span {
        margin-right: 0.5em;
    }

    button.gform_button svg .button-circle {
        transition: 0.3s all ease-in-out;
        transform-origin: center;
    }
    button.gform_button:hover svg .button-circle {
        transform: scale(0.75);
    }


.gfield_label {
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: agenda-condensed, sans-serif;
    letter-spacing: 0.15em;
}

.contact ul {
	padding-left: 0;
}
.contact ul li {
	list-style: none;
}

.contact ul li input[type="checkbox"] {
	margin-right: 10px;
}
