
/*--[ HTML5 Boilerplate RESET ]--------------------------------------------------------------------------------*/

nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
ins{background-color:#629622;color:#000;text-decoration:none}
mark{background-color:#629622;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/*--[ HTML5 Boilerplate MINIMAL BASE STYLES ]--------------------------------------------------------------------------------*/
table { font-size:inherit; font:100%; }
select, input, textarea { font:99% sans-serif; }
pre, code, kbd, samp { font-family: 'fr', sans-serif; } 
body, select, input, textarea { color:#444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; }
a:hover, a:active { outline: none; }
a { color:#607890; }
a:hover { color:#629622; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { padding: 15px; white-space: pre; /* CSS2 */ white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
::-moz-selection{ background: #FFE000; color:#333; text-shadow: none; }
::selection { background:#FFE000; color:#333; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #FFE000; } 
html { overflow-y: scroll; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/*--[ HELPER CLASSES ]--------------------------------------------------------------------------------*/
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; } /* for image replacement */
.hidden { display:none; visibility:hidden; }  /* Hide for both screenreaders and browsers */
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); } /* Hide only visually - available for screenreaders */
.invisible { visibility: hidden; } /* Hide visually and from screenreaders, but maintain layout */
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }

/*--[ Layout ]--------------------------------------------------------------------------------*/

html {
	text-align: center;
	background-color: #FDFDFD; 
	/* background-color: #fff; */
	height: 100%;
}


@font-face {
	font-family: 'fr';
	src: url(images/fb.ttf);
	font-weight: normal;
}

@font-face {
	font-family: 'fr';
	src: url(images/fm.ttf);
	font-weight: bold;
	}


@font-face {
	font-family: 'csl';
	src: url(images/csl-m.otf);
	font-weight: normal;
}

@font-face {
	font-family: 'csl';
	src: url(images/csl-bi.otf);
	font-weight: bold;
	font-style: italic, oblique;
	}

@font-face {
	font-family: 'csl';
	src: url(images/csl-r.otf);
	font-weight: 200;
	}

@font-face {
	font-family: 'zurau';
	src: url(images/zurau.ttf);
	font-weight: bold;
	}


body {
	font-family: 'zurau', sans-serif;
	width: 100%;
	text-align: left;
	color: #333;
	font-weight: 600;
	font-size:1.6em; /* 16 px equiv */
	margin: 0;
	position: relative;
	background-color:  none;
	height: 100%;
}

#footer {
	overflow: hidden;
	zoom: 1;
	clear: both;
	position: fixed;
	bottom: 0px;
	left: 0px;
	background-color: none;
	padding: 0;
	height: 0px;
	width: 0;
}

#footer nav{
	margin-bottom: 0px;
}

#main-nav {
	display: none;
	width: 200px;
	height: 100%;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 10;
}

.menu {
	height: 100%;
}

#main-nav ul {
	height: 100%;
	text-align: center;
	padding: 0;
}

#main-nav ul li {
	position: relative;
	width: 250px;
	height: 200px;
	top: 41%;
	left: 50%;
	margin-left: -125px;
	text-align: center;

}

#main-nav ul li a {
	font-weight: bold;
	font-size: 29px;
	width: 200px;
	color: #333;
	letter-spacing: 0px;
	text-transform: uppercase;
	text-align: center;
}

#main-nav ul li a:hover {
color: rgb(255, 224, 0);
}

#border-left {
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgb(255, 224, 0);
	width: 7px;
	height: 100%;
}

#border-right {
	position: fixed;
	top: 0;
	right: 0;
	background-color: rgb(255, 224, 0);
	width: 7px;
	height: 100%;
}

/* Animation keyframes - you need to add prefixes */
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
 
/* Loading animation container */
.loading-img {
   position: fixed;
   margin-left: -14px;
   width: 28px;
   height: 28px;
   left: 50%;
   top: 40%;
   z-index: 9;
}
 
/* Spinning circle (inner circle) */
.loading-img .maskedCircle {
    width: 20px;
    height: 20px;
    border-radius: 12px;
    border: 5px solid #FFE000;
}
 
/* Spinning circle mask */
.loading-img .mask {
    width: 12px;
    height: 12px;
    overflow: hidden;
}
 
