@charset "utf-8";

:root {
  --text-color: #152233; /* #152244; */
  --bg-color: #FCFCFC;
  --caption-color: rgba(21,34,85,0.65);
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.unselectable {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

::-webkit-scrollbar {
  width: 0.65em;
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.35);
  border: none;
}
::-webkit-scrollbar-track {
  box-shadow: none;
  background-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* SITE SPECIFIC styling ++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

html {
  height: 100%;
  width: 100%;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Lora", serif;
  margin: 0px;
  padding: 0px;
  height: 100%;
  overflow-x: hidden;
}

.mainWrapper {
  display: block;
}
.mainWrapper::after {
  content: "";
  clear: both;
  display: table;
}



/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* TYPE STUFF */

h1, h2, h3, h4, h5, h6 {
  margin: 0px 0px 1.125em 0px;
  font-weight: 500; /* 600; */
  letter-spacing: 0.0375em;
  line-height: 1.25em;
}
h2 {
  font-size: 3em;
  font-size: 1.75em;
}
h3 {
  font-size: 1.5em;
}
h4 {
  font-size: 1.5em;
  margin: 0px 0px 1.5em 0px;  
}

.headerGroup {
  margin-bottom: 2.5em;
}
.headerGroup h2,
.headerGroup h3 {
  margin-bottom: 0.25em;
}
.headerGroup h3 {
  font-weight: 400;
  letter-spacing: 0.02em;
}


p {
  margin: 0px 0px 1.5rem 0px;
}
p.centered {
  text-align: center;
}


/* INLINE LINKS */
a {
  text-decoration: none;
  color: rgba(255,32,32,0.85);
  outline: 0;
}
a:active, a:focus { outline: 0; }
a:hover { text-decoration: underline; outline: none; }

a img {
  border: 0px;
}

.centered { text-align: center; }
.big {
  text-transform: uppercase;
  letter-spacing: 0.045em !important;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* MENUS and header bar*/

/* logo */
header #logo a {
  display: block;
  float: left;
  width: 100%;
}
header #logo a:hover {
  cursor: pointer;
}
header #logo a img {
  display: block;
  float: left;
  width: 150px;
  height: auto;
}

/* Menu */
header #mobileNavWrapper {
  display: block;
  margin: 0px;
}
header #mobileNavWrapper.hide {
  display: none;
}
header #mobileNavWrapper ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
header #mobileNavWrapper ul li {
  margin: 0px 0.8em;
  padding: 0px;
}
header #mobileNavWrapper ul li a {
  color: var(--text-color);
  font-size: 1em; /* 14px; /* 1em; */
  line-height: 1.35em;
  letter-spacing: 0.0075em; /* 0.0375em; /* 0.0075em; */
  padding: 0px;
  margin: 0px;
  text-transform: none; /* uppercase; */
}
header #mobileNavWrapper ul li a.activeAnchor {
  text-decoration: line-through;
}


/* ********************************************************************************************************** */
/* Forside banner */

section.hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}


/* ********************************************************************************************************** */
/* NYHED */

.nyhederWrapper {
  display: block;
  margin: 0px auto;
  max-width: 100ch;
}

.nyhederWrapper .nyhed {
  text-align: center;
  margin-bottom: 2em;
  padding: 0px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

.nyhederWrapper .nyhed h1,
.nyhederWrapper .nyhed h2 {
  margin-bottom: 0.25em;
}



/* ********************************************************************************************************** */
/* KUSTNER overview */

.kunstnerWrapper {
  /* border: 1px solid pink; */
}

.kunstnerWrapper > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1em;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  line-height: 1.35em;
  padding: 0.25em 0;
}
.kunstnerWrapper > div:last-of-type {
  border-bottom: 0px;
}





/* ********************************************************************************************************** */
/* artist overview */

.udstillingOverviewWrapper {
  display: grid;
  grid-gap: 1.35em;
  margin-bottom: 2em;
}

.udstillingOverviewWrapper .udstilling {
  width: 100%;
}
.udstillingOverviewWrapper .udstilling img {
  width: 100%;
  height: auto;
}

