/*
Theme Name: NPolar
Description: NPolar Wordpress theme
Version: 1.2
Author: Norsk Polarinstitutt
Author URI: http://npolar.no
Template: enfold
*/
/* Colors */
/* Typography */
/*NP RWD grid*/
.row:after {
  content: "";
  clear: both;
  display: block !important;
}

[class*=col-] {
  float: left;
}

/* For mobile phones: */
[class*=col-] {
  width: 100%;
  padding: 0 0.25em;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* For tablets: */
  [class*=col-] {
    float: left;
    padding: 0 1em;
  }
  .col-m-1 {
    width: 8.33%;
  }
  .col-m-2 {
    width: 16.66%;
  }
  .col-m-3 {
    width: 25%;
  }
  .col-m-4 {
    width: 33.33%;
  }
  .col-m-5 {
    width: 41.66%;
  }
  .col-m-6 {
    width: 50%;
  }
  .col-m-7 {
    width: 58.33%;
  }
  .col-m-8 {
    width: 66.66%;
  }
  .col-m-9 {
    width: 75%;
  }
  .col-m-10 {
    width: 83.33%;
  }
  .col-m-11 {
    width: 91.66%;
  }
  .col-m-12 {
    width: 100%;
  }
}
@media only screen and (min-width: 1024px) {
  /* For desktop: */
  [class*=col-] {
    float: left;
    padding: 0 1.5em;
  }
  .col-1 {
    width: 8.33%;
  }
  .col-2 {
    width: 16.66%;
  }
  .col-3 {
    width: 25%;
  }
  .col-4 {
    width: 33.33%;
  }
  .col-5 {
    width: 41.66%;
  }
  .col-6 {
    width: 50%;
  }
  .col-7 {
    width: 58.33%;
  }
  .col-8 {
    width: 66.66%;
  }
  .col-9 {
    width: 75%;
  }
  .col-10 {
    width: 83.33%;
  }
  .col-11 {
    width: 91.66%;
  }
  .col-12 {
    width: 100%;
  }
}
/* Flebox */
@media only screen and (min-width: 769px) {
  .flex-container {
    display: flex;
    justify-content: space-between;
  }
  .flex-c-1 {
    width: 6.33%;
  }
  .flex-c-2 {
    width: 14.66%;
  }
  .flex-c-3 {
    width: 23%;
  }
  .flex-c-4 {
    width: 31.33%;
  }
  .flex-c-5 {
    width: 39.66%;
  }
  .flex-c-6 {
    width: 48%;
  }
  .flex-c-7 {
    width: 56.33%;
  }
  .flex-c-8 {
    width: 64.66%;
  }
  .flex-c-9 {
    width: 73%;
  }
  .flex-c-10 {
    width: 81.33%;
  }
  .flex-c-11 {
    width: 89.66%;
  }
  .flex-c-12 {
    width: 100%;
  }
}
/* Partially overwrite Endold defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

@media only screen and (min-width: 768px) {
  #employeeList td {
    font-size: 1rem;
  }
  #employeeList h2 {
    text-transform: capitalize !important;
  }
}
.content h2 {
  margin-top: 1.5em;
}

.content + h2:first-of-type {
  margin-top: 0;
}

td {
  font-size: 0.95rem;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

@media only screen and (max-width: 767px) {
  .av-special-heading {
    margin-top: 0;
  }
}
/* Link style */
/*Additional link styles / keyboard navigation management on style.js*/
a {
  text-decoration: underline;
}

a:hover {
  /* background-color: #ffffaa; */
  transition: color 0.25s;
}

.social_bookmarks a {
  text-decoration: none;
}

a.av-icon-char {
  text-decoration-line: none;
}

.avia-animated-number {
  text-decoration: none;
}

.main_color b, .main_color strong {
  color: unset;
}

.main_color a > b, .main_color a > strong {
  color: #1d5c86 !important;
}

.main_color a:focus > b, .main_color a:focus > strong,
.main_color a:hover > b, .main_color a:hover > strong {
  color: #d1480e !important;
}

.main_color .toggle_content strong a {
  color: #1d5c86 !important;
}

.main_color .toggle_content strong a:hover, .main_color .toggle_content strong a:focus {
  color: #d1480e !important;
}

/* Accordions/Toggles */
.togglecontainer > section:last-child > .single_toggle {
  margin-bottom: 30px;
}

.toggler.activeTitle {
  font-weight: bold;
}

.av-minimal-toggle .toggle_content {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 0;
}

.av-minimal-toggle .toggler.activeTitle {
  border-bottom: 1px solid #f8f8f8;
}

@media only screen and (max-width: 767px) {
  .av-minimal-toggle .toggle_content {
    /* background: rgb(255,255,255,0.8); */
    padding-left: 0;
    padding-right: 0;
    border: none;
  }
}
/*Notification box*/
.avia_message_box {
  text-align: left;
  line-height: 1.65em;
  border-width: 1px !important;
  padding-bottom: 15px !important;
}

