/*!
Theme Name: Tech in Education
Theme URI: https://www.gavinwillis.co.uk
Author: Gavin Willis Creative Marketing
Author URI: https://www.gavinwillis.co.uk
Description: Tech in Education theme
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tech-in-education
*/
*,
*::before,
*::after {
	box-sizing: border-box;
}
 
html, body {
	box-sizing: border-box;
	margin: 0px;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
body,
button,
input,
select,
optgroup,
textarea {
	color: #333539;
	font-family: "Montserrat", sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	clear: both;
}
p {
	margin-bottom: 1.5em;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}
.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.wrap {
	max-width: 1130px;
	padding: 0 20px;
	margin: 0 auto;
}
.wp-block-columns {
	margin-bottom: 0px;
}
header .uagb-buttons__outer-wrap .uagb-buttons__wrap {
	display: block;
	width: fit-content;
}
h1 {
	font-size: 45px;
	line-height: 48px;
	font-weight: 900;
}
h2 {
	font-size: 40px;
	line-height: 49px;
	color: #333539;
}
h2.has-background {
	padding: 20px !important;
	max-width: 647px;
}
p {
	margin-top: 0px;
	margin-bottom: 20px;
}
p:last-of-type {
	margin-bottom: 0px;
}
p.has-medium-font-size {
	font-size: 28px !important;
	line-height: 38px;
}
header {
	z-index: 2;
	position: relative;
}
main {
	margin-top: -110px;
}
.site-branding {
	background-color: #B9D55D;
	padding: 10px 0px;
}
.custom-logo {
	display: block;
}
.site-branding .wrap {
	display: flex;
	gap: 20px;
	align-items: center;
}
.site-branding .wp-block-column {
	flex-basis: fit-content !important;
	min-width: unset !important;
}
.site-branding .wp-block-column:last-of-type {
	width: 207px !important;
}
.site-branding .wp-block-button__link {
	word-break: normal !important;
	width: 207px;
	font-weight: bold;
	font-size: 20px;
	padding: 15px 50px 15px 20px;
}
.uagb-button__link, .uagb-buttons-repeater {
	position: relative;
	transition: all ease-in .2s !important;
}
.uagb-button__link:after, #primary-menu li.orange a:after {
	border-radius: 50%;
	width: 29px;
	height: 29px;
	background-color: #B9D55D;
	position: absolute;
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="11.06" height="16.472" viewBox="0 0 11.06 16.472"><path id="Path_7" data-name="Path 7" d="M618.773,617.253l7.448,6.2-7.448,6.046" transform="translate(-616.661 -615.14)" fill="none" stroke="%23707070" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/></svg>');
	display: flex;
    right: -53px;
    top: -2px;
    line-height: 30px;
    justify-content: center;
}
#primary-menu li.orange a:after {
	right: 10px;
	top: 8px;
	background-color: #fff;
}
.normal .uagb-button__link:after {
	display: none;
}

