/*
 |--------------------------------------------------------------------------
 | Helper mixins, feel free to add/remove any that you might not use
 | Won't be rendered in the output if not used
 |--------------------------------------------------------------------------
 */
.node--small-teaser {
  overflow: hidden; }
  .node--small-teaser img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-in-out; }
  .node--small-teaser:hover img {
    transform: scale(1.05); }

.node--teaser:not(.card--teaser) .media-animation {
  max-width: 400px; }

.node--teaser .field--name-field-media-image a {
  display: flex; }

.node--teaser .field--name-field-media-image img {
  width: 100%; }

.node--teaser.links-reviews--teaser {
  width: 100%; }
  .node--teaser.links-reviews--teaser img {
    width: 100%; }

.node--teaser.card--teaser {
  border: none;
  height: 100%; }
  .node--teaser.card--teaser .field--name-field-body {
    font-weight: 300; }
    .node--teaser.card--teaser .field--name-field-body h1 {
      line-height: 0.9; }
      @media (max-width: 1199.98px) {
        .node--teaser.card--teaser .field--name-field-body h1 {
          font-size: calc(1.525rem + 2.3vw); } }
    .node--teaser.card--teaser .field--name-field-body h3 {
      font-weight: 300; }
      .node--teaser.card--teaser .field--name-field-body h3 a {
        text-decoration-thickness: 2px; }
    .node--teaser.card--teaser .field--name-field-body p {
      font-size: 24px; }
      .node--teaser.card--teaser .field--name-field-body p a {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start; }
        .node--teaser.card--teaser .field--name-field-body p a:after {
          content: '';
          background-image: url("/themes/custom/opsvik/assets/icons/arrow-right.svg");
          background-size: contain;
          background-repeat: no-repeat;
          width: 1rem;
          height: 1rem;
          margin-top: 1rem;
          filter: brightness(0);
          transform: rotate(180deg); }
      .node--teaser.card--teaser .field--name-field-body p:nth-last-child(1) {
        margin-bottom: 0; }
        .node--teaser.card--teaser .field--name-field-body p:nth-last-child(1) a {
          align-items: flex-end; }
          .node--teaser.card--teaser .field--name-field-body p:nth-last-child(1) a:after {
            transform: rotate(0); }
    .node--teaser.card--teaser .field--name-field-body a {
      text-decoration: underline;
      color: #333333; }
  .node--teaser.card--teaser .field--name-field-media-image {
    overflow: hidden; }
  .node--teaser.card--teaser .field--name-field-media-card {
    height: 100%;
    position: relative; }
    .node--teaser.card--teaser .field--name-field-media-card article {
      height: 100%; }
    .node--teaser.card--teaser .field--name-field-media-card > div.field__item {
      height: 100%; }
      .node--teaser.card--teaser .field--name-field-media-card > div.field__item:nth-child(2) {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.7s ease-in-out; }
    .node--teaser.card--teaser .field--name-field-media-card:hover > div.field__item:nth-child(2) {
      opacity: 1; }
  .node--teaser.card--teaser .field--name-field-media-video-file {
    height: 100%;
    overflow: hidden; }
    .node--teaser.card--teaser .field--name-field-media-video-file .field__item {
      height: 100%; }
  .node--teaser.card--teaser .media-animation > div.field__items {
    width: 100%; }
  .node--teaser.card--teaser .media-animation .slick-wrapper {
    width: 100%;
    height: 100%;
    min-width: 100% !important;
    min-height: 100% !important; }
  .node--teaser.card--teaser video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease-in-out; }
  .node--teaser.card--teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease-in-out; }
  .node--teaser.card--teaser:hover img {
    transform: scale(1.01);
    filter: brightness(1.1); }
  @media (max-width: 767.98px) {
    .node--teaser.card--teaser#welcome-to-peter-opsvik {
      height: 70vw; } }
  .node--teaser.card--teaser#welcome-to-peter-opsvik a {
    text-decoration: none !important; }

.node--full .node__title {
  margin-top: 0.6875rem;
  margin-bottom: 1rem; }

