/*	-------------------------------------------------------------
 
	THE AGENCY - BY OTOTW
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	Description:Base cascading style sheet
	Nom:screen.css
	Version:2.0
	Date:February 11, 2013
 
	This file is part of a site template for sale at ThemeForest.net.
	See: http://themeforest.net/user/ototw/portfolio
	Copyright © 2013 OTOTW
 
-------------------------------------------------------------	*/

* {
	margin: 0;
	padding: 0;
	border: none;
	}
	
body {
	font-size:62.5%;
	line-height:1.25em;
	background: #eeeeed url("../images/bg_body.jpg") repeat-x 0 -258px; }

	body.home, body.page-template-projects-php {
		background: #eeeeed url("../images/bg_body.jpg") repeat-x top left; }

/*	-------------------------------------------------------------
	MISC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/
	
.fix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; }

.fix { 
	display: inline-block; } 
	
* html .fix { 
	height: 1%; }
	
.fix { 
	display: block; }

/* columns */
.one-half, .one-third, .two-thirds,
.one-fourth, .three-fourths, .one-fifth,
.two-fifths, .three-fifths, .four-fifths,
.one-sixth, .five-sixths { float: left; margin: 0 4% 0 0; }
.one { width: 100%; float: left; }
.one-half { width: 48%; }
.one-third { width: 30.66%; }
.two-thirds { width: 65.33%; }
.one-fourth { width: 22%; }
.three-fourths { width: 74%; }
.one-fifth { width: 16.8%; }
.two-fifths { width: 37.6%; }
.three-fifths { width: 58.4%; }
.four-fifths { width: 79.2%; }
.one-sixth { width: 13.33%; }
.five-sixths { width: 82.67%; }
.last { margin-right: 0 !important; }

div.content br {
  display: none;
  visibility:hidden; }

.fl {
	float:left; }

.fr {
	float:right; }

/* Listing */
ul.list {
	font-size: inherit;
	margin:15px 0 0 0;
	padding:0;
	list-style:none; }
	
	ul.list li.phone {
		margin:10px 0 0 0;
		padding:0 0 0 24px;
		background:transparent url("../images/phone.png") no-repeat 0 2px; }

	ul.list li.mail {
		margin:0;
		padding:0 0 0 24px;
		background:transparent url("../images/mail.png") no-repeat 0 4px; }

.button,
.secondary-button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	width: auto;
	position: relative;
	display: inline-table;
	font-size: 11px;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	margin-bottom: 20px;
	margin-right: 5px;
	line-height: normal;
	padding: 10px;
	border:none;
	text-rendering:optimizelegibility;
	-webkit-font-smoothing: antialiased;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.34); /* drop shadow */
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.34); /* drop shadow */
	box-shadow: 0 1px 1px rgba(0,0,0,.34); /* drop shadow */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px; }

	p .button {
		line-height: normal !important;
	}

	.button.hero {
		border-radius: 10px;
		padding: 15px 25px;
		font-size:15px;
		text-shadow:none; }

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	color: #fff;
	text-shadow:0 0 1px rgba(0,0,0,1);}

button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
	border: 1px solid #666;
	background: #ccc; /* Old browsers */
	background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
	background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
	background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
	background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
	background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
	background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center; }

/* Fix for odd Mozilla border & padding issues */
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
				