#site-navigation {
	background-color: rgba(1,1,1,0.7);
}
.menu-toggle {
	display: none;
}
#primary-menu {
	margin: 0px;
	padding: 0px;
	display: flex;
    align-items: center;
    justify-content: space-between;
}
#primary-menu li {
	display: inline-block;
	padding: 33px 0px;
	margin-right: 0px;
}
#primary-menu li a, #emailus li a {
	display: block;
	color: #fff;
	font-size: 20px;
	line-height: 24px;
	padding: 10px 0px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
	text-transform: uppercase;
}
#primary-menu li.current_page_item a {
	color: #B9D55D;
}
#primary-menu li.current_page_item a:after, #primary-menu li:not(.orange) a:hover:after {
	width: 100%;
	height: 3px;
	background-color: #B9D55D;
	content: ' ';
	display: block;
	position: absolute;
	margin-top: 5px;
}
#primary-menu li.orange {
	padding: 0px;
}
#primary-menu li.orange a {
	background-color: #FFA133;
	border-radius: 39px;
	color: #333539;
	padding: 10px 50px 10px 15px;
	position: relative;
	transition: all ease-in .2s;
}
#primary-menu li.orange a:hover {
	color: ;
	background-color: #B9D55D;
}
.wp-block-cover {
	padding: 0px !important;
	min-height: unset !important;
}
.wp-block-cover img {
	position: relative !important;
}
.wp-block-cover__inner-container {
	position: absolute !important;
	max-width: 1090px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 10vw;
}
.wp-block-cover__inner-container h2 {
	background-color: #B9D55D;
	padding: 20px;
	color: #333539;
	font-size: 40px;
	line-height: 49px;
	max-width: 647px;
}
main p {
	font-size: 18px;
	line-height: 30px;
	font-weight: 500;
}
main article figure img {
	width: 100%;
	height: auto;
}
main ul {
	margin-top: 0px;
	padding: 0px;
}
main ul li {
	margin-left: 40px;
	padding: 5px 0px;
	font-size: 18px;
	font-weight: 500;
}
main ul li::marker {
	color: #9BB52D;
}
main ul.black-marker li::marker {
	color: #000;
}
footer p {
	font-size: 20px;
	line-height: 22px;
	color: #333539;
	font-weight: bold;
}
footer p a {
	color: #333539;
	text-decoration: none;
	border-left: solid 4px #333539;
	padding-left: 30px;
	margin-left: 30px;
}
figure {
	margin-bottom: 0px !important;
}
footer .wp-block-image img {
	max-width: fit-content;
	display: block;
	margin: 0 auto;
	width: 100%;
}
footer figure {
	text-align: center;
	width: 100% !important;
}
footer .uagb-container-inner-blocks-wrap {
	column-gap: 40px !important;
	justify-content: space-between !important;
}
#burger_menu, #emailus {
	display: none;
}
.page-id-12 footer #block-8 {
	display: none;
}
.wp-block-button__link {
	padding: 20px;
}
main .wp-block-uagb-buttons-child {
    width: 331px;
}
.uagb-block-bbb53a6f.wp-block-uagb-buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap {
	flex-wrap: wrap;
}
h3 a, p a {
	color: #333539;
}
@media (max-width: 1090px) {
	footer .uagb-container-inner-blocks-wrap {
		column-gap: 40px !important;
		justify-content: center!important;
		flex-wrap: wrap !important;
	}
}
@media (max-width: 1000px) {
	#burger_menu, #emailus {
		display: block;
		cursor: pointer;
	}
	#emailus {
		padding: 0px;
		margin: 0px;
	}
	#burger_menu ul {
		padding: 0px;
		margin: 0px;
	}
	#burger_menu li {
		padding: 0px;
		margin: 0px;
		display: block;
		height: 3px;
		background-color: #333539;
		width: 23px;
		transition: all ease-in .2s;
	}
	#burger_menu li:nth-of-type(2) {
		margin: 4px 0px;
	}
	#burger_menu.opened li:last-of-type {
		display: none;
	}
	#burger_menu.opened li:first-of-type {
		transform: rotate(45deg);
	}
	#burger_menu.opened li:nth-of-type(2) {
		transform: rotate(-45deg);
		margin: -3px 0px;
	}
	
	.site-branding .wp-block-column:last-of-type {
		display: none;
	}
	#primary-menu {
		flex-direction: column;
	}
	#primary-menu li, #emailus li {
		display: block;
		padding: 10px 5px;
	}
	header {
		position: sticky;
		top: 0px;
	}
	#site-navigation {
		background-color: #333539;
	}
	.main-navigation {
		position: fixed;
		bottom: 100%;
		width: 100%;
		transition: all ease-in .3s;
		opacity: 0;
	}
	.main-navigation.opened {
		bottom: calc(100% - 655px);
		opacity: 1;
	}
}
@media (max-width: 780px) {
	main {
		margin-top: 0px;
	}
	
	h1 {
		font-size: 36px;
		line-height: 40px;
	}
	
	.wp-block-cover__inner-container h2 {
		font-size: 26px;
    	line-height: 32px;
    	max-width: 420px;
	}
	p.has-medium-font-size {
		font-size: 20px !important;
		line-height: 30px;
	}
	.wp-block-cover {
		min-height: unset !important;
	}
	footer p a {
		display: block;
		margin-left: 0px;
		padding-left: 0px;
		border-left: none;
	}
}
@media (max-width: 585px) {
	.wp-block-cover__inner-container h2 {
		font-size: 20px;
		line-height: 26px;
		max-width: 330px;
		padding: 10px 20px;
	}
	p.has-medium-font-size {
		font-size: 18px !important;
		line-height: 28px;
	}
	h1 {
		font-size: 20px;
		line-height: 22px;
	}
	.custom-logo {
		width: 75px;
		height: auto;
	}
	.main-navigation.opened {
		bottom: calc(100% - 591px);
	}
	footer p {
    	font-size: 16px;
    	line-height: 20px;
	}
}
@media (max-width: 436px) {
	.main-navigation.opened {
		bottom: calc(100% - 614px);
	}
}