/*
Images for web portfolio generated by https://dimmy.club/ 
Laptops: Apple Macbook Choose Color Silver, Phones: Apple iPhoneX, Tablet HTC Nexus 9
Phone Top Right (resize to 800px), Tablet Bottom left (resize to 1050px)
Merge down to 1600px and save as webp and pNG

remove error log from hostinger later from advanced, php options etc

*/

:root {
	--violet-brand: #784a97;
	--violet-brand-rgb: 120, 74, 151;
	--purple-slate-brand: #706AA1;
	--purple-slate-brand-rgb: 112, 106, 161;
	--turquoise-brand: #46bac9;
	--turquoise-brand-rgb: 70, 186, 201;
	--blue-slate-brand: #69A8C0;
	--blue-slate-brand-rgb: 105, 168, 192;
	--greenBrand: #7CD5B1;
	--greenBrand-rgb: 124, 213, 177;
	--color-font: #555;
}

* {
	box-sizing: border-box; 
}

@font-face {
	font-family: 'icomoon';
	src: url('../../static/fonts/icomoon/fonts/icomoon.woff?vp4l9s') format('woff');
	font-weight: normal;
	font-style: normal;
}

html, body  { 
	height: 100%;
	width: 100%;
}

body {
	background-color: #fff;
	color: var(--color-font);
	line-height: 1.6;
	font-weight: 300;
	font-size: 20px;
}

body, input, button {
	font-family: 'Poppins', 'Segoe UI', 'Lucida Grande', Ubuntu, 'Trebuchet MS', serif; 
}

/* COLUMNS */

.col25 {
	width: 25%;
}

.col30 {
	width: 30%;
}

.col33 {
	width:33.33%;
	float: left;
}

.col35 {
	width: 35%;
}

.col50 {
	width: 50%;
}

.col65 {
	width: 65%;
}

.col70 {
	width: 70%;
}

.col75 {
	width:75%;
}

/* END COLUMNS */


/* TYPOGRAPHY */

a {
  color: #639CB2;
  text-decoration: none;
}

a:hover {
	color: #59B281;
}

a:focus {
	outline: 2px solid var(--blue-slate-brand);
}

strong, b {
	font-weight: 700;
}

em, i {
	font-style: italic;
}

h1 {
	font-weight: 200;
}

h6 {
	font-size: 100%;
}

h5 {
	font-size: 110%;
}

h4 {
	font-size: 130%;
}

h3 {
	font-size: 140%;
}

h2 {
	font-size: 150%;
}

h1, .heading-section {
	font-size: 170%;
}

@media(min-width: 750px) {
	h2 {
		font-size: 160%;
	}

	h1, .heading-section {
		font-size: 180%;
	}
}

.heading-section {
	font-weight: 200;
	margin-bottom: 20px;
}

.heading-title {
	font-size: 130%;
	margin-bottom: 10px;
}

.fontWeightBold {
	font-weight: 700;
}

.fontWeightMedium {
	font-weight: 500;
}

.fontWeightRegular {
	font-weight: 400;
}

.fontSizeSm {
	font-size: 90%;
}

.fontSizeXs {
	font-size: 80%;
}

.fontSizeXxs {
	font-size: 70%;
}

.fontSizeBase {
	font-size: 100%;
}

.smallCaps {
	font-variant: small-caps;
}

.codeDemo, .codeDemoEditable {
	color: #fff;
	background: var(--purple-slate-brand);
	border: 3px double;
	font-family: 'Inconsolata', monospace;
	font-size: 90%;
	display: block;
	padding: 14px;
	margin: 20px 0;
}

p, ul {
	margin-bottom: 10px;
}

li {
	padding-left: 6px;
	list-style: none;
}

.list-reset li {
	list-style: none;
	padding-left: 0;
}

/* END TYPOGRAPHY */


/* IMAGES */
img {
	max-width: 100%;
	height: auto;
}

