/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
img {
  max-width: 100%;
  display: block;
}
body {
  line-height: 1.5;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.6px;
}
i {
  font-style: italic;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
  font-weight: bold;
}
strong.quote {
  font-weight: normal;
  font-style: italic;
  font-size: 22px;
}

header,
footer {
  padding-left: 50px;
  padding-right: 50px;
}
#publications {
  padding-left: calc(50px - 16px);
  padding-right: calc(50px - 16px);
}
body.primary-navigation-open {
  overflow: hidden;
}
p {
  padding: 15px 0;
}
:root {
  --color-brown: #753f00;
  --color-orange: #fcb567;
  --color-black: #484848;
  --size-40: 40px;
  --size-30: 30px;
  --transition-speed-500: 500ms;
}
h1,
h2,
h3,
h4,
h5 {
  font-size: var(--size-40);
  line-height: 1.25;
}
.center-txt {
  text-align: center;
}
.btn {
  display: block;
  white-space: nowrap;
  transition: background-color var(--transition-speed-500) ease;
}
.btn.primary {
  display: inline-block;
  color: var(--color-brown);
  height: 50px;
  line-height: 50px;
  padding: 0 50px;
  border: 1px solid var(--color-brown);
  text-decoration: none;
  box-sizing: border-box;
}
.btn.primary:hover {
  background: var(--color-brown);
  color: #fff;
}
.btn.primary.white {
  color: #fff;
  border: 1px solid #fff;
}
.btn.primary.white:hover {
  background: #fff;
  color: var(--color-black);
}
.btn.primary.black {
  color: var(--color-black);
  border: 1px solid var(--color-black);
}
.btn.primary.black:hover {
  background: var(--color-black);
  color: #fff;
}

.page-template-homepage #page.hide::after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background: #fff;
  z-index: 9;
}
#splash-screen {
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 12;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: all 1000ms ease;
}
#splash-screen img {
  opacity: 0;
  height: 25vh;
  max-width: none;
  transition: all 1000ms ease;
}
#splash-screen.animate img {
  opacity: 1;
}
header.site-header.has-logo.has-menu {
  position: sticky;
  top: 0;
  z-index: 9;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 1);
  transition: top 250ms ease;
}
header.site-header.has-logo.has-menu {
  display: flex;
}
header .site-branding {
  flex-grow: 1;
}

header .site-branding .site-logo .custom-logo-link,
header .site-branding .site-logo .custom-logo {
  height: auto;
  width: 158px;
  display: block;
}
header .primary-navigation {
  justify-content: right;
  align-items: center;
  display: flex;
}

header .primary-navigation .menu-button-container {
  position: relative;
  z-index: 2;
}
header .primary-navigation .menu-button-container #primary-mobile-menu {
  background: transparent;
  border: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  padding: 0;
}
header .primary-navigation .menu-button-container #primary-mobile-menu svg {
  filter: grayscale();
}

header
  .primary-navigation
  .menu-button-container
  #primary-mobile-menu
  .dropdown-icon.close,
.primary-navigation-open
  header
  .primary-navigation
  .menu-button-container
  #primary-mobile-menu
  .dropdown-icon.open {
  display: none;
}
.primary-navigation-open
  header
  .primary-navigation
  .menu-button-container
  #primary-mobile-menu
  .dropdown-icon.close,
header
  .primary-navigation
  .menu-button-container
  #primary-mobile-menu
  .dropdown-icon.open {
  display: block;
}
header .primary-navigation .primary-menu-container {
  position: fixed;
  display: flex;
  background: #fff;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity var(--transition-speed-500) ease;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.primary-navigation-open header .primary-navigation .primary-menu-container {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  z-index: 1;
  overflow: auto;
}
.primary-navigation-open header .primary-navigation .primary-menu-container li {
  margin: 25px;
  display: inline-block;
}
.primary-navigation-open header .primary-navigation .primary-menu-container a {
  font-size: 22px;
  text-decoration: none;
  color: var(--color-brown);
  padding: 15px 0;
  display: block;
}
#content {
  /*min-height: calc(100vh - 77px);*/
}

.contact-us-widget {
  background: #f8f5f1;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brown);
}
.contact-us-widget h5 {
  line-height: 30px;
}
.contact-us-widget p {
  padding: 20px 0;
}

#book {
  position: relative;
  background-color: #1a1101;
  color: #fff;
  padding: 80px 0;
}

