* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Barlow', 'Arial', sans-serif;
  color: #202020;
  margin: 0;
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Barlow';
	src: url('fonts/Barlow-Light.otf');
}

.uthevet-copy-red {
  color: #b30000;
  font-weight: bold;
}

.bold-prisliste {
  font-weight: bold;
  text-decoration: underline;
}

table {
  margin-bottom: 40px;
  text-align: left;
  font-size: 0.8em;
  width: 100%;
}

iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

td {
  padding: 10px 0;
  border-bottom: 1px solid #c6e0ff;
}

th {
  font-size: 20px;
  color: #2c69b3;
  font-weight: bold;
  border-bottom: 1px solid #2c69b3;
  padding: 20px 0 0;
}

.container {
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #2c69b3;
}

.h1-sitetitle {
  font-size: 36px;
}

h2 {
  font-size: 28px;
  color: #2c69b3;
  text-transform: uppercase;
  text-align: center;
}

h2:after, h3:after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 20%;
    padding-top: 10px;
    border-bottom: 3px solid #c6e0ff;
}

h3 {
  color: #2c69b3;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
}

.h3-behandlinger {
  font-size: 16px;
}

h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #2c69b3;
}

/* Navigation bar */

#inlineblock-menu {
  display: none;
}

nav {
  background: #2c69b3;
  padding: 15px 25px;
  position: fixed;
  width: 100%;
  z-index: 1;
  text-align: left;
  box-shadow: 0 2px 15px #808080;
}

nav ul {
  padding: 0;
  margin: 0;
  margin-top: 3px;
}

nav li {
  display: block;
  margin-left: 20px;
}

nav li a:link, nav li a:visited {
  color: #fff;
  display: block;
  padding: 10px;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 16px;
  background-image: linear-gradient(#fff, #fff);
  background-size: 0;
  background-repeat: no-repeat;
  background-position: left;
  transition: all 0.5s ease-in-out 0s;
}

nav li a:hover, nav li a:active {
  background-size: 200px auto;
  color: #2c69b3;
}

nav .active {
  font-weight: bold;
  border-bottom: 0;
}

nav img {
  width: 120px;
  float: left;
}

/* Hamburgermenu */

.hamburgermenu {
  float: right;
  margin: -17px 0 -20px 0;
  display: block;
  z-index: 20;
}

#hamburgerbutton {
  cursor: pointer;
  font-size: 20px;
  color: #fff;
}

#hamburgerbutton:hover, #hamburgerbutton:active {
  color: #c6e0ff;
}

.hamburgerlinks {
  display: none;
  background-color: #2c69b3;
  position: absolute;
  left: 0;
  top: 60px;
  padding: 25px 10px;
  height: 100vh;
  width: 100%;
}

/* Header */

header {
  margin: 0 0 20px 0;
  padding: 0;
  background: none;
}

.img-on-mobile img {
  margin-top: 50px;
  width: 100%;
}

.welcome-msg {
  position: static;
  top: 0;
  padding: 10px 20px;
}

.welcome-msg-large-text {
  font-size: 30px;
  color: #2c69b3;
  font-weight: bold;
}

.welcome-msg-text {
  font-size: 16px;
}

.welcome-msg-text-red, .welcome-msg-text-red-bold {
  color: #b30000;
  font-size: 14px;
}

.welcome-msg-text-red-bold {
  font-weight: bold;
}

