/*
	Theme Name: Sam Hicks
	Theme URI: http://samuelhicks.com
	Description: Sams WordPress Theme
	Version: 0.1.1
	Author: Jake Farr
	Author URI: http://jakefarr.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: inherit;
	color:#444;
	/* border-top: 3.5rem solid black; */
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	/* max-width: 1373px; */
	width: 100%;
	margin:0 auto;
	  position:relative;
	height: 100%;
}
.page-template-default .wrapper {
	position:initial;
	
}
/* header */
.header {
	background-color: black;
	height: 42px;
	font-size: 1.6rem;
	width: 100%;
	margin: 0 auto;
	position: fixed;
	top:0;
	left:0;
	right:0;
	z-index: 99999;
}

.logged-in .header {
	position:relative;
	z-index:auto
}



/* logo */
.logo {display: table-cell;vertical-align: middle;position: absolute;max-width: 150px;padding-top: 7px;}
/* logo */
.logo a {
 color:white;
 float:left;
 padding: 5px;
}
.logo-img {

}
/* nav */
.nav {

}
/*------------------------------------*\
    NAV
\*------------------------------------*/
header .menu-link {
 display: none;
 }

 .single-project header .menu-link {
 	 
 	xdisplay: block; 
  
        
 	}

header .menu {
	 float: right;
	 -webkit-transition: all 0.5s ease;
	 -moz-transition: all 0.5s ease;
	 -ms-transition: all 0.5s ease;
	 transition: all 0.5s ease;
	 clear: none;
	 display: table-cell;
	 vertical-align: middle;
	 margin-top: 8px;
	 right: 0;
	 width: 100%;
	 height: 29px;
}
.single-project header #menu {
 
}
header .menu ul {
    margin: 0;
    list-style: none; 
    text-align: right; 
    padding: 4px;
}
header .menu ul li {
    display: inline;
    position: relative;
    margin: 0rem 4rem 0 0.25rem;
    padding: 0;
    text-align: center; 
}
header .menu ul li:last-child {
     
    margin: 0rem 0rem 0 0.25rem;
    
}
header .menu ul li a {
    text-decoration: none;
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
    color:white
    }    

.menu ul li a:hover li a {
	
	 
	}

header .menu ul li a:hover { 
    
    }

ul#menu-images-menu {
    float: none; 
    text-align: center; 
    display: block;
}
ul#menu-images-menu li {text-align: center;float: none;}
/* correct behavoir */
.header li.current-menu-item a {
	color: white!important;
}
.header li a {
	color: grey!important;
}
.header li a:hover {
	color: white!important;
}
 

h1.page-title {display:block;position: relative;padding: 11px 0 0 0;right: 5.5rem;text-align: right;color: white;margin: 0;font-size: 1.5rem;font-weight: 400;/* height: 22px; *//* border: 1px solid green; */max-width: 50%;float: right;}

@media all and (min-width: 500px) {
	h1.page-title { 
		text-align: center; 
		margin: 0 auto;
		width: 90%; 
		float: none;
		max-width: initial;
		right: auto;
	}
	 
}
@media all and (min-width: 1023px) {
	h1.page-title {
		
		display: none;
	}
}
/*------------------------------------*\
    Mobile NAV
\*------------------------------------*/
/* move this sson */
@media all and (max-width: 1023px) { /* increased ecently */
  a.menu-link {
        display: block; 
        text-indent: -20000px; 
        background: url(img/icons/mob-menu.png) center left no-repeat;
        background-size: 100%;
        width: 2rem; 
        z-index: 10;
        float: right;
        position:  absolute;
        right: 11px;
        top: 11px;
        }
    header .menu {
        display:block; 
        position: absolute;
        font-size:120%; /* sets relative sizes all done the line so watch this one */
        height: 0px;
    }
  
    header .menu.active {
   	 	max-height: 100%;
   	 	z-index:1000;
   	 	position: relative;
   	 	left: 0;
   	 	right: 0;
   	 	top: 5px;
   	 	background-color: rgba(0, 0, 0, 1);
   	 	overflow: initial;
   	 	bottom: 0;
   	 	height: 100%;
  }
   header .menu ul  {
    	max-height: 0;
    	overflow: hidden;
    	height: 0;
 }
 header .menu.active ul {
    height: 100%;
    max-height: inherit;
    overflow: visible;
}
    header .menu li {
        width: 100%;
        float:left;
        font-size:1.4em;
    }
    header .menu ul li {
		margin:0;
    }
    header .menu ul li:first-child {
		/* margin-top: 4rem; */
		}
    header .menu ul li:nth-last-child(-n+4) {margin-left: 0rem;}
    header .menu li a { 
    	color: #9E9898;
        display: block; 
        position: relative; 
        border-bottom: 1px solid #444; 
    }
    header .menu ul li a:hover {
		/* color:black; */
		}
    header .menu ul li.current-menu-item a {
	border-bottom: 2px solid #444; 
	background:none;
    }
    


}

