/*
Theme Name: de-architects
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  /* scroll-behavior: smooth; */
}

body {
  line-height: 1;
  background-color: whitesmoke;
}

a {
  text-decoration-skip-ink: auto;
}

a[href^='tel'] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea,
input[type='text'],
input[type='button'],
input[type='submit'],
input[type='reset'],
input[type='search'],
input[type='password'] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

input[type='search'] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 2px;
}

big {
  font-size: 120%;
}

small,
sup,
sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd,
tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del,
strike,
s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

address,
cite,
var {
  font-style: italic;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.sticky {}

.bypostauthor {}

.wp-caption {}

.wp-caption-text {}

.gallery-caption {}

.alignright {}

.alignleft {}

.aligncenter {}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0px 0 6px rgba(0, 0, 0, 0.1);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@charset "UTF-8";
/* CSS Document */
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
body,
object {
  width: 100%;
  max-width: 100%;
  font-family: 'times';
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*# # # # # # VARS # # # # # #*/

:root {
  --main-color: #000;
  --main-color-dimmed: #00000070;
  --scans-color: #000;
  --work-color: #505a5a;
  --work-color0: #505a5a;
  --work-color1: #6a7373; /* rgb(106, 115, 115) */
  --work-color2: #7c8383; /* rgb(124, 131, 131) */
  --work-color3: #8d9494; /* rgb(141, 148, 148) */
  --work-color4: #9fa4a4; /* rgb(159, 164, 164) */
  --news-color: #005090;
  --news-color0: #005090;
  --news-color1: #2669a1; /* rgb(38, 105, 161) */
  --news-color2: #407bac; /* rgb(64, 123, 172) */
  --news-color3: #598db7; /* rgb(89, 141, 183) */
  --news-color4: #739ec2; /* rgb(115, 158, 194) */
}
/*# # # # # # TYPO # # # # # #*/
@font-face {
  font-family: 'swis721_win95btroman';
  src: url('fonts/swiss_721_win95bt-webfont.eot');
  src: url('fonts/swiss_721_win95bt-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/swiss_721_win95bt-webfont.woff') format('woff'),
    url('fonts/swiss_721_win95bt-webfont.ttf') format('truetype'),
    url('fonts/swiss_721_win95bt-webfont.svg#swis721_win95btroman') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Swiss721BT-Bold';
  src: url('fonts/Swiss721BT-Bold.eot');
  src: url('fonts/Swiss721BT-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Swiss721BT-Bold.woff') format('woff'),
    url('fonts/Swiss721BT-Bold.ttf') format('truetype'),
    url('fonts/Swiss721BT-Bold.svg#Swiss721BT-Bold') format('svg');
  font-weight: normal;
  font-style: bold;
}

.kis {
  font-family: 'adobe-kis', sans-serif;
}

.swiss {
  font-family: 'swis721_win95btroman';
  font-weight: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'adobe-kis', sans-serif;
  width: 100%;
  text-align: left;
  position: relative;
  padding: 20px;
  text-align: center;
  padding: 0px;
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-title-inner {
  cursor: pointer;
  pointer-events: auto;
}

.info-news,
.tag header,
.home header {
  display: none;
}

.info-news,
header {
  position: fixed;
  font-size: 1.8em;
  z-index: 99999;
  max-width: calc(100% - 150px);
  color: var(--main-color);
  left: 50%;
  max-width: calc(100% - 150px);
  transform: translateX(-50%);

}

.info-news.visible {
  display: block !important;
}

.info-news.temp-hide {
  display: none !important;
}


.info-news h1,
header h1 {
  letter-spacing: 2px;
  margin-bottom: 1rem;
  padding: 10px;
  padding-bottom: 0px;
}

/* header:hover .info {
	display: block;
} */
#mce-EMAIL {
  appearance: none;
  width: 200px;
  display: inline-block;
  margin: 0px;
  height: 27px;
  border: 0px;
  border-bottom: 2px solid var(--news-color);
  position: relative;
  top: -3px;
}

#mc-embedded-subscribe {
  appearance: none;
  font-size: inherit;
  font-family: inherit;
  background-color: white;
  text-transform: uppercase;
  border: 0px;
  color: inherit;
  position: relative;
  top: -3px;
}

#mc-embedded-subscribe:hover {
  background-color: var(--news-color);
  color: white;
}

