.wl-pagination{
  padding: 0px;
}

.wl-pagination.prev{
  margin-right:20px;
}

.wl-tab-content:empty{
  display: none !important;
}

.wl-ajax-spinner{
  text-align: center;
  margin-top: 20px;
  display: none;
}

.result-item-description{
  margin-top:10px;
}


.wl-tab-content{
  background: #eee;
  padding: 20px;
  display: none;
}


#ils_results_frame {
  height: 1px;
  overflow-y: hidden;
}

.search-info{
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  display: none;
  position: absolute;
  width: 90%;
  left:30px;
  z-index: 50;
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
  box-shadow: 0px 0px 4px #333;
  border-radius: 5px;
}

.result-item-booking-url{
  margin-top:20px;
}

.entry-content .item-info-title{
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 22px;
}

.link-order{
  border:1px solid black !important;
  background: white;
  padding:5px 10px;
  width:200px;
  color: black;
  -webkit-border-radius: 5px;
          border-radius: 5px;
  text-decoration: none;

}

.link-order:hover{
  background: black;
  color: white;
}

strong {
  font-weight: bold;
}


/* Search form */


.ils-search-form {
  white-space: nowrap;
}

.ils-search-form input[type=text] {
  max-width: 200px;
}

.ils-search-form input[type=submit] {}

.wlils_widget input {
    max-width: 65% !important;
}


/* Pager */
.ils-results-pager {
    font-family: Roboto, sans-serif;
    color: #333;
    font-weight: lighter;
}

.ils-results-pager p {
    margin-top: 0;
}

.ils-results-pager .buttons {
    float: right;
}

.ils-results-pager button {
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: muli, arial, sans-serif;
    color: #000;
    font-weight: bold;
    font-size: 1em;
}

html body div#divreglitreframeFrameHolder a.wl-button {
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 11px;
    color: #fff;
    padding: 11px 20px;
    border-radius: 4px !important;
    letter-spacing: 1px;
    font-weight: 800;
    background: black;
    margin-bottom: 20px !important;
    font-family: Roboto, sans-serif;
}

.wl-button._js-toggle-search-info{
  margin-left: 5px;
}

.wlils_social {
    display: inline;
}

.wlils_social img {
  margin-right: 10px;
}


/* Status dots */
.wl-catalog .dot {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  display: inline-block;
}

.wl-catalog .red.dot {
  background-color: red;
}

.wl-catalog .green.dot {
  background-color: green;
}

.wl-catalog .orange.dot {
  background-color: orange;
}


/* Search results grid */

.ils-results {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  color: #222;
  font-family: Roboto, serif;
}

.ils-results div.ansvar {
  margin-top: 0;
  color: #666;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.ils-results strong {
  font-weight: bold;
}

.ils-results li {
  position: relative;
  display: block;
  margin: 10px 0;
  padding: 20px;
  border: none;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 1);
}

.ils-results li:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.ils-results li h3 {
  display: inline;
  margin-bottom: 2px;
  margin-top: 0;
  font-size: 1.2em;
}



.ils-results  li h3 a {
  color: #222;
  text-decoration: none;
}

.ils-results li h3  a:hover {
  color: #0aafd4;
  text-decoration: none;
}

.ils-results li .omslag {
  float: left;
  height: auto;
  width: 120px;
  margin: 0 30px 5px 0;
  position: relative;
  overflow: hidden;
}

.ils-results li .omslag img {
  max-width: 100%;
}

.ils-results li  .opphav {
  font-style: italic;
}

.material img{
  display: inline-block;
}

.ils-results li .material {
  float: right;
  text-align: center;
  margin-left: 10px;
}

.ils-results  li  .material .materialtype {
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: bold;
}

.ils-results  li  .material img.materialtype {
  width: 30px;
  height: auto;
}

.ils-results li .status {
  display: none;
}

.ils-results li .read-online {
  border: solid 2px #297d33;
  border-radius: 5px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  color: #333;
  font-weight: bold;
  padding: 2px;
}

