/** Import Reset CSS **/

@import url("reset.css");

/** Import Google fonts **/

@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro");
@import url("http://fonts.googleapis.com/css?family=Archivo+Narrow");

/** Global Styles **/

html
{
	height: 100%;
	overflow: auto;
	
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body
{
	font-family: "Source Sans Pro", Arial, Verdana, Helvetica, sans-serif;
	font-size: 16px;
	color: #DDD;
	padding: 0 0 25px 0;
	background: #333 url("../images/bg.png") repeat;
}

::selection { background: #F33; color: #FFF; }
::-moz-selection { background: #F33; color: #FFF; }

a { color: #F33; 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; }

/** Layout Styles **/

#fixedtop
{
	position: fixed;
	width: 100%;
	min-width: 240px;
	height: 160px;
	top: 0;
	background: #EEE url("../images/bg-fixedtop.png") repeat;
	color: #444;
	z-index: 1000;
	
	text-shadow: 1px 1px 1px #FFF;
	
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0px 0px 10px #000;
}

	#fixedtop #headercont
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
	}
	
		#fixedtop #headercont #headerleft
		{
			float: left;
			width: 125px;
		}
		
			#fixedtop #headercont #headerleft a img
			{
				width: 125px;
				margin: 15px 0 0 0;

				-webkit-transition: all 0.2s linear;
				-moz-transition: all 0.2s linear;
				-o-transition: all 0.2s linear;
				transition: all 0.2s linear;
			}
			
			#fixedtop #headercont #headerleft a:hover img
			{
				opacity: 0.6;
			}
		
		#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: 80px 15px 0 0;
				}
			
					#fixedtop #headercont #headerright ul li
					{
						display: inline;
					}
					
						#fixedtop #headercont #headerright ul li a
						{
							float: left;
							line-height: 40px;
							padding: 0 12px;
							font-weight: 400;
							font-size: 16px;
							text-decoration: none;
							color: #333;
							text-transform: uppercase;
							font-family: "Archivo Narrow", Arial, Helvetica, sans-serif;
						}
						
							#fixedtop #headercont #headerright ul li a:hover, #fixedtop #headercont #headerright ul li.active a
							{
								color: #F33;
							}

#maincont
{
	width: 100%;
	min-width: 240px;
	margin-top: 160px;
	text-shadow: 1px 1px 1px #000;
}

	#maincont #main
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
		padding: 25px 0 0 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: "Archivo Narrow", Arial, Helvetica, sans-serif; }
		#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 solid #444444; border-bottom: 1px solid #555555; }
		#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: block;
				margin: 0 0 10px 0;
			}
			
				#maincont #main #portfoliocont ul li a
				{
					position: relative;
					float: left;
					width: 23%;
					margin: 0 1% 15px 1%;
				}
				
					#maincont #main #portfoliocont ul li a img
					{
						width: auto;
						height: auto;
						display: block;
					}

						#maincont #main #portfoliocont a .overlay
						{
							position: absolute;
							height: 100%;
							left: 0;
							opacity: 0;
							top: 0;
							width: 100%;
							z-index: 40;
							
							-webkit-transition: all 0.1s linear;
							-moz-transition: all 0.1s linear;
							-o-transition: all 0.1s linear;
							transition: all 0.1s linear;
						}
						
							#maincont #main #portfoliocont a .overlay.link
							{
								display: inline-block;
							}
							
								#maincont #main #portfoliocont a .overlay:hover
								{
									opacity: 1;
								}
								
	/** Footer **/
			
	#maincont #footercont
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
		color: #777;
		line-height: 22px;
		font-size: 12px;
		text-align: left;
		text-shadow: 1px 1px 1px #000;
	}
	#maincont #footercont img
	{
						width: auto;
						height: auto;
						display: block;
}

/* seo friendly tables */
.table{
	display:table;	/* Defines a Table */
	border-bottom:1px solid #dddddd;
	border-top:1px solid #dddddd;
	margin:10px 0;
}
.table img {
	width: 180px;
	height: 90px;
	display: inline;
}
.table-head{
	 display: table-header-group; /* Defines a table header group */
	 font-weight: bold;
	 color: #ffff00;
}
.table-head .column:nth-child(1){ /* First Column inside the table-head */
	border-left:1px solid #dddddd;
}
.table-head .column{ /* Column inside the table-head */
	border-right:1px solid #dddddd;
}
.table-head .column:hover{ /* Column hover inside the table-head */
}
.row{
	display:table-row; /* Defines a table row */
}
.row .column:nth-child(1){ /* First column in a row */
	border-left:1px solid #dddddd;
}
.row:last-child .column{  /* column in a last row */
	border-bottom:none;
}
.column{
	display:table-cell; /* Defines a table cell */
	padding:10px 20px;
	border-bottom:1px solid #dddddd;
	border-right:1px solid #dddddd;
}

