
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 16px;
    line-height: 26px;
    background: #fff;
    font-weight: 300;
    width: 100%;
    font-family: "komet", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-size: cover;
}
p {
  margin: 0 0 1em 0;
}

.richtext-image.full-width {
  width: 100%;
  height: auto;
}

a {
    text-decoration: none;
    color: #333;
}

body{
    overflow-x: hidden;
}

.navicon {
  display: none;
}


h1,h2,h3,h4 {
    line-height: 1.1;
    font-family: "proxima-nova", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #222;
    margin: 1rem 0;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child {
    margin-top: 0;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.7rem;
}

h5 {
    font-size: 1.3rem;
}

.center {
    text-align: center;
}

.blogs {
    display: grid;

  --grid-layout-gap: 50px;
  --grid-column-count: 4;
  --grid-item--min-width: 150px;

  /**
   * Calculated values.
   */
  --gap-count: calc(var(--grid-column-count) - 1);
  --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
  --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

  display: grid;
  padding: 0 100px 100px 100px;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  grid-gap: var(--grid-layout-gap);
}

.section .blogs {
    padding: 0;
}

.blogs > a {
    background: #fff;
}

.blogs img {
  transition: transform 0.5s ease;
  transform: scale(1);
    width: 100%;
    height: auto;
    display: block;

}

.blogs > a:hover img {
    transform: scale(1.1);
}

#blog {
    height: auto;
}
.blogs__content {
    padding: 10px 0 0 0;
    color: #333;
}

.blogs__content .meta {
    color: #888;
    margin-bottom: -15px;
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.blogs__content h3 {
    font-size: 23px;
    line-height: 30px;
    margin-bottom: 10px;
}

.content-width {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 20px 100px 20px;
    width: 100%;
}

.content-width-blog {
    max-width: 700px;
    padding: 30px 0 50px 0;
/*    margin: 0 auto;*/
}

.content-width-blog p {
    line-height: 1.7em;
    font-size: 1.3em;
}

.clear {
    clear: both !important;
}

.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after, .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
  content: " ";
  display: block;
  background: white;
  position: absolute;
  z-index: 30;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {
  width: 3px;
  height: 9999px;
  left: 50%;
  margin-left: -1.5px; }

.twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
  width: 9999px;
  height: 3px;
  top: 50%;
  margin-top: -1.5px; }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%; }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s; }

.twentytwenty-before-label, .twentytwenty-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity; }

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  color: white;
  font-size: 13px;
  letter-spacing: 0.1em; }

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  line-height: 38px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px; }

.twentytwenty-horizontal .twentytwenty-before-label:before, .twentytwenty-horizontal .twentytwenty-after-label:before {
  top: 50%;
  margin-top: -19px; }

.twentytwenty-vertical .twentytwenty-before-label:before, .twentytwenty-vertical .twentytwenty-after-label:before {
  left: 50%;
  margin-left: -45px;
  text-align: center;
  width: 90px; }

.twentytwenty-left-arrow, .twentytwenty-right-arrow, .twentytwenty-up-arrow, .twentytwenty-down-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute; }

.twentytwenty-left-arrow, .twentytwenty-right-arrow {
  top: 50%;
  margin-top: -6px; }

.twentytwenty-up-arrow, .twentytwenty-down-arrow {
  left: 50%;
  margin-left: -6px; }

.twentytwenty-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 0;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; }
  .twentytwenty-container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    display: block; }
  .twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {
    background: rgba(0, 0, 0, 0); }
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
      opacity: 0; }
  .twentytwenty-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box; }

.twentytwenty-before-label {
  opacity: 0; }
  .twentytwenty-before-label:before {
    content: attr(data-content); }

.twentytwenty-after-label {
  opacity: 0; }
  .twentytwenty-after-label:before {
    content: attr(data-content); }

.twentytwenty-horizontal .twentytwenty-before-label:before {
  left: 10px; }

.twentytwenty-horizontal .twentytwenty-after-label:before {
  right: 10px; }

.twentytwenty-vertical .twentytwenty-before-label:before {
  top: 10px; }

.twentytwenty-vertical .twentytwenty-after-label:before {
  bottom: 10px; }

.twentytwenty-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25; }
  .twentytwenty-overlay:hover {
    background: rgba(0, 0, 0, 0.5); }
    .twentytwenty-overlay:hover .twentytwenty-after-label {
      opacity: 1; }
    .twentytwenty-overlay:hover .twentytwenty-before-label {
      opacity: 1; }

.twentytwenty-before {
  z-index: 20; }

.twentytwenty-after {
  z-index: 10; }

.twentytwenty-handle {
  height: 38px;
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border: 3px solid white;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
  cursor: pointer; }

