@charset "UTF-8";
@font-face {
  font-family: "Roboto";
  font-weight: normal;
  font-style: normal;
  src: url(../fonts/Roboto-Regular.ttf);
}
@font-face {
  font-family: "Roboto";
  font-weight: normal;
  font-style: italic;
  src: url(../fonts/Roboto-Italic.ttf);
}
@font-face {
  font-family: "Roboto";
  font-weight: 500;
  font-style: normal;
  src: url(../fonts/Roboto-Medium.ttf);
}
@font-face {
  font-family: "Roboto";
  font-weight: 500;
  font-style: italic;
  src: url(../fonts/Roboto-MediumItalic.ttf);
}
@font-face {
  font-family: "Roboto";
  font-weight: bold;
  font-style: normal;
  src: url(../fonts/Roboto-Bold.ttf);
}
@font-face {
  font-family: "Roboto";
  font-weight: bold;
  font-style: italic;
  src: url(../fonts/Roboto-BoldItalic.ttf);
}
/*----- Variables -----------------------*/
/*-------- Mixins ------------------------------*/
/*-------- Default --------------------*/
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  font: -apple-system-body !important;
  font-family: "Roboto", sans-serif;
  font-size: 1em;
  height: 100%;
  line-height: 1.3;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 500;
}

p, ul, ol {
  margin: 0 0 1em 0;
}

ul, ol {
  padding-left: 1.1em;
}

a {
  color: #226d7f;
}

svg|title {
  pointer-events: none;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

/*--------- Shared classes ----------------*/
.btn-primary {
  background-color: #226d7f;
  border-radius: 4px;
  color: #00ffcc;
  cursor: pointer;
  display: inline-block;
  float: right;
  font-size: 90%;
  font-weight: 500;
  line-height: 24px;
  margin-right: 10px;
  margin-top: 5px;
  min-width: 20px;
  padding: 3px 13px;
  text-align: center;
  font-size: 1em;
  font-weight: 700;
  margin-right: 0;
  padding: 0.7em 2em;
  width: auto;
}
.btn-primary:hover {
  background-color: #1a525f;
}

.blockingLayer {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
}

.loadIndicator {
  position: absolute;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  width: 100px;
  height: 100px;
  -webkit-animation: rotate 0.6s linear infinite;
  -moz-animation: rotate 0.6s linear infinite;
  -ms-animation: rotate 0.6s linear infinite;
  -o-animation: rotate 0.6s linear infinite;
  animation: rotate 0.6s linear infinite;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border-top: 14px solid #09788b;
  border-bottom: 14px solid #d4d4db;
  border-left: 14px solid #09788b;
  border-right: 14px solid #d4d4db;
  content: "";
  opacity: 0.6;
}

.close-btn {
  background-image: url(../images/leser_ikoner/leser_ikoner_lukk-smal.svg);
  width: 30px;
  height: 30px;
  position: absolute;
  background-position: center center;
  background-size: 26px 26px;
  background-repeat: no-repeat;
  border: 0;
  opacity: 0.6;
  top: 0.5em;
  right: 0.5em;
  display: block;
  cursor: pointer;
}

.article-view h1 {
  margin-bottom: 1em;
}
.article-view h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
.article-view h3 {
  margin-top: 1em;
  margin-bottom: 0.25em;
}

/*------ UTILITIES --------------------------*/
.hidden {
  display: none !important;
}

.no-margin {
  margin: 0 !important;
}

.visually-hidden {
  /* Tilgjengelig for skjermlesere */
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  /* legacy browsers */
  clip-path: inset(50%);
  /* modern browsers */
  white-space: nowrap;
  /* to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space) */
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  background-color: #f1f1f1;
  font-family: "Roboto", helvetica, Arial, sans-serif;
  margin: 0;
}

body.katalog {
  background: url(/images/body_bg.png) repeat-x #E4E5E6;
}

a img {
  border: 0;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 500;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
  margin-bottom: 0.2em;
}

h5 {
  font-size: 1em;
  margin-bottom: 0;
  margin-top: 0;
}

p, li {
  font-size: 1.4em;
}

ul {
  padding-left: 16px;
}

p, ul, li {
  color: #777777;
  line-height: 1.5em;
}

strong {
  color: #333333;
}

.container {
  width: 100%;
  padding: 0;
}

.toppbar {
  background-color: #2d2f31;
  height: 20px;
  width: 100%;
  color: #fff;
  font-size: 12px;
}

.navbar {
  -moz-box-sizing: border-box;
  background-color: #09788b;
  min-height: 70px;
  padding: 0;
  width: auto;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}

.navbar-brand {
  float: left;
  font-size: 18px;
  line-height: 20px;
  padding: 0;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
  color: #ffffff;
}

.container-fluid {
  background-image: url("../images/header_bg.png");
  background-position: left top;
  background-repeat: no-repeat;
  min-height: 70px;
  margin: 0 auto;
  max-width: 960px;
  width: 96%;
  padding: 0;
  position: relative;
}

.navbar-header a {
  height: 70px;
  display: block;
}

.navbar-header img {
  float: left;
  height: 33px;
  margin-top: 1.2em;
  width: 176px;
}

.logotekst {
  /* Skjule visuelt uten å skjule for leseren */
  display: block;
  text-indent: -9999px;
}

.searchbar-text label.innledning {
  font-weight: bold;
}

.searchbar-header {
  display: none;
}

.katalog .searchbar-header {
  display: block;
}

.container-fluid-search,
.hovedinnhold {
  max-width: 960px;
  width: 96%;
  margin: 0 auto;
  float: none;
}

.hovedinnhold {
  margin-top: 40px;
}

.navbar-btn {
  margin-bottom: 0;
  margin-top: 0;
}

.bunnmenyCont {
  width: 100%;
  height: 50px;
  background-color: #2D2F31;
  margin-top: 30px;
}

.bunnmenyelementCont {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding-top: 16px;
}

.bunnmenyCont li {
  display: inline-block;
  margin-right: 20px;
}

.bunnmenyelementer {
  list-style: none outside none;
  float: left;
}

.bunnmenyCont li a {
  color: #ffffff;
}

.bunnmenylogoCont {
  float: right;
}

#asch_logo {
  margin-top: -8px;
}

