/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

/* 
logo
rødt: #da4d4d
blått: #4b5c8f
svart: #000000
kvitt: #ffffff

fossuko
brun: #624a46
mørkere brun: #4e3e37
gråbrun: #59504b
*/

body {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
#content li {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

/*This makes images shrink when their container becomes too small (responsive design)*/
img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
  max-width: 60%;
  height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:link{
  color:#4b5c8f;
  text-decoration: underline;
}
a:visited{
  color:#59504b;
  text-decoration: none;
}
a:hover { 
  background-color: #da4d4d;
  color: white;
  text-decoration: none;
}

/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
  color: black; 
  outline-color: black;
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

/* skal sette regler for bilder i tabeller for å fikse spacing issues for draktar */
.drakt {
  margin-top: 0em;
  margin-bottom: 0em;
  border-spacing: 0;
}
.drakt img{
   max-height: 50%;
    width:auto;
    margin-top: 0em;
    margin-bottom: 0em;
    display: block;
    object-fit:contain;
}

/* LOGOLISTER */
.leftlogo {
  position:fixed;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  top: 10px;
  overflow:visible;
  left: 5vw;
  outline-color: black;
  outline-style: solid;
  outline-width: 0px;
  
}

.leftlogo ul {
  list-style-type: none;
}

.leftlogo img {
  object-fit: cover;
  
  margin: -5px auto 0px auto;
  padding: 0px;
  display:block;
  max-height:10vh;

}

.rightlogo {
  position:fixed;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  top: 10px;
  overflow:visible;
  right: 5vw;
  
}

.rightlogo ul {
  list-style-type: none;
}

.rightlogo img {
  object-fit: cover;
  
  margin: -5px auto 0px auto;
  padding: 0px;
  display:block;
  max-height:10vh;

}



/*HEADER STYLE*/
#header {
  background-color: black;
  padding: 0 5%;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}