@font-face{
  font-family:"MartaPastoral";
  src:url("../fonts/MartaPastoral-Regular.eot?#iefix");
  src:url("../fonts/MartaPastoral-Regular.eot?#iefix") format("eot"),
  url("../fonts/MartaPastoral-Regular.woff2") format("woff2"),
  url("../fonts/MartaPastoral-Regular.woff") format("woff"),
  url("../fonts/MartaPastoral-Regular.ttf") format("truetype");
}

*, *:before, *:after {
  box-sizing: inherit;
  letter-spacing: 0.018em;
}

html, body {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "MartaPastoral";
  letter-spacing: 0.018em;
}
input::placeholder,
textarea::placeholder {
  letter-spacing: 0.018em;
}
input:invalid {
  box-shadow: none;
  color: red;
}
input:focus:invalid {
  color: black;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
p , h1, h2, h3, h4, h5 {
  margin: 1.4em 0 0.5em 0;
  font-weight: normal;
}
a {
  color: black;
  border-bottom: 1px solid black;
  text-decoration: none;
  cursor: pointer;
}

a.active {
  color: #a6a6a6;
}
a.hover-black:hover {
  color: black !important;
}
a:hover {
  border-bottom: 1px solid transparent;
}
a:focus {
  outline: 0;
}
textarea:focus, input:focus{
    outline: none;
}
img[data-lazyload] {
  filter: blur(20px);
}
img[data-lazyload][data-loaded="true"] {
  filter: none;
}
.special-a,
code {
  font-family: "MartaPastoral" !important;
  display: inline-block !important;
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
}
.small-text {
  font-size: 0.94rem;
  line-height: 1.18rem;
}
.large-text, .title-text {
  font-size: 1.875rem;
  line-height: 1.25em;
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16.66vw;
}



.grid {
  display: grid;
  grid-template: repeat(4, 1fr);
  gap: 0px;
  grid-auto-flow: column;
  width: 100%;
}


.artist-list h1,h2,h3 {
  margin: 0;
  margin-bottom: 0.75em;
}

.artist-list a {
  border-color: transparent;
}

.artist-list a:hover {
  border-color: currentColor;
}

.artist-index {
  -webkit-column-count:4;
  -moz-column-count:4;
  -o-column-count:4;
  column-count:4;
}


@media (max-width: 1200px) {
  .artist-index {
    -webkit-column-count:2;
    -moz-column-count:2;
    -o-column-count:2;
    column-count:2;
  }
}

#available-page .product-module h1 {
  padding-top: 7rem;
}

#available-page.marta-exhibition {
  margin-top: 10rem;
  padding: 0;
}

@media (min-width: 1600px) {
  .wrap {
    padding: 0;
    max-width: 1200px;
  }
}
@media (max-width: 740px) {
  .wrap {
    padding: 0;
    max-width: 550px;
  }
  #available-page .product-module h1 {
    padding-top: 70px;
    margin-top: 0;
  }
}
  
.post-content {
  margin-bottom: 80px;
}
.box {
  padding: 0 16px;
}
.left-floater {
  padding-left: 16px;
}

.wrap.flex {
  display: flex;
  flex-wrap: wrap;
}

.padding {
  padding-left: 16px;
  padding-right: 16px;
}

/* general + home styles */
.marta-home,
.marta-exhibition {
  padding-top: 80px;
  margin-top: 50vh;
}
.marta-home img {
  width: 100%;
}
.marta-home .latest-img {
  width: 100%;
}
.marta-home .latest-post {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}
.marta-home .latest-post .date {
  position: relative;
  display: block;
  top: auto;
  left: auto;
  margin-bottom: 8px;
}
.marta-home .latest-post p {
  margin-top: 0;
}
.marta-home .latest-post .image {
  max-width: 40%;
  width: 100%;
}
.mobile-latest-text {
  display: none;
}
.desktop-latest-text {
  display: block;
}

a.latest-exhibition-link {
  border-bottom: 0;
  min-width: 50%;
}

a.latest-exhibition-link:first-child:last-child {
  width: 100%;
}

/* Info page styles */

.marta-exhibition.info {
  padding-top: 16px;
}
.marta-exhibition.enquire {
  margin-top: 10vh;
}
.info .text-module.title {
  width: 16.66vw;
  text-align: left !important;
  transform: translateX(-100%);
  margin-bottom: -2.16em; /*hackish */
}

.info .title p {
  font-size: 0.94rem;
  line-height: 1.18rem;
  margin-top: 0;
}

@media (min-width: 1600px) {
  html, body {
    font-size: 18px;
  }
  .wrap {
    padding: 0;
  }
  .info .text-module.title {
    width: calc(50vw - 720px);
  }
}

@media (min-width: 1200px) {
  .marta-home .latest-post .date {
    position: relative;
    line-height: 1.4em;
    font-size: .968rem;
  }
}

@media (min-width: 741px) {
  .left-floater {
    position: absolute;
    left: 0;
    width: 16.667vw;
    text-align: right;
  }
}

@media (max-width: 740px) {
  input::placeholder,
  textarea::placeholder {
    font-size: 12px;
  }
  .wrap {
    padding: 0;
  }
  .wrap.flex {
    flex-direction: column;
  }
  .items-container {
    padding-bottom: 40px;
  }
  .marta-home,
  .marta-exhibition {
    padding-top: 40px;
    margin-top: 260px;
  }
  .mobile-latest-text {
    display: block;
  }
  .desktop-latest-text {
    display: none;
  }
  .latest-post .box {
    padding: 0 50px;
  }
  .small-text {
    font-size: .75rem;
    line-height: 1.5em;
  }
  .large-text {
    font-size: 0.94rem;
    line-height: 1.3em;
  }
  .title-text {
    font-size: 0.94rem;
    line-height: 1.3em;
  }
  .marta-home .latest-post .image {
    margin-top: 25px;
    max-width: 100%;
  }
  .info .text-module.title {
    margin-left: 0;
    margin-bottom: -1em;
    width: auto;
    transform: translateX(0);
  }
  .info .text-module.title p {
    font-size: .75rem;
  }
}
#three-dots-button,
#page-title {
  cursor: pointer;
}