/*	-------------------------------------------------------------
	TYPOGRAPHY
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

p {
	line-height:1.8em;
	font-size:1.1em;
	margin-bottom:1.2em; }

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.6em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.4em;
    margin: 1em 0;
}

h4 {
    font-size: 1.33em;
    margin: 1.33em 0;
}

h5 {
    font-size: 1em;
    margin: 1.67em 0;
}

h6 {
    font-size: 1em;
    margin: 2.33em 0;
}

h3.title {
    display: block;
    height: 43px;
    line-height: 43px;
    margin: 0 0 15px 0;
	background:transparent url("../images/line_horiz.gif") repeat-x 0 23px; }

	h3.title span {
	    background: #fff;
	    padding-right: 15px; }

		h3.title span.fr {
			padding-right:0;
		    padding-left: 15px; }

		h3.title span a {
		    color: #999;
		    margin-left: 5px; }

			div.navigation h3.title a span {
			    color: #999;
			    margin: 0; }

				div.navigation h3.title a:hover span {
				    color: #000; }

			h3.title span a:hover {
			    color: #000; }

			h3.title span a:before {
				content:'— ';
				color:#dbdbdb; }

blockquote {
	background: transparent url(../images/quote-icon-big.png) no-repeat;
	margin: 0;
	padding: 1px 20px 1px 55px;
}

ul, ol { 
	padding:0 0 0 30px;
	margin:0; }

	ul li, ol li {
	 	line-height:1.8em;
		font-size:1.2em; }
	
/*	-------------------------------------------------------------
	INTERFACE
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

/*	container */
div#container {
	margin:0 auto 20px auto;
	padding:0 0 20px 0;
	width: 1090px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	background:#fff; }

/*	main */
div#main {
	position: relative;
	width:980px;
	padding:0;
	margin:35px auto 0 auto;
	background:transparent; }

/*	header */
header {
	position:relative;
	width:980px;
	height:84px;
	margin:0 auto; }

	div#border {
		width:980px;
		height:5px;
		float:left; }

/*	logo */
div#logo {
	margin:0 auto;
	min-width: 194px;
	float:left;	}

	h1.logo {
		margin:0;	}

	h1.logo a {
		color:#000;
		line-height:106px;	}

		div#logo a:hover {
			text-decoration:none; }

/*	top navigation */
nav ul {
	position:absolute;
	top:8px;
	right:0px;
	list-style-type:none;
	float:left;
	padding:0;
	margin:0;
	line-height: 106px; }

	nav ul li {
		position:relative;
		display:inline-block;
		padding:0;
		margin-left:20px; }

	nav ul li a {
		padding:47px 3px 5px ; }

	nav ul li a:hover, nav ul li.current_page_item a {
		border-top:10px solid #fff; }

		nav ul li.current_page_item a {
			border-top:none; }

			/* Dropdown Navigation */
			ul.children, ul.sub-menu {
				display:none;
				position:absolute;
				top:35px !important;
				left:-15px;
				z-index:5000;
				list-style:none;
				margin:0;
				padding:0 0 5px 0 !important;
				width: auto;
				width:150px;
				-moz-border-radius: 2px;
				-webkit-border-radius: 2px;
				-khtml-border-radius: 2px;
				border-radius: 2px;
				-moz-box-shadow: 0 0px 5px rgba(0,0,0,0.1);
				-webkit-box-shadow: 0 0px 5px rgba(0,0,0,0.1);
				box-shadow:0 0px 5px rgba(0,0,0,0.1);
				background:#fff; } 

			ul.children li, ul.sub-menu li {
				width:125px;
				float:left;
				border-bottom: 1px dotted #eae9e9;			
				margin:0;
				line-height:100%;
				padding:10px 10px !important; } 

				ul.children li:last-child, ul.sub-menu li:last-child {
					border-bottom: none; } 

			nav ul.children li a, nav ul.sub-menu li a {
					padding:0px 15px;
					height: auto;
					font-size:11px !important; }

				ul.children li a:hover, ul.sub-menu li a:hover {
					border-top:none !important; }
				
/*	news/updates */
#home-news {
    float: left;
    height: 192px;
    overflow: hidden;
    position: relative;
    width: 300px;
	background:#000000; }

#home-news h5 {
    color: #666666;
    display: block;
    font-size: 1.5em;
    height: 30px;
    line-height: 30px;
    margin: 15px 0 5px 20px;}

	#home-news ul {
		list-style:none;
		margin:0;
		padding:0;
	    display: block;
	    left: 0;
	    top: 35px;
	    position: absolute; }

	#home-news li {
	    float: left;
	    height: 93px;
	    width: 300px; }
	
	#home-news li p {
	    color: #F2F2F2;
	    display: block;
	    font-size: 12px;
	    line-height: 20px;
	    padding: 0 20px;
	    width: 266px; }

	#home-news li a {
	    color: #666666; }

	#home-news li a:hover {
	    color: #666666; }

