/*
Theme Name: Stadnamnfunn Custom
Theme URI: http://localhost
Description: Custom template for Stadnamnfunn
Author: Robert Pentha
Author URI: http://www.studiopentha.com
*/
*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  margin: 0;
  padding: 0;
  height: 100vh;
}

body {
  font-family: "Caladea", serif;
  font-size: 20px;
  line-height: 30px;
  -ms-font-feature-settings: "liga", "kern";
  -o-font-feature-settings: "liga", "kern";
  font-feature-settings: "liga", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  color: #444;
  overflow-x: hidden;
  background-color: #fef5e7;
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

p, h2, h3, h4, h5 {
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

h2 {
  font-weight: 500;
  font-size: 1.6em;
  line-height: 1em;
  margin: 0 auto 1em;
}

h3 {
  font-size: 22px;
  line-height: 30px;
}

html :where(.wp-block) {
  margin-bottom: 28px;
  margin-top: 28px;
  max-width: 1320px;
}

.sectionheader {
  width: 100%;
  position: relative;
  margin-bottom: 90px;
  min-height: 30px;
}

figcaption.wp-element-caption {
  font-size: 0.8em;
  margin: -10px 0 50px;
  line-height: 1.2em;
}

ol.wp-block-footnotes {
  padding: 0 0 0 16px;
  font-size: 14px;
}

sup.fn a {
  font-weight: 800;
  padding: 0 5px;
  color: #0076ff;
}

/* Nav Styles */
.mainlogo {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 210px;
  top: 35px;
  z-index: 9950;
}

section {
  position: relative;
}

nav {
  z-index: 9999;
  position: relative;
}

.mainburger {
  position: absolute;
  right: 80px;
  top: 30px;
  width: 41px;
  height: 41px;
  z-index: 9800;
  cursor: pointer;
}

.mainburger::after {
  content: "";
  position: absolute;
  width: 139px;
  height: 39px;
  background-color: black;
  left: -82px;
  opacity: 0;
}

.mainburger div {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #FFF;
  left: 0;
}

.home .mainburger div {
  background-color: #FFF;
}

.burgerline1 {
  top: 12px;
}

.burgerline2 {
  top: 19px;
}

.burgerline3 {
  top: 26px;
}

/* NAV */
.mainmenu {
  position: absolute;
  right: 0;
  width: 100%;
  max-width: 0px;
  background-color: rgba(49, 49, 49, 0.8);
  height: 100vh;
  overflow: hidden;
  overflow-y: auto;
  z-index: 9700;
  backdrop-filter: blur(20px);
}

ul#menu-hoved-meny {
  position: absolute;
  width: calc(100% - 160px);
  left: 80px;
  top: 200px;
}

.mainmenu > ul > li {
  margin-bottom: 15px;
  list-style: none;
}

.mainmenu ul li ul li {
  margin-bottom: 4px;
  list-style: none;
}

.mainmenu > ul > li > a {
  text-transform: uppercase;
  color: #F5F5F5;
  text-decoration: none;
  font-size: clamp(20px, 3vw, 120px);
  font-family: "Caladea", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1em;
  max-width: 30%;
  display: inline-block;
}

.mainmenu > ul > li > ul > li > a,
.mainmenu > ul > li > ul > li > ul > li > a {
  font-family: "Caladea", serif;
  font-weight: 400;
  font-style: normal;
  color: #F5F5F5;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.1em;
  display: inline-block;
  text-transform: uppercase;
}

ul#menu-main-menu {
  position: absolute;
  right: 80px;
  text-align: right;
  top: 166px;
  padding-bottom: 80px;
}

.mainmenu .sub-menu {
  display: none;
  position: relative;
  padding: 27px 0 10px;
}

.sub-menu2 {
  display: none;
  position: relative;
  padding: 27px 0 10px;
}

