/* Logo */

body {
  overflow-x: hidden;
}

/* Did you mean...? */

.did-you-mean {
  text-align: left;
  padding-bottom: 2em;
}

.did-you-mean ul {
  /*list-style-type: none;*/
  padding-left: 10px;
}
.did-you-mean li {
  display: inline-block;
  /*font-size: 1.2em;*/
  margin-right: 1.5em;
}

.did-you-mean li a {
  cursor: pointer;
}

/* Autosuggestions box */

.react-autosuggest__suggestions-list {
  list-style-type: none;
  border: 1px solid gray;
  text-align: left;
  padding: 0.2em 0em;
  background-color: #fff;
  position: absolute;
  z-index: 1000;
}

.react-autosuggest__suggestions-list li {
  padding: 0em 0.5em;
}

.react-autosuggest__suggestions-list .react-autosuggest__suggestion--focused {
  background-color: #0173b6;
  color: #fff;
}

/* List fasset groups */


.menu .selected > label .count {
  color: #fff;
  opacity: .7;
  font-weight: normal;
}

/* Menu */

.menu input[type=radio] {
  position: absolute;
  left: .5em;
}
.menu .menu input[type=radio] {
  left: 0;
}
.menu input[type=radio] + span {
  display: block;
  width: 100%;
  font-weight: normal;
  font-family: "Oslo Sans";
}

.menu input:disabled + span {
  opacity: .5;
}

.menu .selected > label span {
  color: #0173b6;
  font-weight: bold;
}
.menu .selected > label .list-group span {
  color: #333;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu label {
  display: block;
  width: 100%;
  margin-bottom: 1px;
}

.menu li {
  position: relative;
}


.list-group {
  margin-bottom: 50px;
}

.list-group input[type=radio] + span {
  padding-left: 2em;
}

.menu input[type=radio]:checked + span {
  font-weight: bold;
  color: #0173b6;
}

.menu--big input[type=radio] {
  top: .5em;
}
.menu--big input[type=radio] + span {
  padding: .5em 0 .5em 2em;
}


/* Nested menu */

.menu .menu {
  margin: 0 0 0 1em;
}

.menu .menu input[type=radio] + span {
  font-weight: normal;
}
.menu .menu li:first-child {
  margin-top: .5em;
}
.menu .menu li:last-child label {
  padding-bottom: .5em;
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.menu .menu input[type=radio] {
  top: 0;
}
.menu .menu input[type=radio] + span {
  padding: 0 0 0 1.5em;
  font-size: 16px;
  margin-bottom: .5em;
}

.menu .menu input[type=radio] + span .count {
  color: #6f777b;
}
.menu .menu input[type=radio]:checked + span .count {
  color: #0173b6;
}

.menu .menu input[type=radio]:checked + span {
  padding: 0 0 0 1.5em;
  background: none;
  color: #0173b6;
  font-weight: bold;
}


/* Fasetter */
.list-fasetter #currentsite {
  border-bottom: 1px solid #ddd;
}
.list-fasetter li {
  padding: 0 0 .75em 0;
}

.list-fasetter label {
  cursor: pointer;
}

.menu--big .list-fasetter li {
  padding: 0;
  background: none;
}
.list-fasetter #currentsite input[type=radio]:checked + span {
  background-color: #0173b6;
  color: #fff;
}

.list-fasetter li input[value="9998"] {
    visibility: hidden;
}

/* Spinner */

.spinner-parent {
    width: 100%;
    height: 50px;
}

.spinner-parent .react-spinner {
    width: 40px;
    height: 40px;
}

.react-spinner .react-spinner_bar {
    background-color: gray;
}


/* Card */

.card {
  margin-bottom: 50px;
  overflow: visible;
}

.card > a {
  display: block;
}
.card a:hover {
  text-decoration: none;
}
.card > a:hover h4,
.card > .articles a:hover span:first-child {
  text-decoration: underline;
}

.card-block {
  padding: 0;
}

.card-title {
  display: inline;
  vertical-align: middle;
  margin: 0;
  line-height: 1.5em;
  font-weight: bold;
}

.card em {
  font-style: normal;
  font-weight: bold;
}

.search {
  padding-left: 40px;
}

