:root {
  --bg-color: #ffffff;
  --txt-color: #000000;
  --border-color: #d6d6d6;

  --bg-color-dark: #0D0D0D;
  --txt-color-dark: #ffffff;
  --border-color-dark: #5C5C5C;

  --title-font: "Antic Didone", serif;
  --txt-font: "Inter", sans-serif;

  --title-font-v: "Inter", sans-serif;
}


/*-------------------------------------*/

body.lock-scroll, html.lock-scroll {
    overflow-x: hidden;
    overflow-y: hidden;
}

html {
    font-size: 1.1rem;
}

body {
    color: var(--txt-color);
    font-family: var(--txt-font);
    font-weight: 300;
    line-height: 1.6;
    padding-top: 250px;
}

html

a {
	color: var(--txt-color);
    text-decoration: none;
}

p, .post-thumbnail {
    margin: 0 0 1.5rem 0;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
}

h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.sub-title {
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  font-family: var(--txt-font);
  font-weight: 400;
  font-size: 0.9rem;
}

.sans_serif .sub-title {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    font-family: var(--title-font);
}

.flex {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.wrap-xl {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.wrap {
    max-width: 1600px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.wrap-s {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.w-50 {
  width: 47%;
}

.justify-between {
  justify-content: space-between;
}

.primary-btn {
    display: inline-block;
    line-height: 1.2;
    background: none;
    border: 1px solid;
    padding: 18px 30px;
    border-color: var(--border-color);
    border-radius: 40px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.25s ease;
    font-weight: 350;
}

.primary-btn:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

@media only screen and (max-width:1024px) {
  h1 {
    font-size: 2.8rem;
}

}

@media only screen and (max-width:767px) {
  h1 {
    font-size: 2.4rem;
}

h2 {
  font-size: 1.5rem;
}
.w-50 {
  width: 100%;
}
body {
    padding-top: 180px;
}
body.single-konstverk {
    padding-top: 140px;
}
}

/*------------ Dark theme -------------*/

body#dark_theme #masthead.onscroll {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(5px);
}

html body#dark_theme a {
    color: var(--txt-color-dark);
}

html body#dark_theme .nav-links a i {
   color: var(--txt-color);
}

body#dark_theme {
  background: var(--bg-color-dark);
  color: var(--txt-color-dark);
}

body#dark_theme #site-navigation .primary-menu .open > .sub-menu {
    background: rgba(255,255,255,.05);
}

body#dark_theme #site-navigation .primary-menu a, body#dark_theme #site-navigation .btn-toggle.icon {
  color: var(--txt-color-dark);
}

body#dark_theme #site-navigation ul.sub-menu {
    background-color: #242424;
}

body#dark_theme .primary-btn:hover, body#dark_theme .border-color, body#dark_theme .loop-section, body#dark_theme .loop-section article .post-thumbnail, body#dark_theme.single-konstverk article .post-thumbnail, body#dark_theme .primary-btn, body#dark_theme .slider-section .loop-list-title.wrap {
  border-color: var(--border-color-dark);
}

body#dark_theme .primary-btn:hover {
  background: var(--bg-color);
  border-color: var(--txt-color-dark);
  color: var(--txt-color);
}

body#dark_theme .c-hamburger .toggle-icon, body#dark_theme .c-hamburger .toggle-icon:before, body#dark_theme .c-hamburger .toggle-icon:after {
    background: var(--txt-color-dark);
}

body#dark_theme .c-hamburger--htx.is-active .toggle-icon {
    background: none;
}

.sans_serif h1, .sans_serif h2, .sans_serif h3, .sans_serif h4, .sans_serif h5, .sans_serif h6, .sans_serif .art-content .price {
    font-weight: 200;
    font-family: var(--title-font-v);
}

.sans_serif .site-title {
    font-family: var(--title-font-v);
    font-weight: 200;
    font-size: 1.4rem;
}

@media only screen and (max-width:1024px) {
    body#dark_theme #site-navigation {
  background-color: var(--bg-color-dark);
}
}


