/** Import Reset CSS **/

@import url("reset.css");

/** Import Google fonts **/

@import url("http://fonts.googleapis.com/css?family=PT+Sans+Narrow:700");

/** Global Styles **/

html
{
	height: 100%;
	overflow: auto;
	
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body
{
	font-family: 'PT Sans Narrow', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #ffffff;
	padding: 0 0 25px 0;
	background: #ffffff;
}

#bg {
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
  z-index:-1;
}
#bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
  z-index:-1;
}


a { color: #ffffff; text-decoration: none; -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; transition: all 0.2s linear; }
a:hover { color: #FFF; text-decoration: underline;}

/** Layout Styles **/

#fixedtop
{
	position: fixed;
	width: 100%;
	min-width: 240px;
	height: 130px;
	top: 0;
	background: #000000;
	color: #ffffff;
	z-index: 1000;
	
}

	#fixedtop #headercont
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
	}
	
		#fixedtop #headercont #headerleft
		{
			float: left;
			width: 100px;
		}
		
			#fixedtop #headercont #headerleft a img
			{
				width: 85px;
				margin: 15px 0 0 0;
			}
			
			#fixedtop #headercont #headerleft a:hover img
			{
				opacity: 0.8;
			}
		
		#fixedtop #headercont #headerright
		{
			float: right;
		}
		
			/** Menu **/
			
				#fixedtop #headercont #headerright .menu select
				{
					display: none;
					font-family: inherit;
				}
				
					@media (max-width: 768px)
				 {
						#fixedtop #headercont #headerright .menu ul
						{
							display: none;
						}
						
						#fixedtop #headercont #headerright .menu select
						{
							display: inline-block;
							width: 100%;
							text-transform: none;
							font-family: inherit;
						}
					}
					
				#fixedtop #headercont #headerright ul
				{
					float: right;
					margin: 60px 0px 0 0;
				}
			
					#fixedtop #headercont #headerright ul li
					{
						display: inline;
					}
					
						#fixedtop #headercont #headerright ul li a
						{
							float: left;
							line-height: 15px;
							padding: 0 18px;
							font-weight: bold;
							font-size: 14px;
							letter-spacing: 4px;
							color: #ffffff;
							text-transform: uppercase;
							font-family: 'PT Sans Narrow', Helvetica, Arial, sans-serif;
						}
						
							#fixedtop #headercont #headerright ul li a:hover, #fixedtop #headercont #headerright ul li.active a
							{
								color: #ffffff; text-decoration: underline;
							}

#maincont
{
	width: 100%;
	min-width: 240px;
	margin-top: 50px;
}

	#maincont #main
	{
		width: 80%;
		max-width: 1200px;
		margin: 0 auto;
		padding: 22% 0 0px 0;
		line-height: 22px;
	}
	
		#maincont #main p { margin: 0 0 20px 0; }
		#maincont #main h1, #maincont #main h2, #maincont #main h3, #maincont #main h4, #maincont #main h5 { margin: 0 0 20px 0; color: #FFF; font-weight: normal; font-family: 'Source Code Pro', Monaco, monospace, Helvetica, Arial; }
		#maincont #main h1 { font-size: 30px; line-height: 30px; }
		#maincont #main h2 { font-size: 28px; line-height: 28px; }
		#maincont #main h3 { font-size: 26px; line-height: 26px; }
		#maincont #main h4 { font-size: 24px; line-height: 24px; }
		#maincont #main h5 { font-size: 22px; line-height: 22px; }
		#maincont #main ul { margin: 0 0 15px 35px; list-style-type: square; }
		#maincont #main ul li { padding: 0 0 0 2px; }
		#maincont #main ol { margin: 0 0 15px 35px; list-style-type: decimal; }
		#maincont #main ol li { padding: 0 0 0 2px; }
		#maincont #main hr { clear: both; border: 0; height: 0; margin: 0 0 20px 0; border-top: 1px dotted #000; border-bottom: 1px dotted #222; }
		#maincont #main blockquote { background: #151515; border-left: 3px solid #E2761C; padding: 15px; margin: 0 0 15px 0; }

		/** Portfolio Styles **/

		#maincont #main #portfoliocont ul
		{
			list-style-type: none;
			margin: 0 0 25px 0;
		}
		
			#maincont #main #portfoliocont ul li
			{
				display: inline-block;
				margin: 0 0 10px 0;
			}
			
				#maincont #main #portfoliocont ul li 
				{
					position: relative;
					float: left;
					width: 100%;
					margin:none;
				}
				
					#maincont #main #portfoliocont ul li img
					{
						width: 100%;
						height: auto;
						display: block;
					}
						

								
	/** Footer **/
			
	#maincont #footercont
	{
		position: absolute;
		width: 100%;
		max-width: 2000px;
		margin: 0 auto;
		bottom: 10px;
		color: #ffffff;
		line-height: 18px;
		font-size: 12px;
	    font-weight: bold;
		letter-spacing: 1px;
		text-align: center;
		text-transform: uppercase;
	}


/** Responsive Magic **/

@media screen and (max-width: 768px)
{
	
	#fixedtop #headercont
	{
		text-align: center;
	}
	
		#fixedtop #headercont #headerleft
		{
			float: none;
			width: 100%;
		}
		
			#fixedtop #headercont #headerleft a img
			{
				width: 85px;
				margin: 15px 0 10px 0;
			}
		
		#fixedtop #headercont #headerright
		{
			float: none;
			width: 100%;
		}
	
	#maincont #main
	{
		text-align: center;
	}
	
	#maincont #main #portfoliocont ul li a
	{
		width: 100%;
		margin-bottom: 10px;
	}
	
	#maincont #footercont
	{
		text-align: center;
	}

}

@media screen and (max-width: 480px)
{		
	
	#maincont #main #portfoliocont ul li a
	{
		width: 100%;
		margin-bottom: 6px;
	}
	
	#maincont #footercont
	{
		text-align: center;
	}
	
}

