/*
Theme Name: Volda Maskin
Theme URI: http://www.osberget.no/
Author: Hildegunn Welle at Osberget, Maxim Kukulinsky and Andrejs Fokins at RASAMAX SIA
Author URI: http://www.osberget.no/
Description: voldamaskin Wordpress theme
Version: 0.0.20
Tags: voldamasking osberget rasamax
Text Domain: voldamaskin
*/
/**
 * Reset CSS instead of Normalize inside of Bootstrap
*/
/* Page commons */
/*

Header and Menu

*/
header a {
  text-transform: uppercase;
}

.header-button a {
  color: white;
  background-color: var(--bs-primary);
  padding: 15px 25px;
  transition: all 0.7s;
  text-transform: uppercase;
}
.header-button a:hover {
  background-color: #ac202e;
  color: white;
}
.header-button.current-menu-item a {
  background-color: #ac202e !important;
  color: white;
}

@media (min-width: 1201px) {
  .header .primary-menu a {
    text-decoration: none;
    border-bottom: none;
  }
  .header .primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    width: auto;
    background: white;
    z-index: 999;
    color: var(--bs-dark);
    white-space: nowrap;
    font-size: 16px;
    padding: 0px 20px;
    transform: translateX(-20px);
  }
  .header .primary-menu .sub-menu a {
    color: var(--bs-dark);
  }
  .header .primary-menu .sub-menu ul {
    list-style: none;
    padding-left: 0;
    -moz-columns: 1;
         columns: 1;
  }
  .header .primary-menu .sub-menu ul li {
    line-height: 2;
  }
  .sub-menu-checkbox-label img {
    display: none;
  }
}
@media (max-width: 767px) {
  .primary-menu {
    padding: 30px 20px !important;
  }
}
@media (max-width: 1200px) {
  .header-button {
    margin-top: 40px;
  }
  .header-facebook {
    display: none;
  }
  .menu-wrapper {
    z-index: 999;
  }
  .sub-menu-title {
    display: none;
  }
  .sub-menu-checkbox-back-label {
    display: inline-block;
  }
  .primary-menu {
    background: var(--bs-dark);
    padding: 30px 50px;
    z-index: 999;
    height: 100vh;
    overflow: hidden;
    min-width: 300px;
  }
  .primary-menu > li {
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }
  .primary-menu > li:not(.header-button) > a:not(.facebook-mobile) {
    background-position: bottom left;
    background-repeat: repeat no-repeat;
    background-image: url("./images/border-bottom-white.svg");
    padding-bottom: 5px;
  }
  .primary-menu *:not(.header-button) a {
    color: white !important;
    text-decoration: none;
  }
  .primary-menu .sub-menu-checkbox:checked ~ .sub-menu {
    max-height: 1000px;
    padding: 0px 0 0 0;
  }
  .primary-menu .sub-menu {
    display: block;
    position: relative !important;
    width: auto;
    padding: 0;
    color: white;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
  }
  .primary-menu .sub-menu ul {
    -moz-columns: unset;
         columns: unset;
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
  }
  .primary-menu .sub-menu ul > li {
    padding-bottom: 5px;
    margin-bottom: 15px;
  }
  .primary-menu .sub-menu ul > li a {
    color: white !important;
    font-size: 18px;
    text-decoration: none;
    text-transform: none;
  }
  #menu-checkbox:checked ~ .menu-wrapper {
    max-width: 1000px;
  }
  #menu-checkbox:checked ~ .menu-wrapper .primary-menu {
    width: 100%;
  }
  .menu-wrapper {
    max-width: 0px;
    transition: max-width 0.7s;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
  }
  .menu-button-container-mobile {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .menu-button-mobile::before {
    display: block;
    background-color: var(--bs-primary);
    position: absolute;
    height: 5px;
    width: 30px;
    transform: rotate(-45deg);
  }
  .menu-button-mobile::after {
    display: block;
    background-color: var(--bs-primary);
    position: absolute;
    height: 5px;
    width: 30px;
    transform: rotate(45deg);
  }
  .menu-button-mobile {
    display: block;
    height: 13px;
    width: 18px;
    position: relative;
  }
  .menu-button-mobile::before,
  .menu-button-mobile::after {
    content: "";
  }
  #menu-checkbox-mobile:checked + .menu-button-container-mobile .menu-button {
    background: rgba(255, 255, 255, 0);
  }
  .menu-icon {
    bottom: -10%;
    right: -10%;
    z-index: -1;
  }
}
/* Menu button - static hamburger */
.menu-button-container {
  display: none;
  height: 100%;
  width: 82px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-light .menu-button {
  background-color: var(--bs-dark);
}
.header-light .menu-button::before, .header-light .menu-button::after {
  background-color: var(--bs-dark);
}

.sub-menu-checkbox-label img {
  width: 10px;
  height: 10px;
  transform: rotate(-90deg);
  transition: transform 0.7s;
}

.sub-menu-checkbox:checked ~ .sub-menu-checkbox-label img {
  transform: rotate(0deg);
}

body.admin-bar .menu-wrapper {
  top: var(--wp-admin--admin-bar--height);
}

.lSPrev, .lSNext {
  display: none !important;
}

#frontPageSlider .lSPrev, #frontPageSlider .lSNext {
  display: none !important;
}
#frontPageSlider .container {
  transform: translateY(-50%);
}
#frontPageSlider .bg-light-gray {
  width: 1160px;
}
#frontPageSlider .lSPager {
  display: none !important;
}
#frontPageSlider .sliderPrev, #frontPageSlider .sliderNext {
  cursor: pointer;
}
#frontPageSlider .sliderPrev {
  transform: rotate(180deg) translateY(5px);
}