.avia_message_box_title {
  /* position: relative !important; */
  /* display: block; */
  /* margin: -51px -35px 0 -35px; */
  font-weight: bold;
  font-size: 16px !important;
  text-transform: uppercase;
}

.avia_message_box_content {
  text-transform: none;
  font-weight: normal;
}

.avia_message_box_content p {
  display: block;
}

/*Slide entry excerpt*/
div.slide-entry-excerpt.entry-content {
  font-size: 0.9em !important;
}

#masthead {
  background-color: rgba(0, 0, 0, 0.65);
}

.av-share-box {
  margin-bottom: 2em;
}

.entry-meta {
  font-size: 0.9em;
}

/*Increase size of post title*/
.post-title {
  font-size: 26px !important;
}

/* Caption */
.wp-caption-text,
.wp-caption > img {
  font-family: inherit !important;
  font-style: normal !important;
  line-height: 1.6em;
  font-size: 0.85rem;
  text-align: left;
  background-color: rgba(225, 225, 225, 0.2);
}

.content {
  padding-top: 30px;
}

.post-title {
  font-size: 2rem !important;
}

/* Smaller breadcrumbs div on tablet/desktop*/
/*(but with bigger text);*/
@media only screen and (min-width: 768px) {
  .title_container .container {
    min-height: 36px !important;
  }
  div.breadcrumb-trail {
    font-size: 15px;
  }
}
.title_container {
  background: #f8f8f8;
}

.breadcrumb,
.breadcrumb a {
  color: #666 !important;
}

/* Hide sidebar on tablets */
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .container .av-content-small.units {
    width: 110% !important;
  }
  aside.sidebar.sidebar_right.alpha.units {
    display: none !important;
  }
}
/* Smaller menu font on tablets */
@media only screen and (min-width: 989px) and (max-width: 1024px) {
  .av-main-nav > li > a {
    padding: 0 10px;
    font-size: 13px !important;
  }
}
/*Main menu */
#top .av-main-nav ul a {
  font-size: 14px;
}

.entry-meta-tax,
.byline,
.posted-on {
  color: #757575;
}

@media only screen and (max-width: 1024px) {
  .menu__header--NP {
    font-weight: bold;
  }
}
/* Enfold accordion */
.av-minimal-toggle .toggle_icon > .vert_icon {
  border-color: #757575;
}

.av-minimal-toggle .toggle_icon > .hor_icon {
  border-color: #757575;
}

.alternate_color .av-minimal-toggle .toggle_content {
  background-color: #1d5c86;
}

.alternate_color .av-minimal-toggle .toggler.activeTitle {
  border-bottom: 1px solid #164668;
}

.alternate_color .av-minimal-toggle .toggle_icon > .hor_icon {
  border-color: #f8f8f8;
}

.alternate_color .av-minimal-toggle .toggle_icon > .vert_icon {
  border-color: #f8f8f8;
}

/**/
/* Max mega menu */
.mega-menu-wrap {
  top: 25% !important;
}

#menu-item-search {
  display: inline-block;
}

#menu-item-search a {
  text-decoration: none;
  font-size: 1.4em !important;
  margin-left: 1em;
}

#mega-menu-wrap-avia.mega-keyboard-navigation .mega-menu-toggle:focus, #mega-menu-wrap-avia.mega-keyboard-navigation #mega-menu-avia a:focus, #mega-menu-wrap-avia.mega-keyboard-navigation #mega-menu-avia input:focus {
  box-shadow: inset 0px 0px 3px 1px orangered;
}

@media only screen and (max-width: 1199px) {
  ul.max-mega-menu > li.mega-menu-item > ul.mega-sub-menu {
    box-shadow: none !important;
    border-bottom: 2px solid lightgray !important;
  }
  .mega-menu.max-mega-menu {
    box-shadow: 0 3px 10px 0 lightgrey !important;
  }
}
#mega-menu-wrap-avia #mega-menu-avia > li.mega-menu-item > a.mega-menu-link:hover {
  text-decoration: none !important;
}

/* end*/
/*Blockquote*/
blockquote {
  color: #111111 !important;
  font-style: italic !important;
  font-size: 1.2rem;
}

blockquote cite {
  font-style: normal;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
}

blockquote cite a {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.5em;
}

/* Custom menu */
ul.sub-menu {
  font-family: "Lato", sans-serif;
}

.avia_mega_text_block.menu-item.menu-item-type-custom.menu-item-object-custom {
  font-size: 15px;
  font-weight: 600;
  padding-top: 0.5em !important;
  margin-top: 1em !important;
}