/* END IMAGES */


/* FORMS */

label {
	display: inline-block;
	min-width: 100px;
}

input[type="submit"] {
	cursor: pointer;
}

textarea {
	vertical-align: top;
}

input[type="submit"], .btn {
	background: var(--blue-slate-brand);
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-variant: small-caps;
	text-transform: lowercase;
	font-size: 110%;
	line-height: 1;
	padding: 5px 8px 8px 8px;
	display: inline-block;
	text-align: center;
	border-radius: 3px;
} 

input[type="submit"], .btn, a.btn {
	color: #fff;
}

.btn--lg {
	font-size: 120%;
	padding: 14px 20px 20px 20px;
	min-width: 210px;
}

input {
	padding: 8px 8px;
	border: 1px solid var(--greenBrand);
	min-height: 38px;
}

input:focus {
	border-color: var(--purple-slate-brand);
	outline: none;
}

/* END FORMS */

/* GLOBAL STYLES */

.clear { 
	clear: both;
} 

.paddingTop {
	padding-top: 10px;
}

.paddingTop2 {
	padding-top: 20px;
}

.paddingBottomHalf {
	padding-bottom: 7px;
}

.paddingBottom {
	padding-bottom: 14px;
}

.paddingBottom2 {
	padding-bottom: 28px;
}

.row {
	margin-left: -14px;
	margin-right: -14px;
}

.col {
	padding-left: 14px;
	padding-right: 14px;
}

.flex {
	display: flex;
}

.flexWrap {
	flex-wrap: wrap;
}

.flexAlignCenter {
	align-items: center;
}

/* END GLOBAL STYLES */


/* PAGINATION */

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: 24px;
}

.pagination-each {
	border: 1px solid;
	border-radius: 4px;
	color: #fff;
	font-weight: 500;
	font-size: 80%;
	width: 38px;
	height: 38px;
	display: inline-flex;
	justify-content: center;
	margin: 8px;
	padding: 4px 8px;
}

.pagination-each--no.current {
	outline: 4px solid #ddd;
}

.pagination-each--no:nth-of-type(1n + 0) {
	border-color: var(--violet-brand);
	background-color: var(--violet-brand);
}

.pagination-each--no:nth-of-type(2n + 0) {
	border-color: var(--purple-slate-brand);
	background-color: var(--purple-slate-brand);
}

.pagination-each--no:nth-of-type(3n + 0) {
	border-color: var(--blue-slate-brand);
	background-color: var(--blue-slate-brand);
}

.pagination-each--no:nth-of-type(4n + 0) {
	border-color: var(--turquoise-brand);
	background-color: var(--turquoise-brand);
}

.pagination-each--no:nth-of-type(5n + 0) {
	border-color: var(--greenBrand);
	background-color: var(--greenBrand);
}

.pagination-each:hover, .pagination-each:focus {
	color: #fff;
	box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.2);
	transition: all 0.2s linear;
	outline: none;
}

.pagination-each.prev:before, .pagination-each.next:before {
	color: #666;
	font-family: "icomoon";
	font-size: 160%;
	line-height: 1.2;
}

.pagination-each.prev:before {
	content: "\e902";
}

.pagination-each.next:before {
  content: "\e905";
}

.pagination-each.disabled {
	display: none;
}


/* HEADER */

#header {
	padding: 0 0 30px 0;
}

.logo {
	color: var(--color-font);
	font-size: 210%;
	line-height: 1;
	padding: 11px 0 0 0;
	font-family: Raleway, sans-serif;
	display: block;
}

#logo a:hover {
	opacity: 0.7;
	transition: all 0.2s ease-in;
}

#linksPersonal a:first-of-type {
	color: #4296B6;
}

#linksPersonal a:nth-of-type(2) {
	color: #57a87b;
}

#linksPersonal a:nth-of-type(3) {
	color: #999;
}

