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







$trans; 0.3s all;

html, body {background-color: #fff; cursor: default; font-family: proxima-nova, Arial, Sans-serif; font-size: 1.1rem; line-height: 1.9; font-weight: 300; letter-spacing: .025rem; color: #333338; overflow-x: hidden !important;} 

img {border: 0; max-width: 100%; vertical-align: middle !important;}

/***************** paragraphs *******************/

h1 {font-weight: 700 !important; font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0; color: #29292e; font-size: 4rem; line-height: 1.15; font-weight: 300;}
h2 {font-weight: 700 !important; font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0; color: #29292e; font-size: 3rem; line-height: 1.15; font-weight: 300;}
h3 {font-weight: 700 !important; font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0; color: #29292e; font-size: 2rem; line-height: 1.15; font-weight: 300;}
h4 {font-weight: 700 !important;font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0; color: #4d4d52; font-size: 1.5rem; line-height: 1.6; font-weight: 300;}
h5 { font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0; color: #4d4d52; font-size: 1.15rem; line-height: 1.6; font-weight: 300;}
h6 {font-family: proxima-nova, Arial, Sans-serif; margin: 0; padding: 0; color: #333338; font-size: .8rem; line-height: 1.6; font-weight: 300; letter-spacing: .15rem; text-transform: uppercase;}

.fs-1, .fs-1 h1, .fs-1 h2, .fs-1 h3, .fs-1 h4, .fs-1 h5, .fs-1 h6, .fs-1 p {font-family: "aktiv-grotesk", Arial, Sans-serif; font-size: 1rem; line-height: 1.9; font-weight: 300; color: #c7c7cc;}
.fs-2, .fs-2 h1, .fs-2 h2, .fs-2 h3, .fs-2 h4, .fs-2 h5, .fs-2 h6, .fs-2 p {font-family: "aktiv-grotesk", Arial, Sans-serif; font-size: .8rem; line-height: 1.6; font-weight: 300; color: #fff; letter-spacing: .15rem; text-transform: uppercase;}
.fs-3, .fs-3 h1, .fs-3 h2, .fs-3 h3, .fs-3 h4, .fs-3 h5, .fs-3 h6, .fs-3 p {font-family: "aktiv-grotesk", Arial, Sans-serif; font-size: 1.25rem; line-height: 1.6; font-weight: 300; color: #c7c7cc;}
.fs-4, .fs-4 h1, .fs-4 h2, .fs-4 h3, .fs-4 h4, .fs-4 h5, .fs-4 h6, .fs-4 p {font-family: "aktiv-grotesk", Arial, Sans-serif; font-size: 1.5rem; line-height: 1.6; font-weight: 300; color: #c7c7cc;}
.fs-5, .fs-5 h1, .fs-5 h2, .fs-5 h3, .fs-5 h4, .fs-5 h5, .fs-5 h6, .fs-5 p {font-family: proxima-nova, Arial, Sans-serif; font-size: 2rem; line-height: 1.15; font-weight: 300; color: #fff;}
.fs-6, .fs-6 h1, .fs-6 h2, .fs-6 h3, .fs-6 h4, .fs-6 h5, .fs-6 h6, .fs-6 p {font-family: proxima-nova, Arial, Sans-serif; font-size: 3rem; line-height: 1.15; font-weight: 300; color: #fff;}
.fs-7, .fs-7 h1, .fs-7 h2, .fs-7 h3, .fs-7 h4, .fs-7 h5, .fs-7 h6, .fs-7 p {font-family: proxima-nova, Arial, Sans-serif; font-size: 4rem; line-height: 1.15; font-weight: 300; color: #fff;}

.fs-xl, .fs-xl h1, .fs-xl h2, .fs-xl h3, .fs-xl h4, .fs-xl h5, .fs-xl h6, .fs-xl p {font-size: 6rem !important; line-height: 1.05; font-weight: 300;}

p {margin: 0; padding: 0; font-family: proxima-nova, Arial, Sans-serif !important;}

a {color: #28608c; moz-transition: all .1s; -webkit-transition: all .1s; -o-transition: all .1s; -ms-transition: all .1s; transition: all .1s;}
a:hover {color: #29292e;}

h1 a, h2 a, h3 a {border: none !important; color: #fff;}
h1 a:hover, h2 a:hover, h3 a:hover {color: #c7c7cc;}

h4 a, h5 a {border: none !important; color: #fff; }
h4 a:hover, h5 a:hover {color: #fff;}

strong {font-weight: 500;} 

h1 strong, h2 strong, h3 strong {font-family: "aktiv-grotesk", Arial, Sans-serif;}
.fs-5 h1 strong, .fs-5 h2 strong, .fs-5 h3 strong, .fs-5 h4 strong, .fs-5 h5 strong, .fs-5 h6 strong, .fs-5 p strong {font-family: "aktiv-grotesk", Arial, Sans-serif;}
.fs-6 h1 strong, .fs-6 h2 strong, .fs-6 h3 strong, .fs-6 h4 strong, .fs-6 h5 strong, .fs-6 h6 strong, .fs-6 p strong {font-family: "aktiv-grotesk", Arial, Sans-serif;}
.fs-7 h1 strong, .fs-7 h2 strong, .fs-7 h3 strong, .fs-7 h4 strong, .fs-7 h5 strong, .fs-7 h6 strong, .fs-7 p strong {font-family: "aktiv-grotesk", Arial, Sans-serif;}
.fs-xl h1 strong, .fs-xl h2 strong, .fs-xl h3 strong, .fs-xl h4 strong, .fs-xl h5 strong, .fs-xl h6 strong, .fs-xl p strong {font-family: "aktiv-grotesk", Arial, Sans-serif;}

.sm-lineheight h1, .sm-lineheight h2, .sm-lineheight h3 {line-height: 1;}
.sm-lineheight h4, .sm-lineheight h5, .sm-lineheight p {line-height: 1.3;}

.sm-lineheight.fs-1 h1, .sm-lineheight.fs-1 h2, .sm-lineheight.fs-1 h3, .sm-lineheight.fs-1 h4, .sm-lineheight.fs-1 h5, .sm-lineheight.fs-1 h6, .sm-lineheight.fs-1 p {line-height: 1.3;}
.sm-lineheight.fs-3 h1, .sm-lineheight.fs-3 h2, .sm-lineheight.fs-3 h3, .sm-lineheight.fs-3 h4, .sm-lineheight.fs-3 h5, .sm-lineheight.fs-3 h6, .sm-lineheight.fs-3 p {line-height: 1.3;}
.sm-lineheight.fs-4 h1, .sm-lineheight.fs-4 h2, .sm-lineheight.fs-4 h3, .sm-lineheight.fs-4 h4, .sm-lineheight.fs-4 h5, .sm-lineheight.fs-4 h6, .sm-lineheight.fs-4 p {line-height: 1.3;}

.sm-lineheight.fs-5 h1, .sm-lineheight.fs-5 h2, .sm-lineheight.fs-5 h3, .sm-lineheight.fs-5 h4, .sm-lineheight.fs-5 h5, .sm-lineheight.fs-5 h6, .sm-lineheight.fs-5 p {line-height: 1;}
.sm-lineheight.fs-6 h1, .sm-lineheight.fs-6 h2, .sm-lineheight.fs-6 h3, .sm-lineheight.fs-6 h4, .sm-lineheight.fs-6 h5, .sm-lineheight.fs-6 h6, .sm-lineheight.fs-6 p {line-height: 1;}
.sm-lineheight.fs-7 h1, .sm-lineheight.fs-7 h2, .sm-lineheight.fs-7 h3, .sm-lineheight.fs-7 h4, .sm-lineheight.fs-7 h5, .sm-lineheight.fs-7 h6, .sm-lineheight.fs-7 p {line-height: 1;}

p strong, h4 strong, h5 strong {font-weight: 700;}

.fs-3 h1 strong, .fs-3 h2 strong, .fs-3 h3 strong, .fs-3 h4 strong, .fs-3 h5 strong, .fs-3 h6 strong, .fs-3 p strong {color: #fff;}
.fs-4 h1 strong, .fs-4 h2 strong, .fs-4 h3 strong, .fs-4 h4 strong, .fs-4 h5 strong, .fs-4 h6 strong, .fs-4 p strong {color: #fff;}

::-moz-selection {color: #fff; background: #7ea0ba;}
::selection {color: #fff; background: #7ea0ba;}

hr {width: 100%; margin: 1.5rem 0 0 0; height: .1rem; background-color: #28608c; color: #28608c; border: 0;}

.spacer {height: 2.5rem;}

.no-link {cursor: default;}

/***************** rx-menu *********************/

.mod-section .block-columns .__col .block-section img {height: 40vh; width: 100%; object-fit: cover;}

.bg-special {background-position: 80% 50% !important;}
.bg-bottom {background-position: 50% 80% !important;}

.house-categ .section-height4 {background-position: 80% 20%  !important;}
.navbar.navbar-start .navbar-nav .nav-link:hover {opacity: 0.5;}
.navbar.navbar-start .navbar-nav .nav-link {color: #fff; transition: $trans;}

.navbar {height: 8.5rem; padding: 0; background-color: #fff; moz-transition: all .2s; -webkit-transition: all .2s; -o-transition: all .2s; -ms-transition: all .2s; transition: all .2s;}
.navbar a {border: none; padding: 0; text-transform: none;}
.navbar .navbar-brand img {filter: brightness(1) invert(0); width: 20rem; margin-left: 2.5rem;}
.navbar.navbar-start .navbar-brand img {filter: brightness(0) invert(1); width: 20rem; margin-left: 2.5rem;}
.navbar .navbar-toggler {font-size: 5rem; padding: 0; margin-right: 2.5rem; margin-left: auto; color: #29292e; z-index: 700;}
.navbar.navbar-start .navbar-toggler:before {content: url('../../files/icons/nav_light.svg'); width: 5rem; line-height: 0; display: block;}
.navbar .navbar-toggler:before {content: url('../../files/icons/nav_dark.svg'); width: 5rem; line-height: 0; display: block;}
.navbar .navbar-toggler.open:before {content: url('../../files/icons/cross_dark.svg');}
.navbar .navbar-toggler:hover, .navbar .navbar-toggler:active, .navbar .navbar-toggler:focus {outline: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; border: none !important; outline-style: none !important; border-color: transparent !important;}
.navbar .navbar-collapse {flex-basis: auto; flex-grow: 0; margin-left: auto;}
.navbar .navbar-collapse, .navbar .navbar-nav, .navbar .navbar-nav .nav-item, .navbar .navbar-nav .nav-link {height: 100%;}
.navbar .navbar-nav .nav-link {font-family: proxima-nova, Arial, Sans-serif !important; padding: 0 2.5rem; color: #29292e; font-size: 1.25rem; text-decoration: none; display: flex; align-items: center;}
.navbar .navbar-nav .nav-item.active .nav-link, .navbar .navbar-nav .nav-item.parent .nav-link {font-weight: 700;}
.navbar .navbar-nav .nav-link:hover {color: #fff; background-color: #28608c;}
.navbar.navbar-start .navbar-nav .has_childs .nav-link:after {content:"\f078"; font: 700 1rem "Font Awesome 5 Free"; color: #fff; width: 1.25rem; margin-left: 1rem; border: none; line-height: 0; display: block;}
.navbar.navbar-start .navbar-nav .has_childs.show .nav-link:after {content:"\f077"; font: 700 1rem "Font Awesome 5 Free"; color: #fff;transform: rotate(0);}

.navbar .navbar-nav .has_childs.show .nav-link:after {content:"\f077"; font: 700 1rem "Font Awesome 5 Free"; color: #fff !important;transform: rotate(0);}

.navbar .navbar-nav .has_childs .nav-link:after {content:"\f078"; font: 700 1rem "Font Awesome 5 Free"; color: #28608c; width: 1.25rem; margin-left: 1rem; border: none; line-height: 0; display: block;}
.navbar .navbar-nav .has_childs.show .nav-link:after {content:"\f077"; font: 700 1rem "Font Awesome 5 Free"; color: #28608c; transform: rotate(0);}

.navbar .navbar-nav .nav-contact {display: none;}

.navbar .navbar-nav .dropdown-menu li a:after, .navbar .navbar-nav .nav-item.active .dropdown-menu .nav-link:after {display: none !important;}
.navbar .navbar-nav .dropdown-menu {min-width: 100%; padding: 0; background: #fff;}
.navbar .navbar-nav .dropdown-menu .nav-link, .navbar-nav .nav-item.active .dropdown-menu .nav-link, .navbar-nav .nav-item.parent .dropdown-menu .nav-link {border: none; border-radius: 0; font-size: 1rem; font-weight: 300; white-space: nowrap; color: #4d4d52; padding: 1rem 2.5rem; border-bottom: .1rem solid #c7c7cc !important; margin: 0;}
.navbar .navbar-nav .dropdown-menu .nav-item:last-child .nav-link {border-bottom: none !important;}
.navbar .navbar-nav .dropdown-menu .nav-item.active .nav-link {background: #28608c; font-weight: 700; color: #fff;}
.navbar .navbar-nav .dropdown-menu .nav-item .nav-link:hover {color: #fff; background-color: #333338;}

.navbar.navbar-start, .navbar.navbar-start .navbar-nav .nav-link:hover {background-color: transparent;}


@media (max-width: 992px) {
    .navbar {height: 12rem;}
    .navbar .navbar-nav .nav-link {font-size: 1rem;}
    .navbar .navbar-nav .has_childs .nav-link:after {width: 2rem; margin-left: 1.6rem;}
    .navbar .navbar-nav .dropdown-menu .nav-link, .navbar-nav .nav-item.active .dropdown-menu .nav-link, .navbar-nav .nav-item.parent .dropdown-menu .nav-link {font-size: 1.5rem; padding: 1.125rem 2.25rem; border-bottom-width: .15rem !important;}
    .navbar .navbar-nav .dropdown-menu .nav-item:last-child .nav-link {border-bottom: none !important;}
    .navbar .navbar-nav .dropdown-menu .nav-item.active .nav-link {font-weight: 700; color: #fff; background: #28608c;}

    
}

@media (max-width: 767px) {
    .navbar .navbar-nav .nav-link {font-size: 2rem;}

    .navbar {height: 15rem;}
    .navbar .navbar-collapse {margin-left: 0;}
    .navbar .navbar-nav {display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; position: fixed; top: 0; left: 0; background-color: #fff;}
    .navbar .navbar-brand img {width: 20rem; margin-left: 5rem;}
    .navbar .navbar-toggler {margin-right: 5rem;}
    .navbar .navbar-toggler.open {color: #29292e;}
    .navbar .navbar-nav .nav-item {height: auto;}
    .navbar.navbar-start .navbar-nav .nav-link {color: #29292e;}
    .navbar .navbar-nav .nav-link {margin: 0; padding: 0 5rem; font-size: 5rem; height: auto; color: #29292e;}
    .navbar .navbar-nav .has_childs .nav-link:after {width: 4rem; margin-left: 3rem;}
    .navbar .navbar-nav .nav-contact {display: block; padding: 0 5rem; margin-top: 4rem;}
    .navbar .navbar-nav .nav-contact a {display: block; text-decoration: none; color: #99999e; font-size: 3rem; margin-top: 1rem;}
    .navbar .navbar-nav .dropdown-menu {background-color: #fff; padding: 1rem 0;}
    .navbar .navbar-nav .dropdown-menu .nav-link, .navbar-nav .nav-item.active .dropdown-menu .nav-link, .navbar-nav .nav-item.parent .dropdown-menu .nav-link {background: #fff; font-size: 2.25rem; padding: 1rem 5rem; border-bottom: none !important;} 
}

@media (max-width: 320px) {
    .navbar {height: 12rem;}
    .navbar .navbar-brand img {margin-left: 4rem;}
    .navbar .navbar-toggler {margin-right: 4rem;}
    .navbar .navbar-nav .nav-link {padding: 0 4rem; font-size: 4rem;}
    .navbar .navbar-nav .has_childs .nav-link:after {width: 3rem; margin-left: 2rem;}
    .navbar .navbar-nav .nav-contact {padding: 0 4rem; margin-top: 3.5rem;}
    .navbar .navbar-nav .nav-contact a {font-size: 2.5rem; margin-top: .5rem;}
    .navbar .navbar-nav .dropdown-menu .nav-link, .navbar-nav .nav-item.active .dropdown-menu .nav-link, .navbar-nav .nav-item.parent .dropdown-menu .nav-link {padding: 1rem 4rem;}
}



/***************** rx-buttons *********************/

.__base .contact-box .block-columns .__col .block-section > .block-section-container .block-image img {display: none !important;}
.full-width-all.contact-box .__col .block-section:not(.page-cover) > .block-section-container > .block .__content {margin-bottom: -1.5rem !important; padding: 0 !important;}

.contact-box .block-columns .__col .block-section .block-section-container {width: 100%;}
.contact-box {padding: 0.3rem !important;}
.contact-box .block-columns .__col {padding: 0.15rem !important;}
.contact-box .block-columns .__col .block-section {color: #fff !important; border: 1px solid #f0f0f2; height: 100%; min-height: 40vh !important; display: flex; justify-content: flex-end !important; align-content: flex-end !important; flex-direction: column !important; align-items: flex-end; text-align: center !important;}
.contact-box .block-columns .__col .block-section h3 {top: 75% !important; color: #fff; position: relative; z-index: 20;}
.contact-box .block-columns .__col .block-section p {color: #f0f0f2; padding: 1rem 0; position: relative; z-index: 21;}
.contact-box .block-columns .__col .block-section .btn { position: relative; z-index: 22;}


.contact-box .block-columns .__col .block-section > .block-section-container {overflow: hidden;}
.contact-box .block-columns .__col .block-section:before{transition: 0.3s all; position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background: #29292e; opacity: 0.4; z-index: 0;}
.contact-box .block-columns .__col .block-section:hover:before{transition: 0.3s all; opacity: 0.5;}


.contact-box .block-columns .__col .block-section > .block-section-container .block-image {overflow: hidden !important; height: 100%; min-height: 70vh !important; object-fit: cover; width: 100%; position:absolute; top: -30%; left: 0; right: 0; bottom: 0;}
.contact-box .block-columns .__col .block-section > .block-section-container .block-image:before {width: 100% !important; position:absolute; content:""; left:0; top:0; right:0; bottom:0; background-color: #29292e; opacity: 0.4; z-index: 10;}

.contact-box .block-columns .__col .block-section > .block-section-container .block-image img {z-index: -1; height: 100%; min-height: 45vh !important; margin-top: -1.5px; padding:0; object-fit: cover;width: 100%; object-position:center; transition: 0.5s all;}

.contact-box .block-columns .__col .block-section > .block-section-container .block:not(.block-image) { }
.contact-box .block-columns .__col .block-section:hover > .block-section-container .block-image img {opacity:0;}

.__base .contact-box .block-columns .__col .block-section > .block-section-container .block-image {position: relative;}

.contact-box .block-columns .__col .special-img.block-section > .block-section-container .block-image {min-height: 100vh !important;}

@media (max-width: 1470px) {
    .contact-box .block-columns .__col .block-section > .block-section-container .block-image {min-height: 70vh !important;}
}

@media (max-width: 992px) {
    .contact-box .block-columns .__col .block-section > .block-section-container .block-image {min-height: 100vh !important; top: -30% !important;}
}

@media (max-width: 767px) {
.contact-box .block-columns .__col .block-section > .block-section-container .block-image {min-height: 70vh !important; top: -10% !important;}
    
}

.clickable {transition:$trans;} .clickable:hover {cursor:pointer; transform:translateY(4px);}
	
.btn {text-align: center; white-space: normal; border: none !important; font-size: 1rem; font-weight: 500; border-radius: 30px !important; display: inline-block; text-align: left; padding: 1.25rem 3.5rem; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; font-style: normal; margin: 1.5rem 0 0 0; text-decoration: none !important; position: relative; z-index: 2;}
.btn:hover, .btn:active, .btn:focus { outline: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; border: none !important; outline-style: none !important; border-color: transparent !important;}

.btn-primary {background-color: #28608c !important; color: #fff !important;}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {background-color: #333338 !important;}

.btn-secondary {background-color: #7ea0ba; color: #fff !important;}
.btn-secondary:hover {background: #29292e;}

.btn-light {background-color: #28608c !important; color: #fff !important;}
.btn-light:hover {background-color: #fff !important; color: #29292e !important;}

.btn-dark {background-color: #29292e; color: #fff !important;}
.btn-dark:hover {background-color: #fff; color: #29292e !important;}

.btn-green {background-color: $btncolor; color: #29292e !important;}
.btn-green:hover {background-color: #28608c; color: #29292e !important;}

.btn-info {padding: 0 !important; background: transparent; color: #fff; display: inline-block; moz-transition: all .1s; -webkit-transition: all .1s; -o-transition: all .1s; -ms-transition: all .1s; transition: all .1s;}
.btn-info:hover, .btn-info:active, .btn-info:focus {color: #fff !important; background: transparent !important; letter-spacing: .15rem;}

.btn-success {background-color: #7ea0ba !important; color: #29292e !important;}

.btn-success:hover, .btn-success:active, .btn-success:focus {background-color: #c7c7cc !important; color: #29292e !important;}

.btn-warning {background-color: transparent !important; color: #fff !important; border: .1rem solid #28608c !important;}
.btn-warning:hover, .btn-warning:active, .btn-warning:focus {background-color: #28608c !important; border: .1rem solid #28608c !important;}

.btn-danger {background-color: #29292e !important; color: #7ea0ba !important;}
.btn-danger:hover, .btn-danger:active, .btn-danger:focus {background-color: #333338 !important;}

.btn-scroll.down:hover:after, .btn-contact.down:hover:after {transform: rotate(90deg);}
.btn-scroll.up:hover:after, .btn-contact.up:hover:after {transform: rotate(-90deg);}

/***************** borders *********************/

.border, .border-top, .border-bottom, .border-left, .border-right {border-width: .1rem;}

.border-col .block-columns .__col {border-width: .1rem; border-style: solid;}
.border-top-col .block-columns .__col {border-top-width: .1rem; border-top-style: solid;}
.border-bottom-col .block-columns .__col {border-bottom-width: .1rem; border-bottom-style: solid;}
.border-left-col .block-columns .__col {border-left-width: .1rem; border-left-style: solid;}
.border-right-col .block-columns .__col {border-right-width: .1rem; border-right-style: solid;}

.border-left-col .block-columns .__col:first-child {border-left: none;}
.border-right-col .block-columns .__col:last-child {border-right: none;}

.border-primary {border-color: #28608c !important;}
.border-secondary {border-color: #7ea0ba;}

.border-dark {border-color: #29292e;}
.border-light {border-color: #fff;}

.border-info {border-color: $info;}
.border-success {border-color: #2fa736;}
.border-warning {border-color: $warning;}
.border-danger {border-color: $danger;}

.border-custom1 {border-color: #333338;}
.border-custom2 {border-color: #4d4d52;}
.border-custom3 {border-color: #99999e;}
.border-custom4 {border-color: #c7c7cc;}
.border-custom5 {border-color: #e6e6e8;}
.border-custom6 {border-color: #f0f0f2;}

.border-primary-col .block-columns .__col {border-color: #28608c;}
.border-secondary-col .block-columns .__col {border-color: #7ea0ba;}

.border-dark-col .block-columns .__col {border-color: #29292e;}
.border-light-col .block-columns .__col {border-color: #fff;}

.border-info-col .block-columns .__col {border-color: $info;}
.border-success-col .block-columns .__col {border-color: #2fa736;}
.border-warning-col .block-columns .__col {border-color: $warning;}
.border-danger-col .block-columns .__col {border-color: $danger;}

.border-custom1-col .block-columns .__col {border-color: #333338;}
.border-custom2-col .block-columns .__col {border-color: #4d4d52;}
.border-custom3-col .block-columns .__col {border-color: #99999e;}
.border-custom4-col .block-columns .__col {border-color: #c7c7cc;}
.border-custom5-col .block-columns .__col {border-color: #e6e6e8;}
.border-custom6-col .block-columns .__col {border-color: #f0f0f2;}

table, tbody, tr, td {border: none;}

/***************** utilities *********************/

.block-list-group {margin: 1.5rem 0 0 0;}
.block-list-group .list-group-item {font-size: 1.5rem; background-color: #F5F3F1; padding: 2rem; margin-bottom: .1rem; border: none; border-radius: 0; moz-transition: all .2s; -webkit-transition: all .2s; -o-transition: all .2s; -ms-transition: all .2s; transition: all .2s;}
.block-list-group .list-group-item p {margin: 0 !important;}

.block-list-group.accordion .card {padding: 0; border: none; border-radius: 0; background: #F5F3F1; margin-bottom: .1rem; -webkit-box-shadow: 0 0 0 rgba(0,0,0,0); box-shadow: 0 0 0 rgba(0,0,0,0); moz-transition: all .2s; -webkit-transition: all .2s; -o-transition: all .2s; -ms-transition: all .2s; transition: all .2s;}
.block-list-group.accordion .card:last-child {margin: 0;}
.block-list-group.accordion .card .card-header {padding: 0; border: none; background: transparent;}
.block-list-group.accordion .card .card-header h5 {margin: 0 !important;}
.block-list-group.accordion .card .card-header h5 .btn {font-family: proxima-nova, Arial, Sans-serif; margin-top: 0 !important; border: none !important; font-style: normal; background-color: transparent !important; text-transform: none; color: #4d4d52 !important; font-weight: 300; font-size: 1.5rem; line-height: 1.15; border: none !important; padding: 2rem; display: block; width: 100%;}
.block-list-group.accordion .card .card-header h5 .btn:hover {text-decoration: underline !important;}
.block-list-group.accordion .card .card-header h5 .btn:after {content: url('../../files/icons/accordion-open_primary.svg'); width: 1.5rem; line-height: 1.15; display: block; float: right; vertical-align: middle;}
.block-list-group.accordion .card .card-header h5 .btn.collapsed:after {content: url('../../files/icons/accordion-closed_primary.svg');}
.block-list-group.accordion .card .card-body {text-align: left !important; padding: 2rem; padding-top: 0 !important;}
.block-list-group.accordion .card .card-body p {margin: 0 !important;}

.block-list-group.tabs .nav-tabs {border: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0;}
.block-list-group.tabs .nav-tabs .nav-item {background-color: #29292e; padding: 0 !important; margin-right: .1rem;}
.block-list-group.tabs .nav-tabs .nav-item .nav-link {padding: 2rem; border: none; background: #29292e; margin: 0; border-radius: 0; color: #fff; text-decoration: none;}
.block-list-group.tabs .nav-tabs .nav-item .nav-link:hover {text-decoration: underline;}
.block-list-group.tabs .nav-tabs .nav-item .nav-link.active {background: #333338; font-weight: 700;}
.block-list-group.tabs .nav-tabs .nav-item:before {display: none;}
.block-list-group.tabs .tab-content {padding: 2rem; border: none; background: #333338;}
.block-list-group.tabs .tab-content p {margin: 0 !important;}

.block-list-group.modal-list .list-group-item {padding: 0 !important;}
.block-list-group.modal-list .list-group-item h5 {margin: 0 !important;}
.block-list-group.modal-list .list-group-item h5 .btn {font-family: proxima-nova, Arial, Sans-serif; margin-top: 0 !important; border: none !important; font-style: normal; background-color: transparent !important; text-transform: none; color: #333338 !important; font-weight: 300; font-size: 1.5rem; line-height: 1.15; border: none !important; padding: 2rem; display: block; width: 100%;}
.block-list-group.modal-list .list-group-item h5 .btn:hover {text-decoration: underline !important;}
.block-list-group.modal-list .list-group-item h5 .btn:after {content: url('../../files/icons/arrow-expand_dark.svg'); width: 1.5rem; line-height: 1.15; display: block; float: right; vertical-align: middle;}

.nyheter .block-section-container {margin-top: -3.5rem;}

.news {border: none; padding: 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; }
.news .list-group-item {margin: 0; padding: 0 !important; width: calc(100% / 3); overflow: hidden; border: none;background-color: #29292e; border-right: .1rem solid #333338; border-bottom: .1rem solid #333338; float: left; border-radius: 0; moz-transition: all .3s; -webkit-transition: all .3s; -o-transition: all .3s; -ms-transition: all .3s; transition: all .3s;}
.news .list-group-item:nth-child(3n) {border-right: none !important;}
.news .list-group-item:last-child {border-bottom: none !important;}
.news .list-group-item .list-date {margin: 0; padding: 1.5rem; position: absolute; right: 0; color: #4d4d52; font-size: .8rem; line-height: 1.6; letter-spacing: .15rem; font-weight: 300; text-transform: uppercase; moz-transition: all .3s; -webkit-transition: all .3s; -o-transition: all .3s; -ms-transition: all .3s; transition: all .3s;}
.news .list-group-item h3.list-header {padding: 5rem 5rem 0 5rem; font-size: 3rem; line-height: 1.15; margin-top: 0 !important;}
.news .list-group-item .list-content {margin: 0; flex-grow: 1; padding: 0 5rem 5rem 5rem;}
.news .list-group-item .list-content p {margin-top: 1.25rem !important;}
.news .list-group-item:hover {background-color: #333338;}
.news .list-group-item:hover .list-date {color: #7ea0ba;}

#newsfeed {border: none; margin: 0 !important; display: flex; flex-wrap: wrap; border-bottom: .1rem solid #333338 !important;}
#newsfeed .list-group-item {margin: 0 !important; text-align: center; display: flex !important; flex-direction: column; padding: 0 !important; background-color: #29292e; width: calc(100% / 3); border: none !important; border-right: .1rem solid #333338 !important; border-radius: 0;}
#newsfeed .list-group-item:last-child {border-right: none !important;}
#newsfeed .list-group-item .list-date {margin: 0; padding: .5rem 0; position: absolute; background-color: #1a1a1f; color: #4d4d52; font-size: .8rem; line-height: 1.6; font-weight: 300; letter-spacing: .15rem; text-transform: uppercase; width: 100%;}
#newsfeed .list-group-item h3.list-header {padding: 4.5rem 2.5rem 0 2.5rem; font-size: 1.5rem; line-height: 1.6; font-weight: 500; font-family: "aktiv-grotesk", Arial, Sans-serif; margin-top: 0 !important;}
#newsfeed .list-group-item .list-content {margin: 0; flex-grow: 1; padding: 1.25rem 2.5rem 2.5rem 2.5rem;}
#newsfeed .list-group-item .list-content * {display: none; margin: 0 !important;}
#newsfeed .list-group-item .list-content :first-child {overflow: hidden; font-size: 1rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
#newsfeed .list-group-item img, #newsfeed .list-group-item table {display: none;}

.pager {margin: 0; padding-left: .25rem !important; padding-right: .25rem !important; width: 100%; border-radius: 0;}
.pager li {margin: 0 !important; padding: 0;}
.pager li:before {display: none;}
.pager li a {padding: 0; font-size: 0; margin: 0 .5rem !important; color: #c7c7cc; background: #c7c7cc; border: none; width: 1rem; height: 1rem; border-radius: 50% !important;}
.pager li a:hover, .pager li a:active, .pager li a:focus {outline: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; border: none !important; outline-style: none !important; border-color: transparent !important;}
.pager li a:hover, .pager li a.active {background: #28608c; color: #28608c;}

.news-page .pager {background-color: #333338; padding: 2.5rem !important; display: flex; align-items: center; justify-content: center;}
.news-page .pager li {display: block;}

.block-gallery .gallery .gallery-item {margin-bottom: 0;}
.block-gallery .gallery .gallery-item .image-container {margin-bottom: 0;}
.block-gallery .gallery .gallery-item .image-container a {border: none !important;}
.ref-gal .block-gallery .gallery .gallery-item .image-container img {height: 35vh; width: 100%; object-fit: cover;}
.block-gallery .gallery li:before {display: none;}

#block-gallery-modal .caption-container {position: relative; right: auto; bottom: 0; left: 0; padding: 1.5rem; width: 100%; color: #fff; text-align: left; background: #29292e; text-shadow: 0 0 0 rgba(0,0,0,0);}
#block-gallery-modal h3 {color: #fff;}
#block-gallery-modal p {color: #fff; padding: .5rem 0 0 0 !important;}
#block-gallery-modal a.controls, #block-gallery-modal a.controls:visited, #block-gallery-modal a.controls:active, #block-gallery-modal a.controls:hover {text-shadow: 0 0 0 rgba(0,0,0,0); filter: alpha(opacity=0); border: none;}
#block-gallery-modal .control-close {top: .25rem; color: #28608c; opacity: 1; text-shadow: 0 0 0 transparent;}
#block-gallery-modal.modal.fade .modal-dialog {-webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}

.block-gallery .carousel {margin-top: 1.5rem !important;}
.block-gallery .carousel .carousel-control-next, .block-gallery .carousel .carousel-control-prev {border: none !important;}
.block-gallery .carousel .carousel-control {width: auto; padding: 0 2.5rem; text-shadow: 0 0 0 rgba(0,0,0,0); border: none !important;}
.block-gallery .carousel .carousel-indicators li {margin: 0 .5rem; background: transparent; opacity: 1; border: .1rem solid #fff; width: 1rem; height: 1rem; border-radius: 50%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
.block-gallery .carousel .carousel-indicators li.active {background: #fff;}
.block-gallery .carousel .carousel-caption {left: 0; top: auto; bottom: 0; right: auto; width: 40rem; margin: 0; padding: 2.5rem; background: rgba(0,0,0,0);}
.block-gallery .carousel .carousel-caption > h3 {padding: 0; color: #fff; text-shadow: 0 0 0 transparent; margin-bottom: 0;}
.block-gallery .carousel .carousel-caption > p {margin: 0; padding: .5rem 0 0 0; color: #fff; text-shadow: 0 0 0 transparent;}
.block-gallery .carousel .carousel-caption > .btn {margin: 1rem 0 0 0;}

.modal-backdrop {background-color: #333338;}
.modal-backdrop.show {opacity: .9;}
.modal-dialog {width: 100%; max-width: 100%; height: 100%; margin: 0; display: flex !important; align-items: center; justify-content: center;}
.modal-content {margin: 0; width: 52rem; background-color: #fff; padding: 0; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; border: none;}
.modal-header {border-bottom: .1rem solid #333338;}
.modal-header, .modal-body {padding: 2rem;}
.modal-body {font-family: proxima-nova, Arial, Sans-serif !important;}
.modal-header h5 {font-size: 1.5rem; line-height: 1.2;}
.modal-header .close {font-size: 2.75rem; line-height: .5; font-weight: 300; color: #28608c; text-shadow: none; opacity: 1; padding: 0; margin: 0 0 0 auto;}
.modal-header .close:hover {color: #29292e; opacity: 1 !important;}
.modal-footer {display: none;}

/***************** main *********************/

.container {max-width: 74rem; padding: 0;}
.container-fluid {padding: 0;}

#section-404 {display: flex; align-items: center; justify-content: center; min-height: 60vh; width: 100% !important;}
#section-404 .block-error-404 {padding: 0 !important;}
#section-404 h1 {margin-top: 0 !important;}
#section-404 p {font-size: 1.5rem; line-height: 1.6;}
#section-404 p a {color: #fff; font-size: 1rem; font-weight: 500; margin-left: .75rem; border: none !important;}
#section-404 p a:hover {letter-spacing: .15rem; text-decoration: none !important;}

.block-section > .block-section-container {padding: 0; width: 74rem; position: relative;}
.block-section .block-section-container .block-columns .block-section-container {width: auto;}
.block-section {width: 100%; max-width: 100%; position: relative; padding: 5rem 0 6.5rem 0;}

.block-section.full-page-section {padding: 5rem 0; display: flex; align-items: center; justify-content: center; min-height: 100vh;}
.block-section.full-page-section .block-section-container {margin: 0 !important;}

.block-section.sm-section .block-section-container, .block-section.sm-section .container {width: 52rem;}
.block-section.lg-section .block-section-container, .block-section.lg-section .container {width: 96rem;}

.block-section.sm-padding {padding-top: 1rem !important; padding-bottom: 2.5rem !important;}
.block-section.xs-padding {padding: 0 !important;}

.block-section.bg-image {background-position: center center;}
.block-section.bg-right {background-position: center right;}
.block-section.bg-bottom {background-position: bottom center;}
.block-section.bg-top {background-position: top center;}
.block-section.bg-topright {background-position: top right;}

.block-section.bg-100 {-webkit-background-size: 100%; -moz-background-size: 100%; -o-background-size: 100%; background-size: 100%; background-repeat: no-repeat;}

.block-section.bg-fixed {background-attachment: fixed;}
.block-section.bg-fixed.touchscreen {background-attachment: scroll !important;}

.block-section.no-bottom {padding-bottom: 0 !important;}
.block-section.no-top {padding-top: 0 !important;}

.block-section.d-flex-col .block-columns {display: flex !important;}
.block-section.d-flex-col .block-columns .block-section {height: 100%;}
.block-section.d-flex-col .block-columns .block-section .grow {flex-grow: 1;}

.block-section.row-reverse.not_cms .block-columns {flex-direction: row-reverse;}

.block-section.xs-box .block-columns .block-section {padding: 0 .75rem 1.5rem .75rem;}
.block-section.sm-box .block-columns .block-section {padding: 2.5rem 3.75rem 4rem 3.75rem;}
.block-section.md-box .block-columns .block-section {padding: 5rem 5rem 6.5rem 5rem;}
.block-section.lg-box .block-columns .block-section {padding: 10rem 7.5rem 11.5rem 7.5rem;}

.block-columns .block-section {padding: 0; margin: 0 !important;}

.full-width-all .row, .full-width-all .__content, .full-width-all .__col {margin: 0; padding: 0;}
.block-section.full-width-all .block-section-container {overflow: visible !important;}

main p, main img {margin: 1.25rem 0 0 0;}
main h1, main h2, main h3, main h4, main h5, main h6, main .fs-2 p, main .fs-3 p, main .fs-4 p, main .fs-5 p, main .fs-6 p, main .fs-7 p {margin: 1.5rem 0 0 0;}

main ul {padding: .5rem 0; border-top: .1rem solid #333338; border-bottom: .1rem solid #333338; margin: 1.25rem 0 0 0; list-style: none;}
main ul li {margin: 0; padding: .25rem 0 .25rem 2rem; position: relative; line-height: 1.5;}
main ul li:before {content: url('../../files/icons/list-before_primary.svg'); width: 1rem; position: absolute; left: 0;}

.col-6-container .__content {column-count: 2; column-gap: 3rem; padding-top: 1.5rem;}
.col-6-container .__content :first-child {margin-top: 0 !important; padding-top: 0 !important;}

.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;}
.vh-10 {height: 10vh;}
.vh-15 {height: 15vh;}
.vh-20 {height: 20vh;}
.vh-25 {height: 25vh;}
.vh-30 {height: 30vh;}
.vh-35 {height: 35vh;}
.vh-40 {height: 40vh;}
.vh-45 {height: 45vh;}
.vh-50 {height: 50vh;}
.vh-55 {height: 55vh;}
.vh-60 {height: 60vh;}
.vh-65 {height: 65vh;}
.vh-70 {height: 70vh;}
.vh-75 {height: 75vh;}
.vh-80 {height: 80vh;}
.vh-85 {height: 85vh;}
.vh-90 {height: 90vh;}
.vh-95 {height: 95vh;}
.vh-100 {height: 100vh;}

.m0 h1, .m0 h2, .m0 h3, .m0 h4, .m0 h5, .m0 h6, .m0 p:first-child, .m0 img, img.m0, .m0 .block-list-group, .m0.btn {margin: 0 !important;}
.m15 h1, .m15 h2, .m15 h3, .m15 h4, .m15 h5, .m15 h6, .m15 p, .m15 img, .m15 .block-list-group, .m15.btn {margin-top: .75rem !important;}

.bubble-box {padding: 1.5rem; margin-top: 4.5rem; position: relative; width: calc(100% / 3) !important; margin-right: auto; margin-left: auto;}
.bubble-box:after {content: ""; position: absolute; border-left: solid 1.5rem transparent; border-right: solid 1.5rem transparent; border-bottom: solid 1.5rem #29292e; bottom: 100%; left: 50%; margin-left: -1.5rem; width: 0; height: 0;}
.bubble-box .__content {padding: 0;}

.bubble-box.bg-custom1:after {border-bottom-color: #333338;}

.point-top:after {content: ""; position: absolute; border-left: solid 1.5rem transparent; border-right: solid 1.5rem transparent; border-bottom: solid 1.5rem #29292e; bottom: 100%; left: 50%; margin-left: -1.5rem; width: 0; height: 0;}
.point-bottom:after {content: ""; position: absolute; border-left: solid 1.5rem transparent; border-right: solid 1.5rem transparent; border-top: solid 1.5rem #29292e; top: 100%; left: 50%; margin-left: -1.5rem; width: 0; height: 0;}

.point-top.bg-custom1:after {border-bottom-color: #333338;}
.point-bottom.bg-custom1:after {border-top-color: #333338;}

.tooltip {opacity: 1 !important;}
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before, .bs-tooltip-bottom .arrow::before {border-bottom-color: #28608c;}
.bs-tooltip-auto[x-placement^="top"] .arrow::before, .bs-tooltip-top .arrow::before {border-top-color: #28608c;}
.bs-tooltip-auto[x-placement^="left"] .arrow::before, .bs-tooltip-left .arrow::before {border-left-color: #28608c;}
.bs-tooltip-auto[x-placement^="right"] .arrow::before, .bs-tooltip-right .arrow::before {border-right-color: #28608c;}
.tooltip .tooltip-inner {padding: .5rem 1rem; border-radius: 0; color: #fff; max-width: 100%; font-size: .8rem; line-height: 1.9; font-weight: 700; background-color: #28608c;}

.preamble-left .__content > * {padding-left: 2rem; border-left: .1rem solid #28608c;}
.preamble-right .__content > * {padding-right: 2rem; border-right: .1rem solid #28608c;}
.personal {padding: 4rem 0 6.5rem 0; margin: 0 -.75rem; display: flex; flex-wrap: wrap; justify-content: center; moz-transition: all .5s; -webkit-transition: all .5s; -o-transition: all .5s; -ms-transition: all .5s; transition: all .5s;}
.personal .block-section {text-align: center; margin: 0 .75rem !important; padding: 2.5rem 0 0 0; width: 100%;}
.personal .block-section .block-section-container {padding: 0 !important; margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column;}
.personal .block-section .block-section-container .block-header:nth-child(3) {flex-grow: 1;}
.personal img {padding: 0; display: block; height: 20rem; width: 20rem; object-fit: cover; border-radius: 50%; margin: 0 auto !important;}
.personal .block-section p {font-size: 1.5rem; color: #99999e;}

.main-slider {height: 100vh;}
.__base .main-slider {overflow: hidden !important;}
.main-slider .block-section-container, .main-slider .block-gallery, .main-slider .__content, .main-slider .carousel, .main-slider .carousel-inner, .main-slider .item {height: 100%;}
.main-slider .carousel-item img {padding: 0; width: 100%; height: 100%; object-fit: cover;}
.main-slider .block-gallery .carousel {margin: 0 !important;}
.main-slider .block-gallery .carousel .carousel-control {padding: 0; z-index: 698;}
.main-slider .block-gallery .carousel .carousel-control-prev {left: 2rem;}
.main-slider .block-gallery .carousel .carousel-control-next {right: 2rem;}
.main-slider .block-gallery .carousel .slider-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: .25; z-index: 0;}
.main-slider .block-gallery .carousel .carousel-caption {height: 100%; width: 74rem; padding: 5rem 0 6.5rem 0; top: 0; bottom: 0; left: 0; right: 0; margin-left: auto; margin-right: auto; display: flex; justify-content: center; flex-direction: column; z-index: 1;}
.main-slider .block-gallery .carousel .carousel-caption > h3 {font-weight: 200 !important; font-size: 1.25rem; letter-spacing: 1.5px;  line-height: 1.6; font-family: "aktiv-grotesk", Arial, Sans-serif; text-transform: uppercase; }
.main-slider .block-gallery .carousel .carousel-caption > p {font-family: "aktiv-grotesk", Arial, Sans-serif !important; font-size: 4rem; line-height: 1.15; padding: 0; margin-top: 0; font-weight: 500;}
.main-slider .block-gallery .carousel .carousel-caption > .btn {margin-top: 1.5rem; align-self: center;}
.main-slider .carousel-control-next-icon, .main-slider .carousel-control-prev-icon {width: 1.5rem; height: 1.5rem;}

.breadcrumb {padding: 2.5rem !important; border-radius: 0; margin-bottom: 0;}
.breadcrumb .block-section-container {width: 100%; padding: 0; margin: 0;}
.breadcrumb p {margin: 0 !important;}
.breadcrumb p a {text-decoration: none; color: #c7c7cc;}
.breadcrumb p a:hover {color: #fff;}
.breadcrumb p a:after {content: url('../../files/icons/breadcrumb-after_primary.svg'); line-height: 1; display: inline-block; width: .5rem; vertical-align: middle; margin: 0 1rem;}

.map-container {height: 30vh;}
.map-container .block-section-container, .map-container .row, .map-container .__content, .map-container .tiny-pageembed {height: 100%;}
.map-container iframe {opacity: .5; width: 100%; height: 100%; border: 0; -webkit-filter: grayscale(1); filter: grayscale(1); moz-transition: all .3s; -webkit-transition: all .3s; -o-transition: all .3s; -ms-transition: all .3s; transition: all .3s;}
.map-container iframe:hover {opacity: 1; -webkit-filter: grayscale(0); filter: grayscale(0);}

/************************COOKIES-v3*******************************/

body.modal-open.no-cookie #modal-cc {display:none !important;}
html:has(body.modal-open.no-cookie #modal-cc.d-none), body.modal-open.no-cookie:has(#modal-cc.d-none) {padding-right:0 !important; overflow-y:auto;}

.modal {background: rgba(0,0,0,0.8); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);}
.modal .modal-header .close {order:2;}

#modal-cc {font-size:18px;}
#modal-cc .modal-dialog {display:block !important; height:auto !important; position:fixed; inset: auto auto 2em 2em; margin: 2em 2em 0 0; max-width:50em;}
#modal-cc .modal-content {background-color:#fff; color:#29292e; border-radius:calc($boradius/2); padding:3em;}
#modal-cc .modal-content * {color:inherit;}
#modal-cc .modal-header {margin-bottom:1.5em; border:none; padding:0; display: flex; align-items: center;}
#modal-cc .modal-header .close {display: flex; align-items: center; justify-content: center; right:3em; top:3em; opacity:1; background-color:transparent; border:1px solid #29292e !important; color:inherit; font-size:0; letter-spacing:0; line-height:0; width: 3em; height: 3em; border-radius: 50%;}
#modal-cc .modal-header .close:before {content:"\f00d"; font: 700 1rem "Font Awesome 5 Free"; font-family: 700 1rem "Font Awesome 5 Free"; font-size:12px;}
#modal-cc .modal-header .modal-title {font-size:1.2em;}
#modal-cc .modal-body {background-color:transparent; padding:0;}
#modal-cc .modal-content .nav-pills {gap:1em; display:flex;}
#modal-cc .modal-content .nav-pills .nav-item {float:none; flex:1;}
#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:$trans; opacity:.5; text-align: left; background: transparent; border-bottom: solid 1px rgba(0,0,0,0.2); border-radius: 0; padding-inline: 2.5px;}
#modal-cc .modal-content .nav-pills .nav-link.active {opacity:1;}
#modal-cc .modal-content .nav-pills:before {display:none;}
#modal-cc .modal-content .nav-pills:after {display:none;}
#modal-cc .modal-body p:empty {display:none;}
#modal-cc .modal-body p {font-size:.8em;}
#modal-cc .modal-body p + p {margin-top:1em; padding-top:0;}
#modal-cc .modal-body hr {display:none;}
#modal-cc .modal-body .tab-pane {max-height:60vh;}
#modal-cc .modal-body .tab-pane a {color:inherit; border-bottom:1px dashed;}
#modal-cc .modal-body .tab-pane h5 {font-size:1.1em; margin-bottom:.5em;}
#modal-cc #cc-buttons {display: flex; justify-content: center; gap:.5em; margin-inline:-2px; padding-top:.5em;}
#modal-cc #cc-buttons .btn {font-weight:300; margin:0 !important; background:transparent !important; font-size:.8em; display: flex; justify-content: center; align-items: center; border:1px solid #29292e !important; color:#29292e !important; line-height:normal; text-transform:uppercase; letter-spacing:1px; border-radius:$boradius; padding:1em !important; }
#modal-cc #cc-buttons .btn:after {display:none !important; color:inherit !important;}
#cc-settings-container i {font-style: normal;}
#cc-settings-container a {color:#28608c; border:none !important; text-decoration:none !important;}
#cc-settings-container {left:2em; bottom:2em;}

html:has(body.dark, body.modal-dark) #modal-cc .modal-content {background-color:#333338 !important; color:#fff; }
html:has(body.dark, body.modal-dark) #modal-cc .modal-header .close {border-color: #fff !important; }
html:has(body.dark, body.modal-dark) #modal-cc .modal-content :is(.nav-pills .nav-link, #cc-buttons .btn) {border-color: rgba(255,255,255,0.2) !important; }
html:has(body.dark, body.modal-dark) #modal-cc #cc-buttons .btn {color:#fff !important;}

@media (max-width:1920px) {
    #modal-cc {font-size:16px;}
} @media (max-width:1280px) {
    #modal-cc {font-size:14px;}
} @media (min-width:768px) {
    #modal-cc .modal-dialog {transform-origin:left bottom; transform:scale(.8);}
} @media (max-width:767px) {
    #modal-cc {font-size:12px;}
    #modal-cc .modal-body .tab-pane {max-height:40vh;}
    #modal-cc #cc-buttons {flex-direction: column-reverse;}
    #cc-settings-container {left:1.5em; bottom:1.5em;}
    #modal-cc .modal-body p {font-size:.9em;}
    #modal-cc .modal-content .nav-pills .nav-link {font-size:.7em;}
}


/***************** section-heights *********************/

.section-height0 {height: 100%; min-height: 110vh;}

.section-height1 {height: 100%; min-height: 100vh;}
.section-height2 {height: 100%; min-height: 75vh;}
.section-height3 {height: 100%; min-height: 55vh;}
.section-height4 {height: 100%; min-height: 25vh;}
.section-height5 {height: 100%; min-height: 25vh;}

/***************** rx-custom *********************/

.cert-section .block-columns .__col {padding: 1rem;}
.cert-section .block-columns .__col .block-section h4 {text-align: center; background: #28608c; color: #fff; padding: 0.5rem;}
.cert-section .block-columns .__col .block-section {transition: 0.3s ease all;}
.cert-section .block-columns .__col:hover {background: #f0f0f2; transition: 0.3s ease all;}

.cert-section2 .block-columns .__col .block-section h4 {text-transform: uppercase; font-size: 1.25rem; text-align: center; background: #28608c; color: #fff; padding: 0.5rem;}
.cert-section2 .block-columns .__col .block-section {background: #f0f0f2; padding: 2rem !important; text-align: center; transition: 0.3s ease all;}
.cert-section2 .block-columns .__col {padding: 2rem; transition: 0.3s ease all;}
.cert-section2 .block-columns .__col .block-section:hover {background: #c7c7cc; transition: 0.3s ease all;}

.block-gallery.masonry {}
.block-gallery.masonry .gallery {grid-auto-flow: dense; display: grid; grid-template-columns: repeat(4, 1fr);}
.block-gallery.masonry .gallery-item {max-width:100%; height:100%;}
.block-gallery.masonry .gallery-item:nth-child(4n+1) {grid-column-end:span 1; grid-row-end:span 1; aspect-ratio:1/1;}
.block-gallery.masonry .gallery-item:nth-child(even) {grid-column-end:span 2; grid-row-end:span 2; aspect-ratio:1/1;}
.block-gallery.masonry .gallery-item:nth-child(3n+1) {grid-column-end:span 2; grid-row-end:span 1; aspect-ratio:2/1;}
.block-gallery.masonry.logo img {object-fit:contain !important;}
.block-gallery.masonry.logo .gallery-item:nth-child(3n+3) img {background-color:#c7c7cc;}
.block-gallery.masonry.logo .gallery-item:nth-child(3n+1) img {background-color:#e6e6e8;}
.block-gallery.masonry.logo .gallery-item:nth-child(3n+2) img {background-color:#99999e;}

.special-mob {padding: 4rem !important;}

@media (max-width: 767px){
    .special-mob {padding: 4rem !important;}
    .vertical-slick .block-gallery .gallery .image-container img {height: 30vh !important; }
}

.btn-adjust .btn {width: 35%; text-align: center;}
.margin-left {margin-left: 2rem;}
.vertical-slick .block-gallery .gallery .image-container img {height: 60vh; object-fit: cover; width: 100%;}

.bg-top1 {background-position: 50% 10% !important;}
.bg-top2 {background-position: 50% 20% !important;}

.egg-box {padding: 0.15rem !important;}
.egg-box .block-columns .__col {padding: 0.15rem !important;}
.egg-box .block-columns .__col .block-section {color: #fff; }
.egg-box .block-columns .__col .block-section h3 {color: #fff; }
.egg-box .block-columns .__col .block-section:before {position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: .2; z-index: 0; moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; -ms-transition: all .4s; transition: all .4s;}
.egg-box .block-columns .__col .block-section:hover:before {opacity: .6;}

.recipe-section .block-columns .__col {padding: 1rem !important;}
.recipe-section .block-columns .__col .block-section {background: #F5F3F1 !important;}
.recipe-section .block-columns .__col .block-section p {padding: 0 2rem 3rem 2rem;}
.recipe-section .block-columns .__col .block-section h4 {padding: 0 2rem;}
.recipe-section .block-columns .__col .block-section img {margin-top: 0 !important; height: 40vh; width: 100%; object-fit:cover;}

.gallery-om .block-gallery .gallery .gallery-item .image-container img {margin-top: 0 !important; padding-top: 0 !important; width: 100%; height: 40vh; object-fit: cover; }
.gallery-om .col-sm-2 {padding: 0.25rem !important; }
.gallery-om {padding: 0.25rem !important;}

.box-wrap {filter:blur(0px) !important; opacity: 1 !important;}
.box {transition: 0.5s all;  }
.box-wrap:hover .box{transition: 0.5s all;  filter:grayscale(7100%) blur(4px) brightness(70%)!important; opacity:.5; }
.box-wrap:hover .box:hover{transition: 1s all; color: #fff;  opacity: 1; filter:grayscale(0%) blur(0px) brightness(100%) !important;}
.box-wrap:hover .box:hover h1, .box-wrap:hover .box:hover h3 {transition: 0.5s all;}

.box-wrap .box a {transition: 0.5s all;  opacity: 1;}


/*---------------- gallery-blockgallery -------------------*/

.om .slick-slider {height: 40vh !important;}
.block-gallery .gallery div {margin-bottom:0;}
.block-gallery:not(.slick) .gallery {padding:8px !important;}
.block-gallery .gallery img {transition:0.3s all; margin:0; height:100%; width:100%; object-fit:cover;}
.block-gallery:not(.slick) .gallery .gallery-item:hover {transform: scale(.98);}
.block-gallery .gallery .gallery-item .image-container {height:100%;}
.block-gallery .gallery .gallery-item {transition:0.3s all; padding: 0.5rem 0.25rem; margin:0;}

.full-width-all .block-gallery.no-gutter .gallery {padding:0px !important;}
.block-gallery.no-gutter .gallery {padding:1rem;}
.block-gallery.no-gutter .gallery .gallery-item {padding:0;}

.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-6 {height:40vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-4 {height:40vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-3 {height:40vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-2 {height:40vh;}

.block-gallery .gallery .gallery-item .img-caption { line-height:normal; transition:0.3s all; border-radius:calc($boradius + calc($boradius / 2)); padding:.5rem 1rem; background:$customdark; color:#fff; margin:0 !important; position:absolute; inset:auto 1rem 1rem 1rem;}
.block-gallery .gallery .gallery-item .img-caption small {    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.block-gallery .gallery .gallery-item .img-caption * {margin-top:0;}
.block-gallery.hover-caption .gallery .gallery-item .img-caption {opacity:0;}
.block-gallery.hover-caption .gallery .gallery-item:hover .img-caption {opacity:1;}
.block-gallery.card-caption .gallery .gallery-item .image-container.capped img {margin-bottom:15px; box-shadow: 0 3px 5px rgb(0 0 0 / 20%);}
.block-gallery.card-caption .gallery .gallery-item .image-container { box-shadow:5px 5px 5px rgba(0,0,0,0.05); background:#29292e;}
.block-gallery.card-caption .gallery .gallery-item .image-container a {display: flex; flex-direction: column; height: 100%; border: none !important;}
.block-gallery.card-caption .gallery .gallery-item .img-caption {padding:0 1.2rem 1.2rem 1.2rem; background:transparent !important; position: relative; inset: unset; height: fit-content;}
.block-gallery.card-caption .gallery .gallery-item .img-caption small { font-size:inherit; }


.block-gallery.zoom .gallery .gallery-item {height: 9.3rem; flex:1 0 calc(100% / 3); max-width:calc(100% / 3);}
.block-gallery.zoom .gallery .gallery-item.col-xs-6 {height:12.5rem; flex:1 0 calc(100% / 2); max-width:calc(100% / 2);}
.block-gallery.zoom .gallery .gallery-item.active { opacity: .4;}
.block-gallery.zoom {height:37.5rem; padding-left:1rem;  }
.block-gallery.zoom > div { flex: 1 0 50%; position: relative; overflow: hidden;}
.__base .block-gallery.zoom > div { flex: 1 0 100%;}
.block-gallery.zoom .gallery.row {overflow-y:scroll; padding-top:0 !important; padding-bottom:0 !important; align-content: flex-start;}
.block-gallery.zoom .gallery.row:before, .block-gallery.zoom .gallery.row:after {content:""; position:absolute; inset:0 0 auto 0; height:3.1rem; background:linear-gradient(to bottom, #fff, transparent); z-index:1;}
.block-gallery.zoom .gallery.row:after {inset:auto 0 0 0; transform:scale(-1.01);}
.block-gallery.zoom .div-zoom {overflow:hidden; border-radius:$boradius; background-image: url(../../assets/images/loader.gif); background-size: 100px; background-position: center; background-repeat: no-repeat; background-color: rgba(0,0,0,0.2);}
.block-gallery.zoom .div-zoom img {margin-top:0; }
.block-gallery.zoom .div-zoom .zoom-text * {margin-top:0; line-height:1.5; display:block;}
.block-gallery.zoom .div-zoom .zoom-text {position:absolute; color:#fff; padding:1rem 1.3rem; background:$customdark; backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); height:auto; inset: auto 0 0 0; align-items: flex-start; flex-direction: column; overflow:hidden;}
.block-gallery.zoom .div-zoom .zoom-text h5 {font-size:1.2rem;}

#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:$customdark;}
#block-gallery-modal .caption-container {z-index:100; text-align:left; font-size:0; inset:auto 0 -1px 0; display: flex; align-items: flex-start; padding: 2rem; background: $customdark; flex-direction: column; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);}
#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;}

.__base .block-gallery.slick.bubbles .gallery .gallery-item {margin: 0 !important; }
:root {--bub1:18.75rem; --bub2:12.5rem; --bub3:21.8rem; --bub4:15.6rem; --bub5:7.5rem;}
.block-gallery.slick.bubbles .slick-track { padding:1rem 0;}
.block-gallery.slick.bubbles .slick-slider { width:100% !important; max-width: 100%;}
.block-gallery.slick.bubbles .gallery .gallery-item {border-radius:50%; transition:1s all !important; animation: float-bubb 1s linear .5s infinite; }
.block-gallery.slick.bubbles .gallery .gallery-item:nth-child(5n+1) {-webkit-animation-duration:3.0s; animation-duration:3.0s; height:var(--bub1); width:var(--bub1) !important; }
.block-gallery.slick.bubbles .gallery .gallery-item:nth-child(5n+2) {-webkit-animation-duration:4.0s; animation-duration:4.0s; height:var(--bub2); width:var(--bub2) !important; margin-top:var(--bub2) !important;}
.block-gallery.slick.bubbles .gallery .gallery-item:nth-child(5n+3) {-webkit-animation-duration:3.5s; animation-duration:3.5s; height:var(--bub3); width:var(--bub3) !important;}
.block-gallery.slick.bubbles .gallery .gallery-item:nth-child(5n+4) {-webkit-animation-duration:2.0s; animation-duration:2.0s; height:var(--bub4); width:var(--bub4) !important; margin-top:var(--bub4) !important;}
.block-gallery.slick.bubbles .gallery .gallery-item:nth-child(5n+5) {-webkit-animation-duration:3.5s; animation-duration:3.5s; height:var(--bub5); width:var(--bub5) !important; margin-top:calc(var(--bub5) / 1.5)  !important; margin-left:calc(var(--bub5) * (-1))  !important; margin-right:calc(var(--bub5) / 2)  !important;}
.block-gallery.slick.bubbles .gallery .gallery-item:hover {transform:scale(1.1);}
@keyframes float-bubb { 50% { transform:translateY(-0.6rem);} }


@media (max-width:1440px) {
    .block-gallery .carousel .carousel-indicators li {width:0.6rem; height:0.6rem; margin:0 6px;}
    .main-slider .carousel-item img, .main-slider .carousel-item video {animation: pan-lr 20s linear infinite;}
} @media (max-width:992px) {
    .block-gallery.main-slider .carousel .carousel-caption h3 {font-size: 3.5rem; line-height: 4.5rem;}
} @media (max-width:767px) {
    .slider-full-height .js-slider-height {max-height:31.25rem;}
    .block-gallery .carousel {height:18.75rem !important;}
    .block-gallery .carousel-indicators {display:none;}
    .block-gallery .carousel .carousel-control {display:flex; padding:0 0.6rem;}
    .block-gallery.box .gallery .gallery-item {height:15.6rem !important;}
    
    .block-gallery.zoom {height:28.1rem;}
    .block-gallery.zoom > .div-zoom { flex: 1 0 70%;}
    .block-gallery.zoom > .__content { flex: 1 0 30%;}
    .block-gallery.zoom .gallery .gallery-item {height:6.25rem !important; flex:1 0 100% !important; max-width: 100% !important;}
    
    .block.block-gallery.main-slider .carousel .carousel-caption {width:90% !important;}
    .block-gallery.main-slider.valkommen .carousel .carousel-caption > h3:before {font-size:2rem;}
    .block-gallery.main-slider .carousel .carousel-caption h3 {font-size: 3rem; line-height: 4rem;}
}

/*****************************slick-slide*******************************/

.slick-slider .gallery-item {padding:0 !important; margin-top:0 !important;}
.slick-slider { padding:0 !important; position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0 !important; padding: 0; }
.slick-list:focus { outline: none; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-track, .slick-slider .slick-list { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-left: auto; margin-right: auto; margin-bottom:0 !important;}
.slick-track:before, .slick-track:after { display: table; content: ''; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide { display: none; float: left; height: 100%; min-height: 1px; }
[dir='rtl'] .slick-slide { float: right; }
.slick-slide img { display: block; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
.slick-initialized .slick-slide { display: block; }
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
.slick-arrow.slick-hidden { display: none; }

.slick-arrow:focus, .slick-arrow:active {border:none; box-shadow:none; outline:none;}
.slick-arrow {position:absolute; top: 50%; transform: translateY(-50%); background: transparent; border: none; z-index:10; left:10px; font-size:0;}
.slick-arrow:before {content:"\f053"; font-family: 700 1rem "Font Awesome 5 Free"; font-weight:700; font-size:40px; color:$opac8dark; opacity:.5; transition:$trans;}
.slick-arrow.slick-next {left:auto; right:10px;}
.slick-arrow.slick-next:before {content:"\f054" !important; }
.slick-arrow:hover:before {opacity:1.}
.slick-dots li:before {display:none;}
.slick-dots {list-style:none; margin:0; padding:0; position: absolute; z-index: 10; bottom: 10%; right: 1rem; display: flex !important; flex-direction: row; grid-gap: 5px;} 
.slick-dots li.slick-active button {background:#28608c !important;}
.slick-dots li button {background:rgba(0,0,0,0.2); opacity:.5; transition:$trans; border: none; display: flex; align-items: center; justify-content: center; font-size: 0; width: 15px; height: 15px; border-radius: 50%;}
.slick-dots li:hover button { opacity:1;}

.slick.block-gallery .gallery .gallery-item .image-container {border-radius:0 !important;}
.slick.block-gallery .gallery .gallery-item.external .image-container a img {cursor:pointer !important;}
.slick.block-gallery .gallery .gallery-item .image-container a:before {content:"" !important;}
.slick.block-gallery .gallery .gallery-item.external .image-container a:before {opacity:0 !important; position:absolute; content:"\f061" !important; font-family: 700 1rem "Font Awesome 5 Free"; font-weight:700; background:linear-gradient(to bottom, transparent, $opac8dark); left:0; top:0; right:0; bottom:0; transform:none;     display: flex; justify-content: flex-end; align-items: flex-end; padding: 0 20px 10px 0; color: #fff; transition:$trans;}
.slick.block-gallery.gutter .gallery .gallery-item.external .image-container a:before {inset:10px;}
.slick.block-gallery .gallery .gallery-item.external .image-container:hover a:before {opacity:1;}
.slick.block-gallery .gallery .gallery-item .image-container a p {opacity:0; position:absolute; transition:$trans; bottom:20px; padding-right:50px; left:20px; color:#fff;}
.slick.block-gallery .gallery .gallery-item:hover .image-container a p {opacity:1;}
.slick.block-gallery .gallery .gallery-item a.no-link img {cursor:default !important;}
.slick.logo img { object-fit: contain !important; }
.slick.logo.block-gallery .gallery.row .gallery-item .image-container {height:auto !important;}
.slick.logo .gallery.row .gallery-item:hover img {box-shadow:none !important; border-radius:0 !important;}
.gutter .slick-slider, .gutter .slick-slider .gallery-item {padding:10px !important;}
.gutter.slick[class*='vh-'] .slick-track {padding-bottom:20px;}


.bg-primary .slick.fade-x .slick-slider:before, .bg-primary .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #28608c, transparent);}
.bg-secondary .slick.fade-x .slick-slider:before, .bg-secondary .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #7ea0ba, transparent);}
.bg-dark .slick.fade-x .slick-slider:before, .bg-dark .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #29292e, transparent);}
body.dark .slick.fade-x .slick-slider:before, body.dark .slick.fade-x .slick-slider:after {background:linear-gradient(to right, $modedark, transparent);}
.bg-custom1 .slick.fade-x .slick-slider:before, .bg-custom1 .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #333338, transparent);}
.bg-custom2 .slick.fade-x .slick-slider:before, .bg-custom2 .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #4d4d52, transparent);}
.bg-custom3 .slick.fade-x .slick-slider:before, .bg-custom3 .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #99999e, transparent);}
.slick.fade-x .slick-slider:before, .slick.fade-x .slick-slider:after {z-index:1; content:""; position:absolute; inset:0px auto 0px auto; background:linear-gradient(to right, #fff, transparent); width:100px;}
.slick.fade-x .slick-slider:after {right:0; transform:scale(-1);}
.slick.link.block-gallery .gallery .gallery-item .img-caption {display:none;}


.__base .js-load:after, .__base .menu-child:after {content:"[javascript content - do not alter]"; text-align:left; width:100%; font-family:monospace; display:block;}
main > div.__base .bg-video {background-color:#29292e !important;}
.__base .bg-video:after {content:"[background-video]";position: absolute; bottom: 20%; text-align:left; width:100%; font-family:monospace; display:block;}
.bg-video:not(.no-ov):before {content:""; position:absolute; background:rgba(0,0,0,0.4); left:0; top:0; right:0; bottom:0; z-index:1; transition:$trans;}
.bg-video {overflow: hidden;}
.bg-video video {object-fit: cover; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.bg-video iframe {height: 180vh; width: 250vh; object-fit: cover; position: absolute; top: 50%; left: 50%; z-index: 0; transform: translateX(-50%) translateY(-50%);}
.bg-video > .block-section-container { position: relative; z-index: 1;}
.controls.bg-video video {z-index:1;}
.controls.bg-video > .block-section-container {z-index:2;}
.bg-video.bg-fixed video {position: fixed;}

.video-wrapper:after {position: absolute;content: "";top: 0;left: 0;width: 100%;height: 100%;display: block;background: transparent url(../../files/serv_bg5.png) center center;z-index:0;-webkit-background-size: 100%;-moz-background-size: 100%;-o-background-size: 100%;background-size: 100%;background-repeat: no-repeat;}
.d-bottom {display: flex; justify-content: flex-end !important; flex-direction: column !important;   -webkit-align-content: flex-end; align-content: flex-end !important; }
.d-center {display: flex; justify-content: center !important; align-content: center !important; flex-direction: column !important; }


.card-cert .block-columns .__col {padding: 1.5rem !important;}
.card-cert .block-columns .__col .block-section {padding: 2.5rem; border: 1px solid #c7c7cc; transition: 0.3s all;  }
.card-cert .block-columns .__col .block-section:hover {box-shadow: .3rem .3rem 1rem rgba(0,0,0,0.2); transition: 0.3s all; }

.d-flex-col .block-columns, .d-flex-col .__columns {display: flex !important;}
.d-flex-col .block-columns .block-section {height: 100%;}

.bg-custom1 strong {color: #fff !important;}
.equip-sec .block-columns .__col {padding: 1rem; }

.wide-margin .block-columns .__col .block-section .block-section-container {padding: 10rem !important;}

:is(.card-inner2, .card-inner2> .block-section-container) {background-size:0 !important;}
.card-inner2 > .block-section-container {background-image:inherit;}
.card-inner2 > .block-section-container:before {-webkit-clip-path: polygon(25% 0, 100% 0%, 100% 100%, 0% 100%); clip-path: polygon(25% 0, 100% 0%, 100% 100%, 0% 100%); opacity: 1 !important; content: '';position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: inherit; background-size: cover;  background-position: center; transition: 0.5s ease-in-out; z-index: 0; filter: brightness(70%);}
/*.hero-section:hover .card-inner2 > .block-section-container:before{ -webkit-clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0 100%); clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0 100%); opacity: 1!important;} */

.contact-strip h5 {font-weight: 1.15rem !important; text-transform: uppercase; letter-spacing: 1px;}
.contact-strip .block-columns .__col .block-section {border-right: 1px solid #c7c7cc !important;}
.contact-strip .block-columns .__col .block-section.no-border {border-right: 1px solid transparent !important;}


.spacer-xl {height: 50vh;}
.spacer-md {height: 20vh;}
.spacer-sm {height: 5vh;}
.spacer-xs {height: 4rem;}

.bg-faded {background: #F5F3F1;}
.bg-tertiary {background: #385500;}

.block-section.service-icons .block-columns .block-section img {width: 25%;}
.block-section.service-icons .block-columns .block-section  {text-align: center;}


.block-section.xl-box .block-columns .block-section {padding: 5rem; min-height: 100vh !important; display: flex; align-items: center; justify-content: center;}
.block-section.xl-box .block-columns .block-section .block-section-container {width: 100%;}
.block-section.xl-box .block-columns .__col {padding: 0.15rem;}
.block-section.xl-box .block-columns {padding: 0.15rem;}
.block-section.xl-box .block-columns .block-section .btn {background: transparent !important; padding: 1.5rem 0 !important; }
.block-section.xl-box .block-columns .block-section .btn:hover {background: transparent; }
.block-section.xl-box .block-columns .block-section .btn:after { transition: $trans; }
.block-section.xl-box .block-columns .block-section .btn:hover:after {margin-left: 1rem !important; transition: $trans; }

.page-coverx {color: #fff !important; height: 100%; min-height: 50vh !important; text-align:center; display: flex; justify-content: center !important; align-items: flex-end !important; align-content: flex-end !important; flex-direction: column !important; }
.page-coverx h6 {color: #fff;}
.page-coverx h1 {color: #fff;}
.page-coverx:before {transition: 0.3s all; position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: 0.3; z-index: 0;}
.page-coverx:hover:before {transition: 0.3s all; position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: .5; z-index: 0;}


.page-covery {color: #fff !important; height: 100%; min-height: 75vh !important; text-align:center; display: flex; justify-content: center !important; align-items: flex-end !important; align-content: flex-end !important; flex-direction: column !important; }
.page-covery h6 {color: #fff;}
.page-covery h1 {color: #fff;}
.page-covery:before {transition: 0.3s all; position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: 0.3; z-index: 0;}
.page-covery:hover:before {transition: 0.3s all; position: absolute; content: " "; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: .5; z-index: 0;}


/*---------------- news-block -------------------*/

.news {margin: 0;}
.news p {transform:none !important;}
.news .list-group-item:first-child {margin-top:0;}
.news .list-group-item {margin: 30px 0 0 0; overflow:hidden; padding: 40px 30px !important; border: 1px solid #f0f0f2 !important; border-radius: $boracus; background: #fff; -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }
.news .list-group-item:hover {box-shadow: none !important; background: #fff;}
.news .list-group-item .list-date {margin: 0; padding: 0; color: #99999e; font-size: .75rem; line-height: 1.9; letter-spacing: 3px; text-transform: uppercase;}
.news .list-group-item .list-header {font-size: 2rem; line-height: 1.4; margin-top:5px !important; border-bottom: 1px solid #f0f0f2; padding-bottom:10px;}
.news .list-group-item:hover .list-header {border-color: #e6e6e8;}
.news .list-group-item .list-content {margin: 30px 0 0 0;}
.news .list-group-item .list-content > img {margin-top:0;}
.news .list-group-item .list-content img {margin-top:5px;}


:root {--newspad: 300px; --newslist:15vw; --newslistpad:150px;}
.news-card .news { display: flex; grid-gap: 3rem; flex-direction: row; flex-wrap: wrap;}
.news-card .news .list-group-item { transition:$trans; margin-top: 0px; height: auto; flex: 0 0 calc(calc(100%/3) - 3rem);}
.news-card.news-3 .news .list-group-item { flex: 1 0 calc(calc(100%/3) - 1.5rem) !important;}
.news-card .news .news-linked.list-group-item:hover {transform:scale(.98); box-shadow:0 0 15px rgba(0,0,0,0.15); cursor:pointer !important;}
.news-card .news .news-linked.list-group-item .list-content {cursor:pointer;}
/*.news-card .news .news-linked.list-group-item .list-content:before {transition:$trans; opacity:0; content:"L\00E4s mer"; font-weight:700; text-align:center; color:#29292e; padding:10px 35px; position:absolute; inset:auto 20px 20px 20px; border-radius:0 0 $boradius $boradius; background:linear-gradient(to bottom, transparent, #f0f0f2); height:auto; backdrop-filter:blur(1px); -webkit-backdrop-filter:blur(1px); }*/
.news-card .news .news-linked.list-group-item .list-content:hover:before {opacity:1; }

.news-card .news .news-linked.list-group-item .list-content > p.imgbg + p { opacity: 0; }

.__base .news-card.news-block .news .list-group-item .list-header:before {background-image:url(''); background-size:cover; background-position:center;}
.__base .news-card.news-block .news .list-group-item {padding-top:0 !important;}
.__base .news-card.news-block .news .list-group-item .list-content img {position:absolute !important; top:calc(calc(var(--newspad) * -1) - 1rem) !important;}
.news-card.news-block.no-date .news .list-group-item .list-date {display:none;}

.news-card.news-block .news .list-group-item {border-radius: 10px !important; border: 1px solid #e6e6e8 !important; padding-top:calc(var(--newspad) + 3rem) !important; height: 50vh;}
.news-card.news-block .news .list-group-item:hover {border:1px solid #c7c7cc !important;}
.news-card.news-block .news .list-group-item .list-header {top: 50% !important; border:none !important; margin:0 !important; padding: 0rem !important; inset:0 0 auto 0; display: flex; flex-direction: column; justify-content: flex-start; z-index:1; }
.news-card.news-block .news .list-group-item.wimg .list-header {color:#29292e; font-size: 1.5rem; letter-spacing: -0.75px !important;}
.news-card.news-block .news .list-group-item .list-date {position: absolute; padding-bottom: 1.5rem; bottom: 0 !important; left: 0 !important; padding: 2rem;}
.news-card.news-block .news .list-group-item .list-content {margin-top:0;}
.news-card.news-block .news .list-group-item .list-content img {width:100%; position: absolute; inset: 0; margin-top: 0; height: var(--newspad); object-fit: cover;}
.news-card.news-block .news .news-linked.list-group-item .list-content {overflow:hidden; max-height:var(--newspad);}

.news-list .news {flex-direction: column;}
.news-list .news .list-group-item {padding-left:var(--newslist) !important; border:none !important; background-color:$offwhite;}
.news-list .news .list-group-item:nth-child(even) {background-color:#f0f0f2;}
.news-list .news .list-group-item .list-header {}
.news-list .news .list-group-item .list-content {}
.news-list .news .list-group-item .list-content img {position: absolute; inset: 0 auto 0 0; width: calc(var(--newslist) - 30px); height: 100%; margin-top: 0; object-fit: cover;}
.news-list .news .news-linked.list-group-item .list-content {overflow:hidden; max-height:var(--newslistpad);}
.news-list .news .news-linked.list-group-item .list-content:before {left:calc(var(--newslist) - 10px); width:calc(100% - calc(var(--newslist) + 10px));}
.news-list .news .list-group-item .list-content:before {position: absolute; inset: 0 auto 0 0; width: calc(var(--newslist) - 30px); content:""; background-image:url('../../assets/images/site_preview.jpg'); background-size:cover; background-position:center;}
.__base .news-list .news .list-group-item .list-content:before {display:none;}
.news-list.contain .news .list-group-item .list-content img {object-fit: contain; background-image:url('../../assets/images/bg.jpg'); background-size:100px;}

.news-pop .news {z-index:1; transition:.5s all; display: flex; flex-direction: row; flex-wrap: wrap; gap:30px;}
.news-pop.reveal .news {z-index:-1; opacity:0; position:absolute;}
.news-pop .news .list-group-item {border:none !important; flex: 0 0 calc(calc(100%/3) - 20px); height:300px; margin-top:0; background:$customlight; padding:5rem 2rem 2rem !important;}
.news-pop .news .list-group-item:before {content:"\f002"; color:rgba(0,0,0,0.3); cursor:pointer; transition:$trans; display: flex; align-items: center; justify-content: center; font-family: 700 1rem "Font Awesome 5 Free"; font-weight:700; position:absolute; inset:auto 0 0 0; height:30px; background:$customlight; -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);}
.news-pop .news .list-group-item:is(:hover, .click):before {content:"\f25a"; height:100%; font-size:3rem; color:#29292e; z-index:1;}
.news-pop .news .list-group-item .list-date {position: absolute; color:#7ea0ba !important; background: #e6e6e8; font-weight:700; inset: 0 0 auto 0; height: 40px; display: flex; align-items: center; justify-content: center; padding: 1rem;}
.news-pop .news .list-group-item .list-header {font-size:1.5rem; line-height:2rem; border-bottom:none; padding-bottom:0;}
.news-pop .news .list-group-item .list-content {margin-top:.2rem;}
.news-pop .news .list-group-item .list-content img { position: absolute; inset: 0; z-index: -1; object-fit: cover; height: 100%; filter: blur(2px);}
.news-pop .news .news-linked.list-group-item .list-content {}
.news-pop .div-npop {z-index:-1; position: absolute; inset: 0; padding: 1.5rem; transition:.5s all; opacity:0;}
.news-pop.reveal .div-npop {z-index:1; opacity:1; position:relative;}
.news-pop .div-npop .list-date {min-height:32.38px; background: #e6e6e8; color:#7ea0ba !important; font-weight:700; display: flex; align-items: center; justify-content: center; padding: 0.5rem;}
.news-pop .div-npop .list-header {margin-bottom:.5rem; margin-top:2rem;}
.news-pop .div-npop .list-content img {outline: 1px solid #28608c; outline-offset: -1rem;}
.news-pop .list-group-item .div-anchor {height:180px; margin-top:-180px;}

@media only screen and (max-width: 1470px) and (max-height: 723px) {
     .news-card.news-block .news .list-group-item {height: 70vh;}
}

@media (max-width:1920px) {
    .news-card.news-block .news .list-group-item .list-header {top: 25% !important;}
    .news-card .news .list-group-item {flex: 0 0 calc(calc(100%/2) - 1.5rem);}
    .news-pop .list-group-item .div-anchor {height:250px; margin-top:-250px;}
} @media (max-width:1600px) {
    .news-pop .news .list-group-item {padding-top:4rem !important;}  
    .news-pop .news .list-group-item .list-header { font-size: 1.4rem; line-height: 1.8rem;}
} @media (max-width:1440px) {
    :root {--newslist:25vw;}
     .news-card.news-block .news .list-group-item {height: 60vh;}
    .news-pop .list-group-item .div-anchor {height:180px; margin-top:-180px;}
} @media (max-width:1280px) {
    .news-card.news-block .news .list-group-item {height: 65vh;}

    .news-card.news-block .news .list-group-item .list-header {top: 60% !important;}
} @media (max-width:1024px) {
    .news-card.news-block .news .list-group-item {height: 70vh;}
    .news-card.news-block .news .list-group-item .list-header {top: 25% !important;}

} @media (max-width:992px) {
    .news-card.news-block .news .list-group-item {height: 35vh;}
    .news-card.news-block .news .list-group-item .list-header {top: 55% !important;}
    :is(.news-card, .news-pop) .news .list-group-item {flex-basis: calc(calc(100%/2) - 1.5rem) !important;}
} @media (max-width:767px) {
    :root {--newspad: 200px; --newslistpad:220px;}
    .news-card.news-block .news .list-group-item .list-date {padding: 3rem 5rem;}
    :is(.news-card, .news-pop) .news .list-group-item {flex-basis: 100% !important; height: 50vh !important;} 
    .news-list .news .list-group-item .list-content:before { opacity: .2; backdrop-filter: none; -webkit-backdrop-filter: none;}
    .news-card.news-block .news .list-group-item .list-header {top: 45% !important; font-size: 2rem !important; }
}


/*---------------- news-plugin -------------------*/

.__base .block-divider.news-plugin .spacer:before {content:"NEWS PLUGIN - DO NOT EDIT"; font-family:monospace !important;}
.__base .block-divider.news-plugin.news-share .spacer:before {content:"NEWS PLUGIN | NEWS SHARE - DO NOT EDIT";}
.__base .block-divider.news-plugin.news-controls:not(.news-share) .spacer:before {content:"NEWS PLUGIN | NEWS CONTROLS - DO NOT EDIT";}
.__base .block-divider.news-plugin.news-share.news-controls .spacer:before {content:"NEWS PLUGIN | NEWS SHARE | NEWS CONTROLS - DO NOT EDIT";}
.__base .news-plugin .spacer {padding-block:3rem;}
.news-plugin:is(.news-share, .news-controls) .spacer {height:auto; padding-block:3rem;}


.news-share .share-inner.row {width:100%; border-bottom: 1px solid #e6e6e8;}
.news-share .share-inner.row:not(:first-child) {}
.news-share .share-inner.row:not(:first-child) p {color: #28608c !important;}
.news-share .share-inner.row:not(:first-child) .btn:hover {background: #28608c !important;}
.news-share .share-inner.row:not(:first-child) .btn:hover p {color: #fff !important;}

.news-share .share-inner.row > div:first-child {}
.news-share .share-inner a {padding:0; background:transparent; border:1px solid #28608c; height:60px; width:60px; border-radius:50%; display: inline-flex; justify-content: center; align-items: center; text-align:center; font-size: 1.25rem; margin:0 5px; text-decoration:none !important; transition: $trans;}
.news-share .share-inner a:after {display:none;}
.news-share .share-inner a i {color:#28608c;}
.news-share .share-inner a:hover {background:transparent;}
.news-share .share-inner a:hover i {color:#fff;}

.news-controls .show-inner a.back {text-transform:uppercase; color:#99999e !important; text-decoration:none; border-bottom:1px dotted;}
.news-controls .show-list ul {padding:0; list-style:none; display:flex; margin-top:30px !important;}
.news-controls .show-list ul li:before {display:none;}
.news-controls .show-list ul li a:before {content:""; background-color:$offwhite; background-size:20%; background-position:center; background-repeat:no-repeat; height:100px; width:100%; border-radius: 20px 20px 0 0; display: block; margin-bottom:5px;}
.news-controls .show-list ul li {display:none; width: -webkit-fill-available; text-align:center; padding:0 10px; line-height:normal; font-style:italic;}
.news-controls .show-list ul li:hover a {border-bottom:0; color:#28608c;}
.news-controls .show-list ul li:nth-child(-n+4) {display:list-item;}
.news-controls a.btn {width:auto !important; height:auto !important;}
.news-controls a.btn .btn-info:hover {background: transparent !important;}

@media (max-width:1920px) {

    
} @media (max-width:992px) {
    .news-share .share-inner a {height:45px; width:45px; font-size:20px; margin:0 2px;}
} @media (max-width:767px) {
    .news-share .share-inner.row > div:first-child {border:none;}
    .news-controls.share-inner {padding-block:1rem;}
    .news-controls .show-list ul li a:before {background-size:50%; height:60px;}
    .news-controls .show-list ul li {font-size:10px; line-height:15px;}
    .news-controls .show-list ul li:nth-child(3), .news-controls .show-list ul li:nth-child(4) {display:none;}
} @media (max-width:558px) {
    .news-controls .show-list ul {flex-direction: column;}
    .news-controls .show-list ul li {margin-bottom:20px !important;}
    .news-controls .show-list ul li:nth-child(-n+4) {display:list-item !important;}
}

/***************** footer *********************/

footer h6 {color: #fff !important;}
footer {background-color: #333338; background-position: center; -webkit-background-size: 100%; -moz-background-size: 100%; -o-background-size: 100%; background-size: 100%; background-repeat: no-repeat; position: relative;}
footer .__col {padding: 3.75rem;}
footer .some {padding-top: 1.5rem;}
footer .some a {margin-right: 1.5rem;}
footer .footer-nav {list-style: none; padding: 0; margin: 0; margin-top: 1.25rem; border-top: .1rem solid #29292e;}
footer .footer-nav .nav-item .nav-link {padding: .75rem 0; font-size: 1rem; border-bottom: .1rem solid #4d4d52; color: #99999e; text-decoration: none; display: flex; align-items: center;}
footer .footer-nav .nav-item .nav-link:hover {color: #fff;}
footer img {width: 20rem; filter: brightness(0) invert(1);}
footer .btn {border-radius: 0 !important;}
footer .footer-nav {padding-right: 2rem !important; border-top: 0.1rem solid transparent !important; }
footer .text-some a {color: #29292e !important;}
footer .text-some .btn, footer .text-some h6 {color: #fff !important;}
footer .footer-nav .nav-item .nav-link:after {display: none !important;}


@media (max-width: 992px) {
    footer .footer-nav .nav-item .nav-link:after {display: none !important;}
}

@media (max-width: 767px) {
    footer {background-image: none !important; }
    
}
/***************** form *********************/

.block-form {margin-top: 1.5rem !important; margin-right: -.75rem !important; margin-left: -.75rem !important;}
.block-form .row {margin-top: 0 !important; margin-right: -.75rem !important; margin-left: -.75rem !important;}
.block-form .__col, .block-form .__content {padding-right: .75rem !important; padding-left: .75rem !important;}
.block-form .form-fields {margin: 0 -.05rem !important;}
.block-form .form-fields .col-md-12 {padding: 0 .05rem !important;}
.block-form .form-group {margin-bottom: .1rem; padding: 0 !important;}
.block-form .form-group label {margin: 0; font-size: 1rem; color: #99999e; text-align: center; width: 100%;}
.block-form .form-control {border: none; background: transparent; border-bottom: .1rem solid #28608c; color: #29292e; padding: 1.5rem; font-size: 1rem; font-weight: 300; border-radius: 0; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;}
.block-form .form-control:focus {background: #fff; border-bottom-color: #28608c; color: #28608c;}
.block-form .form-control::placeholder {color: #99999e;}
.block-form .form-control:-ms-input-placeholder {color: #99999e;}
.block-form .form-control::-ms-input-placeholder {color: #99999e;}
.block-form .form-footer {text-align: center;}
.block-form .btn-primary {border-radius: 0 !important; text-align: center; width: 100%; padding: 1.5rem !important; background: #28608c !important; color: #fff; display: inline-block; moz-transition: all .1s; -webkit-transition: all .1s; -o-transition: all .1s; -ms-transition: all .1s; transition: all .1s;}
.block-form .btn-primary:hover, .block-form .btn-primary:active, .block-form .btn-primary:focus {color: #fff !important; letter-spacing: .15rem; background: #29292e !important;}
.block-form .input-group-text {border-radius: 0; padding: .75rem; font-size: .75rem; line-height: 1.5; background-color: #e6e6e8; color: #4d4d52; border: none;}
.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"], .radio input[type="radio"], .radio-inline input[type="radio"] {margin-right: .5rem !important;}

/***************** styling *********************/

.text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light ul li, .text-light a, .text-light a:hover {color: #fff;}
.text-light h6 {color: #e6e6e8 !important;}
.text-light p {color: #e6e6e8 !important; }

.text-custom1 p, .text-custom1 h1, .text-custom1 h2, .text-custom1 h3, .text-custom1 h4, .text-custom1 h5, .text-custom1 h6, .text-custom1 ul li, .text-custom1 a, .text-custom1 a:hover {color: #333338 !important;}
.text-custom2 p, .text-custom2 h1, .text-custom2 h2, .text-custom2 h3, .text-custom2 h4, .text-custom2 h5, .text-custom2 h6, .text-custom2 ul li, .text-custom2 a, .text-custom2 a:hover {color: #4d4d52 !important;}
.text-custom3 p, .text-custom3 h1, .text-custom3 h2, .text-custom3 h3, .text-custom3 h4, .text-custom3 h5, .text-custom3 h6, .text-custom3 ul li, .text-custom3 a, .text-custom3 a:hover {color: #99999e !important;}
.text-custom4 p, .text-custom4 h1, .text-custom4 h2, .text-custom4 h3, .text-custom4 h4, .text-custom4 h5, .text-custom4 h6, .text-custom4 ul li, .text-custom4 a, .text-custom4 a:hover {color: #c7c7cc !important;}
.text-custom5 p, .text-custom5 h1, .text-custom5 h2, .text-custom5 h3, .text-custom5 h4, .text-custom5 h5, .text-custom5 h6, .text-custom5 ul li, .text-custom5 a, .text-custom5 a:hover {color: #e6e6e8 !important;}
.text-custom6 p, .text-custom6 h1, .text-custom6 h2, .text-custom6 h3, .text-custom6 h4, .text-custom6 h5, .text-custom6 h6, .text-custom6 ul li, .text-custom6 a, .text-custom6 a:hover {color: #f0f0f2 !important;}
.text-custom7 p, .text-custom7 h1, .text-custom7 h2, .text-custom7 h3, .text-custom7 h4, .text-custom7 h5, .text-custom7 h6, .text-custom7 ul li, .text-custom7 a, .text-custom7 a:hover {color: #fbd5bc !important;}
.text-custom8 p, .text-custom8 h1, .text-custom8 h2, .text-custom8 h3, .text-custom8 h4, .text-custom8 h5, .text-custom8 h6, .text-custom8 ul li, .text-custom8 a, .text-custom8 a:hover {color: #3e3e43 !important;}
.text-custom9 p, .text-custom9 h1, .text-custom9 h2, .text-custom9 h3, .text-custom9 h4, .text-custom9 h5, .text-custom9 h6, .text-custom9 ul li, .text-custom9 a, .text-custom9 a:hover {color: #1a1a1f !important;}

.filter-dark:before {position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #29292e; opacity: .2; z-index: 0; moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; -ms-transition: all .4s; transition: all .4s;}
.filter-dark:hover:before {opacity: .6;}

.bg-primary {background-color: #28608c;}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6, .bg-primary ul li, .bg-primary a, .bg-primary a:hover, .bg-primary p, .bg-primary .btn-info:hover {color: #fff !important;}
.bg-primary hr {background-color: #fff; color: #fff;}

.bg-primary .btn-warning {border-color: #fff !important;}

.bg-primary .btn-warning:hover, .bg-primary .btn-warning:active, .bg-primary .btn-warning:focus {background-color: #fff !important; color: #28608c !important;}
.bg-primary ul {border-color: #fff;}
.bg-primary ul li:before {content: url('../../files/icons/list-before_light.svg');}
.bg-primary .preamble-left .__content > *, .bg-primary .preamble-right .__content > * {border-color: #fff;}

.bg-secondary {background-color: #7ea0ba;}
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6, .bg-secondary ul li, .bg-secondary a, .bg-secondary a:hover, .bg-secondary p, .bg-secondary .btn-info:hover, .bg-secondary p strong, .bg-secondary h4 strong, .bg-secondary h5 strong {color: #29292e !important;}
.bg-secondary .fs-3 h1 strong, .bg-secondary .fs-3 h2 strong, .bg-secondary .fs-3 h3 strong, .bg-secondary .fs-3 h4 strong, .bg-secondary .fs-3 h5 strong, .bg-secondary .fs-3 h6 strong, .bg-secondary .fs-3 p strong {color: #29292e;}
.bg-secondary .fs-4 h1 strong, .bg-secondary .fs-4 h2 strong, .bg-secondary .fs-4 h3 strong, .bg-secondary .fs-4 h4 strong, .bg-secondary .fs-4 h5 strong, .bg-secondary .fs-4 h6 strong, .bg-secondary .fs-4 p strong {color: #29292e;}
.bg-secondary hr {background-color: #29292e; color: #29292e;}
.bg-secondary .btn-info:after {content: url('../../files/icons/btn-after_dark.svg');}
.bg-secondary .btn-warning {border-color: #29292e !important; color: #29292e !important;}
.bg-secondary .btn-warning:after {content: url('../../files/icons/btn-after_dark.svg');}
.bg-secondary .btn-warning:hover, .bg-secondary .btn-warning:active, .bg-secondary .btn-warning:focus {background-color: #29292e !important; color: #7ea0ba !important;}
.bg-secondary .btn-danger, .bg-secondary .btn-danger:hover, .bg-danger .btn-warning:active, .bg-danger .btn-warning:focus {color: #7ea0ba !important;}
.bg-secondary ul {border-color: #29292e;}
.bg-secondary ul li:before {content: url('../../files/icons/list-before_dark.svg');}
.bg-secondary .preamble-left .__content > *, .bg-secondary .preamble-right .__content > * {border-color: #29292e;}

.bg-light {background-color: #fff;}
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6, .bg-light a, .bg-light a:hover, .bg-light p, .bg-light ul li, .bg-light .btn-info, .bg-light .btn-info:hover, .bg-light p strong, .bg-light h4 strong, .bg-light h5 strong {color: #29292e;}
.bg-light .fs-3 h1 strong, .bg-light .fs-3 h2 strong, .bg-light .fs-3 h3 strong, .bg-light .fs-3 h4 strong, .bg-light .fs-3 h5 strong, .bg-light .fs-3 h6 strong, .bg-light .fs-3 p strong {color: #29292e;}
.bg-light .fs-4 h1 strong, .bg-light .fs-4 h2 strong, .bg-light .fs-4 h3 strong, .bg-light .fs-4 h4 strong, .bg-light .fs-4 h5 strong, .bg-light .fs-4 h6 strong, .bg-light .fs-4 p strong {color: #29292e;}
.bg-light .btn-info:hover, .bg-light .btn-info:active, .bg-light .btn-info:focus {color: #29292e !important;}
.bg-light .btn-warning {color: #29292e !important;}
.bg-light .btn-warning:hover, .bg-light .btn-warning:active, .bg-light .btn-warning:focus {color: #fff !important;}
.bg-light ul {border-color: #f0f0f2;}
.bg-light .block-form .form-control {background: #f0f0f2; color: #29292e;}
.bg-light .block-form .form-control:focus {background: #f0f0f2; color: #28608c;}
.bg-light .block-form .form-control::placeholder {color: #99999e;}
.bg-light .block-form .form-control:-ms-input-placeholder {color: #99999e;}
.bg-light .block-form .form-control::-ms-input-placeholder {color: #99999e;}
.bg-light .block-form .btn-primary {color: #29292e !important;}
.bg-light .block-form .btn-primary:hover, .bg-light .block-form .btn-primary:active, .bg-light .block-form .btn-primary:focus {color: #29292e !important;}

.bg-dark {background-color: #29292e;}


.bg-custom1 {background-color: #333338;}
.bg-custom1 .block-list-group.accordion .card {background: #3e3e43;}
.bg-custom1 ul {border-color: #3e3e43;}
.bg-custom1 .block-form .form-control {background: #3e3e43;}
.bg-custom1 .block-form .form-control:focus {background: #333338;}

.bg-custom2 {background-color: #4d4d52;}
.bg-custom3 {background-color: #99999e;}
.bg-custom4 {background-color: #c7c7cc;}
.bg-custom5 {background-color: #e6e6e8;}

.bg-custom6 {background-color: #f0f0f2;}
.bg-custom6 h1, .bg-custom6 h2, .bg-custom6 h3, .bg-custom6 h4, .bg-custom6 h5, .bg-custom6 h6, .bg-custom6 a, .bg-custom6 a:hover, .bg-custom6 p, .bg-custom6 ul li, .bg-custom6 .btn-info, .bg-custom6 .btn-info:hover, .bg-custom6 p strong, .bg-custom6 h4 strong, .bg-custom6 h5 strong {color: #29292e;}
.bg-custom6 .fs-3 h1 strong, .bg-custom6 .fs-3 h2 strong, .bg-custom6 .fs-3 h3 strong, .bg-custom6 .fs-3 h4 strong, .bg-custom6 .fs-3 h5 strong, .bg-custom6 .fs-3 h6 strong, .bg-custom6 .fs-3 p strong {color: #29292e;}
.bg-custom6 .fs-4 h1 strong, .bg-custom6 .fs-4 h2 strong, .bg-custom6 .fs-4 h3 strong, .bg-custom6 .fs-4 h4 strong, .bg-custom6 .fs-4 h5 strong, .bg-custom6 .fs-4 h6 strong, .bg-custom6 .fs-4 p strong {color: #29292e;}
.bg-custom6 .btn-info:hover, .bg-custom6 .btn-info:active, .bg-custom6 .btn-info:focus {color: #29292e !important;}
.bg-custom6 .btn-warning {color: #29292e !important;}
.bg-custom6 .btn-warning:hover, .bg-custom6 .btn-warning:active, .bg-custom6 .btn-warning:focus {color: #fff !important;}
.bg-custom6 ul {border-color: #e6e6e8;}
.bg-custom6 .block-form .form-control {background: #fff; color: #29292e;}
.bg-custom6 .block-form .form-control:focus {background: #fff; color: #28608c;}
.bg-custom6 .block-form .form-control::placeholder {color: #99999e;}
.bg-custom6 .block-form .form-control:-ms-input-placeholder {color: #99999e;}
.bg-custom6 .block-form .form-control::-ms-input-placeholder {color: #99999e;}
.bg-custom6 .block-form .btn-primary {color: #29292e !important;}
.bg-custom6 .block-form .btn-primary:hover, .bg-custom6 .block-form .btn-primary:active, .bg-custom6 .block-form .btn-primary:focus {color: #29292e !important;}

.bg-custom7 {background-color: #fbd5bc;}
.bg-custom7 p, .bg-custom7 h1, .bg-custom7 h2, .bg-custom7 h3, .bg-custom7 h4, .bg-custom7 h5, .bg-custom7 h6, .bg-custom7 ul li, .bg-custom7 a, .bg-custom7 a:hover, .bg-custom7 .btn-info:hover, .bg-custom7 p strong, .bg-custom7 h4 strong, .bg-custom7 h5 strong {color: #29292e;}
.bg-custom7 .fs-3 h1 strong, .bg-custom7 .fs-3 h2 strong, .bg-custom7 .fs-3 h3 strong, .bg-custom7 .fs-3 h4 strong, .bg-custom7 .fs-3 h5 strong, .bg-custom7 .fs-3 h6 strong, .bg-custom7 .fs-3 p strong {color: #29292e;}
.bg-custom7 .fs-4 h1 strong, .bg-custom7 .fs-4 h2 strong, .bg-custom7 .fs-4 h3 strong, .bg-custom7 .fs-4 h4 strong, .bg-custom7 .fs-4 h5 strong, .bg-custom7 .fs-4 h6 strong, .bg-custom7 .fs-4 p strong {color: #29292e;}
.bg-custom7 .btn-info:hover, .bg-custom7 .btn-info:active, .bg-custom7 .btn-info:focus {color: #29292e !important;}
.bg-custom7 .btn-warning {color: #29292e !important;}
.bg-custom7 .btn-warning:hover, .bg-custom7 .btn-warning:active, .bg-custom7 .btn-warning:focus {color: #fff !important;}
.bg-custom7 ul {border-color: #1a1a1f;}
.bg-custom7 .block-form .form-group label {color: #29292e;}
.bg-custom7 .block-form .form-control {background: #fff; color: #29292e;}
.bg-custom7 .block-form .form-control:focus {background: #fff; color: #28608c;}
.bg-custom7 .block-form .form-control::placeholder {color: #99999e;}
.bg-custom7 .block-form .form-control:-ms-input-placeholder {color: #99999e;}
.bg-custom7 .block-form .form-control::-ms-input-placeholder {color: #99999e;}
.bg-custom7 .block-form .btn-primary {color: #29292e !important;}
.bg-custom7 .block-form .btn-primary:hover, .bg-custom7 .block-form .btn-primary:active, .bg-custom7 .block-form .btn-primary:focus {color: #29292e !important;}


@media (max-width: 1920px) {
    html, body {font-size: 15px;}
    p {font-size: 16px; opacity: 0.75 !important;}
    .contact-box .block-columns .__col .block-section {min-height: 40vh;}

}

@media (max-width: 1680px) {
    html, body {font-size: 13px;}
    .wide-margin .block-columns .__col .block-section .block-section-container {padding: 6rem !important;}

}

@media (max-width: 1440px) {
    html, body {font-size: 11px;} 
    .wide-margin .block-columns .__col .block-section .block-section-container {padding: 5rem !important;}
    .full-width-all.contact-box .__col .block-section:not(.page-cover) > .block-section-container > .block .__content {margin-bottom: -3rem !important; padding: 0 !important;}

}

@media (max-width: 1280px) {
    .wide-margin .block-columns .__col .block-section .block-section-container {padding: 5rem !important;}
}


@media (max-width:1170px) {
    #modal-cc .modal-content {max-width: 40%;}
}

@media (max-width: 992px) {
    html, body {font-size: 8px;} 
    
    .contact-box .block-columns .__col .block-section > .block-section-container .block-image {min-height: 70vh; overflow: hidden !important; height: 100%; object-fit: cover; width: 100%; position:absolute; left: 0%; right: 0; bottom: 0;}
    .contact-box .block-columns .__col .block-section > .block-section-container p {margin: 2rem 2rem !important;}

    
    p, main ul li, .block-list-group.accordion .card .card-body, .block-list-group.tabs .tab-content, .modal-body {font-size: 1.5rem;}
    
    h2, .fs-6, .fs-6 h1, .fs-6 h2, .fs-6 h3, .fs-6 h4, .fs-6 h5, .fs-6 h6, .fs-6 p {font-size: 3.25rem;}
    h3, .fs-5, .fs-5 h1, .fs-5 h2, .fs-5 h3, .fs-5 h4, .fs-5 h5, .fs-5 h6, .fs-5 p {font-size: 2.75rem;}
    h4, .fs-4, .fs-4 h1, .fs-4 h2, .fs-4 h3, .fs-4 h4, .fs-4 h5, .fs-4 h6, .fs-4 p {font-size: 2rem;}
    h5, .fs-3, .fs-3 h1, .fs-3 h2, .fs-3 h3, .fs-3 h4, .fs-3 h5, .fs-3 h6, .fs-3 p {font-size: 1.75rem;}
    h6, .fs-2, .fs-2 h1, .fs-2 h2, .fs-2 h3, .fs-2 h4, .fs-2 h5, .fs-2 h6, .fs-2 p {font-size: 1rem !important;}
    
    .btn {font-size: 1.5rem; padding: 2.25rem;}
    .btn:after {width: 2.25rem; margin-left: 2.25rem;}
    
    .btn-warning, .btn-warning:hover, .btn-warning:active, .btn-warning:focus {border-width: .15rem !important;}
    
    hr {height: .15rem;}
    
    .border, .border-top, .border-bottom, .border-left, .border-right, .border-col .block-columns .__col, .block-gallery .carousel .carousel-indicators li {border-width: .15rem;}
    
    .border-top-col .block-columns .__col, main ul {border-top-width: .15rem;}
    .border-bottom-col .block-columns .__col, a, main ul, .block-form .form-control {border-bottom-width: .15rem;}
    .border-left-col .block-columns .__col {border-left-width: .15rem;}
    .border-right-col .block-columns .__col {border-right-width: .15rem;}
    
    .block-list-group .list-group-item {padding: 2.25rem; margin-bottom: .15rem;}

    .block-list-group.accordion .card {margin-bottom: .15rem;}
    .block-list-group.accordion .card .card-header h5 .btn {font-size: 1.75rem; padding: 2.25rem;}
    .block-list-group.accordion .card .card-header h5 .btn:after {width: 1.75rem;}
    .block-list-group.accordion .card .card-body {padding: 2.25rem;}

    .block-list-group.tabs .nav-tabs .nav-item {margin-right: .15rem;}
    .block-list-group.tabs .nav-tabs .nav-item .nav-link {padding: 2.25rem;}
    .block-list-group.tabs .tab-content {padding: 2.25rem;}

    .block-list-group.modal-list .list-group-item h5 .btn {font-size: 1.75rem; padding: 2.25rem;}
    .block-list-group.modal-list .list-group-item h5 .btn:after {width: 1.75rem;}
    
    .news .list-group-item {width: calc(100% / 2); border-right: .15rem solid #333338; border-bottom: .15rem solid #333338;}
    .news .list-group-item:nth-child(3n) {border-right: .15rem solid #333338 !important;}
    .news .list-group-item:nth-child(2n) {border-right: none !important;}
    .news .list-group-item .list-date {padding: 1.5rem; font-size: 1rem;}
    .news .list-group-item h3.list-header {padding: 5rem 5rem 0 5rem; font-size: 2.75rem;}
    .news .list-group-item .list-content {padding: 0 5rem 5rem 5rem;}
    .news .list-group-item .list-date {color: #7ea0ba;}

    #newsfeed {border-bottom: .15rem solid #333338 !important;}
    #newsfeed .list-group-item {width: calc(100% / 3); border-right: .15rem solid #333338 !important;}
    #newsfeed .list-group-item:last-child {border-right: none !important;}
    #newsfeed .list-group-item .list-date {padding: .75rem 0; font-size: 1rem;}
    #newsfeed .list-group-item h3.list-header {font-size: 1.5rem; padding-top: 5rem;}
    #newsfeed .list-group-item .list-content :first-child {font-size: 1.5rem;}

    .modal-header {border-bottom-width: .15rem;}
    .modal-header, .modal-body {padding: 2.25rem;}
    .modal-header h5 {font-size: 1.75rem;}
    .modal-header .close {font-size: 3.2rem;}
    
    .pager li a, .block-gallery .carousel .carousel-indicators li {width: 1.25rem; height: 1.25rem;}
    
    .block-section.xl-box .block-columns .block-section {min-height: 75vh !important; padding: 5rem;}
    
    .bubble-box {padding: 2.25rem;}
    .bubble-box:after {border-left-width: 2.25rem; border-right-width: 2.25rem; border-bottom-width: 2.25rem; margin-left: -2.25rem;}
    
    .preamble-left .__content > * {border-left-width: .15rem;}
    .preamble-right .__content > * {border-right-width: .15rem;}
    
    .personal {padding: 3rem 0 6.5rem 0;}
    .personal .block-section {padding: 3.5rem 0 0 0; width: 100%; }
    
    .breadcrumb .block-section-container {padding: 0 !important;}
    .breadcrumb p a:after {width: .75rem; margin: 0 1.5rem;}
    
    .main-slider .block-gallery .carousel .carousel-control-prev {left: 2.25rem;}
    .main-slider .block-gallery .carousel .carousel-control-next {right: 2.25rem;}
    .main-slider .block-gallery .carousel .carousel-caption > h3 {font-size: 1.75rem;}
    .main-slider .block-gallery .carousel .carousel-caption > p {font-size: 4rem;}
    .main-slider .carousel-control-next-icon, .main-slider .carousel-control-prev-icon {width: 1.75rem; height: 1.75rem;}
    
    #modal-cc .modal-content {max-width: 50%;}
    #modal-cc #cc-buttons {display: block;}
    #modal-cc p, #modal-cc .modal-body {font-size: 1.5rem;}
    #cc-settings-container {bottom: 2.25em; left: 2.25em;}
    #cc-settings-button {font-size: 2rem;}
    
    footer .__col {padding: 5rem;}
    footer .col-sm-6 {-ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%;}
    footer .col-sm-6:last-child {background-color: #29292e;}
    footer .some {padding-top: 2.25rem;}
    footer .some a {margin-right: 2.25rem;}
    footer .footer-nav {border-top: .15rem solid #29292e;}
    footer .footer-nav .nav-item .nav-link {padding: 1.125rem 0; font-size: 1.5rem; border-bottom: .15rem solid #29292e;}
    footer .footer-nav .nav-item .nav-link:after {width: 1.875rem;}

    .block-form .form-fields {margin: 0 -.075rem !important;}
    .block-form .form-fields .col-md-12 {padding: 0 .075rem !important;}
    .block-form .form-control, .block-form .form-group label {font-size: 1.5rem;}
    .wide-margin .block-columns .__col .block-section .block-section-container {padding: 5rem !important;}

}

@media (max-width: 767px) {
    html, body {font-size: 6px;}
    p {font-size: 12px !important;}

    p, main ul li, .block-list-group.accordion .card .card-body, .block-list-group.tabs .tab-content, .modal-body {font-size: 1.75rem;}
    
    h2, .fs-6, .fs-6 h1, .fs-6 h2, .fs-6 h3, .fs-6 h4, .fs-6 h5, .fs-6 h6, .fs-6 p {font-size: 3.5rem;}
    h3, .fs-5, .fs-5 h1, .fs-5 h2, .fs-5 h3, .fs-5 h4, .fs-5 h5, .fs-5 h6, .fs-5 p {font-size: 3rem;}
    h4, .fs-4, .fs-4 h1, .fs-4 h2, .fs-4 h3, .fs-4 h4, .fs-4 h5, .fs-4 h6, .fs-4 p {font-size: 2.25rem;}
    h5, .fs-3, .fs-3 h1, .fs-3 h2, .fs-3 h3, .fs-3 h4, .fs-3 h5, .fs-3 h6, .fs-3 p {font-size: 2rem;}
    h6, .fs-2, .fs-2 h1, .fs-2 h2, .fs-2 h3, .fs-2 h4, .fs-2 h5, .fs-2 h6, .fs-2 p {font-size: 1.25rem !important;}

    .text-responsive {width: 100% !important;}
    .btn {font-size: 1.75rem; padding: 2.6rem; width: 100%;}
    .btn:after {width: 2.6rem; margin-left: 2.6rem;}
    
    .contact-box .block-columns .__col .block-section {overflow: hidden !important; height: 100%; min-height: 50vh !important; object-fit: cover; }
    .contact-box .img-fluid {height: 55vh !important;}
    .contact-box .block-columns .__col .block-section:hover > .block-section-container .block-image img {opacity: 1 !important;}

    .contact-box .block-columns .__col .block-section {background-size:cover !important; height:25rem; background-position: 30% 50%;}
	.contact-box .block-columns .__col .block-section:before {background:linear-gradient(to bottom, transparent 70%, #29292e);}
    
    .border-left-col .block-columns .__col {border-left-width: 0; border-bottom-width: .15rem !important; border-bottom-style: solid;}
    .border-right-col .block-columns .__col {border-right-width: 0; border-bottom-width: .15rem !important; border-bottom-style: solid;}
    
    .block-list-group .list-group-item {padding: 2.6rem;}

    .block-list-group.accordion .card .card-header h5 .btn {font-size: 2rem; padding: 2.6rem;}
    .block-list-group.accordion .card .card-header h5 .btn:after {width: 2rem;}
    .block-list-group.accordion .card .card-body {padding: 2.6rem;}

    .block-list-group.tabs .nav-tabs .nav-item .nav-link {padding: 2.6rem;}
    .block-list-group.tabs .tab-content {padding: 2.6rem;}

    .block-list-group.modal-list .list-group-item h5 .btn {font-size: 2rem; padding: 2.6rem;}
    .block-list-group.modal-list .list-group-item h5 .btn:after {width: 2rem;}
    
    .nyheter .block-section-container {margin-top: 6.5rem;}
    
    .news .list-group-item, .news .list-group-item:nth-child(3n) {width: 100%; border-right: none !important;}
    .news .list-group-item .list-date {padding: 1.75rem; font-size: 1.25rem;}
    .news .list-group-item h3.list-header {font-size: 2.25rem;}

    #newsfeed .list-group-item {width: 100%; border-right: none !important;}
    #newsfeed .list-group-item .list-date {padding: .875rem 0; font-size: 1.25rem;}
    #newsfeed .list-group-item h3.list-header {font-size: 1.75rem; padding-top: 6rem;}
    #newsfeed .list-group-item .list-content :first-child {font-size: 1.75rem;}
    
    .block-section.full-page-section, .block-section.sm-padding {padding-top: 5rem !important; padding-bottom: 5rem !important;}
    
    .container, .block-section > .block-section-container, .block-section.sm-section .block-section-container, .block-section.sm-section .container, .block-section.lg-section .block-section-container, .block-section.lg-section .container {width: 100%; padding-left: 5rem !important; padding-right: 5rem !important;}
    .block-columns .block-section > .block-section-container, .block-section.news-page > .block-section-container, .block-section.full-width-all > .block-section-container {padding: 0 !important;}
    
    .block-section.full-page-section {min-height: 75vh;}
    
    .block-section.xs-box .block-section-container, .block-section.sm-box .block-section-container, .block-section.md-box .block-section-container, .block-section.lg-box .block-section-container, .block-section.xl-box .block-section-container {width: 100%; padding-right: 0 !important; padding-left: 0 !important;}
    .block-section.xs-box .block-columns .block-section, .block-section.sm-box .block-columns .block-section, .block-section.md-box .block-columns .block-section, .block-section.lg-box .block-columns .block-section, .block-section.xl-box .block-columns .block-section {padding-left: 5rem !important; padding-right: 5rem !important;}
    
    .block-section.xl-box .block-columns .block-section {min-height: 50vh !important;}
    
    .modal-content {width: calc(100% - 10rem);}
    .modal-header, .modal-body {padding: 2.6rem;}
    .modal-header h5 {font-size: 2rem;}
    .modal-header .close {font-size: 3.7rem;}
    
    .social-media {margin: 3rem;}
    .social-media a {margin: 0 2rem;}
    
    .col-6-container .__content {column-count: 1; column-gap: 0;}
    
    .main-slider {height: 75vh;}
    .main-slider .block-section-container {padding: 0 !important;}
    .main-slider .block-gallery .carousel .carousel-control-prev {left: 2.6rem;}
    .main-slider .block-gallery .carousel .carousel-control-next {right: 2.6rem;}
    .main-slider .block-gallery .carousel .carousel-caption {width: 100%; padding: 5rem 5rem 6.5rem 5rem;}
    .main-slider .block-gallery .carousel .carousel-caption > h3 {font-size: 2rem;}
    .main-slider .block-gallery .carousel .carousel-caption > p {font-size: 4rem;}
    .main-slider .carousel-control-next-icon, .main-slider .carousel-control-prev-icon {width: 2rem; height: 2rem;}
    
    .personal {padding: 2rem 0 6.5rem 0;}
    .personal .block-section {padding: 4.5rem 0 0 0; width: calc(100% - 1.5rem);}

    .breadcrumb .block-section-container {padding: 0 !important;}
    .breadcrumb p a:after {width: .875rem; margin: 0 1.75rem;}
    
    #modal-cc .modal-dialog {justify-content: center;}
    #modal-cc .modal-content {max-width: calc(100% - 10rem); height: auto;}
    #modal-cc p, #modal-cc .modal-body {font-size: 1.75rem;}
    #cc-settings-container {bottom: 5em; left: 5em;}
    #cc-settings-button {font-size: 3.5rem;}
    
    footer .col-xs-12 {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; overflow-x: hidden !important;}
    footer .col-xs-12:nth-child(2) {border-bottom: .15rem solid #7ea0ba;} 
    footer .some {padding-top: 2.6rem;}
    footer .some a {margin-right: 2.6rem;}
    footer .footer-nav .nav-item .nav-link {padding: 1.3125rem 0; font-size: 1.75rem;}
    footer .footer-nav .nav-item .nav-link:after {width: 2.1875rem;}
    
    .block-form .form-control, .block-form .form-group label {font-size: 1.75rem;}
    
    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}

    .card-inner2 > .block-section-container:before {-webkit-clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%); clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%); opacity: 1 !important; content: '';position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: inherit; background-size: cover;  background-position: center; transition: 0.5s ease-in-out; z-index: 0; filter: brightness(70%);}

}

@media (max-width: 320px) {
    html, body {font-size: 5.5px;}
    
    .container, .block-section > .block-section-container, .block-section.sm-section .block-section-container, .block-section.sm-section .container, .block-section.lg-section .block-section-container, .block-section.lg-section .container {padding-left: 4rem !important; padding-right: 4rem !important;}
    .block-columns .block-section > .block-section-container, .block-section.news-page > .block-section-container, .block-section.full-width-all > .block-section-container {padding: 0 !important;}
    
    .block-section.xs-box .block-columns .block-section, .block-section.sm-box .block-columns .block-section, .block-section.md-box .block-columns .block-section, .block-section.lg-box .block-columns .block-section, .block-section.xl-box .block-columns .block-section {padding-left: 4rem !important; padding-right: 4rem !important;}
    .block-section.xl-box .block-columns .block-section {padding: 4rem;}
    
    .block-section.full-page-section {min-height: 100vh;}
    .block-section.xl-box .block-columns .block-section {min-height: 75vh !important;}
    
    .modal-content {width: calc(100% - 8rem);}

    .main-slider {height: 90vh;}
    .main-slider .block-section-container {padding: 0 !important;}
    .main-slider .block-gallery .carousel .carousel-caption > p {font-size: 3.25rem;}
    
    #modal-cc .modal-content {max-width: calc(100% - 8rem);}
    #cc-settings-container {bottom: 4em; left: 4em;}
    #cc-settings-button {font-size: 3.25rem;}
    
    footer .__col {padding: 4rem;}
}
