/*
Theme Name: Made By CODA
Version:1.2
Author: Mitch Guy - CODA Education
Author URI: https://coda.education/
*/

/*---------------------------------
Reset
---------------------------------*/

html{font-family: sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],/* 1 */
input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/*---------------------------------
Style 
---------------------------------*/

*, ::before, ::after { box-sizing: border-box; }

.row {
display: table;
width: 100%;
clear: both;
}

body.menu-open {
	overflow: hidden;
}

/*---------------------------------
Main
---------------------------------*/

html, body {
width: 100%;
height: 100%;
}

body {
width: 100%; height: 100%; 
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 500;
font-style: normal;
font-size: 100%; line-height: 2;
background: #fff;
font-family: "Plus Jakarta Sans", serif;
}

#page {
background: #FFF;
width: 100%;
padding: 0px 0px 0px;
}

.container {
width: 90%;
margin: 0px auto;
display: table;
}

/*---------------------------------
Header 
---------------------------------*/

header#masthead .container {
	width: calc(100% - 50px);
display: flex;
justify-content: space-between;align-items: center;
position: relative; z-index: 9; height: 100%; z-index: 91;
}

header#masthead {
width: 100%;
position: fixed;height: calc(180px - 40px);
z-index: 9999;
background: transparent;
}

header#masthead .wave {
	position: absolute;
width: 100%;
height: 40px;
bottom: -40px;
left: 0px;
z-index: 9;
}

header#masthead .wave svg {
	width: 130%;
	left: 0%;
	position: relative; bottom: 1px;
}

body.smaller header#masthead {
margin-top: -60px;
}

body.smaller .logo {
	margin-top: 87px;
}

body.smaller .logo, body.smaller .logo img {
	height: 80px !important;
}

.header-container {
height: 100%;
position: relative;
}

.top-menu {
	display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 150px; margin-top: 20px;
}

.social-media {
	display: flex;
}


.logo {
position: relative;
margin-top: 20px; z-index: 99;
}

.logo, .logo img {
height: 120px;
width: auto; 
}

.logo a {
position: absolute; width: 100%; height: 100%;
}

.logo:hover {
opacity: 0.8;
}

.menu-cont {
	display: flex;
		flex-direction: column;
		align-items: flex-end;
}

/*-- Search --*/

.secondary-nav {
display: flex;
	position: absolute;
background: #FFF;
top: 0px; right: -25px;
background: #3c609d	;
padding: 4px 20px;
border-radius: 0px 0px 0px 15px;
}

.secondary-header {
height: 50px; width: 50px; display: flex;
justify-content: center;
align-items: center;
border-radius: 50px; color: #FFF;  text-decoration: none; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; margin: 0px 0px 0px 10px;
}


.secondary-header a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link.secondary-header {
width: auto;
}

.link.secondary-header a {
color: #FFF; text-decoration: none; padding: 15px 30px;
}

.search.secondary-header {
}

.translate.secondary-header {
}

.translate select {
}

.secondary-nav .quicklink-toggle {
}


.social {
}

.twitter svg {
height: 18px; width: auto;
}

.social {
 padding-left: 0px; padding-right: 0px;
}


.instagram svg {
height: 17px; width: auto;
}


/*-- Search --*/

.searcharea {
position: relative;
    height: 100%;
    width: 100%;
}