/* Spinner */
.loading-img .spinner {
    position: absolute;
    left: 1px;
    top: 1px;
    width: 26px;
    height: 26px;
    animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    -moz-animation: spin 2s infinite linear;
}



/*--[ Anchors ]--------------------------------------------------------------------------------*/

a { 
color: rgb(236, 7, 7); 
text-decoration: none; 
}

a:hover, a:focus,
a:hover h4 { 
color: rgb(255, 224, 0); 
text-decoration: none; 
-webkit-transition:color 0.2s ;  
-moz-transition:color 0.2s ;  
-o-transition:color 0.2s ;  
transition:color 0.2s ; 
}

nav ul a {
	color: #171717;
	font-size: 12px;
	line-height: 14px;
	font-weight: 600;	
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

nav ul a:hover,
li.current-menu-item a {
	color: rgb(255, 224, 0);
}

/*--[ Typography ]--------------------------------------------------------------------------------*/


h1 { 
	font-size: 29px;
	text-transform: uppercase;
	margin: 0; 
	letter-spacing: 0px;
	font-weight: bold;
	line-height: 36px;
	color: #333;
}

h2 { 
	font-weight: normal;
	font-size: 28px;
	color: rgb(236, 7, 7);
	letter-spacing: 0px;
	text-transform: none;
	text-align: center;
}

h2.work-title {
	font-size: 28px;
	color: #333;
	text-transform: none;
	letter-spacing: 0;
}

h3 { 
width: 100%;
display: block;
margin-top: 0;
margin-left: 0px;
margin-right: 0;
font-weight: normal;
font-size: 13px;
line-height: 22px;
letter-spacing: 0;
padding-right: 0;
}


#menu-main {
	position: relative;
	float: left;
	width: 160px;
	margin-right: 10px;
}

#menu-categories {
	position: relative;
	float: left;
	width: 160px;
	margin-right: 10px;
}

#description-div {
	position: relative;
	float: left;
	font-weight: normal;
	width: 245px;
	margin-left: 15px;
	margin-top: 40px;
	height: 300px;
}

#description-div p{
	width: auto;
	line-height: 1;
	white-space: normal;
	color: #111;
	line-height: 19px;
	font-size: 14px;
	letter-spacing: 1px;
}

#back-home {
	position: absolute;
	bottom: 3.5%;
	margin-left: 15px;
	font-size: 14px;
	font-weight: normal;
}

#header {
	position: fixed;
	display: none;
	width: 200px;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: none;
	z-index: 10;
}

#top-title {
	display: none;
	position: relative;
	width: 200px;
	height: 200px;
	top: 40%;
	left: 50%;
	margin-left: -100px;
	text-align: center;
}


#header h1 {
	height: 72px;
}

#header h1 a {
	display: block;
	color: #333;
	height: auto; 

/* Clip Background Image 

	background: url(images/red-background.jpg) repeat-y;
	-webkit-background-clip: text;

/* Animate Background Image 

	-webkit-text-fill-color: transparent;
	-webkit-animation: aitf 20s linear infinite;

/* Activate hardware acceleration for smoother animations 

	-webkit-transform: translate3d(0,0,0);
	-webkit-backface-visibility: hidden;
}

/* Animate Background Image 

@-webkit-keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}
*/

}

#header h1 a:hover {
	color: rgb(255, 224, 0);
}

#header-wrapper {
	display: block;
	width: 100%;
	height: 100%;
}

#main {
	position: absolute;
	left: 50%;
	margin-left: -420px;
	top: 0;
	width: 840px;
	height: auto;
}

.home #main {
	width: 840px;
	margin-top: 10px;
	padding-bottom: 10px;
}

.single #main {
	positon: absolute;
	width: 640px;
	margin-left: -320px;
	top: 90px;
}

#main-content {
	height: 100%; 
	width: auto;
	margin-bottom: 0;
	margin-left: auto; 
	margin-right: auto; 
	margin-top: 0;

}

#main-content-single {
	position: relative;
	height: 640px; 
	width: 640px;
	margin-bottom: 0;
	margin-left: auto; 
	margin-right: auto; 
	margin-top: 0;
}


#sidebar { 
width:200px; 
float: left;
}


