/* fonts */
@font-face {
    font-family: 'heeboregular';
    src: url('fonts/heebo-regular-webfont.woff2') format('woff2'),
         url('fonts/heebo-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/* @font-face {
    font-family: 'scope_one';
    src: url('fonts/scopeone-regular-webfont.woff2') format('woff2'),
         url('fonts/scopeone-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
} */
@font-face {
    font-family: 'muli';
    src: url('fonts/muli-regular-webfont.woff2') format('woff2'),
         url('fonts/muli-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* misc */
body {
  font-family: "heeboregular", serif;
}
.row { margin-left:0; margin-right:0 }
.no-padding-col { padding:0 !important; }
.gallery-col { padding:0 0 0 10px !important; }

/* header */
.navbar-light {
  background-color:white;
  justify-content: normal;
  font-size:16px;
}
.navbar-light .navbar-toggler {
  background-color:white;
}
.navbar-light .navbar-nav .nav-link {
  color:black;
}
.navbar-light .navbar-nav .active>.nav-link {
  text-decoration:underline;
}
a.navbar-brand {
  font-family: "muli", sans-serif;
  font-size: 1.375rem;
  color: #666 !important;
  text-decoration:none;
  margin: 0 0 0 1rem;
  padding-top:0.35rem;
}
.navbar-nav {
  margin-top:1rem;
  padding-bottom: 40px;
}
p.no-margin {
  margin-bottom: 0;
}

/* home page */
body.home .contents {
  margin-top:0;
}
body.home .navbar-light {
  background-color:transparent;
}
.homegal {
  height:100vh;
}
.homegal div {
  height:100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.homelogo {
  position:absolute;
  top:0;
  left:0;
  padding:40px;
  z-index:1
}
.homelogo a.logo {
  font-family: "muli", sans-serif;
  font-size: 1.375rem;
  line-height:1.5rem;
  color: #666 !important;
  text-decoration:none;
}

/* content */
.contents {
  margin-top:72px;
  margin-bottom:16px;
  padding:0;
  color: #000;
  font-size:14px;
}
.contents .richtext p {
  max-width:640px;
}
.contents a {
  color: #000;
  text-decoration:underline;
}
.contents img {
  max-width:100%;
}

.copyright {
  margin-left:15px;
}
.copyright p {
  font-size:60%;
}


/* works and exhibition(s) slick */
.exhibitiongal, .worksgal {
  padding: 0 10px 0 10px;
}
.canvas {
  height:calc(100vh - 100px);
  width:100%;
  background-color:#fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.canvas .image-on-canvas {
  height:100%;
}
.canvas img {
  max-height:calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
}
.canvas .subtitle {
  height:60px;
  padding-top:12px;
  font-size:12px;
}
.exhibitiongal p, .worksgal p {
  margin:0;
}

/* works and exhibitions masonry */
.wgrid-item, .egrid-item {
  margin:0;
  padding:0 10px 10px 0;
  width:50%;
}
.witem-description, .eitem-description {
  opacity:0.0;
  transition: opacity 0.2s ease-in;
  position:absolute;
  top:0;
  left:0;
  width:calc(100% - 10px);
  height:calc(100% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgb(0.5, 0.5, 0.5, 0.5);
}

.witem-description p, .eitem-description p {
  font-size:10px;
  margin:0;
  padding:0 0.5rem;
  text-align:center;
  color:white;
}


/* smallest breakpoint (576px and up) */
@media (min-width: 576px) {
  .wgrid-item {
    width:33.33333333%;
  }
  .egrid-item {
    width:50%;
  }
  .witem-description p, .eitem-description p {
    font-size:12px;
  }
}

/* tablet breakpoint (768px and up) */
@media (min-width: 768px) {
  .wgrid-item {
    width:25%;
  }
  .egrid-item {
    width:33.33333%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .no-padding-desktop-col { padding:0 !important; }
  .gallery-col { padding:0 !important; }

  .col-sidebar {
    width:300px;
    position:relative;
  }
  .copyright {
    position:fixed;
    bottom:10px;
    margin-left:40px;
  }

  .col-content { max-width:calc(100% - 300px); }

  .sidebar {
    position:fixed;
    margin:40px 0 0 40px;
    font-size:16px;
  }
  .sidebar a.logo {
    font-family: "muli", sans-serif;
    font-size: 1.375rem;
    line-height:1.375rem;
    color: #666 !important;
    text-decoration:none;
  }
  .sidebar ul {
    list-style-type: none;
    padding-left: 0;
  }
  .sidebar ul li {
    margin:0;
    padding:0.5rem 0;
  }
  .sidebar ul li a {
    display:block;
    color:#333;
  }
  .sidebar ul li.active a {
    text-decoration: underline;
  }
  .sidebar ul.sidebar-nav {
    margin: 1.5rem 0 0 0;
  }
  .sidebar ul.sidebar-social {
    margin: 1.5rem 0 0 0;
  }
  .sidebar ul.sidebar-social li {
    display:inline-block;
    margin-right:0.5rem;
  }

  .contents {
    margin-top: 40px;
    padding:0 30px 0 0;
  }

  .exhibitiongal, .worksgal {
    padding: 0 10px 0 0;
  }

  .canvas {
    height:calc(100vh - 80px);
  }

}

/* XLarge devices (1200px and up) */
@media (min-width: 1200px) {
  .wgrid-item {
    width:20%;
  }
  .egrid-item {
    width:33.3333333%;
  }
}
