/*
Theme Name: Maidenhall Primary
Theme URI: http://www.maidenhallprimary.co.uk
Description: A theme based on the Skeleton framework
Version: 1.0
Author: Dan Webster
Author URI: http://www.websterinternet.co.uk
*/

/* @import url("stylesheets/base.css"); Added good stuff to bottom */
@import url("stylesheets/skeleton.css");
/* @import url("stylesheets/layout.css"); */

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Get rid of that sodding Edit link */

.edit-link {
display: none;
}

/* Image Align Attributes */
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 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; }

body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size:16px;
background: #fff url(images/bg.jpg) no-repeat top center;
background-size: cover;
line-height: 1.4em;
}

/* Fonts and Headings */

p,h1,h2,h3,h4,h5,h6 {
font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
clear: both;
}

h1 {
text-transform: uppercase;
font-weight:bold;
font-size:20px;
letter-spacing: 5px;
text-align: center;
padding: 20px 0;
}
.content h2 {
text-transform: uppercase;
font-weight:bold;
font-size:16px;
}

a {
text-decoration:none;
color:#d3242b;
}
a:hover {
text-decoration:underline;
}
b, strong {
font-weight: 700;
}
img {
max-width:100%;
height:auto;
}
.tel {
font-size: 18px;
color: #009444;
display: inline-block;
margin: 15px 0 10px 0;
border: 1px solid #009444;
padding: 10px;
}
.content li {
padding-left: 20px;
margin-left:40px;
list-style: square;
}


/* =Layout DIVs
-------------------------------------------------------------- */

/* Home Page & General Layout */

/*
.container.fullwidth
{
   width:100%; 
}

.container.fullwidth .four.columns
{
     width:25%;
}

.container.fullwidth .eight.columns
{
    width:50%;
}
*/

.logo img {
float:left;
padding: 0px 0px 20px 0px;
}
.logo_time {
margin-top:-15px;
background:#FFF;
padding:5px 0 5px 5px;
}
.logo_time img {
margin-right:10px;
max-height: 40px;
}
.featured_image {
margin-bottom: 20px;
}
.content {
background:#FFF;
padding-bottom: 20px;
margin-bottom: 20px;
min-height:340px;
}
.content p, .content h2, #nav-posts {
padding: 10px 20px !important;
}
.content ul.slides {
width:100%;
}
.content ul.slides li img {
padding: 10px 20px;
}
.tribe-events-cal-links, .tribe-events-nav-next {
padding: 0px 20px !important;
}

/* Snow Day Alert */

div.snow_day {
color: #FFF; 
background: #CC0033;
margin-bottom:0px;
}
.snow_day_post {
margin:0 auto;
max-width:960px;
padding:10px 0 10px 0;
text-align:left;
} 
.snow_day a {
color: #FFF;
}
.snow_day a:hover {
color: #FDFDFD;
}

.diary {
background:#FFF;
padding-bottom: 20px;
min-height:475px;
}
li {
list-style: none;
}
.diary h2.widgettitle {
text-transform:uppercase;
padding: 10px;
text-align:center;
}
.tribe-mini-calendar-event {
border-bottom: 1px dotted #DDD !important;
}
.tribe-mini-calendar-event .list-date {
width:20% !important;
margin: 5px !important;
background: #23346D !important;
}
.content .tribe-mini-calendar-event .list-date {
width:20% !important;
margin: 5px 10px 5px 20px !important;
background: #23346D !important;
}
.tribe-mini-calendar-event .list-info {
width:70% !important;
text-align:right !important;
}
.tribe-mini-calendar-event .list-info h2 {
font-size:13px !important;
font-weight: bold;
line-height: 14px !important;
margin-bottom: 5px !important;
margin-top: 0;
}
.tribe-mini-calendar-event .list-date .list-dayname {
color: #23346D !important;
}

.newsletters {
background: #d3242b;
padding-bottom: 20px;
text-align:right;
min-height:475px;
}
.newsletters h2 {
text-transform:uppercase;
padding: 10px;
text-align:center;
}
.newsletters a {
color:#FFF;
padding-right: 10px;
display:block;
}
.newsletters p {
color:#FFF;
padding: 10px;
font-size:13px;
}
p.none {
padding:0;
}
.pdf {
background:url(images/pdf.png) no-repeat 10px 8px;
}
.smaller, .tribe-events-widget-link {
font-size:14px;
}
.tribe-events-widget-link {
padding:10px 0 0 10px;
}

.housepoints {
background: #27aae1;
min-height:100px;
margin: 0 0 20px;
}
.housepoints h2 {
text-transform:uppercase;
padding: 10px;
text-align:left;
font-size: 18px;
font-weight:bold;
}
.footer table {
margin:10px 0;
width:100%;
font-size:13px;
color:#FFF;
}
.content table {
margin:10px 20px;
width:90%;
font-size:13px;
color:#000;
}
tr.top td {
text-align: center;
}
tr.stripy {
background-color: #bbdce8;
}
td.title {
color: #000;
padding-left:5px;
}
td.birds {
color: #D3242B;
text-align:center;
font-size: 18px;
}
td.sea {
color: green;
text-align:center;
font-size: 18px;
}
td.cats {
color: yellow;
text-align:center;
font-size: 18px;
}
td.woodland {
color: blue;
text-align:center;
font-size: 18px;
}

.valueofmonth {
background: #23346D;
min-height:100px;
text-align:center;
padding-bottom: 20px;
color:#FFF;
font-weight:700;
font-size: 14px;
}
.valueofmonth img {
padding:20px 0;
}
.valueofmonth a {
color:#FFF;
}