.paging { 
overflow: hidden; zoom: 1; 
display:none;
}
.paging .prev { 
float: left;
}

.paging .next { 
float: right; 
}

p, ol, dl, hr, pre, table, fieldset, article footer {
	line-height: 0;
	margin-top: 0;
}

article.post-masonry {
	display: none;
	cellspacing: 0;
	height: 260px;
	width: 260px;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	float: left;
	padding: 0;
	line-height: 0px;
	background-color: #8A9B0F;
}

article.red {
	background-color: #D10000;
}

article.yellow {
	background-color: #FFE000;
}

article.beige {
 /*	background-color: #F2482E; */
	background-color:  #CC841F; 
}

article.pink {
	/*  background-color: #BC0A2A; */
	/* background-color: #8A9B0F; */
	/* background-color: #FFC7E4; */
	background-color: #FFB6DC;
	
}

article.blue {
	/*  background-color: #BC0A2A; */
	/* background-color: #2E53E6; */
	background-color: #83CDF0;
}

article.purple {
	background-color: #550F87;
}

#middle {
	display: table-cell;
	cellspacing: 0;
	border-spacing: 0;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	height: auto;
	width: auto;
	z-index: 190;
}

#middle .absolute {
	display: table;
	height: auto;
	width: 100%;
	position: relative;
	z-index: 190;
}

article.post-masonry img {
	width: 100%;

	height: auto;
	background-color: #ddd;
	/*
	filter: alpha(opacity=100);
	zoom: 1;
	opacity: 1;
	z-index: 199;
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: url(images/desaturate.svg#greyscale);
	filter: gray; */
}

.archive-image {
	position: relative;
	z-index: 99;
	width: 100%;
}


article.post-masonry header {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	margin-top: -56%;
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	line-height: 12px;
	text-transform: uppercase;
	background-color: none;
	text-align: center;
	filter: alpha(opacity=100);
	zoom: 1;
	opacity: 1;
	z-index: 90;
}

article.post-masonry img:hover {
	zoom: 1;
	filter: alpha(opacity=0);
	opacity: 0;
	transition: opacity .3s ease-out;
	-moz-transition: opacity .3s ease-out;
	-webkit-transition: opacity .3s ease-out;
	-o-transition: opacity .3s ease-out;
	}


article.post-masonry header p {
	margin-bottom: 0px;
	margin-top: 0px;
}

article.post-masonry header a {
	display: block;
	z-index: 90;
}

article.post-masonry header h4 {
	position: absolute;
	display: block;
	font-size: 15px;
	color: #fff;
	width: 96%;
	margin-top: 0px;
	margin-left: 2%;
	padding: 0;
	text-transform: none;
	letter-spacing: 0px;
	font-weight: normal;
	text-align: center;
	z-index: 90;
	line-height: 1;
	white-space: normal;
	text-transform: uppercase;
}

article ul {
	margin: 0 0 2em 2em;
	list-style: disc outside;
}
article ol {
	margin: 0 0 2em 2em;
	list-style: decimal outside;
}

article blockquote {
	margin-left: 50%;
	margin-right: 0;
	font-style: italic;
	font-size: 1.2em;
	max-width: 500px;
}

small {
font-size:0.6875em;
}

/*--[ Archive ]--------------------------------------------------------------------------------*/

.archive-header {
	display: none;
	width: 100%;
	text-align: center;
}

.home .archive-header {
	margin-bottom: 30px;
}

.archive-list {
display: table;
height: auto;
margin-top: 8em;
overflow: hidden;
text-align: center;
margin-left: auto;
margin-right: auto;
width: 600px;

}

.archive-list ul {
float: left;
list-style: none;
margin: 0;
padding: 0;
position: relative;
left: 50%;
text-align: center;
}

.archive-list ul li.archive-li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	right:50%;
}

.archive-list ul li.archive-li a {
	display:inline-block;
	width: 140px;
	height: 56px;
	padding: 5px;
	margin: 2em;
	border: 1px solid #828282;
	font-weight: 600;
	font-size: 10px;
	text-transform: uppercase;
	background-color: #333;
}

.archive-list li.cat-item {
	display:block;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	right:50%;
	width: 50%;
	border: 0px;
	background-color: transparent;
	font-size: 12px;
	min-width: 280px;
}