mega_menu_title.heading-color.av-special-font + ul > li {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.avia_mega_text_block.menu-item.menu-item-type-custom.menu-item-object-custom li {
  margin-left: 5px !important;
}

.avia_mega_text_block.menu-item.menu-item-type-custom.menu-item-object-custom a {
  text-decoration: none !important;
}

.avia_mega_text_block.menu-item.menu-item-type-custom.menu-item-object-custom .avia-bullet {
  display: none;
}

.avia-bullet {
  display: none !important;
}

.menu-item-mega-parent li a {
  padding-left: 0 !important;
}

@media only screen and (min-width: 990px) {
  .menu__header--NP {
    font-weight: bold;
    color: #1d5c86;
  }
}
/* Hide excerpts on search result page */
body.search-results .entry-content {
  display: none;
}

/* Styling custom elements used on 'special' pages (employees, people, projects, publications, ...) */
.NP-button {
  border: none !important;
  font-family: "Lato", sans-serif;
  cursor: pointer;
  font-size: 95% !important;
}

.NP-button.grey {
  color: #757575 !important;
  background-color: #efefef;
}

.NP-button.blue {
  color: #ffffff !important;
  background-color: #00569d;
}

.NP-chkBox label {
  font-weight: normal !important;
  cursor: pointer;
  color: #1d5c86;
}

.NP-chkBox label:hover, .NP-chkBox label:focus {
  color: #d1480e;
}

.NP-chkBox > p {
  font-weight: bold;
  font-size: 1.1rem;
  border-left: 5px solid #d1480e;
  padding-left: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

.NP-searchWrap {
  width: 100%;
  background-color: #f8f8f8;
  /*border-radius: 10px;*/
}

.NP-searchDiv {
  max-width: 500px;
  margin: auto;
  padding: 3rem 0.5rem !important;
}

/* NP searchbox style */
.NP-searchDiv input#searchField {
  background-color: #ffffff !important;
  color: #666666 !important;
}

.NP-searchDiv input#searchField:focus {
  border: 1px solid #1d5c86;
}

.NP-searchDiv input[type=text] {
  margin-bottom: 0 !important;
}

.NP-toggler {
  /* background-color: $color-main-primary !important; */
  /* background-color: $color-main-bg-shade !important; */
  /* color: #fff !important; */
  text-align: center;
  font-weight: bold;
  color: #666666;
  border-bottom: 1px solid #e1e1e1 !important;
}

.NP-error-box {
  border: 1px solid grey;
  box-shadow: 0 0 10px grey;
  border-radius: 10px;
  padding: 0 20px 0 20px;
  background-color: #f4d5d0;
}

.NP-tabs-title span {
  font-size: 1.1rem;
}

/* NP tabs */
/*We shouldn't use these anymore*/
.NP-tabs {
  margin-bottom: 30px;
}

.NP-tabs .tab:hover {
  font-weight: bold;
}

.NP-tabs .tab {
  border: none;
  font-size: 1.1rem;
  /* background-color: $color-main-primary !important; */
  /* color: white !important; */
}

.NP-tabs .active_tab {
  border: none;
  font-size: 1.1rem;
  background-color: #164668 !important;
  /* color: white !important; */
}

.NP-tabs .active_tab_content {
  background-color: #164668 !important;
  /* color: white !important; */
  border: none;
  /* color: #111 !important; */
}

/**/
.NPtab {
  overflow: hidden;
  background-color: #f8f8f8;
  padding: 30px;
}

.NPtab-links {
  max-width: 980px;
  margin: auto;
  text-align: center;
}

/* Style the buttons inside the tab */
.NPtab button {
  display: inline-block;
  background-color: inherit;
  /* float: left;*/
  color: #606060;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 1.2rem;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
}

/* Change background color of buttons on hover */
.NPtab button:hover,
.NPtab button:focus {
  background-color: #ddd;
  color: #606060;
}

/* Create an active/current tablink class */
.NPtab button.active {
  color: #00569d;
  font-weight: bold;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 0px;
  max-width: 980px;
  margin: auto;
}

.tabcontent .flex_cell {
  display: block;
}

@media only screen and (max-width: 768px) {
  .tabcontent {
    padding: 6px 0;
  }
}
.NPtab-container .flex_cell {
  padding: 30px 0px;
  display: block;
}

.employeeListHeader {
  font-size: 2.25rem;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .alphabetMenu-container,
  .backToTop {
    display: none;
  }
}
.alphabetMenu {
  margin-top: 2.5em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.alphabetMenu > a {
  text-decoration: none;
  width: 50px;
  height: 50px;
  margin: 5px 5px;
  /*   border: 1px solid #ddd; */
  border-radius: 50%;
  background-color: #f8f8f8;
  text-align: center;
  padding-top: 9px;
  font-size: 25px;
  display: inline-block;
}

.alphabetMenu > a > li {
  list-style: none;
}

.alphabetMenu > a:focus,
.alphabetMenu > a:hover {
  background-color: #1d5c86;
  color: #ffffff;
  transition: 0.2s;
}

.backToTop {
  position: absolute;
  right: 5px;
  font-size: 1rem;
}

#container.NP-employees a {
  text-decoration: none;
}

#employeePubTabs_anchors,
#employeeProj_anchors {
  list-style-type: none;
  overflow: hidden;
  padding: 5px;
}

@media only screen and (min-width: 769px) {
  #employeePubTabs_anchors > li,
  #employeeProj_anchors > li {
    float: left;
  }
}
#employeePubTabs_anchors > li > a,
#employeeProj_anchors > li > a {
  display: inline-block;
  padding: 0px 40px 0px 0;
}

