/*
THEME NAME: Alias
THEME URI: http://www.dtailed.com/
DESCRIPTION: Alias Wordpress theme based on WRK
VERSION: 1.0
AUTHOR: Tudor Prisacariu
AUTHOR URI: http://www.dtailed.com/
TAGS: 
*/

/* CSS RESET */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,acronym,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,img{display:block}
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}
ul, li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;width:auto}
q:before,q:after{content:"";}
abbr,acronym {font-variant:normal;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
legend{color:#000;}
a,a:hover,a:visited:hover,a:active,a:active:hover{outline:none}
a,a:hover,a:visited:hover,a:visited{text-decoration: none}
::selection { background: #ddd; }
::-moz-selection { background: #ddd; }
::-webkit-selection { background: #ddd; }

/* END CSS RESET */

@font-face {
    font-family: 'AnoserifBlackRegular';
    src: url('font/anoserifblack-regular-webfont.eot?') format('eot'),
         url('font/anoserifblack-regular-webfont.woff') format('woff'),
         url('font/anoserifblack-regular-webfont.ttf') format('truetype'),
         url('font/anoserifblack-regular-webfont.svg#AnoserifBlackRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AnoRegular';
    src: url('font/anoregular-regular-webfont.eot?') format('eot'),
         url('font/anoregular-regular-webfont.woff') format('woff'),
         url('font/anoregular-regular-webfont.ttf') format('truetype'),
         url('font/anoregular-regular-webfont.svg#AnoRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,
body
{
	background:#c9c8c5;
}

body
{
	font:14px/24px "AnoserifBlackRegular", Georgia, serif;
	-webkit-font-smoothing: antialiased;
	font-weight:normal;
	color:#3a3a39;
	text-align:center;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
	
	html.no-touch body
	{
		font-size:12px;
		line-height: 20px;
	}
	
	html.touch body
	{
		-webkit-text-size-adjust:none;
	}

p,
.gallery img
{
	padding-bottom:24px;
}

	html.no-touch p,
	html.no-touch .gallery img
	{
		padding-bottom:20px;
	}

	p:last-child,
	html.no-touch p:last-child
	{
		padding-bottom: 0;
	}

p
{
	font-family: "AnoRegular";
	font-size: 15px;
	line-height: 25px;
}

a,
a:visited,
a:link
{
	color:#3a3a39;
	text-decoration: none;
}

	html.no-touch a:hover,
	html.no-touch a:visited:hover,
	html.no-touch a:link:hover
	{
		color:#fff;
	}

#smart-archives-list h2 a
{
	pointer-events:none;
}

#page
{
	padding:24px 50px 24px 200px;
	text-align: left;
	width: 668px;
	position: relative;
}

	html.no-touch #page
	{
		padding:20px 50px 20px 200px;
	}

.menu
{
	width:200px;
	z-index:100;
	text-align:left;
	position:fixed;
	top:24px;
	left:0;
	z-index:100;
}

	html.no-touch .menu
	{
		top:20px;
	}

#blog_nav
{
	top: 120px;
}

	html.touch #blog_nav
	{
		top:168px;
	}

html.no-touch #work
{
	display: none;
}

.menu li
{
	line-height:24px;
	width:200px;
	white-space:nowrap;
}

.menu li a,
.menu li a:visited
{
	color:#3a3a39;
	text-decoration: none;
	line-height:24px;
	padding:0 50px;
	display:block;
	border-bottom:0;
	font-weight:500;
}

	html.no-touch .menu li,
	html.no-touch .menu li a,
	html.no-touch .menu li a:visited
	{
		line-height: 20px;
	}

.menu li a.selected,
.menu li a.selected:visited
{
	color:#fff;
}

.menu li a:active
{
	color:#fff;
}

	html.no-touch .menu li a:hover,
	html.no-touch .menu li a:visited:hover
	{
		color:#fff;
	}

.no_transition
{
	-webkit-transition: none 0s linear !important;
	-moz-transition: none 0s linear !important;
	-o-transition: none 0s linear !important;
	transition: none 0s linear !important;
}

h2,
h1
{
	padding:24px 0 0 0;
	color:#fff;
}

	html.no-touch h1,
	html.no-touch h2
	{
		padding-top:20px;
	}

.page h1
{
	padding-bottom:24px;
}

	html.no-touch .page h1
	{
		padding-bottom: 20px
	}

h2 a,
h2 a:visited,
h2 a:link
{
	color: #fff;
}

article,
section
{
	overflow: hidden;
	width: 100%;
}

time,
article
{
	padding: 0 0 24px 0;
	display:block;
}

	html.no-touch time,
	html.no-touch article
	{
		padding-bottom: 20px;
	}

.clear
{
	clear:both;
	font-size:1px;
	height:0;
	line-height:0;
	overflow:hidden;
}

#address
{
	width: 200px;
	float:right;
	margin-top: 20px;
}

#description
{
	width: 400px;
	float:left;
	margin-top: 20px;
}

.float_left
{
	float:left;
}

.float_right
{
	float:right;
}

.error
{
	padding:24px 0 0 200px;
	text-align: left;
}

	html.no-touch .error
	{
		padding-top: 20px;
	}

	.error span
	{
		color:#f00;
	}
	
@media only screen and (max-width: 1023px) {

	#page
	{
		padding:24px 50px 24px 50px;
		clear:both;
	}
	
		html.no-touch #page
		{
			padding:20px 50px 20px 50px;
		}
	
	.menu
	{
		width:200px;
		z-index:100;
		text-align:left;
		position:static;
		top:inherit;
		left:inherit;
		margin-left:-50px;
	}
	
	#blog_nav
	{
		top: inherit;
		margin-top:24px;
	}
	
		html.no-touch #blog_nav
		{
			margin-top: 20px;
		}

}

@media only screen and (max-width: 767px) {
	
	html,
	body
	{
		overflow-x:hidden !important;
	}
	
	#page
	{
		width:auto;
		padding:24px;
	}
	
		html.no-touch #page
		{
			padding: 20px;
		}
		
	.menu
	{
		float:left;
		margin-left:-24px;
		width: 150px;
	}
	
		html.no-touch .menu
		{
			margin-left: -20px;
		}
	
	#blog_nav
	{
		margin-top:0;
	}
	
	.menu li a,
	.menu li a:visited
	{
		padding: 0 24px;
	}
	
		html.no-touch .menu li a,
		html.no-touch .menu li a:visited
		{
			padding: 0 20px;
		}
	
	img,
	video,
	embed,
	iframe
	{
		max-width:100%;
		height:auto;
	}
	
	#address,
	#description
	{
		width:auto;
		float:none;
	}

}