.twentytwenty-horizontal .twentytwenty-handle:before {
  bottom: 50%;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
.twentytwenty-horizontal .twentytwenty-handle:after {
  top: 50%;
  margin-top: 22px;
  -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-vertical .twentytwenty-handle:before {
  left: 50%;
  margin-left: 22px;
  -webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
.twentytwenty-vertical .twentytwenty-handle:after {
  right: 50%;
  margin-right: 22px;
  -webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }

.twentytwenty-left-arrow {
  border-right: 6px solid white;
  left: 50%;
  margin-left: -17px; }

.twentytwenty-right-arrow {
  border-left: 6px solid white;
  right: 50%;
  margin-right: -17px; }

.twentytwenty-up-arrow {
  border-bottom: 6px solid white;
  top: 50%;
  margin-top: -17px; }

.twentytwenty-down-arrow {
  border-top: 6px solid white;
  bottom: 50%;
  margin-bottom: -17px; }
.before-after .container {
  height: 400px;
}

.before-after .twentytwenty-container img {
  height: 400px;
  width: 100%;
}

.before-after .twentytwenty-wrapper {
width: 490px;
  display: block;
  float: right;
}

.before-after .inner {
  background: #333;
  height: 400px;
}

.before-after .label {
  width: 50%;
  float: left;
  color: #fff;
  padding: 90px;
  height: 400px;
}

.before-after h2 {
  font-size: 25px;
  color: #fff;
}

.before-after .label p {
  font-size: 20px;
  color: #ddd;
  line-height: 1.6em;
}

@media (max-width: 900px) {

  .section-2-text blockquote {
    padding: 0 !important;
  }

  .before-after .container {
    height: auto;
  }

  .before-after .label {
    width: 100%;
    float: none;
    height: auto;
    padding: 20px 30px;
  }

  .before-after .twentytwenty-wrapper {
    width: 100%;
    float: none;
  }

  .before-after .twentytwenty-container img {
    width: 100%;
    height: auto;
  }

  .before-after .inner {
    height: 100%;
  }
}

.container.container--featured {
  margin: 60px auto;
}

.container--featured + .section {
    padding: 50px 100px;
}

.container.container--featured h2 {
  text-align: center;
}

.before-after-home {
  margin: 120px 0 60px 0 !important;
}

.before-after-home .label {
  padding: 45px !important;
}

.before-after-home .inner {
  background: #eee !important;
  color: #444;
}

.before-after-home .inner h2,
.before-after-home .inner p {
  color: #444;
}

.contact-details {
  width: 45%;
  float: left;
}

@media screen and (max-width: 850px) {
  .contact-details {
    width: 100%;
    float: none;
  }
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 0;
  background: red;
  color: #fff;
  padding: 10px;
  font-size: 12px;
  line-height: 17px;
  margin-bottom: 15px;
}

.contact-form {
  float: right;
  width: 45%;
  margin-top: -50px;
}

.contact-form button {
  background: #333;
  color: #fff;
  padding: 10px 15px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 10px;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.contact-form button:hover {
  background: #444;
}

.contact-form .field {
  display: block;
  clear: both;
  position: relative;
  padding-left: 120px;
}

.contact-form .field label {
  display: block;
  font-size: 13px;
  line-height: 13px;
  float: left;
  margin-left: -120px;
  position: absolute;
  top: 15px;
}

.contact-form .field input,
.contact-form .field textarea {
  margin: 0;
  background: #fff;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #ddd;
}

.contact-form .field textarea {
  height: 150px;
}

.contact-form .field--message {
  padding: 0;
}

@media screen and (max-width: 850px) {
  .contact-form {
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
    width: 100%;
    float: none;
  }
}

.strap {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  color: #777;
  font-size: 24px;
  line-height: 33px;
  padding: 5px 0 10px;
}

.strap.strap-top {
    border: 0 !important;
    text-align: center;
}

.section-blog__back {
    font-weight: bold;
    color: #333;
    padding-bottom: 20px;
    display: block;
}


.section-page, .section-blog {
    margin: 0 auto;
    padding: 150px 50px 50px 50px;
    width: 100%;
    max-width: 1240px;
    text-align: center;
}

.section-page h2, .section-blog h2 {
  color: #777;
  font-size: 27px;
  line-height: 33px;
  font-family: "komet";
  padding: 5px 0 10px;
  font-weight: 300;
}

.section-page  h1, .section-blog h1 {
  color: #333;
  margin: 0;
  font-size: 70px;
  letter-spacing: -1px;
  line-height: 60px;
}

.stats {
    margin-top: 100px;
    padding: 0 100px;
}

.stats-inner {
    display: flex;
}

.stat {
    flex-grow: 1;
    text-align: center;

}
.stat strong {
    font-size: 80px;
}

.stat strong sup {
    vertical-align: baseline;
    position: relative;
    top: -35px;
    font-size: 46px;
    margin-bottom: -1000px;
    display: inline-block;
}

.stat label {
        color: #999;
    font-size: 14px;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-blog {
    padding: 170px 100px 100px 100px;
    text-align: left;
}

.section-blog-inner {
    display: flex;
    grid-gap: 50px;
}

.section-blog h3 {
    font-family: 'komet';
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 300;
}

.section-1.section-hero-home {
    padding: 150px 0 60px 0;
}



.section-1.section-hero-home h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 80px;
    line-height: 1.1;
}

.section-1.section-hero-home p{
    max-width: 600px;
    margin: 0 auto;
}

.section-1 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 20px 10px 20px;
    width: 100%;
}

.section-1 h1 {
  color: #333;
  margin: 0;
  font-size: 60px;
  letter-spacing: -1px;
  line-height: 100px;
  line-height: 60px;
}

.section-1 .strap {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  color: #777;
  font-size: 24px;
  line-height: 33px;
  padding: 5px 0 10px;
}


.footer {
  width: 100%;
  padding: 50px 20px;
  margin: 0 auto;
    background: #111;
    text-align: center;
    clear: both;
}

.footer span {
  display: block;
  font-size: 14px;
}

.footer .copyright {
  color: #999;
  font-size: 13px;
}

.footer .button {
  color: #333 !important;
  background: #fff !important;
  text-decoration: none !important;
  padding: 10px 15px;
  margin-top: -10px;
}

.footer .footer-nav {
    height: auto;
    position: relative;
    background: none;
}

.footer .footer-nav ul {
    text-align: center;
    padding: 0;
    padding-bottom: 50px !important;
}


.footer .footer-nav li  {
  display: inline-block;
  padding: 20px;
}

.footer .footer-nav li a {
    color: #fff;
}

.footer .footer-nav li a:hover {
    color: #fff;
    text-decoration: underline;
    background: none;
}

.footer a {
  color: #3978E8;
}

.footer .contact {
    text-align: center;
  font-size: 12px;
  line-height: 15px;
  margin: 30px 0;
  color: #999;
}

.footer .contact a {
  color: #999;
  text-decoration: underline;
}

.project-form h2 {
  border-bottom: 1px solid #ddd;
}

.project-form button {
  background: #333;
  color: #fff;
  padding: 15px 20px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 2px;
  margin-top: 10px;
  border: 0;
  outline: 0;
  cursor: pointer;
}

.project-form button:hover {
  background: #444;
}

.project-form .field {
  display: flex;
  padding: 10px 0;
}

.project-form .field label {
  display: block;
  font-size: 16px;
  line-height: 20px;
  flex: 0 0 30%;
  padding: 10px 20px 10px 0;
}

.project-form .field input,
.project-form .field textarea,
.project-form .field select {
  margin: 0;
  background: #fff;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  font-weight: 400;
}

.project-form .field input[type=file] {
  background: none;
}

.project-form .field .formset label {
  display: none;
}

.project-form .field .formset a:hover {
  color: #333;
  cursor: pointer;
}

.project-form .field #project_address {
  padding-top: 10px;
}

.project-form .field textarea {
  height: 120px;
  font-family: 'Open Sans';
  font-weight: 400;
}

.project-form .field .checkbox input[type="checkbox"] {
  opacity: 0;
  display: none;
}

.project-form .field .checkbox label {
  position: relative;
  display: inline-block;
  padding-left: 22px;
}

.project-form .field .checkbox label:before,
.project-form .field .checkbox label:after {
  position: absolute;
  content: "";
  display: inline-block;
}

.project-form .field .checkbox label:before {
  height: 16px;
  width: 16px;
  border: 1px solid;
  left: 0px;
  top: 3px;
}

.project-form .field .checkbox label:after{
  height: 5px;
  width: 9px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  left: 4px;
  top: 7px;
  display: none;
}

.checkbox input[type="checkbox"] + label:after {
  content: none;
}

.checkbox input[type="checkbox"]:checked + label:after {
  content: "";
  display: block;
}

.checkbox input[type="checkbox"]:focus + label:before {
  outline: rgb(59, 153, 252) auto 5px;
}

@media screen and (max-width: 850px) {
  .project-form {
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
    width: 100%;
    float: none;
  }
}

.mag {
  width: 185px;
  float: left;
  border: 1px solid #ddd;
  height: 250px;
  position: relative;
}

.mag .mag-img {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
}

.mag .mag-info {
  display: none;
  background: #999;
  font-size: 13px;
  line-height: 16px;
  padding: 5px 10px;
  color: #fff;
  position: relative;
  margin-top: 14px;
  top: 100%;
}

.mag .mag-info .triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #999;
  margin: 0 auto;
  margin-top: -10px;
}

.mag:hover .mag-info {
  display: block;
}

.map {
    width: 100%;
}

.map img {
    width: 100%;
}

.map .mapimg {
  width: 100%;
  height: 315px;
  background-size: cover;
}

.map--large {
  margin-top: 0 !important;
  margin-bottom: -30px;
  width: 100%;
}

.map--large .mapimg {
  width: 100%;
  height: 220px;
  background-size: cover;
}

.subnav {
  width: 100%;
  margin-top: 5px;
  background: #eee;
  height: 35px;
}

.subnav ul {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  list-style: none;
  clear: both;
}

.subnav ul li {
  float: left;
}

.subnav ul li a {
  font-size: 13px;
  color: #000;
  display: block;
  line-height: 35px;
  padding: 0 5px;
  margin-right: 10px;
}

.subnav ul li a:hover {
  background: #000;
  text-decoration: none;
}

.subnav ul li:first-child a {
  margin-left: -5px;
}


.social-icons {
    padding-left: 20px;
}

.social-icons a {
    display: inline-block !important;
    margin: 0 2px;
    text-decoration: none;
    position: relative;
    width: 30px;
    height: 30px;
    line-height: 40px !important;
    padding: 0 !important;
    top: 8px;
    transition: fill 0.3s ease;
}

.social-icons a svg {
    width: 30px;
    height: 30px;
    fill: #333;
}
.nav {
  width: 100%;
  margin: 0 auto;
  margin-top: 50px;
  margin: 0 auto;
  padding: 10px 30px;
  display: flex;
  background: rgba(250, 250, 250, 0.95);
  position: fixed;
  z-index: 999;
}

.nav h2 {
    font-size: 25px;
    position: relative;
    top: 12px;
    min-width: 160px;
}

.nav h2 a {
    color: #222;
    z-index: 1;
    position: relative;
    transition: color 0.3s ease;
}

.nav h2 span {
    display: none;
}

.nav .nav-inner {
  width: 100%;
  padding: 0 20px 5px 20px;
  list-style: none;
  clear: both;
text-align: right;
}

.nav li, .nav .nav-inner > * {
    display: inline-block;
}

.nav li a {
  padding: 0 15px;
  display: block;
  color: #555;
  font-weight: 500;
  line-height: 35px;
}

.nav li a:hover {
  text-decoration: underline;
}

.nav li:first-child a {
  margin-left: -15px;
}

.footer .nav ul {
  padding-left: 0;
}

#content {
  padding-left: 270px;
}