.archive-list li.cat-item a:link {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 20px;
	text-align: center;
	padding-top: 15px;
	letter-spacing: 0.1em;
}


.archive-link h4
{
	font-size: 10px; 
	line-height: 20px;
	text-align: center;
	padding-top: 17px;
}

.category-description {
	margin-top: 3em;
	text-align: left;
	margin-left: 50%;
	margin-right: 0%;
	font-weight: 600;
	font-size: 12px;
	line-height: 2em;
	max-width: 500px;
}

/*--[ Single Post ]--------------------------------------------------------------------------------*/

.single-post {
	display: block;
	font-weight: 600;
	font-size: 12px;
	line-height: 2em;
}

.single-post header {
	display: block;
	width: auto;
	height: 100%;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 10;
}


#single-sidebar {
	display: block;
	text-align: center;
	height: 100%;
	position: fixed;
	top: 0px;
	right: 0;
	z-index: 10;
}

#work-title-wrapper {
	position: relative;
	top: 40%;
}

#single-sidebar h2 {
	position: relative;
	width: 80%;
	max-width: 300px;
	height: auto;
	margin: auto;
	margin-bottom: 15px;
	text-transform: uppercase;
	top: 40%;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}


#description-single {
	margin: auto;
	position: relative;
	width: 80%;
	max-width: 320px;
	padding: 0;
	font-family: 'csl', serif;
	font-weight: normal;
	font-size: 18px;
	line-height: 30px;
	letter-spacing: 0;
	text-align: center;
}

article,
article p {
	text-align: left;
	margin-right: 0;
	margin-top: 0px;
	padding: 0;
}

.single-post article {
	position: relative;
	left: 50%;
	margin-left: -320px;
	width: 640px;
	height: 640px;
}


.single-post article img {
	width: auto;
	margin: auto;
	margin-top: 0px;
}


#single-sidebar-bottom {
	display: none;
	margin-top: 70px;
}

#single-sidebar-bottom work-title {
	height: 30px;
	}

#single-sidebar-bottom h2 {
	position: relative;
	width: 80%;
	height: 40px;
	margin: auto;
	text-transform: uppercase;
	top: 40%;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}




/*--[ Page ]--------------------------------------------------------------------------------*/

.menu-header {
	position: relative;
	top: 38%;
}

.page #main {
	width: 620px;
	margin-left: -310px;
}

#main-content-page {
	display: none;
	height: 100%;
	width: 622px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0
}

#page-sidebar {
	display: none;
	width: 200px;
	height: 100%;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 10;
}

#page-sidebar h2 {
	position: relative;
	width: 250px;
	height: 200px;
	top: 39%;
	left: 50%;
	margin-left: -135px;
	text-align: center;
	font-size: 29px;
	font-weight: bold;
	text-transform: uppercase; 
}

.page .hentry p {
	font-family: 'csl', serif ;
	width: 100%;
	display: block;
	margin-top: 0;
	margin-left: 0px;
	margin-right: 0;
	font-weight: normal;
	font-size: 18px;
	line-height: 30px;	
	letter-spacing: 0;
	padding-right: 0;
}

.page .hentry {
	font-family: 'csl', serif ;
	display: none;
	font-weight: normal;
	font-size: 18px;
	line-height: 30px;	
	letter-spacing: 0;
}

.page article {
	position: relative;
	margin-top: 18%;
	width: 620px;
	margin-left: -310px;
	left: 50%;
}

#cv p {
	font-size: 13px;
	color: #222;
	line-height: 20px;
}




/*--[ Images ]--------------------------------------------------------------------------------*/

.wp-post-image,
p img,
img.alignright, 
img.alignleft, 
img.aligncenter
{
	background: #f6f7f1;
	max-width: 100%;
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="wp-post-image"],
img[class*="attachment-thumbnail"]
{
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

a:hover .wp-post-image, a:focus .wp-post-image {

}

/*--[  ]--------------------------------------------------------------------------------*/
@media only screen and (min-height: 1080px) {
	
	.single #main {
		top: 150px;
		height: 640px;
	}

	#main-content-single {
		height: 640px;
	}

	.single-post article {
		height: 640px;
	}
}	


