* {
    margin: 0;
    padding: 0;
}

::selection {
	background: #cfcab8;
	color: #1a1a1a;
	text-shadow: none;
}
::-moz-selection {
	background: #cfcab8;
	color: #1a1a1a;
	text-shadow: none;
}

div#qTip {
  	padding: 5px 10px;
   	display: none;
   	background: #e0401f;
   	color: #fcfcfc;
   	font-family: 'Arial Narrow', sans-serif;
	font-size: 10px;
   	position: absolute;
   	z-index: 1000;
	letter-spacing: 0.05em;
  	opacity: 0.95;
	line-height: 10px;
	text-align: center;
	border-bottom: 1px solid #e0401f;
}

/* MAIN */

body {
	background: #fcfcfc;
	color: #7d7d7d;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
    font-weight: 400;
    font-optical-sizing: auto;
	line-height: 24px;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}

#container {
	margin: 50px auto 0 auto;
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
}

/* MENU */

nav, footer ul {
    width: 100%;
    margin: 30px auto;
    padding: 20px 0;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 900;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-width: 1px 0;
    border-style: dashed;
    border-color: #d2d2d2;
    display: block;
	position: relative;
}

nav ul.menu {
	counter-reset: li;
	margin: 0 auto;
    padding: 0;
	display: block;
	position: relative;
}

nav ul.menu li, footer ul li {
	counter-increment: li;
    margin: 0 2vw; padding: 0;
    background: transparent;
    display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 20;
}

nav ul.menu li a:hover, footer ul li a:hover {
    background: #f7e399;
}

nav ul.menu li::before, aside .proj .title span::before, footer ul li::before {    
	content: counter(li, decimal-leading-zero)'.';
	margin-right: 10px;
	color: #e0401f;
	font-weight: 700;
	position: relative;
	display: inline-block;
	z-index: 25;
}

#show-menu {
	margin: 0 auto;
	padding: 10px;
	background: #1a1a1a;
	color: #fcfcfc;
	font-size: 10px;
	font-weight: 900;
	text-align: left;
	letter-spacing: 0.05em;
	box-sizing: border-box;
	cursor: pointer;
    display: none;
	position: relative;
}

#show-menu i {
	margin-right: 10px;
	font-size: 9px;
}

#rmenu {
	width: 100%;
	display: block;
}

.active {
	display: block;
}

/* HEADER */

header {
	width: 100%;
	height: 480px;
	background-image: url("../images/header.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0 auto;
	position: relative;
}

/* LATEST */

#latest {
	width: 100%;
	max-width: 1200px;
	margin: 30px auto;
	padding: 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	column-gap: 10px;
	box-sizing: border-box;
	position: relative;
}

#latest #lphotos, #latest #lnews {
	flex-basis: 50%;
}

#latest h3 {
	margin: 0 auto 15px auto;
	padding: 5px 10px 7px 10px;
	background: #1a1a1a;
	color: #fcfcfc;
	font-size: 10px;
	font-weight: 900;
	line-height: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-sizing: border-box;
	display: block;
	position: relative;
	z-index: 20;
}

#latest h3 i {
	margin-left: 3px;
	font-size: 9px;
}

#latest #lphotos table {
	margin: 0 auto;
    border-spacing: 4px;
    border-collapse: collapse;
}

#latest #lphotos table td {
    padding: 4px;
}

#latest #lphotos table td img {
    margin: 0; padding: 4px;
    max-width: 54px;
    height: auto;
	border: 1px solid #e1e1e1;
    vertical-align: bottom;
    position: relative;
    z-index: 10;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}

#latest #lphotos table td img:hover {
	border-color: #1a1a1a;
}

#latest #lnews ul {
	margin-top: 20px;
	padding: 0;
	display: block;
}

#latest #lnews ul li {
	margin-bottom: 15px;
	padding: 0;
	font-size: 11px;
	font-weight: 900;
	line-height: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	position: relative;
	gap: 10px;
}

#latest #lnews ul li .udate {
	padding: 10px;
	background: #e0401f;
	color: #fcfcfc;
	text-align: center;
	display: inline-block;
	flex-basis: 9%;
}

#latest #lnews ul li .utitle {
	padding: 10px;
	background: #e1e1e1;
	font-weight: 700;
	color: #1a1a1a;
	display: inline-block;
	flex-basis: 100%;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}

#latest #lnews ul li .utitle:hover, #latest h3 a:hover {
	color: #e0401f;
}

/* POSTS */

