* {
    margin: 0;
    padding: 0;
}

::selection {
	background: #ffdf90;
	color: #080807;
	text-shadow: none;
}
::-moz-selection {
	background: #ffdf90;
	color: #080807;
	text-shadow: none;
}

div#qTip {
  	padding: 5px 10px;
   	display: none;
   	background: #f8cf68;
   	color: #080807;
   	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 #f8cf68;
}

/* MAIN */

body {
	background: #f9f6f2;
	color: #4a4948;
	font-family: 'Lora', serif;    
	font-size: 12px;
    font-optical-sizing: auto;
	line-height: 24px;
}

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

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

/* MENU */

nav, article .cbox, footer {
    width: 100%;
    margin: 30px auto;
    color: #080807;
    font-size: 11px;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

nav ul.menu, footer ul, article .cbox ul.post-categories {
    margin: 0 auto;
    padding: 0;
    display: block;
    position: relative;
	z-index: 20;
}

nav ul.menu li, footer ul li, article .cbox ul.post-categories li {
    margin: 0 2vw;
    padding: 0 10px;
    background: #f9f6f2;
    display: inline-flex;
    align-items: center;
	position: relative;
	z-index: 20;
}

nav ul.menu li a, footer ul li a {
    color: inherit;
}

nav ul.menu li a:hover, footer ul li a:hover {
    color: #f76898;
}

nav ul.menu::before, article .cbox ul.post-categories::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; 
    width: 100%; height: 3px;
    background: #f9f6f2;
    border-top: 1px solid #080807;
    border-bottom: 1px solid #080807;
    margin: auto;
    display: block;
    z-index: 5;
}

#show-menu {
	width: 96%;
	margin: 0 auto;
	padding: 15px;
	background: #080807;
	color: #f9f6f2;
	text-align: left;
	box-sizing: border-box;
	cursor: pointer;
    display: none;
	position: relative;
}

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

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

.active {
	display: block;
}

/* HEADER */

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

/* LATEST & WELCOME */

#wlbox {
    width: 100%; 
    max-width: 1190px;
    margin: 40px auto 0 auto;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 20px;
    box-sizing: border-box;
    position: relative;
}

#wlbox #latest {
    flex-basis: 50%;
    position: relative;
}

#wlbox #welcome {
    line-height: 27px;
    text-align: justify;
	letter-spacing: 0.025em;
    flex-basis: 50%;
    position: relative;
}

#wlbox h3 {
	position: relative;
    margin-bottom: 15px;
    padding-left: 10px;
	background: #f9f6f2;
	color: #080807;
	font-size: 10px; font-weight: 600;
	line-height: 100%;
	letter-spacing: 0.05em;
	text-align: left;
	text-transform: uppercase;
    border-left: 40px solid #f76898;
	display: block;
	z-index: 20;
}

#wlbox #welcome h3 {
    border-left-color: #080807;
}

#wlbox #welcome b {
    color: #f76898;
    font-weight: 600;
}

#wlbox #welcome u {
    text-decoration-color: #4a4948;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

#wlbox #welcome i {
    font-style: italic;
    font-weight: 600;
}

#wlbox #latest table {
    border-spacing: 4px;
    border-collapse: collapse;
}

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

#wlbox #latest table tr td:first-of-type {
    padding-left: 0;
}

#wlbox #latest table td img {
    margin: 0; padding: 0;
    max-width: 54px;
    height: auto;
    filter: grayscale(0%);
    vertical-align: bottom;
    position: relative;
    z-index: 10;
	-webkit-transition: all 0.35s ease-out;
	-moz-transition: all 0.35s ease-out;
	-o-transition: all 0.35s ease-out;
}

#wlbox #latest table td img:hover {
	filter: grayscale(100%);
}

/* POSTS */

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

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

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

article h1.title, article h2 {
	margin: 0;
    padding-bottom: 10px;
	color: #080807;
	font-family: 'Lato', sans-serif;
	font-size: 27px; font-weight: 300;
	text-align: center;
	text-transform: uppercase;
	line-height: 120%;
    border-bottom: 1px solid #080807;
	display: block;	
	position: relative;
	z-index: 20;
}

article h1.title a:hover {
	color: #f76898;
}

article .pinfo, aside .proj ul {
    margin: 5px auto 0 auto;
    padding: 0 5px;
    background: #080807;
    color: #f9f6f2;
	font-family: 'Lora', serif;
	font-size: 10px;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0.1em;
    box-sizing: border-box;
	display: block;
	position: relative;
	z-index: 20;
}