@media screen and (min-width: 940px) {
  .mainmenu .sub-menu {
    display: none;
    padding: 0;
    position: sticky;
    top: -13px;
    margin-top: 0px;
    left: 30%;
    /* border-left: 1px solid #525252; */
    padding-left: 60px;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    width: 60%;
    gap: 5px 20px;
  }
  .mainmenu .sub-menu::before {
    content: "";
    position: absolute;
    left: -10%;
    width: 110%;
    height: 1px;
    background-color: #555555;
    /* padding-top: 20px; */
    top: -15px;
    /* padding-top: 10px; */
  }
}
.mainmenu > ul > li.thinblueline {
  width: 42px;
  height: 1px;
  display: inline-block;
  margin-right: 0px;
  background-color: #5DC7E5;
  position: relative;
  margin: 30px 0 50px;
}

.thinblueline a {
  display: none;
}

.mainmenu ul li.primarymenubt a {
  padding: 10px 40px;
  background-color: #127996;
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
  opacity: 1 !important;
}

.mainmenu > ul > li.secondarymenubt {
  margin-bottom: 20px;
}

.mainmenu ul li.secondarymenubt a {
  padding: 10px 40px;
  border: 1px solid #127996;
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  border-radius: 10px;
  opacity: 1 !important;
}

.bigcoverone {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 9999;
  top: 0;
  left: 0;
}

img.searchicon {
  position: absolute;
  width: 24px;
  top: 36px;
  left: 80px;
  z-index: 9950;
}

