/* 
Theme Name: AltonMaasai
Author: Mark A Barton
Author URI: http://markbart.uk
Description: Bespoke theme created for the Alton Maasai Project website
	
Reset CSS from Blankslate -------------------------------------- */

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,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video { font-size:100%; font:inherit; padding:0; border:0; margin:0; vertical-align:baseline; }

body { line-height:1 }
blockquote,q { quotes: none}
blockquote:before,blockquote:after,q:before,q:after { content:''; content:none }
table { border-collapse:collapse; border-spacing:0 }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block }

.screen-reader-text { clip:rect(1px, 1px, 1px, 1px); position:absolute !important }
.clear { clear:both }
.sticky{}
.bypostauthor{}
.wp-caption{}
.wp-caption-text{}
.gallery-caption{}
.alignright{}
.alignleft{}
.aligncenter{}



/* GENERAL LAYOUT -------------------------------------------------- */


body {
	background-color: #2d1a1a;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: black;
}

#contentwrapper {
	background-color: #FFFFFF;
}


/* GENERAL STYLING -------------------------------------------------- */


a {
	color: #375cd8;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

i, em { 
    font-style: italic;
}

b, strong { 
    font-weight: bold;
}

h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666;
	border-bottom: 3px solid #666;
	margin-bottom: 2em;
	font-size: 130%;
	font-weight: bold;
	line-height: 1.5 !important;
}

h3 i{
	float: right;
	font-weight: normal;
	font-size: 80%;
}

/* HEADER ----------------------------------------------------------- */


#header {
	position:relative;
	width: 100%;
	font-family: /*"Trebuchet MS"*/, Arial, Helvetica, sans-serif;
	background-color: #D82B00;	
}

#header h1{
	display:none;
}

#homelink {
	position: absolute;
	background: url(graphics/logo.png) no-repeat;
	background-size: contain;
}

/* ------ GENERIC NAV */

#generic-nav {
	position: absolute;
}

#generic-nav li {
	padding: 0 12px;
	list-style-type: none;
	border-left: 1px solid white;
	display: inline;
}

#generic-nav a {
	color: white;
	text-decoration: none;
	/*font-weight: bold;*/
}

#generic-nav a:hover {
	color: black;
}

/* ------ FEATURED NAV */

#feature-nav {
	position: absolute;
}

#feature-nav li {
	padding: 0 15px;
	list-style-type: none;
	border-left: 1px solid white;
	display: inline;
}

#feature-nav li a {
	color: #FFFFFF;
	text-decoration: none;
	/*font-weight: bold;*/
}

#feature-nav li a:hover {
	color: #000000;
}


/* ------ BANNER */


#banner {
	position: relative;
	background: no-repeat top left;
	background-color: #888888;
	background-size: cover;
}

#banner h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	position: absolute;
	color: white;
	text-shadow:
		1px 0px 0px #6a6a6a,
		1px -1px 0 #6a6a6a,
		-1px 1px 0 #6a6a6a,
		1px 1px 0 #6a6a6a;
}

.welcome { background-image: url(graphics/welcome.jpg) !important; }

.news { background-image: url(graphics/news.jpg) !important; }

.womens { background-image: url(graphics/womens.jpg) !important; }

.background { background-image: url(graphics/background.jpg) !important; }

.school { background-image: url(graphics/school.jpg) !important; }

.about { background-image: url(graphics/aboutus.jpg) !important; }

.contact { background-image: url(graphics/contactus.jpg) !important; }

.getinvolved { background-image: url(graphics/getinvolved.jpg) !important; }



/* MAIN CONTENT  --------------------------------------------------- */

#content {
	width: 100%;
	background-color: #FFFFFF;
	line-height: 2;
}

#content p, #content hr {
	margin: 0 0 1.5em 0;
}

#content ul, #content ol {
	margin: 0 0 1.5em 30px;
}

#content li {
	margin: 0 0 0.5em 0;
}

#content h4 {
	font-weight: bold;
	margin: 0 0 1.5em 0;
}

#content h4 i{
	font-weight: normal;
	font-style: italic;
	float:right;
}

#content img.alignright {
	float:right;
}

#content-home {
	background-color: #FFFFFF;
	line-height: 2;
}

#content-home p, #content-home ul, #content-home hr {
	margin: 0 0 1.5em 0;
}

#content-home hr {
	clear: both;
	}

#rightpanel {
	line-height: 2;	
}

#rightpanel img{
	padding: 3px;
	border: 1px solid #BBB;	
}

#rightpanel .post{
	padding: 12px 0;
	border-bottom: 1px solid #BBB;
}

#rightpanel i{
	font-size: 80%;
	color:grey;
	padding-left: 3px;
	margin-left: 3px;
	border-left: 1px solid grey;
}

blockquote {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	float:right !important;
	width: 230px !important;
	padding: 15px 20px !important;
	margin: 0 !important;
	color: #666;
	line-height: 1.8;
	font-size: 110%;
	text-align: center;
	border-left: 4px solid #666;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	border-right: 4px solid #666;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
}
	
blockquote p{
	width:100% !important;
	padding: 0 !important;
	margin: 0 !important;
	}

/* FOOTER ----------------------------------------------------------- */


#footer {
	clear: both;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 70px 0 0 0;
	background: url(graphics/pattern.png) repeat-x left top;
	background-color: #000000;
	color: #9e9e9e;
	font-size: 90%;
}

#footer a {
	text-decoration: none;
	color: #dddddd;
}

#footer a:hover {
	color: #ffffff;
}

#footer hr {
	display: none;
}


/* MISCELLANEOUS ----------------------------------------------------- */

.alignright {
	float:right;
}