@media screen and (max-width: 800px) {
  #content {
    padding-left: 0;
  }
}

.screen-reader-text {
  display: none;
}

#searchsubmit {
  display: none;
}

input[type=text], textarea {
  border: 1px solid #ddd;
  padding: 4px 6px;
}

#container {
  padding: 0 20px;
}

#main {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  min-height: 1800px;
}

.widget-area {
  width: 240px;
  position: absolute;
  top: 283px;
  padding-left: 20px;
  margin-right: 20px;
  float: left;
}

@media screen and (max-width: 800px) {
  .widget-area {
    display: none;
  }
}

.widget-area .xoxo {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-area ul li {
  font-size: 14px;
  padding: 3px 0;
  line-height: 22px;
}

.widget-area ul li a {
  color: #444 !important;
}

.navigation {
  color: #888;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
}

.navigation a:link,
.navigation a:visited {
  color: #888;
  text-decoration: none;
}

.navigation a:active,
.navigation a:hover {
  color: #2361a1;
}

.nav-previous {
  float: left;
  width: 50%;
}

.nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

#nav-above {
  margin: 0 0 18px 0;
}

#nav-above {
  display: none;
}

.blog a {
  color: #3978E8;
}

.blog1 {
  width: 315px;
  float: left;
  height: 474px;
  margin-right: 15px;
  border: 1px solid #ddd;
}