/* Full Image */
.fullscreen {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Hero styling */
.homehero {
  position: relative;
  width: 100%;
  height: 100dvh;
  height: 100vh;
  overflow: hidden;
}

.topcover {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  opacity: 0.83;
  background: linear-gradient(90deg, #000 0.91%, rgba(0, 0, 0, 0) 74.82%);
}

.topcover2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  opacity: 0.41;
  background: linear-gradient(182deg, #000 -5.92%, rgba(0, 0, 0, 0) 18.62%);
}

.herotext {
  position: absolute;
  bottom: 60px;
  /* left: 80px; */
  color: white;
  text-align: left;
  width: 100%;
  padding: 0 80px;
  z-index: 7;
  max-width: 700px;
}

.herotext h1 {
  color: #FFF;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 66px */
  text-align: left;
  text-transform: none;
}

/*

Indy PAges

*/
.topthing {
  position: relative;
  width: 100%;
  height: 100px;
  background-color: #0089cc;
}

.maincontentsingle {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 80px auto;
  padding: 0 20px;
}

.single-galleri .maincontentsingle {
  max-width: 1240px;
  margin: 80px auto;
}

.maincontentsingle p img {
  margin-top: 20px;
}

.seperater div {
  width: 50px;
  height: 8px;
  border-top: 1px solid #826363;
  border-bottom: 4px solid #826363;
}

.seperater {
  position: relative;
  width: 100%;
  height: 5px;
  margin-bottom: 40px;
  display: grid;
  place-content: center;
}

.showtext {
  position: absolute;
  color: white;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  top: 34px;
  right: 132px;
}

/*


Footter 

*/
footer {
  position: relative;
  width: 100%;
  border-top: 1px solid #ccc;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #444;
}

/*

Search

*/
.innerplain2 {
  display: grid;
  gap: 40px;
  grid-template-columns: 40% 1fr 1fr;
  border-bottom: 1px solid #111;
  padding-bottom: 20px;
  padding-top: 40px;
}

input {
  padding: 15px 30px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  color: #111;
}

.innerplain2 p {
  margin-bottom: 5px;
}

.searchcontent a {
  color: #111;
}

.searchcontent h3 {
  text-transform: uppercase;
}

.paginationholder a {
  color: #111;
}

.searchbox {
  position: absolute;
  top: 15px;
  left: 49px;
  z-index: 9999;
  background-color: #008acc;
  padding: 10px 30px;
  display: none;
}

.home .searchbox {
  background-color: transparent;
}

.searchcontent strong {
  color: #0089cc;
}

.searchcontent {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.hometext {
  position: absolute;
  z-index: 7;
  color: white;
  bottom: 40px;
  right: 80px;
  font-size: 16px;
  color: #ccc;
}

.innermaincontent {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 1080px;
  padding: 80px 20px;
}

p.wp-caption-text {
  font-size: 14px;
  margin: -30px 0 20px;
}

.gallerione {
  position: relative;
  width: 100%;
}

.gallery-item {
  position: relative;
  width: calc(33.333% - 10px);
  cursor: pointer;
  margin-top: 10px;
  background-color: black;
}

.gallery-item img {
  position: absolute;
}

.gallery-item p {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  text-align: center;
  line-height: 19px;
  margin: 0;
  padding: 0;
  color: white;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 940px) {
  .gallery-item:hover p {
    opacity: 1;
  }
  .gallery-item:hover img {
    opacity: 0.3;
  }
}
.sliderholder {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  visibility: hidden;
}

.closebutton {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 20px;
  right: 20px;
  z-index: 10;
  background-image: url(svg/closebutton-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.innermainslide {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
}

.theslide {
  width: 70%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

.sliderimage img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  height: 60vh;
  position: relative;
  display: block;
  margin-bottom: 20px;
}

.slidercaption {
  width: 100%;
  text-align: center;
  color: white;
}

.slidercaption p {
  font-size: 16px;
}

button.flickity-button {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  /* border-radius: 50%; */
  /* padding: 20px; */
}

.next {
  right: 20px;
  left: auto;
}

.previous {
  left: 20px;
}

svg.flickity-button-icon {
  fill: white;
}

.sliderholder [disabled] {
  opacity: 0.3;
}

/* Style for gallery with tabs */
.thetabs {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.thetabs ul {
  list-style: none;
}

.thetabs li {
  display: inline;
}

.thetabs a {
  padding: 8px 10px;
  border: 1px solid #717404;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  color: #717404;
}

.thetabs a:hover {
  background-color: #717404;
  color: white;
}

.thetabs a.activeone,
.thetabs a.activetwo {
  background-color: #717404;
  color: white;
}

.alphabet_section h2 {
  text-transform: uppercase;
  font-size: 48px;
}

.alphabet_section {
  margin-bottom: 80px;
}

.fotnote p {
  font-size: 14px;
  line-height: 14px;
}

.alfamenu {
  text-align: left;
  margin: 120px 0 40px;
  background-color: #0089cc;
  padding: 10px 20px 5px;
  /* color: white; */
  border-radius: 5px;
}

.alfamenu ul {
  list-style: none;
}

.alfamenu li {
  display: inline-block;
}

.alfamenu a {
  font-size: 20px;
  color: #fff;
  margin-right: 10px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mainmenu > ul > li > ul.sub-menu2 > li > a {
  font-size: 18px;
}

/* Mobile version */
@media screen and (max-width: 940px) {
  .mainmenu > ul > li > ul > li > ul > li > a {
    padding-left: 20px;
  }
  .mainmenu > ul > li > ul.sub-menu2 > li > a {
    font-size: 18px;
  }
  .mainmenu > ul > li > a {
    font-size: 30px;
    max-width: 100%;
  }
  .herotext {
    bottom: 80px;
    padding: 0 25px;
  }
  .herotext h1 {
    font-size: 40px;
  }
  .topcover {
    opacity: 0.83;
    background: linear-gradient(0deg, #000 9.48%, rgba(0, 0, 0, 0) 69.2%);
  }
  .searchbox {
    left: 0px;
  }
  .mainburger::after {
    display: none;
  }
  body {
    font-size: 16px;
    line-height: 24px;
  }
  .mainlogo {
    width: 160px;
    top: 39px;
  }
  img.searchicon {
    left: 30px;
  }
  .mainburger {
    right: 30px;
  }
  .showtext {
    display: none;
  }
  ul#menu-hoved-meny {
    left: 30px;
    top: 160px;
  }
  .gallery-item {
    width: calc(50% - 8px);
  }
  .theslide {
    width: 80%;
    height: 40vh;
    position: relative;
    overflow: hidden;
  }
  .sliderimage img {
    height: 30vh;
    margin-bottom: 20px;
  }
}
/* End of Mobile *//*# sourceMappingURL=style.css.map */