.info {
  max-width: 100%;
  width: 800px;
  margin: 0 auto;
  margin-top: 6px;
  /* display: none; */
  /* line-height: 1.15; */
  line-height: 1.4;
  margin-top: -4px;
}

.info-post {
  color: var(--scans-color);
}

.info-work {
  color: var(--work-color);
}

.info-news {
  color: var(--news-color);
  line-height: 1.4;
  margin-top: -4px;
}

.info-post p,
.info-work p,
.info-news p,
.info p {
  margin-bottom: 1rem;
}

/* .text-bground-parent {
	pointer-events: none;
}
.text-bground-parent .text-bground,
.text-bground-parent .text-bground-hover{
	pointer-events: auto;
} */
.text-bground {
  background-color: white;
  padding-top: 2px;
  padding-bottom: 2px;
}

.text-bground-parent:hover .text-bground-hover {
  background-color: white;
  padding-top: 2px;
  padding-bottom: 2px;
}

menu {
  width: 150px;
  background-color: white;
  /* border: 2px solid;
	outline: 1px solid; */
  color: black;
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100vh;
  transition: color 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

.single menu {
  box-shadow: 0px 0 6px rgba(0, 0, 0, 0.1);
}

body.single menu {
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
}

.social-links {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
  height: 150px;
  padding-right: 20px;
  font-size: 18px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  line-height: 1.18;
  color: var(--main-color);
  z-index: 2;
  transform: rotate(90deg);
  transform-origin: 100% 100%;
  left: -100%;
  text-align: right;
}

.main-title {
  position: absolute;
  width: calc(100vh - 4px);
  height: 146px;
  transform: rotate(90deg);
  transform-origin: top left;
  left: 146px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  /* font-size: 1.8rem; */
  font-size: 1.8em;
  line-height: 1.18;
  color: var(--main-color);
  z-index: 9998;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 9px;
}

.post-info {
  position: absolute;
  width: calc(100vh - 4px);
  height: 146px;
  background-color: white;
  transform: rotate(90deg);
  transform-origin: top left;
  left: 146px;
  padding: 5px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  font-size: 1.8rem;
  line-height: 1.18;
  z-index: 9999;
}

.post-info span {
  white-space: nowrap;
  max-width: 90vh;
  text-overflow: ellipsis;
  overflow: hidden;
}

.post-type {
  text-align: center;
  font-family: 'adobe-kis', sans-serif;
  font-size: inherit;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 100%;
  /* bottom: 20px; */
  left: 0px;
  position: sticky;
  top: calc(100vh - 70px);
  margin-top: 20px;
}

.posttype-button {
  cursor: pointer;
  color: black;
}

.posttype-button {
  cursor: pointer;
  font-family: 'adobe-kis', sans-serif;
  /* font-weight: bold; */
}

.posttype-button {
  opacity: 0.5;
}

.posttype-button:hover,
.posttype-button.active {
  opacity: 1;
}

/* .posttype-button:before {
	content: ' ';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 1px solid;
	display: inline-block;
	margin-right: 5px;
} */

.scan-button.active,
.scan-button:hover {
  color: var(--scans-color);
}

.work-button.active,
.work-button:hover {
  color: var(--work-color);
}

.news-button.active,
.news-button:hover {
  color: var(--news-color);
}

.scan-button:hover:before,
.scan-button.active:before {
  background-color: var(--scans-color);
}

.work-button:hover:before,
.work-button.active:before {
  background-color: var(--work-color);
}

.news-button:hover:before,
.news-button.active:before {
  background-color: var(--news-color);
}

.filter-wrap-outer {
  display: none;
}

#filter-posts-form {
  display: none;
}