#book::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    325deg,
    rgb(148 126 103) 0%,
    rgba(254, 185, 110, 0) 100%
  );
  opacity: 0.25;
  z-index: 0;
}
#book .book-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
  box-sizing: border-box;
}
#book .book-details,
#book .book-photo {
  width: 50%;
  z-index: 1;
}

/*#book .book-photo img {
  max-width: 375px;
  margin-top: 20%;
}*/
#book .book-details h4 {
  color: var(--color-orange);
  font-size: var(--size-30);
}
#book .book-details .btn.book {
  border-color: var(--color-orange);
  color: var(--color-orange);
  margin-top: 15px;
}
#book .book-details .btn.book:hover {
  background-color: var(--color-orange);
  color: #1a1101;
}
#videos {
  max-width: calc(1000px + 16px);
  margin: 60px auto;
}
#videos .videos-group {
  display: flex;
  flex-wrap: wrap;
}
#videos h3 {
  font-size: var(--size-40);
  color: var(--color-black);
  display: block;
  margin-bottom: 20px;
  width: 100%;
}
#videos .video {
  width: 33.333%;
  padding: 8px 8px 16px;
  box-sizing: border-box;
}
#videos .video .video-still {
  position: relative;
}
#videos .video .video-still:after {
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(assets/images/icons/video-play.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
#videos .video.cta {
  display: flex;
  justify-content: center;
  position: relative;
}
#videos .video.cta .btn {
  padding: 0;
  width: 80%;
  text-align: center;
  top: 40%;
  position: absolute;
  transform: translateY(-50%);
}
#videos .video a {
  text-decoration: none;
}
#videos .video p {
  padding: 5px 15px 5px 0;
  color: var(--color-black);
}
#videos .video a:hover p {
  text-decoration: underline;
}
.page-template-videos main {
  background-color: #1d1102;
}
.page-template-videos #videos {
  margin: 0 auto;
  padding: 50px;
  max-width: 1440px;
}
.page-template-videos #videos .video {
  width: 25%;
}
.page-template-videos #videos h3,
.page-template-videos #videos .video p {
  color: #fff;
}
#portfolio {
  display: flex;
  flex-wrap: wrap;
  padding: 0 2px;
}
#portfolio .thumb {
  position: relative;
  width: 50%;
  height: 65vh;
  cursor: pointer;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #fff;
  box-sizing: border-box;
}
#portfolio .thumb img {
  width: 100%;
}
#portfolio .btn {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#portfolio .thumb:hover .btn {
  display: block;
}
#portfolio .thumb::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-speed-500) ease;
}
#portfolio .thumb:hover::before {
  opacity: 0.6;
}
.page-template-publications main {
  background-color: #1d1102;
}
#publications {
  display: flex;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}
#publications .publication {
  width: 25%;
  padding: 16px;
  box-sizing: border-box;
}
#publications .publication.wide {
  width: 50%;
}
#publications .publication.wide p {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 80px;
  left: 0;
  box-sizing: border-box;
  background-color: #2b1a05;
}
#publications .publication .publication-bg {
  background-color: #2b1a05;
  height: 100%;
  position: relative;
}
#publications .publication:hover .publication-bg,
#publications .publication.wide:hover p {
  background-color: #463523;
  transition: background-color var(--transition-speed-500) ease;
}
#publications .publication.wide .publication-photo {
  overflow: hidden;
}
#publications .publication.wide .publication-photo img {
  transform: translateY(-25%);
}