@media (min-width: 577px) and (max-width: 1200px) {
  #frontPageSlider .bg-light-gray {
    width: 100%;
  }
}
@media (min-width: 768px) {
  #frontPageSlider .imgContainer {
    height: 678px;
  }
  #frontPageSlider .sliderNext {
    transform: translateY(-10px);
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  #frontPageSlider .container {
    transform: translateY(-30%) !important;
  }
}
@media (min-width: 577px) and (max-width: 767px) {
  #frontPageSlider .imgContainer {
    height: 400px;
  }
  #frontPageSlider .sliderPrev svg, #frontPageSlider .sliderNext svg {
    height: 15px;
  }
  #frontPageSlider .sliderNext {
    transform: translateY(-3px);
  }
  #frontPageSlider .sliderPrev, #frontPageSlider .sliderNext {
    width: 20px;
    height: 20px;
    position: relative;
    top: 50%;
    background-position: center;
    cursor: pointer;
  }
  #frontPageSlider .sliderPrev {
    left: 0;
    transform: rotate(180deg) translateY(-3px);
    margin-right: 10%;
  }
  #frontPageSlider .sliderNext {
    right: 0px;
    margin-left: 10%;
  }
}
@media (max-width: 576px) {
  #frontPageSlider .container {
    transform: translateY(0%) !important;
  }
  #frontPageSlider .imgContainer {
    height: 40vh;
  }
  #frontPageSlider .lSPager {
    display: block !important;
    position: relative;
    z-index: 10;
    margin-top: 10px;
  }
  #frontPageSlider .sliderArrows.Mobile.sliderPrev, #frontPageSlider .sliderArrows.Mobile.sliderNext {
    position: absolute;
    bottom: 0;
    z-index: 99;
  }
  #frontPageSlider .sliderArrows.Mobile.sliderPrev svg, #frontPageSlider .sliderArrows.Mobile.sliderNext svg {
    width: 20px;
    height: 20px;
  }
  #frontPageSlider .sliderArrows.Mobile.sliderPrev {
    left: 20px;
    transform: none;
  }
  #frontPageSlider .sliderArrows.Mobile.sliderPrev svg {
    transform: rotate(180deg);
  }
  #frontPageSlider .sliderArrows.Mobile.sliderNext {
    right: 20px;
    transform: none;
  }
  #frontPageSlider .lSPager {
    margin-top: 25px !important;
  }
}
.lSPager a {
  border-bottom: none;
  background-color: #E3E3E3 !important;
  width: 6px !important;
  height: 6px !important;
}

