@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-LightItalic.woff2) format('woff2');
}

@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-Italic.woff2) format('woff2');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-BoldItalic.woff2) format('woff2');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-Light.woff2) format('woff2');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-Regular.woff2) format('woff2');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/wp-content/themes/mayoris/fonts/RobotoCondensed-Bold.woff2) format('woff2');
}


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Liter&display=swap');


:root {
  --main-font-size: 16px;
  --h2-font-size: 20px;
  --main-small-text: 14px;
  --main-line-height: 1.5;
  --main-font-color: #000000;
  --main-highlight-color: #FFC600;
  --main-footer-color: #ffffff;
  --main-header-border: #9090903d;
  --main-button-color: #ffffff;
  --main-button-color-hover: #000000;
  
  --main-color-1: #FCFCFC; 
  --main-color-2: #F9F9F9; 
  --main-color-3: #F0F0F0; 
  --main-color-4: #E8E8E8; 
  --main-color-5: #E0E0E0; 
  --main-color-6: #D9D9D9; 
  --main-color-7: #CECECE; 
  --main-color-8: #BBBBBB; 
  --main-color-9: #8D8D8D; 
  --main-color-10: #838383; 
  --main-color-11: #646464; 
  --main-color-12: #202020; 
}


* { box-sizing: border-box; }
body, html, p, h1, h2, h3, h4 { margin: 0px; padding: 0px; }
body, html {
  font-family: 'Open Sans', Arial;
  color: var(--main-font-color);
  font-size: var(--main-font-size);
  line-height: var(--main-line-height);
  background: var(--main-color-9);
}

h2 { font-size: var(--h2-font-size); }

a, a:visited {
  color: var(--main-font-color);
}

a:active, a:hover {
  color: var(--main-highlight-color);
}

header div.wrap, #content div.wrap, footer div.wrap {
  max-width: 1230px;
  margin: 0px auto;
  position: relative;
}

header { padding: 20px 0px; background: #ffffff; }
header div.wrap { display: flex; align-items: center; flex-direction: row; justify-content: space-between; border-bottom: 1px solid var(--main-header-border); }
header div.wrap div.navigation { display: flex; align-items: center; flex-direction: row; justify-content: flex-end; }
header #logo img { max-width: 200px; }
header div.menu-header-container a {
  font-size: 18px;
  text-decoration: none;
}
header div.menu-header-container ul li.current-menu-item a, header div.menu-header-container ul li.current_page_parent a {
  font-weight: bold;
}
header div.menu-header-container ul li {
  display: inline-block;
  margin-left: 30px;
  list-style: none;
}
header #searchform {
  margin-left: 38px;
  position: relative;
  z-index: 10;
  font-size: 0.7em;
  line-height: 1;
}
header #searchform > div {
  position: absolute;
  right: -7px;
  width: 350px;
  top: 30px;
  display: none;
}
header #searchform:before {
  margin-top: 2px;
  display: inline-block;
  content: ' ';
  width: 16px;
  height: 16px;
  background-color: #000000;
  -webkit-mask-image: url('/wp-content/themes/mayoris/images/search.svg');
  mask-image: url('/wp-content/themes/mayoris/images/search.svg');
  cursor: pointer;
}
header #searchform:hover:before {
  background-color: #FFC600;
}
header #searchform input[type="text"] {
  width: calc(100% - 95px);
  display: inline-block;
  line-height: 21px;
  border-radius: 5px;
}
header #searchform input[type="submit"] {
  border-radius: 5px;
  padding: 5px 15px;
  background: #144d78;
  text-decoration: none;
  color: #ffffff !important;
  cursor: pointer;
  border: none;
  font-size: var(--main-font-size);
}
header #searchform input[type="submit"]:hover {
  background: var(--main-highlight-color);
}

section {
  background: #ffffff;
  padding-bottom: 40px;
  min-height: calc(100vh - 98px - 295px);
  padding-top: 10px;
}

footer {
  padding: 40px 0px;
  color: var(--main-footer-color);
  width: 100%;
  background: url('/wp-content/themes/mayoris/images/background_footer_2000x1125.jpg');
  background-size: cover;
}
footer a { text-decoration: none; }
footer a, footer a:visited {
  color: var(--main-footer-color);
}
footer div.top {
  display: flex; align-items: top; justify-content: space-between;
}
footer div.bottom {
  display: flex; align-items: center;
}
footer div.menu-footer-container ul {
  padding: 0px; margin: 0px; margin-left: 30px;
}
footer div.menu-footer-container ul li {
  display: inline-block;
  margin-left: 15px;
  list-style: none;
}