/*------------- icon fonts -------------*/

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?19xkgf');
  src:  url('../fonts/icomoon.eot?19xkgf#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?19xkgf') format('truetype'),
    url('../fonts/icomoon.woff?19xkgf') format('woff'),
    url('../fonts/icomoon.svg?19xkgf#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-arrow-long:before {
  content: "\e90c";
}
.icon-close:before {
  content: "\e91d";
}
.icon-minus-light:before {
  content: "\e91b";
}
.icon-plus-light:before {
  content: "\e91c";
}
.icon-linkedin:before {
  content: "\e91a";
}
.icon-circle-check-solid:before {
  content: "\e915";
}
.icon-arrow-right:before {
  content: "\e900";
}
.icon-arrow-up-right:before {
  content: "\e90f";
}
.icon-filter:before {
  content: "\e901";
}
.icon-grid:before {
  content: "\e902";
}
.icon-external-link:before {
  content: "\e905";
}
.icon-download:before {
  content: "\e91e";
}
.icon-chevron-down:before {
  content: "\e903";
}
.icon-chevron-up:before {
  content: "\e904";
}
.icon-arrow-left:before {
  content: "\e90a";
}
.icon-chevron-left:before {
  content: "\e906";
}
.icon-chevron-right:before {
  content: "\e907";
}
.icon-check:before {
  content: "\e911";
}
.icon-checkmark:before {
  content: "\e908";
}
.icon-check-circle:before {
  content: "\e912";
}
.icon-facebook:before {
  content: "\f09a";
}
.icon-instagram:before {
  content: "\f16d";
}
.icon-pinterest-p:before {
  content: "\f231";
}


/*------------- Header -------------*/

#masthead.onscroll {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(5px);
}

#masthead.onscroll.site-header > div {
  border: none;
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}

.header-nav {
    display: flex;
}

.site-title {
    padding: 0;
    margin: 0;
    font-family: var(--title-font);
    font-weight: 400;
    font-size: 1.4rem;
}

.site-header > div {
    line-height: 1.3;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid;
}

.header-nav { 
  justify-content: start;
  flex: 1;
  display: flex;
}
.header-branding { 
  justify-content: center;
  flex: 1;
  display: flex;
}
.header-social { 
  justify-content: end;
  flex: 1;
  display: flex;
}

div.border-color {
  border-color: var(--border-color);
}

.header-social a, .footer-social a, .content-section .page-social a {
    padding: 8px;
    display: inline-block;
    text-decoration: none;
    width: 32px;
    height: 32px;
    position: relative;
}

.header-social a i, .footer-social a i, .content-section .page-social a i {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  font-size: 20px;
}
.header-social a i.icon-linkedin, .footer-social a i.icon-linkedin, .content-section .page-social a i.icon-linkedin {
  top: 46%;
}

@media only screen and (max-width:1024px) {
    .site-header > div {
        padding: 30px 0;
    }
    .site-header > div > div {
      flex: auto;
    }
}

@media only screen and (max-width:767px) {
    .site-header > div {
        flex-direction: row-reverse;
    }
    .header-social {
        display: none;
    }
    .header-branding {
      justify-content: start;
    }
    .header-nav {
      justify-content: end;
    }
}



/*--------------- Page style --------------*/

.entry-content, .page-content {
  margin: 0;
}

.title-section {
  padding-bottom: 2.5rem;
  justify-content: space-between;
  align-items: end;
}

.title-section h1 {
  margin: 0;
}

.title-section .ingress {
  margin: 1.5rem 0 0 0;
}

.title-section .ingress.ingress-large {
  font-size: 1.2rem;
  line-height: 1.5;
}

.title-section > div {
   width: 600px;
}

.date {
  display: block;
  margin-bottom: 1rem;
}

.content-section {
  border-top: 1px solid;
  border-color: var(--border-color);
  margin-bottom: 8rem;
  padding-top: 1.5rem;
}

.content-section-small {
  max-width: 800px;
}

.content-section a {
  text-decoration: underline;
}

.content-section ul, .content-section ol, .technics-list {
  margin: 0 0 1.5rem 0;
}

