@import url('styles/boots-bones.css');

@font-face {
  font-family: 'UniversLTPro-55Roman';
  src: url('fonts/3ADCD7_0_0.eot');
  src: url('fonts/3ADCD7_0_0.eot?#iefix') format('embedded-opentype'),
       url('fonts/3ADCD7_0_0.woff') format('woff'),
       url('fonts/3ADCD7_0_0.woff2') format('woff2'),
       url('fonts/3ADCD7_0_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal; 
}
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/*
Theme Name: Naked Wordpress
Theme URI: http://bckmn.com/naked-wordpress
Author: J Beckman
Author URI: http://bckmn.com
Description: A super bare theme for designers who don't know Wordpress PHP but want to build with Wordpress.
Version: 1.0
License: GNU General Public License

-------------------------------------------------------------- */
/* Reset
-------------------------------------------------------------- */

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;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */

  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */

  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */

}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}
sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
th {
  font-weight: bold;
}
button,
input,
select,
textarea {
  font-size: 100%;
  /* Corrects font size not being inherited in all browsers */

  margin: 0;
  /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */

  vertical-align: baseline;
  vertical-align: middle;
  /* Improves appearance and consistency in all browsers */

}
button,
input {
  line-height: normal;
  /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */

  overflow: visible;
  /* Corrects inner spacing displayed oddly in IE6/7 */

}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  border-radius: 10px;
  background: #ccc;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */

  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */

  font-size: 12px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 1.12em 1.5em 1em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* Addresses box sizing set to content-box in IE8/9 */

  padding: 0;
  /* Addresses excess padding in IE8/9 */

}
input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */

  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */

  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */

  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */

  border: 0;
  padding: 0;
}
input[type=text],
input[type=email],
textarea {
  color: #888888;
  border: 1px solid #dddddd;
  border-radius: 5px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  color: #101010;
}
input[type=text],
input[type=email] {
  padding: 3px;
}
textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */

  padding: 10px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */

  width: 98%;
}
.no-margin {
  margin: 0;
}
.underline {
  border-bottom: 1px solid black;
  padding-bottom: 3px;
  margin-bottom: 3rem;
  width: fit-content;
}
/* styles
-------------------------------------------------------------- */
body,
button,
input,
select {
  padding: 0;
  margin: 0;
  background: #ffffff;
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
  line-height: 26.64px;
  font-size: 18px;
  font-size: 1.8rem;
}
body.home {
  margin-top: 1rem;
}
/* Animations */

