/*
Theme Name: jf2020
*/

/**
1 Fonts
*/


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

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

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

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


/**
2 Resetting and global settings
*/

html,
body,
h1 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: 'Spartan-Medium';
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-weight: normal;
  /* font-family: 'HeptaSlab-Light'; */
  /* font-family: 'Courier New', courier, monospace; */
}

body {
  /* font-family: 'HeptaSlab-Regular'; */
  font-family: 'Courier New', courier, monospace;
  font-size: 16px;
}

strong {
  font-weight: bold;
}

p {
  margin-top: 0;
}

a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 1px solid #000000;
}

a:hover {
  border-color: transparent;
}

.clearer {
  clear: both;
}

/**
3 Sizing, Layout
*/

.sized {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
/*
  margin-left: 40px;
  margin-right: 40px;
  */
  position: relative;
  clear: both;
}

.sized p {
  max-width: 800px;
  line-height: 1.5em;
}

.clearer {
  clear: both;
}

.aligned.right {
  float: right;
}

.aligned.left {
  float: left;
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 50% 50%;
}

.grid .cell {
  margin: 20px;
}

/**
4 Reusable UI
*/

h2 {
  font-size: 1.2em;
}

form input {
  border: 1px solid #000;
  padding: 10px;
  font-family: 'HeptaSlab-Regular';
  background: transparent;
}

form input[type='submit'],
button.button,
input.button,
a.button {
  font-size: 16px;
  border: 1px solid #000000;
  padding: 10px;
  display: inline-block;
  line-height: 1em;
  vertical-align: middle;
  transition: all 5s;
  font-family: 'HeptaSlab-Regular';
  cursor: pointer;
}

form input[type='submit']:hover,
button.button:hover,
input.button:hover,
a.button:hover {
  background-position-x: 240px;
  color: #efefef;
}

form input[type='submit'].inverse,
button.button.inverse,
input.button.inverse,
a.button.inverse {
  color: #ffffff;
  border: 1px solid #ffffff;
}

ul.navigation,
ul.navigation li {
  margin: 0;
  padding: 0;
}
ul.navigation li {
  display: inline-block;
  list-style: none;
  margin-right: 32px;
  text-transform: uppercase;
}

ul.navigation li:last-child {
  margin-right: 0;
}

ul.navigation li a {
  text-decoration: none;
  border-bottom: none;
}

/**
5 Individual Styles
*/

body {
  color: #333;
}

body.with-fixed-header {
  margin-top: 140px;
}

#header,
#footer {
  font-family: 'Spartan-Thin';
}

#header {
  margin: 40px 0;
}

.with-fixed-header #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

#header .sized {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#header ul li {
  font-size: 30px;
  line-height: 1em;
}

#header ul li a {
  color: #999;
  transition: all 0.3s;
}

#header ul li a:hover {
  color: #333;
}

#header ul li.current-menu-item a {
  color: #333;
  font-weight: bold;
}

#header h1 {
  /* font-size: 43px;:*/
  font-size: 30px;
  line-height: 1em;
  margin-right: 80px;
}

h1 a {
  text-decoration: none;
  border-bottom: none;
}

img.alignleft {
  float: left;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
img.alignright {
  float: right;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

p img {
  max-width: 100%;
  height: auto;
}

#work-grid .work.half {
  width: 65%;
}
#work-grid .work.full {
  width: 100%;
}
#work-grid .work.third {
  width: 32%;
}

#work-grid .work {
  display: inline-block;
  text-align: center;
  margin-bottom: 40px;
}

#work-grid .work a {
  border-bottom: none;
}

#work-grid .caption {
  text-align: left;
}
#work-grid .work .click-area {
  display: flex;
  justify-content: center;
  width: 80%;
}

#work-grid .image-container {
  /* max-width: 30vw; */
  height: auto;
}

#work-grid .image-container img {
  max-width: 100%;
}

.section {
  clear: both;
  margin: 60px 0;
}

.dimmer {
  position: fixed;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  overflow: scroll;
}

#overlay {
  position: absolute;
  z-index: 21;
  left: 0;
  right: 0;
  top: 0;
}

.close-button {
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 22;
  width: 50px;
  height: 50px;
  background: url(assets/img/btn-close.png) center no-repeat;
  background-size: 40px;
}

.project.detail {
  margin-top: 120px;
}

.project.detail .jf-image-gallery,
.project.detail .video {
  margin-top: 32px;
  margin-bottom: 32px;
}

.project.detail .video iframe {
  width: 100%;
  height: auto;
}

.project.detail .jf-image-gallery img {
  width: 100%;
}

#footer {
  margin: 60px 0;
  clear: both;
}

#footer .sized {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#footer .copyright,
#footer ul li a {
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s;
  font-weight: bold;
}

#footer ul li a:hover {
  color: #333;
}

#footer ul li.current-menu-item a {
  color: #333;
  font-weight: bold;
}

.swiper-pagination-bullet {
  opacity: 0.5;
  background-color: #000;
}

.swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 27 44'%3E%3Cpath d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z' fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox%3D'0 0 27 44'%3E%3Cpath d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z' fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E") !important;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11;
  transition: all 0.6s;
  padding-left: 0;
}

.hamburger .hamburger-inner,
.hamburger .hamburger-inner::after,
.hamburger .hamburger-inner::before {
  background-color: #000 !important;
}

/* .menu-toggle.is-active {
  color: #1d0e3c;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::after,
.hamburger.is-active .hamburger-inner::before {
  background-color: #1d0e3c !important;
} */

/*
LAST BUT NOT LEAST Media Queries
*/
@media (max-width: 1200px) {
  .sized {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1000px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
  }

  nav#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  #navigation ul.navigation {
    display: none;
  }

  #header {
    margin-top: 10px;
  }
  #navigation.open ul.navigation {
    display: block;
    background: rgba(255, 255, 255, 0.8);
    padding-top: 50px;
    padding-bottom: 40px;
  }

  #navigation ul.navigation li {
    display: block;
    padding: 8px;
    text-align: center;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .grid {
    display: block;
  }

  .grid .cell {
    height: auto;
    margin: 20px 0;
  }

  .columns {
    display: block;
  }

  .columns .column {
    width: auto;
  }

  .aligned.right,
  .aligned.left {
    float: none;
  }
}