section#content {
	min-width: 800px;
	max-width: 800px;
}

section#nfcontent {
	min-width: 100%;
	max-width: 100%;
}

article {
	margin: 0 auto 80px auto;
	padding: 0;
	display: block;
	position: relative;
}

article .pinfo {
    margin: 0 auto 10px auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
	display: block;
}

article .pinfo span {
	padding: 5px 10px;
    background: #0099bb;
    color: #fcfcfc;
    font-size: 8px;
    font-weight: 700;
    line-height: 100%;
	display: inline-block;
}

article:nth-of-type(even) .pinfo span {
    background: #e0401f;
}

article .pinfo span b {
    font-weight: 900;
}

article h1.title, article h2 {
    margin: 0 auto;
    padding-bottom: 12px;
    color: #1a1a1a;
	font-family: 'Oswald', sans-serif;
	font-size: 27px; font-weight: 700;
	line-height: 120%;
	text-align: center;
	text-transform: uppercase;
    box-sizing: border-box;
    border-bottom: 1px dashed #d2d2d2;
	display: block;	
}

article .featured {
	margin: 15px auto 0 auto;
	padding: 0;
	background: transparent;
	position: relative;
	display: block;
}

article .featured img {
	margin: 0 auto;
	width: 100%;
	height: auto;
	vertical-align: bottom;
	position: relative;
	z-index: 20;
}

article .entry {
    margin: 15px auto 0 auto;
	text-align: justify;
    letter-spacing: 0.015em;
	display: block;
	position: relative;
	z-index: 25;
}

article .cbox, aside .proj ul.links {
	margin: 25px auto 0 auto;
    padding: 15px 0;
    font-size: 8px;
	line-height: 100%;
	text-transform: uppercase;
	letter-spacing: 0.25em;	
	border-width: 1px 0;
	border-style: dashed;
	border-color: #d2d2d2;
	position: relative;
	display: block;
}

article .cbox ul.post-categories {
    margin-left: 10px;
    padding: 0;
    background: #e1e1e1;
    text-align: left;
    display: inline;
}

article .cbox ul.post-categories li, aside .proj ul.links li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

article .cbox ul.post-categories li a, aside .proj ul.links li a {
	color: #1a1a1a;
    position: relative;
}

article .cbox ul.post-categories li a:hover, aside .proj ul.links li a:hover {
    text-decoration: underline;
}

article .cbox ul.post-categories li::after, aside .proj ul.links li::after {
	content: '\2014';
    margin: 0 10px;
    display: inline-block;
    position: relative;
}

article .cbox ul.post-categories li:last-child::after, aside .proj ul.links li:last-child::after {
    display: none;
}

/* POST ELEMENTS */

article .entry p, aside .sidebox p {
	margin: 0 0 12px 0;
}
 
article .entry b, article .entry strong, aside .sidebox b, aside .sidebox strong {
	color: #1a1a1a;
	font-weight: 700;
}

article .entry img, article .entry img a, aside .sidebox img, aside .sidebox img a  {
    background: #d2d2d2;
	margin: 4px; padding: 5px;
	border: 1px solid #d2d2d2;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}

article .entry img:hover, article .entry img a:hover, aside .sidebox img:hover, aside .sidebox img a:hover {
    background: transparent;
}

article .entry a, aside .sidebox a {
    color: #0099bb;
    font-weight: 700;
}

article:nth-of-type(even) .entry a {
	color: #e0401f;
}

article .entry a:hover, aside .sidebox a:hover {
    color: #1a1a1a;
}

article .entry ul li, aside .sidebox ul li {
	margin: 8px auto;
	padding: 6px 0;
	background: transparent;
	list-style: none;
	border-bottom: 1px solid #d2d2d2;
}

article .entry ul li::before {
	content: '';
	margin: 0 10px 2px 0;
	width: 6px; height: 6px;
	background: #d2d2d2;
	display: inline-block;
	position: relative;
}

aside .sidebox ul li i {
	margin-right: 5px;
	font-size: 11px;
}

article .entry blockquote, aside blockquote {
	margin: 15px auto;
	padding: 20px;
	background: transparent;
	font-size: 14px;
	font-weight: 300;
	font-style: italic;
	border: 1px solid #d2d2d2;
	box-sizing: border-box;
	position: relative;
	z-index: 15;
 	quotes: "\201C" "\201D" "\2018" "\2019";
}

article .entry blockquote:before {
	content: '\201C';
	top: 0; left: 0;
	margin: 15px; padding: 0;
	background: transparent;
	color: #1a1a1a;
	font-family: 'Old Standard TT', serif;
	font-size: 90px; font-weight: 700;
	position: absolute;
	line-height: 100%;
	text-align: center;
	display: inline-block;
	opacity: 0.05;
	z-index: 25;
}

article .entry blockquote cite {
	position: absolute;
	bottom: 0; right: 0;
	margin: 0 15px -4px 0;
	padding: 0 10px;
	background: #fcfcfc;
	color: #d2d2d2;
	font-size: 10px;
	font-weight: 900;
	font-style: italic;
	line-height: 100%;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.15em;
	display: inline-block;
	z-index: 25;
}

article .entry blockquote cite a, article:nth-of-type(even) .entry blockquote cite a {
	color: #1a1a1a;
}

aside blockquote {
	padding: 10px 15px;
	font-size: 12px;
	border-style: dashed;
}

aside blockquote p:only-of-type, section#nfcontent article .entry p {
    margin-bottom: 0;
}