.scrollAnimation {
	transition: all 0.4s ease-in;
}

.faded {
	opacity: 0;
	transition: all 0.5s ease-in;
}


/* END HEADER */

/* MAIN */

.main {
	display: flex;
	flex-wrap: wrap;
	padding: 10px 40px 20px 40px;
}

/* END MAIN */

.columnContentBlock {
	width: 100%;
}

.columnContent {
  padding: 0px 20px 20px 0;
	float: left;
}

.col35 {
	width: 35%;
	float: left;
}

.col65 {
	width: 65%;
	float: right;
}

.col33 {
	width: 33%;
	float: left;
}

.centerBlock {
	text-align: center;
}

.centerImg {
	display: block;
	margin: 0 auto;
}

.imgFilter {
	filter: grayscale(100%);
	transition: all 0.8s ease-in-out;
		
}
.imgFilter:hover {
	filter: none;
	transition: all 0.8s ease-in-out;
}

.logoSubHeading {
	color: #777;
	padding: 4px 0 2px;
}

#logoDecoration {
	position: fixed;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10;
}

.bottomAnchor {
	font-family: 'icomoon';
	position: fixed;
	bottom: 0;
	right: 10px;
	font-size: 250%;
	color: #eee;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-image: linear-gradient(to top, var(--turquoise-brand) 0%, #13de5d 33%, #643ce1 60%); /* W3C */
}

.bottomAnchor:hover {
	content: "fly to top";
}

.bottomAnchorAnimate {
	transition: all 2s ease-in;
	bottom: 110%;
	right:0px;
	opacity: 0;
}

.rainbowBlock {
	overflow: hidden;
}

.rainbowBlock div {
	width: 20%;
	height: 8px;
	float: left;
}

.violetBrand {
	background: var(--violet-brand);
}

.purpleSlateBrand {
	background: var(--purple-slate-brand);
}

.blueSlateBrand {
	background: var(--blue-slate-brand);
}

.turquoiseBrand {
	background: var(--turquoise-brand);
}

.greenBrand {
	background: var(--greenBrand);
}

.yellow {
	background: yellow;
}

.orange {
	background: orange;
}

.red {
	background: red;
}

.spacer {
	height: 15px;
	width: 100%;
}

.displayBlock {
	display: block;
}

.show-on-screen-readers {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
}

.skip-link-nav:focus {
	overflow: visible;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  z-index: 15;
}

/* END GLOBAL STYLES */

/* NAVIGATION MAIN */

.nav {
	position: fixed;
	float: left;
	max-width: 360px;
}

#posts {
	float: left;
	padding-left: 30px;
	margin-top: 142px;
	margin-left: 30%;
	max-width: 1000px;
} 

.postCategory {
	display: flex;
	justify-content: space-between;
	flex: 1;
	margin: 0 0 30px;
}

.categoryIconBlock {
	color: var(--color-font);
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 70%;
	font-weight: 400;
	margin: 0 0 15px 0;
}

.categoryIcon {
	color: #fff;
	border-radius: 4px;
	font-family: 'icomoon';
	font-size: 120%;
	box-sizing: border-box;
	padding: 4px 8px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 4px;
	width: 38px;
	height: 38px;
}