.searcharea input {
height: 50px; 
width: 50px;
padding: 0px;
border: 0px;
padding-left: 50px;
position: absolute; 
top: 0px; 
left: 0px; 
font-weight: 800;
background: url(https://bramcotehillsprimaryschool.kinsta.cloud/wp-content/themes/madebycoda/images/search.svg) no-repeat;
background-size: 17px auto;
background-position: center center;
text-transform: uppercase;
font-size: 11.5px;
letter-spacing: 2px;
}

.searcharea input:focus {
 padding: 10px 15px;
 width: 200px;
 outline: none; top: 0px; left: -150px;
 border-radius: 30px; height: 50px; position: absolute;
background: #28477a; color: #FFF;
 }

.searchform button {
    transform: translateX(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
	background: url(https://bramcotehillsprimaryschool.kinsta.cloud/wp-content/themes/madebycoda/images/search.svg) no-repeat;
    background-size: 20px auto;
    background-position: center center;
    text-transform: uppercase;
    height: 50px;
    border: 0px;
    right: 0px;
    position: relative;
	color: transparent;
}

.searchform input:focus + button,
.searchform input:not(:placeholder-shown) + button {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}



.secondary-nav {
display: flex;
}

.secondary-nav .quicklink-toggle {
background: none; width: 50px; height: 50px;
background-size: 20px 20px; background-repeat: no-repeat;
background-position: center;
border: none;
color: white;
cursor: pointer;
border-radius: 100%;
}	


.secondary-nav .quicklink-toggle {
	display: flex; width: auto;align-items: center;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 11px;
}

.secondary-nav .quicklink-toggle svg {margin-right: 15px; }


.secondary-nav .extra-links {
margin-left: 10px; position: relative;
}

.secondary-nav .extra-links ul {
position: absolute;
    background: #28477a;
    margin: 0px;
    padding: 10px;
    list-style: none;
    width: 180px;
    margin-top: 5px;
    z-index: 999;
    border-radius: 5px; right: 0px;
}


.secondary-nav .extra-links ul li {
width: 100%;
}


.secondary-nav .extra-links ul a {
color: #FFF;
    text-decoration: none;
    width: 100%;
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 800;
    padding: 10px;
}

.secondary-nav .extra-links span.dropdown-arrow {
display: none;
}



/*---------------------------------
Typography 
---------------------------------*/

h1, h2, h3, h4, h5 {
margin: 20px 0px; font-weight: 400; line-height: 1.2; 
}

h1 {
margin: 0px;
font-size: 30px; line-height: 1.5; 
}

h2 {
font-size: 30px;
}

h3 {
font-size: 26px;
}

h4 {
font-size: 24px;
}

p, td, .entry-summary, #content li {
margin: 0px 0px 20px;
color: #4B4B4B; font-size: 17px; font-weight: 500; line-height: 2;
}



/*---------------------------------
Footer 
--------------------------------*/

/*-- Footer --*/

footer#site-footer {
background: #2A559F;
position: relative;
width: 100%; padding: 0px 0px;
display: flex; overflow: hidden;
flex-direction: row;align-items: center;
	justify-content: space-between;


	#map {
		height: 500px;
		position: relative;
		width: 500px;
	}
	
	#map a {
		position: absolute;
		bottom: 160px;
		background: #224c90;
		z-index: 9999;
		border-radius: 40px;
		font-weight: 800;
		letter-spacing: 0.5px;
		padding: 13px 40px;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.details {
		width: calc(90% - 500px);
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			margin-right: 5%;
			margin-left: 5%;
	}
	
	address { 
	color: #FFF; font-style: normal; margin-right: 100px;
	}
	
	.details h2 {
	font-size: 37px;
	text-align: left; color: #FFF; margin-bottom: 10px;
	}
	
	.details-cont {
	display: flex;
	max-width: 650px; font-weight: 600;
	justify-content: space-between; margin-top: 20px
	}
	
	p {
	color: #FFF; font-weight: 600;
	}
	
	.address {
	color: #FFF;
	}
	
	.phone {
	display: flex;
	flex-direction: column;
	}
	
	.social-links {
	display: flex;
	}
	
	.social-links .secondary-header {
	margin: 0px 15px 0px 0px;
	}
	
	.phone a.meta {
	width: 280px; margin-bottom: 15px;
	}
	
	.phone .meta svg {
	position: relative; height: 16px; width: auto;
	margin-right: 11px;
	top: 2px;
	}
	 
	#school-logo {
		display: flex;
			align-items: center;
	}
	
	img {
	height: 160px;
	}
	
	a:link, a:visited {
	color: #FFFF; text-decoration: none;
	}
	
} 

/*-- Footer Meta --*/

#footer-meta {
background: #333;
padding: 30px 0px;
color: #FFF; text-align: center;
	
	.sep {
	margin: 0px 20px; color: #ffffff3d;
	}
	
	.container div {
	margin: 7px 0px; font-weight: 800;
	}
	
	a:link, a:visited {
	color: #ffffff; text-transform: none; text-decoration: none; font-size: 14.5px;
	}

}



#accreditations {
text-align: center; margin-bottom: 50px;
}

#accreditations img {
height: 160px; width: auto; margin: 0px 20px;
}

/*---------------------------------
Transitions
---------------------------------*/

header#masthead,
body.smaller header#masthead,
body.smaller .logo,
.logo,
.logo img,
nav#navigation ul li,
body.smaller nav#navigation ul li,
.searcharea input,
.searcharea input:focus,
nav#navigation li a:link,
nav#navigation li a:visited,
nav#navigation li:hover,
.header-menu,
body.smaller .header-menu,
#sidebar1 ul li a:link,
#sidebar1 ul li a:visited,
#sidebar1 ul li a:hover,
.entry-content a[href$=".pdf"]:hover,
.entry-content a[href$=".doc"]:hover,
.entry-content a[href$=".pdf"],
.entry-content a[href$=".doc"],
nav#navigation li ul.sub-menu li a:hover,
nav#navigation li ul.sub-menu li a:link,
#announcement,
body.smaller #announcement,
.button a:link, .button a:visited, .button a:hover,
body.smaller .vimeo-wrapper iframe, .vimeo-wrapper iframe,
body.smaller .vimeo-wrapper, .vimeo-wrapper,
.toggled-on #inner-wrapper,
.toggled-on .logo,
#inner-wrapper,
ul.quicklinks ul,
ul.quicklinks ul:hover,
ul.quicklinks a:hover,
ul.quicklinks a,
.secondary-header,
.secondary-header:hover,
body.smaller .logo, body.smaller .logo img,
.image-block img,
.image-block:hover img,
#navigation .nav-menu li a:hover::after,
#navigation .nav-menu li a:focus::after,
#navigation .nav-menu li a::after,
.menu-button,
.buttons a:link,
.buttons a:visited,
.buttons a:hover,
.button a:link,
.button a:visited,
.button a:hover {
-webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; 
}

.hide {
display: none;
}