/*** This Stylesheet is for mobile/handheld platforms ***/
/*** General Styles ***/

* { padding: 0; margin: 0; text-align: center; }

body, html {
	margin: 0;
	width: 100%;
	text-align: center;
	font-family: "news-gothic-std",sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: .85em;
	background-color: #171717;
	color: #FFF;
}

::selection { background: #ef4269; /* Safari */ }
::-moz-selection { background: #ef4269; /* Firefox */ }

a { color: #918c8c; text-decoration: none; }
a:hover { color: #FFF; }

#projectnav h4 {
	font-style: normal;
	font-weight: 400;
	font-size: 1.5em;
	padding: 10% 0 5% 0;
 } 

#mainnav a, #projectnav ul a, #topsect a {
	width: 100%;
	display: block;
	padding: .5em 0;
	margin: 0;
	background: #2f2828;
	color: #918c8c;
	text-decoration: none;
    -webkit-transition: background 125ms linear, color 125ms linear;
    -moz-transition: background 125ms linear, color 125ms linear;
    transition: background 125ms linear, color 125ms linear;
}

#contentsect p a, #portfoliosect p a {
	padding: 0;
	margin: 0;
	color: #918c8c;
	text-decoration: none;
    -webkit-transition: background 125ms linear, color 125ms linear;
    -moz-transition: background 125ms linear, color 125ms linear;
    transition: background 125ms linear, color 125ms linear;
}

#mainnav a:hover, #projectnav a:hover, #topsect a:hover, #contentsect a:hover, #portfoliosect p a:hover,
#mainnav a.active, #projectnav a.active, #topsect a.active, #contentsect a.active, #portfoliosect p a.active, .mobilenav a:hover { background: #ef4269; color: #FFF; }

img {
	border: 0;
	padding: 0;
	margin: 0;
}

ul, li {
	padding: 0;
	margin: 0;
}

h1, h2, h3 {
	padding: 0;
	margin: 0;
}

p {
	font-size: 1em;
	text-align: left;
}

/*** Layout Boxes ***/

#logo { margin: 10% 0; width: 100%; height: 77px; display: block; }
.logo { width: 100%; height: 100%; display: block; background: url(images/sm-logo.png) no-repeat center center; } 

#content { 
	width: 100%;
	display: block;
}

#footer { 
	margin: 10% 0;
	width: 100%;
	display: block;
}

#social { width: 100%; display: block; text-align: center; }
#social img { border: 0; margin: 0 5px; }

/*** Navigation ***/
#mainnav { margin: 2% 0 0 0; font-size: 2em; display: block; width: 100%; }
#projectnav { margin: 15% 0 0 0; font-size: 1.5em; display: block; width: 100%; }
#mainnav ul, #projectnav ul { margin: 0; padding: 0; }
#mainnav li, #projectnav li { list-style: none; margin: 0 0 1em 0; }


/*** Specific sections ***/
#topsect {
	width: 100%;
	display: block;
	margin: 0 0 5% 0;
}

.tophdr { width: 100%; margin: 5% 0; line-height: 1.25em; font-size: 1.5em; font-weight: 400; }

/*** Work Section ***/
#feature {
	float: left;
	clear: both;
	margin: 0 0 50px 0;
	width: 670px;
	height: 275px;
	position: relative; 
}

#feature img {
	opacity:1;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
}

#feature .details{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 570px;
	height: 175px;
	padding: 25px;
	border: 25px solid #1a1515;
	opacity: 0;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
}

#feature .details:hover{
	opacity: .9;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	background: #ef4269;
}

#workintro {
	float: left;
	clear: both;
	width: 670px;	
	margin: 0 0 5% 0;
	border-bottom: 1px solid #FFF;
}

#workintro h4 {
	font-style: normal;
	font-weight: 400;
	font-size: 2em;
}

#workthumbs {
	float: left;
	clear: both;
	width: 670px;	
}

#workthumbs img {
	opacity:1;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
}

#workthumbs .details{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 140px;
	height: 55px;
	padding: 10px;
	border: 25px solid #1a1515;
	opacity: 0;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
}

#workthumbs .details:hover{
	opacity: .9;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	background: #ef4269;
}

#workthumbs div {
	float: left;
	padding: 0;
	margin: 0 5% 5% 0;
	width: 210px;
	height: 125px;
	background: #ef4269;
	position: relative;
}

#workthumbs div.lastcol, #thumbswap li.lastcol { margin: 0; padding: 0; }

/*** Portfolio Page Image Swaps ***/
.workswap { margin: 0 0 5% 0; width: 100%; }
.workswap img { width: 100%; height: auto; margin: 0 0 5% 0; }

#thumbswap { width: 100%; display: none; }
#thumbswap li { width: 210px; display: inline-block; padding: 0; margin: 0 5% 5% 0; list-style: none }
#thumbswap a { width: 210px; display: block; }
#thumbswap li.activeSlide a { background: #88f }
#thumbswap a:focus { outline: none; }
#thumbswap img { border: none; display: block }

/*** Content Section ***/
#portfoliosect, #contentsect { width: 100%; display: block; }
#portfoliosect p, #contentsect p { width: 90%; display: block; margin: 0 5% 5% 5%; font-size: 1.75em; line-height: 1.25em; }

/*** Misc ***/
h2.pagetitle {
	font-style: normal;
	font-weight: 700;
	font-size: 2em;
	line-height: 1.25em;
 	padding: 15% 5% 10% 5%;
}

.sectinfo {
	font-size: 1.5em;
	line-height: 1.25em;
	color: #918c8c;
}

#portfoliosect iframe { width: 320px; height: 180px; }
.mobilenav { width: 100%; display: block; margin: 10% 0; }
.mobilenav a {
	font-size: 1.5em;
	padding: .5em;
	margin: 0 .25em;
	background: #2f2828;
	color: #918c8c;
	text-decoration: none;
    -webkit-transition: background 125ms linear, color 125ms linear;
    -moz-transition: background 125ms linear, color 125ms linear;
    transition: background 125ms linear, color 125ms linear;
}