/*
Theme Name: Min Bark
Author: Ricky Souza
Author URI: http://rsouza.net
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: minbark
*/

/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */

article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
  display: block;
}

/**
 * Add the correct display in IE 9-.
 */

audio,
canvas,
progress,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */

template, /* 1 */
[hidden] {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* Forms
   ========================================================================== */

/**
 * 1. Change font properties to `inherit` in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
select,
textarea {
  font: inherit; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Restore the font weight unset by the previous rule.
 */

optgroup {
  font-weight: bold;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}


/** Normalise **/
@import 'normalize.css';

/** Global **/
html {
  background: white;
}
body {
  font-size: 1em; /** 16px */
  font-family: AktivGrotesk-Regular, sans-serif;
  color: #4a4a4a;
  line-height: 0.7;
  background: #fbfbfb;
  margin: 1.5625em;
}
.wrapper {
  max-width: 1080px;
  margin: 0 auto;
}
  .wrapper > * {
    margin-left: 10px;
    margin-right: 10px;
  }

/** Header **/
[role=banner] {
  display: flex;
  justify-content: space-between;
  padding: 3.1875em 4em 7.5em 4em; /** 51px **/
}

  .website-identity {
    font-size: 1.125em;
  }
  .website-identity > a {
    text-decoration: none;
    color: #4a4a4a;
  }
  .website-identity .name {
    font-size: 1.125em;
    font-family: AktivGrotesk-Bold, sans-serif;
  }

/** Navigation **/
[role=navigation] > a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  margin: 0.67em 0 0 0.75em;
  line-height: 1em;
}
[role=navigation] > a:hover,
[role=navigation] > a.active:hover {
  color: #9b9b9b;
  border-bottom-color: #9b9b9b;
}
  a.active {
    border-bottom: 1px solid #4a4a4a;
    color: inherit;
    text-decoration: none;
  }

/** Art Piece **/
article {
  margin-bottom: 3.75em;
}

.artpiece {
  display: flex;
  justify-content: space-between;;
  margin: 0 4.5rem;
}
  .piece-details {
    border-top: 1px solid #d8d8d8;
    padding-top: 0.6em;
    flex: 1 1 10em;
  }
    .piece-details > time {
      font-size: 0.875em; /** 14px **/
      display: inline-block;
      margin-bottom: 0.6875em; /** 11 px **/
    }
    .piece-details > .title {
      line-height: 1;
    }
    .piece-details > .subtitle {
      font-size: 1.5em;
      font-weight: normal;
      line-height: 1;
    }
    .piece-details > div {
      font-size: 0.875em;
	    line-height: 1.4;
    }

  .piece-image {
    margin-left: 4.5rem;
    flex: 4 0 10em;
  }
    .piece-image:hover {
      opacity: 0.8;
    }
  .piece-image > img {
    width: 100%;
  }

/* load More */
.load-more {
  text-align: center;
}
.load-more > button {
	font-family: AktivGrotesk-Bold, sans-serif;;
	font-size: 1.5em;
	line-height: 0.7;
  border: 0;
  border-bottom: 1px solid #4a4a4a;
  padding: 0.3em 0;
  background: transparent;
}

/** Footer **/
footer[role=contentinfo] {
  border-top: 1px solid #d8d8d8;
  margin: 4.5rem calc(4.5rem + 10px) 0 calc(4.5rem + 10px) ;
  display: flex;
  color: #9b9b9b;
  padding: 4px 0 40px 0;
  line-height: 1.2;
  font-size: 0.875em;
}
footer[role=contentinfo] nav {
  width: 20%;
  padding-top: 0.5em;
  display: flex;
  flex-direction: column;
}
footer[role=contentinfo] nav > a{
  width: inherit;
}

footer[role=contentinfo] a {
  color: #4a4a4a;
}
  footer[role=contentinfo] > p {
    width: 40%;
  }

/** Button **/

.btn-ghost {
  background: transparent;
  border: 0;
  padding: 0;
}