.about-me-profile .post-thumbnail {
  height: 100%;
}
.about-me-profile .post-thumbnail img {
  width: 100%;
}
.tecnics {
  border-top: 1px solid;
  border-color: var(--border-color);
  padding-top: 1.5rem;
  margin-top: 4rem;
}
.technics-list, .gallery-list, .contacts-list {
  list-style-type: none;
  padding: 0
}
.technics-list li + li {
  margin-top: 1rem;
}
.technics-list li {
  display: flex;
  line-height: 1.3;
}
.technics-list li i {
  margin-right: 0.5rem;
  position: relative;
  top: 2px;
}
.contacts-list li a {
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 250;
  letter-spacing: 0.02rem;
}
.contacts-list li a:hover {
  text-decoration: underline;
}
ul.gallery-list {
  width: 100%;
  margin: 4rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.page-social {
  margin-top: 4rem;
  border-top: 1px solid;
  border-color: var(--border-color);
  padding-top: 1.5rem;
}
.gallery-list-item img {
  width: 100%;
}

.post-thumbnail img {
  width: 100%;
}

@media only screen and (max-width:1024px) {
    .title-section > div {
      width: 100%;
    }
    .title-section .primary-btn {
      margin-top: 1.5rem;
    }
    .contacts-list li a {
  font-size: 1.4rem;
}
}

@media only screen and (max-width:767px) {
  .title-section {
    padding-bottom: 1.5rem;
  }
  ul.gallery-list {
  gap: 0.5rem;
}
.title-section .ingress {
  margin: 1rem 0 0 0;
}

}

/*-------- Page style single artwork ----------*/

.art-section {
  margin-bottom: 8rem;
}

.single-konstverk article .post-thumbnail {
    border: 1px solid;
    border-color: var(--border-color);
    display: block;
}

.art-content, .about-content, .page-content {
  padding-top: 3rem;
}

.art-content .primary-btn {
  width: 100%;
  margin-top: 2rem;
}

.art-content .primary-btn + .primary-btn {
  margin-top: 1rem;
}

.art-content h1 {
  font-size: 3rem;
}

.art-content-top {
  border-bottom: 1px solid;
  border-color: var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.tecnic-size {
  margin-bottom: 1.5rem;
}

.tecnic-size p {
  margin-bottom: 0;
}

.art-content .price {
  font-weight: 400;
  font-family: var(--title-font);
  font-size: 3rem;
}

.more-artwork {
  margin-top: 8rem;
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links a {
  display: flex;
    align-items: center;
}

.nav-links a:hover .nav-subtitle {
  text-decoration: underline;
}

.nav-title {
    position: relative;
    top: 1px;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: inline-block;
    background: #f1f1f1;
}

.nav-title i {
  transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

.nav-previous .nav-title {
  margin-right: 8px;
}

.nav-next .nav-title {
  margin-left: 8px;
}

@media only screen and (max-width:1024px) {
  .art-content h1, .art-content .price {
    font-size: 2.6rem;
  }
}

@media only screen and (max-width:767px) {
  .art-content h1, .art-content .price {
    font-size: 2.2rem;
  }
  .art-content {
  padding-top: 1rem;
}
}

/*-------- Loop section -----------*/

.loop-section {
  border-top: 1px solid;
  border-color: var(--border-color);
  margin-bottom: 8rem;
  padding-top: 1.5rem;
}

.loop-list-title {
  font-family: var(--title-font-v);
  font-weight: 300;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 0 1.5rem;
  margin: 0;
}

.loop-section .entry-title {
  margin: 1.5rem 0 0.5rem;
  font-size: 2rem;
  line-height: 1.1;
}

.loop-section .loop-list {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.loop-section .loop-list-utvalda {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.loop-section article .post-thumbnail {
  border: 1px solid;
  border-color: var(--border-color);
  display: block;
  transition: all 0.25s ease-in-out;
}

.loop-section article .post-thumbnail:hover {
  transform: scale(1.02);
}

.loop-section article img {
  width: 100%;
}

.category-name {
  margin: 0;
  line-height: 1.4;
}

.post-type-archive-nyhet .loop-section {
  padding: 0;
}

.post-type-archive-nyhet .loop-section .loop-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
}

.post-type-archive-nyhet .loop-section .loop-list li + li {
  border-top: 1px solid;
  border-color: var(--border-color);
}

.post-type-archive-nyhet .loop-section .loop-list li article a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  transition: all 0.25s ease-in-out;
}

.post-type-archive-nyhet .loop-section .loop-list li article a:hover {
  transform: scale(1.02);
}

.post-type-archive-nyhet .loop-section .loop-list li article a h2 {
  margin-bottom: 0;
}

.post-type-archive-nyhet .loop-section .loop-list li i {
  font-size: 30px;
  margin-left: 2rem;
}

@media only screen and (max-width:1024px) {
    .loop-section .loop-list {
      grid-template-columns: repeat(2, 1fr);
    }
    .loop-section .entry-title {
      font-size: 1.6rem;
    }
}

@media only screen and (max-width:767px) {
   .loop-section .loop-list, .loop-section .loop-list-utvalda {
    gap: 1rem;
  }
  .loop-section .entry-title {
  font-size: 1.2rem;
}
.loop-section article .post-thumbnail {
  margin: 0;
}
.loop-section .entry-title {
  margin: 0.8rem 0 0.4rem;
}
.loop-section .category-name {
  font-size: 0.9rem;
}
}

/*--------- slider section ------------*/

.slider-section {
  margin-bottom: 8rem;
}

.slider-section .loop-list-title.wrap {
  margin: 0 auto;
  border-top: 1px solid;
  border-color: var(--border-color);
  padding-top: 1.5rem;
}

.slider-section .post-thumbnail {
  display: block;
  height: 100%;
  margin: 0;
}
.slider-section article {
  height: 100%;
}
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.splide__track {
  height: 100%;
}

.slider-section .entry-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    line-height: 1.1;
}
.slider-content {
  display: block;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .8));
  position: absolute;
  bottom: 0;
  color: var(--txt-color-dark);
  width: 100%;
  left: 0;
  padding: 6rem 5% 4rem;
}

.slider-section .splide__pagination {
    bottom: 4rem;
    right: 5%;
    padding: 5px;
    position: absolute;
    z-index: 1;
    left: auto;
    background: rgba(0, 0, 0, .4);
    border-radius: 18px;
}

#splide-media-slider.slider-section .splide__pagination {
  bottom: 2rem;
  right: 5%;
}

