/**

 * Theme Name: Fjøssystemer 4.4.1a

 */



body {

    font-size: 1.05rem;

    font-family: 'Mulish', sans-serif;

}

.admin-bar #desktopHeader{
	padding-top: 60px !important;
	
}


h1, h2 {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
}



.modal-open {
}


.post-categories a{
	color: #8b0e04;
}


.sub_title{
	
}

p:empty:before {
  content: ' ';
  white-space: pre;
}

#shop-menu [aria-current]:not([aria-current="false"]) > span {

  color: #fff;

    background-color: #343a40;

    border-color: #343a40;

}



a {

    color: #000;

    font-weight: 600;

    font-size: 90%;

}

.wp-block-file:not(.wp-element-button) {
    font-size: 1em !important;
}

.wp-block-file a, .wp-block-file a strong{
	color: #8b0e04 !important;
    font-weight: 700 !important;
    font-size: 100% !important;
}


a:hover {

    color: #000;

    text-decoration: underline;

}

/* Enable menu wrapping */
.navbar-nav {
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* or center, if preferred */
  gap: 0.1rem; /* Optional spacing between items */
}

/* Optional: Adjust the nav items for better spacing on new lines */
.navbar-nav .nav-item {
  margin-bottom: 0px; 
}


.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.sekunder-mobile-class {
    padding-left: .35rem;
    font-family: yorkten-slab-normal, sans-serif;
    font-size: inherit;
    font-weight: 600!important;
}

.sekunder-desktop-class li {
    padding: 0.075rem 0.5rem;
}

.sekunder-desktop-class .dropdown-item {
    font-weight: 600;
    color: #000;

}

.sekunder-mobile-class li a {
    padding: 0.25rem 1rem;
    font-weight: 400;
    font-size: 1rem;
}



.footer-menu-class li {
    padding-bottom: 0.35rem;
}

.sekunder-mobile-class a, .footer-menu-class a, .sekunder-desktop-class a {
    text-decoration: underline;
}

#content a {

    color: #8b0e04;
    font-weight: 700;
    font-size: 100%;
}



#content a:hover {

    color: #8b0e04;
    text-decoration: underline;

}


.wp-block-file .wp-block-file__button {

    background: #32373c;

    border-radius: 2em;

    color: #fff!important;

    /*font-size: 13px;*/

    padding: .5em 1em;

}



.wp-block-file__button{ display:none !important; }



#menu-item-1288 > a {display:none;}



.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {

    font-weight: 600;

}



.h1, h1 {

    font-size: 2.7rem;

    font-family: yorkten-slab-normal, sans-serif;

    font-weight: 400;

}



.h2, h2 {

    font-family: yorkten-slab-normal, sans-serif;

    font-weight: 400;

    font-size: 2.24rem;

}



h5.text-uppercase {

    font-size: 1rem;

    letter-spacing: 0.1em;

}



.h6, h6 {

    font-size: 1.35rem;

    margin-top: 3rem;

}



.roboto {

    font-family: yorkten-slab-normal, sans-serif;

    font-weight: 500;

}

#headerForm {
font-family: 'Mulish', sans-serif;
}

.navbar-brand {

    max-width: 75%;

}



.navbar-brand > img {

  width: 350px;

  height: 24px;

  max-width: 100%;

}



.service-top {

    font-weight: 500;

    color: #212529;

    font-family: yorkten-slab-normal, sans-serif;

    font-size: 1rem;

}



.service-top a {

    font-size: 1.7rem!important;

    color: #8b0e04;

}



.service-top a:hover {

    color: #AF272F;

    text-decoration: none;

}

#MobileMainMenu, #MobileMainMenu a {
    font-family: yorkten-slab-normal, sans-serif;
    font-size: inherit;
}

#MobileMainMenu .card-header {
    padding: 0;
    margin-bottom: 0;
    background-color:#fff;
    border-bottom: 0;
}

#MobileMainMenu .mobile-menu-icon {
    width: 56px;
    text-align: center;
    margin-right: 1rem;
}

.current-menu-item a {
    color: #990C18;
}

