/*
Theme Name: Ficino School
Theme URI: http://www.ficino.school.nz
Description:
Version: 1.1
Author: Carl Southgate
Author URI: http://www.openwebbuilder.co.uk
*/

/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
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,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:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}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:-0.5em}sub{bottom:-0.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"],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 #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

*, *:before, *:after {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box;
}

/* helpers */
.hide {
	display: none;
}
.show {
	display: block;
}
.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.blue-grad {
    background: rgba(35,103,166,1);
	background: -moz-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(35,103,166,1)), color-stop(100%, rgba(9,71,116,1)));
	background: -webkit-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -o-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -ms-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: linear-gradient(to bottom, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2367a6', endColorstr='#094774', GradientType=0 );
}
img.alignright { float: right; margin: 0 0 2px 10px; }
img.alignleft { float: left; margin: 0 10px 2px 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

article.page img {
	max-width: 100%;
	height: auto;
}

/* defaults */
body {
    font-family: 'EB Garamond', serif; 
    font-size: 14px; 
    line-height: 24px;
    color: #666;
}
h1 {
	font-family: 'EB Garamond', serif; 
	font-size: 2.286em;
	font-weight: normal;
	line-height: 1.429em;
	color: #094874;
	margin: 0 0 .5em 0;
}
.preschool main h1 {
	background-image: url('images/ficino-preschool-underline.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	padding-bottom: 15px;
}
h2 {
	font-family: 'EB Garamond', serif; 
	font-size: 1.500em;
	font-weight: normal;
	margin: 0 0 .5em 0;
}
h3 {
	font-family: 'EB Garamond', serif; 
	margin: 0 0 .5em 0;
}
a.widget-header {
	display: block;
	font-family: 'EB Garamond', serif; 
	font-size: 1.714em;
	line-height: 2em;
	border-bottom: solid 1px #ddd;
	font-weight: normal;
	margin: 0 0 .5em 0;
}
a.h2 {
	display: inline-block;
	font-family: 'EB Garamond', serif; 
	font-size: 1.500em;
	font-weight: normal;
	margin: 0 0 .5em 0;
}
p {
	font-family: arial, sans-serif;
	margin: 0 0 .5em 0;
}
li {
	font-family: arial, sans-serif;
}
td {
	font-family: arial, sans-serif;
}
a, .blue {
	color: #094874;
    text-decoration: none;
}
ul {
	margin: .5em 0;
}
ul.menu {
	padding: 0;
	list-style: none;
}
ul.menu li {
	float: left;
}
table {
	padding: 5px;
}
table img {
	display: block;
	margin-right: 10px;
}
table thead td {
	font-weight: bold;
}
table.basic td {
	border: solid 1px #ddd;	
}
table.horiz-border thead td {
	border-top: solid 1px #ddd;
}
table.horiz-border td {
	border-bottom: solid 1px #ddd;
}
table.header-bg thead tr {
	background-color: #ddd;
}

div#page {
}

/* header */
header#page-header {
	width: 960px;
    margin: 0 auto;
}
header#page-header div#primary-header {
	height: 150px;
}
header#page-header img#logo {
    float: left;
    margin-top: 15px;
}
header#page-header nav {
    /* text-align: right; */
}
header#page-header nav div.search-bar {
    float: right;
    padding: 10px 10px 10px 20px;
    font-size: 1.143em;
    color: #fff;
}
header#page-header nav div.search-bar input {
    background-color: #8babc6;
    border: none;
    outline: none;
    margin-left: 10px;
    padding: 3px;
}
header#page-header nav div.search-bar input[type="submit"] {
    padding: 3px 6px;
}
header#page-header nav div.search-bar a {
    color: #fff;
}
header#page-header nav div.search-bar span {
    padding: 0 10px;
}
header#page-header nav div.menu-primary-container {
    padding: 100px 0 0 150px;
}
/*

header nav div.menu-primary-container ul.menu li:first-child {
	padding-left: 0;
}
header nav div.menu-primary-container ul.menu li {
	padding-left: 70px;
}
header nav div.menu-primary-container ul.menu li a {
	color: #939598;
	font-size: 1.571em;
}
header nav div.menu-primary-container ul.menu li a:hover {
	color: #094874;
	text-decoration: none;
}
header nav div.menu-primary-container ul.menu li.current_page_item a {
	color: #094874;
}
*/
header#page-header div#site-banner {
	height: 250px;
}
header#page-header div#site-banner div.image {
	float: left;
	height: 250px;
	width: 733px;
    /* background: url('images/banner1.jpg') no-repeat 0 0; */
}
header#page-header div#site-banner div.image img {
	display: block;
	height: 100%;
	width: 100%;
}
header#page-header div#site-banner div.text {
	float: right;
	height: 250px;
	width: 227px;
	display: table; 
}
header#page-header div#site-banner div.text div {
	color: #ffd956;
	display: table-cell; 
	vertical-align: middle; 
	text-align: center; 
	font-size: 1.429em;
	line-height: 1.286em;
	padding: 0 15px;
}
header#page-header div.breadcrumbs {
	font-size: 1.143em;
	padding: 20px 0;
}
header#page-header div.breadcrumbs > span:first-child {
	padding-left: 0;
}
header#page-header div.breadcrumbs > span {
	padding: 0 10px;
}

