/***************** variables *********************/





/* ------ Main ------ */
html {scroll-behavior: smooth !important; word-wrap:break-word;}
body {
    background-color:#F2F2F2;
    font-family:'Montserrat', sans-serif;
    font-weight:400;
    font-size:1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

.block + .block-text .__content > p:first-child, .block-text .__content > ul:first-child {margin-top:1rem;}

.bg-image {
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/* ------ Paragraphs ------ */


/* Fonts */
p > strong > em {font-weight:normal;  font-size:.8rem; line-height:normal; display:block;}
.navbar-brand, .navbar {
    font-family:'Montserrat', sans-serif;
    font-size: medium;
}
.navbar {height:150px;    position: sticky; width: 100%; top: 0; z-index:999; transition:.3s all;}
.navbar :is(.container, .navbar-brand) {height:inherit;}
.navbar-brand {display: flex; align-items: center;}
.navbar-brand img {width:100px; max-height:80%; max-width:100%;}
.navbar.scrolled {box-shadow:0px 2px 10px rgba(0,0,0,0.1); background-color:#f7f7f7 !important;}
.navbar .navbar-collapse:before {opacity:0; height:0; content:""; transition:.3s all;     position: fixed; inset: 0; background: rgba(255,255,255,0.5); backdrop-filter: blur(3px); z-index:-1;}
.navbar .navbar-collapse:is(.show):before {opacity:1; height:100%;}

.nav-item.no-child > ul, .nav-item.no-child > a:after {display:none;}
.navbar .ftr-only {display:none;}
footer .hdr-only {display:none;}

h1, h2, h3, h6 {
    font-family:'Playfair Display', serif;
    letter-spacing: 2px;
}

h4, h5 {
    font-family:'Playfair Display', serif;
    letter-spacing: 1px;
}

h6 {font-family:'Montserrat', sans-serif; font-size:.8rem; font-weight:600; line-height:1.8; letter-spacing:2px; text-transform:uppercase;}

main a {
    color:#181818;
    border-bottom: 2px solid #1D7602;
}

main a:hover {
    color:#1D7602;
    opacity:0.7;
    text-decoration:none;
}

strong {
     font-weight:800;
}

/* ------ Styling: Buttons etc. ------ */

.primary {
    background:#1D7602;
}
.primary-title {
    color:#1D7602;
}
.secondary {
    background:#9CB43F;
}
.secondary-title {
    color: #9CB43F;
    background: #1D7602;
    margin-top: -4rem;
    width: fit-content;
}
.dark {
    background:#181818;
}
.offwhite {
    background:#f7f7f7;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    margin-top: 15px;
    border-radius: 10px;
    padding: .5rem 1.5rem;
}

.btn:focus {
    outline:none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.btn-primary, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color:#F2F2F2;
    background:#1D7602;
    border:#1D7602;
    outline:none !important;
    box-shadow: none !important;
}
.btn-info {text-transform:uppercase; font-weight:600; letter-spacing:2px; font-size:.9rem;}

.btn-info, .btn-info:hover, .btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle
 {
    color:#181818;
    background:#fff;
    border:#fff;
}
.btn-primary:before {color:#F2F2F2 !important;}
.btn-info:before, .btn-primary:before {
    font-family:'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f30b";
    margin-right: 10px;
    color:#1D7602;
    moz-transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
    font-size: .9rem;
}
.btn-info:hover:before, .btn-primary:hover:before {
    padding: 0 15px 0 0;
}

.btn-info.btn-back {background:transparent !important; padding:0 !important;}
.btn-info.btn-back:before {content:"\f30a";}

.btn-default, .btn-default:hover,.btn-default:not(:disabled):not(.disabled).active, .btn-default:not(:disabled):not(.disabled):active, .show>.btn-default.dropdown-toggle
 {
    color:#F2F2F2;
    background:#1D7602;
    border:#1D7602;
}

.btn-link {
    font-weight: 400;
    color:#181818;
    text-decoration: none;
     padding:0rem;
}
.btn-link:hover {
    color: #9CB43F;
    text-decoration: none;
}

.btn.bg-primary, .btn.bg-primary:before {color:#F2F2F2 !important;}
.btn-sm { font-size: .8rem !important;}
.btn-lg { font-size: 1.2rem !important;}
.btn-xl { font-size: 1.4rem !important;}

hr {
    border-top: 4px solid #e8e8e8;
}

.bg-custom6 hr {border-color:#F2F2F2 !important;}


@media (min-width: 767.98px) {

    .h1, h1 {
        font-size: 3.5rem;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        font-size: medium;
    }
    .navbar-light .navbar-nav > .nav-item > .nav-link:hover {
        border-bottom: 4px solid #1D7602;
    }
}

/* ------ Grid  ------ */

.h-100 .block-section-container {
    min-height:350px;
    width:100%;
}
.full-width-all .__col{
    padding-left:0px;
    padding-right:0px;
} 

.block-section {}

.block-section > .block-section-container, .content {
    padding: 50px 0px;
    margin-right: auto;
    margin-left: auto;
}

.block-section .block-section-container .block-columns .block-section-container {
    width: auto;
}

@media (min-width: 1200px){
    .block-section > .block-section-container, .container {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/*  Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

    .block-section > .block-section-container, .container {
        width: 970px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    
    .block-section > .block-section-container, .container {
        width: 750px;
    }
    
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
    
    .block-section > .block-section-container, .container {
        width: 100%;
    }
    
    .block-section > .block-section-container, .content {
        padding:20px 15px;
    }
    
    .navbar-dark .navbar-brand {
        width: inherit;
    }
    
    .navbar-brand img {padding: 0 0 0 15px; }
    
    .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    border-bottom: 0px;
    background:#1D7602;
    color:#fff;
}


    .navbar-nav .nav-link {background:#f7f7f7; transition:.3s all;}
    .navbar-nav .nav-link:hover a, .navbar-nav .nav-link:focus a, .navbar-nav .nav-link:active a {background:#e8e8e8 !important;}

.container, .container-sm {max-width:100%;}

}

/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .block-gallery .carousel .carousel-caption {
        top: 0%;
    }
    
    
}


/* ------ Navbar ------ */

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color:#181818;
    background:#1D7602;
    border-radius: 0rem;
}
.navbar-light .navbar-nav .nav-link {transition:.3s all;}


/*.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {*/
/*    border-bottom: 4px solid #1D7602;*/

/*}*/
.navbar a, .navbar > li > a {
    text-align: center;
    text-transform: uppercase;
}
.navbar-light .navbar-toggler,.navbar-toggler-icon{
    color: #1D7602;
    border-color:#fff;
}
.navbar-light .navbar-nav .nav-link {
    color:#181818;
}
.navbar-dark .navbar-toggler,.navbar-toggler-icon {
    color: #1D7602;
    border-color:#fff;
}

.navbar-dark .navbar-text .fa{
    color:#1D7602;
    padding:1rem;
    border:1px solid;
    border-radius:2rem;
}
.open .dropdown-menu{
    display:block;
}
.navbar .open a{
    text-align: left;
}

@media (min-width: 576px){
.navbar-expand-md .navbar-nav .nav-link {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
    padding-left: 0rem;
    padding-right: 0rem;
    border-bottom: 4px solid transparent;
}
}
/* ------ Sliders ------ */

/* --- Utilities  --- */

.news .list-group-item {
    position: relative;
    display: block;
    padding: 2rem;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}

.news .list-group-item .list-date { color:#7a7a7a;font-weight: 300; font-family: serif; letter-spacing: 2px;}
.news .list-group-item .list-header {margin-top:.5rem;}
.news .list-group-item .list-content {line-height:normal; }

.news img{
    float:left;
    max-width:50%;
}
.list .list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    background-color:#F2F2F2;
    border-radius: 0px;
    border: 1px solid #9CB43F;
}
.form-group .radio input {margin-right:5px;}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: 1.575rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #181818;
    background-color:#d9d9d9;
    background-clip: padding-box;
    border: none;
    border-left: 4px solid #2e2e2e;
    border-radius:0rem;
    transition: .3s all;
}
.form-control:focus {
    color: #181818;
    background-color: #fff;
    border-color: #9CB43F;
    outline: none;
    box-shadow: none;
}
.form-control::-webkit-input-placeholder {
    color: #181818;
}
.form-control:-moz-placeholder {
    color: #181818;
}
.form-control::-moz-placeholder {
    color: #181818;
}
.form-control::placeholder {
    color: #181818;
}
.form-control:-ms-input-placeholder {
    color: #181818;
}
.block-section ul {padding: 0;}
.block-section li {
    list-style: none;
    margin-bottom: 5px;
}

.block-section .block-text li:before {
    font-family:'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f067";
    margin-right: 10px;
    color: #1D7602;
    padding: 0.4em 0.45rem;
    border-radius: 1rem;
    background: #F2F2F2;
}

.page-item:first-child .page-link {
    border-top-left-radius:1rem;
    border-bottom-left-radius:1rem;
}
.page-item:last-child .page-link {
    border-top-right-radius:1rem;
    border-bottom-right-radius:1rem;
}
.page-link{
    z-index: 2;
    color:#1D7602;
    text-decoration: none;
    background-color:#e8e8e8;
    border-color:transparent;
    border-radius:0%;
    margin:0.1rem;
    display: flex;
    width: 40px;
    height: 30px;
    font-size:.9rem;
    justify-content: center;
    align-items: center;
    line-height: normal;
    padding: 5px;
    color:#1D7602;
}



.page_link.active, .page-link:active,.page-link:hover, .page-link:focus {
    font-weight:700;
    z-index: 2;
    color:#F2F2F2;
    text-decoration: none;
    background-color:#1D7602;
    border-color:transparent;
    box-shadow: none;
    outline: none;
}
.pagination {
    margin-top: 1rem;
    float: none;
    margin: 0 auto;
    margin-top: 1rem;
}

.card {
    border: 0px;
    margin-bottom:1px;
}
.card-header {
    background-color: rgb(255 255 255);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.block-list .accordion button {margin: 0 !important;}
.block-list .accordion .card {border-radius:15px !important;}
.block-list .accordion .card:not(:first-child) {margin-top:.5rem;}
.block-list .accordion button:before {
    font-family:'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f067";
    margin-right: 10px;
    color:#1D7602;
}


/* --- footer  --- */

footer .col-menu { display: flex; flex-direction: row; flex-wrap: wrap; padding-bottom:0 !important; border: none;}
footer .col-menu li {width:unset; float:none; flex:1; transition:.3s all;}
footer .col-menu li a {text-decoration:none !important; color:#a6a6a6; transition:.3s all;}
footer .col-menu li:hover {background-color:#1D7602;}

footer li {
    float: left;
    margin: .15rem;
    width: calc(100% / 5);
    padding: 0.5rem;
    list-style: none;
    background:#d9d9d9;
    text-align:center;
    border:none;
}
footer li a{
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: medium;
    display: flex;
    line-height: normal;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: .5rem;
}
footer li:hover a {
    color: #F2F2F2 !important;
}
footer .nav-link {
    display: block;
    padding: .2rem 0rem;
}
footer hr{
    border-top: 4px solid #fdfdfd;
}
footer i {
    margin: 9px!important;
}

@media (max-width: 575.98px) {
    footer li {
        width: calc(100% / 2);
        padding: 0.2rem;
    }
}

/************************COOKIES*******************************/

.modal {background: rgba(0,0,0,0.8); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);}
#modal-cc ::-webkit-scrollbar {width: 4px;}
#modal-cc ::-webkit-scrollbar-thumb {background:#4f4f4f; border-radius:0;}
#modal-cc ::-webkit-scrollbar-track {background:#181818;}
#modal-cc .modal-dialog {position: fixed; margin: 0; bottom:0; max-width:650px;}
#modal-cc .modal-content {height:100vh; border-radius: 0; background: #2e2e2e; color: #F2F2F2; background-image: url(''); background-position: center; background-size: 120px;}
#modal-cc .modal-content a {color:#F2F2F2; font-weight:800; border-bottom:2px dotted; text-decoration:none !important;}
#modal-cc .modal-content p {margin-block:1.5rem 1rem;}
#modal-cc .modal-header {border-right: 4px solid #181818; border-bottom:none; padding:3rem 3rem .5rem 3rem;}
#modal-cc h5 {color:#F2F2F2;}
#modal-cc .modal-title {line-height:initial;}
#modal-cc .modal-body {font-size: 1rem;padding:1rem 3rem 3rem 3rem; overflow-y: auto;}

#modal-cc .modal-content #cc-sections > hr:first-child {display:none;}
#modal-cc .modal-content #cc-sections > hr {border-color:rgba(255,255,255,0.2);}
#modal-cc .modal-content .cc-section-row {padding-top:1rem;}
#modal-cc .modal-content .cc-section-row .form-group {margin-top:1rem;}
#modal-cc .modal-content .nav-pills {gap:1rem; }
#modal-cc .modal-content .nav-pills .nav-link:hover {opacity:1;}
#modal-cc .modal-content .nav-pills .nav-link {text-transform: uppercase; letter-spacing: 2px; transition:.3s all; opacity:.5; text-align: left; background: transparent; border-bottom: solid 1px rgba(255,255,255,0.2); border-radius: 0; padding-inline: 2.5px;}
#modal-cc .modal-content .nav-pills .nav-link.active {opacity:1;}
#modal-cc .tab-pane {overflow-x:hidden; overflow-y:auto; max-height:unset;}
#modal-cc .tab-pane::-webkit-scrollbar {width: 2px; height: 2px; transition:.3s all;}
#modal-cc .tab-pane::-webkit-scrollbar-track {background: inherit;}

#modal-cc #cc-buttons {margin-inline:-5px !important; flex-wrap: wrap; padding-bottom:1rem;}
#modal-cc #cc-buttons .btn {justify-content: space-between; flex:1; font-size:.7rem; text-align:left; padding-inline:1rem !important; border:none !important; border-radius:calc(15px / 3) !important;}
#modal-cc #cc-buttons .btn, #modal-cc #cc-buttons .btn:before, #modal-cc #cc-buttons .btn:after { color:#F2F2F2; border-color:#F2F2F2;}
#modal-cc #cc-buttons .btn:after {text-align:right;}
#modal-cc #cc-buttons .btn:is(:hover, :focus, :active)::after {transform:translateX(3px);}

#cc-settings-container a {color:#1D7602; border:none !important; text-decoration:none !important;}
#cc-settings-container {left:2rem; bottom:2rem;}
#modal-cc .cc-checkbox:not([disabled]) {cursor: pointer;}

@media (max-width: 1920px) {
    #modal-cc .modal-dialog {max-width:570px;}
} @media (max-width: 1440px) {
    #modal-cc .modal-dialog {max-width:500px;}
} @media (max-width:767px) {
    #modal-cc .modal-content {height:80vh;}
    #modal-cc #cc-buttons {flex-direction: column; flex-direction: column-reverse; }
    #modal-cc #cc-buttons button {float:none !important; display:inline-flex; width:100%; justify-content: space-between;}
    #modal-cc #cc-buttons button:nth-child(2) {margin-top:10px;}
    #modal-cc #cc-buttons button:after {}
    #cc-settings-container {left:1.5rem; bottom:1.5rem;}
}

/*---------------RX----------------*/

.bgy-0 {background-position-y: 0% !important;}
.bgy-5 {background-position-y: 5% !important;}
.bgy-10 {background-position-y: 10% !important;}
.bgy-20 {background-position-y: 20% !important;}
.bgy-30 {background-position-y: 30% !important;}
.bgy-40 {background-position-y: 40% !important;}
.bgy-50 {background-position-y: 50% !important;}
.bgy-60 {background-position-y: 60% !important;}
.bgy-70 {background-position-y: 70% !important;}
.bgy-80 {background-position-y: 80% !important;}
.bgy-90 {background-position-y: 90% !important;}
.bgy-100 {background-position-y: 100% !important;}

.bgx-0 {background-position-x: 0% !important;}
.bgx-5 {background-position-x: 5% !important;}
.bgx-10 {background-position-x: 10% !important;}
.bgx-20 {background-position-x: 20% !important;}
.bgx-30 {background-position-x: 30% !important;}
.bgx-40 {background-position-x: 40% !important;}
.bgx-50 {background-position-x: 50% !important;}
.bgx-60 {background-position-x: 60% !important;}
.bgx-70 {background-position-x: 70% !important;}
.bgx-80 {background-position-x: 80% !important;}
.bgx-90 {background-position-x: 90% !important;}
.bgx-100 {background-position-x: 100% !important;}

.opy-0 {object-position: 50% 0% !important;}
.opy-5 {object-position: 50% 5% !important;}
.opy-10 {object-position: 50% 10% !important;}
.opy-20 {object-position: 50% 20% !important;}
.opy-30 {object-position: 50% 30% !important;}
.opy-40 {object-position: 50% 40% !important;}
.opy-50 {object-position: 50% 50% !important;}
.opy-60 {object-position: 50% 60% !important;}
.opy-70 {object-position: 50% 70% !important;}
.opy-80 {object-position: 50% 80% !important;}
.opy-90 {object-position: 50% 90% !important;}
.opy-100 {object-position: 50% 100% !important;}

.opx-0 {object-position: 0% 50% !important;}
.opx-5 {object-position: 5% 50% !important;}
.opx-10 {object-position: 10% 50% !important;}
.opx-20 {object-position: 20% 50% !important;}
.opx-30 {object-position: 30% 50% !important;}
.opx-40 {object-position: 40% 50% !important;}
.opx-50 {object-position: 50% 50% !important;}
.opx-60 {object-position: 60% 50% !important;}
.opx-70 {object-position: 70% 50% !important;}
.opx-80 {object-position: 80% 50% !important;}
.opx-90 {object-position: 90% 50% !important;}
.opx-100 {object-position: 100% 50% !important;}


.hidden {opacity: 0;}
.__base div:is(.hidden, .d-md-none) {display: block !important; opacity:0.5 !important; visibility:visible !important; position:relative;}
.__base div:is(.hidden, .d-md-none):before {content: ""; position: absolute; background-image: url('../../assets/images/hidden.png') !important;  left: 0; top: 0; width: 100% !important; height: 100%; background-size: 100px; z-index: 0;}

main > div.__base .div-anchor {margin-top:0px;}
.div-anchor {margin-top:-180px; position:relative; z-index:-1;}

main > .block-error-404 {position:relative; background:linear-gradient(to bottom, #f7f7f7, #F2F2F2); padding: 3rem; min-height: 55vh; display: flex; align-content: center; flex-direction: column; justify-content: center; align-items: center; text-align:center;}
main > .block-error-404 h5 {transition:.3s all; cursor:pointer; border-bottom:1px dotted #e8e8e8;}
main > .block-error-404 h5:hover {color:#1D7602;}

iframe {background-image:url('../../assets/images/loader.gif'); background-size:80px; background-position:center; background-repeat:no-repeat; margin-bottom:-10px; border:0;}
main > .block-section {padding: 130px 2rem;}
.block-section .block-columns {display: flex !important;}
.block-section .block-columns .__col {padding-left:0; padding-right:0;}
.block-section .block-columns .block-section {height: 100%;}
.block-section.xs-box .block-columns .block-section {padding: 15px;}
.block-section.xsm-box .block-columns .block-section {padding: 22px;}
.block-section.sm-box .block-columns .block-section {padding: 30px;}
.block-section.md-box .block-columns .block-section {padding: 50px;}
.block-section.lg-box .block-columns .block-section {padding: 80px;}
.block-section .block-columns .block-section .block-section-container {padding-right:15px; padding-left:15px;}

.pull-middle-flex, .pull-mb-flex { display: flex; place-content: flex-start center; flex-flow: column wrap; flex-direction: column; flex-wrap: nowrap;}
.pull-bottom-flex { display: flex; justify-content: flex-end; align-content: center; flex-direction: column; }
.pull-middle-flex > .block-section-container, .pull-bottom-flex > .block-section-container, .pull-mb-flex > .block-section-container {width:100%;}
.pull-middle-all .block-columns.row, .pull-bottom-all .block-columns.row {height:100%;}
.pull-middle-all .row .block-section-container {display: flex; flex-direction: column; justify-content: center; height:100%;}
.pull-bottom-all .row .block-section-container {display: flex; flex-direction: column; justify-content: flex-end; height:100%;}
.pull-justify-flex > .block-section-container { display: flex; flex-direction: column; justify-content: space-between; flex-wrap: nowrap; height: 100%;}


.hover-img img {transition: .5s all;}
.hover-img.flip:hover img {transform:scale(-1, 1) scale(-1,1); }
.hover-img.rotate:hover img {transform:rotate(360deg); }
.hover-img.zoom:hover img {transform:scale(1.1); }
.hover-img.float:hover img {animation: float-y 1s linear infinite;}
@keyframes float-y { 50% { transform:translateY(-6px); } }

.__base .text-light, .text-light, .text-light p {color: #F2F2F2 !important;}
.text-light h6, .text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light a:not(.btn), .text-light a:not(.btn):hover {color: #F2F2F2 !important; }
.text-light hr {background-color: #F2F2F2 !important; color: #F2F2F2 !important;}

.text-dark, .text-dark p, .text-dark h1, .text-dark h2, .text-dark h3, .text-dark h4, .text-dark h5, .text-dark h6, .text-dark a:not(.btn), .text-dark a:not(.btn):hover {color: #181818;}

.text-primary, .text-primary p, .text-primary h1, .text-primary h2, .text-primary h3, .text-primary h4, .text-primary h5, .text-primary h6, .text-primary a, .text-primary a:hover {color: #1D7602;}
.text-secondary, .text-secondary p, .text-secondary h1, .text-secondary h2, .text-secondary h3, .text-secondary h4, .text-secondary h5, .text-secondary h6, .text-secondary a, .text-secondary a:hover {color: #9CB43F;}

.text-success, .text-success p, .text-success h1, .text-success h2, .text-success h3, .text-success h4, .text-success h5, .text-success h6, .text-success a, .text-success a:hover {color: #32a852;}
.text-danger, .text-danger p, .text-danger h1, .text-danger h2, .text-danger h3, .text-danger h4, .text-danger h5, .text-danger h6, .text-danger a, .text-danger a:hover {color: #77220B;}
.text-warning, .text-warning p, .text-warning h1, .text-warning h2, .text-warning h3, .text-warning h4, .text-warning h5, .text-warning h6, .text-warning a, .text-warning a:hover {color: #FFDA16;}
.text-info, .text-info p, .text-info h1, .text-info h2, .text-info h3, .text-info h4, .text-info h5, .text-info h6, .text-info a, .text-info a:hover {color: #14374C;}
.text-custom1, .text-custom1 p, .text-custom1 h1, .text-custom1 h2, .text-custom1 h3, .text-custom1 h4, .text-custom1 h5, .text-custom1 h6, .text-custom1 a, .text-custom1 a:hover {color: #2e2e2e;}
.text-custom2, .text-custom2 p, .text-custom2 h1, .text-custom2 h2, .text-custom2 h3, .text-custom2 h4, .text-custom2 h5, .text-custom2 h6, .text-custom2 a, .text-custom2 a:hover {color: #4f4f4f;}
.text-custom3, .text-custom3 p, .text-custom3 h1, .text-custom3 h2, .text-custom3 h3, .text-custom3 h4, .text-custom3 h5, .text-custom3 h6, .text-custom3 a, .text-custom3 a:hover {color: #7a7a7a;}
.text-custom4, .text-custom4 p, .text-custom4 h1, .text-custom4 h2, .text-custom4 h3, .text-custom4 h4, .text-custom4 h5, .text-custom4 h6, .text-custom4 a, .text-custom4 a:hover {color: #a6a6a6;}
.text-custom5, .text-custom5 p, .text-custom5 h1, .text-custom5 h2, .text-custom5 h3, .text-custom5 h4, .text-custom5 h5, .text-custom5 h6, .text-custom5 a, .text-custom5 a:hover {color: #d9d9d9;}
.text-custom6, .text-custom6 p, .text-custom6 h1, .text-custom6 h2, .text-custom6 h3, .text-custom6 h4, .text-custom6 h5, .text-custom6 h6, .text-custom6 a, .text-custom6 a:hover {color: #e8e8e8;}
.text-custom7, .text-custom7 p, .text-custom7 h1, .text-custom7 h2, .text-custom7 h3, .text-custom7 h4, .text-custom7 h5, .text-custom7 h6, .text-custom7 a, .text-custom7 a:hover {color: #476A33;}
.text-custom8, .text-custom8 p, .text-custom8 h1, .text-custom8 h2, .text-custom8 h3, .text-custom8 h4, .text-custom8 h5, .text-custom8 h6, .text-custom8 a, .text-custom8 a:hover {color: #A0BF9F;}

[class*="filter-"] {position:relative; overflow:hidden;}
.filter-dark:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #181818; opacity: .3; z-index: 0;}
.filter-light:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #F2F2F2; opacity: .3; z-index: 0;}
.filter-primary:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #1D7602; opacity: .3; z-index: 0;}
.filter-secondary:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #9CB43F; opacity: .3; z-index: 0;}
.filter-success:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #32a852; opacity: .3; z-index: 0;}
.filter-danger:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #77220B; opacity: .3; z-index: 0;}
.filter-warning:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #FFDA16; opacity: .3; z-index: 0;}
.filter-info:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #14374C; opacity: .3; z-index: 0;}
.filter-custom1:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #2e2e2e; opacity: .3; z-index: 0;}
.filter-custom2:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #4f4f4f; opacity: .3; z-index: 0;}
.filter-custom3:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #7a7a7a; opacity: .3; z-index: 0;}
.filter-custom4:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #a6a6a6; opacity: .3; z-index: 0;}
.filter-custom5:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #d9d9d9; opacity: .3; z-index: 0;}
.filter-custom6:before {position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #e8e8e8; opacity: .3; z-index: 0;}
.filter-opac5:before {opacity:.5;} .filter-opac8:before {opacity:.8;}

.bg-offwhite {background-color: #f7f7f7 !important;}
.bg-primary {background-color: #1D7602 !important;}
.bg-secondary {background-color: #9CB43F !important;}

.bg-dark {background-color: #181818 !important;}
.bg-light {background-color: #F2F2F2 !important;}

.bg-info {background-color: #14374C;}
.bg-success {background-color: #32a852;}
.bg-danger {background-color: #77220B;}
.bg-warning {background-color: #FFDA16;}

.bg-customlight {background-color: $customlight !important;}
.bg-customdark {background-color: $customdark !important;}
.bg-custom1 {background-color: #2e2e2e !important;}
.bg-custom2 {background-color: #4f4f4f !important;}
.bg-custom3 {background-color: #7a7a7a !important;}
.bg-custom4 {background-color: #a6a6a6 !important;}
.bg-custom5 {background-color: #d9d9d9 !important;}
.bg-custom6 {background-color: #e8e8e8 !important;}
.bg-custom7 {background-color: #476A33 !important;}
.bg-custom8 {background-color: #A0BF9F !important;}

.overlay {position:relative;}
.overlay:before {content:""; position:absolute; background:rgba(0,0,0,0.3); left:0; top:0; right:0; bottom:0; z-index:0; transition:.3s all;}
.overlay.left:before {background:linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));}


.w-5 {width: 5%;}
.w-10 {width: 10%;}
.w-15 {width: 15%;}
.w-20 {width: 20%;}
.w-25 {width: 25%;}
.w-30 {width: 30%;}
.w-35 {width: 35%;}
.w-40 {width: 40%;}
.w-45 {width: 45%;}
.w-50 {width: 50%;}
.w-55 {width: 55%;}
.w-60 {width: 60%;}
.w-65 {width: 65%;}
.w-70 {width: 70%;}
.w-75 {width: 75%;}
.w-80 {width: 80%;}
.w-85 {width: 85%;}
.w-90 {width: 90%;}
.w-95 {width: 95%;}
.w-100 {width: 100%;}

.vh-5 {height: 5vh !important;}
.vh-10 {height: 10vh !important;}
.vh-15 {height: 15vh !important;}
.vh-20 {height: 20vh !important;}
.vh-25 {height: 25vh !important;}
.vh-30 {height: 30vh !important;}
.vh-35 {height: 35vh !important;}
.vh-40 {height: 40vh !important;}
.vh-45 {height: 45vh !important;}
.vh-50 {height: 50vh !important;}
.vh-55 {height: 55vh !important;}
.vh-60 {height: 60vh !important;}
.vh-65 {height: 65vh !important;}
.vh-70 {height: 70vh !important;}
.vh-75 {height: 75vh !important;}
.vh-80 {height: 80vh !important;}
.vh-85 {height: 85vh !important;}
.vh-90 {height: 90vh !important;}
.vh-95 {height: 95vh !important;}
.vh-100 {height: 100vh !important;}


.cards-vh-min-25 .__col .block-section, .vh-min-25 {min-height: 25vh !important;}
.cards-vh-min-30 .__col .block-section, .vh-min-30 {min-height: 30vh !important;}
.cards-vh-min-40 .__col .block-section, .vh-min-40 {min-height: 40vh !important;}
.cards-vh-min-50 .__col .block-section, .vh-min-50 {min-height: 50vh !important;}
.cards-vh-min-60 .__col .block-section, .vh-min-60 {min-height: 60vh !important;}
.cards-vh-min-75 .__col .block-section, .vh-min-75 {min-height: 75vh !important;}

.m0 .__content, .p0 .__content, .ms0 .__content *:not(:first-child) {margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;}
.m1st .__content *:first-child, .m0 *:is(h1, h2, h3, h4, h5, h6, p, img, ul, li, ol), .mu0 ul, .mo0 ol, .ml0 li, .mul0 ul, .mul0 li,
.mh0 *:is(h1, h2, h3, h4, h5, h6), .mp0 p, .mi0 img, .mh60 h6 {margin-top: 0 !important; margin-bottom: 0 !important;}
.p1st .__content *:first-child, .p0 *:is(h1, h2, h3, h4, h5, h6, p, img, ul, li, ol), .pu0 ul, .pl0 li, .pul0 ul, .pul0 li,
.ph0 *:is(h1, h2, h3, h4, h5, h6), .pp0 p, .pi0 img {padding-top: 0 !important; padding-bottom: 0 !important;}
.px0 .__content {padding-inline:0 !important;}


:is(main, .__base) > .pull-middle.block-section > .block-section-container:not(:has(.block-columns)), .pull-middle.block-section .__col .block-section-container, .__col .pull-middle.block-section .block-section-container {display: flex; flex-direction: column; align-items: center !important; justify-content: center !important;}
:is(main, .__base) > .pull-bottom.block-section > .block-section-container:not(:has(.block-columns)), .pull-bottom.block-section .__col .block-section-container, .__col .pull-bottom.block-section .block-section-container {display: flex; flex-direction: column; align-items: flex-end !important; justify-content: flex-end !important;}
:is(.pull-middle, .pull-bottom).block-section :is(.block-section-container, .block-section-container > .block) {width:-webkit-fill-available;}
:is(.pull-middle, .pull-bottom).block-section :is(.block-section-container) {height:100%;}
.pull-bottom.block-section .__col:has(.block-section.h-auto) {display: flex; align-items: flex-end;}
.pull-middle.block-section .__col:has(.block-section.h-auto) {display: flex; align-items: center;}

.row-gutter .row  .__col {padding: 15px  !important; }
.row-gutter-md .block-columns:not(:last-child) {padding-bottom: 30px;}
.row-center .row {justify-content: center !important;}
.row-gap .block-columns {gap:1rem; padding-inline:15px;}
.row-gap .block-columns .__col {flex:1 !important;}
.row-gap .block-columns:not(:last-child) {margin-bottom:1rem;}

.invert, .img-invert img {filter:invert(1);}
img.bnw, .img-bnw img, .block-gallery.bnw img {filter:saturate(0); transition:.3s all;}
img.bnw.hover:hover, .img-bnw.hover:hover img, .block-gallery.bnw img:hover {filter:saturate(1);}
.text-left-center {text-align: left;} .text-right-center, .text-right-left {text-align: right;}
.w-100-75, .w-100-50, .w-100-25 {width:100%;} 
.w-75-100, .w-75-50, .w-75-25 {width:75%; }
.w-50-100, .w-50-75, .w-50-25 {width:50%;} 
.w-25-100, .w-25-75, .w-25-50 {width:25%;} 

.modal-header {display:block;}
.bg-fixed {background-attachment:fixed;}

.hem-nyheter .nyheter {margin-top:20px;}
.hem-nyheter .nyheter .news {display:flex; column-gap:15px;     flex-direction: row; flex-wrap: wrap;}
.hem-nyheter .nyheter .list-group-item {background:rgba(255,255,255,0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display:none !important; flex:1;}
.hem-nyheter .nyheter .list-group-item:nth-child(-n+3) {display:block !important;}

.icons1 .__col img {width:100px;}
.linked {cursor:pointer;}


.form-fields input[type=checkbox] {margin-right:5px;}
.form-group > label:first-child {display:block;}
.form-fields .form-group div.checkbox {display: inline-block; width: 20%;}

.div-pris, .div-pris > .block-section-container {padding:0 !important; margin:0 !important; max-width:100%; width:100%;}
.div-pris > .block-section-container > .row {margin:0;}
.div-pris > .block-section-container > .row > .__content {padding:0;}


.menu-child {}
.menu-child :is(ul, li) {padding:0; list-style:none; border:none; margin:0;}
.menu-child li a {border:none; background: #f7f7f7; border-left:4px solid #7a7a7a; text-decoration:none; display: block; padding: .5rem .8rem; margin: 5px 0; transition:.3s all;}
.menu-child li.active a, .menu-child li a:hover {background:#e8e8e8; border-color:#9CB43F;}
.menu-child li:first-child a {text-transform:uppercase; font-weight:600; font-size:.8rem; letter-spacing:1px;}


.cover {padding-block:0 !important; text-align:center;}
.cover > .block-section-container {padding-bottom:0 !important;}
.cover + .block-section {padding-top:0 !important;}
.clickable {transition:.3s all;} .clickable:not(:has(.block-section-container[data-link*='javascript:;'])):hover {cursor:pointer; transform:translateY(4px);}

.cards .__col .block-section:before {transition:.3s all; border-radius:inherit; content:""; position: absolute; inset:0; background:linear-gradient(45deg, #1D7602, #9CB43F); opacity:.5;}
.cards .__col .block-section:hover:before {opacity:0;}
.cards .__col .block-section {border-radius:15px; overflow:hidden; color:#F2F2F2;}
.cards .__col .block-section .block-header {background-color:rgba(0,0,0,0.5); transition:.3s all; border-radius:0 15px 15px 0; width: auto; margin-right: auto; padding: 1rem 1rem 1rem 0.5rem; margin-bottom: -2rem;}
/*.cards .__col .block-section:hover .block-header {background-color:#1D7602;}*/

.block-list.news .block-list-group.modal-list .modal .modal-header {display:flex; }
.block-list.news .block-list-group.modal-list .modal .modal-header .modal-title {font-size:1.5rem;}
.block-list-group .list-group-item > h5 > .btn {margin-top:0 !important; width:100%; text-align:left;}
.block-list.news .block-list-group.modal-list {display: flex; flex-wrap: wrap; gap: 2rem;}
.block-list.news .block-list-group.modal-list .list-group-item {padding:0; flex: 1 0 30%; margin: 0; display: flex; flex-direction: column;}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn {padding:2rem;  display: flex; flex-direction: column; height:100%;}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn span {font-family:'Montserrat', sans-serif;}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn span strong {font-weight:normal;}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn span br {    display: block; height: 0.5rem; content: "";}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn b {font-size:1.5rem; margin-bottom:1rem;}
.block-list.news .block-list-group.modal-list .list-group-item > h5 > .btn small {font-family:'Montserrat', sans-serif; letter-spacing:1px; text-transform:uppercase; margin-top: auto; padding-top: 1.5rem;}
.block-list.news .block-list-group.modal-list .list-group-item .modal img {max-width:100%; float:none;}


:is(.block-image, .block-gallery) .caption {font-style:italic; font-size:.8rem; margin-block:.5rem;}
.block-gallery .gallery {}
.block-gallery .gallery .gallery-item {min-height:250px;}
.block-gallery .gallery .gallery-item *:not(.caption) {height:100%; object-fit:cover; width:100%; padding:0 !important; margin:0 !important;}
.block-gallery .caption {position: absolute; bottom: 0; background: white; margin: 0 !important; padding: 0.5rem 1rem;}

#block-gallery-modal a.controls {border:none; text-decoration:none; top:5rem !important; bottom:5rem !important; height:auto !important;}
#block-gallery-modal {inset:0; height:100vh !important; overflow:hidden !important;}
#block-gallery-modal .modal-dialog {height: 100%; width: 100%; max-height: 90vh; max-width: 90vw; position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%) !important; margin: 0;}
#block-gallery-modal .modal-body, #block-gallery-modal .modal-content {height: 100%; background:transparent; border:none;}
#block-gallery-modal img {height: 100%; object-fit: contain; background:rgba(0,0,0,0.8);}
#block-gallery-modal .caption-container {position:absolute; z-index:100; text-align:left; font-size:0; transition:.3s all; inset:auto 0 -1px 0; display: flex; align-items: flex-start; padding: 2rem; flex-direction: column; background-color: rgba(0,0,0,0.8);  opacity:1; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
#block-gallery-modal img:hover ~ .caption-container {opacity:.2; }
#block-gallery-modal .caption-container h3 {font-size:1.5rem !important; margin-bottom:5px;} #block-gallery-modal .caption-container p {font-size:1rem !important;}
#block-gallery-modal .caption-container.hidden {display:none;}

.img-fluid {width:100%;}

.cardx, .cardy, .cardz {overflow:hidden;}
.cardx, .cardy {border-radius:15px;}
.cardz {border-radius:calc(15px/2);}
.cardy {box-shadow:.5rem .5rem 1rem rgba(0,0,0,0.1);}

.gap-1 {gap:1rem;}
.object-cover {object-fit:cover;}
.d-flex > p:has(img) {flex: 1; margin-bottom:.5rem; max-width:50%;}
.d-flex > p img {height:100%; object-fit:cover;}

.news .block-list-modal .modal-body > p:has(img) {flex: 1; margin-bottom:.5rem; max-width:50%;}
.news .block-list-modal .modal-body > p img {width:100%; height:100%; object-fit:cover;}

main ol {margin-left:1rem !important;}
main ul {list-style:none;}
main ul li:before {content: "\f0da"; font-family: 'Font Awesome 5 Free'; font-weight: 900; padding: 0 10px 0 0; color: inherit;}
main ul li ul {margin-top:0; margin-left:1rem; font-size: smaller; padding-bottom:.3rem !important;}
main ul li ul li {line-height:2;}
main ul li ul li:before {content: "•";}

/*rx*/

@media (max-width:1920px) {
    
    .navbar {height:120px; }
    
    main > .block-section {padding: 100px 2rem;}
    .block-section.xs-box .block-columns .block-section {padding: 10px;}
    .block-section.xsm-box .block-columns .block-section {padding: 20px;}
    .block-section.sm-box .block-columns .block-section {padding: 30px;}
    .block-section.md-box .block-columns .block-section {padding: 45px;}
    .block-section.lg-box .block-columns .block-section {padding: 60px;}
}

@media (max-width:1440px) {
    main > .block-section {padding: 80px 2rem;}
    .navbar > .container {width:100%; max-width:100%; padding-left:15px !important; padding-right:15px !important;}
}

@media (max-width:1280px) {
    .hem-nyheter .nyheter .list-group-item {flex: 1 1 49%;}
    .form-fields .form-group div.checkbox {width: 25%;}
    
}

@media (max-width:992px) {
    main > .block-section {padding: 60px 2rem;}
    footer .col-menu li {flex:1 50%;}
    .navbar-expand-md .navbar-nav .nav-link {font-size:small; margin:0 .5rem;}
    .form-fields .form-group div.checkbox {width: 33%;}
}

@media (max-width:767px) {
    .navbar {height:100px; }
    
    main > .block-section {padding: 50px 1rem;}
    .block-section.xs-box .block-columns .block-section {padding: 10px;}
    .block-section.sm-box .block-columns .block-section {padding: 30px;}
    .block-section.md-box .block-columns .block-section {padding: 40px;}
    .block-section.lg-box .block-columns .block-section {padding: 50px;}
    
    .text-left-center, .text-right-center {text-align: center !important;}  .text-right-left {text-align: left !important;}
    .w-75-100, .w-50-100, .w-25-100 {width:100%;} 
    .w-100-75, .w-50-75, .w-25-75 {width:75%; }
    .w-100-50, .w-75-50, .w-25-50 {width:50%;} 
    .w-100-25, .w-75-25, .w-50-25 {width:25%;} 
    .text-center-right {text-align:right !important;}
    .w-md-auto {width:auto !important;}
    .w-md-100 {width:100% !important;}
    .w-md-90 {width:90% !important;}
    .w-md-80 {width:80% !important;}
    .w-md-70 {width:70% !important;}
    .w-md-50 {width:50% !important;}
    .w-md-30 {width:30% !important;}
    .vh-md-100 {height:100vh !important;}
    .vh-md-80 {height:80vh !important;}
    .vh-md-60 {height:60vh !important;}
    .vh-md-50 {height:50vh !important;}
    .vh-md-40 {height:40vh !important;}
    .vh-md-30 {height:30vh !important;}
    
    .d-none-md {display:none !important;}
    .order-md .block-columns > .__col:nth-child(1) {order:2;}
    .order-md .block-columns > .__col:nth-child(2) {order:1;}
    
    
    .__col.order-1-md {order:1;}
    .__col.order-2-md {order:2;}
    
    .bg-fixed {background-attachment:scroll;}
    .menu-child li:not(:first-child) {display:none;}
    .__col.order-1-md {order:1;}
    .__col.order-2-md {order:2;}
    
    .navbar .collapse ul>li:hover>a {background:#e8e8e8; font-weight:600;}
    .navbar .ftr-only {display:list-item;}
    
    .row-gap .block-columns .__col {flex:1 100% !important;}
    .cards .__col .block-section .block-header {margin-bottom: 0;}
    .d-flex {flex-direction: column;}
    .d-flex > p:has(img) {max-width:100%;}
}

@media (max-width:580px) {
    .form-fields .form-group div.checkbox {width: 50%;}
    footer .col-menu li {flex:1 100%;}
}

@media (max-width:420px) {
    .form-fields .form-group div.checkbox {width: 100%;}
}