#MobileMainMenu .btn-link {
    color: #fff;
    font-size: 1.4rem;
    width: 100%;
    height: 100%;
    text-align: left;
    background-color:#990C18;
    border-radius: 0;
    padding: 0.75rem 1.15rem;
    min-height: 69px;
}

#MobileMainMenu .btn-link:after {
    content: "";
    background-image: url(img/next.svg);
    position: absolute;
    right: 20px;
    top: 20px;
    width: 14px;
    height: 24px;
    transform: rotate(-90deg);
}

#MobileMainMenu .btn-link.collapsed:after {
    transform: rotate(90deg);
}

#MobileMainMenu .btn-link.collapsed {
    background-color:#C30A14;
}

#MobileMainMenu .btn-link.focus, #MobileMainMenu .btn-link:focus {
    text-decoration: none;
}


#MobileMainMenu .menu-item-has-children {
    padding-bottom: 1rem;
    font-size: 1.25rem;
}

#MobileMainMenu ul {
    list-style-type: none;
    padding: 0;
    padding: 0.25rem 0;
    margin-bottom: 0;
    font-size: 1rem;
}

#MobileMainMenu ul ul li a {
    font-weight: 400;
}

#DesktopMainMenu .btn-link {
    font-family: yorkten-slab-normal, sans-serif;
    color: #fff;
    font-size: 1.4rem;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 0;
    padding: 0.75rem 1.15rem;
    min-height: 69px;
    font-weight: 700!important;
    line-height: 2.5;
}

#DesktopMainMenu .btn-link.collapsed, #DesktopMainMenu .btn-link.active.collapsed {
    background-color:#C30A14;
}
#DesktopMainMenu .btn-link, #DesktopMainMenu .btn-link.active {
    background-color:#990C18;
}

#DesktopMainMenu .btn-link:hover {
    background-color:#990C18;
    text-decoration: none;
}

#DesktopMainMenu .mobile-menu-icon {
    width: 56px;
    text-align: center;
    margin-right: 1rem;
}

#DesktopMainMenu ul, #desktopbygg ul {
    list-style-type: none;
    padding: 0;
    padding: 0.25rem 0;
    margin-bottom: 0;
    font-size: 1rem;
}

#DesktopMainMenu .menu-item-has-children {
    padding-bottom: 1rem;
    font-size: 1.25rem;
    padding: 2rem;
    width: 310px;
}

#menu-bygg-1{
		margin-top: 15px;
		margin-bottom: 15px;
	}
	#menu-bygg-1 > .menu-item{
		font-size: 20px;
	}
	
	.dropdown-toggle::after {
		content: '';
		display: none;
	}
	
	#menu-bygg-1 .menu-item .dropdown-menu {
		position: initial !important;
		min-width: 10rem;
		margin: 0.125rem 0 0;
		font-size: 1rem;
		color: #212529;
		text-align: left;
		list-style: none;
		background-color: transparent !important;
		background-clip: padding-box;
		border: 0px solid rgba(0,0,0,.15) !important;
		border-radius: 0;
		display: block;
	} 	
	
	#menu-bygg-1 .menu-item .dropdown-menu .dropdown-item{
		padding:  5px 0px;
	}

.head-main {


}



.head-main .form-control {

    border: 0 solid #ced4da;

    border-radius: 0;

    border-bottom: 1px solid;

}



.head-main .form-control:focus {

    box-shadow: none;

}



.head-main .btn.focus, .head-main .btn:focus {

    outline: 0;

    box-shadow: none;

}



.head-main .magnifier {

    height: 30px;

}







.mobile_menu .form-control:focus {

    box-shadow: none;

}



.mobile_menu .btn.focus, .head-main .btn:focus {

    outline: 0;

    box-shadow: none;

}



.mobile_menu .magnifier {

    height: 20px;

}



.mobile_menu .magnifier-box {

    border-top-left-radius: 25px;

    border-bottom-left-radius: 25px;

}



.navbar {

    padding: .5rem 1rem;

}



.bg-grey {

    background-color: #f6f0ef;

}





.main-menu{width: 100%; height: 100%; opacity: 0; visibility: hidden;}