@media only screen and (max-width: 768px) {
  #employeeImg {
    max-width: 300px;
  }
}
@media only screen and (max-width: 767px) {
  #employeeTabs {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  #employeeToggles {
    display: none !important;
  }
}
/* Factsheet (sidebar)*/
.NP-factsheet-side,
.NP-factsheet-enfold,
.NP-factsheet {
  border: 1px solid;
  /* border-radius: 10px; */
  background-color: #f8f8f8;
  background-color: rgba(200, 200, 200, 0.1);
  /*color: #666;*/
  padding: 1em 2em;
  font-size: 1rem;
  line-height: 1.6em;
  margin-bottom: 20px;
}

/* .alternate_color .NP-factsheet-enfold a {color:orange;} */
.alternate_color .NP-factsheet-enfold {
  border-bottom: 1px solid #124f78;
}

.NP-factsheet-enfold,
.NP-factsheet {
  margin-bottom: 0;
}

.NP-factsheet-enfold,
.NP-factToggle {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.NP-factsheet-side > .title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  margin-top: 5px;
  /*margin-left: 10px;
   margin-right: 10px;*/
  padding: 7px 5px 7px 7px;
  /* text-align:center; */
  border-left: 5px solid #1d5c86 !important;
}

.NP-factsheet-enfold > .title,
.NP-factsheet > .title,
.NP-employeeCard > .title {
  /*color: inherit !important;*/
  /* position:relative; */
  font-size: 1.25rem;
  margin-bottom: 10px;
  margin-top: 5px;
  /* padding: 7px 5px 7px 7px; */
  text-align: center;
}

.NP-factsheet-enfold > .title + .hsep,
.NP-employeeCard > .title + .hsep {
  width: 75px;
  border-bottom: 2px solid #1d5c86;
  margin: auto;
}

.alternate_color .NP-factsheet-enfold > .title + .hsep,
.alternate_color .NP-employeeCard > .title + .hsep {
  width: 75px;
  border-bottom: 2px solid #7ae4ff;
  margin: auto;
}

.NP-factsheet-enfold > .title + .hsep-relevantlinks,
.NP-employeeCard > .title + .hsep-relevantlinks {
  width: 75px;
  border-bottom: 2px solid #fd9714 !important;
  margin: auto;
}

/* .NP-factsheet-enfold > .title:after, .NP-factsheet > .title:after {


   position: relative !important;
     content: "";
     width: 3em !important;
     width: 10% !important;
     /* margin: auto !important;
     left: 50% !important;
     transform: translateX(-50%) !important;
     display: block !important;
     margin-bottom: 10px;
     margin-top: 10px;
     border-bottom: 2px solid $color-main-primary !important;
 } */
.NP-factsheet-side:empty,
.NP-factsheet-enfold:empty {
  display: none;
}

.NP-factsheet-side > ul,
.NP-factsheet-enfold > ul {
  float: none !important;
  list-style-position: inside !important;
}

.NP-factsheet-side > ul > li,
.NP-factsheet-enfold > ul > li {
  list-style-type: disc;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Factsheet (normal)*/
.NP-factsheet {
  display: none;
}

@media screen and (max-width: 1024px) {
  .NP-factsheet {
    clear: both;
    display: block;
    border: 1px solid;
    background-color: #f8f8f8;
    background-color: rgba(200, 200, 200, 0.1);
    color: #666;
    /*padding: 10px 7px 10px 7px;*/
    font-size: 14px;
    /* margin-bottom: 20px !important; */
  }
  .NP-factsheet > ul {
    float: none !important;
    list-style-position: inside !important;
  }
  .NP-factsheet > ul > li {
    list-style-type: disc;
    margin-bottom: 10px;
    margin-left: 10px;
  }
}
.NP-factToggleNyheter,
.NP-factToggle {
  /*background-color: $color-main-bg-shade;*/
  /* margin-top: -50px; */
  margin-bottom: 20px !important;
  color: #757575;
  display: block;
  cursor: pointer;
  /* border-radius: 50%; */
  border: 1px solid #efefef;
  border-top: none;
  background-color: rgba(200, 200, 200, 0.1);
}

.NP-relevantLinks-blue {
  background-color: rgb(245, 246, 252);
  color: rgb(70, 113, 163);
  border-color: rgba(157, 173, 191, 0.3) !important;
}

.NP-relevantLinks-red {
  background-color: rgb(255, 248, 244);
  color: rgb(175, 44, 32);
  border-color: rgba(205, 161, 143, 0.3) !important;
}

.NP-relevantLinks-green {
  background-color: rgb(224, 241, 181);
  color: rgb(79, 95, 57);
  border-color: rgba(139, 175, 91, 0.3) !important;
}

.alternate_color .NP-relevantLinks-blue a {
  color: rgb(70, 113, 163) !important;
}

.NP-factToggle:hover {
  box-shadow: 0 0 0.5em #666;
  background-color: #1d5c86;
  border: 1px solid #1d5c86;
  border-top: none;
  color: white;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, border 0.4s;
}

.alternate_color .NP-factToggleNyheter,
.alternate_color .NP-factToggle {
  /*background-color: $color-main-bg-shade;*/
  /* margin-top: -50px; */
  margin-bottom: 20px !important;
  color: #fff;
  display: block;
  cursor: pointer;
  /* border-radius: 50%; */
  /* border: 1px solid #e1e1e1; */
  border-top: none;
  background-color: rgba(200, 200, 200, 0.1);
}

.alternate_color .NP-factToggle:hover {
  box-shadow: 0 0 0.5em #888;
  background-color: #eee;
  border: 1px solid #1d5c86;
  border-top: none;
  color: #1d5c86;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, border 0.4s;
}

.NP-relevantLinks-green:hover {
  background-color: rgb(79, 95, 57);
}

.NP-relevantLinks-red:hover {
  background-color: rgb(175, 44, 32);
}

.NP-relevantLinks-blue:hover {
  background-color: rgb(70, 113, 163);
}

.NP-factToggleNyheter > i,
.NP-factToggle > i {
  cursor: pointer;
  background-color: #f8f8f8;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
  padding: 10px;
  z-index: 5;
}

.NP-factToggleNyheter > i:hover,
.NP-factToggle > i:hover {
  box-shadow: 0 0 10px #e1e1e1;
}

/*NP searchbox*/
.NP-searchMain {
  margin: auto !important;
  /* width: 50% !important; */
  text-align: center !important;
}

.NP-searchMain > #searchform {
  margin: auto !important;
  max-width: 300px;
}

