/*
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: proxima-nova, sans-serif;
}

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

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

/*---------------------------------
Header 
---------------------------------*/
.top-bar{
height: 5px;
background: #333;
width: 100%;
display: flex;
}

.top-bar .colour-one {
width: 50%; height: 100%;
}

.top-bar .colour-two {
width: 50%; height: 100%;
}

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

header#masthead {
width: 100%;
position: fixed;
z-index: 9999;
background: transparent;
}

header#masthead .transparent-logo {
width: 370px;
height: 190px;
right: 20px;
bottom: 0px;
opacity: 0.4;
}

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

.header-top {
padding: 25px 0px
}



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

.logo, .logo img {
height: 100px;
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;
}


.social-media {
display: flex;
}

.trust-link a {
text-decoration: none; padding-bottom: 0px; border-bottom: 2px solid rgba(255,255,255,0.2);
color: #FFF; font-weight: 700;
}

.trust-link {
display: flex;
align-items: center;
margin-right: 10px;
}

/*-- Search --*/

.secondary-nav {
display: flex;
}

.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;
box-shadow: inset 0px 0px 0px 2px rgb(255 255 255 / 10%);
}

.secondary-nav .quicklink-toggle {
width: 50px;
background: #445b82;
box-shadow: inset 0px 0px 0px 2px rgb(255 255 255 / 10%);
}


.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;
}

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

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


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

.ceop svg {
height: 30px; 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;
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 .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%;
display: flex;align-items: center;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 3px;
font-size: 11px;
justify-content: center;
}	

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

.secondary-nav .extra-links ul {
position: absolute;
background: #333;
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;
}

.transparent-logo {
width: 640px;
height: 670px;
background-image: url(/images/transparent.webp);
background-size: cover;
position: absolute;
right: -250px;
bottom: 50px;
z-index: 1;
}

#hero, section, footer {
overflow: hidden;
}

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

h1, h2, h3, h4, h5 {
margin: 20px 0px; font-weight: 400; line-height: 1.2; 
font-family: ltc-goudy-oldstyle-pro, serif;
}

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



.latest-post-card.gosberton-house-academy {border-bottom:15px solid #0000C2;}
.latest-post-card.holbeach-bank-academy {border-bottom:15px solid #376829;}
.latest-post-card.holbeach-primary-academy {border-bottom:15px solid #141414;}
.latest-post-card.monkshouse-primary-academy {border-bottom:15px solid #2864F6;}
.latest-post-card.university-academy-holbeach {border-bottom:15px solid #7AC6EE;}
.latest-post-card.university-academy-long-sutton {border-bottom:15px solid #6D2C6A;}
.latest-post-card.wrangle-primary-academy {border-bottom:15px solid #DA3624;}
.gosberton-house-academy, .gosberton-house-academy .info {background:  #0000C2;}
.holbeach-bank-academy, .holbeach-bank-academy .info {background:  #376829;}
.holbeach-primary-academy, .holbeach-primary-academy .info {background:  #141414;}
.monkshouse-primary-academy, .monkshouse-primary-academy .info {background:  #2864F6;}
.university-academy-holbeach, .university-academy-holbeach .info {background:  #7AC6EE;}
.university-academy-long-sutton, .university-academy-long-sutton .info {background:  #6D2C6A;}
.wrangle-primary-academy, .wrangle-primary-academy .info {background:  #DA3624;}



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

#map {
height: 500px; position: relative;
}

#map .directions {
position: absolute;
top: calc(50% + 80px);
left: 50%;
transform: translate(-50%, -50%);
}

#map .directions a {
padding: 17px 40px; color: #FFF; 	text-transform: uppercase;
text-decoration: none;
font-size: 12px;
letter-spacing: 3px;
font-weight: 800;
border-radius: 50px;
box-shadow: inset 0px 0px 0px 2px rgb(255 255 255 / 10%);
}

#map .directions a:hover {
padding: 15px 50px;
}

/*-- Footer --*/

footer#site-footer {
position: relative;
width: 100%; padding: 90px 0px;

.transparent-logo {
width: 520px;
height: 520px;
right: -110px;
bottom: inherit;
top: 0px;
opacity: 0.4;
}

.container {
display: flex; overflow: hidden;
flex-direction: row;align-items: center;
justify-content: space-between;
}


.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: 50px;		font-size: 16px;
}

.details h2 {
font-size: 47px;
text-align: left; color: #FFF; margin-bottom: 0px;
}

.details-cont {
display: flex;
max-width: 650px; font-weight: 500;
justify-content: space-between; margin-top: 20px
}

p {
color: #FFF; font-weight: 500;		font-size: 16px;
}

.details-cont span {
color: #FFF; text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
}

.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;
z-index: 999;
position: relative;
}

img {
height: 140px;
}

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,
.latest-post-media,
.latest-post-media:hover,
#map .directions a,
#map .directions 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;
}