article .gallery {
	margin: 20px 0;
	background-image: url("../images/gallery.png");
	background-position: left center;
	background-repeat: no-repeat;
	max-width: 100%;
	min-height: 70px;
	padding-left: 90px;
	font-size: 12px;
	box-sizing: border-box;
	position: relative;
	display: -webkit-box;
	display: -moz-box;
	-webkit-box-align: center;
	-moz-box-align: center;
}

article a.more-link, article:nth-of-type(even) a.more-link {
	margin: 15px auto;
	padding: 8px 8px 10px 8px;
	background: #1a1a1a;
	color: #fcfcfc;
	font-size: 10px;
	font-weight: 900;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 1px solid #1a1a1a;
	display: table;
	position: relative;
}

article a.more-link:hover {
	background: #fcfcfc;
	color: #1a1a1a;
}

iframe, embed, object, video {
	max-width: 100%;
	margin: 10px auto;
	padding: 0;
}

#searchform {
	margin: 0 auto;
	color: #7d7d7d;
	position: relative;
}

#searchform #s {
	width: 100%;
	background: #e1e1e1;
	color: #7d7d7d;
	margin: 0 auto; padding: 10px;
	font-family: 'Lato', sans-serif;
	font-size: 11px; font-weight: 400;	
	text-transform: none;
	letter-spacing: 0.05em;
	border: 1px solid #e1e1e1;
	box-sizing: border-box;
	display: block;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}

#searchform::after {
	content: "\f002";
	position: absolute;
	top: 20%; right: 10px;
	margin: auto;
	color: #7d7d7d;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

#searchform input#s:focus { background: #fcfcfc; outline: none; border-color: #7d7d7d; }
input::-webkit-input-placeholder { color: #7d7d7d !important; }
input::-moz-placeholder { color: #7d7d7d !important; }
input::-ms-input-placeholder { color: #7d7d7d !important; }
#searchsubmit, .screen-reader-text { display:none; }

/* COMMENTS */

article .entry ol.commentslist {
	clear: both;
	margin: 15px auto 0 auto;
}

article .entry ol, article .entry ul { 
    list-style: none;
}

article .entry ol.commentslist li {
    margin-bottom: 20px;
	text-indent: 0px;
	border: none;
	line-height: 24px;
	list-style-type: none;
}

article .entry ol.commentslist li::before {
	display: none;
}

article .entry ol.commentslist ul.children { 
    margin: 15px 0 0 15px; 
    background-color: transparent; 
    border-width: 0 0 0 1px; 
    border-style: solid; 
    border-color: #e1e1e1;
    padding: 0 15px; 
    box-sizing: border-box; 
}

article .entry ol.commentslist li .avatar { 
	margin: 0 8px 0 0;
	padding: 3px;
	background: #e1e1e1;
	float: left;
	border: none;
}

article .entry ol.commentslist cite, article .entry ol.commentslist cite a, article .entry ol.commentslist .comment-meta a {
	color: inherit;
	font-weight: 700;
	font-style: normal;
}

article .entry ol.commentslist p {
	margin: 15px 0px;
	text-transform: none;
	text-align: left;
}

article .entry ol.commentslist .cancel-comment-reply {
	margin-left: 10px;
}

#commentform input[type=text], #commentform textarea {
	outline: none;
	margin: 10px 10px 10px 0; padding: 5px 10px;
    background: #e1e1e1;
	color: #7d7d7d;
	font-family: 'Lato', sans-serif;
	font-size: 11px; font-weight: 400;	
	line-height: 24px;
	letter-spacing: 0.05em;
	border: 1px solid #e1e1e1;
	box-sizing: border-box;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
}
 
#commentform input[type=text]:focus, #commentform textarea:focus, article .entry input:focus {
	background: #fcfcfc;
	outline: none !important;
	border-color: #7d7d7d;
}

article .entry input {	
	margin: 0 10px 0 0;
	padding: 5px 10px;
    background: #e1e1e1;
	color: #7d7d7d;
	font-family: 'Lato', sans-serif;
	font-size: 11px; font-weight: 400;	
	line-height: 24px;
	letter-spacing: 0.05em;
	text-transform: none;
	border: 1px solid #e1e1e1;
	box-sizing: border-box;
}

article #submit {
	margin: 12px 0;
    padding: 8px 10px 10px 10px;
	background: #1a1a1a;
	color: #fcfcfc;
	font-size: 10px;
	font-weight: 900;
    line-height: 100%;
	text-transform: uppercase;
    text-decoration: none;
	letter-spacing: 0.05em;
    display: inline-block;
	border: none;	
	cursor: pointer;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
} 