.NP-searchAdd {
  margin-top: 20px;
  text-align: center;
}

.NP-searchAdd .count-0 {
  opacity: 0.75;
}

.NP-searchAdd ul > a > li {
  display: inline-block;
  background-color: #1d5c86;
  color: #fff;
  margin: 10px 20px 0 20px;
  padding: 10px;
}

.NP-searchAdd ul > a > li:hover {
  background-color: #d1480e;
  transition: 0.2s;
}

.NP-searchAdd .count-0 > li:hover {
  background-color: #1d5c86;
}

.NP-searchAdd ul > a {
  color: inherit;
  text-decoration: none;
}

.NP-searchAdd ul > a:hover {
  color: inherit;
}

/* Separator for special needs*/
div.hsep {
  width: 50px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 30px;
  border-bottom: 5px dotted #1d5c86;
}

/* NP preamble (ingress)*/
.NP-pages-preamble-std {
  color: #222;
  color: rgba(51, 51, 51, 0.7);
  font-size: 1.3rem;
  line-height: 1.6;
  /* background-color: rgba(200, 200, 200, 0.1);
   padding: 0.5rem 1.5rem;
   font-size: 1.2rem; */
}

@media only screen and (max-width: 767px) {
  .NP-pages-preamble {
    color: #222;
    color: rgba(51, 51, 51, 0.7);
    font-size: 1.3rem;
    line-height: 1.6;
    /* background-color: rgba(200, 200, 200, 0.1);
     padding: 0.5rem 1.5rem;
     font-size: 1.2rem; */
  }
}
@media only screen and (min-width: 768px) {
  .NP-pages-preamble {
    display: none;
  }
}
@media only screen and (min-width: 768px) {
  .NP-pages-preamble-top {
    display: block;
    color: #000;
    text-align: left;
    font-size: 1.3rem;
    line-height: 1.6;
    text-shadow: 0 0 5px #fff;
    margin-top: 1.25em;
  }
  /* .NP-pages-preamble-noimg {
     color: #222;
     color: rgba(51,51,51,.7);
     font-size: 1.3rem;
     line-height: 1.6;
   } */
}
@media only screen and (max-width: 767px) {
  .NP-pages-preamble-top {
    display: none;
  }
}
.NP-pages-preamble + .hsep {
  width: 50px;
  margin: auto;
  margin-top: 40px;
  border-bottom: 5px dotted #1d5c86 !important;
  display: none;
}

/* NP relevant posts */
.NP-related-posts {
  margin-top: 1em;
}

/***/
/* NP relevant links box */
.NP-relevantLinks {
  clear: both;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  background-color: #f8f8f8;
  background-color: rgba(200, 200, 200, 0.1);
  border: 1px solid #e1e1e1;
  padding: 1em 35px 0.7em 35px;
}

.NP-relevantLinksTitle > p {
  /*background-color: #f3f3f3;*/
  /*border-radius: 10px 10px 0 0;*/
  /*padding: 1em 35px 0.7em 35px;*/
  /*color: inherit !important;*/
  font-weight: bold !important;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  /*margin-left: 10px;
   margin-right: 10px;*/
  padding: 10px 5px 10px 7px;
  border-left: 5px solid #FD9714;
}

.NP-relevantLinksContents {
  /*padding: 0 35px 10px 35px;*/
  font-size: 1rem;
}