div#home-news .left, #home-news .right {
	background:transparent url("../images/bg_btn_nav.png") no-repeat 0 1px; }
	
#home-news .left {
    background-position: 0 1px;
    cursor: pointer;
    height: 23px;
    left: 20px;
    position: absolute;
    top: 153px;
    width: 23px; }

	#home-news .left:hover {
	    background-position: 0 -21px; }

	#home-news .right {
	    background-position: -23px -22px;
	    cursor: pointer;
	    height: 23px;
	    left: 42px;
	    position: absolute;
	    top: 154px;
	    width: 23px; }

	#home-news .right:hover {
	    background-position: -23px 0px; }

/*	about */
#home-about {
    float: left;
    height: 152px;
	padding: 20px 40px;
    overflow: hidden;
    position: relative;
    width: 560px;
	margin-left:40px;
	background: #eeeeed; }
	
	div#home-about h4 {
		font-size:3.4em;
		margin:0;
		padding:0;
		line-height:120%;
		text-align:right;
		text-shadow:1px 1px 0 #fff; }

/*	-------------------------------------------------------------
	MAIN CONTENT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

div.content {
	width:980px;
	float:left;
	padding:0; }

	div#main-content {
		float:left;
		width:710px;
		margin:20px 0 0 0;
		padding:0 0 0 20px; }

		.sidebar-right div#main-content {
			background:transparent url("../images/line_vert.gif") repeat-y 100% bottom; }

	.full div#main-content {
		float:left;
		width:980px;
		padding:0; }

img.alignleft, p img.alignleft {
	float:left;
	margin:0 20px 20px 0; } 

img.alignright, p img.alignright {
	float:right;
	margin:0 0 20px 20px; }

/*	-------------------------------------------------------------
	NEWS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

/* recent news */
div.post ul.row {
	list-style:none;
	padding:11px 0 0 0;
	margin:0; }

	div.post ul.row li {
		margin-bottom:20px; }

	div.post ul.row li:nth-child(3n+3) {
		margin-right:0; }

	div.post ul.row li h3 {
		line-height: 110%;
		margin:0 0 15px 0;
	}

	div.post ul.row li img {
		margin:0 0 10px 0; }

div.post div.meta-cat {
	margin:0; }

	div.post div.meta-cat a {
		color:#999;
		font-size:11px;
		text-transform:uppercase; }

		div.post div.meta-cat a:hover {
			color:#000; }

/* single article */
div.entry {
	margin:25px 0 0 0;
}

div.entry pre, div.entry code {
  background-color: #ffffff;
  border: 2px solid #ddd;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  display: block;
  font-family: monospace;
  font-size: 12px;
  max-width: 100%;
  margin:0 0 12px 0;
  padding: 1em;
  white-space: -moz-pre-wrap !important;
  white-space: pre-wrap;
}


div.head {
 	position:relative;
	margin:15px 0 15px 0;
	padding:0 0 0px 0;
	background:transparent url("../images/line_horiz.gif") repeat-x bottom left; }

div.head h2 {
	margin:0 0 15px 0;
	padding:0;
	font-size: 32px;
	font-weight: 500; }

	div.head div.meta-cat {
		margin:0 0 0px 0; }

	div.head div.details {
		position:relative;
		padding:3px 0 3px 20px;
		background:transparent url("../images/line_vert.gif") repeat-y 0 0; }

		div.head div.details p {
			line-height:170%;
			margin:0; }

		div.head div.details p.comments {
			padding:0 0 0 18px;
			background:transparent url("../images/icon_comments.png") no-repeat 0 5px; }

/* comments */
.comments-area {
	margin:20px 0 0 0;
	padding:20px 0 0 0;
	background:transparent url("../images/line_horiz.gif") repeat-x top left;
}


#commentform fieldset label {
	display: inline;
	float: left;
	margin-right: 5px;
}