.active-filter-holder {
  margin-bottom: 20px;
  font-size: 0.8em;
}

.active-filter-holder:before {
  content: 'filter: ';
}

.active-filter-holder:empty {
  display: none;
}

.active-filter-holder:empty:before {
  content: 'filter: ';
}

.active-filter-item {
  display: inline;
  cursor: pointer;
}

.active-filter-item:after {
  content: '×';
  font-size: 0.7em;
  position: relative;
  top: -5px;
  margin-right: -2px;
}

.active-filter-item:hover {
  color: var(--main-color);
}

.active-filter-item+.active-filter-item:before {
  content: ', ';
}

.filter-item-wrap {
  background-color: white;
  padding-top: 1px;
  padding-bottom: 1px;
}

.filter-item-wrap h3 {
  cursor: pointer;
  /* padding-top: 2px;
	padding-bottom: 2px; */
  text-transform: lowercase;
  /* text-transform: uppercase; */
  font-size: 0.8em;
}

.filter-item-wrap h3 svg {
  height: 9px;
  margin-right: 3px;
  position: relative;
  top: 0.5px;
  fill: var(--main-color);
}

.filter-wrap {
  font-family: 'swis721_win95btroman';
  text-align: left;
  position: absolute;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  color: var(--main-color-dimmed);
  font-size: 0.9rem;
  font-weight: normal;
  z-index: 3;
  background-color: white;
  height: 100%;
  /* float: left; */
}

.single .filter-wrap {
  position: absolute;
  z-index: 99999;
  left: 0px;
  height: auto;
  padding: 10px;
  white-space: normal;
  text-transform: lowercase;
  font-size: 0.8rem;
  display: block;
  color: inherit;
  bottom: 0px;
}

.single .filter-container {
  padding: 0px;
  border-bottom: 0px;
  display: block;
  color: inherit;
}

.filter-inner-wrap {
  padding: 10px;
  min-height: 100%;
}

.home .filter-wrap:hover {
  color: var(--main-color-dimmed);
}