.listEntry {
  padding: 0.9em 20px !important;
  border-bottom: 1px solid #ddd;
  margin-left: 0 !important;
}

.listEntry:hover {
  box-shadow: 0 0 5px #aaa;
  border-left: 5px solid #1d5c86;
  padding-left: 15px !important;
}

.matchInfo {
  font-size: 18px;
  color: #757575 !important;
}

.NP-pagesAuthor {
  font-size: 0.9rem;
  color: #757575;
  margin-top: 0.5em !important;
  margin-bottom: 2em !important;
}

/* Reference box */
.NP-referenceDiv {
  display: none;
  background-color: #f8f8f8;
  background-color: rgba(200, 200, 200, 0.1);
  padding: 20px 35px 0 35px;
  margin-top: 1.5em;
  margin-bottom: 1em;
  border: 1px solid rgb(225, 225, 225);
}

.NP-referenceDiv li {
  font-size: 14px;
}

@media only screen {
  #NPrefPrintLink {
    display: none;
  }
}
.NP-toc {
  background-color: #f8f8f8;
  color: #444;
  border: 1px solid;
  padding: 0 20px 20px 20px;
}

/* TOC+ */
.toc_toggle a {
  text-decoration: underline !important;
}

/*NP Tooltip*/
/*TODO: We use tippy.js now, remove code not needed*/
.NP-tooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 2px dotted;*/
  /*padding-bottom: 0px;*/
  cursor: help;
  text-decoration: underline dotted;
  margin-top: -0.3em;
}

.NP-tooltipmark {
  color: inherit;
  font-weight: bold;
}

.NP-tooltip:hover {
  /*border-bottom: 2px dotted;*/
  text-shadow: 0 0 1px #1d5c86;
  color: #1d5c86;
}

.NP-tooltip .NP-tooltiptext {
  visibility: hidden;
  font-size: 0.85rem;
  line-height: 1.5rem;
  width: 140px;
  margin-left: -70px;
  background-color: #333;
  color: #fff;
  text-align: center;
  /*border-radius: 6px;*/
  padding: 5px 3px;
  position: absolute;
  z-index: 10;
  bottom: 150%;
  left: 50%;
  margin-bottom: -18px;
  word-wrap: break-word;
  opacity: 0;
  transition: opacity 0.33s;
}

.NP-tooltip .NP-tooltiptext a {
  color: #83defc;
}

.NP-tooltip .NP-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.NP-tooltip:hover .NP-tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*Used mainly on species archive page*/
.card-left-box,
.card-right-box {
  display: inline-block;
  vertical-align: middle;
}

.card-right-box {
  padding-left: 20px;
}

.card-left-box img {
  /* display:block;
  max-width: 80px;
  max-height: 80px;
  width:80px;
  height:80px;
  border-radius: 50%; */
  display: block;
  min-width: 100%;
  min-height: 100%;
  margin: auto;
  position: absolute;
  top: -100%;
  right: -100%;
  bottom: -100%;
  left: -100%;
}

.card-left-box .frame-round {
  display: inline-block;
  vertical-align: top;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.card-left-box .crop {
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
}

@media only screen and (max-width: 768px) {
  .card-left-box,
  .card-right-box {
    display: block;
    text-align: center;
    padding-left: 0;
    text-decoration: none !important;
  }
}
.filters > div > p {
  color: inherit;
}

/*.filters > div > p > span {*/
.filterEntry > span {
  cursor: pointer;
  text-decoration: underline;
  color: #1d5c86;
}

.filterEntry > span:hover,
.filterEntry > span:focus {
  color: #d1480e;
}

.filterEntry > #filtersToggle:hover,
.filterEntry > #filtersToggle:focus {
  background-color: #dddddd;
}

.filterHeader {
  padding: 5px 0 5px 5px;
  border-left: 5px solid rgba(209, 73, 14, 0.8) !important;
  margin-bottom: 20px;
}

.filterHeader > strong {
  color: inherit;
}

/**/
/* Employee card */
.NP-employeeCard {
  background-color: rgba(200, 200, 200, 0.1);
  border: 1px solid;
  padding: 1em;
  margin-top: 15px;
  margin-bottom: 15px;
}

.alternate_color .NP-employeeCard em {
  color: rgba(255, 255, 255, 0.8) !important;
}

.NP-employeeCard .card-left-box img {
  top: -100%;
}

/**Header**/
.header_color .header_bg {
  background-color: rgba(255, 255, 255, 0.8);
}

.container_wrap {
  border-top: 0;
}

.head-bg {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* height: 60vh;  */
  height: 100vh;
  /*height: calc(100vh - 119px);*/
}

.head-bg-NP-frontpage {
  height: 800px;
}

@media screen and (max-width: 767px) {
  .head-bg {
    height: 100vh;
  }
}
.head-bg-caption {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 35%;
  width: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.75);
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

.head-bg-caption.NP-frontpage {
  background-color: rgba(0, 0, 0, 0.1);
  top: 0;
  min-width: 100%;
  min-height: 100%;
}