.ils-results  li .tilgang_boks {
  text-align: center;
  margin: 0 auto;
  min-width: 120px;
  font-weight: bold;
  margin: 10px 0;
}


/* Single result */

.ils-single-result {
  font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  padding: 10px 2%;
  margin: 40px auto;
}

.ils-single-result h2 {
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
  line-height: 1em;
}

.ils-single-result h3 {
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
}

.ils-single-result h5 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
}

.wl-image-container {
  width: 30%;
  float: left;
  margin-right: 2%;
}

.wl-image-container img {
  width: 100%;
  height: auto;
}

.infocontainer {
  width: 68%;
  float: right;
}

.infocontainer img {
  box-shadow: none;
}

.infocontainer h2 {
  margin-top: 0 !important;
}

.ils-single-result .social {
    margin-top: 4px;
}

.ils-single-result .social a {
  display: inline-block;
  text-decoration: none;
  border: 0;
  transition: opacity 0.1s linear;
}

.ils-single-result .social a:hover {
    opacity: 0.7;
}

.ils-single-result .social a > img {
    box-shadow: none;
}

.ils-single-result .buttons {
    margin: 15px 0 30px 0;
}

.ils-single-result button {
    display: inline-block;
    font-size: 0.7em;
    background: transparent;
    color: #333;
    border-radius: 6px;
    border-width: 3px;
    border-style: solid;
    padding: 8px 8px 8px 40px;
    margin: 5px 0;
    transition: border-color 0.1s linear;
    background-repeat: no-repeat;
    background-position: 5px;
    background-image: url('data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wgARCAAWAB4DAREAAhEBAxEB/8QAGQAAAgMBAAAAAAAAAAAAAAAAAQUEBgcD/8QAFwEBAQEBAAAAAAAAAAAAAAAAAAIBA//aAAwDAQACEAMQAAAB2C4YNcztRuZOLZNN83KenMnMltB//8QAHhAAAgIBBQEAAAAAAAAAAAAABAUCAwYSFBUhMzb/2gAIAQEAAQUCSx5gpysqGXxSjadzNbkWIerceZQEeon/AF9KpwuKNOfrK6ZZDdUIlYWNP//EABoRAQACAwEAAAAAAAAAAAAAAAABIQIRQRD/2gAIAQMBAT8Bi0tOsU+dWtbT/8QAHREAAwABBQEAAAAAAAAAAAAAAAERAhAhIjEyQf/aAAgBAgEBPwF7CZTtGXwWi8lTJiziVSI//8QAJhAAAgICAQIFBQAAAAAAAAAAAQMCEQAEEgUTFCEjM3RBUZOxsv/aAAgBAQAGPwLqk9kyJXslcakRQGMYqTVzFUQw/fB7n5DjdVJPaKBOpG/O86z8yWMWsXI1+8GM+KP6zcOps60VvcW1OJJwNm7TdG648SMizxWmOQuuBye5ubCZyKu36YI+uf/EAB8QAAICAQQDAAAAAAAAAAAAAAABESFREDFBoYHh8P/aAAgBAQABPyFaE01iVUmMDnZKoslzTON/abjOvjTzovaaMvASA8H0sCEbSQkvLATtQL8jgHoj9YLhDP/aAAwDAQACAAMAAAAQwQajfg//xAAaEQEBAQADAQAAAAAAAAAAAAABABEQIXFB/9oACAEDAQE/EOx2GFi3MX17DTOGgFyU93uEut//xAAbEQEBAQACAwAAAAAAAAAAAAABEQAQITFxsf/aAAgBAgEBPxDrJmXvXp2u8fTON4+mRFMIkcgZHJQb/8QAHhABAQADAAEFAAAAAAAAAAAAAREAITFhEFGRofD/2gAIAQEAAT8QODyfgAAeXznb1S4R1GxceiY1XWdxXhrwkUKZRz9P2MO05MyxH6HE0RAPx6MLqzll6FCcmT7kmVTTswNXi0hLL1hqLTwAVE8Of//Z');
}