.nav-open .main-menu {opacity: 1; visibility: visible; background: #fff; z-index: 9999; overflow-y: auto; top: 0; }

.main-menu .nav li a{color:#000; font-size: 3vh; font-weight:600; }

.main-menu .nav li{

    opacity: 0;

    -webkit-transform: translateY(-40px);

    transform: translateY(-40px);

    -webkit-animation-timing-function: cubic-bezier(.45,.005,0,1);

    -moz-animation-timing-function: cubic-bezier(.45,.005,0,1);

    -o-animation-timing-function: cubic-bezier(.45,.005,0,1);

    animation-timing-function: cubic-bezier(.45,.005,0,1);

}

.nav-open .main-menu .nav li{

    opacity: 1;

    -webkit-transform: translateY(0px);

    transform: translateY(0px);

    -webkit-transition: -webkit-transform .2s,opacity .2s;

    transition: transform .2s,opacity .2s;

}

.main-menu .nav li.delay-1{-webkit-transition-delay:0.1s; -moz-transition-delay:0.1s; -ms-transition-delay:0.1s; -o-transition-delay:0.1s; transition-delay:0.1s; }

.main-menu .nav li.delay-2{-webkit-transition-delay:0.2s; -moz-transition-delay:0.2s; -ms-transition-delay:0.2s; -o-transition-delay:0.2s; transition-delay:0.2s; }

.main-menu .nav li.delay-3{-webkit-transition-delay:0.3s; -moz-transition-delay:0.3s; -ms-transition-delay:0.3s; -o-transition-delay:0.3s; transition-delay:0.3s; }

.main-menu .nav li.delay-4{-webkit-transition-delay:0.4s; -moz-transition-delay:0.4s; -ms-transition-delay:0.4s; -o-transition-delay:0.4s; transition-delay:0.4s; }

.main-menu .nav li.delay-5{-webkit-transition-delay:0.5s; -moz-transition-delay:0.5s; -ms-transition-delay:0.5s; -o-transition-delay:0.5s; transition-delay:0.5s; }

.main-menu .nav li.delay-6{-webkit-transition-delay:0.6s; -moz-transition-delay:0.6s; -ms-transition-delay:0.6s; -o-transition-delay:0.6s; transition-delay:0.6s; }

.main-menu .nav li.delay-7{-webkit-transition-delay:0.7s; -moz-transition-delay:0.7s; -ms-transition-delay:0.7s; -o-transition-delay:0.7s; transition-delay:0.7s; }

.main-menu .nav li.delay-8{-webkit-transition-delay:0.8s; -moz-transition-delay:0.8s; -ms-transition-delay:0.8s; -o-transition-delay:0.8s; transition-delay:0.8s; }

.main-menu .nav li.delay-9{-webkit-transition-delay:0.9s; -moz-transition-delay:0.9s; -ms-transition-delay:0.9s; -o-transition-delay:0.9s; transition-delay:0.9s; }



.nav-button{position:relative; z-index:1111; display:block; }

.nav-button .nav-icon3{width:30px;height:22px;display:inline-block;position:relative;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:.5s ease-in-out;-moz-transition:.5s ease-in-out;-o-transition:.5s ease-in-out;transition:.5s ease-in-out;cursor:pointer;}

.nav-button .nav-icon3 span{display:block;position:absolute;height:2px;width:100%;background:#000;border-radius:9px;opacity:1;left:0;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:.25s ease-in-out;-moz-transition:.25s ease-in-out;-o-transition:.25s ease-in-out;transition:.25s ease-in-out}

.nav-button .nav-icon3 span:nth-child(1){top:4px}

.nav-button .nav-icon3 span:nth-child(2),.nav-icon3 span:nth-child(3){top:14px}

.nav-button .nav-icon3 span:nth-child(4){top:24px}

.nav-open .nav-icon3 span:nth-child(1){top:9px;width:0;left:50%}

.nav-open .nav-icon3 span:nth-child(2){-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}

.nav-open .nav-icon3 span:nth-child(3){-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}

.nav-open .nav-icon3 span:nth-child(4){top:24px;width:0;left:50%}



.flex-center{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%}






.bg-primary {

    background-color: #C30A14!important;

}


.bg-dark {

    background-color: #8b0e04!important;

}



.bg-light {

    background-color: #f3f1ef!important;

}



.text-dark {

    color: #8b0e04!important;

}



.btn {

    border-radius: 1.25rem;

}



.btn-primary,  .btn-primary:focus{

    color: #fff;

    background-color: #AF272F;

    border-color: #AF272F;

}



.btn-primary:hover {

    color: #fff;

    background-color: #8b0e04;

    border-color: #8b0e04;

}


.btnpattern{

    background-color: #990C18;
    background-image: url('https://www.fjossystemer.no/wp-content/uploads/2024/10/monster-rektangel.svg');
    background-size: cover;
    background-position: left;
    color: white !important;
    padding: 10px 20px;
    font-size: 22px;
    border-radius: 100px;
    

}


.card {

    border: 0;

    border-radius: 0;

}



.card-img, .card-img-top {

    border-top-left-radius: 0;

    border-top-right-radius: 0;

}



.lead {

    font-size: 1.25rem;

    font-weight: 400;

}


figure {
    margin: 0 !important;
}


figcaption {

    margin-top: 0;

    margin-bottom: 1em;

    color: #666666;

    font-size: 90%;

}



.wp-block-embed figcaption {

    margin-top: 1em;

    margin-bottom: 1em;

}



.wp-block-embed-youtube {

    padding-top: 2rem!important;

    padding-bottom: 0.5rem!important;

}



.wp-block-lazyblock-accordion h5 {

    padding-top: 1rem;

}


/*Facebook feed*/

.cff-photo {
    width: auto !important; 
}




#footer {

    color: #fff;

    background-color: #AF272F;

    font-size: 1rem;

    background-image: url(img/monster-rektangel.svg);

    background-image: url(img/footer-mobil.svg);

    background-repeat: no-repeat;

    background-size: cover;

}



#footer .departments {

}



#footer a {

    color: #fff;

    font-weight: 400;

    font-size: inherit;

}