article #submit:hover {
    background: #e0401f;
	color: #fcfcfc;
    text-decoration: none;
}

.error { font-size: 12px; font-style: italic; padding: 5px 0; color: #ff0000; }
input.error, textarea.error { background: transparent; color:#7d7d7d; }

/* SIDEBAR */

aside {
	min-width: 340px;
	max-width: 340px;
}

aside .sidebox {
	margin: 0 auto 50px auto;
	font-size: 12px;
	text-align: justify;
	display: block;
}

aside h4.sidetitle {
	margin: 0 auto 15px auto;
	padding: 0 0 10px 0;
	color: #1a1a1a;
	font-size: 11px;
	font-weight: 900;
	font-style: italic;
	line-height: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-sizing: border-box;
	border-bottom: 1px dashed #d2d2d2;
	display: block;
	position: relative;
	z-index: 20;
}

aside h4.sidetitle::before {
	content: '\f101';
	margin-right: 10px;
	font-family: 'Font Awesome 5 Free';
	font-size: inherit; font-weight: 900;
	font-style: normal;
	display: inline-block;
	position: relative;
}

/* PROJECTS */

aside .proj {
	margin: 0 auto 40px auto;
	padding: 0;
	border: none;
	display: block;
	position: relative;
}

aside .proj img {
	margin: 0; padding: 0;
	border: none;
}

aside .proj .info {
	margin: 5px auto 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 10px;
}

aside .proj .info .title, aside .proj .info .year {
	padding: 5px;
	background: #f7c200;
	color: #fcfcfc;
	font-size: 11px;
	font-weight: 900;
	line-height: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-sizing: border-box;
	flex-basis: 100%;
}

aside .proj .info .year {
	background: #1a1a1a;
	flex-basis: auto;
}

aside .proj .synopsis {
	margin: 5px auto 0 auto;
	text-align: justify;
}

aside .proj ul.links {
	margin: 10px auto 0 auto;
	padding: 10px 0;
	text-align: center;
}

aside .proj ul.links li {
	border-bottom: none;
}

/* PAGINATION */

#pagination {
	margin: 0 auto;
	padding: 0;
	font-size: 10px;
	text-align: left;
	text-transform: uppercase;
	display: block;
}

#pagination a, #pagination span {
	background: transparent;
	color: #7d7d7d;
	margin: 0 4px;
	padding: 7px;
	font-weight: 900;
	line-height: 100%;
	display: inline-block;
	border: 1px solid #d2d2d2;
}

#pagination .total {
	margin-left: 0;
	margin-right: 5px;
	letter-spacing: 0.1em;
}

#pagination .current {
	background: #d2d2d2;
	color: #7d7d7d;
	border-color: #d2d2d2;
}

#pagination a:hover, #pagination .total {
	background: #1a1a1a;
	color: #fcfcfc;
	border-color: #1a1a1a;
}

/* FOOTER */

footer {
	margin-top: 60px;
	margin-bottom: 30px;
}

footer ul {
	counter-reset: li;
}

footer ul li {
	margin: 0 1vw;
}

footer ul li::before {
	color: #0099bb;
}

footer #disc {
	margin: 0 auto;
	max-width: 1200px;
	font-size: 13px;
	font-weight: 300;
	text-align: justify;
	text-align-last: center;
	letter-spacing: 0.025em;
}