.filter-item-wrap.open h3 {
  /* position: sticky;
	top: -10px; */
  background-color: white;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.filter-item-wrap h3:hover {
  color: var(--main-color);
}

.filter-item-wrap li {
  cursor: pointer;
  text-indent: -15px;
  padding-left: 15px;
  font-size: 0.8em;
  line-height: 1.2;
  /* text-transform: uppercase; */
  /* display: inline-block;
	/* line-height: 1.25; */
  /* float: left;
	clear: both; */
}

/* .filter-item-wrap li.post {
	color: var(--scans-color);
	color: var(--main-color);
}

.filter-item-wrap li.work {
	color: var(--work-color);
	color: var(--main-color);

}

.filter-item-wrap li.news {
	color: var(--news-color);
	color: var(--main-color);
} */
.filter-item-wrap a:hover {
  text-decoration: underline;
}

.filter-item-wrap li.active-filter {
  color: var(--main-color);
}

/* .filter-item-wrap li.post.work {
	color: inherit;
	background: #121FCF;
	background: linear-gradient(to right, var(--main-color) 0%, var(--work-color) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.filter-item-wrap li.post.news {
	color: inherit;
	background: #121FCF;
	background: linear-gradient(to right, var(--main-color) 0%, var(--news-color) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.filter-item-wrap li.work.news {
	color: inherit;
	background: #121FCF;
	background: linear-gradient(to right, var(--work-color) 0%, var(--news-color) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.filter-item-wrap li.post.work.news {
	color: inherit;
	background: #121FCF;
	background: linear-gradient(to right, var(--main-color) 0%, var(--work-color) 50%, var(--news-color) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
} */

.filter-item-wrap li.active-filter:after {
  content: '×';
  font-size: 0.7em;
  position: relative;
  top: -5px;
}

.filter-item-wrap li:hover {
  color: var(--main-color);
}

.filter-container {
  display: none;
}

.filter-item-wrap.open .filter-container {
  display: block;
}

.filter-container {
  padding-top: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid;
  /* float: left;
	width: 100%; */
}

/* .vh-50 {
	height: 50vh;
}
section.row {
	width: 100%;
	display: flex;
	overflow: hidden;
	flex-basis: 0;
}
.img-wrap {
	background-color: red;
	overflow: hidden;
	
}
.img-wrap img {
	height: 100%;
} */

/* ################### */

section.row {
  display: flex;
  height: 33vh;
  white-space: nowrap;
  position: relative;
  font-size: 0px;
  flex-basis: 0;
  width: calc(100% - 150px);
}

section.row.medium-h {
  height: 45vh;
}

section.row.large-h {
  height: 50vh;
}

/* section.row.workwrap {
	flex-direction: row-reverse;
	justify-content: flex-end;
} */

.img-med section.row {
  height: 50vh;
}

.img-large section.row {
  height: 90vh;
}

section.row.single-wrap {
  height: 100vh;
  width: auto;
  max-width: 100%;
  padding-right: 20px;
}

.img-count {
  position: absolute;
  bottom: 5px;
  right: 5px;
  /* background-color: red; */
  font-size: 0.9rem;
  font-family: 'swis721_win95btroman';
  font-weight: normal;
}

.back-button {
  min-width: 20px;
  max-width: 20px;
  background-color: black;
  height: 100%;
  cursor: w-resize;
  z-index: 9999;
}

.single-images-wrap {
  /* flex-grow: 1; */
  align-items: flex-start;
  display: flex;
  position: relative;
}

.next-button {
  min-width: 20px;
  max-width: 20px;
  height: 100%;
  cursor: e-resize;
  z-index: 9999;
  position: absolute;
  right: 0px;
}

.next-button:hover {
  transform: scaleX(125%);
  transform-origin: right;
  transition: transform 0.1s ease-in;
}

.back-button:hover {
  transform: scaleX(125%);
  transform-origin: left;
  transition: transform 0.1s ease-in;
}

.single-work .img-wrap.color0,
.work .img-wrap.color0,
.work.img-wrap.color0 {
  background-color: var(--work-color0);
}

.single-work .img-wrap.color1,
.work.img-wrap.color1,
.work .img-wrap.color1 {
  background-color: var(--work-color1);
}

.single-work .img-wrap.color2,
.work .img-wrap.color2,
.work.img-wrap.color2 {
  background-color: var(--work-color2);
}

.single-work .img-wrap.color3,
.work .img-wrap.color3,
.work.img-wrap.color3 {
  background-color: var(--work-color3);
}

.single-work .img-wrap.color4,
.work .img-wrap.color4,
.work.img-wrap.color4 {
  background-color: var(--work-color4);
}

.img-wrap.hovered img {
  opacity: 1 !important;
}

.work .img-wrap.hover img {
  mix-blend-mode: normal;
  -webkit-filter: none;
  filter: none;
  opacity: 1;
}

.work .img-wrap img {
  mix-blend-mode: screen;
  -webkit-filter: grayscale(100%) contrast(100%);
  filter: grayscale(100%) contrast(100%);
  opacity: 1;
}

.single-news .img-wrap .img-bground-wrap,
.news .img-wrap .img-bground-wrap,
.news.img-wrap .img-bground-wrap {
  background-color: var(--news-color);
}

.single-news .img-wrap.color1 .img-bground-wrap,
.news .img-wrap.color1 .img-bground-wrap,
.news.img-wrap.color1 .img-bground-wrap {
  background-color: var(--news-color1);
}

.single-news .img-wrap.color2 .img-bground-wrap,
.news .img-wrap.color2 .img-bground-wrap,
.news.img-wrap.color2 .img-bground-wrap {
  background-color: var(--news-color2);
}

.single-news .img-wrap.color3 .img-bground-wrap,
.news .img-wrap.color3 .img-bground-wrap,
.news.img-wrap.color3 .img-bground-wrap {
  background-color: var(--news-color3);
}

.single-news .img-wrap.color4 .img-bground-wrap,
.news .img-wrap.color4 .img-bground-wrap,
.news.img-wrap.color4 .img-bground-wrap {
  background-color: var(--news-color4);
}

.news .img-wrap.hover img {
  mix-blend-mode: normal;
  -webkit-filter: none;
  filter: none;
  opacity: 1;
}

.news .img-wrap img {
  mix-blend-mode: screen;
  -webkit-filter: grayscale(100%) contrast(100%);
  filter: grayscale(100%) contrast(100%);
  opacity: 1;
}

.img-link {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: rgba(255, 255, 0, 0.374); */
  left: 0px;
}

.tag .img-wrap img,
.home .img-wrap img {
  opacity: 0;
}

.related-image {
  box-shadow: 0px 0 6px rgba(0, 0, 0, 0.1);
  flex-grow: 1 !important;
  /* max-width: 100px; */
}

.related-image img {
  opacity: 0;
}

@media screen and (min-width: 850px) {
  .related-image:hover img {
    opacity: 1;
  }
}

.related-image .img-link {
  z-index: 10;
}

.img-wrap {
  transition: flex 0s linear;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: inline-block;
  width: 0;
  flex-grow: 1;
  /* width: 0; */
}

/* .transition-1 .img-wrap {
	transition: flex 0.15s ease-in;
}
.transition-2 .img-wrap {
	transition: flex 0.25s ease-in;
} */
.row .img-wrap:last-of-type {
  width: initial;
  flex-grow: 0;
}

.row .img-wrap:first-of-type:last-of-type {
  flex-grow: 1;
  width: auto;
}

/* .row:hover .img-wrap.last {
	width: 0;
	flex-grow: 1;
} */
.img-wrap.hover {
  overflow: visible;
  z-index: 9998;
}

.img-wrap.hover:not(.single-page) .img-bground-wrap {
  position: absolute;
  z-index: 999;
  height: 100%;
}

@media screen and (min-width: 850px) {
  .img-wrap:hover img {
    opacity: 1 !important;
  }
}

.row .img-wrap:last-of-type .img-bground-wrap {
  position: relative;
  width: auto;
  display: block;
}

.row .img-wrap:last-of-type img {
  position: relative;
  width: auto;
  display: block;
  object-fit: contain;
}

.img-bground-wrap {
  position: relative;
  display: block;
  height: 100%;
  pointer-events: none;
}

.img-wrap img {
  position: relative;
  display: block;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  object-position: top;
  box-shadow: 0px 0 6px rgba(0, 0, 0, 0.1);
}

.single img {
  height: auto;
  object-fit: contain;
}

/* SINGLE PAGE img-wrap */
/* body:not(.single-post) .row.single-wrap .img-wrap:last-of-type { */
/* body .row.single-wrap .img-wrap:last-of-type { */
body .row.single-wrap .img-wrap:not(.related-image).hover {
  width: auto;
  flex-grow: 0;
  display: block;
}

body.single-post {
  background-color: #303030;
}

.img-wrap.single-page {
  cursor: pointer;
}

/* .single-page .img-bground-wrap {
	width: 100vh;
	max-width: 100vh;
}
.single-page .img-bground-wrap img {
	max-width: 100vh;
} */
/* body.single-post .row.single-wrap .img-wrap:first-of-type {
	width: auto;
	flex-grow: 0;
	display: block;
} */

.row.single-wrap .img-wrap {
  width: 50px;
  flex-grow: 0;
  flex-shrink: 1;
  /* overflow: visible; */
}

.row.single-wrap .post-info {
  display: flex;
}

.row.single-wrap .img-bground-wrap,
.row.single-wrap .img-wrap img {
  pointer-events: auto;
}

.row.single-wrap .img-wrap img {
  max-width: 100vh !important;
  max-height: 100vh;
  /* max-width: 100% !important; */
}

.single-info-wrap {
  position: absolute;
  z-index: 99998;
  top: 10px;
  left: 20px;
  font-size: 1.8em;
  line-height: 1.25;
  pointer-events: none;
  width: calc(100% - 40px);
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
}

.single-text {
  width: 100%;
  max-width: 500px;
  position: relative;
  white-space: normal;
  display: none;
}

.single-text.open {
  display: inline;
}

.single-info-wrap span.text-bg {
  line-height: 1.3;
  padding-left: 3px;
  padding-right: 3px;
  pointer-events: auto;
  overflow: visible;
  font-size: 1rem;
  white-space: normal;
}

.hide-info {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.read-more {
  cursor: pointer;
  line-height: 1;
  display: inline-block;
}

.black .read-more:hover,
.black .hide-info:hover {
  background-color: white !important;
}

.white .read-more:hover,
.white .hide-info:hover {
  background-color: black !important;
}

.single-info-wrap .label.hide-info {
  font-size: 0.7rem;
  line-height: 1.3;
}

.single-info-wrap.black a:hover {
  color: white !important;
}

.single-info-wrap.white a:hover {
  color: black !important;
}

.single-text-br.hidden {
  display: none;
}

/* .single-info-wrap:hover span.text-bg {
	background-color: white;
} */
.single-info-wrap.white {
  color: white;
}

.single-info-wrap.black {
  color: black;
}

.single-info-wrap .label {
  font-family: 'swis721_win95btroman';
  font-weight: normal;
  font-size: 0.7rem;
  line-height: 1.3;
}

section.row .img-wrap {
  /* flex: 0.1; */
  /* Shrink to 10% on hover */
}

section.row:hover .img-wrap:hover {
  /* flex: 2; */
  /* Expand the hovered wrapper */
}

.mobile {
  display: none;
}

.no-mobile {
  display: block;
}

/*# # # # # # RESPONSIVE # # # # # #*/
@media screen and (max-width: 850px) {
  html {
    font-size: 12px;
    padding: 0px;
  }

  body {
    padding: 0px;
    padding-top: 100px;
  }

  body.tag,
  body.home {
    padding-top: 220px;
  }

  body.single {
    padding-bottom: 90px;
  }

  .scrolled .posttype-button {
    display: none;
  }

  .scrolled .posttype-button.active {
    display: block;
  }

  .posttype-button:hover {
    color: white;
  }

  .posttype-button.active {
    color: white;
  }

  /* body.single {
    padding-top: 0px;
  }
 */
  .post-info {
    width: 100%;
    height: 100px;
    transform: rotate(0deg);
    left: 0px;
    position: fixed;
    top: 0;
  }

  .filter-wrap {
    overflow: visible;
    position: relative;
  }

  .main-title-inner {
    transform: rotate(180deg);
  }

  .filter-wrap-outer {
    display: none;
    position: relative;
    width: 100%;
    left: 0px;
    top: inherit;
    padding: 10px;
    background-color: white;
    order: 2;
    font-size: 1rem;
    line-height: 1.2;
    max-height: calc(100vh - 220px);
    overflow: auto;
  }

  .filter-wrap-outer.visible {
    display: block;
  }

  .filter-inner-wrap {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
  }

  .info-news {
    font-size: 12px;
    bottom: 20px;
    width: 100%;
    z-index: 9999;
  }

  .post-type {
    position: relative;
    top: 0px;
    margin-top: 0px;
    order: 1;
    background-color: white;
  }

  .info-news, header {
    font-size: 14px;
    max-width: 80%;
    top: 115px;
  }

  .filter-toggle,
  .posttype-button {
    display: inline-block;
    margin: 0 5px;
    text-align: center;
    font-family: 'adobe-kis', sans-serif;
    font-size: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    left: 0px;
    position: sticky;
    margin-top: 0px;
    position: relative;
    line-height: 30px;
    opacity: 1;
    left: -5px;
    color: white;
    height: 30px;
  }

  .filter-toggle.active:after,
  .posttype-button.active:after {
    content: '×';
    position: absolute;
    right: 5px;
    top: 5px;
    top: -1px;
    font-size: 18px;
  }

  .filter-toggle {
    color: black;
    font-family: 'swis721_win95btroman';
    background-color: whitesmoke;
    padding-right: 15px;
    padding-left: 15px;
  }

  .filter-item-wrap h3 {
    font-size: 0.9rem;
  }

  .filter-item-wrap {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .filter-item-wrap li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .active-filter-item {
    text-transform: lowercase;
    letter-spacing: 0px;
  }

  .filter-label {
    margin-left: 5px;
    margin-right: 5px;
  }

  .scan-button {
    background-color: var(--scans-color);
    opacity: 0.5;
  }

  .work-button {
    background-color: var(--work-color);
    opacity: 0.5;
  }

  .news-button {
    background-color: var(--news-color);
    opacity: 0.5;
  }

  menu {
    height: auto !important;
    width: 100%;
    transform: rotate(0deg);
    transform-origin: top left;
    left: 0;
    z-index: 9999;
    position: fixed;
    top: 0px;
  }

  .main-title {
    width: 100%;
    height: 100px;
    transform: rotate(0deg);
    left: 0px;
    padding-bottom: 20px;
    position: relative;
  }

  section.row {
    height: auto;
    flex-wrap: wrap;
    width: 100%;
    white-space: normal;
    padding-right: 0px;
  }

  .img-wrap {
    height: 30px;
    width: 100%;
    max-height: calc(100vh - 100px);
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
  }

  .row .img-wrap:last-of-type,
  .row .img-wrap:last-of-type .img-bground-wrap,
  .row .img-wrap:last-of-type img {
    width: 100%;
  }

  .img-wrap.hover:not(.single-page) .img-bground-wrap {
    position: relative;
    z-index: 800;
  }

  .img-wrap img {
    /* object-fit: none; */
    object-fit: contain;
    object-position: left;
    max-width: inherit !important;
    width: 100%;
    max-height: calc(100vh - 100px)!important;
  }

  .img-wrap.hover {
    height: auto;
  }

  .img-bground-wrap {
    height: auto;
    width: 100%;
    max-width: inherit !important;
  }

  .row .img-wrap:last-of-type .img-bground-wrap {
    width: 100%;
  }

  .row .img-wrap:last-of-type {
    flex-grow: 1;
  }

  /* single */
  .back-button {
    display: none;
  }

  .single header {
    bottom: 10px;
    top: auto;
  }

  body.single menu {
    top: 0px;
    position: fixed;
  }

  .single .filter-wrap {
    display: none;
  }

  .single-images-wrap {
    flex-wrap: wrap;
  }

  .row.single-wrap .img-wrap {
    width: 100%;
    height: auto;
  }

  .related-image {
    max-width: 100%;
    max-height: 30px !important;
  }

  .single section.row {
    display: block;
    padding-right: 0px;
    height: auto;
  }

  .next-button {
    min-width: inherit;
    max-width: 100%;
    position: relative;
    height: 30px;
  }

  .post-info span {
    max-width: 98vw;
  }

  .single-info-wrap {
    position: sticky;
    bottom: 70px;
    width: 100%;
    left: 0px;
    top: inherit;
    max-width: 100%;
    transform: none;
    height: 0px;
    display: inline-flex;
    -webkit-flex-direction: column;
    align-items: center;
    justify-content: end;
    margin-bottom: 30px;
  }

  .single-info-wrap span.text-bg {
    font-size: 1.5rem;
  }

  .single-info-wrap .label {
    font-size: 1rem;
  }

  .single-info-wrap .label.hide-info {
    font-size: 1rem;
    line-height: 1.3;
  }

  .no-mobile {
    display: none;
  }

  .mobile {
    display: block;
  }
}