#footer .logo-footer {

    max-width: 350px;

    margin-top: 15px;

}



.wp-block-file:before {

    content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAMAAADzN3VRAAAA5FBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWwvIjAAAAS3RSTlMAAQIEBQgNDxEVGRoeHyAhIyQoKiwuLzM2N0NERUxNUFFSWVxhYmRrbW91eX6Gi46VmJudnqCiqq+5vsfIyszP0dfe4Obo7/Hz+/2qLC3gAAAAz0lEQVQoz3XS1RbCMAwG4BSGDNfh3XB3d9e8//uww2BrOd1/lZyvF2laAJCpZkUNgBkZ+Uykn1Ak1jHQEE8eswZOlNdN/hdidOHX3cvLqOs2ujieJU4egeS3ozjj5BQMAajfCcOsTDv6UC71cy1UWSmjwxwRNVYiT2IjWczYyLF2lYSSHEBn6RDJWt9J66Ck8rkY4SQx9BbG294K55lclRWyP9YjTr3wNTebNCPR3Z59C0tK7YcfRKL0FxUQSvHSALEAATsBoVChUMGvMiLDG5hbMAkss1y3AAAAAElFTkSuQmCC");

    position: absolute;

}



.wp-block-file a {

    padding-left: 30px;

}



.border-bottom {

    border-bottom: 1px solid #000!important;

}



.nav-tabs {

    border-bottom: 0;

}



.btn {

    font-weight: 600;

}



.grid-sizer,

.grid-item { width: 100%; }



.tab-content>.tab-pane {

    min-height: 1000px;

}



.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {

    max-width: none;

    -ms-flex: none;

    flex: none;

}



.woocommerce-page .lead {

    font-size: inherit;

}





.woocommerce form .form-row {

    display: block;

    -ms-flex-wrap: unset;

    flex-wrap: unset;

}



.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {

    color: #fff!important;

    background-color: #AF272F;

    border-color: #AF272F;

    -webkit-font-smoothing: antialiased;

}



.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {

    color: #fff;

    background-color: #8b0e04;

    border-color: #8b0e04;

}



