/*
Theme Name: Oakmere Primary School
Theme URI: www.oakmere.herts.sch.uk
Description: Graphene Child Theme
Author: Alison Bellerby
Template: graphene
*/

html {
	overflow-y: scroll;
}
body {
/*	font-family: myriad-pro-condensed;
	font-size: 18px; */
}
#top_search input {
	background: #ffffff;
}
#top_search input:focus {
	color: #000000;
}
.goog-te-gadget span {
/*	font-family: "myriad-pro-condensed",sans,sans-serif !important; */
	font-size: 14px;
}
.goog-te-gadget span a:hover {
	color:inherit;
}
#google_language_translator .goog-te-gadget-simple {
	padding: 4px 3px !important;
	margin: 0;
}
#top_search input {
	background: #ffffff !important;
}
#top_search .btn-default {
	background: #ccc !important;
}
#header {
		text-align:left;
}
#header img {
	height: 150px;
	width: auto;
	padding:10px
}
.header_title, .header_desc {
	padding-left:160px;
	white-space: nowrap;
	width: 50%;
}
.header_desc {
	padding-top: 10px;
	font-style: italic;
}
.header_title {
	letter-spacing: normal;
	margin-top: -110px;
}
/* .header_desc {
	color: #297AA3 !important;
} */
.header-widget {
	float: right;
}

/* Contact details in header */

#black-studio-tinymce-2 {
	text-align:right;
	padding-right:15px;
	padding-top: 15px;
}
#black-studio-tinymce-2 .textwidget p {
	padding-bottom: 4px;
	padding-top: 4px;
	font-size: 16px ;
	line-height: 1.2;
}

/* Menu */

.navbar .nav > li > a {
/*	font-size: 20px; */
}

.navbar .nav ul li a {
	font-size: 14px;
	padding: 5px 10px;
}

/* Footer */

#footer {
	padding: 10px 0;
	font-size: 14px;
}
.widget_login_logout {
	float: right;
	padding-right: 20px;
}
#developer {
	display: none;
}

/* Sidebar */

.widget-area .sidebar-wrap {
	padding: 10px 15px 15px;
}
.widget-area ul li {
	padding: 3px 0;
	font-size: 14px;
}
.sidebar h2 {
	text-transform: none !important;
	font-size: 18px !important;
	color: #eb0000 !important;
	margin: 0 !important;
	border-bottom: 1px solid #666;
	padding-bottom: 5px !important;
}
.list-group-item {
	font-size: 14px;
	padding: 6px 10px;
}
.list-group-item.parent {
	font-size: 16px;
	padding: 8px 10px;
}
/* Schoolgateway logo */

#black-studio-tinymce-7 {
	border: none;
	background: none;
	padding: 0;
}

/* Content */

.home .post-title {
	display: none;
}
.entry-content {
	padding-top: 10px;
}
.entry-content a,
#header a,
#black-studio-tinymce-3 a /* Noticeboard */ {
	text-decoration: underline;
}
.entry-content p {
	margin-top: 0px;
	margin-bottom: 1em;
}
.entry-content h2 {
	color: #eb0000;
	font-size: 24px;
}
.entry-content h3 {
	font-size: 20px;
	color: #4a474b;
}
.entry-content img.aligncenter {
	padding: 10px 0;
}
.parent-return, .post-nav,
#sidebar1 .widget .section-title-sm {
	display: none;
}
.entry-content .excerpt-thumb {
	display: none !important;
}
.gm-style > div {
	border-color: black !important;
}
.page-staff td:nth-child(2n+1) {
	width: 30%;
}

/* Plugins */

/* FAQs (Subjects) */

.faq_a {
	color: #000000;
}
.faq_q:focus{
	box-shadow: none;
}
.faq_item {
	margin-bottom: 10px;
}

/* Download Monitor */

.widget-area ul.dlm-downloads {
	margin-top: 5px !important;
}
.dlm-downloads {
	margin-top: 15px !important;
}

.filetype-pdf {
	background-image:url(images/document-pdf.png) !important;
	background-size: 20px 20px;
	padding: 5px 0 5px 24px !important;
}
.filetype-doc,
.filetype-docx {
	background-image:url(images/document-doc.png) !important;
	background-size: 20px 20px;
	padding: 5px 0 5px 24px !important;
}
.entry-content .dlm-downloads {
	margin-left: 0 !important;
	padding-left: 0 !important;

}
/* .page-curriculum-overviews .entry-content .dlm-downloads, */
.page-policies .entry-content .dlm-downloads,
.page-newsletters .entry-content .dlm-downloads {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
/*    -webkit-column-width: 500px;
    -moz-column-width: 500px;
    column-width: 500px; */
}
.dlm-downloads li {
	list-style: none;
	list-style-image: none !important;
}
.dlm-downloads li .download-content {
	display: inline-block;
}
.download-content .description {
	font-size: 12px;
}

