/*
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;
  -webkit-backdrop-filter: blur(20px);
          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;
}

.mainmenu > 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;
}

@media screen and (min-width: 940px) {
  .mainmenu .sub-menu {
    display: none;
    padding: 0;
    position: absolute;
    top: 0;
    left: 30%;
    border-left: 1px solid #525252;
    padding-left: 60px;
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    width: 60%;
    gap: 5px 20px;
  }
}
.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;
  background-color: #000;
  opacity: 0.5;
}

/*

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;
}

.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;
}

/* Mobile version */
@media screen and (max-width: 940px) {
  .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;
  }
}
/* End of Mobile *//*# sourceMappingURL=style.css.map */