/* assets/fonts */
@font-face {
  font-family: "Apercu";
  src: url('../assets/fonts/apercu/apercu_regular_pro.otf');
}

@font-face {
  font-family: "Neutraface";
  src: url('../assets/fonts/NeutraText-BookAlt.ttf');
}


/* BODY */
body {
  font-family: "Apercu";
  margin: 0 auto;
  min-height: 100%;
}


/* TOP */
#top {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
}

.webp #top {
  background-image: url("../assets/images/naeroyfjordbg.webp");
}
.no-webp #top {
  background-image: url("../assets/images/naeroyfjordbg.jpg");
}

#topcontent {
  text-align: center;
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

h1 {
  font-family: "Vollkorn";
  color: black;
  font-size: 60px;
  margin-bottom: 10px;
  animation: fadeIn 3s;
}

#topcontent p {
  color: black;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 5px;
}


/* MIDDLE */
.middle {
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
}

.middle h1 {
  font-family: "Neutraface", Helvetica, Arial, sans-serif;
  color: #314c4d;
  line-height: 2px;
  font-size: 3.5em;
  font-weight: 600;
  display: inline-block;
  animation: none;
  margin-top: 1.5em;
  margin-bottom: 30px;
}

.first {
  font-size: 18px;
}

#first {
  max-width: 700px;
  line-height: 1.5em;
  float: left;
  margin-left: 5px;
  color: #575757;
  letter-spacing: 0.1px;
  height: 115vh;
  min-height: 830px
}

ul {
  margin: 0.1;
}

#map {
  float: right;
  margin-top: 100px;
  margin-right: 20px;
}


#second {
  text-align: center;
  color: #575757;
  clear: both;
  letter-spacing: 1px;
  padding-top: 25px;
  height: 80vh;
  min-height: 200px;
}

#second img:not(.largeimg){
  height: 200px;
  padding: 10px 5px;
}

#second img:hover {
  opacity: 0.85;
}

.largeimg {
  height: 270px;
}


#third {
  clear: both;
  text-align: center;
  color: #575757;
  letter-spacing: 1px;
  margin: 130px;
  margin-bottom: 0;
  height: 100%;
  padding-top: 30px;
}

table, th, td {
  font-family: "Lato";
  border: 2px solid black;
  border-collapse: collapse;
  padding: 10px;
  margin: auto;
}

#details {
  max-width: 500px;
}

#pricings {
  max-width: 80px;
}

tbody tr:hover {
  background-color: #fff8fa;
}

tbody {
  text-align: left;
}


/* LAST */
#last {
  padding-top: 50px;
  margin-bottom: 0;
  text-align: center;
}

.largerp {
  font-size: 1.2em;
}


.btn {
  /* border-radius: 6px; */
  font-size: 0.95em;
  margin-top: 10px;
  padding: 15px 25px;
  border: 2px solid #002B54;
  color: #002B54;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
}

.btn:hover {
  transition: all 0.3s;
  background-color: #002B54;
  color: #fff;
  font-weight: 100;
}

#cta {
  /* border: 2px solid #dd3232;
  color: #dd3232; */
  border: 2px solid #ac2626;
  color: #ac2626;
  padding: 15px 40px;
}

#cta a {
  text-decoration: none;
  color: inherit;
}

#cta:hover {
  transition: all 0.3s;
  /* background-color: #dd3232; */
  background-color: #ac2626;
  color: #fff;
  font-weight: 100;
}

hr {
  max-width: 500px;
}


/* SUBSCRIPTION FORM */
#modal_wrapper.overlay::before {
  content: " ";
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.8;
  color: #fff;
}

#modal_window {
  display: none;
  z-index: 200;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 500px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}

body.noScroll { /* ...or body.dialogShowing */
overflow: hidden;
}

#modal_wrapper.overlay #modal_window {
display: block;
}

.btnClose {
  text-decoration: none;
  color: black;
  font-size: 1.6em;
}

#rightAlign {
  text-align: right;
  padding-right: 15px;
  padding-top: 10px;
  width: 100%;
}

#modal_window h2 {
  margin-bottom: 0;
}


input:first-child {
  margin-top: 10px;
}

input, select {
  height: 30px;
  font-size: 1em;
  width: 300px;
  border: none;
  padding: 10px 0;
  padding-bottom: 0px;
  border-bottom: solid 1px #003049;
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #003049 4%);
  background-position: -310px 0;
  background-size: 310px 100%;
  background-repeat: no-repeat;
  color: #333;
  margin: 0;
}

input:focus, input:valid, select:focus, select:valid {
  box-shadow: none;
  outline: none;
  background-position: 0 0;
}

input:focus::-webkit-input-placeholder, input:valid::-webkit-input-placeholder {
  color: #003049;
  font-size: 0.85em;
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  visibility: visible !important;
}

input[name="luckyDrawForm"] {
  background-color: #003049;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
}

input[name="luckyDrawForm"]:hover {
  opacity: 0.8;
}

select {
  margin-top: 15px;
  margin-left: 5px;
}

input:-webkit-autofill {
  animation-name: autofill;
  animation-fill-mode: both;
}


/* KEYFRAMES */
@keyframes fadeIn {
  from {
      opacity: 0;
  }

  to {
      opacity: 1;
  }
}

@keyframes autofill {
  to {
    background: transparent;
  }
}


@media assets/images only screen and (max-width: 600px){
  img {
    height: auto;
    max-width: 230px;
    width: 100%;
  }
  table {
    max-width: 100%;
    float: left;
  }
}