.container header > .row {
  border-bottom: 1px solid #ddd;
  margin-bottom: 2em;
}

.beta--tag {
  position: absolute;
  top: 7px;
  left: -20px;
  width:80px;
  height:80px;
}

.beta--tag::after{
  content: "beta";
  position: absolute;
  width: 80px;
  height: 25px;
  background: red;
  text-align: center;
  font-size: 13px;
  font-family: sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  line-height: 27px;
  -ms-transform:rotate(-45deg);
  -webkit-transform:rotate(-45deg);
  transform:rotate(-45deg);
}

.span--url {
  color: #417505;
}
.span--tag {
  background: #9B9B9B;
  color: #fff;
  padding: .5rem .75rem;
  margin-right: .5rem;
  font-weight: bold;
  font-size: .8em;
  text-transform: uppercase;
}

.btn-secondary {
  background: #efefef;
  border: 1px solid #ddd;
}





.date {
  display: inline-block;
  vertical-align: middle;
  color: #6f777b;
}
.date:before {
  color: #6f777b;
  content: "- ";
}

a .doc-path {
    color: #2a2859;
    font-size: 14px;
      text-decoration: underline;
  text-decoration-color:#2a2859 ;
    margin-bottom: 0.8em;
}

/* Articles */

.articles {
  margin-top: .5em;
}
.articles > div {
  display: inline-block;
  margin-right: 2em;
  vertical-align: top;
}
.articles a > span:first-child {
}
.articles > * {
}


.search-result--excerpt {
  overflow: hidden;
}
.search-result--excerpt p {
  display: inline;
}

.search-result--excerpt p span {
  font-size: 16px;
  display: block;
}

.search-result--label {
  margin: 0 1.5em 0 0;
  /*display: inline-block;*/
  font-size: 16px;
  color: #2a2859;
  vertical-align: top;
}

/* Event */

.card--event {
}
.card--event__meta {
  line-height: 1.8em;
  margin: .5em 0;
  width: 100%;
}
.card--event__meta .btm {
  width: 1.3em;
  text-align: center;
}

.card--event__eventmeta > span {
  margin-right: 1em;
}

/* Attachment */

.card--attachment {
}
.card--attachment .icon {
  display: block;
  width: 1.3em;
  height: 2em;
  margin-left: -2em;
  margin-right: .5em;
  background: #fff;
  margin-bottom: -1.5em;
  position: absolute;
}
.card--attachment .card-title-wrap {
  margin-left: 0;
}

/* Wrapper */
.page-wrapper{
  position: absolute;
  overflow: hidden;
  height: 100px;
  width: 100%;
  left: 0;
  top: 0;
}

.container {
  min-height: 90vh;
  position: relative
}

.sorting-panel {
  overflow: hidden;
}

input[type="text"] {
  border-color: #f9c66b;
  border-style: solid;
  height: 60px;
  width: 300px;

}

.search-result-number {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 30px;
}

.nav{
  padding: 20px;
  border-bottom: thin solid lightgrey;
  margin-bottom: 50px;
  display: flex;
}

.nav .logo {
  min-width: 120px;
  flex-grow: 1;
}

.nav .searchbar{
  display: flex;
  margin-top: 5px;
}


.startpage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 100%;
}

.startpage-content .logo{
  margin-bottom: 10px;
  text-align: center;
}

.startpage-content form{
  text-align: center;
}

.startpage-content .searchbar{
  display: inline-flex;
}


.intranett-sok-knapp {
  color: #2a2859;
  background: #f9c66b;
  border: 1px solid #f9c66b;
}

.date-custom-filter{
  margin-top: 50px;
}

.date-custom-filter input{
  font-size:15px;
  width: 125px;
}

.date-custom-filter input:first-child{
  margin-right: 10px;
}

input[type="text"] {
  padding: 5px 5px 5px 10px;
}

@media (max-width: 580px){
  .nav {
    display: block;
  }

  .nav .logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .nav form {
    text-align: center;
  }

  .nav .searchbar {
    display: inline-flex;
  }

  input[type="text"] {
    width: inherit;
  }
}

@media (max-width: 1200px){
  .date-custom-filter input{
    font-size:12px;
    width: 94px;
  }
}