.fundraising {
background:#FFF;
}
.fundraising h2 {
text-transform:uppercase;
padding: 10px;
text-align:center;
font-size: 16px;
color:#42494c;
font-weight:bold;
}
.fundraising_single {
border: 1px dotted #CCC;
text-align:center;
margin: 10px 0px 10px 20px;
padding: 10px;
font-size:14px;
}

.contactdetails {
color:#47554c;
font-weight:300;
text-align:center;
margin:30px 0;
}

.underfooter {
background: url(images/grass.png) repeat-x bottom center;
min-height:320px;
}

/* Inside Page Navigation */

.pagemenu {
background: #27AAE1;
margin-bottom:20px;
}
ul.pages {
text-align:left;
padding: 20px;
text-transform: uppercase;
}
.pages li a {
color: #000;
display: block;
border-bottom: 1px dashed #96D9F4;
line-height: 2.4em;
}
.pages li a:hover {
background: #FFF;
padding-left: 10px;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
-ms-transition-duration: 0.5s;
transition-duration: 0.5s;
behavior: url(http://www.maidenhallprimary.co.uk/PIE.htc);
}
ul.pages ul li a {
color: #FFF;
padding-left: 10px;
}
ul.pages li.current_page_item > a, ul.pages li.current_page_parent > a {
color: #d3242b;
}


/* =Menu Stuff
-------------------------------------------------------------- */

#access {
	background: #27AAE1;
	clear: both;
	display: block;
	/* float: left; Left Align Menu */
	text-align:center; /* Centre Align Menu */
	margin: 0 auto 20px;
	width: 100%;
    text-transform:uppercase;
}
#access ul {
	font-size: 16px;
    font-weight:700;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
	display:inline-block; /* Centre Align Menu */
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #eee;
	display: block;
	line-height: 3.333em;
	padding: 0 1.2125em;
	text-decoration: none;
}
#access ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #27AAE1;
	border-bottom: 1px dotted #ddd;
	color: #FFF;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #d3242b;
    color:#FFF;
}
#access li:hover > a,
#access a:focus {
	background: #d3242b;
	color: #FFF;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current-page-ancestor > a {
	font-weight: bold;
	background: #d3242b;
    color:#FFF;
}

/* Rollovers */

div.rollover {
background: #23346d;
text-align: center;
float:left;
padding: 18px 0 18px 18px;
margin: 0 0 20px 0;
}
a.rollover {
background-position: 0px 0px;
}
a.rollover:hover {
background-position: 0px -155px;
}

a#latestnews {
display: inline-block;
background-image:url(images/rollover_news.png);
background-repeat: no-repeat;
height:155px;
width:169px;
text-indent:-5000px;
margin:0px 18px 0 0;
}
a#schoolcouncil {
display: inline-block;
background-image:url(images/rollover_schoolcouncil.png);
background-repeat: no-repeat;
height:155px;
width:169px;
text-indent:-5000px;
margin:0px 18px 0 0;
}
a#familyworkers {
display: inline-block;
background-image:url(images/rollover_familyworkers.png);
background-repeat: no-repeat;
height:155px;
width:169px;
text-indent:-5000px;
margin:0px 18px 0 0;
}

/* Document Table */

table.document {
margin-left: 20px;
font-size:16px;
padding-bottom:30px;
}
table.document tr {
height: 50px !important;
}
table.document td {
vertical-align:middle;
border-bottom:1px solid #FFF;
}
table.document img {
height:30px;
padding-bottom:10px;
}
td.centred {
width: 50px;
}

/* #Buttons
================================================== */

	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		background: #eee; /* Old browsers */
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
		background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	  border: 1px solid #aaa;
	  border-top: 1px solid #ccc;
	  border-left: 1px solid #ccc;
	  padding: 4px 12px;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #444;
	  display: inline-block;
	  font-size: 11px;
	  font-weight: bold;
	  text-decoration: none;
	  text-shadow: 0 1px rgba(255, 255, 255, .75);
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: normal;
	  padding: 8px 10px;
	  font-family: 'Open Sans', sans-serif; }

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #222;
		background: #ddd; /* Old browsers */
		background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
		background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
		background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
		background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
		background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
		background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	  border: 1px solid #888;
	  border-top: 1px solid #aaa;
	  border-left: 1px solid #aaa; }

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		border: 1px solid #666;
		background: #ccc; /* Old browsers */
		background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
		background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
		background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
		background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
		background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
		background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

	.button.full-width,
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center; }

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
	}


.metaslider .caption-wrap {

    bottom: 5%!important;
    right: 0!important;
    background: rgba(0,0,0,0.3) !important;
    color: white!important;
    opacity: 1!important;
left:70%!important;
    width: 30%!important;
    font-size:1.1em;
}


/* #Forms
================================================== */

	form {
		margin-bottom: 20px; }
	fieldset {
		margin-bottom: 20px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 13px 'Open Sans', sans-serif;
		color: #777;
		margin: 0;
		width: 210px;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select {
		padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px; }
	label,
	legend {
		display: block;
		font-weight: bold;
		font-size: 13px;  }
	select {
		width: 220px; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }


.addressColumn
{
    background:#8DC339;
    padding:20px;
    color:white;
    text-align:center;
}

.addressColumn a
{
   
    color:white;
   
}

.addressColumn a:hover
{
   
    color:#D3242B;
   
}

a.importantBtn
{
    float:right;
    background:#D3242B;
    padding:10px;
    color:white;
    border:solid 2px white;
}

a.importantBtn:hover
{
    
    background:#27AAE1!important;
    
}

.importantBtn 
{
    
    color:white;
    text-transform:uppercase;
}

/* #Misc
================================================== */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }




/* Mobile Changes - Global */

.responsiveMenuSelect {
    font-size: 18px;
    text-transform:capitalize;
}