/* Events Manager */

table.events-table .description p {
	font-size: 14px;
	font-style: italic;
}
table.events-table td:first-child,
table.events-table th:first-child {
	width: 50%;
}
table.events-table td:nth-child(2),
table.events-table th:nth-child(2) {
	width: 50%;
}

/* Photo Gallery */


.page-gallery .entry-content .display-posts-listing .listing-item {
	clear: none;
	display: inline-block;
	width: 30%;
	float: left;
	padding: 10px;
	box-shadow: 1px 2px 2px #666;
	margin: 10px;
}
.page-gallery .entry-content ul.display-posts-listing {
	clear: both;
	margin: 0px 0px 20px;
	padding: 5px 0;
	line-height: 1.3;
}
.page-gallery .display-posts-listing li a.title {
	display: block;
	margin-bottom: 5px;
}
.page-gallery .sidebar-wrap .display-posts-listing li a.title {
	margin-bottom: 0px;
}
.page-gallery .display-posts-listing .excerpt-dash {
	display: none;
}
.page-gallery .display-posts-listing img {
	float: left;
	margin: 0 10px 10px 0;
}

/* Display Posts

.date {
	width: auto;
	border: none;
	float: none;
	text-align: left;
	margin: 0;
	background: none;
	color: #000066;
	font-weight: bold;
}

.display-posts-listing .listing-item {
	clear: none;
	display: inline-block;
	width: 47%;
	float: left;
	padding: 10px;
	box-shadow: 1px 2px 2px #666;
	margin: 10px;
}
 ul.display-posts-listing {
	clear: both;
	margin: 0px 0px 20px;
	padding: 5px 0;
} 
.display-posts-listing li a.title {
	display: block;
	margin-bottom: 0px;
}
.sidebar-wrap .display-posts-listing li a.title {
	margin-bottom: 0px;
}
.display-posts-listing .excerpt-dash {
	display: none;
}
.display-posts-listing img {
	float: left;
	margin: 0 10px 10px 0;
}  */
blockquote p {
	line-height: 1.3 !important;
	font-size: 16px !important;
	margin-bottom: 10px !important;
}

/* Responsive Lightbox & Photo Gallery */

#fancybox-wrap, #fancybox-content {
	box-sizing: content-box;
}
.gallery {
	display: block;
}
.gallery-item img {
	width: auto;
	border: none;
	box-shadow: none;
}
.entry-content .gallery .gallery-caption {
	position: relative;
	opacity: 1;
	color: #4a474b;
	background: #ffffff;
}
.metaslider {
	margin: auto;
}
.entry-content .highlight {
	color: #eb0000;
	font-size: 20px;
	font-weight: bold;
}

/* Fix anchor positioning on Statutory Informaton page */

.page-statutory-information h2 a {
	position: relative;
	visibility: hidden;
	top: -50px;
}

/* External Links */

.wpel-icon-left i.wpel-icon {
	margin-left: 0.1em;
}

/* Pop-up builder */

#sgpb-popup-dialog-main-div {
	border: 3px solid #eb0000 !important;
}
.sgpb-main-html-content-wrapper h2 {
	padding-bottom: 20px;
	font-size: 26px;
	padding-top: 15px !important;
	color: #eb0000;
	font-weight: bold;
}

.sgpb-main-html-content-wrapper ul {
	margin: 10px 30px;
}

/* ACCESSIBILITY */

a.list-group-item.parent {
	pointer-events: none;
}
a.dropdown-toggle:active, a.dropdown-toggle:hover {
	cursor: default;
}
.navbar #header-menu-wrap .nav .dropdown-menu li:hover > a, .navbar #header-menu-wrap .nav .dropdown-menu li.current-menu-item > a, .navbar #header-menu-wrap .nav .dropdown-menu li.current-menu-ancestor > a {
	background: #eb0000;
}
.navbar #header-menu-wrap .nav ul li a:focus {
	color: #ffffff;
	background-color: #eb0000 !important;
}
.navbar #header-menu-wrap .navbar-nav>li>a:focus {
    background-color: #4a474b;
	color: #ffffff !important;
}