.lSPager .active a {
  border-bottom: none;
  background-color: var(--bs-dark-gray) !important;
}

footer .lSPrev, footer .lSNext {
  display: none !important;
}
footer .sliderPrev, footer .sliderNext {
  position: absolute;
  z-index: 10;
  color: white;
  cursor: pointer;
}
footer .sliderPrev {
  bottom: 30%;
  left: 20px;
  transform: rotate(180deg);
  transform-origin: center;
}
footer .sliderNext {
  bottom: 30%;
  right: 20px;
  transform: translateY(-3px);
}

#location-archive .lSPrev, #location-archive .lSNext {
  display: none !important;
}
#location-archive .sliderPrev, #location-archive .sliderNext {
  position: absolute;
  z-index: 10;
  cursor: pointer;
}
#location-archive .sliderPrev {
  bottom: 50%;
  left: -60px;
  transform: rotate(180deg);
}
#location-archive .sliderNext {
  bottom: 50%;
  right: -60px;
}

@media (max-width: 991px) {
  #location-archive .sliderPrev {
    bottom: 50%;
    left: 20px;
    transform: rotate(180deg);
    color: white;
  }
  #location-archive .sliderNext {
    bottom: 50%;
    right: 20px;
    color: white;
  }
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: black;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

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

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

#projectList.listView #listbtn,
#projectList.mapView #mapbtn {
  background-position: bottom left;
  background-repeat: repeat no-repeat;
  background-image: url("images/border-bottom-red.svg");
  padding-bottom: 5px;
}

.text-underline {
  position: relative;
  background-position: 0px 100%;
  background-repeat: repeat-x;
  padding-bottom: 4px;
  transition: background-position 0.5s;
}
.text-underline:hover {
  background-image: none !important;
}

.text-underline.white {
  background-image: url("images/border-bottom-white.svg");
}

.text-underline.red {
  background-image: url("images/border-bottom-red.svg");
}