/* MAIN */
div#content {
	width: 960px;
    margin: 0 auto;
}
.content-area {
	float: left;
	border-top: solid 1px #ddd;
	width: 660px;
	padding-top: 10px;
}

/* WIDGET AREA */
.widget-area {
	float: right;
	border-top: solid 1px #ddd;
	width: 270px;
}
.widget-area aside.widget h1 {
	font-size: 1.714em;
	border-bottom: solid 1px #ddd;
	margin: 0;
}
.widget-area aside.widget_sp_image h1 {
	margin: 0 0 .5em 0;
}
.widget-area aside.widget li {
	font-family: arial, sans-serif;
}
.widget-area aside.widget p {
	margin: 0;
}
.widget-area aside.widget_black_studio_tinymce .textwidget {
	padding: 12px 0;
	border-bottom: solid 1px #ddd;	
}




article.post:first-child {
	padding-top: 10px;
}
article.post {
	padding: 20px 0;
	border-bottom: solid 1px #ddd;	
}
article.post .wp-post-image {
	float: right;
	margin-left: 10px;
}
h1.entry-title {
	line-height:normal;
}
h1.entry-title small {
	font-family: arial, sans-serif;
	color: #666;
	font-size: 0.438em;
	font-weight: normal;
}
span.edit-link {
	padding-left: 10px;
}

.page-id-70 .content-area,
.page-id-6706 .content-area {
	width: 510px;
}
.page-id-70 .widget-area,
.page-id-6706 .widget-area {
	width: 420px;
}

/* MENU */
#menu-primary {
    list-style: none;
    margin-bottom: 10px;
    float: right;
    padding: 0;
    margin: 0;
}
#menu-primary li {
    float: left;
    position: relative;
    margin-left: 20px;
}
#menu-primary li:last-child {
    margin-right: 10px;
}
#menu-primary a {
	font-family: 'EB Garamond', serif;
    display: block;
    color: #939598;
	font-size: 1.571em;
}
#menu-primary a:hover {
    color: #094874;
	text-decoration: none;
}
#menu-primary li.current_page_item > a,
#menu-primary li.current_page_ancestor > a {
	color: #094874;
}


#custom-menu-wizard-2 {
	background-color: #e5e5e5;
	padding: 20px 30px 30px 30px;
	position: relative;
	margin-bottom: 20px;
}
#custom-menu-wizard-2:before {
	position: absolute;
	content: " ";
	display: block;
	top: 20px;
	left: -20px;
	width: 0; 
	height: 0; 
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent; 	
	border-right: 20px solid #e5e5e5;
}
#custom-menu-wizard-2 h1 {
	border-bottom: none;
}
#custom-menu-wizard-2 ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#custom-menu-wizard-2 ul li {
    padding: 3px 0;
}
#custom-menu-wizard-2 ul a {
	color: #666;
	font-size: 1.571em;
	font-family: 'EB Garamond', serif; 
	display: block;
}
#custom-menu-wizard-2 ul a:hover {
    color: #094874;
}
#custom-menu-wizard-2 ul li.current_page_item > a {
    color: #094874;
}
#custom-menu-wizard-3 ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#custom-menu-wizard-3 li {
	font-family: 'EB Garamond', serif; 
	font-size: 1.714em;
	line-height: 2em;
	border-bottom: solid 1px #ddd;
}
.preschool #custom-menu-wizard-2 {
	background-color: #f1dcaf;
}
.preschool #custom-menu-wizard-2:before {
	border-right: 20px solid #f1dcaf;
}