.blog1 h3 {
  font-size: 22px;
  line-height: 25px;
  padding: 5px 20px 0 20px;
}

.blog1 .text {
  padding: 0 20px 20px 20px;
}

.blog1 .blog-img {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.quote {
  width: 500px;
  float: right;
  font-size: 34px;
  font-family: 'Lato';
  color: #333;
  line-height: 40px;
  padding: 38px 0 0 20px;
  padding-left: 50px;
}

.quote .caption {
  color: #777;
  font-style: italic;
  font-size: 14px;
  line-height: 30px;
  text-align: right;
  font-family: 'Open Sans';
  font-weight: 300;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
}

.container--small {
    max-width: 860px;
}
.section-nopadding {
  padding: 0 !important;
}

.section-2 {
  background: #eee;
  width: 100%;
  padding: 20px 0 30px 0;
  margin: 50px 0;
}

.section-2 h2 {
  letter-spacing: -1px;
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 40px;
  margin-bottom: 50px;
}

.text-block {
  position: relative;
  background: #eee;
  width: 100%;
  padding: 50px 0;
  margin: 0;
}

.project-overview {
    display: grid;
    padding: 0 100px;
    grid-template-columns: 2fr 3fr;
    grid-gap: 100px;
}

.section-project {
    text-align: left;
    padding-left: 100px;
    padding-right: 100px;
    max-width: 100%;
}

.section-project h2 {
  font-size: 26px;
  line-height: 1.4;
}

.container--bat {
  margin-top: 50px;
}

.project-details {
    width: 100%;
}

.project-overview p {
  font-size: 18px;
  line-height: 1.5;
}

.project-overview h4 {
  font-size: 1.8rem;
}

.project-details div {
    display: flex;
    border-bottom: 1px solid #333;
    padding: 10px 0;
}
.project-details div:last-child {
    border-bottom: 0;
}
.project-details label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    font-size: 15px;
}
.project-details span {
    display: block;
    text-align: right;
    font-size: 18px;
    width: 100%;
}

blockquote {
        font-weight: bold;
    font-family: 'gloock';
    font-size: 25px;
    line-height: 38px;
    margin: 30px;
}

blockquote i {
    font-family: "komet", sans-serif;
    font-size: 15px;
    color: #888;
    display: block;
}

.main-blockquote {
    margin: 0;
        font-weight: bold;
    font-family: 'gloock';
    font-size: 25px;
}

.image-block {
    padding: 100px;
    max-width: 1300px;
    margin: 0 auto;
}

.image-block__content {
    display: grid;
    grid-template-columns: 5fr 4fr;
    grid-gap: 100px;
}

.image-block + .image-block  {
    padding-top: 0;
}

.image-block + .image-block .image-block__content {

  grid-auto-flow: dense; /* NEW */
    direction: rtl;
    text-align: left;
}


.image-block + .image-block .image-block__content p {
  direction: ltr;
}

.image-block__content img {
    width: 100%;
    height: auto;
}

.image-block__content p {
    font-size: 20px;
    line-height: 1.5;
}

.image-block__content > div {
    display: flex;
   /* align-items: center;
    align-content: center;*/
}

.breadcrumb {
    position: absolute;
    top: 66px;
    /* background: #e7e7e7; */
    width: 100%;
    padding: 15px 100px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}

.breadcrumb span {
  color: #999;
  padding: 10px;
}

.image-block__content h2 {
/*  text-transform: uppercase;*/

  font-size: 1.8rem;
}

.text-block .container {
  position: relative;
}

.text-image-block {
  position: relative;
  background: #eee;
  width: 100%;
  padding: 50px 0;
  margin: 0;
}

.text-block + .text-block {
    background: #fff;
}

.text-block + .text-block +.text-block{
    background: #eee;
}

.text-image-block .container {
  position: relative;
}

.text-image-block .text-image-block__content {
  padding: 30px 0;
  display: flex;
  flex-direction: row-reverse;
}

.text-image-block h2 {
    margin-bottom: 0.5em;
}
.text-image-block .img {
  display: block;
  width: 400px;
  margin-left: 100px;
  flex-shrink: 0;
}

.text-image-block .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.text-image-block--white {
  background: #fff;
}

.text-image-block + .text-image-block {
    background: #fff;
}

.text-image-block + .text-image-block .text-image-block__content {
    flex-direction: row;
}

.text-image-block + .text-image-block .img {
    margin: 0;
    margin-right: 100px;
}

.text-image-block + .text-image-block .text-image-block__content {
  padding-right: 0;
}

.cols {
  display: flex;
}

.cols .col {
  flex: 0 0 50%;
  position: relative;
}