.comments-area article {
	margin: 24px 0;
}
.comments-area article header {
	margin: 0 0 12px;
	height: auto;
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
	border-radius:50%;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 55px;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 14px;
}
.comments-area article header time {
	line-height: 2.14285714;
	font-size:12px;
	text-decoration: none;
}
.comments-area article header a {
	text-decoration: none;
}
.comments-area article header a:hover {
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	padding: 5px;
	font-size: 11px;
	line-height: 100%;
	color:#fff;
	border-radius: 2px;

}
a.comment-reply-link,
a.comment-edit-link {
	line-height: 1.846153846;
}
a.comment-reply-link:hover,
a.comment-edit-link:hover {

}

.commentlist {
	list-style: none;
	margin:0 0 20px 0;
	padding:0 0 20px 0;
}

.commentlist .pingback {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}

	.commentlist .children {
		list-style: none;
		padding:0;
		margin:0;
		border-left:2px solid rgb(236,234,242);
		margin-left: 24px;
		padding-left:24px;
	}

/* Respond */
#respond {

}

h3.reply-title {
	font-size:1.5em;
	line-height: 1.5;
	margin:0;
}

#respond form {
	margin: 0;
}
#respond form p {
	margin: 11px 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
}
#respond form label {
	display: block;
	line-height: 2.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}

#respond form textarea {
	min-height: 200px;
}

#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}																	

/*	-------------------------------------------------------------
	SIDEBAR
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

div#sidebar {
	width: 220px; 
	padding: 20px 30px 20px 0; 
	text-align:left; }

.sidebar-right div#sidebar { 
	float: right; }
	
.sidebar-left div#sidebar { 
	float: left; }

div#sidebar div.sidebar-item ul, div.menu-custom-navigation-container ul {
	margin: -10px 0 0 0;
	padding: 0 0 20px 0; }

	div#sidebar div.sidebar-item ul li, div.menu-custom-navigation-container ul li {
	    border-bottom: 1px solid #dbdbdb;
	    display: block;
	    font-size: 12px;
	    line-height: 1em;
	    padding: 0; }

		div#sidebar div.sidebar-item ul li a, div.menu-custom-navigation-container ul li a {
		    display: block;
			color:#999;
		    padding: 10px;
		    text-decoration: none;
		    text-indent: 5px; }
		
		div#sidebar div.sidebar-item ul li a:hover, div.menu-custom-navigation-container ul li a:hover {
		    color:#000; }

/*	-------------------------------------------------------------
	WIDGETS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

/*	twitter feeds */
/*	twitter feeds */
div.tweet {
 	padding:0;
 	margin:0;}

	div.tweet ul.tweet_list {
		list-style:none;
	 	margin:0;
		padding:0; }

		div.tweet ul.tweet_list li {
			border:none !important; }

		div.tweet ul li span {
			font-size:110%;
			line-height:150%; }

			div.tweet ul li a {
				float:none;
				display:inline !important;
				text-indent:none !important;
				padding:0 !important;
				line-height:140%; }

	div.tweet small {
		color:#444;
		margin:10px 0 0 0;
	 	display:block; }

/* calendar */
#calendar_wrap {
	margin:0;
	padding:0; }

#wp-calendar {
    empty-cells: show;
    margin: 0 auto;
    width: 100%; }

	#wp-calendar td a {
		background:#999;
		color:#fff;
		font-weight:bold;
		display: block;
	    text-decoration: none; }

	#wp-calendar caption {
			color:#999;
			text-align:left;
			padding:0 0 5px 0;
			margin:0 0 10px 0;			
			line-height: 1.5em;	}

	#wp-calendar th {
		text-align:center;
		padding:3px 0;
	    font-style: normal;
	    text-transform: capitalize; }

	#wp-calendar #next a {
	    padding-right: 10px;
	    text-align: right; }

	#wp-calendar #prev a {
	    padding-left: 10px;
	    text-align: left; }

	#wp-calendar td {
	    padding: 3px 0;
	    text-align: center; }