#publications .publication p,
#publications .publication img.publisher {
  padding: 20px;
}
#publications .publication img.publisher {
  width: 80%;
}
#publications .publication.wide img.publisher {
  width: 38%;
}
#publications .publication-top {
  display: flex;
  align-items: center;
}
#publications .publication-top p {
  padding: 15px 25px 15px 0;
  max-width: 400px;
}
#publications a {
  color: #fff;
  text-decoration: none;
}
footer .site-info {
  display: flex;
}
footer .site-info .site-name .site-logo .custom-logo {
  height: 75px;
  width: auto;
}
footer {
  margin: 60px 0;
}
footer .footer-nav .footer-navigation-wrapper,
footer .footer-social .footer-social-wrapper {
  display: flex;
}
footer .footer-social .footer-social-wrapper {
  justify-content: right;
  margin-top: 6px;
}
footer .footer-social .footer-social-wrapper li {
  padding: 0 10px;
}
footer .footer-social .footer-social-wrapper li:first-child {
  padding-left: 0;
}
footer .footer-social .footer-social-wrapper li:last-child {
  padding-right: 0;
}
footer .footer-nav {
  margin-left: 25px;
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}
footer .footer-nav nav ul li {
  padding: 0 15px;
}
footer .footer-nav nav ul li:first-child {
  padding-left: 0;
}
footer .footer-nav nav ul li:last-child {
  padding-right: 0;
}
footer .footer-nav nav a {
  display: block;
  color: var(--color-brown);
  text-decoration: none;
  font-size: 15px;
  position: relative;
  padding: 0 0 10px 0;
}
.primary-navigation-open header .primary-navigation .primary-menu-container a {
  position: relative;
}
footer .footer-nav nav a::after,
.primary-navigation-open
  header
  .primary-navigation
  .primary-menu-container
  a::after {
  content: "";
  display: block;
  position: absolute;
  background: var(--color-brown);
  bottom: -1px;
  left: 0;
  height: 5px;
  width: 100%;
  opacity: 0;
  transition: opacity var(--transition-speed-500) ease;
}
footer .footer-nav nav a:hover::after,
.primary-navigation-open
  header
  .primary-navigation
  .primary-menu-container
  a:hover::after {
  opacity: 1;
}
footer .footer-credits {
  font-size: 12px;
  color: var(--color-brown);
}
footer .footer-social a {
  display: block;
  width: 25px;
  height: 25px;
  background-image: url(assets/images/icons/social-icons.svg);
  background-repeat: no-repeat;
  background-color: transparent;
  font-size: 0;
  line-height: 0;
}
footer .footer-social .youtube {
  background-position: 0 0;
}
footer .footer-social .instagram {
  background-position: -50px 0;
}
footer .footer-social .facebook {
  background-position: -101px 0;
}
footer .footer-social .twitter {
  background-position: -151px 0;
}
footer .footer-social .email {
  background-position: -201px 0;
}
footer .footer-credits {
  font-size: 12px;
  color: var(--color-brown);
  padding-top: 10px;
  border-top: 1px solid rgba(117, 63, 0, 0.15);
}
footer .footer-credits-logo {
  height: 15px;
  margin: 0 0 -4px 2px;
  display: inline-block;
}
footer .mobile.footer-credits {
  display: none;
}

#project-photos {
  position: relative;
}
.project-photo::after {
  content: "";
  display: block;
  height: 1px;
  width: 1px;
  top: 50%;
  position: absolute;
}
#project-photos .project-photo {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#project-photos .project-photo::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.1;
  transition: opacity var(--transition-speed-500) ease;
}
#project-photos .btn {
  position: absolute;
  top: 40vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: box-shadow var(--transition-speed-500) ease;
}
#project-photos .project-photo picture {
  display: flex;
}

#about {
  color: var(--color-brown);
  margin: 0 0 80px;
}
#about .about-copy {
  max-width: calc(1000px - 20px);
  margin: 0 auto;
  padding: 50px;
}
#about .about-copy h3 {
  margin-top: 30px;
}
#about .about-team {
  display: flex;
  margin: 0 auto;
  max-width: 1000px;
  flex-wrap: wrap;
}
#about .member {
  padding: 10px;
  width: 20%;
  box-sizing: border-box;
}
#about .article-photo {
  float: right;
  width: 50%;
  margin: 25px 0 5px 25px;
}
#about .article-photo span {
  color: #888;
  font-style: italic;
  font-size: 11px;
}
#about .member-photo-container {
  margin-bottom: 10px;
}
#about .about-banner-photo {
  position: relative;
}