.categoryIcon--lg {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.categoryIcon--lg {
	width: 56px;
	height: 56px;
	margin-right: 14px;
	margin-left: 14px;
	margin-bottom: 7px;
}

.categoryIconBlock:hover {
	opacity: 1;
}

.categoryIcon-code {
	background: var(--violet-brand);
	font-size: 140%;
}

.categoryIcon-code:before {
	content: '\e906';
}

.categoryIconBlockCurrent .categoryIconContent-code, .categoryIconContent-code:hover {
	color: var(--violet-brand);
}

.categoryIcon-portfolio-web {
	background: var(--purple-slate-brand);
	font-size: 110%;
}

.categoryIcon-portfolio-web:before {
	content: '\e907';
}

.categoryIconBlockCurrent .categoryIconContent-portfolio-web, .categoryIconContent-portfolio-web:hover {
	color: var(--purple-slate-brand);
}

.categoryIcon-books {
	background: var(--blue-slate-brand);
	font-size: 150%;
}

.categoryIcon-books:before {
	content: '\e920';
}

.categoryIconBlockCurrent .categoryIconContent-books, .categoryIconBlock-books:hover .categoryIconContent-books {
	color: #69A8C0;
}

.categoryIcon-travel {
	background: var(--turquoise-brand);
	font-size: 150%;
}

.categoryIcon-travel:before {
	content: '\e904';
}

.categoryIconBlockCurrent .categoryIconContent-travel, .categoryIconBlock-travel:hover .categoryIconContent-travel {
	color: #46bac9;
}

.categoryIcon-ecology {
	background: var(--greenBrand);
	font-size: 130%;
}

.categoryIcon-ecology:before {
	content: '\e9a4';
}

.categoryIconBlockCurrent .categoryIconContent-ecology, .categoryIconContent-ecology:hover {
	color: var(--greenBrand);
}

.categoryIconBlockCurrent {
	font-weight: 500;
}

.categoryIconBlockCurrent:after {
	content: '\e901';
	font-family: 'icomoon';
	color: #d83e6f;
	position: absolute;
	top: -34px;
	font-size: 140%;
	vertical-align: top;
}

/* Search */

#k_search_form {
	margin: 14px 0 36px;
}

.search-form-block {
	display: inline-flex;
}

.search-form-block p {
	display: inline-flex;
	margin-bottom: 0;
}

.search-form-block input[type="submit"] {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* End Search */

.navInner {
	border-right: 1px dotted #999;
	position: relative;
	margin-top: 14px;
}

.navInner:after {
	content: "";
	position: absolute;
	right: -8px;
	width: 12px;
	height: 15px;
	border: 1px dotted #888;
	bottom: -16px;
	box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0);
}

.navInner:before {
	content: "";
	position: absolute;
	right: -8px;
	width: 12px;
	height: 15px;
	border: 1px dotted #888;
	top: 0px;
	background: #fff;
	box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0);
}

.postCategory a:hover {
	color: #aaa;
	transition: all 0.1s ease-in;
}

.postA {
	color: var(--color-font);
	display: block;
}

.postA:hover {
	color: var(--color-font);
}

.navCopyright {
	font-size: 60%;
	padding-top: 20px;
	margin-top: auto;
}


/* END NAVIGATION MAIN */

/* POSTS HOME*/

.postTitle {
	font-size: 120%;
}

.postDate {
	margin-bottom: 34px;
}

.postBlock, .postImgOptional {
	float: left;
	/*margin-bottom: -10000px;
	padding-bottom: 10000px;*/
}

.postWrap {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0 20px 0;
	box-shadow: 0px 0px 0px 20px transparent;
}

.postWrap:hover {
	transition: all 0.2s ease-in;
}

.postBlock {
/*	width: 60%;*/
	position: relative;
	padding-right: 30px;
	flex: 1;
}

.postTeaserCategory, .postEachCategory {
	font-size: 70%;
	font-weight: 400;
	text-transform: uppercase;
}

.date {
	font-style: italic;
	padding: 6px 0 0 0;
}

#comment_form input[type="text"], #comment_form textarea {
		width: 60%;
}

.postBody {
	padding-bottom: 40px;
	overflow: hidden;
}

.postBody a:hover, .comment a:hover {
	transition: all 0.15s linear;
}

.postBody a[href^="/"] {
	color: yellow !important;
} /*not working waaah for external link styling*/


.postBody table {
	border: 1px solid #bbb;
}

.postBody td {
	border: 1px solid #bbb;
	font-size: 90%;
	padding: 2px 6px;
}

.postBody td img {
	vertical-align: top;
}