.cols .col img {
  object-fit: cover;
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
}

.button {
  color: #fff;
  background: #222;
  padding: 5px 25px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
  display: inline-block;
  font-size: 12px;
}

.button:hover {
  text-decoration: none;
  background: #666;
  cursor: pointer;
}

b,
strong {
  font-weight: bold;
}

i {
  font-style: italic;
}

.section-2-text {
  padding: 50px 0 70px 0;
  margin: 0;
}

.section-2-text .center {
  text-align: center;
}

.section-2-text .left,
.section-2-text .right {
  font-size: 130px;
  font-family: serif;
  position: absolute;
  left: 0;
  top: -20px;
}

.section-2-text blockquote {
  position: relative;
  padding-right: 100px;
  padding-left: 80px;
  line-height: 38px;
  color: #000;
  font-size: 25px;
}

.section-2-text .right {
  left: auto;
  right: 0;
  top: auto;
  bottom: -40px;
}

.section-2-text .author {
  padding-left: 80px;
  font-style: italic;
  padding-top: 40px;
  font-size: 13px;
  color: #999;
  font-family: "komet", sans-serif;
  font-weight: bold;
}

.section {
    padding: 100px;
}

.demo-color {
  float: left;
  width: 300px;
  height: 260px;
  margin: 20px 0;
  margin-right: 30px;
}

.content {
  width: 1240px;
  margin: 0 auto;
}

.content .img {
  width: 325px;
  height: 230px;
  margin: 0 10px 10px 0;
  background-size: cover;
  background-position: center center;
  float: left;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.content .img:hover .img-info {
  opacity: 0.8;
}

.content .img--not-square {
  height: 325px;
  width: auto;
}

.content p {
  font-size: 18px;
  line-height: 25px;
}

.section--map {
    gap: 100px;
    display: grid;
    grid-template-columns: auto 1fr;
    padding-bottom: 0;
}

.last {
  margin-right: 0;
}

.full-gallery {

  --grid-layout-gap: 10px;
  --grid-column-count: 4;
  --grid-item--min-width: 100px;

  /**
   * Calculated values.
   */
  --gap-count: calc(var(--grid-column-count) - 1);
  --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
  --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

  display: grid;
  padding: 0 100px 100px 100px;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  grid-gap: var(--grid-layout-gap);
}

.full-gallery--fun > a:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.full-gallery--fun > a:nth-child(8) {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
}

.full-gallery--fun > a:nth-child(12) {
    grid-column: 2 / 4;
    grid-row: 4 / 6;
}

.full-gallery--fun > a:nth-child(16) {
    grid-column: 1 / 3;
    grid-row: 7 / 9;
}

.blogs__img {
    overflow: hidden;
}

.section-blog-nav {
    padding: 0 0 100px 0;
    width: 100%;
    border-top: 1px solid #ddd;
    padding: 15px 100px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}

.section-blog-nav ul {
    display: flex;
    width: 100%;
    list-style: none;
    padding: 0;
}

.section-blog-nav ul li {
    flex-grow: 1;
}

.section-blog-nav ul li.last {
    text-align: right;
}

.section-blog-nav ul li a{
    color: #333;
}

.section .full-gallery {
    padding: 0;
}

.full-gallery .img {
  width: 100%;
  height: 0;
  border: 1px solid #eee;
  background-size: cover;
  overflow: hidden;
  padding-top: 80%;
  position: relative;
}

.full-gallery .img img {
  max-height: 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1);
}

.full-gallery .img .overlay {
  opacity: 1;
  bottom: 0;
  position: absolute;
  transition: opacity 0.5s;
}

.full-gallery .img:hover img{
  transform: scale(1.1);
}

.full-gallery a:nth-child(3n) .img {
  margin-right: 0;
}

.full-gallery--active .overlay {
  opacity: 1 !important;
  height: 100px;
  top: 180px !important;
  padding-top: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.full-gallery--active .overlay h2,
.full-gallery--active .overlay p {
  position: relative;
  bottom: auto;
}

.full-gallery--active .overlay h2 {
  margin-bottom: -15px;
}

.overlay {
  height: 75px;
  width: 100%;
  position: relative;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

.overlay h2 {
  margin: 0;
  position: absolute;
  font-size: 20px;
  line-height: 25px;
  bottom: 0;
  padding: 10px;
  padding-top: 0px;
  color: #fff;
}

.overlay p {
  display: block;
  position: absolute;
  color: #fff;
  padding: 10px;
  bottom: -10px;
  font-size: 13px;
  line-height: 16px;
}

.padd-left {
  margin-left: -15px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    max-width: 1040px;
    margin: 0 auto;
    margin-top: 30px;
}

.grid .grid-2 {
  width: 50%;
  flex: 0 0 50%;
  padding: 20px 10px;
  opacity: 0;
}

main {

}

.nav .icon {
  background: #eee;
  background-size: contain;
  background-position: center;
  padding: 0;
  float: right;
  border-radius: 50%;
  margin-right: 5px;
  display: none;
}

.nav .icon a {
  width: 25px;
  display: block;
  height: 25px;
  text-align: center;
  padding: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: bold;
  float: right;
  color: #fff !important;
}

.nav .icon a:hover {
  opacity: 0.9;
  background-color: rgba(255, 255, 255, 0);
}

.nav .fb {
  background-image: url("/static/images/facebook-icon.7f0a75292d22.png");
}

.nav .pin {
  background-image: url("/static/images/pinterest.6341824a4144.png");
}

.slider {
  max-height: 320px;
  overflow: hidden;
}

.slider .slide {
  width: auto;
  display: inline-block;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background-size: cover;
  margin-right: 20px;
}

.slider .slide .img {
  height: 320px;
  position: relative;
  min-width: 320px;
  background: #333;
}

.slider .slide .img .overlay {
 /* bottom: -90px;
  opacity: 0;*/
  position: absolute;
  transition: all 0.3s;e
  opacity: 1;
  bottom: 0px;
}

.slider .slide .img .overlay--force {
  opacity: 1 !important;
  bottom: 0 !important;
}
/*
.slider .slide:hover .img .overlay {
    opacity: 1;
    bottom: 0px;
}*/

.slider .slide img {
  max-height: 320px;
  min-width: 100%;
}

.image-block + .section--map-large {
    padding-top: 0;
}

.section--map-large {
    padding-bottom: 0;
}

.mag-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 25px;
    margin: 0 100px;
}

.mag-grid .mag-grid__item .mag2 {
  width: 100%;
  border: 1px solid #ddd;
  padding-top: 142%;
  position: relative;
}

.mag-img-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 142%;
    height: 100%;
    top: 0;
    position: absolute;
}

