/*
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;
}

#inner-wrapper {
	height: 100%;
}

.transparent-logo {
	position: absolute;	width: 530px;
	height: 1010px;
	background: url(https://trust.merciaadmin.com/wp-content/themes/madebycoda/images/transparent-logo.svg);
	background-size: cover;
	z-index: 1;
right: 0px;
	bottom: -270px;
}

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

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

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

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

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

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

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

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

body.smaller header#masthead {
	height: 0px;
}

.logo {
position: relative;z-index: 99;
}

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

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

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

.logo:hover {
opacity: 0.8;
}

/*-- 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;
}


.quicklink-toggle.translate {
text-transform: uppercase;
letter-spacing: 2px;
font-size: 12px;
font-weight: 800;
padding: 7px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border: none !important;
}
.quicklink-toggle.translate svg {
	margin-right: 10px;
}

.translate .quicklink-menu.open {
	display: block;
	position: absolute;
	background: rgb(53, 31, 101);
	z-index: 9999;
	bottom: 37px;
	right: 0px;
	width: 145px;
	margin: 0px;
	padding: 0px;
}


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

h1, h2, h3, h4, h5 {
margin: 20px 0px; font-weight: 600; line-height: 1.2; 
font-family: "Comme", sans-serif; letter-spacing: -2px;
}

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

h2 {
font-size: 36px;
}

h3 {
font-size: 32px;
}

h4 {
font-size: 28px;
}

h5 {
font-size: 254px;
}

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

/*-- Hero Slider Settings --*/

.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;width:100%;margin:0 auto 0 0%;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}

.slick-next,.slick-prev{font-size:0;line-height:0;position:absolute;
display:block;padding:0;cursor:pointer;color:transparent;border:none;outline:0;}.slick-next:focus:before,.slick-next:hover:before,.slick-prev:focus:before,.slick-prev:hover:before{opacity:1}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{font-size:11px;line-height:2.7;color:#FFF!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:'\25C0'}[dir=rtl] .slick-prev:before{content:'\25C0'}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}.slick-next:before{content:'\25B6'}[dir=rtl] .slick-next:before{content:'\25B6'}.slick-dots{
position:absolute;bottom:-70px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 2px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:0;background:0 0}.slick-dots li button:focus,.slick-dots li button:hover{outline:0}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{content:"";border-radius:30px;border:2px solid #FFF;position:absolute;top:0;left:0;width:15px;height:15px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{background:#FFF}


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

/*-- Footer --*/

footer#site-footer {
position: relative;
width: 100%; padding: 100px 0px;
display: flex; overflow: hidden;
flex-direction: row;align-items: center;
	justify-content: space-between;
	z-index: -2;
	
	.container {
		display: flex;	flex-direction: row;
		justify-content: space-between;		align-items: center;
	}
	
	.details {
		width: calc(90% - 500px);
			display: flex;		flex-direction: column;
			align-items: flex-start;
			justify-content: space-between;
	}
	
	address { 
	color: #FFF; font-style: normal; margin-right: 100px;
	}
	
	.details h2 {
	font-size: 50px;
	text-align: left; color: #FFF; margin-bottom: 10px;
	}
	
	.details-cont {
	display: flex;
	max-width: 700px; font-weight: 500;
	justify-content: space-between; margin-top: 20px;
	font-size: 19px; 
	}
	
	.social-links svg {
		height: 21px; width: auto;
	}
	
	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 25px 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: 100px;
	}
	
	a:link, a:visited {
	color: #FFFF; text-decoration: none;
	}
	
} 

footer#site-footer h2:after {
	opacity: 0.4;
}
 
/*-- 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;
}