label {
  display: inline-block;
  font-weight: normal;
  margin-bottom: 5px;
}

/* spesialstling for samtykkesiden -------------------------------------------- */
.samtykkefelt {
  background-color: #eff0f2;
  padding: 5%;
  margin-bottom: 12px;
}

.samtykkefelt p {
  margin: 0 0 0.5em 0;
}

.samtykkefelt input.btn {
  background-color: #e64442;
  width: 80%;
  height: 40px;
  border-radius: 4px;
  box-shadow: none;
  outline: none;
  border: 0;
  color: #FFFFFF;
  font-size: 1.4em;
  margin-top: 0.5em;
}

.samtykkefelt.error {
  background-color: #FEE4E4;
  color: #000000;
}

.samtykkefelt input.btn.disabled {
  -webkit-opacity: 1;
  background-color: #3B870A;
  background-image: url(/images/samtykke_hake.png);
  background-repeat: no-repeat;
  background-position: 18% 50%;
}

.samtykkefelt input.btn:hover {
  background-color: #a62524;
}

.samtykkefelt input.btn.disabled:hover {
  background-color: #3B870A;
}

input.btn.ga-til-unibok, input.btn.avbryt {
  width: auto;
  height: 30px;
  border-radius: 4px;
  box-shadow: none;
  outline: none;
  border: 0;
  color: #FFFFFF;
  font-size: 12px;
  float: right;
  margin-left: 5px;
}

input.btn.ga-til-unibok {
  background-color: #09788b;
}

input.btn.avbryt {
  background-color: #2D2F31;
}

input.btn.ga-til-unibok:hover {
  background-color: #0f5c6a;
}

input.btn.avbryt:hover {
  background-color: #131415;
}

.unibok h3,
.aschehoug h3,
.cappelen h3 {
  width: 150px;
  height: 40px;
  text-indent: -9999px;
  background-repeat: no-repeat;
  margin-bottom: 0;
}

.unibok h3 {
  background-image: url("/images/samtykke_uniboklogo.png");
  background-position: 0 5px;
}

.aschehoug h3 {
  background-image: url("/images/samtykke_aschehouglogo.png");
}

.cappelen h3 {
  background-image: url("/images/samtykke_cappelenlogo.png");
  background-position: 0 10px;
}

.unibok input,
.unibok label {
  float: left;
}

.unibok label {
  width: 70%;
  margin-left: 3%;
}

/* Custom checkboxes*/
p input[type=radio],
p input[type=checkbox] {
  opacity: 0;
  cursor: pointer;
  float: left;
  height: 16px;
  left: 16px;
  position: absolute;
  top: 10px;
  width: 80%;
}

p input[type=radio] + label,
p input[type=checkbox] + label {
  margin: 0;
  clear: none;
  padding: 20px 0 0px 20px;
  margin-top: -25px;
  cursor: pointer;
  background: url(/images/check_off.png) left center no-repeat;
}

p input[type=radio]:checked + label {
  background-image: url(radio.png);
}

p input[type=checkbox]:checked + label {
  background-image: url(/images/check_on.png);
}