/** Modal **/
.modalwrapper {
  position: fixed;
  background: rgba(255, 2555, 255, 0.96);
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

  .modalwrapper[hidden] {
    display: none;
  }

  .modalwrapper:not([hidden]) {
    animation: fadein 0.5s ease;
  }

    .modalwrapper:not([hidden]) .modal {
      animation: zoomfade 0.3s ease-out;
    }

  @keyframes fadein {
    0% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes zoomfade {
    0%{
      transform: scale(0.98);
      opacity: 0;
    }

    50% {
      transform: scale(0.98);
      opacity: 0;
    }
    100%{
      transform: scale(1);
      opacity: 1;
    }
  }

.modal {
  width: auto;
  height: 90vh;
  margin: auto;
  display: table;
}

.modal-inner {
  display: table-cell;
  vertical-align: middle;
  max-width: 500px;
  margin: 0 auto;
}
.image-wrapper {
  position: relative;
}
.image-container {
  width: 100%;
  text-align: center;
  background-color: white;
}
.modal-image {
  width: auto;
  height: auto;
  max-width: 100%;
}
.modal-image-interact > figcaption {
  line-height: 1.5;
  width: 80%;
  margin-bottom: 1em;
  font-size: 0.8em;
}
.modal-navigate {
  position: absolute;
  left: -50px;
  top: calc(50% - 48px);
  width: 30px;
  height: 50px;
}

  .modal-navigate.right {
    right: -50px;
    left: auto;
  }
.modal-image-btn {
  padding: 0;
  margin: 0.5em 0 0 0.5em;
  width: 100px;
  height: 60px;
  display: inline-block;
  vertical-align: top;
  border: 0;
}
.modal-close, .menu-close {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
}

/** icons **/
.icon-close, .icon-next, .icon-previous {
  position: relative;
  width: inherit;
  height: inherit;
  display: block;
}

  .icon-next:before,
  .icon-previous:before {
    height: 50px;
    width: 30px;
  }
  .icon-close:before,
  .icon-next:before,
  .icon-previous:before,
  .icon-close:after,
  .icon-next:after,
  .icon-previous:after,
  .icon-hamburger:before,
  .icon-hamburger:after {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 40%;
    border-left: 3px solid #4a4a4a;
  }

  .icon-close:before, .icon-next:before, .icon-previous:after {
    transform: rotate(45deg);
  }

  .icon-close:after, .icon-next:after, .icon-previous:before {
    transform: rotate(-45deg);
  }

  .icon-next:before, .icon-previous:before,
  .icon-next:after, .icon-previous:after {
    height: 30px;
  }

  .icon-next:before, .icon-previous:before {
    top: 20px;
  }

  .icon-hamburger:before,
  .icon-hamburger:after {
    border-left: 0;
    border: 1px solid #4a4a4a;
    background: #4a4a4a;
    border-radius: 100%;
    width: 18px;
    height: 1px;
    left: 0;
    top: 0;
  }

  .icon-hamburger:after {
    top:7px;
  }
.menu-close, .hamburger-menu {
  display: none;
}
/** Media Query **/

/** Mobile **/

@media screen and (max-width: 425px) {
  body {
    margin: 5px;
    font-size: 14px;
  }

  .website-identity {
      font-size: 0.9em;
  }
  [role=banner] {
    padding: 5px 10px 30px 10px;
  }

  .hamburger-menu {
    position: relative;
    display: block;
    width: 20px;
    height: 17px;
    border-bottom: 3px solid #4a4a4a;
    margin-top: 7px;
  }

  [role=navigation].nav-mobile {
    display: none;
  }
  [role=navigation].nav-mobile.open {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 200%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 3;
    animation: fadein 0.2s ease-out;
  }

  [role=navigation].nav-mobile.open .menu-close {
    display: block;
  }

  .artpiece {
    margin: 0;
    display: block;
  }
  .piece-image {
    margin: 0;
  }
  .modal {
    width: 100%;
  }
  .modal-close, .menu-close {
    top: 10px;
    right: 5px;
  }
  .modal-inner figure {
    margin: 1em 15px;
  }

  .modal-navigate {
    left: 0;
    top: calc(50% - 25px);
  }

    .modal-navigate.right {
      right: 0;
    }

  footer[role=contentinfo] {
    padding: 10px;
    margin: 10px;
    display: block;
    text-align: center;
  }
    footer[role=contentinfo] > p, footer[role=contentinfo] > nav {
      width: 100%;
      display: block;
    }
      footer[role=contentinfo] nav  > a {
        display: initial;
      }
}

/** Tablet **/
@media screen and (max-width:1024px) {}
.copyright {
  font-size: 100%;
}

/** Helpers **/
.noscroll {
  overflow: hidden;
}