/* sidebar */
.sidebar {

}
/* footer */
.footer {clear: both;margin: 0 auto;background-color:#000;height: 3rem;padding: 1rem 0;xposition: absolute;left: 0;right: 0;bottom: 0;clear: both;max-width: 1364px;}
.single-project .footer {position:initial;}
p.copyright {
	background-color:#000;
	margin: 0;
	padding: 0px 1rem 1rem 1rem;
	color: white;
	font-size: 1.2rem;
	}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
.commissions section,
.overview section,
.projects section,
.single-project section {
	margin-top: 5rem;
	}
  
  
.single-project {}



section.textonly {
    margin: 2rem;
}
section.textonly p {
    font-size: 1.5rem;
}
.about section.textonly {}
.contact section.textonly {}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/
/* Global overides */
.logged-in .grid {
padding-top: inherit;
}
.grid {
padding-top:42px}


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

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

#titleWrap {
	/* display:  none; */
}


h1.project-title {
	margin: 0 auto;
	font-size: 1.6rem;
	height: 29px;
	padding: 11px;
	color: white;
	text-align: right;
	font-weight: normal;
	/* max-width: 90%; */
	margin: 0 4.5rem;
	}
h1.project-title a {

}

figcaption.image-title {
 position: absolute;
 bottom: 0;
 color: rgba(0,0,0,0);
 padding:1rem 0 1rem 0;
 margin:0;
 left:0;
 right:0;
 font-size:1.3rem;
 font-weight:normal;
}
a.samimglink {
	display:table;
}
.image-title {
	background-color: rgba(0,0,0,0.5);
 color:white
}
figcaption.image-title{
 background-color: rgba(0,0,0,0.5);
 color:white
}


@media only screen and (min-width:1024px) {
	.image-title {
		background-color: rgba(0,0,0,0.0);
	 color:rgba(0,0,0,0);
	}
	figcaption.image-title{
	 background-color: rgba(0,0,0,0);
	 color:rgba(0,0,0,0);
	}
	
	
	.samimglink:hover + .image-title {
		background-color: rgba(0,0,0,0.5);
	 color:white
	}
	figcaption.image-title:hover {
	 background-color: rgba(0,0,0,1);
	 color:white
	}


}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

}
@media only screen and (min-width:480px) {
	section.textonly {}
	section.textonly p {}
	.about section.textonly {
    margin: 6rem 3rem 2rem 3rem;
}
	.contact section.textonly {}
}
@media only screen and (min-width:768px) {
h1.project-title {
	 
	text-align: center;
	 
	}
	section.textonly {}
	section.textonly p {}
	.about section.textonly {}
	.contact section.textonly {}
}
@media only screen and (min-width:921px) { /* match menu appear responce */
	.logo {
		max-width:170px;
		padding-top: 5px;
	}

	h1.project-title {
		display: block; 
		top: 0; 
		height: 42px;
		background-color: #000;
		text-align: center; 
		z-index: 1; 
	}
	section.textonly {}
	section.textonly p {}
	.about section.textonly {}
	.contact section.textonly {}
}
@media only screen and (min-width:1024px) {
	section.textonly {
    /* margin-top: 4rem; */
}
	section.textonly p {}
	.about section.textonly {
    margin: 12rem 5rem 3rem 5rem;
}
	.contact section.textonly {
    margin: 12rem 6rem 6rem 6rem;
}
}
@media only screen and (min-width:1140px) {
	section.textonly {}
	section.textonly p {}
	.about section.textonly {}
	.contact section.textonly {}
}
@media only screen and (min-width:1280px) {
	section.textonly {}
	section.textonly p {}
	section.textonly {
    max-width: 1430px;
    margin: 12rem auto 0 auto;
}
	.contact section.textonly {}
}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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;
}
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:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