.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover {

    background-color: #8b0e04;

}



.woocommerce-Price-currencySymbol {

    padding-right: 0.25rem;

}



.breadcrumb_last {

    font-size: 1rem;

}



.wp-block-image img {

    height: auto;

}



.img_overlay:before {

    content: "";

    display: block;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    position: absolute;

    background: rgba(0,0,0,0.3);

}



#kontaktOss label {

    margin-bottom: 0.25rem;

    font-weight: 600;

}



#kontaktOss #text {

    height: 200px;

}



#kontaktOss select {

    background-image: url(img/black-arrow-down.png);

    background-position: right;

    background-size: 36px;

    background-repeat: no-repeat;

    -webkit-appearance: none;

    -moz-appearance: none;

}









.cardScroller .cards-wrapper {

  display: flex;

  justify-content: center;

}

.cardScroller .card img {

  max-width: 100%;

  max-height: 100%;

}

.cardScroller .card {

  margin: 0 3.5em;

  box-shadow: none;

  border: none;

  border-radius: 0;

    width: 100%;

    width: -moz-available;          /* WebKit-based browsers will ignore this. */

    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */

    width: fill-available;

    max-width: 268px;

}



.cardScroller .carousel-control-prev,

.cardScroller .carousel-control-next {

  background-color: #343a40;

  width: 5vh;

  height: 5vh;

  border-radius: .25rem;

  top: 50%;

  transform: translateY(-50%);

}



.cardScroller .carousel-inner {

    padding: 0;

}

.cardScroller .carousel-control-prev {
    left: 10px;
}

.cardScroller .carousel-control-next {
    right: 10px;
}

.carousel-control-next-icon {
    background-image: url(img/next.svg);
}

.carousel-control-prev-icon {
    background-image: url(img/prev.svg);
}

.btn-link {
    font-weight: 400!important;
    color: #000;
    padding: 0;
}

.btn-link:hover {
    color: #000;
}

.wp-block-image img {
    width: 100%;
    padding-bottom: 1rem;
    padding-top: 1rem;   
}

.wp-block-gallery {
    padding-bottom: 1rem!important;
    padding-top: 1rem!important;
}

.wp-block-image figcaption {
    margin-top: -0.5em;
}



.wp-block-kadence-iconlist ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap {
    align-items: start !important;
} 







@media (min-width: 576px) {

body {

    font-size: 1rem;

}




.cardScroller .carousel-control-prev {
    left: 0px;
}

.cardScroller .carousel-control-next {
    right: 0px;
}


}



@media (min-width: 768px) {



#footer {

    background-image: url(img/monster-rektangel.svg);

}





.grid-sizer,

.grid-item { width: 50%; }



}



@media (min-width: 992px) {



.h1, h1 {

    font-size: 3rem;

}

/*.fullwidth-img, .wp-block-embed-youtube, .wp-block-gallery, .wp-block-image {*/
.fullwidth-img, .wp-block-embed-youtube, .wp-block-gallery {
    width: 975px!important;
    margin-left: -183px!important;
}

#breadcrumbs {
    
}


}



@media (min-width: 1200px) {

#Arrangementer .card {
    max-width: 380px;
}

/*.fullwidth-img, .wp-block-embed-youtube, .wp-block-gallery, .wp-block-image {*/
.fullwidth-img, .wp-block-embed-youtube, .wp-block-gallery {
    width: 1183px!important;
    margin-left: -227px!important;
}
	


#menu-item-1288 > a {display:block;}



#collapse5 > div:nth-child(3) > p.text-uppercase.font-weight-bold.border-bottom {border-bottom:0!important;}



.wp-block-gallery {

    /* margin-left: calc(-100vw / 2 + 1127px / 2); */

    /* margin-right: calc(-100vw / 2 + 1127px / 2); */

}

.lead {

    font-size: 1.45rem;

}

}



@media (min-width: 1600px) {



.h1, h1 {

    font-size: 4rem;

}


.h2, h2 {

    font-size: 2.5rem;

}



.wp-block-gallery {

    /* width: 1110px; */

    /* margin-left: 0px; */

}

}