.anchor-move {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.anchor-move2 {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

/* Opening times bar */

.open {
  display: flex;
  width: 90%;
  margin: auto;
  margin-bottom: 50px;
  flex-direction: column;
}

.day {
  text-align: center;
  flex: 1;
  font-size: 16px;
}

.clock {
  font-size: 30px;
  color: #2c69b3;
  margin-bottom: 0;
}

/* Main forsiden */

main {
  margin: 0;
}

.flex-bestilltime, .flex-finnoss, .flex-behan, .flex-nyheter, .flex-omoss {
  gap: 30px;
  display: flex;
  flex-direction: column;
}

.flex-behan {
  margin: 0 20px;
  gap: 0;
}

.flex-nyheter {
  margin: 0 20px;
}

.flex-bestilltime, .flex-finnoss, .flex-omoss {
  margin: 30px 20px 50px;
  border-radius: 20px;
  background-color: #dce7ff;
  padding: 30px 20px 40px;
}

.flex-finnoss {
  margin-top: 50px;
}

.behandlinger-forside, .nyheter, .underside-flex-div, .bestilltime1, .bestilltime2, .finnoss1, .finnoss2, .omoss1, .omoss2 {
  flex: 1;
}

.behandlinger-forside {
  background: linear-gradient(155deg, rgba(220,231,255,1) 0%, rgba(255,255,255,1) 100%);
  border-radius: 20px;
  margin: 5px 0;
  padding: 10px 20px;
}

.bestilltime2 {
  text-align: center;
}

.nyheter-bilde img {
  width: 100%;
  border-radius: 2px;
  margin: 0;
  padding: 0;
}

.uthevet-copy {
  font-size: 18px;
  color: #2c69b3;
  font-weight: bold;
}

.small-copy {
  font-size: 12px;
}

.uthevet-kontakt {
  font-size: 22px;
  font-weight: bold;
  color: #2c69b3;
  margin: 5px;
}

.intro-behandlinger {
  text-align: center;
  margin: 20px;
}

.button-width-adjustment {
  margin: 0 20px;
}

/*Annen navigasjon */

.link-standard a:link, .link-standard a:visited {
  color: #202020;
  text-decoration: none;
}

.link-standard a:hover, .link-standard a:active {
  color: #2c69b3;
}

.flex-behan a:link {
  text-align: center;
  display: block;
}

.button-thatmove a:link, .button-thatmove a:visited {
  text-align: center;
  display: block;
  color: #2c69b3;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #2c69b3;
  margin: 30px 0;
  padding: 10px 15px;
}

.button-thatmove a:hover, .button-thatmove a:active {
  background-color: #2c69b3;
  color: #fff;
}

.button-thatmove span {
   position: relative;
   transition: 0.2s;
 }

 .button-thatmove span:after {
   content: '\203A';
   position: absolute;
   opacity: 0;
   transition: 0.2s;
 }

 .button-thatmove a:hover span, .button-thatmove a:active span {
   padding-right: 15px;
 }

 .button-thatmove a:hover span:after, .button-thatmove a:active span:after {
   opacity: 1;
   right: 0;
 }

 .bestilltime2 a:link, .open a:link, .bestilltime2 a:visited, .open a:visited {
   text-decoration: none;
   color: #2c69b3;
 }

 .bestilltime2 a:hover, .open a:hover, .bestilltime2 a:active, .open a:active  {
   color: #293694;
 }

footer a:link, footer a:visited {
  color: #fff;
  text-decoration: none;
}

footer a:hover, footer a:active {
  color: #c6e0ff;
}

/* Undersider */

.pris {
  text-align: right;
}

.underside-h1-margin {
  margin: 20px;
}

.header-underside img, .header-underside-storskjerm img {
  width: 100%;
  margin-top: 50px;
}

.flex-medarbeidere1, .flex-medarbeidere2, .flex-prisliste, .underside-flex {
  display: flex;
  padding: 20px;
  flex-direction: column;
}

.underside-flex {
  gap: 30px;
}

.underside-flex-div img {
  width: 100%;
}

.flex-medarbeider2, .flex-prisliste {
  margin-bottom: 50px;
}

.medarbeider, .priser {
  text-align: center;
  flex: 1;
  margin: 0 30px;
}

.medarbeider {
  min-width: 280px;
}

.medarbeider img {
  border-radius: 50%;
  width: 200px;
  border: 5px solid #c6e0ff;
}

.arbtittel {
  margin-top: -15px;
  margin-bottom: 25px;
}

.behandlinger {
  margin: 20px;
}

.behandlinger img {
  width: 100%;
}

.header-behandlinger {
  height: 70px;
}

.header-underside-storskjerm {
  display: none;
}

.create-space {
  margin-bottom: 30px;
}

/* Collapse behandlinger */

.collapsible {
  background-color: #dce7ff;
  cursor: pointer;
  padding: 20px;
  width: 100%;
  border: none;
  font-family: 'Barlow', 'Arial', sans-serif;
  color: #202020;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: bold;
}

.content {
  padding: 20px 0;
  display: none;
  overflow: hidden;
}

.collapsible:after {
  content: '\02795';
  font-size: 12px;
  float: right;
  margin-left: 5px;
}

.collapsible.active:after {
  content: "\2796";
}

/* Footer */

.sosiale-medier img {
  height: 40px;
  padding: 0 10px;
}

footer {
  background-color: #2c69b3;
  margin: 50px 0 0;
  color: #fff;
  padding: 40px 20px 20px 20px;
}

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

.footer1, .footer2, .footer3 {
  flex: 1;
}

.footer3 {
  text-align: center;
}

.webansvarlig, .copyright {
  text-align: center;
}

.copyright {
  margin-bottom: 0;
  margin-top: 40px;
}

.webansvarlig {
  margin-top: 0;
  margin-bottom: 30px;
}

.boldtext {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.boldtext:after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 100%;
  padding-top: 5px;
  border-bottom: 1px solid #c6e0ff;
}

/* Media queries */

@media only screen and (min-width: 600px) {

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
  }

  table {
    font-size: 0.9em;
  }

  .behandlinger img {
    width: 350px;
    float: right;
    padding-left: 20px;
  }
}

@media only screen and (min-width: 900px) {

  .flex-bestilltime, .flex-finnoss, .flex-omoss, .flex-behan, .flex-nyheter, .underside-flex, .footerflex, .open {
    flex-direction: row;
  }

  .flex-behan {
    gap: 20px;
  }

  .open {
    width: 70%;
  }
  
  .clock {
    font-size: 60px;
  }

  .bestilltime2 {
    margin-top: 130px;
  }

  .header-underside img {
    margin-top: 20px;
  }

  .flex-medarbeidere1, .flex-medarbeidere2, .flex-prisliste {
    flex-wrap: wrap;
    flex-direction: row;
    padding: 40px 100px;
  }

  .bestilltime1, .bestilltime2, .finnoss1, .finnoss2, .omoss1, .omoss2 {
    padding: 0 40px;
  }

  table {
    font-size: 1em;
  }

  .uthevet-kontakt {
    font-size: 30px;
  }

  .header-behandlinger {
    height: 100px;
  }
}

@media only screen and (min-width: 1200px) {

  header {
    margin: 0;
    background-image: url('images/raaholt.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    height: 700px;
  }
  
  .welcome-msg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
    position: absolute;
    top: 100px;
    right: 30px;
    width: 450px;
    border-bottom: 5px solid #2c69b3;
    height: 550px;
  }

  .welcome-msg-large-text {
    font-size: 34px;
  }

  .h1-sitetitle {
    font-size: 40px;
  }

  .img-on-mobile {
    display: none;
  }

  .hamburgermenu {
    display: none;
  }

  #inlineblock-menu {
    display: block;
  }

  nav {
    text-align: right;
    box-shadow: 0 2px 15px #808080;
  }
  
  nav li {
    display: inline-block;
    margin-left: 15px;
  }

  nav li a:link, nav li a:visited {
    font-size: 14px;
    background-position: center;
  }

  nav .active {
    border-bottom: 1px solid #fff;
  }
  
  nav img {
    width: 170px;
  }

  .container, .underside-flex {
    padding: 0 100px;
  }

  .flex-behan, .behandlinger, .flex-nyheter {
    padding: 0 80px;
  }

  .flex-bestilltime, .flex-finnoss, .flex-omoss {
    margin: 30px 100px 50px;
  }

  .flex-finnoss {
    margin-top: 50px;
  }

  .underside-h1-margin {
    margin: 20px 100px;
  }

  .button-width-adjustment {
    margin: 0 100px;
  }

  .header-underside-storskjerm {
    display: block;
  }

  .underside-header-behan {
    display: none;
  }
}

@media only screen and (min-width: 1500px) {

  .welcome-msg-text {
    font-size: 18px;
  }

  header {
    height: 800px;
  }
  
  .welcome-msg {
    height: 650px;
  }
}

@media only screen and (min-width: 2000px) {
  header {
    height: 900px;
  }
  
  .welcome-msg {
    height: 750px;
  }
}