/*
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: 'sofia-pro', sans-serif;
}

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

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

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

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;
background: #FFF;
}

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

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



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

.logo, .logo img {
height: 60px; width: 200px;
width: auto; 
position: absolute;
left: 50%;
transform: translateX(-50%);
}

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

.logo:hover {
opacity: 0.8;
}

.menu-cont {
width: 100%;
}


.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;
	justify-content: space-between;
	width: 100%;
}

.secondary-header {
height: 50px; width: 58px; display: flex;
justify-content: center;
align-items: center;color: #FFF;  text-decoration: none; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; margin: 0px 0px 0px 10px;
background: url(https://riverteeshospitalschool.kinsta.cloud/quicklink-background.svg);
background-size: 58px 50px;
}

.secondary-header:hover {
	opacity: 0.8;
}

.secondary-nav .quicklink-toggle {
width: 58px;
}


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

.quick-menu {
	display: flex;
	flex-direction: row;
}

/*-- Search --*/

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

.searcharea input {
height: 50px; 
width: 58px;
padding: 0px;
border: 0px;
padding-left: 58px;
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: 58px; height: 50px;
background-size: 20px 20px; background-repeat: no-repeat;
background-position: center;
border: none;
color: white;
cursor: pointer;
display: flex;align-items: center;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 3px;
font-size: 11px;
justify-content: center;
	background: url(https://riverteeshospitalschool.kinsta.cloud/quicklink-background.svg);
background-size: 58px 50px;
}	

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

#hero, footer {
overflow: hidden;
}

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



#locations {
padding: 0px;
display: flex;

.map {
width: calc(100% - 600px);
}

.info {
width: 600px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 50px;

p {
font-size: 18px;
line-height: 1.9;
}

}

}


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


/*-- Footer --*/

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

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

h2 {
	font-weight: 800; color: #FFF;
}

.details {
width: 100%;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
flex-direction: row;
}

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
}

.details {
	display: flex;
}

.detail-column {
	display: flex;
	flex-direction: column;
	color: #FFF;
	width: 20%;
	
}

.detail-column span {
	font-weight: 800;
}

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

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

.address {
color: #FFF;
}

.phone {
display: flex;
flex-direction: column;
margin-top: 10px;
}

.social-links {
display: flex; margin-top: 15px;
}

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


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,
.child-page-wrapper:hover,
.child-page-wrapper {
-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;
}