.ils-single-result button.link-online {
    border-color: rgba(0, 153, 0, 0.3);
}

.ils-single-result button.link-order {
    border-color: rgba(0, 0, 0, 0.3);
}

.ils-single-result button.link-online:hover {
    border-color: rgba(0, 153, 0, 0.5);
}

.ils-single-result button.link-order:hover {
    border-color: rgba(0, 0, 0, 0.5);
}


/* Single result tabs */

.singletabs {
    clear: both;
}

.singletabs > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    width: 100%;
    z-index: 5000;
}

.singletabs > ul > li {
    display: inline-block;
    margin: 0 0 0 0;
    color: #333;
    font-weight: bold;
}

.singletabs > ul > li a {
    padding: 8px 12px;
    display: inline-block;
    border-radius: 6px 6px 0 0;
    background: #ddd;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: none !important;
}

.singletabs > ul a:hover {
    background: #eee;
    color: #000;
    text-decoration: none;
}

.singletabs > ul > li.active a,
.singletabs > ul > li.active a:hover {
  background: #eee;
  color: #333;
  box-shadow: none;
}

.singletabs .tab-content {
    padding: 15px;
    border-radius: 3px;
    background: #eee;
}

.singletabs .tab {
    display: none;
}

.singletabs .tab.active {
    display: block;
}


/* Tabs for treff-kategorier */
.wl-resources{
  display: none;
}

.wl-catalog .tabs {
  clear: both;
  margin-top:20px;
}

.wl-catalog .tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.wl-catalog .tabs  ul  li {
  display: inline-block;
  min-width: 150px;
  margin: 0 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-family: Roboto, sans-serif;
}

.wl-catalog .tabs ul li a .wl-tab-spinner{
  display: none;
}

.wl-catalog .tabs ul li a {
    padding: 8px 12px;
    display: block;
    border-radius: 6px 6px 0 0;
    background: #000;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    border: none !important;
}

.wl-catalog .tabs > ul a:hover {
    background: #eee;
    color: #000;
    text-decoration: none;
}

.wl-catalog .tabs > ul > li.active a,
.wl-catalog .tabs > ul > li.active a:hover {
    background: #eee;
    color: #333;
    box-shadow: none;
}

.wl-catalog .tabs .tab-content {
    padding: 15px;
    border-radius: 3px;
    background: #eee;
    margin-top: 34px;
}

.wl-catalog .tabs .tab {
    display: none;
}

.wl-catalog .tabs .tab.active {
    display: block;
}


/* VISNING AV TREFF I TABER */

.wlkatalog_horizontal_scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    font-size: 0;
    z-index: 0;
}

.wlkatalog_imageitem {
    width: auto;
    height: 280px;
    display: inline-block;
    margin: 0;
    margin-right: 15px;
    padding: 0;
    position: relative;
    font-size: 1em;
}

.wlkatalog_imageitem a,
.wlkatalog_imageitem a:active,
.wlkatalog_imageitem a:hover,
.wlkatalog_imageitem a:visited {
    text-decoration: none;
    color: #333;
}

.wlkatalog_imageitem img {
    width: auto;
    height: 280px;
    margin: 0;
}