article .pinfo b {
    font-weight: 700;
}

article .featured {
	margin: 5px 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 .pinfo::before, #show-menu::after {
	content: '';
	position: absolute;
	left: 2px; top: 0; bottom: 0;
	width: 7px; height: 100%;
	background: #080807;
	border-width: 0 7px 0 3px;
	border-style: solid;
	border-color: #f9f6f2;
	margin: auto;
	display: inline-block;
	z-index: 25;
}

#show-menu::after {
	left: unset; right: 2px;
	border-width: 0 3px 0 7px;
}

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

article .cbox {
	margin: 20px auto 0 auto;
}

article .cbox ul.post-categories li {
	margin: 0 10px;
	padding: 5px 10px;
	font-size: 10px;
	border-width: 1px 0;
	border-style: solid;
	border-color: transparent;
	-webkit-transition: all 0.35s ease-out;
	-moz-transition: all 0.35s ease-out;
	-o-transition: all 0.35s ease-out;
}

article .cbox ul.post-categories li:hover {
	border-color: #080807;
}

/* 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: #080807;
	font-weight: 700;
}

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

article .entry img:hover, article .entry img a:hover, aside .sidebox img:hover, aside .sidebox img a:hover, #latest table td:hover img {
    border-color: #080807;
}

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

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

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

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

article .entry blockquote, aside blockquote {
	margin: 15px auto;
	padding: 20px;
	background: transparent;
	border: 1px solid #4a4948;
	box-sizing: border-box;
	position: relative;
	z-index: 15;
 	quotes: "\201C" "\201D" "\2018" "\2019";
}

article .entry blockquote:before, article .entry blockquote::after {
	content: '\201C';
	font-family: 'Old Standard TT', serif;
	font-size: 40px; font-weight: 700;
	position: absolute;
	top: 0; left: 0;
	height: 1px;
	margin: -1px 0 0 8px;
	padding: 0 5px;
	background: #f9f6f2;
	color: #080807;
	text-align: center;
	display: inline-block;
	z-index: 25;
}

article .entry blockquote:after {
	content: '\201D';
	top: unset; left: unset;
	bottom: 0; right: 0;
	margin: 0 8px -1px 0;
	padding: 0 5px;
}

article .entry blockquote a {
	color: #4a4948;
	text-decoration: underline;
    text-underline-offset: 2px;
}

aside blockquote {
	padding-top: 15px;
	padding-bottom: 15px;
	font-style: italic;
	letter-spacing: 0.025em;
	border-color: #e0dede;
}

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

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

article a.more-link {
	margin: 20px auto 0 auto;
	padding: 5px 10px;
	background: #080807;
	color: #f9f6f2;
	font-size: 10px;
	font-weight: 700;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: table;
	position: relative;
}

article a.more-link:hover {
	background: #f76898;
	color: #f9f6f2;
	text-decoration: none;
}

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

.aff a, .aff a:hover {
    display: inline-block;
	font-family: 'Lato', sans-serif;
    width:75px;
    height: 35px;
    line-height:15px;
    text-align: center;
    font-size: 7pt;
    letter-spacing:.75px;
    color: #000000!important;
    text-transform: uppercase;
    margin: 2px; 
    padding: 0px;
	text-shadow: none;
    text-decoration: none;
    margin-bottom:3px;
    padding-top:9px;
    background-color: #fbfbfb;
    font-weight: 600;
	border-bottom: 1px solid #B41532;
}

.aff b {
	font-family: 'Lora', sans-serif;
    text-transform: uppercase;
    color: #000000;
    font-size: 7pt;
    font-weight: bold;
    text-shadow: none;
    letter-spacing: .75px;
}

.accordion {
  background-color: #060606;
  color: #FBFBFB;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  font-family: Lora;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 800!important;
	margin-bottom: 1px;
	line-height: 200%;
}

.active, .accordion:hover {
  background-color: #060606;
}

.panel {
  padding: 0 18px;
  background-color: #F9F6F2;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion:after {
  content: '\02D6';
  color: #FBFBFB;
  float: right;
  margin-left: 5px; 
	font-size: 34px;
    position: relative;
    bottom: 6px;
	font-weight: normal;
}

.active:after {
  content: '\02D7'; /* Unicode character for "minus" sign (-) */
}

#searchform {
	margin: 0 auto;
	color: #4a4948;
}

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