/*	-------------------------------------------------------------
	PROJECT PAGE
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

div.teaser {
    float: left;
    height: 363px;
    position: relative;
    width: 100%;
	margin:0;
	background: #fff url("../images/bg_stripe.png") repeat 0 0; }

	div.teaser.single {
	    height: 105px; }
		
	div.teaser div.bottom {
	    bottom: 0;
	    position: absolute;
	    width: 100%;
	    z-index: 2;}
	
		div.teaser div.bottom .headline {
		    float: left;
		    overflow: hidden;
		    position: relative;
		    width: 640px;
			height: 105px; }

			div.teaser.single div.bottom .headline {
			    width: 980px;
				height: 105px; }
	
		div.teaser div.bottom .headline .pos {
			left: 20px;
			padding:20px 20px; }

		div.teaser div.bottom .headline .pos h1 {
			color:#fff;
			font-size:34px;
			margin:0; }
	
		div.teaser div.bottom .headline .pos p, div.teaser div.bottom .headline .pos a  {
			font-size:12px;
			font-weight:500;
			margin:0 0 0 0;
			letter-spacing:0; }
	
	div.teaser a.tall {
	    height: 363px;
	    width: 780px; }

	div.teaser div.media {
	    position: absolute;
	    right: 0;
	    top: 0;
	    width: 780px;
	 	height: 363px;
	    background: transparent;
	    overflow: hidden;
	    z-index: 1; }

	div.teaser div.tools {
	    height: 47px;
	    overflow: hidden;
	    position: absolute;
	    bottom: 95px;
	    left:0;
	    width: 200px;
		padding:0;
		z-index:60;
		background: #000; }
	
		div.teaser div.tools p {
		 	text-align: left;
		 	margin:0 auto;
			color:#666;
			width: 80%;
			font-size:1.3em;
		    padding: 20px 0 0 0; }

			div.teaser div.tools p span {
			 	font-size:14px; }

	div.teaser div.navigation {
		position:absolute;
		bottom:0;
		right:0; }


div.details {
	position:relative;
	padding:0 0 0 20px;
	background:transparent url("../images/line_vert.gif") repeat-y 0 0; }

div.details p {
	line-height:130%;
	margin:0 0 10px 0; }

div.details p strong {
	display:block;
	color:#000; }

	div.details p img {
		padding:1px;
		width: 37px;
		height: 37px;
		margin:9px 7px 0 0;
		border:2px solid #ddd; }

div.showcase {
	margin:0 0 10px 0;
	width: 980px; }

.gallery-item {
	margin:2px 0 0 0 !important; 
	position:relative !important;
	overflow: hidden !important;
	border:0 !important; }

	.gallery-item dd.wp-caption-text { 
		position:absolute !important;
		bottom:10px;
		right:10px;
		padding:3px;
		margin:0 auto;
		color:#fff;
		font-size:9px;
		text-transform: uppercase;
		background-color:rgba(0,0,0,0.50);
		-moz-border-radius: 1px;
		-webkit-border-radius: 1px;
		-khtml-border-radius: 1px;
		border-radius: 1px;
		 }
	
.gallery-icon img { border: none !important;}

/* Gallery **************************************************/
ul#gallery {
	margin:20px 0 0 0;
	padding:0;
	list-style: none;
}

ul#gallery li {
	position: relative;
	display:block;
	text-align: right;
	margin-top: 12px;
}

ul#gallery li span.caption {
  background:rgba(0, 0, 0, 0.498039);
  border-bottom-left-radius:1px;
  border-bottom-right-radius:1px;
  border-top-left-radius:1px;
  border-top-right-radius:1px;
  bottom:10px;
  color:#FFFFFF;
  font-size:9px;
  margin:0 auto;
  padding:5px;
  line-height: 100%;
  position:absolute !important;
  right:10px;
  text-transform:uppercase;
}

/* ==|== One Column = = = = = = = = = = = = = = = = = = = = = */

ul#gallery.one li {
	width: 100%;
	margin:0 0 15px 0;
	float:left;

}

ul#gallery.one li img {
	width: 100%;
	height: auto;
	float:left;
	margin-right:20px;
}

ul#gallery.one li iframe {
	width: 100%;
	min-height: 552px;
	margin-right:0;
}

/* ==|== Two columns = = = = = = = = = = = = = = = = = = = = = */

ul#gallery.two li {
	width: 100%;
	max-width: 48.936170212766%;
	margin:0 0 15px 0;
	float:left;

}

