@charset "utf-8";


:root {
  --text-color: #003366;
  --bg-color: #FFFFFF;
}


ul {
  margin: 0px;
  padding: 0px;
}


* {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari, and Opera */
::-webkit-scrollbar {
  width: 0px; /* 0.65em; */
  background-color: transparent;
  display: none;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.15);
  border: none;
}
::-webkit-scrollbar-track {
  box-shadow: none;
  background-color: transparent;
}


::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
}
::-webkit-scrollbar {
  width: 0.45em;
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.15); /*  #ebb5cc; */
  border: none;
  border-radius: 0.1em; /* 0 0 0.2em 0.2em; */
}

.unselectable {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}


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

html {
  /* font-size: 1em; */
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
}

body {
  color: var(--text-color);
  background: var(--bg-color);
  font-family: 'Crimson Pro', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px; /* 21px; */
  line-height: 1.3125em; /* 1.3333em; /* 1.2857em; /* = 21/27px */
  margin: 0px;
  padding: 0px;
  height: 100%;
}


.pageWrapper {
  width: auto;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}


/* horisontal bar */
.hlineWrapper {
  display: block;
  width: 100%;
  float: left;
}
.hlineWrapper .bar {
  margin: 0.5em 0px;
  height: 1px;
  background: rgba(0,0,0,0.25);
}

/* license */
.CCwrapper {
  display: inline-block;
  float: left;
  width: 100%;
  text-align: center;
  padding-top: 2em;
}

/* text box for temporary front pages */
.tempFrontWrapper {
  width: 100%;
  padding: 4em 0px 0em 0px;
  text-align: center;
}


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

/* indentations */
p.indent {
  margin-bottom: 0px;
}
p.indent + p {
  text-indent: 2em;
}
em {
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400; /* 400; */
  line-height: 1.1em; /* 1.05em; */
  margin: 0 0 0.35em 0;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 32px;
  line-height: 36px;
  margin: 0 0 0.5em 0px;
}
h3 {
  font-size: 1.3em;
  line-height: 1.375em;
  margin: 0 0 0 0;
}
h3.noFat {
  font-weight: 400;
}
h4 {
  font-size: 1em;
  margin: 0 0 1.5em 0;
}

a {
  color: var(--text-color);
  background: 0 0;
  text-decoration: none;
  padding: 0 2px;
  border-bottom: 1px solid var(--text-color);
  outline: 0;
  cursor: pointer;

  word-break: break-word;     /* Allows long URLs to break mid-word */
  overflow-wrap: anywhere;    /* Modern alternative to break-word */
  white-space: normal;        /* Ensures link wraps, doesn't stay single-line */

}
a:active, a:focus { outline: 0; }
a:hover {
  text-decoration: none;
  outline: none;
  background: var(--text-color);
  color: var(--bg-color);
  padding: 0 2px;
  border-bottom: 1px solid transparent;
}

/* external link styling */
a.external-link{
  display: inline;
}
a.external-link:after {
  content: '';
}
a.external-link svg {
  display: inline-block;
  margin-bottom: -1px;
  padding: 0px 1px 0px 2px;
  opacity: 1;
}

a {

  > img {
    transition: all 100ms ease;
    transform: scale(1.0);

    &:hover {
      transform: scale(1.0125);
    }
  }
}



code {
  font-family: "Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.025em;
  opacity: 1;
}

.centered {
  text-align: center;
}

.spacer {
  display: block;
  width: 100%;
  height: 4rem;
  /* background-color: lightyellow; */
}
.smallSpacer {
  display: block;
  width: 100%;
  height: 1.25rem;
}
.tinySpacer {
  display: block;
  width: 100%;
  height: 0.65rem;
}



/* *********************************************************** */
/* OTHER WRAPPERS */


