/*
Theme Name: Robinet
Theme URI: http://www.osberget.no/
Author: Maxim Kukulinsky at RASAMAX SIA
Author URI: http://www.osberget.no/
Description: Robinet Wordpress theme
Version: 1.0.0
Tags: robinet osberget rasamax
Text Domain: robinet
*/
/**
 * Reset CSS instead of Normalize inside of Bootstrap
 */
/* Page commons */
.primary-menu li a {
  position: relative;
  text-decoration: none;
  color: white;
}
.primary-menu li a:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  display: block;
  width: 100%;
  height: 0;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease 0s;
}
.primary-menu li a:hover:after {
  transform: translateX(-50%) scaleX(1);
}
.primary-menu li.current-menu-item a {
  color: var(--bs-yellow);
}
.primary-menu li.current-menu-item a:after {
  transform: translateX(-50%) scaleX(1);
}
.primary-menu li.current-menu-item a[href^="/#"]:after {
  transform: translateX(-50%) scaleX(0);
}
.primary-menu li.current-menu-item a[href^="/#"]:hover:after {
  transform: translateX(-50%) scaleX(1);
}
.primary-menu li.btn a:after {
  content: none;
}
.primary-menu li.btn.current-menu-item {
  color: var(--bs-yellow);
}
.primary-menu li.black-btn-color a {
  color: black;
}

@media screen and (max-width: 1199px) {
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bs-primary);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, visibility 0s;
  }
  .primary-menu > li {
    display: block;
    margin: 20px;
  }
  .primary-menu.expanded {
    max-height: 1000px;
    transition: max-height 0.5s, visibility 0s 0.5s;
  }
}
.menu-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}

.line {
  fill: none;
  stroke: white;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}

.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

:where(div, li).mega-menu-toggle {
  position: relative;
}
:where(div, li).mega-menu-toggle:after {
  content: "";
  display: block;
  position: absolute;
  height: 10px;
  width: 10px;
  right: 20px;
  top: 10px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  transform: rotate(45deg);
}
@media screen and (min-width: 1200px) {
  :where(div, li).mega-menu-toggle:after {
    right: -20px;
  }
}
@media screen and (min-width: 1400px) {
  :where(div, li).mega-menu-toggle:after {
    right: -30px;
  }
}

.menu-heading > a {
  pointer-events: none;
}

@media screen and (min-width: 1200px) {
  .menu-heading-xl > a {
    pointer-events: none;
  }
}
html {
  scroll-behavior: smooth;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.alignleft {
  float: left;
  margin: 0 20px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 20px;
}

.aligncenter {
  margin: 0 auto 10px auto;
  display: block;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 60px;
  font-weight: bold;
  color: var(--bs-blue);
  font-size: 30px;
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    margin-top: 30px;
    font-size: 25px;
  }
}
/* Hide Google reCaptcha after 1s */
@keyframes hide_after_1s {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}
.grecaptcha-badge {
  animation-name: hide_after_1s;
  animation-delay: 3s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

#footer {
  background-image: url("images/footer-bg.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100%;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  opacity: 1;
  margin-right: 10px;
}
.carousel-indicators .active {
  background-color: var(--bs-yellow);
}

@media (min-width: 768px) {
  .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 28px;
  }
}
/* Katalog table style */
.block-html_table table {
  width: 100%;
  border-collapse: collapse;
}
.block-html_table table th {
  background: #c8c6e0;
}
.block-html_table table th,
.block-html_table table td {
  padding: 5px 5px;
  border: 1px solid black;
}
.block-html_table table tr:nth-child(odd) {
  background: #f0f3f5;
}
.block-html_table p {
  font-size: 12px;
  margin: 10px 0;
}
.block-html_table p:first-child {
  margin-top: 0;
}
.block-html_table p:last-child {
  margin-bottom: 0;
}

.breadcrumb_last {
  color: var(--bs-yellow);
}

.selected-row {
  background-color: rgba(45, 46, 131, 0.2) !important;
  transition: background-color 0.3s ease;
}

body .lg-object,
body .lg-thumb-item {
  background: white;
}
body .lg-backdrop {
  background-color: #fff;
}
body .lg-toolbar .lg-icon {
  color: #000;
}
body .lg-toolbar .lg-icon:hover {
  color: #fff;
}
body .lg-toolbar {
  background-color: rgba(0, 0, 0, 0.15);
}
body .lg-actions .lg-next,
body .lg-actions .lg-prev {
  background-color: rgba(0, 0, 0, 0.15);
}

.lang-item-en img {
  content: url("images/english_flag.svg");
  width: 30px !important;
  height: 20px !important;
}

.lang-item-nb img {
  content: url("images/norway_flag.svg");
  width: 30px !important;
  height: 20px !important;
}

@media print {
  body,
  .block-html_table table :is(th, td) {
    font-size: 12px;
  }
  .block-html_table table :is(th, td) {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 3px;
    padding-right: 3px;
    line-height: 1;
    border-color: #a1a1a1;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  h3, .h3 {
    font-size: 1.25rem;
  }
}
:root {
  --wp-edit-button-primary: #fff;
  --wp-edit-button-secondary: #2d2e83;
}