.navbar #header-menu-wrap .nav .dropdown-menu li:hover > a,
.navbar-inverse .nav .dropdown-menu li.current-menu-item > a {
	color: #ffffff !important;
}

/*.header_title, .header_title a, .header_title a:visited, .header_title a:hover, .header_desc {
    background-color: white;
} */
li:focus, select option:focus, select:focus {
    border: 1px solid #ccc !important;
}
h3.post-type {
	display: none;
}
.page-sitemap .entry-content ul.simple-sitemap-page {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}
.simple-sitemap-wrap > ul.simple-sitemap-page > li {
	font-weight:bold;
	list-style: none;
}
.simple-sitemap-wrap > ul.simple-sitemap-page > li li {
	font-weight:normal;
}

#black-studio-tinymce-6 {
    float: left;
}
.copyright-developer {
	padding-right: 3px;
}
.quotes {
	font-size:16px;
	text-align:center;
	font-weight: bold;
	color: #eb0000;
	font-style: italic;
	width: 100%;
}
.quotes p {
	width: 80%;
	margin: auto;
}
.two-cols {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 1.5em;
    -moz-column-gap: 1.5em;
    column-gap: 1.5em;
}

/* Responsive styles */

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
	.header_title, .header_title a, .header_title a:visited, .header_title a:hover {
 	   color: #ffffff !important;
	}
	.header_title, .header_desc {
		width: auto;
	}
	#header img {
		height: 100px !important;
	}
	#header {
		height: 100px;
	}
/*	#black-studio-tinymce-6 .textwidget .aligncenter {
		display: inline-block !important;
		padding: 0 4px;
		max-width: 25%;
	} */

	#black-studio-tinymce-8 .gallery-item {
		width: auto !important;
		padding: 0 10px;
	}
	.goog-te-gadget, .goog-te-gadget span a {
		font-size: 9px !important;
	}
	.header_desc {
		display:block !important;
		font-size: 12px;
		background-color: #000;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.header_title, .header_desc {
		padding-left: 0px;
		text-align:center!important;
	}

	/* Contact details in header */

	#black-studio-tinymce-2 .textwidget p {
		padding-bottom: 2px;
		padding-top: 0px;
		font-size: 12px;
	}
	.entry-content .dlm-downloads {
   		-webkit-column-count: 1 !important;
   		-moz-column-count: 1 !important;
    	column-count: 1 !important;
	}
	.entry-content img.alignright,
	.entry-content img.alignleft {
		max-width: 40%;
	}
	#top-bar #top_search {
		clear: none !important;
	}
	.copyright-developer {
		width: auto !important;
		float: left !important;
	}
	.page-sitemap .entry-content ul.simple-sitemap-page {
	-webkit-column-count: 1;
	-moz-column-count: 1;
	column-count: 1;
}
	/* Display Posts */

	.page-gallery .entry-content .display-posts-listing .listing-item {
		width: 100%;
		margin: 10px 0;
	}
}
/* Small devices up to tablets */
@media (max-width: 991px) {
	.gallery {
		display: flex;
	}
	.gallery-item {
		flex-grow: 1;
	}

}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
		/* ACCESSIBILITY 

	a.dropdown-toggle:active {
		pointer-events: none;
	}*/
	
}

	/* ACCESSIBILITY - disable 'click' for all devices with a hover feature */

@media (anyhover: hover) and (min-width: 992px){

	a.dropdown-toggle:active,
	.dropdown-submenu > a {
		pointer-events: none;
	}
	
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
	.header_title {
		margin-top: -100px;
		font-size: 28px;
	}
	.header_desc {
		font-size: 18px;
	}
	#header img {
		height: 130px !important;
	}
	#header {
		height: 130px;
	}
	.navbar {
		min-height: 25px;
	}
	.navbar .nav > li > a {
		padding: 5px 4px !important;
		min-height: 25px !important;
		font-size: 13px;
	}
	/* Contact details in header */

	#black-studio-tinymce-2 .textwidget p {
		font-size: 14px;
	}
	/* Display Posts */

	.page-gallery .entry-content .display-posts-listing .listing-item {
		width: 47%;
	}

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
	.navbar .nav > li > a {
		font-size: 15px;
	}
	
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
/*.navbar .nav > li:first-child {
		min-width: 74px;
	}
	.navbar .nav > li {
		min-width: 122px;
	}	*/
}