/*--- DROPDOWN ---*/
#menu-primary .sub-menu-container {
	position: absolute;
	padding-top: 6px;
	left: -9999px;
}
#menu-primary .sub-menu-container .arrow {
	margin-left: 20px;
	width: 0; 
	height: 0; 
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid rgba(221, 221, 221, 0.9);
}
#menu-primary ul {
    background-color: rgba(221, 221, 221, 0.9);
    list-style: none;
    padding: 20px;
    margin: 0;
}
#menu-primary ul li {
    margin-left: 0;
    padding: 3px 0;
    float: none;
}
#menu-primary ul a {
	font-family: 'EB Garamond', serif;
    white-space: nowrap;
    color: #666;
}
#menu-primary li:hover .sub-menu-container {
    left: -20px;
}
#menu-primary li:hover ul a {
    text-decoration: none;
}
#menu-primary li:hover ul li a:hover {
    color: #094874;
}
#menu-primary li.menu-item-1941,
#menu-primary li.menu-item-1953 {
    display: none;
}
.preschool #menu-primary .sub-menu-container .arrow {
	border-bottom: 20px solid rgba(241, 220, 175, 0.9);
}
.preschool #menu-primary ul {
	background-color: rgba(241, 220, 175, 0.9);
}


.ninja-forms-all-fields-wrap {
	padding-top: 10px;
}
.ninja-forms-cont {
	font-family: arial, sans-serif;
}
.ninja-forms-cont .sub-heading {
	font-size: 14px;
    line-height: 24px;
    color: #666;
    font-weight: bold;
    margin-bottom: 10px;
}
.ninja-forms-cont .field-wrap {
    margin-bottom: 10px;
}
.ninja-forms-cont .label-left > label {
	display: inline-block !important;
	width: 200px;
}
.ninja-forms-cont .label-above label {
	margin-bottom: 0;
}
.ninja-forms-cont .label-left input[type="text"],
.ninja-forms-cont .label-left select {
	width: 300px;
	outline: none;
	border: solid 1px #ddd;	
	padding: 3px;
}
.ninja-forms-cont .label-above input[type="text"],
.ninja-forms-cont .label-above textarea {
	width: 410px !important;
	outline: none;
	border: solid 1px #ddd;	
	padding: 3px;
}
.ninja-forms-cont .list-radio-wrap.label-left ul li {
	float: none !important;
}
.ninja-forms-cont input[type="submit"], a.button {
	display: inline-block;
	font-family: 'EB Garamond', serif; 
	color: #ffd956;
	padding: 8px 10px;
	font-size: 1.714em;
	border: none;
	background: rgba(35,103,166,1);
	background: -moz-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(35,103,166,1)), color-stop(100%, rgba(9,71,116,1)));
	background: -webkit-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -o-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: -ms-linear-gradient(top, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	background: linear-gradient(to bottom, rgba(35,103,166,1) 0%, rgba(9,71,116,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2367a6', endColorstr='#094774', GradientType=0 );
	margin: 0 0 .5em 0;
}

.page-child #news-teaser {
	display: none;
}
#news-teaser {
	width: 960px;
    margin: 20px auto 0 auto;
	border-bottom: solid 1px #ddd;	
}
#news-teaser h1 {
	border-top: solid 1px #ddd;	
	border-bottom: solid 1px #ddd;	
}
#news-teaser .group {
	border-bottom: solid 1px #ddd;	
}
#news-teaser .news-teaser-item:first-child {
	margin-left: 0;
}
#news-teaser .news-teaser-item {
	float: left;
	width: 310px;
	margin-left: 15px;
	padding-bottom: 5px;
	overflow: hidden;
}
#news-teaser .news-teaser-item div {
	min-height: 260px;
}
#news-teaser .news-teaser-item img {
	margin-bottom: 10px;
}
#news-teaser .news-teaser-item a.grey {
	color: #666;
}
#news-teaser .news-teaser-item p {
	margin-bottom: 0;
}
#news-teaser .news-teaser-footer {
	text-align: right;
	padding: 5px 0;
}