.mag-grid .mag-grid__item .mag2 .mag-img {
  width: 100%;
  height: 0;
  background-size: cover;
  background-position: center;
  padding-top: 143%;
  top: 0;
  position: absolute;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1);
}
.mag-grid .mag-grid__item .mag2:hover .mag-img{
  transform: scale(1.1);
}

.mag-grid .mag-grid__item .mag2 .mag-info {
  display: none;
  width: 100%;
  background: #999;
  text-align: center;
  font-size: 13px;
  position: absolute;
  line-height: 16px;
  padding: 5px 10px;
  text-decoration: none;
  color: #fff;
  margin-top: 14px;
  z-index: 9999;
}

.mag-grid .mag-grid__item .mag2 .mag-info .triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #999;
  margin: 0 auto;
  margin-top: -10px;
}

.mag-grid .mag-grid__item .mag2:hover .mag-info {
  display: block;
}

.slider--narrow {
  width: 100%;
  max-width: 400px;
  float: left;
}

.related {
  width: 400px;
  text-decoration: none;
  float: left;
  color: #3978E8;
}

.related a {
  text-decoration: none;
}

.related .related-project {
  padding: 10px 15px;
  width: 100%;
  margin-bottom: 10px;
  background: #eee;
}

.related .related-project:hover {
  text-decoration: none;
}

.related .related-project:hover h3 {
  text-decoration: none;
}

.related h3 {
  color: #333;
  line-height: 20px;
}

.related p {
  color: #3978E8;
}

.news {
  width: 29%;
  float: left;
  margin: 20px;
  min-height: 400px;
  border: 1px solid #ddd;
}

.news:nth-child(3) {
  margin-right: 0;
}

.news span {
  font-size: 15px;
  color: #000;
  font-family: 'Lato';
  font-weight: bold;
}

.news a {
  font-size: 12px;
  color: #3978E8;
  margin-top: -20px;
}

.news img {
  display: block;
  width: 100%;
}

.news .img-box {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.news .text {
  padding: 0 15px 15px 15px;
}

.news p {
  line-height: 1.5;
  font-size: 15px;
}

.project-gallery .overlay {
  background: none;
}

.project-gallery .overlay p {
  background: rgba(240, 240, 240, 0.7);
  width: 100%;
  text-align: left;
  color: #333;
}

.slider li {
  float: left;
  width: 320px;
  height: 300px;
  margin: 10px;
  background: #444;
}

.active-project {
  background: #eee;
}

.mags-small {
  width: 420px !important;
  margin-left: -20px;
  float: left;
}

.mags-small-nav {
  right: -420px !important;
}

.mobile-nav {
  display: none;
  background: #444;
  width: 100%;
  height: 40px;
}

.mobile-nav i {
  font-size: 20px;
  float: right;
  padding-right: 15px;
  line-height: 40px;
  color: #fff;
}

.mags-project {
    display: flex;
}

.mags {
  width: 1000px;
  margin-bottom: -20px;
}

.mags li {
  width: 184px;
  margin-right: 18px;
  height: 250px;
  background: none;
  height: 300px;
}

.mag-nav {
  position: relative;
  float: left;
  height: 60px;
  font-size: 50px;
  width: 40px;
  padding-left: 10px;
  line-height: 50px;
  margin-top: 100px;
  margin-bottom: -150px;
}



/* =Content
-------------------------------------------------------------- */

#main {
    clear: both;
    overflow: hidden;
    min-height: 1800px;
    padding: 40px 0 0 0;
}
#content {
    margin-bottom: 36px;
}
#content,
#content input,
#content textarea {
    color: #777777;
    font-size: 16px;
    line-height: 24px;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
    margin-bottom: 24px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
    margin-bottom: 0;
}
#content pre,
#content kbd,
#content tt,
#content var {
    font-size: 15px;
    line-height: 21px;
}
#content code {
    font-size: 13px;
}
#content dt,
#content th {
    color: #000;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #777777;
    line-height: 1.5em;
    margin: 0 0 20px 0;
}
#content table {
    border: 1px solid #e7e7e7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