.button, input.wpcf7-submit {
  margin-top: 30px;
  border-radius: 5px;
  padding: 5px 15px;
  background: #144d78;
  text-decoration: none;
  color: #ffffff !important;
  cursor: pointer;
  border: none;
  font-size: var(--main-font-size);
  font-family: 'Open Sans', Arial;
}
.button.back:before {
  content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g data-name="Double left"><path d="M12 17a1 1 0 0 1-.707-.293l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 1 1 1.414 1.414L9.414 12l3.293 3.293A1 1 0 0 1 12 17z" style="fill:#1c1b1e"/><path d="M16 17a1 1 0 0 1-.707-.293l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 1 1 1.414 1.414L13.414 12l3.293 3.293A1 1 0 0 1 16 17z" style="fill:#1c1b1e"/></g></svg>');
}
.button:hover, input.wpcf7-submit:hover {
  background: var(--main-highlight-color);
}

select, textarea, input[type="text"], input[type="email"] {
  font-size: var(--main-font-size);
  font-family: 'Open Sans', Arial;
  border-radius: 5px;
  border: 1px solid gray;
  padding: 5px 15px;
  width: 100%;
}

.main h1, .main h2 {
  margin: 0px 0px 30px 0px;
}

.main h1:first-child {
  margin-top: 0px;
}


/* sidebar */
div.sidebar {
  width: 350px;
  float: right;
  margin-bottom: 40px;
  margin-left: 40px;
  background: var(--main-color-3);
  position: relative;
}

div.sidebar h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 23.44px;
  padding: 30px 15px;
}

div.sidebar .image {
  padding: 0px;
}

div.sidebar .image > img {
  width: 100%;
  display: block;
}

div.sidebar > div > div {
  padding: 15px;
}

div.sidebar > div:before {
  content: ' ';
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  position: absolute;
  width: calc(100% - 40px);
  height: 10px;
  display: inline-block;
  margin-left: 20px;
  margin-right: 20px;
}

div.sidebar > div:first-child:before {
  display: none;
}

div.sidebar div.text {
  font-size: 1.3em;
}

div.sidebar div.whitepaper > div {
  padding-top: 0px;
  padding-bottom: 20px;
}


/* block elements */
.wp-block-separator {
  width: 100% !important;
  border: 0;
  height: 1px;
  background: #909090;
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,hsla(0,0%,56%,0)), color-stop(50%,hsla(0,0%,56%,.75)), color-stop(100%,hsla(0,0%,56%,0)));
  background: -webkit-linear-gradient(left, hsla(0,0%,56%,0) 0%, hsla(0,0%,56%,.75) 50%, hsla(0,0%,56%,0) 100%);
  background: -moz-linear-gradient(left, hsla(0,0%,56%,0) 0%, hsla(0,0%,56%,.75) 50%, hsla(0,0%,56%,0) 100%);
  background: -ms-linear-gradient(left, hsla(0,0%,56%,0) 0%, hsla(0,0%,56%,.75) 50%, hsla(0,0%,56%,0) 100%);
  background: -o-linear-gradient(left, hsla(0,0%,56%,0) 0%, hsla(0,0%,56%,.75) 50%, hsla(0,0%,56%,0) 100%);
  background: linear-gradient(left, hsla(0,0%,56%,0) 0%, hsla(0,0%,56%,.75) 50%, hsla(0,0%,56%,0) 100%);
  margin: 30px 0px;
}

.wp-block-columns.mrs-full-width {
  width: 100%;
}

.wp-block-image .alignright {
  margin: 0px;
}

.wp-block-column.mrs-light-gray {
  background: var(--main-color-3);
}

.wp-block-heading.mrs-collapsable {
  background: var(--main-color-3);
  padding: 5px 15px;
  margin-bottom: 0px !important;
}

.wp-block-heading.mrs-collapsable + .wp-block-group {
  border-left: 1px solid var(--main-color-3);
  border-right: 1px solid var(--main-color-3);
  border-bottom: 1px solid var(--main-color-3);
  padding-bottom: 15px;
  padding-top: 15px;
}

.wp-block-heading.mrs-collapsable + .wp-block-group > div > p {
  padding-left: 15px;
  padding-right: 15px;
}

.wp-block-image.mrs-mood {
  position: relative;
  height: 350px;
}

.wp-block-image.mrs-mood img {
  height: 350px;
}

.wp-block-image.mrs-mood .mrs-container {
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.wp-block-image.mrs-mood .mrs-container .mrs-subtitle {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.wp-block-image.mrs-mood .mrs-container .mrs-title {
  font-size: 2em;
  line-height: 1.5em;
}

.wp-block-image.mrs-mood .mrs-container .mrs-title ul {
  padding-left: 30px;
  margin: 0px;
}


/* article tiles */
div.article .image {
  overflow: hidden;
  width: 100%;
  height: 250px;
  position: relative;
}
div.article img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all .3s ease;
}
div.article img:hover, div.article.focus img {
  transform: scale(1.15);
}

div.article.tile h2 {
  margin-bottom: 10px;
  padding-top: 0px;
  z-index: 1;
}

div.article.tile.project h2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;
  width: 100%;
}