@keyframes colorchange
{
  0%   {background: #8669AA;}
  33%  {background: #FBF7C7;}
  66%  {background: #E34E40;}
  100%  {background: #75CAE9;}
}

@-webkit-keyframes colorchange /* Safari and Chrome - necessary duplicate */
{
  0%   {background: #8669AA;}
  33%  {background: #FBF7C7;}
  66%  {background: #E34E40;}
  100%  {background: #75CAE9;}
}
/* typography
-------------------------------------------------------------- */
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{
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
  font-weight: 400;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
}
h1 {
  font-size: 48px;
  font-size: 4.8rem;
}
h2 {
  line-height: 30px;
  font-size: 2rem;
  text-transform: uppercase;
  margin: 1rem 0 0;
}
h3 {
  line-height: 41px;
  font-size: 2rem;
  margin-bottom: 2rem;
}
h4 {
  line-height: 26px;
  font-size: 18px;
  font-size: 1.8rem;
}
a { 
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
}
cite {
  text-align: right;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
/* Text elements */
p {
  margin-bottom: 1.5em;
}
ul,
ol {
  margin: 0 0 1.5em 3em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}
b,
strong {
  font-weight: bold;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #eee;
  font-size: 0.7em;
  line-height: 1.5em;
  margin-bottom: 1.6em;
  padding: 1.6em;
  overflow: auto;
  max-width: 100%;
  box-shadow: 0 3px 5px #ddd inset;
}
/* Links */
body a {
  color: #000000;
  -webkit-transition: color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
}
a:hover,
a:focus,
a:active {
  color: #f5D033;
}
/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}
.center {
  text-align: center;
}
.open {
  display: block;
}
/* Header
-------------------------------------------------------------- */
.no-menu header {
  padding: 0;
}
.no-menu .main-navigation {
  display: none;
}
.menu-main-menu-container {
    position: relative;
 }
.home .the-content {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate( -50%, 0);
}
.home .the-content img {
  max-width: 150px;
}
.home figure {
  animation: colorchange 5s infinite alternate; /* animation-name followed by duration in seconds*/
  -webkit-animation: colorchange 5s infinite alternate; /* Chrome and Safari */
  border-radius: 50%;
  max-height: 148px;
  max-width: 148px;
}
header {
  background: transparent;
}
header .gravatar {
  overflow: hidden;
  width: 100px;
  height: 100px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin: 0;
  float: right;
}
#brand {
  color: #000000;
  position: fixed;
  bottom: 0;
  left: 0;
  background: white;
  border-top: 1px solid;
  width: 100%;
  padding: .5rem 2rem;
  z-index: 3;
}
#brand h1 {
  font-weight: 900;
  color: #565656;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 2px;
  position: relative;
}
#brand h1 a {
  color: #000000;
  text-decoration: none;
}
#brand h1 a:after{
  content:"";
  background: url('./images/logo_caractere-special.png') no-repeat;
  display: inline-block;
  background-size: 1.5em 1.5em;
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  right: 2.5rem;
  top: -2px;
}
#brand h1 span {
  font-weight: 200;
  color: #888888;
  text-transform: lowercase;
}
.main-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  line-height: 1.5;
}
.home .main-navigation {
  min-height: 56vh;
}
.menu-secondary-menu-container {
  width: 100%;
  align-self: flex-end;
  border-top: 1px solid #000000;
  padding-top: 1rem;
}
header nav ul {
  list-style: none;
  margin: 0;
}
ul#menu-main-menu,
ul#menu-secondary-menu {
  line-height: 1.6;
  padding: 0 20px;
}
ul#menu-main-menu,
ul#menu-secondary-menu,
.sub-menu.open {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.menu-item.sub-sub-menu .sub-menu {
  display: block !important;
  padding-left: 6%;
}
.menu-item.sub-sub-menu .sub-menu.open img.menu-image-title-before {
  width: 100%;
}
header ul li {
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
}
header ul li a {
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
    white-space: nowrap;
    color: #000000;
    text-transform: uppercase;
}
header ul li a,
.site-title a {
    font-size: 1.5rem;
}
.site-title a {
  text-transform: uppercase;
  text-align: center;
}
.site-description {
  font-style: normal;
  text-align: left;
  text-transform: uppercase;
  font-size: .8rem;
  line-height: 18px;
}
ul.sub-menu li a {
  margin: 2px 10px 0 0;
  font-size: 1.2rem;
}
.ul.sub-menu li a {
  display: flex;
  flex-direction: column;
  float: none;
}
ul.sub-menu {
  padding-left : 1rem;
  display: none;
  line-height: 1.4;
}
ul.sub-menu li {
  display: block;
}
.menu-item a img, 
img.menu-image-title-after, 
img.menu-image-title-before,
img.menu-image-title-above, 
img.menu-image-title-below, 
.menu-image-hover-wrapper .menu-image-title-above {
  display: none;
  position: absolute;
  left: 100%;
  top: 5px;
  z-index: -1;
  width: 95%;
  height: 90%;
  min-height: 624px;
  object-fit: cover;;
}


.menu-image-title-before.menu-image-not-hovered img,
.menu-image-hovered.menu-image-title-before .menu-image-hover-wrapper,
.menu-image-title-after.menu-image-title {
    padding-left: 0;
  }

.menu-item a img.show, 
img.menu-image-title-after.show, 
img.menu-image-title-before.show,
img.menu-image-title-above.show, 
img.menu-image-title-below.show, 
.menu-image-hover-wrapper .menu-image-title-above.show {
  display: inline;
}
/* Posts/Articles
-------------------------------------------------------------- */

/* table */

.wp-block-table {
  margin: 5rem 0;
  empty-cells: hide;
}
.wp-block-table td:first-child {
  text-transform: uppercase;
}
.wp-block-table tr {
  border: 0;
}
.wp-block-table td {
  border-bottom: 1px solid black;
  border-left: 0;
  border-right: 0;
}
.wp-block-table tr:last-child td{
  border-bottom: none;
}
.wp-block-table tr td:empty {
  border: none;
}

/* Table for project titles */
.wp-block-table.project-title {
  font-weight: bold;
  font-size: 45px;
  text-transform: uppercase;
  margin: 2rem 0 0;
}

.wp-block-table.project-title h1 {
  font-size: 1.3rem;
  line-height: 1;
}

.wp-block-table.project-title  tr {
  border: 0;
  display: flex;
  justify-content: space-between;
}

/* lightbox */
.justified-gallery>div>div>a>div.caption, 
.justified-gallery>div>div>div.caption, 
.justified-gallery>div>div div.caption {
  background-color: #f5D033;
  color: #000;
  font-size: 12px;
  font-weight: 300;
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
  opacity: 1;
}

/* Related Pages */

.crp_related {
  border-top: 1px solid #000;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.crp_related ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.crp_related li {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: none;
}
.crp_related a {
  position: initial;
  text-align: left;
}
.crp_related li {
  overflow: visible;
  position: relative;
}
.crp_related a,
.crp_related li {
  max-width: 120px;
  max-height: 120px;
}
.crp_related ul img {
  max-width: 120px;
  max-height: 120px;
}
.crp_related span.crp_title {
    color: #000 !important;
    position: absolute;
    display: block;
    bottom: -12px;
    padding: 0;
    font-size: .8rem;
    text-shadow: none;
    background-color: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-transform: uppercase;
}

.crp_related li:hover span.crp_title {
  background-color: transparent;
}

.crp_related li:hover {
  background: transparent;
  border-color: transparent;
}

/* articles & pages */

.agency-flex {
  display: flex;
  flex-direction: column;
}
.agency-flex div {
 width: 100%;
}
article {
  background: transparent;
  padding: 0;
  margin-bottom: 80px;
  border-bottom: 1px solid #dddddd;
}
article .title {
  color: #404040;
  line-height: 56.24px;
  font-size: 38px;
  font-size: 3.8rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1em;
  display: none
}
article .title a {
  text-decoration: none;
  color: #404040;
}
article .title a:hover {
  color: #f5D033;
}
article .post-meta {
  margin-bottom: 40px;
  font-size: 14px;
  text-align: center;
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
}
article .post-meta a {
  color: #888888;
  text-decoration: none;
}
article .post-meta a:hover {
  color: rgba(136, 136, 136, 0.5);
}
article .the-content a {
  font-weight: 900;
  text-decoration: none;
}
article .the-content p {
  color: #191919;
  text-align: justify;
}
article .the-content img {
  width: 100%;
}
article .meta {
  line-height: 14.8px;
  font-size: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .9px;
}
article .meta div {
  margin:1px auto;
}
article .meta .post-categories {
  list-style: none;
  margin: 0 0 10px 0;
}
article .meta .post-categories li {
  display: inline-block;
  margin-right: 10px;
}
/* Page loop styling */
.page article {
  border-bottom: none;
}
.page article .title {
  margin-bottom: 40px;
}
/* Pagination */
#pagination {
  margin-bottom: 40px;
  width: 100%;
}
#pagination .past-page {
  float: right;
  width: 49%;
  text-align:right;
}
#pagination .next-page {
  float: left;
  width: 50%;
  border-right: 1px solid #ccc;
  height: 200px;
}
.next-page a, .past-page a {
  font-size: 2em;
  font-family: 'UniversLTPro-55Roman', 'Open-sans', sans-serif;
  font-weight: 400;
  font-style: italic;
  padding: 10%;
}
/* Comments */
h3#comments {
  margin-bottom: 80px;
  font-size: 16px;
}
.commentlist {
  list-style: none;
  margin: 0;
}
.commentlist .comment {
  margin: 0 0 40px 50px;
  padding: 20px;
  position: relative;
  list-style: none;
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.commentlist .comment .children {
  margin-top: 40px;
}
.commentlist .comment-author {
  float: left;
  margin-right: 10px;
}
.commentlist .comment-author img {
  position: absolute;
  left: -50px;
  top: 5px;
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.commentlist .comment-author .says {
  display: none;
}
.comment-meta {
  font-size: 12px;
  margin-bottom: 10px;
}
.comment-subscription-form,
.comment-subscription-form {
  margin-bottom: 0;
  font-size: 14px;
}
#respond {
  margin-bottom: 80px;
}
#respond > h3 {
  font-size: 16px;
  margin-bottom: 20px;
}
#respond form label {
  color: #888888;
}
footer {
  text-align: center;
  padding-bottom: 40px;
  font-size: 12px;
}
/* Misc & mixens
-------------------------------------------------------------- */
.site-footer {
  display: none;
}
.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.clear {
  clear: both;
}
/* clear floats */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix {
  display: inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}

