.home .main {
  padding-top: 0px;
}
.nav-list-item.active .subnav {
  display: flex;
  opacity: 1;
  height: auto;
}
.nav-list-item.active .nav-arrow {
transform: rotate(360deg);
}
.subnav {
  display: none;
  opacity: 0;
  height: 0px;
  transition: opacity 0.3s ease;
}
.subnav::before, .subnav::after {
  background-color: #FFF;
  height: 100%;
  width: 500%;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
}
.subnav::before {
  left: -500%;
}
.subnav::after {
  right: -500%;
}
.ansatt-telefon {
  margin: 0;
}
.image {
  height: auto;
}
.nav-list-link.w--current, .nav-list-link.w--inpath {
  border-bottom-color: var(--blue);
}
.subnav-link.w--current {
  text-decoration: underline;
}
.news-nav-link.current, .news-nav-link.active {
  background-color: var(--light-blue);
  font-weight: 700;
}
.prognose-tabell-wrapper table {
  width: 100%;
}
.prognose-tabell-wrapper table th {
  border-bottom: 3px solid #000;
  font-size: 17px;
  cursor: pointer;
  user-select: none;
}
.prognose-tabell-wrapper table td {
  padding: 5px;
  text-align: center;
}
.prognose-tabell-wrapper tbody tr:nth-child(odd) {
    background-color: #f0f0f0;
}
.prognose-pagination ul {
  list-style-type: none;
  padding: 0;
  margin: 30px 0 0 0;
}
.prognose-pagination ul li {
  display: inline-block;
  text-align: center;
}
.prognose-pagination ul li a {
  display: block;
  padding: 3px;
  min-width: 30px;
}
.prognose-pagination ul li span {
  display: block;
  padding: 3px;
  background: #000;
  color: #FFF;
  border-radius: 30px;
  min-width: 36px;
}

/* Skjema - gravity forms tilpasninger */

.gform_wrapper {
  padding: 30px;
  border-radius: 5px;
  background: #FFF;
}
.ginput_container input, .ginput_container select, .ginput_container textarea {
  border-radius: 5px;
  border: 1px solid #999;
  padding: 15px !important;
  height: auto;
  font-size: 17px !important;
}
.gfield_label {
  margin: 0;
}
.gform_wrapper.gravity-theme .gfield_required {
    color: #F15946;
}
.gform_footer .button {
    border-color: var(--primary);
    background-color: var(--transparent);
    color: var(--primary);
    padding-right: 40px;
    cursor: pointer;
}
.gform_footer .button:hover {
    background-color: var(--primary);
    color: var(--secondary);
}
.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 992px) {
  .hero {
    margin-bottom: 30px !important;
  }
}
@media screen and (max-width: 767px) {
  .gform_wrapper {
    padding: 10px;
  }
  .ginput_container input, .ginput_container select, .ginput_container textarea {
    padding: 8px !important;
  }
}
.login-error {
    margin-bottom: 1rem;
}

/* WooCommerce */

.content-area {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 70px 15px 0;
}
.related {
  clear: both;
}
.woocommerce-breadcrumb {
  display: none;
}
.woocommerce ul.products li.product {
    text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    line-height: normal;
}
.variations_button {
  margin-top: 15px;
}
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button {
    border: 1px solid var(--black);
    background-color: var(--hvit);
    color: var(--black);
    border-radius: 30px;
    margin-bottom: 15px;
    margin-right: 15px;
    padding: 10px 25px;
    font-weight: 500;
    line-height: 30px;
}
.woocommerce div.product form.cart .button {
    background-color: #00A878;
    color: var(--hvit);
    border-color: #00A878;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce div.product form.cart .button:hover {
    background-color: var(--dark-blue);
    color: var(--hvit);
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .price {
    color: var(--dark-blue) !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}
.woocommerce div.product form.cart .variations select {
  border-radius: 50px;
  padding: 0 20px;
}
.woocommerce .quantity .qty {
  height: 52px;
  line-height: 52px;
  border-radius: 50px;
}
.wp-block-button__link:hover {
    color: var(--hvit) !important;
    background-color: var(--dark-blue) !important;
}
.frame.yellow {
  background-color: var(--light-yellow);
  margin-top: 30px;
  padding-top: 70px;
  padding-bottom: 40px;
}
.custom-table, .new-table {
    min-width: 950px;
}
.custom-table td, .new-table td {
    text-align: center;
}
.custom-table td:first-child, .custom-table th:first-child {
    text-align: left;
    width: 400px;
}
.details-row {
    display: none;
    font-size: 0.9em;
}

.toggle-btn {
    cursor: pointer;
    width: 50%;
}

.show-details {
    cursor: pointer;
    background: transparent;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: underline;
}
.wp-block-table.is-style-stripes tbody tr.toggle-row {
    background-color: #FFF;
    border-top: 2px solid #f0f0f0;
}
.list-item .search-form {
    margin-top: 0px;
    margin-bottom: 0px;
}
.copyright-link {
  cursor: pointer;
}