.slider-section .splide__pagination__page {
  width: 14px;
  height: 14px;
}

.slider-section .splide__pagination__page {
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
}
.slider-section .splide__pagination__page:hover {
  background: #fff;
}

.slider-section .splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1);
    z-index: 1;
    width: 28px;
    border-radius: 8px;
}

.slider-section .splide__arrow {
  font-size: 1.6rem;
  opacity: 1;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.slider-section .splide__arrow:disabled {
  opacity: 1;
  display: none;
}

.slider-section .splide__arrow:disabled:before {
    opacity: 0.2;
}

.splide__arrow svg {
  display: none;
}

@media only screen and (max-width: 767px) {
  
  .slider-section .splide__pagination {
    bottom: 20px;
    right: auto;
    left: 5%;
}

#splide-media-slider.slider-section .splide__pagination {
  bottom: 20px;
  right: auto;
  left: 5%;
}

}

/*----------- Footer ------------*/

.footer-social .flex {
  justify-content: flex-end;
}

.site-footer {
  border-top: 1px solid;
  border-color: var(--border-color);
  padding: 2rem 0 6rem;
  justify-content: space-between;
}

.site-footer ul {
  list-style-type: none;
  padding: 0;
}

.site-footer ul li + li {
  margin-top: 0.5rem;
}

.site-footer ul li a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {
.site-footer {
  justify-content: none;
  flex-flow: column;
}
.footer-social {
  margin-top: 2rem;
}
.footer-social .flex {
  justify-content: flex-start;
}
}


