/*
    Author: Kjetil Liestøl Nielsen
    Email: kjetil.l.nielsen@usn.no
*/

@import url('https://fonts.googleapis.com/css?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

body {
	margin:0;
	font-family: "Lato", "Source Sans Pro", Calibri,  sans-serif;
	/*font-size: 0.875em;*/
}

h1 {
	font-family: "Merriweather",Bitter, Georgia, serif;
	font-weight: lighter;
}

header h1 {
	margin: 0;
	font-size: 3em;
	font-weight: bold;
}

header h2 {
	font-size: 1em;
	font-family: "Merriweather", serif;
	font-weight: lighter;
}

nav {
	background-color:#f7f5e7;
}

nav ul {
	list-style: none;
	text-align: center;
	padding:0;
	margin:0;
}

nav li {
	text-align: center;
	display:inline-block;
	
}

nav a {
	display:block;
	text-decoration: none;
	color:black;
	line-height: 3em;
	padding-left:0.8em;
	padding-right:0.8em;
}

nav a:hover {
  background-color: black;
  color:white;
  text-decoration: none;
}

#navButtonWrapper {
	margin-bottom:4em;
	margin-top:1.5em;
}

.navButton {
	text-decoration: none;
	color:black;
	display:inline-block;
	padding:8px 16px;
	background-color: #f1f1f1;
	border:1px solid lightgrey;
}

ol li {
	
}

.table-of-content li {
	margin-top:0em;
}

.TODO {
	color:red;
}

.TODO::before {
	font-weight: bold;
	content:"TODO: ";
}

.color-box {
	background-color:#f7f5e7;
	padding:0.5em 1em 0.5em 1em;
	margin-top:0.5em;
	border-radius: 10px;
}

.navButton:hover {
	background-color: #ddd;
}

.navActive {
	color:#990000;
}

hr {
	color:darkgray;
}

a {
	color:#bc360a;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color:#ea9629;
	cursor:pointer;
}

#nextButton {
	float:right;
}

#prevButton {
	float:left;
}

.solutionBtn {
  color:#bc360a;
	padding:0.4em 0.7em 0.4em 0.7em;
	margin-right:0.5em;
	border-radius: 20px;
	border: 1px solid grey;
	font-size: 0.9em;
}

.credit {
	font-size: small;
	display:inline;
}

figure {
	text-align:center;
	display:block;
}

.figcredit {
	font-size: smaller;
	font-size: smaller;
}

.solutionBtn:hover {
	color:#ea9629;
}

.veiledningBtn {
/*	color:#bc360a;*/
	padding:0.4em 0.7em 0.4em 0.7em;
	margin-right:0.5em;
	border-radius: 20px;
	border: 1px solid grey;
	font-size: 0.9em;
	background-color: #e5e7e9 ;
}

.veildningBtn:hover {
	color:#ea9629;
}

.multicolumn {
	column-count: 3;
}

header {
	background-color:#517e66;
	color:white;
}

header div {
	margin: 0 auto;
	max-width: 50em;
	padding: 0.5em 1em 0 1em;
}

main {
	max-width: 42em;
	margin: 0 auto;
	line-height: 1.5em;
	padding:1em;
}

main h1 {
	font-size: 2.5em;
	line-height: 1.5em;
	border-bottom: 1px solid grey;
}

main h2 {
	margin-top:1.5em;
	font-size: 1.5em;
	font-style: bold;
}

main h3 {
	margin-top:1.5em;
	font-size: 1em;
	font-style: bold;
}

footer {
	background:#e8e5ce;
	color:#686769;
	line-height: 5em;
	text-align: center;
}

.hidden {
	display:none;
}

/* Slide show */

.slideShow {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.slideShow img, .slideShow video {
	display:none;
	width:100%;
}

.slideDot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin-top:1em;
  margin-left:0.5em;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.activeSlideDot, .slideDot:hover {
  background-color: #717171;
}

.slidePrev, .slideNext {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  transform: translate(0,-3em);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.2);
}

.slideNext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slidePrev:hover, .slideNext:hover {
  background-color: rgba(0,0,0,0.8);
  text-decoration: none;
}

.slideNumbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.slideCaption {
  color: #f2f2f2;
  font-size: 15px;
  padding: 0.5em 0 0.5em 0;
  
  bottom: 1.5em;
  margin:0 auto;
  text-align: center;
  background-color: #222;

}

.oppgaveSamling {
	padding: 0;
	margin: 0;
}

.list-more-space li{
	margin-bottom:0.5em;
}

/*
ol {
	counter-reset: myCounter;
	list-style: none;
}

ol li {
	counter-increment: myCounter;
}

ol li::before {
	padding-right: 5px;
	content:counter(myCounter, lower-latin) ") ";
}
*/

.oppgTittel:hover {
	cursor:pointer;
}

.doneBox {
	color:green;
}

.revtex-table th{
    text-align:center;
    border-bottom: 2px solid #868279;
    padding-top: 0.5em;
}

.revtex-table td{
    text-align:center;
}

.revtex-table table {
    width:100%;
    border-spacing: 0;
    margin: 0 auto;
}

.figure, .info, .table {
    color: black;
    background-color: #faf8f5;
    border-top: 2px solid #868279;
    border-bottom: 2px solid #868279;
    /*border-radius: 3px;*/
    padding: 0.5em 1em 0.5em 1em;
}