/* #Media Queries
================================================== */

/* Those wide screens above 767px (from ipad) */
@media only screen and (min-width: 767px) {
    /*header*/
    #brand h1 a:after{
      right: 3rem;
    }
    header ul li a,
    .site-title a {
        font-size: 2.5rem;
    }
    ul.sub-menu {
      /* line-height: 1.6; */
    }
    ul.sub-menu {
      padding-left: 4rem;;
    }
    ul.sub-menu li a {
      font-size: 1.8rem;
    }
    /* gallery */
    .wp-block-envira-envira-gallery {
      padding-top: 10px;
    }
    /* lightbox */
    div#envirabox-outer {
      background: transparent;
    }
    div#envirabox-content {
      border-width: 0 !important;
      box-shadow: none !important;
      margin: 0 auto;
    }
    a#envirabox-close {
      right: 0;
    }
    a#envirabox-right:hover span, body.envira-touch area#envirabox-right span {
      left: auto;
      right: 20px !important;
    }
    div#envirabox-title {
      margin-left: 15px;
      padding-top: 0;
    }
    div#envirabox-title.envirabox-title-inside {
      margin-top: 5px;
      background: transparent;
      color: white;
    }
    .wp-block-table {
      margin: 10rem 0;
    }
    td#envirabox-title-float-main {
      text-shadow: none;
      margin-top: 5px;
      background: transparent;
      color: white;
    }
    .crp_related {
      padding-bottom: 10rem;
  }
    .crp_related span.crp_title {
      bottom: -20px;
    }
}

  /* Those wide screens above 1024px (from ipad pro) */
  @media only screen and (min-width: 1024px) {
      /* Typographie */
      h2 {
        line-height: 50px;
        font-size: 3.4rem;
        margin: 3rem 0 0;
      }

       /* Header */
       .home .main-navigation {
        min-height: 30vh;
      }
      .home .the-content {
        position: initial;
        transform: none;
      }
      .home .the-content img {
        max-width: 400px;
      }
      .home figure {
        max-height: 398px;
        max-width: 398px;
      }
       .main-navigation {
        flex-wrap: nowrap;
        width: 100%;
        margin: 0 2rem;
      }
      .menu-main-menu-container {
        width: 65%;
      }
      .menu-secondary-menu-container {
        width: 35%;
      }
      .menu-secondary-menu-container {
        align-self: auto;
        border-top: none;
        padding-top: 0;
      }
      header ul li a {
        font-size: 3.4rem;
      }
      .site-title a{
        font-size: 3.4rem;
      }
      ul.sub-menu li a {
        font-size: 2rem;
      }
      .site-description {
        font-size: 1.4rem;
        line-height: 14px;
      }
      h1 {
        line-height: 40px;
      }
      #brand {
        padding: 1rem 2rem;
      }
      #brand h1 a:after {
        top: -10px;
      }

      /*project titles table */
      .wp-block-table.project-title {
        margin: 2rem 0 1rem;
      }
      .wp-block-table.project-title  tr {
        border: 0;
        display: table-row;
      }
      .wp-block-table.project-title h1 {
        font-size: 3.4rem;
      }

      /* Pages & articles */
      .agency-flex {
        flex-direction: row;
        justify-content: space-between;
      }
      .agency-flex div{
        width: 45%;
      }
      .agency-flex div:last-child {
        display: none;
    }

      /* Related Pages */
      .crp_related ul {
        flex-wrap: nowrap;
      }
      .crp_related ul img {
        object-fit: cover;
        max-width: 220px;
        max-height: 220px;
      }
      .crp_related a,
      .crp_related li {
        max-width: 220px;
        max-height: 220px;
      }
      .crp_related li:first-child {
        margin-left: 0 !important;
        padding-left: 0;
      }
      .crp_related li:last-child {
        margin-right: 0 !important;
        padding-right: 0;
      }
      .crp_related span.crp_title {
          bottom: -50px;
          font-size: 1.6rem;
      }

      /*weglot */
      aside.country-selector.weglot-inline.weglot-default {
        bottom: 0;
    }
    
  }

  /* Those wide screens above 1280px */
  @media only screen and (min-width: 1281px) {
    body{
      font-size: 2.5em;
      line-height: 1.5em;
    }

    .menu-main-menu-container,
    .menu-secondary-menu-container {
      width: 50%;
    }

    ul#menu-main-menu,
    ul#menu-secondary-menu {
      padding: 0;
    }

    /* Header */
    #brand h1 a:after{
      right: 4rem;
      top: 0;
    }
    ul.sub-menu {
      padding-left : 10rem;
    }
    header ul li a {
      font-size: 3.7rem;
      line-height: 1.4;
    }
    ul.sub-menu .sub-menu li {
      line-height: 1;
    }
    ul.sub-menu .sub-menu li a {
      font-size: 20px;
    }
    .site-title a {
      font-size: 3.7rem;
    }
    ul.sub-menu li a {
      font-size: 25px;
    }
  
 
    /* Articles */
    article .title{
      font-size: 1.8em;
      line-height: 1.5em;
    }
    article .post-meta{
      font-size: 0.7em;
      line-height: 1em;
    }
    .menu-main-nav-container a, .side-title, .menu-main-container a{
      font-size: 1em;
      line-height: 1.5em;
    }
    #sidebar{
      font-size: 0.7em;
      line-height: 1.5em;
    }
    #sidebar h3{
      font-size: 1.5em;
      line-height: 1.5em;
    }
       /* Related Pages */
      .crp_related ul img {
        max-width: none;
        max-height: none;
      }
      .crp_related a,
      .crp_related li {
        max-width: none;
        max-height: none;
      }
      .crp_related span.crp_title {
        bottom: -40px;
        font-size: 1.8rem;
    }

      /* Weglot */

      .home aside.country-selector.weglot-default {
        bottom: initial;
        top: 40px;
        right: 40px;
      }
      aside.country-selector.weglot-default {
        bottom: initial;
        top: 47px;
        right: 12px;
      }
  }

  /* Smaller than standard 960 (devices and browsers) */
  @media only screen and (max-width: 959px) {
    .side-title{
      font-size: 1em;
      line-height: 1.5em;
    }
  }

  /* Tablet Portrait size to standard 960 (devices and browsers) */
  @media only screen and (min-width: 768px) and (max-width: 959px) {
    .side-title{
      font-size: 1em;
      line-height: 1.5em;
    }
  }

  /* All Mobile Sizes (devices and browser) */
  @media only screen and (max-width: 767px) {
    .side-title{
      font-size: 1em;
      line-height: 1.5em;
    }
    .menu-item a img, img.menu-image-title-after, img.menu-image-title-before, img.menu-image-title-above, img.menu-image-title-below, .menu-image-hover-wrapper .menu-image-title-above {
      display: none !important; /* because JS */
    }
  }

  /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  @media only screen and (min-width: 480px) and (max-width: 767px) {
    body, article .post-meta{
      font-size: 1.2em;
      line-height: 1.5em;
    }
    article .title{
      font-size: 2em;
      line-height: 1.5em;
    }
    .site-title{
      font-size: 10px !important;
      line-height: 50px;
    }
    .menu-main-nav-container a, .side-title, .menu-main-container a{
      font-size: 1em;
      line-height: 1.5em;
    }
  }

  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (max-width: 479px) {
    body, article .post-meta{
      font-size: 1.2em;
      line-height: 1.5em;
    }
    article .title{
      font-size: 2em;
      line-height: 1.5em;
    }
    h1.site-title {
      font-size: 20px !important;
      line-height: 20px;
    }
    .menu-main-nav-container a, .side-title, .menu-main-container a{
      font-size: 1em;
      line-height: 1.5em;
    }
  }

    /* Small Mobile */
    @media only screen and (max-width: 360px) {
      .crp_related a,
      .crp_related li {
        max-width: 110px;
        max-height: 110px;
      }
      .crp_related ul img {
        max-width: 110px;
        max-height: 110px;
      }
    }