#content tr th,
#content thead th {
    color: #888;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding: 9px 24px;
}
#content tr td {
    border-top: 1px solid #e7e7e7;
    padding: 6px 24px;
}
#content tr.odd td {
    background: #f2f7fc;
}
.hentry {
    margin: 0 0 48px 0;
}
.home .sticky {
    background: #f2f7fc;
    border-top: 4px solid #000;
    margin-left: -20px;
    margin-right: -20px;
    padding: 18px 20px;
}
.single .hentry {
    margin: 0 0 36px 0;
}
.page-title {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 36px 0;
}
.page-title span {
    color: #333;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
    color: #888;
    text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
    color: #2361a1;
}
#content .entry-title {
    color: #000;
    font-weight: bold;
    margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
    color: #000;
    text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
    color: #2361a1;
}
.entry-meta {
    color: #888;
    font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
    border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
    border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
    padding: 12px 0 0 0;
    line-height: 1.8;
}
strong{
    color: #333;
}
#content .entry-summary p:last-child {
    margin-bottom: 12px;
}
.entry-content fieldset {
    border: 1px solid #e7e7e7;
    margin: 0 0 24px 0;
    padding: 24px;
}
.entry-content fieldset legend {
    background: #fff;
    color: #000;
    font-weight: bold;
    padding: 0 24px;
}
.entry-content input {
    margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
    margin-right: 24px;
}
.entry-content label {
    color: #888;
    font-size: 12px;
}
.entry-content select {
    margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
    font-size: 10px;
}
.entry-content blockquote.left {
    float: left;
    margin-left: 0;
    margin-right: 24px;
    text-align: right;
    width: 33%;
}
.entry-content blockquote.right {
    float: right;
    margin-left: 24px;
    margin-right: 0;
    text-align: left;
    width: 33%;
}
.page-link {
    color: #000;
    font-weight: bold;
    margin: 0 0 22px 0;
    word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
    background: #f1f1f1;
    color: #333;
    font-weight: normal;
    padding: 0.5em 0.75em;
    text-decoration: none;
}
.home .sticky .page-link a {
    background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
    color: #2361a1;
}
body.page .edit-link {
    clear: both;
    display: block;
}
#entry-author-info {
    background: #f2f7fc;
    border-top: 4px solid #000;
    clear: both;
    font-size: 14px;
    line-height: 20px;
    margin: 24px 0;
    overflow: hidden;
    padding: 18px 20px;
}
#entry-author-info #author-avatar {
    background: #fff;
    border: 1px solid #e7e7e7;
    float: left;
    height: 60px;
    margin: 0 -104px 0 0;
    padding: 11px;
}
#entry-author-info #author-description {
    float: left;
    margin: 0 0 0 104px;
}
#entry-author-info h2 {
    color: #000;
    font-size: 100%;
    font-weight: bold;
    margin-bottom: 0;
}
.entry-utility {
    clear: both;
    color: #888;
    font-size: 12px;
    line-height: 18px;
}
.entry-meta a,
.entry-utility a {
    color: #888;
}
.entry-meta a:hover,
.entry-utility a:hover {
    color: #2361a1;
}
#content .video-player {
    padding: 0;
}


/* =Asides
-------------------------------------------------------------- */

.home #content .category-asides p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}
.home .hentry.category-asides {
    padding: 0;
}
.home #content .category-asides .entry-content {
    padding-top: 0;
}


/* =Gallery listing
-------------------------------------------------------------- */

.category-gallery .size-thumbnail img {
    border: 10px solid #f1f1f1;
    margin-bottom: 0;
}
.category-gallery .gallery-thumb {
    float: left;
    margin-right: 20px;
    margin-top: -4px;
}
.home #content .category-gallery .entry-utility {
    padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {
    font-size: 140%;
    margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
    content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
    content: '\00a0\2192';
}


/* =Images
-------------------------------------------------------------- */

#content img {
    margin: 0;
    height: auto;
    max-width: 640px;
    width: auto;
}
#content .attachment img {
    max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
    display: inline;
    float: left;
    margin-right: 24px;
    margin-top: 4px;
}
#content .alignright,
#content img.alignright {
    display: inline;
    float: right;
    margin-left: 24px;
    margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
    margin-bottom: 12px;
}
#content .wp-caption {
    background: #f1f1f1;
    line-height: 18px;
    margin-bottom: 20px;
    padding: 4px;
    text-align: center;
}
#content .wp-caption img {
    margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
    color: #888;
    font-size: 12px;
    margin: 5px;
}
#content .wp-smiley {
    margin: 0;
}
#content .gallery {
    margin: 0 auto 18px;
}
#content .gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}
#content .gallery img {
    border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
#content .gallery dl {
    margin: 0;
}
#content .gallery img {
    border: 10px solid #f1f1f1;
}
#content .gallery br+br {
    display: none;
}
#content .attachment img { /* single attachment images should be centered */
    display: block;
    margin: 0 auto;
}

/* =Comments
-------------------------------------------------------------- */
#comments {
    clear: both;
}
#comments .navigation {
    padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}
h3#comments-title {
    padding: 24px 0;
}
.commentlist {
    list-style: none;
    margin: 0;
}
.commentlist li.comment {
    border-bottom: 1px solid #e7e7e7;
    line-height: 24px;
    margin: 0 0 24px 0;
    padding: 0 0 0 56px;
    position: relative;
}
.commentlist li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
    margin-bottom: 18px;
}
#comments .comment-body p:last-child {
    margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
    margin-bottom: 24px;
}
.commentlist ol {
    list-style: decimal;
}
.commentlist .avatar {
    position: absolute;
    top: 4px;
    left: 0;
}
.comment-author {
}
.comment-author cite {
    color: #000;
    font-style: normal;
    font-weight: bold;
}
.comment-author .says {
    font-style: italic;
}
.comment-meta {
    font-size: 12px;
    margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
    color: #888;
    text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
    color: #2361a1;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
    font-size: 12px;
    padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
    color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
    color: #2361a1;
}
.commentlist .children {
    list-style: none;
    margin: 0;
}
.commentlist .children li {
    border: none;
    margin: 0;
}
.nopassword,
.nocomments {
    display: none;
}
#comments .pingback {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 18px;
    padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
    margin-top: -6px;
}
#comments .pingback p {
    color: #888;
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}
#comments .pingback .url {
    font-size: 13px;
    font-style: italic;
}