.wlkatalog_imageitem_overlay {
    font-size: 16px;
    margin: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 280px;
    opacity: 0;
    background-color: #fff;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}

.wlkatalog_imageitem_overlay:hover {
    opacity: 0.7;
    color: #000;
}

.wlkatalog_imageitem_overlay h2 {
    font-size: 16px;
    margin: 0;
    margin-bottom: 10px;
}

.wlkatalog_videoitem {
    margin: 0;
    padding: 0;
    height: 220px;
    width: auto;
    display: inline-block;
}

.wlkatalog_bokitem {
    width: 96%;
    margin: 0 auto 15px 0;
    border: 1px solid #ddd;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    color: #222;
    position: relative;
    overflow: hidden;
}

img.wlkatalog_bokitem_bilde {
    width: 160px;
    height: auto;
    margin: 0 15px 15px 0;
    float: left;
}

.wlkatalog_bokitem a {
    text-decoration: none;
}

.wlkatalog_bokitem a > h2 {
    color: #222;
    margin: 0 0 3px 8px;
    border: none !important;
}

.wlkatalog_bokitem h3 {
    margin-top: 0;
}

label.wlkatalog_sokeord {
    display: normal;
    /* Endre til 'none' for &aring; gjemme teksten "S&oslash;keord..." */
}

.topphoyre {
    float: right;
    margin: 10px;
}

.topphoyre a,
.topphoyre a:visited,
topphoyre a:active {
    color: #333;
    text-decoration: none;
}

.topphoyre img {
    width: 40px;
    height: auto;
}

img.ebokbiblogo {
    width: 10%;
    float: left;
    margin: 0 10px 10px 0;
}

a.postlenker {
    font-size: 0.8em;
    line-height: 1.1em;
    border: 1px solid #888;
    padding: 5px;
    border-radius: 5px;
    margin: 3px 0;
    color: #444;
    text-decoration: none;
    display: inline-block;
    float: right;
}

a.postlenker:active,
a.postlenker:visited,
a.postlenker:hover {
    color: #555;
    background: #fee;
}

.wlilsribbon {
    height: 200px;
    width: 300px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    top: auto;
    bottom: -110px;
    left: auto;
    right: -160px;
    /* 45 deg ccw rotation */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    /* shadow */
    -webkit-box-shadow: 0 0 10px #888;
    -moz-box-shadow: 0 0 10px #888;
    box-shadow: 0 0 10px #888;
}

.wlilsribbon a {
    color: #fff;
    display: block;
    font: bold 80% Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 1px 0;
    padding: 2px 40px;
    text-align: center;
    text-decoration: none;
    /* shadow */
    text-shadow: 0 0 5px #444;
    text-transform: uppercase;
}

ul.ils-results {
    position: relative;
    overflow: hidden;
}


/* MEDIA QUERIES */

@media (max-width: 1024px) {
  .ils-results li h3{
    display: block;
  }
}

@media (max-width: 768px) {
    /*    .tabs > ul > li a { font-size: 10px;} */
}

@media (max-width: 768px) {
    .ils-search-form input[type=text] {
        max-width: 40%;
    }
    .ils-results li {
        font-size: 80%;
    }
    .ils-results li .status {
        display: block;
    }
    .ils-results li .omslag {
        width: 80px;
    }
    .ils-results li .material {
        opacity: 0.5;
        font-size: 80%;
    }
    .ils-results li .material .online-bestand {
        display: none;
    }
    .wl-catalog .tabs .tab-content {
        margin-top: 68px;
    }
    .wl-catalog .tabs ul {
        /*margin-top: -68px;*/
    }
    .wl-catalog .tabs ul li {
        display: inline;
        width: 100% !important;
        margin-bottom: 5px;
    }
    .wl-catalog .tabs ul li a {
        border-radius: 4px;
        width: 42%;
        margin-bottom: 10px;
    }
    .wl-catalog .dot {
        width: 15px;
        height: 15px;
        border-radius: 15px;
    }
    .ils-single-result h2 {
        font-size: 20px;
    }
    div#divreglitreframeFrameHolder a.wl-button {
        display: block;
    }
    img.wlkatalog_bokitem_bilde {
        width: 100px;
    }
}

@media (max-width: 450px) {
    .ils-results-pager .buttons{
      display: block;
      float: none;
    }

    .wl-catalog .tabs ul li {
        display: inline;
        width: 100% !important;
        margin-bottom: 5px;
    }
    .wl-catalog .tabs ul li a {
        border-radius: 4px;
        width: 100%;
        margin-bottom: 10px;
    }
    .wl-catalog .tabs .tab-content {
        margin-top: 100px;
        padding-top: 40px;
    }
    .wl-catalog .tabs ul {
       /* margin-top: -100px;*/
    }
    .wl-catalog .tab {
        padding-top: 20px;
    }
    div.wlilsribbon {
        display: none;
    }
}