html {
  scroll-behavior: smooth;
}

body {
position: relative; 
width: 100%; 
padding: 0;
margin: 0;
color: #212B2F;
font-family: "Crimson Pro", serif;
font-size: 17px;
line-height: 1.42857143;
}

a.link{
color: #184a36;
border-bottom: 3px;
border-bottom-style: solid;
border-color: #ddd;
padding-bottom: 2px;
}


a:hover.link {
color: #182a4a;
border-bottom: 3px;
border-bottom-style: solid;
border-color: #182a4a;
padding-bottom: 2px;
text-decoration: none;
font-weight: 600;
font-style: italic;
}



.wrapper {
width: 100vw;
}

.affix {
top:0;
width: 100%;
z-index: 9999 !important;
}

nav {
background-color: white;
}

.navbar {
margin-bottom: 0px;
  }
  
.affix ~ .container-fluid {
position: relative;
top: 50px;
}


.intro {
display: block;
height: 100vh;
color:  #ffffff;
font-family: "Crimson Pro", serif;
font-weight: 300;
font-size: 12pt;
line-height: 100vh;
text-align: center;
}

#subline {
padding-top: 30px;
line-height: 5vh;
padding-bottom: 200px;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 7px;
}

.arrow_dark {
  border: solid #212B2F;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 7px;
  
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.up {
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
}


div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 90vh;
  
}

#jumpdown {
line-height: 0px;
width: 60px;
height: 60px;
margin: 0 auto;
padding-top: 6px;
font-family: "Nunito Sans", sans-serif;
font-size: 13px;
color: #fff;
font-weight: 500;
letter-spacing: 2px;

}

#jumpup {
width: 60px;
left: 5vw;
font-family: "Nunito Sans", sans-serif;
font-size: 13px;
color: #212B2F;;
font-weight: bold;
letter-spacing: 0px;
z-index: 99999;
}

#jumpdown:hover a i.arrow {
  border: solid;
  border-width: 0 0px 0px 0;
  display: inline-block;
  padding: 15px;
}

 #jumpup:hover a i.arrow{
   border: 0px;
  border-width: 0 0px 0px 0;
  display: inline-block;
  padding: 15px;
}


#jumpdown:hover a i.down {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

#jumpup:hover a i.up {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  border: #fff;
}

#jumpdown a i.new-label{
  position: relative;
  content: 'CONTINUE'
  text-decoration: none;
  width: 10px;
  height: 10px;
  text-align: center;
  color: #fff;
}

#jumpup a i.new-label{
  position: relative;
  content: 'GO\00a0 UP'
  text-decoration: none;
  width: 10px;
  height: 10px;
  text-align: center;
  color: #212B2F;
}

#jumpdown a i.new-label span, #jumpup a i.new-label span{
   display: none;
} 


#jumpdown:hover a i.new-label span, #jumpup a i.new-label span{
  display: none;
}

#jumpdown:hover a i.new-label:after{
    content: 'CONTINUE';
    margin-left: -40px;
}

#jumpup:hover a i.new-label:after{
    content: 'GO\00a0 UP';
    margin-left: -15px;
}

.intro .logo {
display: block;
width: 300px;
height:auto;
margin: 0 auto;
padding-top: 30vh;
padding-bottom: 0;}



.brief {
position:relative;
display: flex;
flex-direction: column;
color:  #ffffff;
min-height: 100vh;

}

section.entry{
flex: 1;
align-items: center;
  justify-content: center;
/*position: absolute; */
left: 0;
text-align: left; 
padding:  15vw;
   }

.symbol {
display: block;
width: 30px;
height:auto;
/*padding-top: 30vh;*/
padding-bottom: 25px;
}

h1 {
font-family: "Nunito Sans", sans-serif;
letter-spacing: 1pt;
font-size: 30pt;
width: 100%;
font-weight: 300;
line-height: 1;

}
  
h4 {
font-family: "Nunito Sans", sans-serif;
font-size: 15pt;
width: 100%;
line-height: 1.3;
font-weight: 300;

}

p.quote {
padding-top: 30px;
font-family: "Nunito Sans", sans-serif;
font-weight: 200;
font-size: 20pt;
}

p.quoteBy {
padding-bottom: 50px;
font-family: "Nunito Sans", sans-serif;
font-weight: 200;
font-size: 16pt;
}





.navlogo {
display: block;
width: 280px;
height:auto;
line-height: 50%;
}

#grad {
  background-color: #212B2F;
  background-image: linear-gradient(-20deg, #183529, #212B2F);
}

.main {
background-color: white;
width: 100vw;
min-height: 90vh;
margin-top: 11vh;
}

.writing {
padding: 50px 15vw;
}

.slider {
padding-left: 25px;
padding-right: 25px;
background: white; 
height: 750px; 
color: black;
line-height: 1.3;

}

.copyright {
position: relative;
width: 90vw;
padding-right: 25px;
margin: 0 auto;
text-align: right;
margin-top: 5vh;
padding-bottom: 4vh;
font-size: 13px;
}


.cat {
font-size: 2em;
text-align: center;
width:100%;
padding-bottom: 30px;}

small {
color: #212B2F;
font-family: "Nunito Sans", sans-serif;
}

.mySlides {display: none}

/* Slideshow container */
.slideshow-container {
  width: 375px;
  position: relative;
  margin: auto;

}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 30px 30px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 30px 0 0 30px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(255,255,255,0.2);
  text-decoration: none;
  color: #212B2F;
}

/* Caption text */
.thumbTitle {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 4pt;
  color: #f2f2f2;
  font-size: 2.5em;
  position: absolute;
  width: 100%;
  text-align: center;
  top: 45%;
  line-height: 1.3;
}

