/*
Theme Name: Pool Pre School
Theme URI: http://localhost/sourmash
Description: Bespoke Theme for Pool Pre School
Author: Steve Smith
Author URI: http://sourmashinternet.co.uk/
Version: 1.0
Tags: responsive, bootstrap

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/

*/


body {
    font-family: 'Boogaloo', cursive;
}

h1, h2, h3, h4, h5 {
	font-family: 'Boogaloo', cursive;
}

h1, h2, h3, h4, h5, p, ul, li {
	color:#2e3192;
}

h1 {
	margin-top: 22px;
	font-size:41px;
	/*color:#333;*/
}

@media (max-width: 767px) {
	
	h1 {
		font-size:28px;
		padding-left: 20px;
		line-height: 50px
	}

	.center-logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
    }
}

p, ul, li, address {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 28px;
}

address {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color:#0D509F;
}

a {
	color: #2e3192;
}

a:hover {
	color:#0db148;
	text-decoration: none
}

ol {
	padding-left: 25px;
}

/*MENU*/

.navbar-default .navbar-nav > li > a {
	/*color:#0D509F;*/
	
	color:#2e3192;
	font-size: 18px;
	text-transform: uppercase;
	padding-left: 10px;
	padding-right: 10px;
	font-family: 'Boogaloo', cursive;
}