.head-bg-caption h1 {
  color: #111111;
  margin: 0;
  /* margin-top:5em; */
  font-size: 30px;
  letter-spacing: 5px;
  line-height: 150%;
  text-shadow: 0 0 0.2em #fff;
}

.head-bg-caption.NP-frontpage h1 {
  color: #fff;
  text-shadow: 0 0 0.2em #111111;
  font-size: 40px;
  margin-bottom: 1.2em;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  margin-top: 5em;
}

.head-bg-caption.NP-frontpage img {
  /* max-width: 250px; */
  /* max-height: auto; */
  width: auto;
  height: 20vh;
  margin-bottom: 1.2em;
  margin-top: 30vh;
}

.head-bg-caption.NP-frontpage .NP-tagline {
  font-size: 26px;
  color: #eee;
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
  font-family: "Lato", sans-serif;
  text-shadow: 0 0 4px #111;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 540px) {
  .head-bg-caption h1 {
    font-size: 25px;
  }
  .head-bg-caption.NP-frontpage h1 {
    font-size: 28px;
  }
  .head-bg-caption.NP-frontpage img {
    margin-top: 6em;
  }
  .head-bg-caption.NP-frontpage .NP-tagline {
    font-size: 18px;
    /* text-align: left; */
  }
}
.head-bg-credits {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.1em 0.6em;
  color: #111111;
  background-color: rgba(255, 255, 255, 0.75);
  font-size: 0.8em;
}

@media only screen and (max-width: 767px) {
  .head-bg-credits {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 0.6em;
    /* font-size: 0.7em; */
  }
}
/* Custom styles for buttons */
.text-medium a {
  font-size: 20px !important;
}

.color-orange .avia-button-fullwidth,
.color-orange a {
  background-color: rgb(253, 151, 20) !important;
}

.color-orange .avia-button-fullwidth:hover,
.color-orange a:hover {
  opacity: 1 !important;
  background-color: rgba(253, 151, 20, 0.5) !important;
  transition: box-shadow, opacity, background-color 0.3s !important;
}

.color-green .avia-button-fullwidth,
.color-green a {
  background-color: rgb(0, 142, 77) !important;
}

.color-green .avia-button-fullwidth:hover,
.color-green a:hover {
  opacity: 1 !important;
  background-color: rgba(0, 142, 77, 0.5) !important;
  transition: box-shadow, opacity, background-color 0.3s !important;
}

.color-red .avia-button-fullwidth,
.color-red a {
  background-color: rgb(205, 55, 0) !important;
}

.color-red .avia-button-fullwidth:hover,
.color-red a:hover {
  opacity: 1 !important;
  background-color: rgba(205, 55, 0, 0.5) !important;
  transition: box-shadow, opacity, background-color 0.3s !important;
}

.color-blue .avia-button-fullwidth,
.color-blue a {
  background-color: rgb(22, 104, 162) !important;
}

.color-blue .avia-button-fullwidth:hover,
.color-blue .avia-button-fullwidth:focus,
.color-blue a:hover,
.color-blue a:focus {
  opacity: 1 !important;
  background-color: rgba(22, 104, 162, 0.5) !important;
  transition: box-shadow, opacity, background-color 0.3s !important;
}

.color-blue a:focus {
  border: 2px dotted orange !important;
}

/* Custom CTA button (used on footer) */
.NP-cta-alt {
  text-align: center;
}

.NP-cta-alt .avia-button {
  font-size: 1.25em !important;
  padding: 1em 1em !important;
  margin-top: 1em !important;
  width: 100%;
  max-width: 200px;
  background-color: #d1480e !important;
  border: none !important;
  color: #fff !important;
  min-width: unset !important;
}

.NP-cta-alt .avia-button:hover, .NP-cta-alt span:hover,
.NP-cta-alt .avia-button:focus, .NP-cta-alt span:focus {
  background-color: #fff !important;
  color: #1d5c86 !important;
  transition: 0.3s !important;
}

#footer .container {
  font-size: 0.8em !important;
}

#footer .container a {
  text-decoration: none;
}

#socket ul.social_bookmarks {
  font-size: 2em !important;
}

#socket ul.social_bookmarks li {
  margin: 0 0.33em !important;
}

@media only screen and (max-width: 767px) {
  #footer .widget {
    margin: 0 0 0 0 !important;
  }
}
.NP-event-info {
  text-align: center;
  font-size: 1.05em;
  color: #444;
}

/* Switch */
.NP-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.NP-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.NP-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.NP-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .NP-slider {
  background-color: #2196F3;
}

input:focus + .NP-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .NP-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*End switch*/
/* NP warning */
.NPwarning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
  padding: 0.5em;
  font-size: 90%;
}

/* Products (WooCommerce) */
.product_meta {
  font-size: 0.8em !important;
}

.woocommerce-grouped-product-list td {
  text-align: left;
  padding-left: 1em !important;
  padding-right: 1em !important;
}

.product-sorting {
  display: none;
}

.related.products h2 {
  color: #fff;
}

#top.single-product .related.products h2.woocommerce-loop-product__title {
  color: #111;
}

