body {
	font-family: montserrat, sans-serif;
	
}

body:after {
background: #1b5240 url(https://images.ctfassets.net/ds6dz7ilx8up/6NYEdaYJ9Er0nT9fN5B1BX/ecd4e319cc455294c19e8662500a13be/stjarnor.png) no-repeat top center fixed;
background-repeat: repeat;
opacity: 1;
content: "";
top: 0;
left: 0;
bottom: 0;
right: 0;
position: fixed;
z-index: -1;  
}

#docsSearch {
	height: 200px;
	background: #1b5240;
	border-bottom: none;
	padding-top: 0px;
	position: relative;
	top: -1px;
	display: flex;
    	align-items: center;
	flex-direction: column;
	justify-content: center;
}

#docsSearch h1 {
	font-family: montserrat, sans-serif;
	font-style: normal;
	font-weight: 900;
	font-size: 39px;
	color: #e8fbf0;
}

.collection-category h2 a {
	color: #fff;
}

@media (max-width: 768px) and (max-width: 480px) {
    #docsSearch h1 {
font-size: 30px;
}
}

#searchBar .search-query {
	background: #fff;
	border-color: #fff;
	box-shadow: none;
	color: #000;
	border-radius: 12px !important;
	height: 56px !important;
}
#searchBar button {
	background: #ffa4af;
	border-color: transparent;
	color: #000;
	border-radius: 0 12px 12px 0;
	height: 56px;
}
#searchBar button:hover {
	background: #fddadc;
	border-color: transparent;
	color: #57031e;
}

.collection-category {
	text-align: center;

}

.category-list {
	display: flex;
    	flex-wrap: wrap;
    	justify-content: center;
	gap: 10px;
}

.category-list .category {
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid #0d5338;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 120px;
}

.category-list.two-col .category {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 120px;
}

.category-list h3 {
	color: #00311e;
	font-size: 24px;
	font-weight: 500;
}

.category-list .category .article-count {
	font-size: 16px;
	color: #910035;
}

.navbar .nav .active a {
color: #ffffff;
text-decoration: underline;
font-weight: 700;
}
 
.navbar .nav li a {
color: #ffffff;
}
 
.navbar .brand {
padding: 10px 20px 10px;
}
 
@media (max-width: 768px) {
    .navbar .btn-navbar {
margin-top: 23px;
right: -10px;
}
}

@media (min-width: 769px) {
    .navbar .nav {
display: none;
}
}

@media (max-width: 768px) {
    .navbar .btn-navbar .icon-bar {
 background: #fff;
    }
}

#sidebar h3 {
	color: #fff;
}

#sidebar .nav-list .active a{
color: #fff;
}
 
#sidebar .nav-list a{
color: #fff;
}

@media (max-width: 768px) and (max-width: 480px) {
    #searchBar button .icon-search {
     color: black;
    }
}

/* ========================= */
/* MOBILFIX FÖR TABELLER */
/* ========================= */

@media (max-width: 768px) {
  #fullArticle,
  article,
  .article {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 16px !important;
    padding: 24px 18px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  #fullArticle table,
  article table,
  .article table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  #fullArticle th,
  #fullArticle td,
  article th,
  article td,
  .article th,
  .article td {
    min-width: 160px;
    white-space: normal;
    vertical-align: top;
  }
}

@media (max-width: 768px) {

  #fullArticle table::before {
    content: "← Svep för att se fler kolumner →";
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #0d5338;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  #fullArticle table,
  article table,
  .article table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    box-shadow: inset -28px 0 22px -24px rgba(0, 0, 0, 0.45);
  }
}

/* ========================= */
/* SIDEBAR – AKTIVT MENYVAL */
/* ========================= */

#sidebar .nav-list a,
#sidebar .nav-list li a {
  color: rgba(255,255,255,.75) !important;
  text-shadow: none !important;
  font-weight: 600;
  transition: all .2s ease;
}

#sidebar .nav-list .active a,
#sidebar .nav-list li.active a,
#sidebar .nav-list a.active {
  color: #ffffff !important;
  font-weight: 800;

  background: rgba(255,255,255,.12) !important;
  border-radius: 8px;

  text-shadow: none !important;
  }
}