/* Global resets */
@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,700,700italic,300,400italic);

body {
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	font-weight:300;
	color: #2f2f2f;
	line-height: 1.75em;
	margin:0;
	padding:0;
}

#page { max-width: 1200px; margin: 0 auto; position:relative; }

h1 { margin: 0 0 2em 0; font-size: 1.4em; font-weight: 700; line-height: 1.5em; }
h2 { margin: 0 0 .5em 0; font-size: 1.2em; font-weight: 700; line-height: 1.2em; }
h3 { margin: 0 0 .5em 0; font-size: 1em; font-weight: 700; }
h4 { margin: 0 0 1.5em 0; font-size: .8em; font-weight: 700; }

p { margin: 0 0 1em 0; }
a { color: #ff7000; }
a:hover { color: #009eff; }
a:visited { color: #ff7000; }

a.btn, a.btn:visited { font-size: 1.2em; text-decoration: none; color: #7a1501; border: 1px solid #7a1501; text-align: center; padding: 4px 15px; }
a.btn { transition: background-color .5s; }
a.btn:hover { background-color: rgba(0,0,0,.3); }

div.ctr-btn {
	text-align: center;
	margin: 20px auto;
}

/* Header */
header { height: 425px; width: 100%; background: #7a1501 url(../images/banner_1200.jpg) no-repeat center bottom; position: relative; }

header a.logo {
	z-index: 1;
	position: absolute;
	display: block; width: 287px; height: 50px;
	background: url(../images/TheWisdomSchool-logotype.png) no-repeat 0 0; background-size: contain;
	top: 10px; left: 20px;
}

header a.logo span { display: none; }

header div.purpose { position: absolute; width: 40%; top: 125px; left: 6%; }
header div.purpose h1 { color: #fff; text-shadow: .07em .07em #000; }

.banner { width: 100% }
.banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Section All */

section { padding: 0 30px; }
section::after { content:''; display: block; clear: both; }


/* Section Story */

section.story { margin-top: 40px; margin-bottpm: 30px; padding: 0; }
section.story article {
	width: 50%;
	margin: 0 auto;
}
section.story article h2 { text-align: center; }
section.story article p { text-size: 1.75em; line-height: 2em; }


/* Section Focus */

section.focus { margin-top: 30px; margin-bottom: 30px; padding: 0; }
section.focus aside { width: 33%; float: left; text-align: center; }

section.focus .content { margin:15px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px; }

section.focus h3 a { color: #000; text-decoration: none; }
section.focus h3 a:hover { text-decoration: underline; }

section.focus aside .content.trimester { background-image: url(../images/icon_star.svg); }
section.focus aside .content.students { background-image: url(../images/icon_marker.svg); }
section.focus aside .content.calendar { background-image: url(../images/icon_gear.svg); }



/* Navigation */

nav {
	background-color: rgba(0,0,0,.65);
	position: relative;
	padding: 16px 0 0 0;
}

nav::after { content:''; display: block; clear: both; }

nav a.mobile_menu {
	z-index: 1;
	width: 32px; height: 32px;
	background: url(../images/icon_menu.svg) no-repeat 0 0;
	background-size: contain;
	position: absolute; top: 6px; left:85%; margin-left: -16px;
	display: none;
}
nav ul { list-style: none; margin: 0; padding:0; }

nav ul li:hover { background-color: #2b0306; color: #fff; }
nav ul li:hover > ul { display: block; }

nav ul li a {
	display: inline-block;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	width: 130px;
	position: relative;
}

nav ul li a:visited { color: #fff; }

nav ul li a:hover { background-color: #7a1501; color:#fff; }

nav ul ul { position: absolute; top: 100%; background-color:  #2b0306; display: none; }

nav ul ul li { position: relative; }



/* top level */

nav > ul { padding-left: 400px; }
nav > ul > li { float: left; }
nav > ul > li > a { width: auto; padding: 10px 20px 15px 20px; }

nav a[aria-haspopup="true"]::after {
	content: '';
	display: block; width: 0px; height:0px;
	position: absolute;
	top: 16px; right:15px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #fff;
}

nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px; right: auto;
	bottom: 6px; top: auto;
}

/* Footer */

footer { font-size: .8em; margin-top: 40px; color:#fff; background-color: #7a1501; position: absolute; height: 135px; width: 100%}

/* footer .content { display: inline; } */

footer a { margin-left: 30px; color: #fff; }
footer a:visited { color: #fff; }
footer a:hover { color: #000; }

footer aside { width: 30%; float: left; border-left: 2px solid #fff; }

footer p { margin-bottom: 4px; padding: 0; line-height: 16px; }

div.footer-container {
	width:25%; float:left; padding: 12px 0 12px 24px;
}

p.copyright {
	text-align: right;
}
 

/* Media Queries */

@media screen and (max-width: 1100px) {
	h1 { font-size: 1.25em; }
	
	/* Header */
	
	header div.purpose { left: 5%; }
	header div.purpose h1 { margin-bottom: 20px; }

	header a.logo {
		z-index: 1;
		display: block; width: 235px; height: 41px;
		background: url(../images/TheWisdomSchool-logotype_235.png) no-repeat 0 0; background-size: contain;
		top: 15px; left: 20px;
	}

	nav { padding: 10px 0 0 0; }
	nav > ul { font-size: .95em; padding-left: 300px; }
}

@media screen and (max-width: 890px) {
	h1 { font-size: 1em; }
	
	/* Header */
	
	header { 
		height: 293px;
		background-image: url(../images/banner_825.jpg);
	}
	
	header a.logo {
		z-index: 1;
		display: block; width: 200px; height: 35px;
		background: url(../images/TheWisdomSchool-logotype_200.png) no-repeat 0 0; background-size: contain;
		top: 15px; left: 20px;
	}
	
	header div.purpose { top: 100px; }
	
	/* Section Story */

	section.story article { width: 75%; }
	section.story article h2 { text-align: center; }
	section.story article p { text-size: 1.65em; line-height: 1.5em; }

	
	/* Navigation */
	
	nav ul li a { width: 115px; }
		
	nav > ul { padding-left: 275px; }
	nav > ul { font-size: .85em; }
	
	nav > ul > li > a { width: auto; padding: 10px 10px 15px 10px; }
}

@media screen and (max-width: 730px) {
	h1 { font-size: .9em; }
	h3 { margin-bottom: 0px; }
	
	a.btn { font-size: .85em; }
	
	/* header */
	
	header { height: auto; min-height: 311px; background-image: url(../images/banner_625.jpg); background-position: center top; }
	header a.logo {
		width: 200px; height:35px;
		left: 0px; top: 0px;
		background-color: rgba(0,0,0,.65);
	}
	
	header div.purpose { width: 40%; top: 75px; left: 5%; }
	
	/* Section - Focus */
	
	section.focus aside { width: 100%; float:none; text-align:left; }
	
	section.focus aside div.content {
	margin: 8px 20px 8px 0;
	padding: 5px 0px 10px 85px;
	background-size: 50px 50px;
	background-position: 20px 5px;
	}
	
	/* Navigation */
	
	nav { padding: 50px 15px 20px 15px; background-color: #000; height: 0px; overflow: hidden; }
	nav a.mobile_menu { display: block; }
	nav ul,
	nav ul ul { display: block; position: static; }
	
	nav > ul { padding: 0; }
	nav > ul > li { float: none; margin-top: 25px; }
	
	nav ul li:hover { background:none; }
	
	nav ul li a {
		width: auto;
		display: block;
		margin: 8px 10px;
		padding: 6px 15px 6px 2px;
		border-bottom: 1px solid rgba(255,255,255,.25);
	}
}

@media screen and (max-width: 425px) {

	/* Header */

	header { min-height: 350px; background-image: url(../images/banner_275.jpg);
		background-position: center Bottom; 
 	}

	header div.purpose { width:75%; top: 250px; text-align:center; }
	
	/* Navigation */
	
}