div.article.tile.project a {
  pointer-events: none;
}

div.article.tile.project:hover h2, div.article.tile.project.focus h2 {
  opacity: 1;
}

div.article.tile.project:hover img, div.article.tile.project.focus img {
  opacity: 0.25;
}

/* user tiles */
.tiles { line-height: 1.5; }
.tiles.users div.article .image, .tiles.users div.article img {
  height: 400px;
  background: var(--main-color-3);
  background: linear-gradient(0deg,var(--main-color-3) 75%, rgba(255, 255, 255, 1) 100%);
}

.tiles.users div.article {
  text-align: center;
}

.tiles.users div.article > div, .tiles.users div.article > h2 {
  margin-top: 10px;
}


body.blog .main, body.post-type-archive-project .main, .tiles {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

#content .main > .text {
  /*display: flex;
  gap: 30px;
  flex-direction: column;*/
  line-height: 1.8;
}

#content .main > .text > .wp-block-heading { margin-top: 30px; margin-bottom: 15px; }

#content .main > .text p + p {
  margin-top: 15px;
}

#content .main div.article.tile {
  width: calc((100% - 60px) / 3);
  cursor: pointer;
  position: relative;
}
#content .main div.article.tile .tags {
  height: 39px;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
  padding: 10px 0px;
  font-size: var(--main-small-text);
  color: var(--main-color-9);
  white-space: nowrap;
}

#content .main div.article.tile a {
  display: block;
  margin-top: 22px;
}

#content .main .buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

form {
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: flex-start;
}

form.wpcf7-form > p {
  width: 100%;
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: flex-start;
}
form.wpcf7-form > p > span {
  width: 100%;
}
form.wpcf7-form > p > br, form.wpcf7-form .wpcf7-spinner {
  display: none;
}

form.wpcf7-form .wpcf7-not-valid {
  border-color: #cc0000;
}

form.wpcf7-form .wpcf7-response-output {
  margin-left: 0px;
  border-width: 1px;
}


@media (max-width: 900px) {
  body, html { }
  
  header #logo img {
    margin-left: 5px;
  }
  
  header #searchform::before {
    margin-top: -14px;
    width: 30px;
    height: 30px;
    mask-size: 100%;
    margin-right: 10px;
  }
  
  header div.menu-header-container ul::before {
    content: '☰';
    cursor: pointer;
    font-size: 40px;
    position: absolute;
    top: -55px;
    right: 35px;
  }  
  
  header div.menu-header-container ul {
    position: absolute;
    right: 10px;
    z-index: 10;
  }
  
  header div.menu-header-container ul li {
    display: none;
    margin-right: 38px;
    background: var(--main-color-3);
    width: 100%;
    line-height: 40px;
    border-bottom: 1px solid #000000;
    z-index: 11;
    position: relative;
  }
  
  header div.menu-header-container ul.open li {
    display: block;
  }
  
  header div.menu-header-container ul li a {
    width: 100%;
    display: inline-block;
    padding-left: 15px;
    font-size: 1.5em;
  }
  
  header div.menu-header-container ul li:first-child {
    margin-top: 30px;
  }
  
  header div.menu-header-container ul li:last-child {
    border: none;
  }
  
  #content .main div.article.tile {
    width: 100%;
  }
  
  .wp-block-image.mrs-mood .mrs-container {
    left: 15px;
    bottom: 15px;
  }
  
  .wp-block-image.mrs-mood .mrs-container .mrs-subtitle {
    font-size: 1em;
  }
  
  .wp-block-image.mrs-mood .mrs-container .mrs-title {
    font-size: 1.25em;
  }
  
  .wp-block-image.mrs-mood .mrs-container .mrs-title ul {
    padding-left: 15px;
  }
  
  #content .main > h1, #content .main .text > *, #content .main > .article.tile, #content .main .buttons {
    margin-left: 10px;
    margin-right: 10px;
  }
	
	div.sidebar {
		width: 100%;
		margin-left: 0px;
	}
	
	.wp-singular #content .main {
		display: flex;
		flex-direction: column;
	}
	
	.wp-singular #content .main > h1 { order: 1; }
	.wp-singular #content .main > div.text { order: 2; }
	.wp-singular #content .main > div.sidebar { order: 3; }
	.wp-singular #content .main > div.buttons { order: 4; }
  
  footer div.top {
    flex-direction: column;
  }
  
  footer div.left, footer div.right {
    width: 100%;
    text-align: center;
  }
  
  footer div.right {
    margin-top: 30px;
  }
  
  footer div.bottom {
    margin-top: 30px;
    justify-content: center;
    flex-direction: column;
  }
  
  footer div.bottom ul {
    margin-left: 0px;
  }
	
	footer form { align-items: center; }
  
}