/* SINGLE publication */
.PublSingle_Horizontal_BigImage {
  width: 100%;
  display: inline-block;
  margin: 0px; /* 0 0 2em; */
}
.PublSingle_Horizontal_BigImage a {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 0px;
  padding: 0px;
  background-color: transparent;

  &.external-link svg {
    display: none;
  }
}
.PublSingle_Horizontal_BigImage a:hover {
  /* box-shadow: 0px 0px 12px black; */
  box-shadow: 0 8px 6px -6px rgba(0,0,0,.25);
}
.PublSingle_Horizontal_BigImage img {
  width: 100%;
  height: auto;
  margin: 0;
}
.PublSingle_Horizontal_BigImage .title {
  display: block;
  padding-top: 0.5rem; /* 6px; /* 4px; */
  width: 100%;
}
.PublSingle_Horizontal_BigImage .title p {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-bottom: 0;
  font-family: Arial,Helvetica,sans-serif;
  text-align: left;
  font-size: 15px; /* 16px; */
  opacity: 0.8;
  text-align: center;
}
/* centered caption text */
.PublSingle_Horizontal_BigImage .title p.center {
  text-align: center;
}

/* SINGLE publication gallery wrapper */
.PublicationGalleryWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 0px;

  .PublicationGalleryThumb {
    display: flex;
    flex-direction: column;

    a {
      display: flex;
      flex-direction: column;
      border-bottom: 0px;
      padding: 0px;

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


/* SMALLER thumbs wrapper */
#thumbsWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;

  a {
    display: flex;
    flex-direction: column;
    padding: 0px;
    border-bottom: 0px;

    img {
      width: 100%;
      height: auto;
      box-shadow: 0 8px 6px -6px rgba(0,0,0,.25);
    }
  }

  .thumbTxt {
    display: inline-block;
    width: 100%;
    padding: 10px 0 0;
    height: 32px;
    margin-bottom: 0px; /* 10px; */
    overflow: hidden;

    p {
      font-size: 15px; /* 16px; */
      line-height: 19px; /* 21px; */
      font-family: sans-serif;
      text-align: center;
      opacity: .8;
      margin: 0px;
    }
  }

  .item a.external-link:after,
  .item a.external-link svg {
    display: none;
  }

}


/* text */
.TextColumn {
  max-width: 65ch; /* 70ch; /* 760px; */
  margin: 0 auto;
}

.PublSingle_BigTitle {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;

  h2 {
    margin: 0px 0px 0.35rem 0px;
    text-align: center;
  }
  h1 {
    margin: 0px;
    text-align: center;
  }

}

/* Putting Marks single pdf inside text column */
.pdfInTextWrapper {
  display: block;
  float: left;
  width: 160px;
  /* border: 1px solid purple; */
  margin: 7px 2.25em 2em 0px;
}

.pdfInTextWrapper a {
  display: block;
  float: left;
  width: 100%;
  padding: 0px;
  background: transparent;
  border: 0px solid transparent;
  box-shadow: 0 8px 6px -6px rgba(0,0,0,.25);
}
.pdfInTextWrapper a:hover {
  background: transparent;
  border: 0px solid transparent;
}

.pdfInTextWrapper a img {
  display: block;
  float: left;
  width: 100%;
  height: auto;
}



/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */

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

  /* html { font-size: 0.8rem; } */

  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0px
  }

  .borderWrapper {
    border: 6px solid var(--text-color);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr max-content;
    min-height: 100vh;
  }


  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid green; */
    width: 100%;
    padding: 2rem 1.125rem;

    .inside {
      display: flex;
      flex-direction: column;
    }

    #mainHeroWrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }    
  }




  /* FrontButton */
  .FrontButtonWrapper {
    width: 100%;
    height: auto;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* image link */
  .FrontImgLink {
    display: flex;

    a {
      height: 86vw;
      width: 86vw;
      overflow: hidden;
      margin: 0px auto;
      text-align: center;
      border-radius: 50%;
      border-bottom: 0px solid transparent;
      /* bg img is set directly on the page */
      background-position: center;
      background-size: cover;
      transition: all 100ms ease;
      transform: scale(1);

      &:hover {
        color: var(--text-color);
        transform: scale(1.0125);
      }

      img {
        object-fit: cover;
      }

      p {
        margin: 0px;
      }
    }
  }


  /* front text link */
  .FrontTextLink {
    /* border: 1px solid blue; */
    margin: 1.5em 0px 1.5em 0px;
  }
  .FrontTextLink a {
    border: 0px solid transparent;
    width: 100%;
    display: block;
    float: left;
    /* border: 1px solid pink; */
  }
  .FrontTextLink a:hover {
    background: transparent;
    color: var(--text-color);
    border: 0px solid transparent;
  }
  .FrontTextLink a p {
    margin-bottom: 0px;
    text-align: center;
  }  

  
  p {
    font-family: 'Crimson Pro'; /* 'Crimson Text'; */
    font-style: normal;
    font-weight: 400;
    font-size: 20px; /* 21px; */
    line-height: 1.3125em; /* 1.3333em; /* 1.2857em; /* = 21/27px */
    margin: 0px 0px 1.25em 0px; 
  }

  blockquote {
    font-family: 'Crimson Pro'; /* 'Crimson Text'; */
    font-style: italic;
    font-weight: 400;
    font-size: 20px; /* 21px; */
    line-height: 1.3125em; /* 1.3333em; /* 1.2857em; /* = 21/27px */
    display: inline-block;
    margin: 0px 0px 1.25em 0px;
    padding: 0px 0px 0px 1em;
    border-left: 1px dotted rgba(0,51,102,0.5);
  }

  .smaller {
    display: block;

    div {
      display: block;
      font-size: 0.925em !important;
      line-height: 1.375em; /* 1.5em; */
      margin: 0px 0px 0.8em 0px;
    }
  }


  /* MAKING THE MENU */
  header {
    display: flex;
    flex-direction: column;
    /* border: 1px solid red; */
    position: relative;

    /* First row of logo and burger menu */
    > div.fixed {
      position: relative;
      top: 0px; /* 28px; */
      left: 0px; /* 6px; */

      > div {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        > .logo {
          display: flex;
          flex-direction: column;
          padding: 1rem 1rem; /* 1rem 1.2rem; */

          > a {
            display: flex;
            flex-direction: column;
            border-bottom: 0px;

            &:hover {
              color: var(--text-color);
              background-color: transparent;
            }
          }
          
        }      
      }      

    } 

    /* icons */
    a#burger {
      border-bottom: 0px;
      display: flex;
      flex-direction: column;

      &:hover {
        color: var(--text-color) !important;
        background: transparent !important;
      }

    }
    a#burger #burgerIcon,
    a#burger #crossIcon {
      outline: none;
      border: none;
      display: block;
      cursor: pointer;
      background-color: transparent;
      margin: 0px;
      padding: 0.9em 0.75em 0.6em 0.75em; /* 0.3em 0.5em 0px 0.5em; */
    }

    a#burger #burgerIcon.hide,
    a#burger #crossIcon.hide {
      display: none;
    }


    /* mobile nav */
    ul#mobileNav {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: auto;
      max-height: 420px;
      border-bottom: 1px solid rgba(0,0,0,0.1);
      list-style: none;
      overflow: hidden;
      transition: max-height 0.2s ease;

      .firstname {
        display: inline;
      } 

      li {
        display: flex;
        flex-direction: column;
        width: 100%;

        a {
          width: 100%;
          text-align: center;
          text-decoration: none;
          /* font-family: serif; */
          font-size: 1em; /* 1.2em; */
          line-height: 2.125em;
          letter-spacing: 0.02em;
          border-top: 1px solid rgba(0,0,0,0.1);
          border-bottom: 1px solid transparent;
          text-decoration-thickness: 1px;

          &.chosen {
            /* text-decoration: line-through; */
            color: var(--text-color);
            /* font-style: italic; */
            text-decoration: line-through;
            text-decoration-thickness: 1px; /* Control exact thickness */
          }

          &:hover.chosen {
            color: var(--bg-color);
            text-decoration-thickness: 1px;
          }
        }

      }
    }
    ul#mobileNav.hide {
      max-height: 0px;
      border-bottom: 1px solid transparent;
    }    
  }  


  /* Corner */
  #Corner {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 48px;
    height: 48px;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    z-index: 10;
  }

  @-webkit-keyframes glowing {
    0% { -webkit-box-shadow: 0 0 3px #00F; }
    50% {  -webkit-box-shadow: 0 0 15px #00F; }
    100% { -webkit-box-shadow: 0 0 3px #00F; }
  }
  @-moz-keyframes glowing {
    0% {  -moz-box-shadow: 0 0 3px #00F; }
    50% { -moz-box-shadow: 0 0 10px #00F; }
    100% {  -moz-box-shadow: 0 0 3px #00F; }
  }
  @-o-keyframes glowing {
    0% {  box-shadow: 0 0 3px #00F; }
    50% {  box-shadow: 0 0 15px #00F; }
    100% {  box-shadow: 0 0 3px #00F; }
  }
  @keyframes glowing {
    0% { box-shadow: 0 0 3px #00F; }
    50% { box-shadow: 0 0 15px #00F; }
    100% {  box-shadow: 0 0 3px #00F; }
  }

  #Corner a {
    display: block;
    float: left;
    width: 48px;
    height: 48px;
    background: var(--bg-color) !important;
    padding: 0px !important;
    border-bottom: 0px;
    /*addition from Joana*/
    /*
    -webkit-animation: glowing 1500ms infinite;
    -moz-animation: glowing 1500ms infinite;
    -o-animation: glowing 1500ms infinite;
    animation: glowing 1500ms infinite;
    */
  }
  #Corner a:hover {
    background: transparent;
  }  
  #Corner a img {
    display: block;
    float: left;
    width: 100%;
    height: 100%;
  }

  /* fixed Corner for Joana */
  #CornerFixed {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 48px;
    height: 48px;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    z-index: 10;
  }

  #CornerFixed a {
    display: block;
    float: left;
    width: 48px;
    height: 48px;
    background: var(--bg-color) !important;
    padding: 0px !important;
    border-bottom: 0px;
  }
  #CornCornerFixeder a:hover {
    background: transparent;
  }  
  #CornerFixed a img {
    display: block;
    float: left;
    width: 100%;
    height: 100%;
  }
  /* Joana topEdge */
  .topEdge {
    position: fixed; /* absolute; */
    top: 0px;
    left: 0px;
    height: 6px;
    width: calc(100% - 48px);
    background: var(--text-color);
    z-index: 1000;
  }


  /* Two txt columns */
  .TwoColTxt {
    max-width: 960px;
    margin: 0 auto;
  }
  
  .altType, .altType h4 {
    color: purple !important;
  }



  /* new wrapper for publications */
  .PublicationOverviewWrapper {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr; /* 1fr 1fr; */
    gap: 1.5rem;

    .Publication {
      display: flex;
      flex-direction: column;
      padding: 0px;

      .img {
        display: flex;
        flex-direction: column;
        margin-bottom: 1.25rem;

        a {
          text-decoration: none;
          padding: 0px;
          border: 0px;
          background: transparent;
          display: flex;
          flex-direction: column;

          img {
            width: 100%;
            height: auto;
            /*
            transition: all 150ms ease;
            transform: scale(1.0);

            &:hover {
              transform: scale(1.0125);
            }
            */
          }
        }
      }

      .date {
        font-size: 0.8em; /* 0.95em; /*  1.1em; */
        text-transform: uppercase;
        letter-spacing: 0.01em;
        line-height: 1.35em;
        margin-bottom: .375em;
      }


      .title h2 a {
        /* line-height: 32px; */
        width: auto;
        color: var(--text-color);
        margin: 0px 0px 0px 0px;
        border-bottom: 0px;

        &:hover {
          background: transparent;
          color: var(--text-color);
        }
      }
    }
  }

  #thumbsWrapper .item {
    flex: 0 0 100%; /* 33.3333%; */
  }

  

  
  /* footer */
  #footerWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
  }

  footer {
    position: relative;
    clear: both;
    padding: 1em 15px 0;
    border-top: 1px solid var(--text-color);
    z-index: 0;
  }
  footer .ColophonTxt {
    font-size: 16px;
    line-height: 21px;
    padding-bottom: 1em;
    text-align: center;
  }


}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 500px) {

  #thumbsWrapper .item {
    flex: 0 0 50%; /* 33.3333%; */
  }

}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 680px) { 

    main {
      padding: 2.75rem 1.25rem 2rem 1.25rem;
    }

}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 768px) {

  .PublicationOverviewWrapper {
    grid-template-columns: 1fr 1fr; /* 1fr; /* 1fr 1fr; */
    max-width: none; /* 60ch; /* 70ch; */
    /* padding-top: 3rem; */

    .Publication {
      position: relative;
      margin-bottom: 4rem;

      &::after {
        position: absolute;
        content: "*";
        font-family: monospace;
        font-size: 1.5em;
        line-height: 1rem;
        left: 0;
        bottom: -2.75rem;
        text-align: center;

        display: block;
        width: 100%;
        height: auto;
        opacity: .5;
      }

      /*
      &:last-of-type {
        margin-bottom: 2rem;

        &::after {
          display: none;
        }
      }
      */

    }
  }

}


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

  html { font-size: 1rem; }

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


  .borderWrapper {
    grid-template-columns: 15fr 70fr 15fr;
    grid-template-rows: 1fr;
    gap: 0px;
  }

  /* MENU setup here */
  header {
    padding-top: 0px; /* 28px; */

    > div.fixed {
      position: fixed;
      top: 28px;
      left: 6px;

      > div {

        .logo {
          padding: 1rem 1.2rem;
          margin-bottom: 1.25rem;
        }

        a#burger {
          display: none;
        }
      }

    }


    ul#mobileNav {
      padding-left: 1.2rem;

      li {

        a {
          width: max-content;
          border-bottom: 0px;
          border-top: 0px;
          text-align: left;
          line-height: 1.5em; /* 1.65em; */

          &:hover {
            color: var(--text-color);
            background: transparent;
            text-decoration: underline;
            text-decoration-thickness: 1px;
          }

          &.chosen {
            text-decoration: line-through;
            text-decoration-thickness: 1px;
            /* font-style: italic; */
          }

          &.chosen:hover {
            color: var(--text-color);
            background: transparent;
            text-decoration: underline;
          }
        }
      }

      &.hide {
        height: auto;
        max-height: none;
      }

    }
  }

  /*
  main {
    padding: 2.75em 1rem 2.75em 1rem;
  }
  */

  .PublicationOverviewWrapper {
    gap: 2rem;
  }


  /* FrontButton */
  .FrontButtonWrapper {
    width: 100%;
    height: auto; /* calc(100vh - 12px); */
  }
  .FrontImgLink a {
    height: 73vh; /* 78vh; */
    width: 73vh; /* 78vh; */
  }
  .FrontTextLink {
    margin: 1.5em 0px 0px 0px;
  }  



  footer {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 125%;
    width: 15%;
    padding: 0;
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.3333em;
  }

  .footerInside {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* #footerWrapper .ColophonTxt { */
  footer .ColophonTxt {  
    position: absolute;
    bottom: 273px;
    right: -200px;
    padding: 0;
    width: 530px;
    height: 50px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    font-size: 16px;
    line-height: 21px;
    padding-bottom: 0;
    text-align: left;
  }

  #Corner {
    position: absolute; /* fixed; /* absolute; */
    top: 0px;
    right: 0px;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  /* Fixed corner for Joana */
  #CornerFixed {
    position: fixed;
    top: 0px;
    right: 0px;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 1280px) { 

  .FrontImgLink a {
    height: 80vh;
    width: 80vh;
  }

}