a {
  transition: all 0.7s;
  color: black;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
a:hover {
  color: black;
}

@media (min-width: 768px) {
  .container {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}
.text-decoration-underline {
  border-bottom: none !important;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  margin: auto;
  display: block;
}

.position-cover {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.om-oss-menu-width {
  width: 100%;
}

@media (min-width: 991px) {
  .om-oss-menu-width {
    max-width: 400px;
  }
}
.service-icon-width {
  width: 100%;
}

@media (min-width: 991px) {
  .service-icon-width {
    max-width: 400px;
  }
}
.btn-primary {
  background-color: var(--bs-primary);
  color: white;
  padding: 10px 25px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.7s;
  border: 2px dashed transparent;
}
.btn-primary:hover {
  color: var(--bs-primary) !important;
  background: transparent;
  border: 2px dashed var(--bs-primary);
}

.btn {
  border: none !important;
}

.text-404 {
  font-size: 300px;
  letter-spacing: 10px;
  line-height: 0.57;
}

#a404-2 {
  transform-origin: bottom;
  animation-name: rotate2;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 3s;
  animation-iteration-count: 1;
  z-index: -1;
}

@keyframes rotate2 {
  0% {
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(0.77, 0.24, 0.26, 1);
  }
  60% {
    transform: rotate(220deg);
    animation-timing-function: cubic-bezier(0.77, 0.24, 0.26, 1.81);
  }
  100% {
    transform: rotate(180deg);
  }
}
@media (max-width: 991px) {
  .text-404 {
    font-size: 200px;
  }
}
@media (max-width: 767px) {
  .text-404 {
    font-size: 100px;
  }
}
.gm-style-iw-tc {
  display: none;
}

.wpcf7 input:not(input[type=submit]):not(input[type=checkbox]) {
  width: 100%;
  background-color: white;
  border: none;
  border-bottom: 3px solid var(--bs-darker);
  padding: 13px;
}
.wpcf7 textarea {
  width: 100%;
  background-color: white;
  border: none;
  border-bottom: 3px solid var(--bs-darker);
  padding: 13px;
}
.wpcf7 input[type=file] {
  border-bottom: none !important;
  background-color: transparent !important;
}
.wpcf7 input[type=file]::-webkit-file-upload-button, .wpcf7 input[type=file]::file-selector-button {
  display: none;
}
.wpcf7 input[type=checkbox] {
  -webkit-appearance: none;
  border: 1px solid var(--bs-darker);
  padding: 0;
  position: absolute;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: white;
  margin: 0;
  border-radius: 0;
}
.wpcf7 input[type=checkbox]:before {
  content: "";
  display: block;
  width: 7px;
  height: 15px;
  border-right: 2px solid var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
  transform: translate(8px, 2px) rotate(45deg);
  transition: opacity 0.25s;
  opacity: 0;
}
.wpcf7 input[type=checkbox]:checked:before {
  opacity: 1;
}
.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.5;
}
.wpcf7 .wpcf7-list-item {
  margin-left: 0;
  margin-top: 30px;
}
.wpcf7 .wpcf7-list-item span.wpcf7-list-item-label {
  margin-left: 40px;
}
.wpcf7 .form-text-input-container {
  margin-bottom: 35px;
}

.pagination .nav-links {
  display: flex;
}

.pagination span, .pagination a {
  padding: 10px 20px;
  background-color: var(--bs-secondary);
  border-bottom: 3px dashed var(--bs-primary);
  color: var(--bs-dark);
  text-decoration: none;
  margin-right: 15px;
  transition: background-color 0.7s, color 0.7s, border-bottom 0.7s;
  font-size: 16px !important;
}

.pagination span.current {
  padding: 10px 20px;
  color: white;
  background-color: var(--bs-primary);
  text-decoration: none;
  margin-right: 15px;
}

.pagination a:hover {
  background-color: var(--bs-primary);
  color: white;
  border-bottom: 3px dashed transparent;
}

#breadcrumbs > span > span > a {
  border-bottom: none;
  color: var(--bs-dark);
}

#breadcrumbs a {
  border-bottom: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  color: var(--bs-darker);
  font-size: 16px !important;
}

#breadcrumbs a, #breadcrumbs .breadcrumb_last {
  margin: 0 10px;
}

#breadcrumbs > span > span > a {
  margin-right: 10px;
  margin-left: 0;
}

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

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin-top: 60px;
  font-weight: 500;
  font-size: 30px;
  margin-bottom: 30px;
}
.post-content ul {
  font-size: 18px;
  margin-top: 35px;
  padding: 0 16px;
}
.post-content ul li {
  list-style-image: url("images/morethan_list.svg");
  line-height: 2;
  padding-left: 20px;
}
.post-content a {
  font-weight: 500;
  font-size: 18px;
  background-position: bottom left;
  background-repeat: repeat no-repeat;
  background-image: url("images/border-bottom-red.svg");
  padding-bottom: 5px;
}
.post-content p {
  font-size: 18px;
}

@media (max-width: 991px) {
  .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    margin-top: 40px;
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 20px;
  }
  .post-content a {
    font-size: 16px;
  }
  .post-content ul {
    font-size: 16px;
  }
  .post-content p {
    font-size: 16px;
  }
}
#closeBtn {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
}
#closeBtn::before {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background-color: var(--bs-primary);
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}
#closeBtn::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background-color: var(--bs-primary);
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

#map-card {
  top: 40px;
  left: 40px;
}

#frontPageServices .container {
  margin-top: 120px;
  margin-bottom: 175px;
}

#projectList .map {
  height: 865px;
}