.postSubHeading {
	font-weight: 400;
}

.postImgContent {
	margin-bottom: 24px;
}

.postImgContentImgWrap {
	margin-bottom: 34px;
}

.postImgOptional {
	margin-left: auto;
}

.postBlurb  {
	font-size: 80%;
	padding: 10px 0 30px 0;
}

.postImgOptional img {
	padding: 14px 0px 14px 0;
	display: block;
}

.postCode:hover {
	background: #d8eaf0;
	transition: all 0.3s ease-in;
}

.postWrap.code:hover {
	background: rgba(var(--violet-brand-rgb), 0.2);
	box-shadow: 0px 0px 0px 20px rgba(var(--violet-brand-rgb), 0.2);
}

.postWrap.portfolio-web:hover {
	background: rgba(var(--purple-slate-brand-rgb), 0.2);
	box-shadow: 0px 0px 0px 20px rgba(var(--purple-slate-brand-rgb), 0.2);
}

.postWrap.ecology:hover {
	background: rgba(var(--greenBrand-rgb), 0.2);
	box-shadow: 0px 0px 0px 20px rgba(var(--greenBrand-rgb), 0.2);
}

.postWrap.travel:hover {
	background: rgba(var(--turquoise-brand-rgb), 0.2);
	box-shadow: 0px 0px 0px 20px rgba(var(--turquoise-brand-rgb), 0.2);
}

.postWrap.books:hover {
	background: rgba(var(--blue-slate-brand-rgb), 0.2);
	box-shadow: 0px 0px 0px 20px rgba(var(--blue-slate-brand-rgb), 0.2);
}

./*postTags {
	clear: both;
	padding-right: 30px;
	font-size: 90%;
}*/

.postRelatedTagsBlock:has(.postRelatedTagWrap) {
	display: none;
}

/*.postTags h6 {
	padding-bottom: 10px;
}
*/
.tagA {
	padding: 2px 6px 4px;
	margin: 2px 6px 0 0;
	border-radius: 3px;
	background: rgba(72,61,139,0.05);
	font-size: 70%;
	font-weight: 400;
	display: inline-flex;
}

.tagA--lg {
	font-size: 90%;
	padding: 6px 12px;
	margin: 6px 12px 0 0;
}

.btnWebsiteLink {
	display: block;
	font-weight: 700;
	font-size: 90%;
	text-transform: uppercase;
}

.btnWebsiteLinkIcon:before {
	content: "\e908";
	font-family: "icomoon";
	padding-left: 7px;
	/*position: absolute;
	top: 7px;
	right: 0;*/
}

/*current highlighted states */

.tagA:hover, .tagAActive, .highlighted, .postEachTags:hover {
	background: var(--purple-slate-brand) ;
	color: #fff;
	transition: all 0.1s linear;
}


/* END POSTS HOME*/

/* post quote */

.postQuote {
	font-family: "Inconsolata";
	font-size: 180%;
	margin: 40px 0 64px auto;
	text-align: right;
	max-width: 750px;
}

.postEachTags {
	padding: 0px 2px 2px 2px;
}

.postColorPalette {
	display: flex;
	margin-top: 8px;
}

.postColorPalette .white, .postColorPalette .u1tYellowLight {
	border: 1px solid #ddd;
}

.postColorPalette div {
	height: 20px;
	width: 30px;
}

.postGallery {
	align-items: flex-end;
}

.imgModalLink, .imgModal {
	display: block;
}

.imgModalLink {
	border: 2px solid transparent;
}

.imgModalLink:hover, .imgModalLink:focus {
	border-color: #46bac9;
}

/* POST: IMAGES */

.postImgRight img, .postImgLeft img, .postImgExtraWide, .postImgBanner, .postImgLandscape, .postImgPortrait {
	display: block;
	margin: 24px auto;
}

.postImgExtraWide, .postImgBanner {
	width: 100%;
}