/* 768 ----------------------------------------------------- */
@media (min-width: 768px) {
  .col-md-4 {
    width: 50%;
    margin-top: 0;
    float: left;
  }

  .col-md-8 {
    width: 50%;
    float: right;
  }

  .enspalte .col-md-8 {
    width: 100%;
    float: left;
  }

  #samtykkefeltCont {
    padding-right: 10%;
  }

  .hovedinnhold {
    padding: 0;
  }
}
/* 960 ----------------------------------------------------- */
@media (min-width: 960px) {
  .col-md-4 {
    width: 33.3333%;
  }

  .col-md-8 {
    width: 66.6667%;
  }

  .enspalte .col-md-8 {
    width: 66.6667%;
    float: left;
  }

  #samtykkefeltCont {
    padding-right: 10%;
  }

  .hovedinnhold {
    padding: 0;
  }
}
/* login redesign ----------------------------------------------*/
a {
  color: #226d7f;
}

.topbar {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media all and (min-width: 70em) {
  .topbar {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media all and (min-width: 96em) {
  .topbar {
    padding-left: calc((100% - 1400px) / 2);
    padding-right: calc((100% - 1400px) / 2);
  }
}

.logo {
  flex: 0 1 230px;
  margin: 10px 10px 10px 0;
}

.btn-close {
  flex: 0 1 40px;
  padding: 15px 0 0 15px;
}

.main-cont {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media all and (min-width: 70em) {
  .main-cont {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media all and (min-width: 96em) {
  .main-cont {
    padding-left: calc((100% - 1400px) / 2);
    padding-right: calc((100% - 1400px) / 2);
  }
}

.login-cont {
  max-width: 34em;
  margin: 0 auto;
  padding: 60px 0;
}

.login-header {
  text-align: center;
}

.login-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5em;
  margin-top: 6em;
}

.btn-login {
  background-color: #226d7f;
  border-radius: 4px;
  color: #fff;
  flex: 0 1 48%;
  font-size: 1.75em;
  padding: 1rem 1rem 3rem;
  text-decoration: none;
}

.btn-login:hover {
  background-color: #287F94;
}

.login-feide {
  background-color: #990000;
  background-image: url(../images/feidelogo.svg);
  background-position: 80% center;
  background-repeat: no-repeat;
  background-size: 50%;
}

.login-feide:hover {
  background-color: #B30000;
}

.login-buttons-publisher {
  display: none;
  padding-top: 2em;
  position: relative;
  text-align: center;
}

.login-aco, .login-cdu {
  background-position: center center;
  background-repeat: no-repeat;
  height: 4em;
}

.login-aco {
  background-image: url(../images/aschehoug_undervisning_logo_hvit.svg);
  background-size: 70%;
}

.login-cdu {
  background-image: url(../images/cappelendammlogo_hvit.svg);
  background-size: 80%;
}

.login-help {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-helplink {
  display: inline-block;
  font-size: 1.25em;
  line-height: 2;
  padding-left: 2.5em;
  position: relative;
}

.login-helplink:before {
  background-image: url(../images/icons/questionmark.svg);
  background-size: contain;
  content: "";
  height: 2em;
  position: absolute;
  left: 0;
  width: 2em;
}

.login-helptext {
  display: none;
}

.login-publisher-info {
  display: inline-block;
  line-height: 2;
  padding-left: 2.5em;
  position: relative;
}

.login-publisher-info:before {
  background-image: url(../images/icons/exclamationmark.svg);
  background-size: contain;
  content: "";
  height: 2em;
  position: absolute;
  left: 0;
  width: 2em;
}

.loginButton {
  margin-top: 30px;
  margin-left: 20px;
  padding: 3px;
  width: 270px;
  height: 50px;
  background-color: #9EC9D0;
  cursor: pointer;
}

.loginButton:hover {
  background-color: #afdae2;
}

.loginButton .loginLabel {
  font-size: 1.4em;
  color: black;
  padding-left: 15px;
  line-height: 50px;
  text-decoration: none;
}

.loginButton .arrow {
  position: relative;
  float: right;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 15px;
  background-image: url(../images/arrow.png);
}

.loginForm {
  margin-top: 30px;
  margin-left: 20px;
  padding: 3px;
  width: 270px;
  height: 120px;
  background-color: #9EC9D0;
}

input {
  float: right;
  margin-right: 10px;
}

.formbtn {
  margin: 10px;
  border: 1px solid black;
}

.feilmelding {
  color: red;
}

.bunnmeny {
  background-color: #333;
  display: flex;
  justify-content: flex-end;
  padding-top: 1em;
  padding-bottom: 0.5em;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media all and (min-width: 70em) {
  .bunnmeny {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media all and (min-width: 96em) {
  .bunnmeny {
    padding-left: calc((100% - 1400px) / 2);
    padding-right: calc((100% - 1400px) / 2);
  }
}

.bunnmenyimgCont {
  margin-left: 1.5em;
}