ul#gallery.two li img {
	width: 100%;
	max-width: 100%;
	height: auto;
	float:left;
}

ul#gallery.two li:nth-child(2n+2) {
	float:right;
}

ul#gallery li.fullwidth {
	width: 100%;
	max-width: 980px;
	margin-right:0;
}

/* ==|== Three columns = = = = = = = = = = = = = = = = = = = = = */

ul#gallery.three li {
	width: 100%;
	max-width: 31.914893617021%;
	margin:0 0 15px 0;
	float:left;

}

ul#gallery.three li img {
	width: 100%;
	max-width: 100%;
	height: auto;
	float:left;
}

ul#gallery.three li:nth-child(3n+2) {
	margin:0 2.127659574468%;
}

/* ==|== Four columns = = = = = = = = = = = = = = = = = = = = = */

ul#gallery.four li {
	width: 100%;
	max-width: 23.404255319149%;
	margin:0 2.127659574468% 15px 0;
	float:left;
	
}

ul#gallery.four li img {
	width: 100%;
	max-width: 100%;
	height: auto;
	float:left;
}

ul#gallery.four li:nth-child(4n+4) {
	margin:0 0;
}				
						
/*	-------------------------------------------------------------
	FEATURED PROJECTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

div#featured-work {
    float: left;
    overflow: hidden;
    position: relative;
	width:100%; }
	
	div#featured-work ul {
		list-style:none;
		padding:0;
		margin:0 0 -25px 0;
		clear: both; 
		float: left; 
		width:980px;}

	div#featured-work ul li.view:nth-child(3n+3) {
	    margin:0; }

/* Sortable Portfolio */
.filter {
	position:relative;
	width: 980px;
	height:60px; }

.load-portfolio {
    height:60px;
    padding-left: 10px;
    list-style-type: none;
    position: absolute;
    top:0;
    right:0;
    background:#fff; }
    
	.load-portfolio li {
	    height:60px;
	    line-height: 45px;
	    float: left;
	    margin: 0;
	    text-decoration: none;
	    font-size: 12px; }
	    
	.load-portfolio li a {
	    padding: 0 0 0 8px;
	    color: #8c8c8c;
	    text-decoration: none; }
	    
		.load-portfolio li a:hover {
		    color: #000; }
    
	.load-portfolio li.active a {
	    background: #fff;
	    color:#000; }

/* Portfolio Grid */
.view {
	width: 300px;
	height: 111px;
	margin: 0 40px 40px 0;
	float: left;
	overflow: hidden;
	position: relative;
	text-align: center;
	cursor: default;
	background: #fff; }
   
.view .mask,
.view .content {
	width: 300px;
	height: 111px;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0; }
   
.view img {
	display: block;
	position: relative; }
   
.view h2 {
	color: #fff;
	text-align: center;
	position: relative;
	color:#fff;
	font-size:18px;
	letter-spacing:0;
	padding: 0;
	line-height: 100%;
	margin: 40px 0 0 0; }
	
.view p {
	font-size: 12px;
	position: relative;
	color: #939393;
	padding: 0;
	margin:5px 0 0 0;
	text-align: center; }
   

/* Portfolio Grid Effects */
.view-first img {
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear; }
   
.view-first .mask {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	background-color: rgba(0,0,0, 0.7);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out; }
   
.view-first h2 {
	-webkit-transform: translateY(-100px);
	-moz-transform: translateY(-100px);
	-o-transform: translateY(-100px);
	-ms-transform: translateY(-100px);
	transform: translateY(-100px);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
   
.view-first p {
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-o-transform: translateY(100px);
	-ms-transform: translateY(100px);
	transform: translateY(100px);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear; }
   
.view-first:hover img {
	-webkit-transform: scale(1.1,1.1);
	-moz-transform: scale(1.1,1.1);
	-o-transform: scale(1.1,1.1);
	-ms-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);
	cursor: pointer; }
   
.view-first:hover .mask {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	cursor: pointer; }
   
.view-first:hover h2,
.view-first:hover p {
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-o-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	cursor: pointer; }
   
.view-first:hover p {
	-webkit-transition-delay: 0.1s;
	-moz-transition-delay: 0.1s;
	-o-transition-delay: 0.1s;
	-ms-transition-delay: 0.1s;
	transition-delay: 0.1s;
	cursor: pointer; }
   
/* slide box */
#slidebox {
    bottom: 0;
    height: 100px;
    padding: 10px 20px;
    position: fixed;
    right: -430px;
    width: 390px;
    border-top: 5px solid #000;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	background: #fff;
	z-index:5000; }
	
	#slidebox a.close {
	    background: url("../images/icon_close.png") no-repeat scroll left top transparent;
	    cursor: pointer;
	    height: 16px;
	    position: absolute;
	    right: 15px;
	    bottom: 10px;
	    width: 16px; }
			
			#slidebox h3.title { margin-bottom:10px; }

		#slidebox div {
		    margin:0; }

		#slidebox div.more {
			position:absolute; 
			top:26px; 
			right:10px; }

			#slidebox div.more p {
				padding:0 10px; }
				
		#slidebox p { line-height:100%; margin:0 0 5px 0; }
		
		#slidebox p.small, #slidebox p.small a { background:#fff; font-size:11px; }
		#slidebox p.small a { color:#999; }
		#slidebox p.small a:hover { color:#000; }