/* Comments form */
input[type=submit] {
    color: #333;
}
#respond {
    border-top: 1px solid #e7e7e7;
    margin: 24px 0;
    overflow: hidden;
    position: relative;
}
#respond p {
    margin: 0;
}
#respond .comment-notes {
    margin-bottom: 1em;
}
.form-allowed-tags {
    line-height: 1em;
}
.children #respond {
    margin: 0 48px 0 0;
}
h3#reply-title {
    margin: 18px 0;
}
#comments-list #respond {
    margin: 0 0 18px 0;
}
#comments-list ul #respond {
    margin: 0;
}
#cancel-comment-reply-link {
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
}
#respond .required {
    color: #ff4b33;
    font-weight: bold;
}
#respond label {
    color: #888;
    font-size: 12px;
}
#respond input {
    margin: 0 0 9px;
    width: 98%;
}
#respond textarea {
    width: 98%;
}
#respond .form-allowed-tags {
    color: #888;
    font-size: 12px;
    line-height: 18px;
}
#respond .form-allowed-tags code {
    font-size: 11px;
}
#respond .form-submit {
    margin: 12px 0;
}
#respond .form-submit input {
    font-size: 14px;
    width: auto;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
    -webkit-text-size-adjust: 140%;
}
code {
    -webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
    -webkit-text-size-adjust: 120%;
}
#site-description {
    -webkit-text-size-adjust: none;
}



@media screen and (max-width: 800px){

  .section-blog-inner {
    display: block;
  }


.section-blog-nav { 
  padding: 15px 20px;
}
  .nav {
    padding: 10px 20px !important;
  }

  .strap, .section-1 .strap{
    font-size: 20px;
    line-height: 29px;
  }

  .navicon {
    position: absolute;
    right: 0px;
    padding: 18px;
    display: block;
    cursor: pointer;
  }

  body.mobile-nav-open .navicon:after{
    transform: rotate(45deg);
    background: #fff;
  }

  body.mobile-nav-open .navicon:before{
    transform: rotate(-45deg);
    background: #fff;
  }

  .navicon:after, .navicon:before{
    display: block;
    content: '';
    transition: transform 0.3s ease;
    transform-origin: 11px 2px;
    width: 35px;
    height: 4px;
    background: #000;
    position: relative;
    top: -7px;
  }

  .social-icons {
    margin: 0 30px 0 0;
    padding: 0;
  }

  .text-image-block {
    padding: 20px;
  }

  .image-block {
    padding: 40px;
  }

  .section-page h2, .section-blog h2 {
    font-size: 20px;
    line-height: 29px;
  }

  .section-project {
    padding-top: 150px !important;
  }

  .image-block__content {
        display: flex;
        grid-gap: 30px;
        flex-flow: column-reverse;
  }

  .stats {
    padding: 0 30px;
    margin-top: 60px;
  }

  .project-overview {
    display: flex;
    flex-direction: column-reverse;
    padding: 0 25px;
    grid-gap: 0;
  }


.stat strong sup {
    top: -20px;
    font-size: 18px;
  }

  .stat strong {
    font-size: 40px;
  }

  .breadcrumb {
      padding: 15px 20px;
  }

  .text-image-block h2 {
    margin-top: 0.5em;
  }

  .social-icons a {
    margin: 0 -1px;
  }

  .section-page, .section-blog {
      padding: 120px 20px 20px 20px;
  }

  .nav .nav-inner ul {
    display: none;
  }

  .nav .nav-inner ul li {
    display: block;
    text-align: center;
    color: #fff;
  }

  body.mobile-nav-open .nav h2 a {
    color: #fff;
  }
  body.mobile-nav-open .social-icons a svg {
    fill: #fff;
  }
  

  body.mobile-nav-open .nav .nav-inner ul {
    top: 0;
  }

  .nav .nav-inner ul {
    position: relative;
    top: -700px;
    transition: top 0.3s ease;
      display: block;
      width: 100%;
      background: #222;
      position: fixed;
      left: 0;
      padding: 120px 0 70px 0;
  }

  .nav .nav-inner ul li a{
    color: #fff;
    padding: 20px 0;
    font-size: 25px;
        letter-spacing: 4px;
    margin: 0 !important;
  }

  .navicon:before{
    top: 7px;
  }
  .mag-grid {
    margin: 0;
  }

  .section-page h1, .section-blog h1 {
    font-size: 50px;
    line-height: 1;
  }

  .full-gallery {
    padding: 0 20px;
    --grid-column-count: 2;
  }

  .blogs {
    --grid-layout-gap: 20px;
    padding: 0 20px 20px 20px;
  }
.full-gallery--fun > a:first-child {
    grid-column: initial;
    grid-row: initial;
}

.full-gallery--fun > a:nth-child(8) {
    grid-column: initial;
    grid-row: initial;
}

.full-gallery--fun > a:nth-child(12) {
    grid-column: initial;
    grid-row: initial;
}

.full-gallery--fun > a:nth-child(16) {
    grid-column: initial;
    grid-row: initial;
}


  .section {
    padding: 50px 20px;
  }

  .section-1.section-hero-home {
      padding: 110px 20px 40px 20px;
  }
  .section-1.section-hero-home h1 {
    font-size: 50px;
    line-height: 1;
  }

  .project-form {
    padding-top: 0;
  }

  .text-image-block .text-image-block__content {
    display: block;
  }
  .text-image-block .img {
    width: 100%;
    margin: 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {

  .stat strong {font-size: 26px;}
  .stat label {font-size: 11px; letter-spacing: 0;}

}