.postImgBanner {
	margin-top: 12px;
}

.postImgPortraitWrap img, .postImgPortraitWrap .caption {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.full {
	width: 100%;
}

.thumbnailGallery {
	padding: 20px 0;	
}

.thumbnail {
	padding: 10px 10px 10px 10px;
	margin: 0 auto;
}

.caption {
	text-align: center;
	margin: 10px auto 24px auto;
	padding: 0 5px;
	font-size: 80%;
}

.caption-full-width {
	text-align: right;
}

/* END POST: IMAGES */

/* COMMENTS */
#comments {
	padding: 20px 0;
}

.comment {
	padding: 16px 0;
	font-size: 90%;
	border-bottom: 1px dotted #999;
}

.commentUser {
	color: #12a3E3;
}

/* END COMMENTS */


/* MEDIA QUERIES */

@media only screen and (min-width: 500px) {
	.wrapperpostImgRight, .wrapperpostImgLeft {
		display: flex;
	}

	.wrapperpostImgLeft {
		flex-direction: row-reverse;
	}

	.postImgContent {
		flex: 1;
	}

	.postImgRight {
		width: 40%;
		margin-left: 24px;
	}

	.postImgLeft {
		width: 40%;
		margin-right: 24px;
	}
}

@media only screen and (min-width: 750px) {
	#logoDecoration {
		left: 16px;
		top: 18px;
		right: auto;
	}

	.rainbowBlock div {
		width: 8px;
		height: 20px;
		float: none;
	}

	.nav {
		display: flex;
		flex-direction: column;
		min-height: 100vh;
	}

	.postCategory {
		display: block;
	}	

	.categoryIconBlockCurrent:after {
		position: static;
		padding-left: 8px;
	}

	.categoryIconBlock {
		flex-direction: row;
	}

	.categoryIconBlock--lg {
		flex-direction: column;
	}

	.categoryIcon {
		margin-top: 4px;
		margin-right: 12px;
	}

	.categoryIconBlock--lg {
		display: flex;
		margin-bottom: 7px;
	}

	.categoryIconBlock:before {
		margin-right: 12px;
	}

	.postTitle {
		font-size: 140%;
		margin: 7px 0 0 0;
	}

	.navCopyright--lg {
		display: none;
	}
}

@media only screen and (min-width: 1110px) {
	
	.postImgLandscapeWrap img, .postImgLandscapeWrap .caption {
		max-width: 700px;
		margin-left: auto;
		margin-right: auto;
	}

	.postWrap {
		display: flex;
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 749px) {
	
	.main {
		padding: 10px 20px 20px 20px;
	}

	.bottomAnchor {
		right: 5px;
		font-size: 160%;
	}

	#comment_form input[type="text"], #comment_form textarea {
		width: 90%;
    }

	.nav {
		position: static;
	}
	
	.navInner, .navInner:after, .navInner:before {
		border: none;
	}
	
	#posts {
		margin-top: 40px;
		margin-left: 0;
		padding-left: 0;
		padding-right: 0;
	}
	
	#posts, .nav, .postImgBlock, .postBlock, .postImgOptional {
		width: 100%;
		float: none;
	}
	
	.postBlurb {
		padding: 10px 0 0px 0;
	}
	
	.posts {
		padding-left: 0px;
		clear: both;
	}
	
	.postBlock {
		padding-right: 20px;
	}

	.columnContent {
		padding-right: 0;
	}

	.navCopyright--sm {
		display: none;
	}
}

/* Div Color Box  */

.div-color {
	width: 30px;
  height: 30px;
  display: inline-block;
  float: right;
  margin: 10px 0;
}

/* END MEDIA QUERIES */

/* MARGIN RESET  */

.marginReset {
	margin: 0;
}

.marginLeftReset {
	margin-left: 0;
}

.marginLeftAuto {
	margin-left: auto;
}

.paddingReset {
	padding: 0;
}