/*--[  ]--------------------------------------------------------------------------------*/
@media only screen and (max-height: 800px) and (min-width: 580px) {
	
	.single #main {
		top: 40px;
		height: 100%;
	}
	#main-content-single {
		height: 100%;
	}
	.single-post article {
		height: 80%;
	}
}	



/*--[  ]--------------------------------------------------------------------------------*/



@media only screen and (max-width: 1180px) and (min-height: 800px) {


.single #main {
	width: 640px ;
	left: 50%;
	margin-left: -320px;
}

#main-content-single {
	height: 640px;
	width: 100%;
	margin: 0;
}


}

@media only screen and (max-width: 1180px) {

	#main {
	width: 560px;
	margin-left: -280px;
}

.home #main {
	width: 560px;
	margin-left: -280px;
}
}

/*--[ 1000px ]--------------------------------------------------------------------------------*/

@media only screen and (max-width: 1024px) {

.flex-direction-nav .secondnext {
	display: none;
}

}

/*--[ 1000px ]--------------------------------------------------------------------------------*/

@media only screen and (max-width: 1023px) {


h1 {
	font-size: 20px;
	line-height: 24px;
}

.single #header {
	position: absolute;
	left: 0;
	top: 0px;
	height: auto;
}

.single #top-title {
	width: 50%;
	position: relative;
	top: 15px;
	margin: 0;
	left: 25%;
}

#single-sidebar-bottom {
	display: block;
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	margin-top: 50px;
	text-align: center;
}

#single-sidebar-bottom .work-title {
	display: block;
	position: relative;
	float: left;
	width: 100%;
}

#single-sidebar-bottom #description-single {
text-align: center;

}


#single-sidebar {
	display: none;
}

.page article {
	width: 100%;
	left: 0px;
	margin-left: 0;
}


	}

/*--[ 1000px ]--------------------------------------------------------------------------------*/


@media only screen and (max-width: 960px) {

.page #main {
	width: 60%;
	left: 20%;
	margin-left: 0;
}


h1 {
	font-size: 20px;
	line-height: 24px;
}

#top-title {
	width: 100px;
	margin-left: -50px;
}

#main-nav ul li {
	width: 100px;
	margin-left: -50px;
	top: 38%;
}


#main-nav ul li a {
	font-size: 20px;
}

#page-sidebar h2 {
	width: 100px;
	margin-left: -50px;
	font-size: 20px;

}

.page article {
	width: 100%;
	left: 0px;
	margin-left: 0;
}


}



/*--[  ]--------------------------------------------------------------------------------*/

@media only screen and (max-width: 770px) {
	
	#main {
		width: 280px;
		margin-left: -140px;
	}

	.home #main {
		width: 280px;
		margin-left: -140px;
	}
}


/*--[ ]--------------------------------------------------------------------------------*/


@media only screen and (max-width: 650px) {
	
.single-post article {
	width: 90%;
	height: auto;
	left: 5%;
	margin-left: 0;
}
	
}

/*--[  ]--------------------------------------------------------------------------------*/


@media only screen and (max-width: 580px) {
	
#header {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0px;
	height: 100px;
	z-index: 1;

}

.single #main {
	width: 100%;
	left: 0;
	margin-left: 0;
	top: 70px;
}

#main-content-single {
	width: 100%;
	margin: 0;
}

#top-title {
	width: 100px;
	position: relative;
	float: left;
	top: 18px;
	left: 0;
	margin: 0;
	margin-left: 13%;
}

.menu {
	width: 50%;
	position: absolute;
	top: 0;
	right: 0;
}

#main-nav {
	width: 100px;
	position: absolute;
	margin: 0;
	margin-right: 13%;
	right:0;
	top: 20px;
	height: auto;
}


#main-nav ul {
	margin: 0;
}

#main-nav ul li {
	width: 50%;
	position: absolute;
	top: 0;
	right: 0;

}

#page-sidebar {
	position: absolute;
}

#page-sidebar h2 {
	width: 100px;
	position: relative;
	top: 25px;
	margin: 0;
	right: 13%;
}

#main {
	top: 70px;
}

.home #main {
	top: 70px;
}

.page #main {
width: 80%;
left: 10%;
	}
	
.page .hentry p {
	font-size: 15px;
	line-height: 28px;
}

}