/*	-------------------------------------------------------------
	FORMS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

form {
  margin-bottom: 20px; }
fieldset {
  margin-bottom: 20px; }
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  padding: 8px 4px;
  outline: none;
  margin: 0;
  color: #888;
  width: 100%;
  max-width: 100%;
  height: 35px;
  line-height: 1em;
  display: block;
  background: #fff;
  border-radius:2px;
  border: 1px solid #dbdbdb;
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.08);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.08);   }

select {
  padding: 0; }

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus, #s:focus {
  border: 1px solid #aaa; }

textarea {
  min-height: 80px; }
label,
legend {
  display: block;  }
label.alert {
  color:red;  }   
select {
  width: 220px; }
input[type="checkbox"] {
  display: inline; }
label span,
legend span {
  font-weight: normal;
  font-size: 13px;
  color: #444; }

/* Contact Form */
#contactform fieldset div {
	display: block;
	margin:0 0 12px 0;
}

#contactform label {
  margin:0 0 5px 0;
  width: 20%;
  float: left; }

#contactform input[type="text"], #contactform textarea {
	width: 100%;
	line-height: 100%;
	padding:0 0 0 15px;
}

#contactform textarea {
	padding:15px 0 15px 15px;
}

#contactform input[type="submit"] {
	margin-top:12px;
}

#contactform .alert {
  color:#cc0000 !important;  }

#contactform .errorbox { 
  display:none; 
  margin:0 0 12px 0; 
  padding:10px;
  font-weight:normal; 
  color:#bb252c;
  background:#fdebed;
  border:1px solid #fec5cb; }

#contactform .errorbox ul { 
  padding:0;
  list-style:none;
  margin:0; }
  
#contactform .errorbox ul li {
  padding:0;
  margin:0;
  font-size:13px;
  line-height:1.8em; }

/* search */
.search-form {
	width: 100%;
	margin:0;
	padding:0;
}
#searchform {
	width: 100%;
    float:left;
    position: relative; }

#searchform div { display: block; width: 100%; }

#searchform #s {
    width: 100%;
    padding: 10px;
    line-height: 120%;
    height: auto;
    font-style: italic;
    background: #fff url('../images/search-btn.png') no-repeat 95% 12px;  }

#searchsubmit { 
  display: none; 
}

/*	-------------------------------------------------------------
	FOOTER
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/
	
footer { 
	width: 980px;
	margin:0 auto 20px auto;
	text-align:center; }	

	footer p, footer a { 
		color:#999;
		font-size:11px; }

	footer a:hover { 
		color:#000; }

/*	-------------------------------------------------------------
	CSS3 ICING
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

a:hover  { 
	-o-transition-duration: .15s;
	-o-transition-property: color, background-color;
	-webkit-transition-duration: .15s;
	-webkit-transition-property: color, background-color;
	-moz-transition-duration: .15s;
	-moz-transition-property: color, background-color; }
		