/* Caption text */
.thumbYear {
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  color: #f2f2f2;
  font-size: 4.1em;
  position: absolute;
  width: 100%;
  text-align: center;
  top: 28%;
  line-height: 0.6em;
  letter-spacing: -2px;
}

.sliderDot {
  padding-top: 10px; 
  text-align:center;
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #212B2F;
}

/* Fading animation */
.fadeSlider {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fadeSlider {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fadeSlider {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

img.feature{
width:375px;
height:562px;
object-fit: cover;
 }
 
 img.maakfri, img.maakfri2 {
 width: 33%;}

.thumbnailContainer {
  position: relative;
  text-align: center;
  color: white;
  font-size: 2em;
  font-family: "Nunito Text", sans-serif;
  letter-spacing: 5pt;
  padding: 5px 5px;
}

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


.w3-animate-bottom {
position: relative;
animation: animatebottom 2s;
}
@keyframes animatebottom { 
	from { bottom: -300px; opacity: 0 } to { bottom: 0; opacity: 1 }
}

.w3-animate-opacity { 
animation: opac 4s
}
@keyframes opac {
	from { opacity: 0 } to { opacity: 1 }
}



@media (max-width:361px) {

.intro .logo {
display: block;
width: 250px;
height:auto;
margin: 0 auto;
padding-top: 30vh;
padding-bottom: 0;
}

#subline {
padding-top: 15px;
line-height: 5vh;
padding-bottom: 100px;
font-size: 13px;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 7px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#jumpdown {
font-size: 11px;
letter-spacing: 3px;
}

#jumpdown:hover a i.arrow {
  padding: 8px;
}


#jumpdown:hover a i.new-label:after{
    content: 'SCROLL\00a0 DOWN';
    margin-left: -62px;
}

.navlogo {
width: 250px;
}


.cat {
padding-bottom: 15px ;
}


.slideshow-container {
  max-width: 90vw;
}


img.feature {
width:90vw;
height:90vh;
object-fit: cover;
 }

/* Caption text */
.thumbTitle {
  letter-spacing: 3.5pt;
  font-size: 2.1em;
  width: 100%;
  text-align: center;
  top: 45%;
  line-height: 1.2;
}

/* Caption text */
.thumbYear {
  font-size: 3.4em;
  width: 100%;
  text-align: center;
  top: 28%;
  line-height: 0.6em;
}

.sliderDot {
    position: relative;
    top: -60px;
    text-align: center;
}

.dot {

  background-color: grey;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #fff;
}


.copyright {
margin-top: -10px;
}

}


#ajax-content{width:100%;}



.portfolio-grid{
  width: 980px;
  position:relative;
  margin: 0 auto;
  overflow: hidden;
}

ul
{
margin-left: 0
  padding-left: 0}

li.grid-item-portrait {
  width: 450px;
  position:relative;
  float:left;
list-style-type:none;
    padding: 15px 15px;
}

li.grid-item-thumbnail {
  width: 300px;
  position:relative;
  float:left;
list-style-type:none;
    padding: 15px 15px;
    object-fit: cover;
    font-family: Nunito Sans, sans-serif;
    font-size: 16px;

}

img.thumbnail {
width:300px;
height:450px;
object-fit: cover;

}


li.grid-item-landscape {
  width: 1230px;
  position:relative;
  float:left;
list-style-type:none;
padding: 15px 30px;
}


.portrait {
width: 450px;
}

.landscape {
width: 899px;
}

@media all and (max-width: 1330px) and (min-width: 1180px) {

  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width: 710px !important;
    padding-right: 320px;
  }

  .portfolio-grid {

    width:1068px;

  }
  
  .grid-hover, li.grid-item-portrait, .portrait {
    width: 440px;
      padding: 15px 33px;


  }
  
  li.grid-item-landscape {
  width:940px;
  padding: 15px 204px;

  }
  
.landscape {
width: 659px;
}


}


@media all and (max-width: 1179px) and (min-width: 1024px) {


  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width: 580px !important;
    padding-right: 250px;
  }

  .portfolio-grid {

    width:767px;

  }

  .grid-hover, li.grid-item-portrait, .portrait {
    width:332px;
  }
  
    li.grid-item-landscape {
  width:724px;
  padding: 15px 113px;
  
  }
.landscape {
width: 498px;
}

li.grid-item-thumbnail {
padding: 15px 15px; }

}


@media all and (max-width: 1023px) and (min-width: 769px) {


  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width:630px !important;
    padding-right: 0;
  }

  .portfolio-grid {
    width:663px;
  }

  .grid-hover, li.grid-item-portrait, .portrait {
    width:282px;

  }

  li.grid-item-landscape {
  width:624px;
  padding: 15px 100.5px;

  }
  .landscape {
width: 423px;
}

}



@media all and (max-width: 768px) and (min-width: 320px) {




  /*
  **************************
  Portfolio Grid
  **************************
  */

  #portfolio-sidebar{

    width:310px !important;
    padding-right: 0;
  }

  .portfolio-grid {
    width:90%;
  }

  .grid-hover, li.grid-item-portrait, .portrait {
    width: 90%;
      padding:15px 3%;


  }
  
    li.grid-item-landscape  {
  width: 90%;
  padding:15px 5%;
  }
  
 .landscape {
width: 74vw;

}

.portfolio-grid-thumbnail {
    width:0;
  }

li.grid-item-thumbnail {
width: 96vw;
padding: 30px 0;
}

img.thumbnail{
width: calc(100% - 78px);
height: auto;
}


 img.maakfri {
 width: 100%;
 }
 
 img.maakfri2 {
 width: 0%;
 }
 
}


