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







html, body {background-color: #222222; cursor: default; font-family: Michroma, Arial, Sans-serif; font-size: 20px; line-height: 1.9; font-weight: 300; letter-spacing: .025rem; color: #c7c7cc; overflow-x: hidden;} 

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

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

h1 {font-style: italic; font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #fff; font-size: 4rem; line-height: 1.15; font-weight: 300;}
h2 {font-style: italic; font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #fff; font-size: 2.75rem; line-height: 1.15; font-weight: 300;}
h3 {font-style: italic; font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #fff; font-size: 2rem; line-height: 1.15; font-weight: 300;}
h4 {font-style: italic; font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #c7c7cc; font-size: 1.5rem; line-height: 1.6; font-weight: 300;}
h5 {font-style: italic; font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #c7c7cc; font-size: 1.25rem; line-height: 1.6; font-weight: 300;}
h6 {font-family: Michroma, Arial, Sans-serif; margin: 0; padding: 0; color: #fff; 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: Michroma, 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: Michroma, 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: Michroma, 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: Michroma, 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: "aktiv-grotesk", 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: "aktiv-grotesk", 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: "aktiv-grotesk", 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 {font-family: "aktiv-grotesk", Arial, Sans-serif; margin: 0; padding: 0;}

a {transition: 0.3s all; color: #fff; moz-transition: all .1s; -webkit-transition: all .1s; -o-transition: all .1s; -ms-transition: all .1s; transition: all .1s;}
a:hover {color: #fff; font-weight: bold; text-decoration: underline; transition: 0.3s all;}

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: #c7c7cc;}
h4 a:hover, h5 a:hover {color: #fff;}

strong {font-weight: 500;} 

h1 strong, h2 strong, h3 strong {font-family: Michroma, 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: Michroma, 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: Michroma, 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: Michroma, 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: Michroma, 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 {color: #fff;}

.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: #eff4ce;}
::selection {color: #fff; background: #eff4ce;}

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

.spacer {height: 2.5rem;}

.no-link {cursor: default;}

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

.__base .js-load:after, .__base .menu-child:after {content:"[javascript content - do not alter]"; text-align:left; width:100%; font-family:monospace; display:block;}
.ul-menu-child {display: flex; flex-direction: column; width: 85%; margin-top:0;}
.ul-menu-child li:before {display:none;}
.ul-menu-child li {opacity:1; height:100%; margin:0; position:relative; transition:$trans;}
.ul-menu-child li.back a {color: #fff; font-weight:600; font-size:.8rem; letter-spacing:2px; background-color:#222222 !important;}
.ul-menu-child li.back span {display:none; position:absolute; background-color:#f0f0f2; cursor:pointer; inset:3px 0 3px auto; width:25px; border-left:4px solid #fff; align-items: center; justify-content: center;  transition:$trans;}
.ul-menu-child li.back span.open i { transform: rotate(90deg);}
.ul-menu-child li a {font-size:.8rem; letter-spacing:.5px; transition:$trans; display:block; border:none; color: #c7c7cc; background: #333338; border-left:4px solid #4d4d52; padding: 0.75rem 0.5rem; margin: 3px 0;}
.ul-menu-child li a:hover {background-color: #222222 !important;}
.ul-menu-child li.active a {color: #222222; background: #afca0b !important; border-color:#afca0b;}
.ul-menu-child li.hide {opacity:0; height:0;}

.btn {font-family: "aktiv-grotesk", Arial, Sans-serif; white-space: normal; border: none !important; font-size: 1rem; font-weight: 500; border-radius: 5rem; display: inline-block; text-align: left; padding: 1.5rem 2.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:after {content: url('../../files/icons/btn-after_dark.svg'); width: 1.5rem; margin-left: 1.5rem; line-height: 0; display: block; float: right; moz-transition: all .1s; -webkit-transition: all .1s; -o-transition: all .1s; -ms-transition: all .1s; transition: all .1s;}
.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:hover:after {content: url('../../files/icons/btn-after_light.svg');} 

.btn-primary {background-color: #afca0b !important; color: #222222 !important;}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {background-color: #333338 !important; color: #fff !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:after {margin: 0 0 0 .75rem; content: url('../../files/icons/btn-after_primary.svg'); line-height: 1; display: inline-block; float: none; vertical-align: middle;}
.btn-info:hover, .btn-info:active, .btn-info:focus {color: #fff !important; background: transparent !important; letter-spacing: .15rem;}

.btn-success {background-color: #eff4ce !important; color: #222222 !important;}
.btn-success:after {content: url('../../files/icons/btn-after_dark.svg');}
.btn-success:hover, .btn-success:active, .btn-success:focus {background-color: #c7c7cc !important; color: #222222 !important;}

.btn-warning {background-color: transparent !important; color: #fff !important; border: .1rem solid #afca0b !important;}
.btn-warning:after {content: url('../../files/icons/btn-after_primary.svg');}
.btn-warning:hover, .btn-warning:active, .btn-warning:focus {background-color: #afca0b !important; border: .1rem solid #afca0b !important;}
.btn-warning:hover:after {content: url('../../files/icons/btn-after_light.svg');}

.btn-danger {background-color: #222222 !important; color: #eff4ce !important;}
.btn-danger:after {content: url('../../files/icons/btn-after_secondary.svg');}
.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: #afca0b !important;}
.border-secondary {border-color: #eff4ce;}

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

.border-info {border-color: $info;}
.border-success {border-color: #32a852;}
.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: #afca0b;}
.border-secondary-col .block-columns .__col {border-color: #eff4ce;}

.border-dark-col .block-columns .__col {border-color: #222222;}
.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: #32a852;}
.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 {background-color: #333338; 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: #333338; 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: "aktiv-grotesk", Arial, Sans-serif; margin-top: 0 !important; border: none !important; font-style: normal; background-color: transparent !important; text-transform: none; color: #c7c7cc !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_prim-01.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_prim-01.svg');}
.block-list-group.accordion .card .card-body {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: #222222; padding: 0 !important; margin-right: .1rem;}
.block-list-group.tabs .nav-tabs .nav-item .nav-link {padding: 2rem; border: none; background: #222222; 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: "aktiv-grotesk", Arial, Sans-serif; margin-top: 0 !important; border: none !important; font-style: normal; background-color: transparent !important; text-transform: none; color: #c7c7cc !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_prim-01.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: #222222; 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: 1rem; 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: #eff4ce;}

#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: #222222; 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: Michroma, 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: #afca0b; color: #afca0b;}

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

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

.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:35vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-4 {height:35vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-3 {height:35vh;}
.block-gallery:is(.box, .slick):not(.logo) .gallery .gallery-item.col-sm-2 {height:35vh;}

.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:#222222;}
.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: 75vh !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: 0.6rem; font-size:0;}
.slick-arrow:before {content:"\f053"; font-family: $fonticon; font-weight:700; font-size: 2.5rem; color:$customdark; opacity:.5; transition:0.3s all;}
.slick-arrow.slick-next {left:auto; right: 0.6rem;}
.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:#afca0b;}
.slick-dots li button { opacity:.5; transition:0.3s all; border: none; display: flex; align-items: center; justify-content: center; font-size: 0; width: 1rem; height: 1rem; 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; position:absolute; content:"\f061" !important; font-family: $fonticon; font-weight:700; background:linear-gradient(to bottom, transparent, $customdark); left:0; top:0; right:0; bottom:0; transform:none;     display: flex; justify-content: flex-end; align-items: flex-end; padding: 0 1.2rem 0.6rem 0; color: #fff; transition:0.3s all;}
.slick.block-gallery.gutter .gallery .gallery-item.external .image-container a:before {inset: 0.6rem;}
.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:0.3s all; bottom: 1.2rem; padding-right:3.1rem; left: 1.2rem; 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: 0.6rem !important;}


.bg-primary .slick.fade-x .slick-slider:before, .bg-primary .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #afca0b, transparent);}
.bg-secondary .slick.fade-x .slick-slider:before, .bg-secondary .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #eff4ce, transparent);}
.bg-dark .slick.fade-x .slick-slider:before, .bg-dark .slick.fade-x .slick-slider:after {background:linear-gradient(to right, #222222, 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:6.25rem;}
.slick.fade-x .slick-slider:after {right:0; transform:scale(-1);}
.slick.link.block-gallery .gallery .gallery-item .img-caption {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: #222222; 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: #afca0b; 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: #222222; 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-header h5 {font-size: 1.5rem; line-height: 1.2;}
.modal-header .close {font-size: 2.75rem; line-height: .5; font-weight: 300; color: #afca0b; text-shadow: none; opacity: 1; padding: 0; margin: 0 0 0 auto;}
.modal-header .close:hover {color: #fff; opacity: 1 !important;}
.modal-footer {display: none;}

/***************** menu *********************/
.navbar .navbar-nav .dropdown-menu .dropdownhover-right{top: 0% !important; left: 100% !important;}

.navbar {height: 11rem; padding: 0; background-color: #222222; 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 {padding-top: 0.5rem;width: 10rem; margin-left: 2.5rem;}
.navbar .navbar-toggler {font-size: 5rem; padding: 0; margin-right: 2.5rem; margin-left: auto; color: #fff; z-index: 700;}
.navbar .navbar-toggler:before {content: url('../../files/icons/nav_light.svg'); width: 5rem; line-height: 0; display: block;}
.navbar .navbar-toggler.open:before {content: url('../../files/icons/cross_light.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: "aktiv-grotesk", Arial, Sans-serif; padding: 0 1.5rem; color: #fff; font-size: 1rem; text-decoration: none; display: flex; align-items: center; text-transform: uppercase; }
.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 {background-color: #333338;}
.navbar .navbar-nav .has_childs .nav-link:after {filter: invert(1) brightness(1); content: url('../../files/icons/angle-down_primary.svg'); width: 1.25rem; margin-left: 1rem; border: none; line-height: 0; display: block;}
.navbar .navbar-nav .has_childs.show .nav-link:after {content: url('../../files/icons/angle-up_primary.svg'); 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: #222222;}
.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: #c7c7cc; padding: 1rem 2.5rem; border-bottom: .1rem solid #333338 !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 {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: 1470px) {
    .navbar .navbar-nav .nav-link {padding: 0 2rem;}

}


/***************** 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:after {margin: 0 0 0 .75rem; content: url('../../files/icons/btn-after_primary.svg'); width: 1.5rem; line-height: 1; display: inline-block; float: none; vertical-align: middle;}
#section-404 p a:hover {letter-spacing: .15rem; text-decoration: none !important;}

.block-section > .block-section-container {padding: 0; width: 95rem; 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-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-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 #222222; 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 #222222; 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 #222222; 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: #afca0b;}
.bs-tooltip-auto[x-placement^="top"] .arrow::before, .bs-tooltip-top .arrow::before {border-top-color: #afca0b;}
.bs-tooltip-auto[x-placement^="left"] .arrow::before, .bs-tooltip-left .arrow::before {border-left-color: #afca0b;}
.bs-tooltip-auto[x-placement^="right"] .arrow::before, .bs-tooltip-right .arrow::before {border-right-color: #afca0b;}
.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: #afca0b;}

.preamble-left .__content > * {padding-left: 2rem; border-left: .1rem solid #afca0b;}
.preamble-right .__content > * {padding-right: 2rem; border-right: .1rem solid #afca0b;}

#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 {margin: 0 .75rem !important; padding: 2.5rem 0 0 0; width: calc((100% / 3) - 1.5rem);}
#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; width: 60%; border-radius: 50%; margin: 0 auto !important;}

.main-slider {height: 100vh;}
.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: #222222; 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-size: 1.5rem; line-height: 1.6; font-family: Michroma, Arial, Sans-serif;}
.main-slider .block-gallery .carousel .carousel-caption > p {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*******************************/

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

#modal-cc .modal-content .cc-section-row {padding-top:1rem;}
#modal-cc .modal-content .cc-section-row .form-group {margin-top:1rem;}
#modal-cc .modal-content .nav-pills {gap:1rem; padding-inline:3rem !important;}
#modal-cc .modal-content .nav-pills .nav-link:hover {opacity:1;}
#modal-cc .modal-content .nav-pills .nav-link {transition:0.3s all; opacity:.5; text-align: left; background: transparent; border-bottom: solid 1px rgba(255,255,255,0.2); border-radius: 0; padding-inline: 2.5px;}
#modal-cc .modal-content .nav-pills .nav-link.active {font-weight:700; opacity:1;}
#modal-cc .tab-pane {overflow-x:hidden; overflow-y:auto; max-height:unset;}
#modal-cc .tab-pane::-webkit-scrollbar {width: 2px; height: 2px; transition:0.3s all;}
#modal-cc .tab-pane::-webkit-scrollbar-track {background: inherit;}

#modal-cc #cc-buttons {margin-inline:-5px !important; flex-wrap: wrap; padding-bottom:1rem;}
#modal-cc #cc-buttons .btn {text-align: center !important; justify-content: center; flex:1; font-size:.7rem; text-align:left; padding-inline:1rem !important; border:none !important; border-radius: 0 !important;}
#modal-cc #cc-buttons .btn:after {display: none !important;}

#cc-settings-container a {color:#afca0b;}
#cc-settings-container {left:2rem; bottom:2rem;}
#modal-cc .cc-checkbox:not([disabled]) {cursor: pointer;}

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



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

.row-align .block-columns .__col img {height: 30vh; width: 100%; object-fit: cover;}

.hidden {display: none; opacity: 0 !important; transition:$trans;}
.__base :is(.hidden) {max-height:50vh; overflow:hidden;}
.__base :is(.hidden, .d-md-none) {display: block !important; opacity:0.5 !important; visibility:visible !important; position:relative;}
.__base :is(.hidden, .d-md-none):before {content: ""; position: absolute; left: 0; top: 0; width: 100% !important; height: 100%; background-size: 100px; z-index: 0;}
main > .block-section .__col:has(.block-section:is(.hidden, .d-none)),
main > .block-section .block-button:has(.btn.hidden) {display:none !important;}


.page-coverx h1 {text-transform: uppercase !important;}
.grid-layout .block-columns .__col .block-section {border-right:1px solid rgb(255,255,255, 0.1);}
.grid-layout .block-columns .__col .block-section.no-border {border-right:1px solid rgb(255,255,255, 0.0);}


.personal .block-columns .__col .block-section img {height: 50vh; object-fit: cover;}

.small-gal .block-gallery .gallery .gallery-item .image-container {height: 40vh !important; object-fit: cover;}

.partsfinder-sec .block-columns .__col {padding: 0.25rem;}
.partsfinder-sec .block-columns .__col .block-section {text-align: center; padding: 1.5rem;}
.partsfinder-sec .block-columns .__col .block-section img {width: 20rem; height: 20rem;}
.partsfinder-sec .block-columns .__col .block-section .btn {width: 100%; border-radius: 0 !important;}

.filter-duo:before {mix-blend-mode: multiply; position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #222222; opacity: .85; z-index: 0; moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; -ms-transition: all .4s; transition: all .4s;}
.filter-duo:hover:before {opacity: 1;}


.bg-top {background-position: 50% 20% !important;}
.bg-full-top {background-position: top !important;}
.bg-bottom {background-position: 50% 80% !important;}
.bg-full-bottom {background-position: bottom !important;}
.bg-right {background-position: 80% 50% !important;}
.bg-full-right {background-position: right !important;}
.bg-left {background-position: 20% 50% !important;}
.bg-full-left {background-position: left !important;}

.block-list.btn-video .block-list-group.modal-list .list-group-item .close-times {display: none;}
.block-list.btn-video .block-list-group.modal-list .list-group-item h5 > button {position: relative; left: 45%;}
.custom-btn .block-list-group .list-group-item {background: transparent !important;}
.block-list.btn-video .block-list-group.modal-list .list-group-item h5 > button {background-image:url("../../assets/images/video.png"); font-size:0; background-repeat:no-repeat; background-size:contain; background-position:center; background-color:transparent !important; margin-top:0 !important; box-shadow: none !important;     width: 150px; height: 150px; transition:$trans;}
.block-list.btn-video .block-list-group.modal-list .list-group-item h5 > button:hover {opacity:.7;}
.block-list.btn-video .block-list-group.modal-list .list-group-item h5 > button:before,
.block-list.btn-video .block-list-group.modal-list .list-group-item h5 > button:after {display:none !important;}

.page-collage .block-columns .__col .block-section {height: 50vh;}

.teknisk-info .btn {border-radius: 0 !important; width: 100% !important;}

.cards .block-columns .__col  {padding: 0.5rem !important; }

/******cardscus****/

.cards .__col > .block-section > .block-section-container > .block-button:last-child .__content:after {content:""; position:absolute; background: #afca0b; height: 2px; width: 50%; left: -3rem;}
.cards .__col > .block-section > .block-section-container > .block-button:last-child .__content { padding-top:1.5rem;}
.cards .__col > .block-section > .block-section-container .btn {border:none !important; padding:0 !important; background:none !important;}
.cards .__col > .block-section > .block-section-container .btn:hover {color:#afca0b !important;}
.cards .__col > .block-section > .block-section-container .btn:hover:after {filter:none !important;}
.cards .__col > .block-section:not(.bg-image):after {content:""; position:absolute; inset:0; background-image:url($favicon); background-size:200px; background-position:90% 5%; background-repeat:no-repeat; opacity:.1; z-index:0;}
.cards .__col > .block-section > .block-section-container {z-index:1; position:relative;}
.cards .__col > .block-section.bg-video > .block-section-container {z-index:3;}
body.modal-open .cards .__col > .block-section > .block-section-container {position:unset;}

[class*="cards-"].full-width-all .__col > .block-section {min-height:200px;}
[class*="cards-"].cards .__col > .block-section {border-radius:$boracus; overflow:hidden; box-shadow: rgba(0, 0, 0, 0.1) 0px .8rem .8rem -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;}
[class*="cards-"].cards-ptop .__col > .block-section {padding-top:7rem !important;}
[class*="cards-"] .__col > .block-section.bg-image:before {content:""; background:linear-gradient(45deg, #eff4ce,#222222); opacity:.65; position:absolute; inset:0;}
[class*="cards-"] .__col > .block-section.bg-image, [class*="cards-"] .__col > .block-section.bg-image .btn-primary {color:#fff !important;}

.bg-custom1.flow3 .__col .lordicon lord-icon:before, .bubble-custom1 + .sticky-bubbles .bubble, .banner-custom1 + .div-banner-roll, .filter-custom1:before, .cards-custom1 .__col > .block-section, .bg-custom1 {background-color: #333338 !important;}


.cards-img .__col .block-section .block-section-container {padding:0;}
.cards-img .__col .block-section .block-section-container .block-image {height: 50vh; overflow:hidden;}
.cards-img .__col .block-section .block-section-container .block-image img {object-fit:contain; transition: 0.3s all; background-color:#fff; height:100%; width:100%;}
.cards-img .__col .block-section:hover .block-section-container .block-image img {transform: scale(1.2);}
.cards-img .__col .block-section .block-section-container .block-image:first-child + .block-header {padding-top:1.5rem;}
.cards-img .__col .block-section .block-section-container .block:not(.block-image) {padding-inline:2rem;}
.cards-img .__col .block-section .block-section-container .block:last-child {padding-bottom:2rem;}
.cards-img .__col .block-section .block-section-container .block-button:last-child {margin-top:auto;}
.cards-img .__col .block-section .block-section-container .block-image + .block .__content * {margin-top:0;}

@media (max-width: 1470) {
    .cards-img .__col .block-section .block-section-container .block-image {height: 60vh !important;}

}
@media(max-width:558px) {
    .cards-img .__col .block-section .block-section-container .block-image {height:200px;}
}

.cards-btn .__col .block-section-container {cursor:pointer;}
.cards-btn .__col .block-section-container .block-button .btn {    font-weight: 700; font-size: 1.2rem !important;}

.service-grid .block-columns .__col .block-section img {height: 40vh; object-fit: cover; }

.card-filter {padding: 0.2rem !important;}
.card-filter .block-columns .__col {padding: 0.2rem;}
.card-filter .block-columns .__col .block-section:before {mix-blend-mode: multiply; position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #222222; opacity: .65; z-index: 0; moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; -ms-transition: all .4s; transition: all .4s;}
.card-filter .block-columns .__col .block-section:hover:before {opacity: 1; mix-blend-mode: multiply;}

.card-filter .block-columns .__col .block-section .btn {opacity: 0; transition: 0.3s all; }
.card-filter .block-columns .__col .block-section:hover .btn {opacity: 1; transition: 0.3s all; color: #fff !important; }


.card-filter .block-columns .__col .block-section .btn {padding: 1.5rem 0 !important; background-color: transparent !important;}
.card-filter .block-columns .__col .block-section .btn:after {margin-left: 1rem; transition: 0.3s all; }
.card-filter .block-columns .__col .block-section .btn:hover:after {margin-left: 2rem; transition: 0.3s all; }

.point-top:after {content: ""; position: absolute; border-left: solid 1.5rem transparent; border-right: solid 1.5rem transparent; border-bottom: solid 1.5rem #222222; 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 #222222; top: 100%; left: 50%; margin-left: -1.5rem; width: 0; height: 0;}

.point-top.bg-tertiary:after {border-bottom-color: #141414;}
.point-bottom.bg-tertiary:after {border-top-color: #141414;}

.bg-tertiary {background: #141414;}

.__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:#222222;}
.__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:0.3s all;}
.filter-blur.bg-video:not(.no-ov, .bg-fixed):before {backdrop-filter: blur(5px);}
.filter-blur.bg-fixed.bg-video:not(.no-ov):before {filter: blur(5px);}
.bg-video {overflow: hidden;}
.bg-video video {object-fit: cover; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; scale:1.2;}
.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; z-index:-1;}


.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;}

.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; }

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

.bg-faded {background: $faded;}
.bg-tertiary {background: #141414;}

.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: 0.3s all; }
.block-section.xl-box .block-columns .block-section .btn:hover:after {margin-left: 1rem !important; transition: 0.3s all; }

.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: #222222; 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: #222222; opacity: .5; z-index: 0;}


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

footer {background-color: #141414; background-position: center bottom; -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 #222222;}
footer .footer-nav .nav-item .nav-link {padding: .75rem 0; font-size: 1rem; border-bottom: .1rem solid #222222; color: #99999e; text-decoration: none; display: flex; align-items: center;}
footer .btn {border-radius: 0 !important;}

footer .footer-nav {column-count: 2; padding-right: 2rem !important; border-top: 0.1rem solid transparent !important; }
/****************** form ******************/


.block-form {font-family: "aktiv-grotesk", Arial, Sans-serif !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-fields .col-md-12:nth-child(1), .block-form .form-fields .col-md-12:nth-child(2), .block-form .form-fields .col-md-12:nth-child(3) {-ms-flex: 0 0 33.33333%; flex: 0 0 33.33333%; max-width: 33.33333%;}
.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: #2d2d2d; border-bottom: .1rem solid transparent; color: #fff; padding: 1.5rem; font-size: 0.9rem; 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: #141414; border-bottom-color: #afca0b; color: #fff;}
.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 {text-align: center !important; border-radius: 0 !important; width: 100% !important; background: #afca0b !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:after {margin: 0 0 0 .75rem; content: url('../../files/icons/btn-after_primary.svg'); line-height: 1; display: inline-block; float: none; vertical-align: middle;}
.block-form .btn-primary:hover, .block-form .btn-primary:active, .block-form .btn-primary:focus {color: #fff !important; letter-spacing: .15rem; background: #99999e !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 p, .text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light h6, .text-light ul li, .text-light a, .text-light a:hover {color: #fff;}

.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 {mix-blend-mode: multiply; position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: #222222; opacity: .65; 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: .85;}

.bg-primary {background-color: #afca0b;}
.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-info:after {content: url('../../files/icons/btn-after_light.svg');}
.bg-primary .btn-warning {border-color: #fff !important;}
.bg-primary .btn-warning:after {content: url('../../files/icons/btn-after_light.svg');}
.bg-primary .btn-warning:hover, .bg-primary .btn-warning:active, .bg-primary .btn-warning:focus {background-color: #fff !important; color: #afca0b !important;}
.bg-primary .btn-warning:hover:after {content: url('../../files/icons/btn-after_primary.svg');}
.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: #eff4ce;}
.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: #222222 !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: #222222;}
.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: #222222;}
.bg-secondary hr {background-color: #222222; color: #222222;}
.bg-secondary .btn-info:after {content: url('../../files/icons/btn-after_dark.svg');}
.bg-secondary .btn-warning {border-color: #222222 !important; color: #222222 !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: #222222 !important; color: #eff4ce !important;}
.bg-secondary .btn-warning:hover:after {content: url('../../files/icons/btn-after_secondary.svg');}
.bg-secondary .btn-danger, .bg-secondary .btn-danger:hover, .bg-danger .btn-warning:active, .bg-danger .btn-warning:focus {color: #eff4ce !important;}
.bg-secondary ul {border-color: #222222;}
.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: #222222;}

.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: #222222;}
.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: #222222;}
.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: #222222;}
.bg-light .btn-info:hover, .bg-light .btn-info:active, .bg-light .btn-info:focus {color: #222222 !important;}
.bg-light .btn-warning {color: #222222 !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: #222222;}
.bg-light .block-form .form-control:focus {background: #f0f0f2; color: #afca0b;}
.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: #222222 !important;}
.bg-light .block-form .btn-primary:hover, .bg-light .block-form .btn-primary:active, .bg-light .block-form .btn-primary:focus {color: #222222 !important;}

.bg-dark {background-color: #222222;}
.bg-dark .btn-info:after {content: url('../../files/icons/btn-after_light.svg');}

.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: #222222;}
.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: #222222;}
.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: #222222;}
.bg-custom6 .btn-info:hover, .bg-custom6 .btn-info:active, .bg-custom6 .btn-info:focus {color: #222222 !important;}
.bg-custom6 .btn-warning {color: #222222 !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: #222222;}
.bg-custom6 .block-form .form-control:focus {background: #fff; color: #afca0b;}
.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: #222222 !important;}
.bg-custom6 .block-form .btn-primary:hover, .bg-custom6 .block-form .btn-primary:active, .bg-custom6 .block-form .btn-primary:focus {color: #222222 !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: #222222;}
.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: #222222;}
.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: #222222;}
.bg-custom7 .btn-info:hover, .bg-custom7 .btn-info:active, .bg-custom7 .btn-info:focus {color: #222222 !important;}
.bg-custom7 .btn-warning {color: #222222 !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: #222222;}
.bg-custom7 .block-form .form-control {background: #fff; color: #222222;}
.bg-custom7 .block-form .form-control:focus {background: #fff; color: #afca0b;}
.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: #222222 !important;}
.bg-custom7 .block-form .btn-primary:hover, .bg-custom7 .block-form .btn-primary:active, .bg-custom7 .block-form .btn-primary:focus {color: #222222 !important;}


@media (max-width: 1920px) {
    html, body {font-size: 15px;}
}

@media (max-width: 1680px) {
    html, body {font-size: 13px;}
}

@media (max-width: 1470px) {
    .cards-img .__col .block-section .block-section-container .block-image + .block .__content h4 {font-size: 1.25rem;}
}

@media (max-width: 1440px) {
    html, body {font-size: 11px;} 
}

@media (max-width: 1280px){
    .navbar .navbar-nav .nav-link {padding: 0 1rem;}

}

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

@media (max-width: 992px) {
    html, body {font-size: 8px;} 
    
    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: #eff4ce;}

    #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;}
    
    .navbar {height: 12rem;}
    .navbar .navbar-nav .nav-link {font-size: 1.2rem; padding: 0 .5rem;}
    .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;}
    
    .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: calc((100% / 2) - 1.5rem);}
    
    .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: #222222;}
    footer .some {padding-top: 2.25rem;}
    footer .some a {margin-right: 2.25rem;}
    footer .footer-nav {border-top: .15rem solid #222222;}
    footer .footer-nav .nav-item .nav-link {padding: 1.125rem 0; font-size: 1.5rem; border-bottom: .15rem solid #222222;}
    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;}
}

@media (max-width: 767px) {
    html, body {font-size: 6px;}
    
    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;}

    .btn {font-size: 1.75rem; padding: 2.6rem; width: 100%;}
    .btn:after {width: 2.6rem; margin-left: 2.6rem;}
    
    .ul-menu-child {width:100%;}
    .ul-menu-child li.back span {display:flex;} 

    .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;}
    
    .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: #222222;}
    .navbar .navbar-brand img {width: 20rem; margin-left: 5rem;}
    .navbar .navbar-toggler {margin-right: 5rem;}
    .navbar .navbar-toggler.open {color: #fff;}
    .navbar .navbar-nav .nav-item {height: auto;}
    .navbar .navbar-nav .nav-link {margin: 0; padding: 0 5rem; font-size: 2.5rem; height: auto; color: #fff !important;}
    .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: #c7c7cc; font-size: 3rem; margin-top: 1rem;}
    .navbar .navbar-nav .dropdown-menu {background-color: #333338; 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 {font-size: 2.25rem; padding: 1rem 5rem; color: #fff !important; border-bottom: none !important;} 
    
    .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%;}
    footer .col-xs-12:nth-child(2) {border-bottom: .15rem solid #eff4ce;} 
    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-fields .col-md-12:nth-child(1), .block-form .form-fields .col-md-12:nth-child(2), .block-form .form-fields .col-md-12:nth-child(3) {-ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%;}
    .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%;}
}

@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);}
    
    .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;}
    
    .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;}
}
