﻿/**
* Theme Name: Rodgers and Hammertime
* Author: Beach
* Author URI: http://beach-o-matic.co.uk
* Description: Custom CSS
* Version: 1.0
*/


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


html {
	margin: 0;
	padding: 0;
}


body {
	margin: 0;
	padding: 0;
	width: 100%;
	background: #d9e5c1;
	font-family: 'Gentium Basic', Georgia, serif;
	font-size: 1em;
	color: #4e4e4e;
}

#page {
	margin: 0 auto;
	width: 100%;
	max-width: 1024px;
	text-align: center;
}

img {
	display: block;
	width: 100%;
	height: auto;
}


/* -------- IMPORTANT STUFF ----------- */


#menu {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 100%;
	font-family: 'Lato', Verdana, sans-serif;
}

.menu-header {
	width: 100%;
	height: 28px;
	background: #d9e5c1;
	}
	
.menu-header:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 28px solid #d9e5c1;
    border-right: 28px solid #51a37b;
    width: 0;
}

.menu-box {
	display: block;
	width: 100%;
	min-height: 100px;
	border-left: 28px solid #51a37b;
	}	

#menu ul {
	text-align: left;
	padding: 0 12px 12px;
}

#menu a {
	color: #51a37b;
	text-decoration: none;
	text-transform: lowercase;
	font-weight: 300;
	letter-spacing: 0.4px;
}

#menu a:hover {
	text-decoration: none;
	color: #4e4e4e;
}

#menu ul li.actual {
	color: #000;
}


.menu-footer {
	clear: both;
	width: 100%;
	height: 28px;
	background: #51a37b;
}

.menu-footer:after {
	content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-left: 28px solid #51a37b;
    border-bottom: 28px solid #d9e5c1;
    width: 0;
}


/* -------- SPLASH PAGE ----------- */


#panels {
	margin: 40px auto;
	width: 100%;
	max-width: 744px;
}

.thumb,
.thumb-full a {
	font-family: 'Lato', Verdana, sans-serif;
	color: #d9e5c1;
	text-transform: lowercase;
	font-weight: 300;
	letter-spacing: 0.4px;
}

.thumb a:hover,
.thumb-full a:hover {
	text-decoration: none;
	color: #f46a6a;
}

.thumb,
.thumb-full {
	float: left;
	display: block;
	position: relative;
	width: 228px;
	height: 270px;
	margin: 10px;
	background: #d9e5c1;
}

.thumb:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 28px solid #d9e5c1;
    border-right: 28px solid rgba(0,0,0,0);
    width: 0;
}

.thumb-full:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 28px solid #d9e5c1;
    border-right: 28px solid #51a37b;
    width: 0;
}



.panel-half:after,
.panel-full:after {
	content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-left: 28px solid #4e4e4e;
    border-bottom: 28px solid #d9e5c1;
    width: 0;
}

.side {
	position: absolute;
	background: #51a37b;
	left: 0;
	top: 28px;
	width: 28px;
	height: 214px;
}

.panel-half,
.panel-full {
	position: absolute;
	top: 242px;
	background: #4e4e4e;
	height: 26px;
	width: 200px;
	padding: 2px 0 0 28px;
	text-align: left;
}

.panel-full:before {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    border-left: 28px solid #51a37b;
    border-bottom: 28px solid #4e4e4e;
    width: 0;
}

#logo {
	margin-bottom: 40px;
}




#logo,
#iphonic {
	clear: both;
	width: 100%;
	margin: 10px 0;
	min-height: 100px;
	padding: 0 5px;
}

#iphonic {
	display: none;
	}

#iphonic a:hover,
#logo a:hover {
	text-decoration: none;
}

#iphonic h1,
#logo h1	{
	font-family: 'Lato', Verdana, sans-serif;
	color: #999;
	text-transform: uppercase;
	font-size: 3em;
	letter-spacing: 1px;
}

.martin {
	float: left;
	font-weight: 300;
}

.rodgers {
	float: left;
	font-weight: 400;
}

/* -------- PAGE ELEMENTS----------- */


#project {
	margin: 40px auto;
	width: 100%;
	max-width: 1024px;
}

#sidebar {
	float: left;
	width: 240px;
	margin: 0 6px 20px 12px;
}

.narrative {
	float: left;
	text-align: right;
	width: 212px;
	margin-top: 1em;
}

.narrative p {
	text-align: right;
}

.signature {
	font-family: 'Lato', Verdana, sans-serif;
	color: inherit;
	font-size: inherit;
	font-weight: 300;
}

#gallery {
	float: left;
	max-width: 672px;
	margin: 0 6px 20px;
	width: 100%;
}

.display-big {
	float: left;
	margin: 0 6px 6px;
	max-width: 100%;
}

.display-mid {
	float: left;
	max-width: 400px;
	margin: 6px;
}

.display-small {
	float: left;
	max-width: 248px;
	margin: 6px;
}

.clear {
	clear: both;
}

.captioning {
	clear: both;
	text-align: left;
	margin: 6px 6px 12px;
}

.titling {
	clear: both;
	text-align: left;
	margin: 6px 0 12px;
	border-bottom: 1px solid #000000;
}

.slider {
	max-width: 660px;
	margin-bottom: 60px;
}


/* -------- TYPOGRAPHY ----------- */


h1 {

}

h2 {

}
	
strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

	hr {
	border: 0;
	margin: 10px 0;
	background-color: #fff;
	height: 1px;
}


/* -------- TABLES ----------- */


ul {
		list-style: none;
		margin: 0;
		padding: 0;
}
		
li {
		margin: 0;
		padding: 0;
}

a {
	text-decoration:none;
	color: inherit;
}
	
a:hover {
	text-decoration: underline;
}



/* -------- SLICK ----------- */


.slick-prev:before, .slick-next:before {

color: #51a37b;

}


/* -------- RESPONSIVE and HACKS ----------- */


@media \0screen {
  	img { 
  		width: auto; /* for ie 8 */
  	}
}

.iphonic {
	display: none;
}

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

	#project {
		max-width: 740px;
 	}
}


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


 	
 	#panels {
 		margin: 40px auto;
 		max-width: 510px;
 		}

	.display-mid,
	.display-small {
		max-width: 600px;
		}
		
	.side,
	.panel-full:before {
	display: none;
	}
	
	.thumb-full:before {
    border-right: 28px solid rgba(0,0,0,0);
    }	
	
		

}

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

	h2, 
	h3 {
		font-size: 1.4em;
	}

	p {
		text-align: left;
	}

	#page {
	
	margin: 0 auto;
	text-align: center;
 	}
 	
 	#panels {
 		margin: 0 auto 40px;
 		max-width: 519px;
 		width: 100%;
 		}

	#iphonic,
	.thumb,
	.thumb-full {
	float: none;
	margin: 0 auto 20px;
	text-align: center;
	}
	
	#iphonic h1 {
		line-height: 0.85em;
	}

	.display-big,
	.display-mid,
	.display-small {
		max-width: 100%;
		}
	
	#logo {
		display: none;
		}
		
	#iphonic {
		display: block;
	}		

}