@media (max-width: 991px) {
  #frontPageServices .container {
    margin-top: 93px;
    margin-bottom: 126px;
  }
  #projectList .map {
    height: 420px;
  }
}
@media (max-width: 767px) {
  #map-card {
    top: 0px;
    left: 0px;
  }
}
#projectList.mapView #list,
#projectList.listView .map {
  display: none;
}

#btn-back-to-top {
  position: fixed;
  bottom: -60px;
  right: calc((100% - 1538px) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  box-shadow: 4px 5px 15px rgba(0, 0, 0, 0.6);
  border-radius: 0% !important;
  padding: 30px 40px;
  width: auto;
  height: auto;
  z-index: 999;
  background-color: var(--bs-secondary);
  border: none;
  transition: opacity 0.5s, bottom 0.7s;
  transition-delay: bottom 0.4s;
}
#btn-back-to-top span {
  color: black;
  display: block;
}
#btn-back-to-top img {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
  color: var(--bs-primary);
}

@media (max-width: 1638px) {
  #btn-back-to-top {
    border-radius: 50% !important;
    padding: 30px;
    width: 60px;
    height: 60px;
    right: 50px;
  }
  #btn-back-to-top span {
    display: none;
  }
}
@media (max-width: 767px) {
  #btn-back-to-top {
    right: 20px;
  }
}
#btn-back-to-top.visible {
  opacity: 1;
  bottom: 30px;
}

.cff-wrapper {
  margin: 0 -20px;
}
.cff-wrapper * a {
  border-bottom: none !important;
}

@media screen and (max-width: 480px) {
  .cff-wrapper .cff-item {
    margin: 0 !important;
  }
}
.cff-author, .cff-post-text, .cff-meta-wrap {
  padding: 0 20px !important;
}

#facebook img,
#facebook .cff-photo {
  width: 100%;
}

#wpadminbar {
  position: fixed !important;
}

@media (min-width: 768px) {
  footer > .container .d-flex.flex-row.flex-nowrap {
    margin: 0 -20px;
  }
}
@media (min-width: 991px) {
  footer > .container .d-flex.flex-row.flex-nowrap {
    margin: 0 -30px;
  }
}
@media (min-width: 768px) {
  #frontPageServices .cssColumns {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
@media (min-width: 992px) {
  #frontPageServices .cssColumns {
    -moz-column-count: 3;
         column-count: 3;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
@media (min-width: 768px) {
  #servicesArchiveMenu {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
@media (min-width: 1201px) {
  #servicesArchiveMenu {
    -moz-column-count: 3;
         column-count: 3;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
@media (min-width: 768px) {
  #locationArchiveMenu {
    -moz-column-count: 3;
         column-count: 3;
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
.news-post img {
  opacity: 1;
  transition: opacity 0.7s;
}
.news-post h2 {
  position: relative;
}
.news-post h2::before {
  content: "";
  background-image: url("images/border-bottom-red.svg");
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-position: bottom left;
  background-repeat: repeat;
}
.news-post h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 30px;
}

.news-post:hover img {
  opacity: 0.7;
}
.news-post:hover h2 {
  animation-name: underlineRed;
  animation-duration: 0.7s;
  color: black;
}
.news-post:hover h2::before {
  animation-name: underlineRed;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
}

.arrow-link h3 {
  margin-right: 40px;
  transition: margin-right 0.7s;
}
.arrow-link .arrow {
  display: inline-block;
  translate: 0px;
  transition: translate 0.5s;
}
.arrow-link:hover .arrow {
  translate: 10px;
}

@media screen and (min-width: 768px) {
  .arrow-link {
    display: inline-block;
  }
}
.map-marker-arrow {
  animation-name: rotateMapMarker;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
  animation-delay: 0.3s;
  animation-iteration-count: 1;
}

@keyframes rotateMapMarker {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-90deg);
  }
}
.text-18 p {
  line-height: 1.6;
}

@media (min-width: 577px) {
  .cols-2 {
    -moz-columns: 2;
         columns: 2;
  }
}
@media (max-width: 576px) {
  .h-100vh {
    height: 100vh;
  }
}
.arrow.front-page svg {
  height: 21px;
}