/*
Theme Name: Support Refugees (Meris Child)
Version: 1.52
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meris
Template: meris

This is the free version of eyesite.
To upgrade to premium with added features visit trekthemes.com/shop/

This theme, like WordPress, is licensed under the GPL.
eyesite is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/

Fonts sourced through google fonts (see customizer.php and functions.php) are under the SIL Open Font License (OFL)
*/


@import url('../meris/style.css');


/* Who thought light grey on white was a good contract? */
body {
	color: #444;
}
/* White on light colours doesn't suit you, darken the header text */
header {
	background-color: rgba(0, 0, 0, 0.2);
}
.homepage-slider .carousel-caption h1 {
	font-size: 4em;
}
/* The very transparent search form is hard to use */
.search-form {
	background-color: rgba(0,0,0,.8);
}
.homepage-slider .carousel-caption a {
	background-color: #1d264d;
	color: white;
}
.homepage-slider .carousel-caption a.button {
	width: auto;
	max-width: 100%;
	padding: 10px 20px;
	height: auto;
	display: block;
	margin-top: 10px;
}

.homepage-slider .carousel-caption {
	font-size: 1.7em;
	color: white;
	text-shadow: 1px 1px 4px #1d264d;
}
.module-title {
	text-align: center;
}
.homepage-main .textwidget p {
	text-align: center;
	font-size: 18px;
	margin-left: 10%;
	margin-right: 10%;
	color: black;
}
.homepage-main .service-box a{
	font-size: 1.3em;
	color: black;
}
.homepage-main .service-box:hover a{
	color: #1d264d;
	text-decoration: underline;
}
/* when slider images are not big enough, center them and stretch them */
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	margin: 0 auto;
	min-width: 100%;
}

/* Listings page is ugly, lets fix it up a bit */
.entry-date {
	width: 70px;
	height: 70px;
	padding: 10px;
}

/* At awkward middle res Make the nav closer so we're less likely to risk getting onto two lines */
/* because this theme breaks the carosel if that happens */
@media screen and (min-width: 920px) and (max-width: 1100px) {
	.container {
		width: 800px;
	}
	.site-nav > ul > li a {
		padding: 0 5px !important;
	}
}
/* Whoever thought changing the basic colour in javascript was a good idea, was a bad idea */
footer,
.homepage-slider .carousel-indicators li.active {
	background-color: #1d264d !important;
}
/* The slider content gets lost behind the header when the screen is narrow */
/* and the slider content is not very short. Our slides all fit into 290px height so force them a bit taller, and give them some background */
@media screen and (max-width: 400px) {
	.carousel-inner > .item {
		min-height: 290px !important;
		background-color: #444;
	}
}
@media screen and (max-width: 600px) {
	.homepage-slider .carousel-caption {
		font-size: 1em;
		left: 15%;
		right: 15%;
		padding-top: 0;
		padding-bottom: 0;
	}
	.homepage-slider .carousel-caption h1 {
		font-size: 4em;
	}
	.homepage-slider .carousel-caption button {
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
}
@media screen and (max-width: 920px) {
	/* On small screens the carosel messes up under the header */
	/* So stop it flaoting around and give it a background colour; */
	.homepage header {
		background-color: #1d264d;
		position: relative !important;
		padding-bottom: 10px;
	}
	/* When the nav collapses, make it prettier */
	.site-nav {
		background-color: rgba(29, 38, 77, 0.9);
		background-color: #757D8A;
	}
	.site-nav ul
		display: block;
	}
	.site-nav li ul li a {
		color: #1d264d;
	}
	.site-nav > ul > li a.menu-item-has-children {
		border-bottom: 1px;
	}
}