.navbar-default .navbar-nav > li > a:hover {
	color:red;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover {
	color:red;
	background-color: transparent;
}

.navbar-default {
	background-color: transparent;
	margin-bottom: 0;
}

.navbar-collapse {
	border-bottom: none;
}

.navbar {
	border: none;
}

@media (max-width:767px) {

	.navbar-collapse {
		text-align: center;
		font-size: 14px;
	}
}

/*HEADER DETAILS*/

.header-details {
	text-align: center;
	padding-top: 20px;
}

.header-details p {
	line-height: 14px;
	font-size: 14px;
	font-weight: 400;
}

.header-details a {
	color: inherit;
}

.header-details a:hover {
	color:#0db148;
	text-decoration: none
}

@media (min-width: 768px) and (max-width: 991px) {

	.navbar-default .navbar-nav > li > a {
		font-size: 15px;
	}

	ul.navbar-nav li:first-of-type > a {
		padding-left: 0;
	}

	.navbar-default .navbar-nav > li > a {
	/*color:#0D509F;*/
	
	padding-left: 5px;
	padding-right: 5px;
}



}

@media (min-width: 992px) {
	.navbar-collapse {
		padding-left:0;
	}

	.navbar-default .navbar-nav > li > a {
		font-size: 18px;
	}

	.header-details {
		text-align: right;
		padding-top: 10px;
		font-size: 20px;
		font-weight: 400;
	}

	.header-details p {
		line-height: 20px;
		font-size: 18px;
		font-weight: 400;
	}
}





.full-width {
	width: 100%;
	float: left;
}

.page-title {
	background-image: url(css/images/bgd-teaser-new.png);
    background-repeat: repeat-x;
    height:94px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo-background {
	background-image: url(css/images/header-bckgr.jpg);
    background-repeat: repeat-x;
    background-position: center top;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%
}

.grunge {
	height:5px;
	background-image: url(css/images/grunge-seperator.png);
    background-repeat: no-repeat;
    background-position: center;
}



.fa {
	padding-right: 10px;
}

.page-content p:first-of-type {
	font-weight: 400;
}

.page-content p {
	width: 98%;
	/*line-height: 25px;*/
	/*margin-bottom: 15px;*/
}

.page-content {
	padding-bottom: 20px;
}

.page-content a {
	text-decoration: underline;
}

/*FOOTER AND SIDEBARS*/

.footer-container {
	background-image: url(css/images/linedpaper.png);
    background-repeat: repeat-x repeat-y;
    background-position: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-container h4 {
	/*color:#b8cb02;*/
	font-size: 24px;
}


.site-by p {
	text-align: center;
	padding-top: 10px;
	font-size: 14px;
}

.contact-footer {
	font-size: 16px;
	margin-top: 5px;
	line-height: 24px
}

.footer-link-list, .sidebar-link-list {
	list-style-type: none;
	padding-left: 0;
	padding-top: 0;
}

.footer-link-list li {
	font-size: 16px;
	line-height: 24px;
}

.sidebar-link-list li {
	font-size: 18px;
	line-height: 28px;
	padding-bottom: 5px;
}

.sidebar-link-list li a {
	color:#666;
}

.sidebar-link-list li a:hover {
	color:#0db148;
}


.footer-link-list li a::before, .sidebar-link-list li a::before {
	font-family: 'FontAwesome';
	content:'\f105';
	padding-right: 10px;
}

/*END OF FOOTER*/

/*SLIDER*/

.slides > li > img {
	padding: 2px;
	border: 1px solid #0D509F;
}

.slider {
	margin-bottom: 20px;
}

/*END OF SLIDER*/

/*SIDEBAR*/


/*Sidebar-testimonials*/

.panel {
	border-radius: 0px;
}

.panel-default {
	border-color: #ddd;
}

.panel-heading {
	border-bottom: none;
}

.panel-body {
	padding-top: 0;
	padding-bottom: 5px;
}

.panel-heading > .panel-title{
	color:#2e3192;
	font-size: 24px;
}

.sidebar-testimonial-content p {
	font-style: italic;
	font-size: 18px;
	color: #666;
}

.panel-default .panel-body, .panel-default .panel-heading{
	background-image: url(css/images/linedpaper.png);
    background-repeat: repeat-x repeat-y;
}

p.more-link > a {
	color:#666;
	font-weight: normal;
	font-style: normal;
}

p.more-link > a:hover {
	color:#0db148;
	font-weight: normal;
	font-style: normal;
}

p.more-link > a::before {
	font-family: FontAwesome;
	content:'\f105';
	padding-right: 10px;
}

/*Directions*/

.google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    margin-top: 5px;
    border-radius: 20px !important;

}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/*STAFF PAGE STYLING*/

.staff {
	margin-bottom: 10px;
}

.staff img {
	float: left;
	padding:2px;
	border: 1px solid #0D509F;
	margin-right: 20px;
	margin-bottom: 20px;
}

.staff h2 {
	color:#2e3192;
	margin-top: 0;
}

.clear-staff {
	clear: both;
	height:15px;
}

@media (max-width: 767px) {
	.staff img {
		float: none;
		margin-bottom: 10px;
	}
}

/*TESTIMONIALS PAGE STYLING*/

.testimonial-list p {
	font-style: italic;
	border-left: 2px solid #0db148;
	padding-left: 10px;
	font-weight: 300 !important
}


/*Add a border to the top of the footer sections in mobile view*/

	@media (max-width:767px) {

		.b-b{
			border-top: solid 1px #ccc;
			padding-top: 10px;
		}

	}

/*NEWS*/

.blog-summary-container img, .blog-single-container img {
	padding:2px;
	border: 1px solid #0D509F;
}

.blog-summary-container {
	margin-bottom: 20px;
	/*float: left*/
}

.blog-single-img {
	margin-bottom: 20px;
	/*float: left*/
}

.blog-summary-container p {
	font-weight: 300 !important;
	font-size: 16px;
	margin-bottom: 5px;
}



.blog-summary-container h3 {
	color:#2e3192;
	margin-top: 0;
	margin-bottom: 5px;
}

.blog-summary-content h3 > a {
	text-decoration: none;
}

p.blog-info {
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 0px;
	color: #666
}

p.read-more {
	font-weight: 300 !important;
	margin-top: 0;
	font-style: 13px;
}

p.read-more > a::before {
/*	font-family: FontAwesome;
	content:'\f105';
	padding-right: 10px;*/
}


.blog-single-container h2 {
	margin-top: 10px;
	margin-bottom: 10px;
}


@media (max-width: 991px) {
	.blog-summary-container img {
		margin-bottom: 10px;
	}
}

/*PAGINATION*/

.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:14px;
line-height:14px;
}

.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 2px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#174c9c;
border: 1px solid #ccc;
/*background: #555;*/
}

.pagination a:hover{
color:#fff;
background: #174c9c;
}

.pagination .current{
padding:6px 9px 5px 9px;
background: #174c9c;
color:#fff;
}

/* ================
   x. IMAGE STYLING
   ================ */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background-color: #fff;
    border: 1px solid #bbb;
    max-width: 98%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;

}

.wp-caption.alignnone {
    margin: 5px 20px 15px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 15px 0;
}

.wp-caption.alignright {
    margin: 5px 0 15px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
	color: #333;
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

dd.wp-caption-text {
	font-size: 11px;
}

img.center-logo {
	margin-left: auto;
	margin-right: auto;
}

img.last-click-logo {
	margin-top: 15px;
}

@media (min-width:768px) {
	img.last-click-logo {
		margin-top: 0;
	}

}



.click-links {
	margin-top:20px;
}