.node--full .field--gallery-items {
  position: relative;
  margin-left: -0.5rem; }
  @media (max-width: 768px) {
    .node--full .field--gallery-items {
      margin-top: 2rem; } }

.node--full .field--name-body {
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.35; }
  .node--full .field--name-body a {
    padding-bottom: 0.1rem;
    border-bottom: 1px solid #5d5d5d; }
    .node--full .field--name-body a:hover {
      color: #373737;
      border-color: #373737; }
  .node--full .field--name-body p {
    font-size: 1.125rem; }
    .node--full .field--name-body p.has-regular-font-size {
      font-size: 1rem; }
  .node--full .field--name-body h1, .node--full .field--name-body h2, .node--full .field--name-body h3, .node--full .field--name-body h4, .node--full .field--name-body h5, .node--full .field--name-body h6,
  .node--full .field--name-body .h1, .node--full .field--name-body .h2, .node--full .field--name-body .h3, .node--full .field--name-body .h4, .node--full .field--name-body .h5, .node--full .field--name-body .h6 {
    margin-bottom: 1rem; }
  .node--full .field--name-body ul {
    padding-left: 1.1rem; }

.node--full .wp-block-embed-vimeo {
  margin-bottom: 0; }

.node--full .wp-block-column h1, .node--full .wp-block-column h2, .node--full .wp-block-column h3, .node--full .wp-block-column h4, .node--full .wp-block-column h5, .node--full .wp-block-column h6,
.node--full .wp-block-column .h1, .node--full .wp-block-column .h2, .node--full .wp-block-column .h3, .node--full .wp-block-column .h4, .node--full .wp-block-column .h5, .node--full .wp-block-column .h6 {
  margin-top: 1rem; }

.node--full .wp-block-column .field--name-field-media-image img {
  max-width: 100%;
  height: auto; }

.node--full .wp-block-column iframe {
  width: 100%; }

.node--full.page--full .field--name-field-media-image {
  margin-top: 3rem;
  margin-bottom: 3rem; }
  .node--full.page--full .field--name-field-media-image picture {
    display: flex;
    width: 100%; }
  .node--full.page--full .field--name-field-media-image img {
    width: 100%; }

.node--full.page--full .field--name-body {
  margin-top: 3rem; }

.node--full.page--full a {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid #5d5d5d; }
  .node--full.page--full a:hover {
    color: #373737;
    border-color: #373737; }

.node--full.page--full .blocks-gallery-item a {
  padding-bottom: 0;
  border: none !important; }

.node--download {
  font-size: 1.375rem; }
  .node--download .link--more {
    display: flex;
    flex-direction: column;
    font-size: 1.375rem;
    margin-left: 0.25rem; }
    .node--download .link--more:after {
      content: '';
      width: 100%;
      height: 1px;
      background-color: #5d5d5d; }
  .node--download .link--download {
    display: flex;
    flex-direction: column;
    font-size: 1rem; }
    .node--download .link--download:after {
      content: '';
      width: 100%;
      height: 1px;
      background-color: #5d5d5d; }
  .node--download .field--name-field-press-img-file {
    font-weight: bold;
    margin-top: 0.5rem; }
  @media (max-width: 767.98px) {
    .node--download .field--name-field-download .field__item {
      width: 45%; } }
  @media (max-width: 575.98px) {
    .node--download .field--name-field-download .field__item {
      width: 100%; } }
  .node--download .field--name-field-download a {
    display: flex;
    width: 100%; }
  .node--download .field--name-field-download img {
    width: 100%; }

.node--exhibitions-teaser {
  overflow: hidden; }
  .node--exhibitions-teaser img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out; }
  .node--exhibitions-teaser:hover img {
    transform: scale(1.02); }

.node .small--award,
.node .small--thoughts {
  max-width: 210px;
  max-height: 210px;
  padding: 12px;
  line-height: 1.2; }
  @media (max-width: 1199.98px) {
    .node .small--award,
    .node .small--thoughts {
      max-width: 230px;
      min-height: 230px; } }
  @media (max-width: 767.98px) {
    .node .small--award,
    .node .small--thoughts {
      max-width: unset; } }

article.media-animation .field__items {
  justify-content: center; }

