@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);

@charset "UTF-8";
/* CSS Document */

/* Structural and Formatting */
html, body   {
	height: 100%;
	margin: 0px;
	color: #666666;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	background-color: black;
	background-image: url("../images/background.jpg");
	background-position: center center;
	background-attachment: fixed;
	background-repeat:no-repeat;
	background-size: cover;	
}
#wrapper {
    width: 100%;
	min-width: 740px;
	max-width: 1000px;	
	height:auto !important;
	margin: 2% auto;	
	background-color: #f2f2f2;
	background-image: url("../images/backgroundRepeat.png");
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
}

footer {	
	margin-top: -80px;
	height: 80px;
    clear: both;    
    border-top: solid 1px #F93942;
	width: 100%;
    min-width: 740px;
    max-width: 1000px;
	margin-left: auto;
    margin-right: auto;
	text-indent: 20px;
	font-size: 12px;
}

/* Index */

#main {	
	width: 32%;
    margin: 0 2%;
    padding: 3% 0 0 3%;    
    float: left;
    font-size: 15px;  
}

#main p{
	margin-top: -5%;	
}

#main img {
	padding-top: 5%;
	width: 230px;
}

#showreel {
    width: 50%;
    padding-top: 6%;         
    float: left;
}

@media screen and (max-device-width: 480px){
	/* This is all a bit of a hack to position Home page for iPhone */
	#main {
		font-size: 25px;
    	width: 60%;
	}
	
	#main img {
		padding-top: 0;
		padding-left: 110%;
		margin-top: -50%;
	}
	
	#showreel {
		clear: both;
		padding-left: 20%;
	}
}

/* About Me */

#about {
    width: 65%;
    margin-left: 5%;
    float: left;
}
#about em {
	font-style: normal;
	color: #F93942;
}
#about h2 {
	margin-bottom: -2%;
}
#sidebar {   
    margin-left: 4%;
	margin-top: 6%;
    float: left;    
    /*width: 34%;*/
	/*clear:top;*/
}

/* Gallery */

#gallery {
	margin: 0 auto;
	padding-top: 5%;
	padding-left: 8%;		
}
#gallery img{
	max-width: 100%;
	width: 260px;
	height: 200px;
}
#gallery img:hover {
	background-color: black;
}

/* Films */

#films {
	margin: 0 auto;
	padding-top: 5%;
	padding: 5% 22%;	
}
#films h3 {
	font-weight: bold;
}
#films p {
	margin-top: -3%;
}

/* CV */

#credits {
	width: 58%;
    margin: 0 2% 0 5%;
    float: left;
    font-weight: 100;
}
#credits p{
	margin-top: -3%;
}
#credits p em{
	font-style: normal;
	font-weight: bold;
}
button {
	height: 40px;
	width: 200px;
	font-size: 20px;
	color: #EFF5F8;
	background-color: #8c8c8c;
}

/* Contact */

#contact {
    width: 30%;
    margin-left: 5%;
    float: left;
}
#contact p{
	margin-top: -4%;
}

/* Tab navigator */
#mainnav ul {
	list-style-type:none;
	margin: 0;
	padding: 2% 0 0;	
}
#mainnav a {
	display: block;
	float: left;	
	width: 16.666%;
	line-height: 25px;
	height: 45px;
	text-align: center;
	/*background-color: #4D4D4D;*/
	font-size: 20px;
	color: #666666;
	text-transform: uppercase;
	border-bottom: solid 1px #F93942;
}
#mainnav a:hover, #mainnav a:active, #mainnav a:focus, #mainnav a.thispage {
    text-decoration: none;
    /*background-color: #8c8c8c;*/   
    border-bottom: solid 1px #666666;
    transition: border-bottom 0.2s; 
}

/* Useful Classes */
.footer_clear {
	clear: both;
}
.footer_push {
	height: 60px;
}
.vertical_gap{
	height: 30px;
}

/* Headers */
h1, h2, h3 {	    
	color: #F93942;	/*#ff6600;*/
}
h1 {	
	text-transform: uppercase;	
	padding-top: 4%;
    font-size: 45px;        
    margin-left: 5%;
    margin-top: 0;
    margin-bottom: 1%;
}
h1 em{
	font-style: normal;
	color: #666666
}
h2 {	
	font-weight: 100;
	font-size: 25px; 
}
h3 {
	font-size: 20px;
	font-weight: 100;
	color: #666666;
}
h3 em{
	font-style: normal;
	font-weight: bold;
	color: #F93942;	
}

/* Images */
#hero img{
	padding-top: 3%;
}

/* Videos */
div, iframe{
	display: block;
	margin: 0px auto;
}

/* Hyperlinks */
a {
	font-weight:bold;
	text-decoration:none;
}
a:link {
	color:#C60
}
a:visited {
	color:#FC0
}
a:hover, a:active, a:focus {
	color:#F66
}