#site-footer {
	margin-top: 20px;
	padding: 40px 0;
	color: #fff;
}
#site-footer .container {
	width: 960px;
    margin: 0 auto;
    font-size: 1.286em;
}
#site-footer .container .copyright {
	float: left;
}
#site-footer .container nav {
	float: right;
}
#site-footer .container nav ul.menu {
	margin: 0;
}
#site-footer .container nav ul.menu li:first-child {
	padding-left: 0;
}
#site-footer .container nav ul.menu li {
	padding-left: 20px;
}
#site-footer .container nav ul.menu li a {
	font-family: 'EB Garamond', serif;
	color: #fff;
}

.fc-button {
	height: 24px !important;
}

.slicknav_menu {
	display: none;
}

@media screen and (max-width: 768px) {

	header#page-header {
		width: 100%;
	}
	header#page-header div#primary-header {
		text-align: center;
	}
	header#page-header nav div.search-bar {
		display: none;
	}
	header#page-header img#logo {
    		float: none;
	}

	header#page-header div#site-banner {
		height: auto;
	}
	header#page-header div#site-banner div.image {
		float: none;
		height: auto;
		width: auto;
	}
	header#page-header div#site-banner div.image img {
		height: auto;
		width: 100%;
	}
	header#page-header div#site-banner div.text {
		float: none;
		height: auto;
		width: auto;
		display: table; 
		display: none;
	}
	header#page-header div.breadcrumbs {
		padding: 10px;
	}
	header#page-header div.breadcrumbs > span:first-child {
		padding-left: 0;
	}
	header#page-header div.breadcrumbs > span {
		padding: 0 10px;
	}

	/* MAIN */
	div#content {
		width: 100%;
	}
	.content-area {
		float: none;
		width: 100%;
		padding: 10px;
	}

	/* WIDGET AREA */
	.widget-area {
		float: none;
		width: 100%;
		padding: 10px;
	}

	#custom-menu-wizard-2,
	aside.widget_sp_image {
		display: none;
	}

	#news-teaser {
		width: 100%;
	    padding: 10px;
		border-bottom: solid 1px #ddd;	
	}
	#news-teaser .news-teaser-item {
		float: none;
		width: 100%;
		margin-left: 0;
		padding-bottom: 5px;
		overflow: hidden;
	}


	#site-footer {
		padding: 0;
	}
	#site-footer .container {
		width: 100%;
	    padding: 10px;
	}
	#site-footer .container nav {
		display: none;
	}


	#menu-primary {
		display:none;
	}
	.slicknav_menu {
		display:block;
	}
}

@media screen and (min-width: 1190px) {
    header#page-header {
		width: 1150px;
	}
	header#page-header nav div.search-bar {
    	padding: 15px 20px 15px 40px;
	}
	header#page-header div#site-banner {
		height: 300px;
	}
	header#page-header div#site-banner div.image {
		height: 300px;
		width: 880px;
	}
	header#page-header div#site-banner div.text {
		height: 300px;
		width: 270px;
	}
	header#page-header div#site-banner div.text div {
		font-size: 1.714em;
	}
	#menu-primary li {
		margin-left: 53px;
	}
	div#content {
		width: 1150px;
	}
	.content-area {
		width: 850px;
	}
	#news-teaser {
		width: 1150px;
	}
	#news-teaser .news-teaser-item {
		width: 370px;
		margin-left: 20px;
	}
	#site-footer .container {
		width: 1150px;
	}
	.page-id-70 .content-area {
		width: 700px;
	}
}

/* Responsive iFrame */
 
.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.responsive-iframe-container iframe,   
.vresponsive-iframe-container object,  
.vresponsive-iframe-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}