.column:hover{
}

/** 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: 100px;
				margin: 15px 0 10px 0;
			}
		
		#fixedtop #headercont #headerright
		{
			float: none;
			width: 100%;
		}
	
	#maincont #main
	{
		text-align: center;
	}
	
	#maincont #main ul li
	{
		text-align: left;
	}
	
	#maincont #main #portfoliocont ul li a
	{
		width: 31.3%;
		margin-bottom: 10px;
	}
	
	#maincont #footercont
	{
		text-align: center;
	}
#maincont #footercont img
	{
						max-width: 100%;
						height: auto;
						display: block;
						margin-left: auto;
						margin-right: auto;
}	
}

/* Responsive table */
@media all and (max-width: 640px){
	.table,
	.row,
	.column,
	.column:before{
		display:block;	/* Converts a table, table row, table column and table column:before into a block element */
	}
	.table,
	.row .column:last-child{
		border-bottom:none;
	}
	.table-head{
		position:absolute;	/* Hides table head but not using display none */
		top:-1000em;
		left:-1000em;
	}
	.row{
		border:1px solid #eeeeee;
		border-top:2px solid #dddddd;
		border-bottom:2px solid #dddddd;
		margin:20px 0;
	}
	.row .column:nth-child(1){ /* first column of the row */
		border-left:none;
	}
	.row .column:last-child{ /* last column of the row */
		border-right:none;
	}
	.row:last-child .column,
	.column{ /* Column in the last row and column */
		border-bottom:1px solid #eeeeee;
	}
	.column:before{ /* prints the value of data-label attribute before the column data */
		font-weight:bold;
		color: #ffff00;
		padding-right:20px;
		font-size:12px;
		content:" "attr(data-label)" //";	/* call the attribute value of data-label and adds a string // */
	}
}

@media screen and (max-width: 480px)
{		
	
	#maincont #main #portfoliocont ul li a
	{
		width: 48%;
		margin-bottom: 6px;
	}
	
	#maincont #footercont
	{
		text-align: center;
	}
#maincont #footercont img
	{
						max-width: 100%;
						height: auto;
						display: block;
						margin-left: auto;
						margin-right: auto;
}	
}


/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #59a9ff; color: #fff; text-shadow: none; }
::selection { background: #59a9ff; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a:hover, a:active { outline: 0; }

/*=========================================
	Main Styles
=========================================*/

.container {
width: 980px;
margin: 0 auto;
}

.bluclear {
clear: both;
}

/*=========================================
	Blu Boxes
=========================================*/
.blu_0 {
float: left;
width: 3%;
margin-left: 1%;
margin-right: 1%;
}

.blu_1 {
float: left;
width: 8%;
margin-left: 1%;
margin-right: 1%;
}

.blu_2{
float: left;
width: 18%;
margin-left: 1%;
margin-right: 1%;
}


.blu_2a{
float: left;
width: 25%;
margin-left: 1%;
margin-right: 1%;
padding-top: 5px;
}

.blu_3{
float: left;
width: 28%;
margin-left: 1%;
margin-right: 1%;
}

.blu_3a{
float: left;
width: 25%;
}

.blu_4{
float: left;
width: 38%;
margin-left: 1%;
margin-right: 1%;
}

.blu_5{
float: left;
width: 48%;
margin-left: 1%;
margin-right: 1%;
}

.blu_6{
float: left;
width: 58%;
margin-left: 1%;
margin-right: 1%;
}

.blu_7{
float: left;
width: 68%;
margin-left: 1%;
margin-right: 1%;
}

.blu_8{
float: left;
width: 78%;
margin-left: 1%;
margin-right: 1%;
}

.blu_8a{
float: left;
width: 71%;
margin-left: 1%;
margin-right: 1%;
}

.blu_9{
float: left;
width: 88%;
margin-left: 1%;
margin-right: 1%;
}

.blu_10{
float: left;
width: 98%;
margin-left: 1%;
margin-right: 1%;
}


/*=========================================
	Media Queries
=========================================*/



/* Here, all the elements are the same size.  This way, mobile users can also use the site. */

@media screen and (max-width: 900px) {

.blu_1 {
width: 98%;
}

.blu_2 {
width: 98%;
}

.blu_2a {
width: 98%;
}

.blu_3 {
width: 98%;
}

.blu_3a {
width: 98%;
}

.blu_4 {
width: 98%;
}
.blu_5 {
width: 98%;
}

.blu_6 {
width: 98%;
}

.blu_7 {
width: 98%;
}

.blu_8 {
width: 98%;
}

.blu_8a {
width: 98%;
}
.blu_9 {
width: 98%;
}

.blu_10 {
width: 98%;
}
}