#main #footer h3 {
  color: #fff;
}

#main #footer a {
  color: #7ae4ff;
}

#main #footer a:hover,
#main #footer a:focus {
  color: #fecc86;
}

@media only screen and (max-width: 540px) {
  .woocommerce-grouped-product-list.group_table {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
  }
}
.cart_dropdown_link {
  background-color: rgba(255, 255, 255, 0) !important;
}

cart_dropdown {
  border: none !important;
}

.woocommerce-breadcrumb {
  font-size: 0.85em;
  padding-top: 0;
  padding-bottom: 2em;
}

.related.products {
  display: none;
}

.up-sells.upsells.products > h2 {
  color: white;
}

/* Fix to Woocommerce - Enfold 4.7 problems */
.widget_product_categories a, .widget_product_tag_cloud a {
  color: #1d5c86 !important;
}

.wc-tabs a, #tab-additional_information tr:nth-child(2n) {
  color: #111 !important;
}

.variations_form select, .variations_form input {
  color: #111 !important;
}

.cart input {
  color: #111 !important;
}

.product-meta span.posted_in, .product-meta span.tagged_as {
  color: #111 !important;
}

/* The calendar event manager */
.tribe-events-title-bar {
  margin-bottom: 100px;
}

.tribe-events-meta-group.tribe-events-meta-group-organizer {
  margin-bottom: 30px !important;
  width: 100% !important;
}

.tribe-events-meta-group.tribe-events-meta-group-details {
  width: 100% !important;
}

/* Style Gutenberg gallery - Hide caption on figure */
.wp-block-gallery figcaption {
  visibility: hidden;
}

.avia_transform .wp-block-gallery a:hover .image-overlay {
  opacity: 0 !important;
}

/*Style Gutenberg image*/
.wp-block-image {
  background-color: rgba(225, 225, 225, 0.2);
  border: 1px solid #efefef;
  padding: 0.5em;
}

.wp-block-image figcaption {
  text-align: left;
  color: #111111;
  font-size: 0.85rem;
  line-height: 1.6em;
}

/*Atomicblock accordion style*/
.ab-block-accordion.np-f {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.ab-block-accordion.np-f .ab-accordion-title {
  background-color: rgba(200, 200, 200, 0.2);
}

.ab-block-accordion.np-f .ab-accordion-title:hover,
.ab-block-accordion.np-f .ab-accordion-title:focus {
  background-color: #ddd;
  transition: 0.4s;
  cursor: pointer;
}

.ab-block-accordion.np-f .ab-accordion-text {
  margin-top: 0;
  border-left: 2px solid rgba(200, 200, 200, 0.2);
  border-right: 2px solid rgba(200, 200, 200, 0.2);
  border-bottom: 2px solid rgba(200, 200, 200, 0.2);
  font-size: 1rem;
}

/* Accessibility */
/*Woocommerce*/
.container_wrap a:focus {
  text-decoration: underline !important;
  color: #d1480e;
}

.entry-summary a {
  text-decoration: underline !important;
}

.quantity input.minus:focus,
.quantity input.plus:focus {
  background-color: #00569d !important;
  color: #ffffff !important;
}

/**/
.header_color a:focus {
  color: #d1480e;
}

.avia_wpml_language_switch a:focus {
  opacity: 0.7;
  background-color: #f8f8f8;
}

.header_color .main_menu .menu ul li a:focus,
.header_color .av-subnav-menu ul a:focus {
  background-color: #f8f8f8;
}

#top .header_color .main_menu .menu ul li > a:focus {
  color: #00569d;
}

.header_color .main_menu ul:first-child > li a:focus {
  color: #00569d;
}

#top #header .mega_menu_title a:focus {
  text-decoration: underline;
}

.avia_textblock a:focus {
  color: #d1480e;
}

.footer_color a:focus {
  color: #fecc86;
}

.alternate_color a:focus {
  color: #fecc86;
}

.cart_dropdown_link:focus,
.cart_dropdown_link:hover {
  background-color: #f8f8f8 !important;
  color: #d1480e !important;
}

.avia-button:focus {
  opacity: 0.8;
  text-decoration: underline;
}

.av-section-tab-title:focus {
  text-decoration: underline !important;
}

#skiptomain a {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  font-size: 120%;
}

#skiptomain {
  text-align: center;
}

#skiptomain a:focus {
  position: static;
  width: auto;
  height: auto;
  color: #ffffff;
  padding: 20px;
  /* margin:20px; */
  line-height: 65px;
  background-color: #990000;
}

#toc_container a:hover,
#toc_container a:focus {
  color: #C8460E;
}

/****/
.p-intro {
  font-style: italic;
}

.p-inst-name {
  display: block;
  font-size: 0.8em;
  margin: 0.3rem 0;
}

.p-title {
  font-size: 1.3em;
  margin: 0 0;
}

.p-subtitle {
  font-size: 1.1em;
  margin: 0 0;
}

.p-text-em {
  font-style: italic;
}

.page-person .entry {
  display: none !important;
} 