#nav-below {
	position:relative;
	width: 100%;
	margin: 40px 0 20px 0;
	border-top: 1px solid black;
	padding: 15px 0 0 0;
}

.nav-previous {
	position: absolute;
	text-align: left;
	width: 100px;
	left:0;
}

.nav-news {
	position: absolute;
	text-align: center;
	width: 150px;
	left: calc(50% - 75px);
}

.nav-next {
	position: absolute;
	text-align: right;
	width: 100px;
	right:0;
}

.content-button a{
	font-family: /*"Trebuchet MS"*/, Arial, Helvetica, sans-serif;
	font-size: 90%;
	color: #FFFFFF;
	background-color: #f28267;
	padding: 4px 6px;
	margin: 0 6px 0 0;
	text-decoration: none;
	font-weight: bold;
}

.content-button a:hover {
	color: #000000;
}

.moretag {
	float: right;
}

/*------------------------------------------------------------------------------------------------------ LARGE SCREENS ONLY */

@media only screen and (min-width: 801px) {

body {
  font-size:100%;
}

h3 {
	font-size: 140%;
	padding-bottom: 16px;
}

#wrapper {	
	max-width: 1193px;
	margin: 20px auto;
	padding: 0 20px;
}

#contentwrapper {
	width: calc(100% - 120px);
	padding: 40px 60px;
}

#header {
	height: 200px;
}

#banner {
	height: 250px;
}

#banner h2 {
	font-size: 300%;
	bottom:-5px;
	right:60px;
}

#homelink {
	top: 38px;
	left: 58px;
	height: 127px;
	width: 219px;
}

#generic-nav {
	top: 105px;
	right: 60px;
}

#feature-nav {
	top: 133px;
	right: 60px;
	font-size: 120%;
}

#feature-nav li {
	padding: 0 18px;
	list-style-type: none;
	border-left: 1px solid white;
	display: inline;
}

#feature-nav li a {
	color: #FFFFFF;
	text-decoration: none;
}

#feature-nav li a:hover {
	color: #000000;
}


#content p, #content hr, #content h4 {
	width: 70%;
}

#content ul, #content ol {
	width: calc(70% - 30px);
}

#content-home {
	float: left;
	width: calc(100% - 320px);
}

#rightpanel {
	float: right;
	width: 270px;
}

#rightpanel img{
	width: 260px;
	height: 195px;	
}

#footer p{
	padding: 0 60px;
}

}

/*----------------------------------------------------------------------------------------------  SMALLER SCREENS */

@media only screen and (max-width: 960px) {

body {
  font-size: 90%;
}

#contentwrapper {
	width: calc(100% - 60px);
	padding: 25px 30px;
}

#header {
	height: 150px;
}

#homelink {
	top: 25px;
	left: 33px;
	height: 110px;
	width: 180px;
}

#banner {
	height: 160px;
}

#banner h2 {
	font-size: 270%;
	bottom:-4px;
	right:30px;
}

#generic-nav {
	top: 73px;
	right: 35px;
}

#feature-nav {
	top: 100px;
	right: 35px;
}

#content-home {
	float: left;
	width: calc(100% - 260px);
}

#rightpanel {
	float: right;
	width: 230px;
}

#rightpanel img{
	width: 220px;
	height: 165px;	
}

#footer p{
	padding: 0 30px;
}

}


/*------------------------------------------------------------------------------------------------------ TABLET SCREENS */


@media only screen and (max-width: 800px) {


#header {
	height: 120px;
}

#homelink {
	display:block;
	top:20px;
	left:25px;
	height: 80px;
	width: 150px;
}

#generic-nav {
	top: 50px;
	right: 20px;
	font-size: 90%;
}

#feature-nav {
	top: 74px;
	right: 20px;
	font-size: 110%;
}

#banner {
	height: 150px;
}



h3 {
	font-size: 120%;
}

}


/*------------------------------------------------------------------------------------------------------ MOBILE SCREENS */

@media only screen and (max-width: 640px) {


#contentwrapper {
	width: calc(100% - 50px);
	padding: 25px 25px;
}

#header {
	/*overflow: hidden;*/
	height: 80px;
	position:fixed;
	top:0;
	z-index: 100;
	/*transition: height 0.3s;*/
}

#homelink {
	display:block;
	top:12px;
	left:15px;
	height: 60px;
	width: 120px;
}

#banner {
	margin-top: 80px;
	height: 150px;
}

#banner h2 {
	font-size: 200%;
	bottom:-2px;
	right:25px;
}

#mobMenu {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 50px;
	height: 50px;
	background:url('graphics/menu.png') center center no-repeat;
	background-color:#a41919;
	border: none;
}

#mobMenu:hover {
	background-color: #f28267;
	}

#generic-nav {
	position: static;
	font-size: 100%
}

#feature-nav {
	position: static;
	font-size: 100%;
}

#navigation {
	display: none;
	position: absolute;
	width: 180px;
	top: 15px;
	right:77px;
	color: #fff;
	background-color:#a41919;
	z-index: 99;
}

#navigation ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

#navigation li {
	list-style: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
	border: 0;
	width:  auto;
}

#navigation li a {
	color: #fff;
	font-weight: normal;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 18px 20px;
	border-bottom:1px solid #D82B00;
}

#navigation li a:hover {
	color: #fff;
	background-color: #f28267;
	
}

#content-home {
	float: none;
	width: 100%;
}


#rightpanel {
	float: none;
	width: calc(100% - 40px);
	background-color: #fdefef;
	padding: 20px;
}

#footer p{
	padding: 0 25px;
	font-size: 90%;
}

}

@media only screen and (max-width: 500px) {

blockquote { 
	margin: 0 auto !important;;
	float:none !important;
	margin-bottom: 20px !important;
}

}