#about .member span {
  display: block;
}
#about .member span.member-name {
  font-weight: bold;
}
#contact {
  display: flex;
  padding: 60px 50px;
}
#contact,
#contact a:not(.btn) {
  color: var(--color-brown);
}
#contact .contact-details {
  padding-right: 50px;
  width: 40%;
}
#contact .map {
  width: 60%;
  display: flex;
  align-items: center;
}
.mobile-book {
  display: none;
}
@media only screen and (min-width: 960px) {
  #project-photos.hover .project-photo::before {
    opacity: 0.05;
  }
  #project-photos .btn:hover {
  }
}
@media only screen and (max-width: 960px) {
  body {
  }
  #book {
    display: block;
    padding: 60px 20px;
  }

  #videos {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  #videos h3 {
    font-size: var(--size-30);
  }
  #videos .video,
  .page-template-videos #videos .video {
    width: 50%;
  }
  #videos .videos-group .video:nth-child(odd) {
    padding-left: 0;
  }
  #videos .videos-group .video:nth-child(even) {
    padding-right: 0;
  }
  #videos .video.cta .btn {
    padding: 0;
    width: 100%;
    text-align: center;
    text-decoration: underline;
    border: none;
  }
  #videos .video.cta .btn:hover {
    background: transparent;
    color: initial;
  }
  .page-template-videos #videos {
    padding: 20px 20px;
  }
  #about .about-copy {
    padding: 20px;
  }
  #about .member {
    width: 50%;
    margin-bottom: 15px;
  }
  #about .about-team {
    padding: 0 10px;
  }
  #about .article-photo {
    width: 100%;
    margin: 0 0 20px 0;
  }
  #about .member:first-child {
    flex-basis: 100%;
    text-align: center;
  }
  #about .member:first-child .member-photo-container {
    margin: 0 auto;
  }
  #publications {
    padding-left: calc(20px - 8px);
    padding-right: calc(20px - 8px);
  }
  #publications .publication {
    font-size: 13px;
  }
  header,
  footer,
  #videos {
    padding-left: 20px;
    padding-right: 20px;
  }
  .primary-navigation-open
    header
    .primary-navigation
    .primary-menu-container
    li {
    padding: 0;
    margin: 0;
    display: block;
  }
  footer {
    margin: 30px 0;
  }
  footer .site-info {
    display: block;
  }
  footer .site-name {
    display: none;
  }
  footer .footer-nav {
    margin-left: 0;
    display: block;
  }
  footer .footer-nav nav ul {
    margin: 24px 0;
  }
  footer .footer-nav nav a {
    display: block;
    padding: 20px 0;
  }
  footer .footer-nav nav a:hover::after,
  .primary-navigation-open
    header
    .primary-navigation
    .primary-menu-container
    a::after {
    display: none;
  }
  footer .footer-nav nav .footer-navigation-wrapper {
    display: block;
    margin-top: 10px;
  }
  footer .footer-nav nav ul li {
    padding: 0;
    border-bottom: 1px solid rgba(117, 63, 0, 0.15);
  }
  footer .footer-credits {
    border: none;
  }
  footer .footer-social {
    padding: 20px 0;
  }
  footer .footer-social a {
    display: inline-block;
  }
  footer .footer-social .footer-social-wrapper {
    justify-content: left;
    max-width: 400px;
  }
  footer .mobile.footer-credits {
    display: block;
    text-align: center;
  }
  footer .desktop.footer-credits {
    display: none;
  }
  footer .footer-social .footer-social-wrapper li {
    display: flex;
    flex: 1;
    padding: 0;
    justify-content: center;
  }

  #contact {
    display: block;
    padding: 40px 20px;
  }
  #contact .contact-details {
    padding-right: 0;
    width: 100%;
  }
  #contact .map {
    width: 100%;
    margin-top: 40px;
  }
}

@media only screen and (max-width: 768px) {
  header .primary-navigation {
    text-align: right;
    justify-items: right;
  }
  header.site-header.has-logo.has-menu {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }
  #project-photos .project-photo {
    background-attachment: initial !important;
    background-size: auto 100vh;
    height: 100vh;
    width: 100vw;
  }
  #about .member:first-child {
    flex-basis: 100%;
  }
  #about .member:first-child .member-photo-container {
    width: calc(50% - 10px);
  }
  #project-photos .btn {
    top: 50vh;
  }
  #portfolio .thumb {
    height: 50vh;
  }
  #publications .publication {
    width: 50%;
    padding: 8px;
  }
  #publications .publication.wide {
    width: 100%;
  }
  #publications .publication {
    font-size: 12px;
  }
  #publications .publication p,
  #publications .publication img.publisher {
    padding: 10px;
  }
  #publications .publication img.publisher {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .mobile-book {
    display: block;
  }
  #book .book-container {
    padding: 0;
  }
  /*#book::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url(../fanuka/assets/images/homepage/book/book-product-photo.png);
    background-size: cover;
    background-position: center center;
    z-index: 0;
    opacity: 0.12;
  }*/
  #book .book-photo {
    display: none;
  }
  #book .book-details,
  #book .book-photo {
    width: 100%;
  }
  #book .book-details {
    position: relative;
  }

  #book .book-details h4 {
    /*font-size: var(--size-30);*/
  }
  #book .book-details .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}
