/* ### START: Reset browser specific styling ### */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* ### HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* ### Font definistions: Fira Sans */

@font-face {
  src: url("../fonts/Firava.woff2") format("woff2-variations");
  font-display: swap;
  font-family: 'firava';
  font-weight: 100 900;
}

@font-face {
  src: url("../fonts/FiravaItalic.woff2") format("woff2-variations");
  font-display: swap;
  font-family: 'firava';
  font-style: italic;
  font-weight: 100 900;
}

header {
  color: #ffffff;
  background:#702146;
  padding:20px 20px 20px 20px;  
  height: 88px;
  }

h1 {
  height:48px;
  font-family: "firava", sans-serif;
  padding-left: 60px;
  font-size: xx-large;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  background-image: url("../img/icon-logo-48-48.svg");
  background-size: 48px 48px;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

h2 {
  font-size: x-large;
  font-weight: 100;
  margin:0 0 20px 0;
  padding: 2px 0px 0px 47px;
}

p {
  margin-bottom: 7px;
}
p:last-of-type {
  margin-bottom: 0px;
}

.seksjon {
  margin-bottom: 40px;
}

#sesjoner > h2 {
  background-image: url("../img/icon-sesjon-32-32.svg");
  background-size: 32px 32px;
  background-repeat: no-repeat;
  alignment-baseline: middle;

}

.sesjon {
  margin-bottom:15px;
}

.sesjon > p.meta {
  color:#555555;
}

#sesjoner-leggtil > .seksjon {
  margin: 20px 0 0 0;
}

#om > h2 {
  background-image: url("../img/icon-info-32-32.svg");
  background-size: 32px 32px;
  background-repeat: no-repeat;
  padding-left: 47px;
  min-height: 32px;
}

body {
  color:#000000;
  background:#f5f3f1;
  margin:0;
  font-family: "firava", sans-serif;
  font-size:large;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
search {
  position: sticky;
  top: 0px;
  padding:20px 20px 20px 20px;
  background: #ffffff;
}

#body {
  padding:20px 20px 20px 20px;
}

#search {
  border-bottom: 1px solid #702146;
  border-radius: 0;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  padding:8px;
  background-image: url("../img/icon-soek-32-32.svg");
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: right 8px top 6px;
  font-weight:300;
}


/* Fix this later so that background-image is set to none only when query.length > 0 */
#search:focus {
  outline: none;
  color:#000000;
  background-color: #f5f3f1;
  background-image: none;
}

button {
  border-radius: 4px;
  border: 1px solid #000000;
  padding: 6px 10px;
  background: #d8d1ca;
  font-family: 'firava';
  font-weight: 200;
  color: #000000;
}

button:active {
  background: #ece8e5;
  border: 1px solid #d8d1ca;
}

button.dropdown, button.secondary {
  font-size: x-large;
  font-weight: 100;
  border: none;
  padding:10px 10px 10px 10px; 
  min-height:52px;
  width:100%;
  max-width:500px;
  display:block;
  text-align:left;
}

button.dropdown > img {
  margin-left: 20px;
  float: right;
}

button.secondary {
  background-color: #f5f3f1;
  margin-bottom: 10px;
}

button.secondary.on {
  background-color: #ece8e5;
  margin-bottom: 10px;
  padding-left:44px;
  background-image: url("../img/icon-ferdig-24-24.svg");
  background-size: 24px 24px;
  background-position: 10px center;
  background-repeat: no-repeat;
  alignment-baseline: middle;
}

button.secondary:last-of-type {
  margin-bottom: 0;
}

button.secondary:active {
  background: #ece8e5;
}

#sesjoner-leggtil > button.dropdown {
  padding-left:52px;
  background-image: url("../img/icon-sesjon-legg-til-32-32.svg");
  background-size: 32px 32px;
  background-position: 10px 10px;
  background-repeat: no-repeat;
  alignment-baseline: middle;
}

#slett > button.dropdown {
  padding-left:52px;
  background-image: url("../img/icon-soeppelkasse-32-32.svg");
  background-size: 32px 32px;
  background-position: 10px 10px;
  background-repeat: no-repeat;
  alignment-baseline: middle;
}