.udstillingOverviewWrapper .udstilling a {
  color: var(--text-color);
  text-decoration: none;
}
.udstillingOverviewWrapper .udstilling a:hover {
  text-decoration: underline;
}



/* ********************************************************************************************************** */
/* GALLERY overview */

.galleryWrapper {
  display: grid;
  grid-gap: 1em; /* 1.35em; */
  margin-bottom: 2em;
}

/* let shave spacing in between a tags in code -> make p no margin */
.galleryWrapper p {
  margin: 0px !important;
}

.galleryWrapper a img {
  display: block;
  float: left;
}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* THERE ARE STYLESHEETS ATTACHED TO THIS formatting */

/* grids */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen {

  body {
    font-size: 16px;
    line-height: 1.4em;    
    overflow-y: auto;
  }

  #pageWrapper {
    padding: 1em;
    max-width: 1400px;
    margin: 0px auto;
  }

  header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3.5em;
  }
  header #logo {
    margin-bottom: 1em; /* 0.65em; */
  }


  .message {
    position: fixed;
    top: 1em;
    right: 1em;
    opacity: 0.75;
  }
  .message p { margin: 0px; }

  .heroImgWrapper {
    text-align: center;
    margin: 0px 0px 5em 0px;
  }
  .heroImgWrapper img {
    max-height: 80vh;
    width: auto;
  }
  p.billedtekst {
    font-size: 0.9em;
    opacity: 0.65;
    font-family: sans-serif;
    padding-top: 0.35em;
    margin: 0px;
  }

  .spacer {
    margin: 1em 0px 3em 0px;
  }
  .bar {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.15);
  }  


  .kunstnerWrapper > div {
    grid-template-columns: 1fr;
    grid-gap: 0px;
  }
  /* kunstnernavn */
  .kunstnerWrapper > div > div:nth-child(1) {
    text-align: left;
  }

  /*
  .artistOverviewWrapper {
    grid-template-columns: 1fr;
  }
  */

  .udstillingOverviewWrapper {
    grid-template-columns: 1fr;
  }

  .galleryWrapper {
    grid-template-columns: 1fr;
  }

  .bigLogoWrapper {
    width: 100%;
    text-align: center;
    margin: 1.5em 0px 3em 0px;
  }
  .bigLogoWrapper img {
    max-width: 100%;
    height: auto;
  }


}


/* ***************************************************** */
/* BREAK MEDIUM */

@media (min-width: 400px) {

  #pageWrapper {
    padding: 1.5em;
  }

  /*
  .artistOverviewWrapper {
    grid-template-columns: 1fr 1fr;
  } 
  */ 

  .galleryWrapper {
    grid-template-columns: 1fr 1fr;
  }  

}


/* ***************************************************** */
/* BREAK MEDIUM */

@media (min-width: 800px) {

  #pageWrapper {
    padding: 2em;
    position: relative;
  }

  header {
    margin-bottom: 5em;
  }

  .kunstnerWrapper > div {
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
  }
  /* kunstnernavn */
  .kunstnerWrapper > div > div:nth-child(1) {
    text-align: right;
  }

  /*
  .artistOverviewWrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
  */

  .udstillingOverviewWrapper {
    grid-template-columns: 1fr 1fr;
  }  
  .galleryWrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }  

}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 4. */
@media screen and (min-width: 1024px) {

  body {
    font-size: 17px;    
    overflow-y: scroll;
  }

  #pageWrapper {
    padding: 3rem;
  }

  .galleryWrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }  

}



/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */



/* lora-regular - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lora-v26-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-regular.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-500 - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/lora-v26-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-500.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-600 - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/lora-v26-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-600.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700 - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lora-v26-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-700.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lora-v26-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-500italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/lora-v26-latin-500italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-500italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-500italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-700italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lora-v26-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-700italic.svg#Lora') format('svg'); /* Legacy iOS */
}
/* lora-600italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/lora-v26-latin-600italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lora-v26-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lora-v26-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lora-v26-latin-600italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lora-v26-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lora-v26-latin-600italic.svg#Lora') format('svg'); /* Legacy iOS */
}