#searchform input#s:focus { background: #f9f6f2; outline: none; border-color: #4a4948; }
input::-webkit-input-placeholder { color: #4a4948 !important; }
input::-moz-placeholder { color: #4a4948 !important; }
input::-ms-input-placeholder { color: #4a4948 !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 ul.children { 
    margin: 15px 0 0 15px; 
    background-color: transparent; 
    border-width: 0 0 0 1px; 
    border-style: solid; 
    border-color: #e0dede;
    padding: 0 15px; 
    box-sizing: border-box; 
}

article .entry ol.commentslist li .avatar { 
	margin: 0 8px 0 0;
	padding: 3px;
	background: #e0dede;
	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: #e0dede;
	color: #4a4948;
	font-family: 'Lora', serif;
	font-size: 11px; font-weight: 400;	
	line-height: 24px;
	letter-spacing: 0.05em;
	border: 1px solid #e0dede;
	box-sizing: border-box;
	-webkit-transition: all 0.35s ease-out;
	-moz-transition: all 0.35s ease-out;
	-o-transition: all 0.35s ease-out;
}
 
#commentform input[type=text]:focus, #commentform textarea:focus, article .entry input:focus {
	background: #f9f6f2;
	outline: none !important;
	border-color: #4a4948;
}

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

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

article #submit:hover {
    background: #f76898;
	color: #f9f6f2;
    text-decoration: none;
}

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

/* SIDEBAR */

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

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

aside h4.sidetitle {
	margin: 0 auto 15px auto;
	padding-bottom: 5px;
	color: #080807;
	font-size: 11px;
	font-weight: 600;
	line-height: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	box-sizing: border-box;
	border-bottom: 4px double #080807;
	display: block;
	position: relative;
	z-index: 20;
}

aside h4.sidetitle span {
	padding-right: 10px;
	display: inline-block;
	position: relative;
	z-index: 20;
}

aside h4.sidetitle span::after {
	content: '';
	position: absolute;
	left: 0; bottom: -9px;
	width: 100%; height: 4px;
	margin: auto;
	background: #080807;
	border-right: 4px solid #f9f6f2;
	display: inline-block;
	z-index: 25;
}

/* PROJECTS */

aside .proj {
	margin: 0 auto 40px auto;
	display: block;
}

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

aside .proj .title {
	margin: 0 auto;
	padding-bottom: 10px;
	color: #080807;
	font-size: 16px;
	font-weight: 500;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.075em;
	border-bottom: 1px solid #080807;
	display: block;
	position: relative;
	z-index: 25;
}

aside .proj .synopsis {
	margin: 10px auto 0 auto;
}

aside .proj ul {
	font-weight: 600;
	line-height: 100%;
	text-align: center;
}

aside .proj ul li {
	width: auto;
	margin: 0;
	padding: 5px;
	font-size: 10px;
	border-right: 5px solid #f9f6f2;
	border-bottom: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	position: relative;
	-webkit-transition: all 0.35s ease-out;
	-moz-transition: all 0.35s ease-out;
	-o-transition: all 0.35s ease-out;
}

aside .proj ul li a {
	color: #f5efe6;
}

aside .proj ul li a:hover {
	color: #f8cf68;
}

aside .proj ul li:last-child {
	border-right: none;
}

aside .proj ul li:only-child {
	border-left: 5px solid #f9f6f2;
	border-right: 5px solid #f9f6f2;
}

/* PAGINATION */

#pagination {
	margin: 0 auto;
	padding: 0;
	font-size: 10px;
	text-align: center;
	text-transform: uppercase;
	border-width: 1px 0;
	border-style: solid;
	border-color: #080807;
	display: table;
}

#pagination a, #pagination span {
	background: #080807;
	color: #f9f6f2;
	margin: 0;
	padding: 5px 10px;
	line-height: 100%;
	display: inline-block;
}

#pagination a:hover {
	background: #f76898;
}

/* FOOTER */

footer {
	margin-top: 80px;
	max-width: 80%;
}

footer ul li {
	margin: 0 1vw;
	display: inline-block;
}

footer ul::before {	
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; 
    width: 100%; height: 5px;
	background-image: url("../images/header.png");
	background-position: center 98%;
	background-repeat: no-repeat;
	background-size: cover;
    margin: auto;
    display: block;
    z-index: 5;
}

footer #disc {
	margin: 15px auto 0 auto;
	max-width: 1190px;
	color: #4a4948;
	font-weight: 400;
	line-height: 24px;
	text-align: justify;
	text-align-last: center;
	text-transform: none;
	letter-spacing: 0.025em;
}