@font-face {
	font-family: 'Lato';
	src: url('../font/Lato/lato-italic-webfont.eot');
	src: url('../font/Lato/lato-italic-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../font/Lato/lato-italic-webfont.woff') format('woff'),
	     url('../font/Lato/lato-italic-webfont.ttf') format('truetype'),
	     url('../font/Lato/lato-italic-webfont.svg#LatoItalic') format('svg');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: 'Lato';
	src: url('../font/Lato/lato-bold-webfont.eot');
	src: url('../font/Lato/lato-bold-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../font/Lato/lato-bold-webfont.woff') format('woff'),
	     url('../font/Lato/lato-bold-webfont.ttf') format('truetype'),
	     url('../font/Lato/lato-bold-webfont.svg#LatoBold') format('svg');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Lato';
	src: url('../font/Lato/lato-bolditalic-webfont.eot');
	src: url('../font/Lato/lato-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../font/Lato/lato-bolditalic-webfont.woff') format('woff'),
	     url('../font/Lato/lato-bolditalic-webfont.ttf') format('truetype'),
	     url('../font/Lato/lato-bolditalic-webfont.svg#LatoBoldItalic') format('svg');
	font-weight: bold;
	font-style: italic;
}
@font-face {
	font-family: 'Lato';
	src: url('../font/Lato/lato-regular-webfont.eot');
	src: url('../font/Lato/lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
	     url('../font/Lato/lato-regular-webfont.woff') format('woff'),
	     url('../font/Lato/lato-regular-webfont.ttf') format('truetype'),
	     url('../font/Lato/lato-regular-webfont.svg#LatoRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License:none (public domain)
*/
html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
b,u,i,center,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,embed,
figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,
time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{display:block;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,
q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/*---------------------------------------------------*/
html{overflow-y:scroll;}
/*---------------------------------------------------*/
html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
html,button,input,select,textarea{font-family:sans-serif;color:#222;}
body{margin:0;font-size:1em;line-height:1.4;}

/*---------------------------------------------------*/
/* Micro Clearfix */
.cf:before,.cf:after{content:"";display:table;}
.cf:after{clear:both;}
.cf{zoom:1;}

/*---------------------------------------------------*/
:-moz-selection {
	background: #ff0;
	color: #222;
	text-shadow: none;
}
::selection {
	background: #ff0;
	color: #222;
	text-shadow: none;
}
/*---------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
*, *:before, *:after {
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
			box-sizing: inherit;
}

/*---------------------------------------------------*/
/* media queries transition */
body, 
nav, 
li {
	-webkit-transition: all ease 0.2s;
	   -moz-transition: all ease 0.2s;
	     -o-transition: all ease 0.2s;
	        transition: all ease 0.2s;
}
/*------------------------- BASE --------------------------*/
body {
	font: 400 0.78em/1.5 "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #666;
	padding: 30px 50px;
	background: #fff;
}

body:before,
body:after{content:"";display:table;}
body:after{clear:both;}
body{zoom:1;}

a {
	color: #000;
	text-decoration: none;
}
a:hover {
	color: #666;
	text-decoration: none;
}
a:visited {
	color: #222;
}
a img {
	border: none;
}
h1, 
h2, 
h3, 
h4 {
	margin: 0px 0 15px;
	color: #111;
	line-height: 1.3;
}
h4 {
	margin-bottom: 5px;
}
p+h2,
p+h3,
p+h4 {
	padding: 15px 0 15px;
	margin-bottom: 3px;
	color: #222;
}
p {
	padding: 0 0 5px;
}
strong {
	color: #111;
	font-weight: normal;
}

h1,h2,h3,h4,h5,h6,
header nav h4,
header nav a,
header #Spio a {
	letter-spacing: 1px;
	font-weight: bold;
}
/*------------------------- Header --------------------------*/
header {
	z-index: 10;
	padding: 10px 0 50px;
	background: #fff;
}
header nav,
header nav ul {
	float: left;
}
header #Spio,
header nav li {
	float: left;
	margin: 0 15px 0 0;
	list-style: none;
}
header #Spio {
	display: none;
	margin-left: -5px;
	padding: 0;
}
header nav h4,
header nav a,
header #Spio a {
	float: left;
	padding: 0 5px;
	height: 20px;
	line-height: 21px;
	text-decoration: none;
/*	border-bottom: 1px solid #fff;
	margin-bottom: -1px;*/
	-webkit-transition: all ease 0.2s;
	   -moz-transition: all ease 0.2s;
	     -o-transition: all ease 0.2s;
	        transition: all ease 0.2s;
}
header nav a:hover,
header #Spio a:hover,
header nav .active h4,
header nav .active a {
	background: #ff0;
	color: #111;
	border-color: #fe0;
}
header nav h4 {
	font-weight: inherit;
	margin: 0;
}
header nav .return {
	width: 8px;
	height: 20px;
	border: none;
	background: url(../img/close2.gif) no-repeat center center;
}
header nav ul .return:hover {
	background: url(../img/close.gif) no-repeat center center;
}
header nav ul+ul a {
	font-weight: normal !important;
}

header nav ul {
	display: none;
}
header nav ul+ul {
	display: block;
}
/*------------------------- Coloumn structure --------------------------*/
.ltr {
	unicode-bidi: bidi-override;
	direction: rtl;
}

/*------------------------- Text blocks --------------------------*/
.text-box {
	max-width: 480px;
	margin: 0 -25px;
	padding: 20px 25px;
	-webkit-transition: all ease 0.15s;
	   -moz-transition: all ease 0.15s;
	     -o-transition: all ease 0.15s;
	        transition: all ease 0.15s;
	font-size: 150%;
}
	.text-box:hover {
		background: #ff0;
	/*	border-color: #fe0;*/
	}
	.text-box a {
		border-bottom: 1px solid #ff0;
	}
	.text-box h2 {
		padding-bottom: 12px;
		font-size: 150%;
		border-bottom: 1px solid #ddd;
		width: 50%;
	}
		.text-box:hover h2 {
			border-bottom: 2px solid #fff;
			margin-bottom: 14px;
		}
	.text-box:hover p {
		color: #222;
	}

	.text-box:hover :-moz-selection {
		background: #000;
		color: #fff;
	}
	.text-box:hover ::selection {
		background: #000;
		color: #fff;
	}
.contact {
	clear: both;
	/*float: left;*/
	display: inline-block;
	padding: 20px 25px 15px;
	margin: 20px -25px;
	background: #fafafa;
}
/*------------------------- Projects List --------------------------*/
.projects-list {
	margin-right: -15px;
}
.projects-list li {
	position: relative;
	float: left;
	overflow: hidden;
	list-style: none;
}
.projects-list a {
	z-index: 5;
	position: relative;
	float: left;
	overflow: hidden;
	width: 180px;
	height: 180px;
	margin: 0 15px 15px 0;
	text-decoration: none;
	background: #ff0;
/*	border-bottom: 1px solid #fff;*/
}
.projects-list a:hover {
	opacity: 1;
	border-color: #fe0;
}
.projects-list a .image {
	width: 100%;
	height: 100%;
	z-index: 5;
	position: absolute;
	top: 0;
	left: 0;
	float: left;
	display: block;
	-webkit-transition: all ease 0.4s;
	   -moz-transition: all ease 0.4s;
	     -o-transition: all ease 0.4s;
	        transition: all ease 0.4s;
}
.projects-list a:hover .image {
	z-index: 2;
	top: 190px;
	left: 190px;
}
.projects-list a .image img {
	width: 100%;
	height: 100%;
}
.projects-list .name {
	z-index: 3;
	position: relative;
	left: -190px;
	padding: 14px 15px 0px;
	margin: 0;
	-webkit-transition: all ease 0.3s;
	   -moz-transition: all ease 0.3s;
	     -o-transition: all ease 0.3s;
	        transition: all ease 0.3s;
}
.projects-list a:hover .name {
	color: #222;
	left: 0;
}
.projects-list .tags {
	z-index: 3;
	position: relative;
	top: 190px;
	padding: 0 15px;
	margin: 0;/*font-size:11px;*/
	font-style:italic;
	text-transform: lowercase;
	color: #eee;
	color: #444;
	-webkit-transition: all ease 0.3s;
	   -moz-transition: all ease 0.3s;
	     -o-transition: all ease 0.3s;
	        transition: all ease 0.3s;
}
.projects-list a:hover .tags {
	top: 0px;
	color: #222;
}
/*------------------------- Project Page --------------------------*/
.project {
	position: relative;
}
.project .info {
	float: left;
	-webkit-transition: all ease 0.3s;
	   -moz-transition: all ease 0.3s;
	     -o-transition: all ease 0.3s;
	        transition: all ease 0.3s;
}
.project .info:hover {
	background: #fafafa;
}

.project .info h4,
.project .info p {
	display: inline;
	letter-spacing: 0;
	text-transform: none;
}
.image {
	display: block;
	margin: 0 0 18px 0;
}
img.image {
	display: block;
	margin: 0 0 18px 0;
	border: 1px solid #eee;
	-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
	box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
}

/*------------------------- Tumblr embed --------------------------*/
.tumblr_posts {
	position: relative;
}
.tumblr_post {
	float: left;
	width: 60px;
	height: 60px;
	overflow: hidden;
}
.tumblr_post:hover img {
	position: absolute;
	left: 0;
	top: 75px;
	width: auto;
	height: auto;
	margin: 0;
}
.tumblr_photo_post img {
	display: block;
	float: left;
	width: 120%;
	height: 140%;
	margin: -20% 0 0 -10%;
	-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
	-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
	box-shadow: 0px 0px 12px rgba(0,0,0,0.05);
}
.tumblr_caption {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	background: #222;
	color: #222;
	width: 3px;
	height: auto;
	padding: 18px 0;
	overflow: hidden;
}
.tumblr_caption:hover {
	width: 100%;
	height: auto;
	padding: 18px 24px;
	background: #ff0;
}
.tumblr_caption p {
	margin: 0;
}

/*------------------------- Responsive --------------------------*/

@media (max-width: 719px) {

	#social {
		display: none;
	}
}
@media (max-width: 639px) {
	body {
		padding: 20px 10px 20px 30px;
/*		border-top: 1px solid #000;*/
	}
	header #Spio,
	header nav li {
		margin: 0 5px 0 0;
	}
	header #Spio,
	header nav {
		margin-left: -5px;
		padding: 0;
	}
	header nav h4,
	header nav a,
	header #Spio a {
		padding: 0 4px;
	}


	.page-services .text {
		width: 220px;
		height: 250px;
	}
}
@media (max-width: 479px) {
	body {
		padding: 85px 20px 20px;
		margin: 0;
	}
	header {
		z-index: 5;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0 0 20px;
		padding: 0;
		border-bottom: 10px solid #fff;
		text-align: center;
		background: #fafafa;

	}
	header #Spio {
		float: left;
		width: 27%;
		margin: 0 !important;
		padding: 0 !important;
	}
	header nav {
		float: left;
		width: 73%;
		margin: 0 !important;
		padding: 0 !important;
	}
	header nav ul {
		float: left;
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
	}
	header nav ul li {
		float: left;
		width: 50%;
		margin: 0 !important;
		padding: 0 !important;
		border-left: 1px solid #eee;
		margin-left: -1px !important;
	}
	header nav ul+ul li {
		float: none;
		width: auto;
	}
	header nav ul+ul {
		display: none;
		float: none;
		width: 100%;
	}
	header nav h4,
	header nav a,
	header #Spio a {
		float: left;
		padding: 0 !important;
		text-align: center;
		width: 100%;
		height: 60px;
		line-height: 61px;
		border-bottom: 1px solid #eee;
	}
	header nav h4 {
		font-weight: inherit;
		margin: 0;
	}
	header nav .return {
		width: 8px;
		height: 18px;
		border: none;
		background: url(../img/close2.gif) no-repeat center center;
	}
	header nav ul .return:hover {
		background: url(../img/close.gif) no-repeat center center;
	}
	.c1, .c2, .c3, .c4, .project {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	.image {
		width: 100%;
	}
	h2+.projects-list {
		margin-left: -20px;
	}
	.projects-list {
		margin-left: -5px;
	}
	.projects-list a {
		width: 155px;
		height: 155px;
	}

	.text {
		width: 100%;
		margin: 0 -10px 16px;
		padding: 0 10px 9px;
	}
	.text h2 {
		border-bottom: 1px solid #ddd;
		width: 200px;
	}
	.page-services .text {
		width: auto !important;
		height: auto;
		margin: 0 -15px !important;
	}	
	#social {
		display: none;
	}
}

