/*
Theme Name: Number Three - Child
Theme URI: https://standoutmedia.dk/
Author: Standoutmedia A/S
Author URI: https://standoutmedia.dk/
Description: Et helt specielt Standoutmedia Tema
Template: number-three
Text Domain: number-three-child
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu>li>a {
    padding: 5px 0;
    margin: 0 15px;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header:not(.style-header-4) .site-branding #logo {
    padding: 20px 0;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    box-shadow: 0px 2px 2px rgb(0 0 0 / 20%);
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead .header-wrapper .nav-wrap .nav-info .top-bar-info .section {
    padding-right: 30px;
}

#number-three-sticky-mobile-cta {
    background-color: rgba(75, 75, 75, .95);
}

#number-three-sticky-mobile-cta .cta-container .stom-button:nth-child(2) {
    background-color: rgba(157, 25, 80, .95);
}

#number-three-sticky-mobile-cta .cta-container .stom-button a {
    /* background-color: rgba(75, 75, 75, .5); */
    background-color: transparent;
    border-radius: 0;
    color: #fff;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
    display: block;
    margin-top: 5px;
}

#number-three-sticky-mobile-cta .cta-container .stom-button:not(:last-child) a {
    border-right: none;
}


/*======================================================================//
// style.css                                                            //
//======================================================================*/


/* Generel */

.stom-grid-section .section.columns-2 .grid-element {
    width: calc((100% - (60px * 1)) / 2);
}

h1,
h2,
h3 {
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

a,
a:hover,
a:visited,
a:focus,
a:active {
    color: #9D1951;
    text-decoration: none;
}

html,
body,
input,
select,
optgroup,
textarea {
    color: #3C3C3C;
}

.p-40 {
    padding: 40px !important;
}

.br-30 {
    border-radius: 30px;
}

.stom-social-shortcode .fab,
.stom-social-shortcode .stom-custom-svg svg {
    /* color: inherit; */
    color: rgba(255, 255, 255, 0.3);
}

.stom-button.block {
    display: block;
    margin-top: 30px;
}

.stom-button a {
    display: inline-block;
    text-transform: inherit;
    line-height: 1;
    font-size: 20px;
    transition: all 0.3s ease-in;
    border-radius: 10px;
    border: 2px solid rgba(167, 171, 156, 0.5);
    min-width: 200px;
    padding: 15px 20px 13px 20px;
}

.stom-button a:hover {
    border-color: rgba(167, 171, 156, 0.5) !important;
    background-color: rgba(167, 171, 156, 0.5) !important;
}

span.headline {
    font-family: 'khand', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.4);
}


/* Header */

header .header-wrapper {
    padding-left: 30px;
    padding-right: 30px;
    max-width: 1780px;
}

.home .page-slider-section .slide-element {
    min-height: 870px;
    max-height: 870px;
}

.page-slider-section .slide-element .video-aligner,
.page-slider-section .slide-element .image-aligner,
.page-slider-section .slide-element .service-aligner {
    top: 50%;
    transform: translateY(-50%);
}

.page-slider-section {
    margin-bottom: 0;
}

.page-slider-section .slider-text {
    align-items: flex-end;
    padding: 120px 0;
}

.page-slider-section .slick-slider>.slick-arrow {
    background-color: transparent;
}

.page-slider-section .slick-slider>.slick-prev {
    left: 40px;
}

.page-slider-section .slick-slider>.slick-next {
    right: 40px;
}

.page-slider-section .slider-text-inner>h1 {
    color: #fff;
    /* margin-bottom: 80px; */
    display: inline;
    line-height: 1.16em;
    /* padding-left: 20px; */
    /* padding-right: 20px; */
}

.page-slider-section .slider-text-inner>h1 span {
    display: table;
    background-image: linear-gradient(transparent 0%, transparent 10%, #8f2d56 10%, #8f2d56 80%, transparent 80%);
    padding: 20px 20px;
    margin: -35px 0;
    /* display: block; */
}

.page-slider-section .slider-text-inner>.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 100px;
}

.page-slider-section .slider-text-inner>.button-container .stom-button {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - (55px * 2)) / 3);
}

.page-slider-section .slider-text-inner>.button-container .stom-button a {
    width: 100%;
    border: none;
    padding: 24px 28px 24px 28px;
    font-weight: 500;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-slider-section .slider-text-inner>.button-container .stom-button a .stom-custom-svg {
    line-height: 0;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.one a {
    color: #9d1950;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.one a:hover {
    color: #fff;
    background-color: #9d1950 !important;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.two a {
    color: #3f90a1;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.two a:hover {
    color: #fff;
    background-color: #3f90a1 !important;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.three a {
    color: #c9865a;
}

.page-slider-section .slider-text-inner>.button-container .stom-button.three a:hover {
    color: #fff;
    background-color: #c9865a !important;
}


/* Logo + Menu */

.hover-entry-none.hover-style-full ul.menu li>a:before {
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
}

.hover-entry-none.hover-style-full ul.menu li:hover>a:before,
.hover-entry-none.hover-style-full ul.menu li.focus>a:before,
.hover-entry-none.hover-style-full ul.menu .current-menu-item>a:before,
.hover-entry-none.hover-style-full ul.menu .current-menu-ancestor>a:before {
    height: 2px;
    background-color: #9d1950;
}

header .nav-wrap .nav-info .top-bar-info .section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column-gap: 20px;
}

header .nav-wrap .nav-info .top-bar-info .section:after {
    display: none;
}

header .nav-wrap .nav-info .top-bar-info .section .mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 5px;
}

header .nav-wrap .nav-info .top-bar-info .section .mobile a {
    font-family: 'khand', sans-serif;
    font-size: 18px;
    color: #4a5240;
}

header .nav-wrap .nav-info .top-bar-info .section .mobile a:hover {
    color: #9d1950;
}

header .nav-wrap .nav-info .top-bar-info .section .mobile .stom-custom-svg {
    /* line-height: 0; */
    font-size: 18px;
    margin-right: 10px;
    color: #9d1950;
}

header .nav-wrap .nav-info .top-bar-info .section .beboer .stom-button a {
    background-color: #9d1950;
    border-color: #9d1950;
    color: #fff;
    font-size: 16px;
    min-width: auto;
    max-width: 110px;
    padding: 8px;
    text-align: center;
}

header .nav-wrap .nav-info .top-bar-info .section .beboer .stom-button a:hover {
    background-color: #fff !important;
    border-color: #9d1950 !important;
    color: #a7ab9c;
}

.site-branding {
    /* flex-grow: inherit; */
}

.site-branding #logo img {
    max-width: 250px;
    max-height: 62px;
    width: auto;
    height: auto;
}

.main-navigation {
    justify-content: center;
}

.style-header-1 .header-wrapper .clear {
    display: block !important;
}

header .nav-wrap {
    justify-content: space-between !important;
    align-items: center;
}

header .main-navigation a {
    /*text-transform: lowercase;*/
    font-family: 'khand', sans-serif;
    font-weight: 400;
    padding: 5px 0;
    margin: 0 18px;
}

.main-navigation li {
    align-items: center;
}

#primary-menu li.btn-home>a:before {
    display: none;
}

#primary-menu li.btn-home>a .stom-custom-svg {
    font-size: 14px;
    color: #a7ab9c;
}

#primary-menu li.menu-item a {
    font-size: 18px;
    color: #4a5240;
}

#primary-menu>li.menu-item-has-children>a .stom-menu-item-arrow {
    display: none;
}

#primary-menu>li.menu-item-has-children ul.sub-menu {
    background-color: #a7ab9c;
}

#primary-menu>li.menu-item-has-children ul.sub-menu li.menu-item a {
    font-family: 'open-sans', sans-serif;
    font-size: 14px;
    margin: 0 0;
    color: #fff;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease-in;
    /*text-transform: lowercase;*/
}

#primary-menu>li.menu-item-has-children>ul.sub-menu li.menu-item a:hover {
    background-color: #9d1950;
}

#primary-menu>li.menu-item-has-children>ul.sub-menu li.menu-item a:before {
    display: none;
}


/* Frontpage */

.home #main-content #content {
    max-width: none;
    padding-bottom: 0;
}

.quote-section {
    background-color: #4a5240;
}

.quote-section .section {
    padding: 45px 0;
}

.quote-section .section>h2 {
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
}

.home-section .section {
    padding: 120px 30px !important;
    max-width: 1780px !important;
}

.home-section .section .grid-elements {
    align-items: center;
}

.home-section .section .grid-elements .grid-element {
    width: calc((100% - (55px * 2)) / 3);
}

.home-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.home-section .section .grid-elements .content {
    align-items: center;
}

.home-section .section .grid-elements .content .overlay>.headline {
    color: rgba(167, 171, 156, 0.5);
}

.home-section .section .grid-elements .content .overlay>h2 {
    color: #a7ab9c;
}

.home-section .section .grid-elements .content .overlay>p {
    color: #3C3C3C;
    font-size: 15px;
}

.home-section .section .grid-elements .link .overlay>p:first-of-type {
    margin: 0;
    line-height: 0;
}

.home-section .section .grid-elements .link .overlay>p:first-of-type img {
    width: 100%;
    border-radius: 30px 30px 0px 0px;
}

.home-section .section .grid-elements .link .overlay .content {
    padding: 18px 28px 18px 28px;
    background-color: rgba(74, 82, 64, 0.15);
    border-radius: 0px 0px 30px 30px;
    position: relative;
    z-index: 20;
    transition: all 0.3s ease-in;
}

.home-section .section .grid-elements .link .overlay .content:hover {
    background-color: #9d1950;
}

.home-section .section .grid-elements .link .overlay .content:hover>h3 a,
.home-section .section .grid-elements .link .overlay .content:hover>ul li a {
    color: #fff;
}

.home-section .section .grid-elements .link .overlay .content>h3 {
    margin-bottom: 0;
    font-size: 32px;
    transition: all 0.3s ease-in;
}

.home-section .section .grid-elements .link .overlay .content>ul {
    margin-top: 20px;
}

.home-section .section .grid-elements .link .overlay .content>ul li a {
    transition: all 0.3s ease-in;
    color: inherit;
}

.home-section .section .grid-elements .link .overlay .content>h3 a {
    width: 100%;
    color: #9d1950;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-section .section .grid-elements .link .overlay .content>h3 a .stom-custom-svg {
    line-height: 0;
    font-size: 23px;
}

.food-section .section {
    padding: 100px 30px !important;
    max-width: 1780px !important;
}

.food-section .section .grid-elements {
    align-items: center;
}

.food-section .section .grid-elements .grid-element .overlay>h2,
.food-section .section .grid-elements .grid-element .overlay>h3 {
    color: #a7ab9c;
}

.food-section .section .grid-elements .grid-element .overlay>p img {
    border-radius: 30px;
}

.cousy-section .section {
    padding: 100px 30px !important;
    max-width: 1780px !important;
}

.cousy-section .section>h2 {
    color: #fff;
}

.cousy-section .section>p a {
    color: #fff;
}

.cousy-section .section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.cousy-section .section .container p {
    display: flex;
    flex-wrap: wrap;
    width: calc((100% - (20px * 2)) / 3);
}

.cousy-section .section .container p>a img {
    border-radius: 30px;
}

.cousy-section .section>.gallery {
    grid-gap: 80px;
    margin-top: 40px;
}

.cousy-section .section>.gallery .gallery-item .gallery-icon>a img {
    border-radius: 30px;
    height: 300px;
    object-fit: cover;
}

.faq-section .section {
    padding: 100px 30px !important;
    max-width: 1780px !important;
}

.faq-section .section .grid-elements {
    align-items: center;
}

.faq-section .section .grid-elements .grid-element .headline {
    color: rgba(167, 171, 156, 0.5);
}

.faq-section .section .grid-elements .grid-element h2 {
    color: #a7ab9c;
}

.faq-section .section .grid-elements .links .overlay ul {
    column-count: 2;
    padding-left: 0;
}

.faq-section .section .grid-elements .links .overlay ul li {
    list-style-type: none;
    background-color: rgba(74, 82, 64, 0.1);
    font-family: 'khand', sans-serif;
    font-size: 19px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in;
}

.faq-section .section .grid-elements .links .overlay ul li:hover {
    background-color: rgba(74, 82, 64, 0.3);
}

.faq-section .section .grid-elements .links .overlay ul li a {
    color: #3c3c3c;
    padding: 12px 20px;
    display: inline-block;
    width: 100%;
}

.faq-section .section .grid-elements .links .overlay ul li a:before {}

.faq-section .section .grid-elements .grid-element {
    width: calc((100% - (100px * 1)) / 2);
}

.faq-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.acitivity-section .section {
    padding: 120px 30px !important;
    max-width: 1780px !important;
}

.acitivity-section .section .grid-elements {
    align-items: center;
}

.acitivity-section .section .grid-elements .grid-element {
    width: calc((100% - (100px * 1)) / 2);
}

.acitivity-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.acitivity-section .section .grid-elements .grid-element .overlay>h2,
.acitivity-section .section .grid-elements .grid-element .overlay>p {
    color: #fff;
}

.acitivity-section .section .grid-elements .grid-element .overlay>p img {
    border-radius: 30px;
}

.value-section .section {
    padding: 120px 30px !important;
    max-width: 1780px !important;
}

.indspark-section .section {
    padding: 120px 30px !important;
    max-width: 1780px !important;
}

.indspark-section .section .grid-elements {
    align-items: center;
}

.indspark-section .section .grid-elements .grid-element {
    width: calc((100% - (70px * 1)) / 2);
}

.indspark-section .section .grid-elements .grid-element .overlay>h2 {
    color: #a7ab9c;
}

.indspark-section .section .grid-elements .grid-element .overlay>p img {
    border-radius: 30px;
}

.value-section .section .grid-elements {
    align-items: center;
}

.value-section .section .grid-elements .grid-element {
    width: calc((100% - (70px * 1)) / 2);
}

.value-section .section .grid-elements .grid-element .overlay {
    /* padding: 0; */
}

.value-section .section .grid-elements .grid-element .overlay>h2,
.value-section .section .grid-elements .grid-element .overlay>p {
    color: #fff;
}

.value-section .section .grid-elements .grid-element .overlay>.stom-button a {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.value-section .section .grid-elements .image .overlay>p img {
    width: 100%;
    border-radius: 30px;
}


/* .value-section .section .grid-elements .grid-element {
    width: calc((100% - (100px * 1))  / 2);
}

.value-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.value-section .section .grid-elements .grid-element .overlay > .stom-button {
    display: block;
}

.value-section .section .grid-elements .grid-element .overlay > .stom-button:not(:first-of-type) {
    margin-top: 25px;
}

.value-section .section .grid-elements .grid-element .overlay > .stom-button a {
    color: inherit;
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.3);
}

.value-section .section .grid-elements .grid-element .overlay > .stom-button a:hover {
    background-color: rgba(255,255,255,0.3) !important;

}

.value-section .section .grid-elements .image .overlay {
    background-color: #fff;
    border-radius: 30px;
    display: flex;
    justify-content: center;
}

.value-section .section .grid-elements .image .overlay > p:first-of-type {
    line-height: 0;
    padding-top: 30px;
    padding-bottom: 30px;
} */

.value-section .section .grid-elements .image .overlay>p:first-of-type img {
    /* width: 100%; */
    /* border-radius: 30px; */
}

.value-section .section .grid-elements .content {
    align-items: center;
}

.news-section .section {
    padding: 80px 30px 150px !important;
    max-width: 1780px !important;
}

.news-section .section>.headline {
    color: rgba(174, 151, 119, 0.4);
}

.news-section .section>h2 {
    color: #ae9777;
    margin-bottom: 30px;
}


/* .news-section .section > .stom-posts {
    margin-bottom: 80px;
} */

.news-section .section>.more-news {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.news-section .section>.more-news a {
    text-decoration: none;
}

.investment-section {
    background-size: cover;
    background-position: top;
    height: 660px;
}

.investment-section .section {
    height: 100%;
    padding: 0 0;
}

.investment-section .section .grid-elements {
    height: 100%;
    align-items: flex-end;
}

.investment-section .section .grid-elements .grid-element {
    width: calc((100% - (0px * 1)) / 2);
}

.investment-section .section .grid-elements .grid-element .overlay {
    padding: 55px;
}

.investment-section .section .grid-elements .content {
    background-color: rgba(78, 87, 97, 0.95);
    max-width: 650px;
    height: 470px;
}

.investment-section .section .grid-elements .content .overlay>h2,
.investment-section .section .grid-elements .content .overlay>p {
    color: #fff;
}

.investment-section .section .grid-elements .content .overlay>.stom-button {
    display: block;
}

.investment-section .section .grid-elements .content .overlay>.stom-button:not(:last-of-type) {
    margin-bottom: 20px;
}

.investment-section .section .grid-elements .content .overlay>.stom-button a {
    min-width: 300px;
    border-radius: 0;
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    border-width: 2px;
    padding: 15px 20px 13px 20px;
    font-size: 20px;
    font-weight: 400;
}

.region-home-split-section .section {
    padding: 120px 30px !important;
    max-width: 1780px !important;
}

.region-home-split-section .section .grid-elements .grid-element {
    max-height: 425px;
    width: calc((100% - (110px * 1)) / 2);
    background-position: center;
    border-radius: 30px;
}

.region-home-split-section .section .grid-elements .grid-element .overlay {
    padding: 55px;
}

.region-home-split-section .section .grid-elements .grid-element .overlay>h2,
.region-home-split-section .section .grid-elements .grid-element .overlay>p,
.region-home-split-section .section .grid-elements .grid-element .overlay .regioner>ul li {
    color: #fff;
}

.region-home-split-section .section .grid-elements .grid-element .overlay .regioner {
    float: right;
}

.region-home-split-section .section .grid-elements .grid-element .overlay .regioner>ul {
    padding-left: 0;
    min-width: 200px;
}

.region-home-split-section .section .grid-elements .grid-element .overlay .regioner>ul li {
    list-style-type: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0 12px;
    border-radius: 3px;
    font-size: 15px;
}

.region-home-split-section .section .grid-elements .grid-element .overlay .regioner>ul li:not(:last-of-type) {
    margin-bottom: 5px;
}

.region-home-split-section .section .grid-elements .grid-element .overlay>h2 strong {
    background-image: linear-gradient(transparent 0%, transparent 10%, #8f2d56 10%, #8f2d56 80%, transparent 80%);
    padding: 0px 7px;
}

.region-home-split-section .section .grid-elements .history {
    background-position: top;
}

.region-home-split-section .section .grid-elements .history .overlay {
    max-width: 530px;
}

.region-home-split-section .section .grid-elements .history .overlay>p {
    font-size: 15px;
}

.region-home-split-section .section .grid-elements .history .overlay>.stom-button a,
.region-home-split-section .section .grid-elements .regions .overlay .regioner>.stom-button a {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 15px 20px 13px 20px;
    border-color: rgba(255, 255, 255, 0.3);
    border-width: 2px;
    font-size: 20px;
    color: #fff;
}

.region-home-split-section .section .grid-elements .overlay .regioner>.stom-button a:hover,
.region-home-split-section .section .grid-elements .overlay>.stom-button a:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.facts-section .section {
    padding: 100px 30px !important;
    max-width: 1780px !important;
}

.facts-section .section .grid-elements {
    align-items: center;
}

.facts-section .section .grid-elements .content .overlay>h2 {
    color: #fff;
}

.facts-section .section .grid-elements .grid-element {
    width: calc((100% - (110px * 1)) / 2);
}

.facts-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.facts-section .section .grid-elements .content .overlay>.parallax-content {
    background: rgba(60, 60, 60, 0.85);
    padding: 40px;
    margin-top: 40px;
}

.facts-section .section .grid-elements .content .overlay>.parallax-content h2 {
    line-height: 1.1;
    margin-bottom: 40px;
}

.facts-section .section .grid-elements .content .overlay>.parallax-content .stom-button a {
    background-color: #2D93A3;
    border-color: #2D93A3;
    color: #fff;
}

.facts-section .section .grid-elements .content .overlay>ul li:not(:last-of-type) {
    margin-bottom: 5px;
}

.facts-section .section .grid-elements .image .overlay>p:first-of-type img {
    border-radius: 30px;
}


/* Subpage */

body:not(.home) h2,
body:not(.home) h3 {
    color: #a7ab9c;
}

body:not(.home) .page-slider-section .slide-element {
    min-height: 630px;
    max-height: 630px;
}

body:not(.home) #main-content #content {
    padding: 80px 30px !important;
    max-width: 1780px !important;
}

body:not(.home) #main-content #content #primary article .entry-header {
    margin-bottom: 0;
}

body:not(.home) #main-content #content #primary article .entry-header .entry-title,
body:not(.home) #main-content #content #primary article .entry-content>h1,
.archive .entry-title {
    font-size: 52px;
    color: #a7ab9c;
    /*text-transform: lowercase;*/
}

body.contact-page #main-content #content #primary article .entry-header,
body.contact-page #main-content #content #primary article .entry-content {
    text-align: center;
}

body.contact-page #main-content #content #primary .section-map {
    margin-top: 80px;
}

body:not(.home) #main-content #content #primary article .entry-header .entry-title a {
    color: inherit;
}

.text-image-split-section .section .grid-elements {
    align-items: center;
}

.text-image-split-section .section .grid-elements .grid-element {
    width: calc((100% - (50px * 1)) / 2);
}

.text-image-split-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

.text-image-split-section .section .grid-elements .grid-element .overlay>h2,
.text-image-split-section .section .grid-elements .grid-element .overlay>h3 {
    line-height: 1.1;
}

body:not(.home) .stom-grid-section .section .grid-elements .grid-element .overlay {
    padding: 0;
}

body:not(.home) .stom-grid-section .section .grid-elements .grid-element {
    /* width: calc((100% - (50px * 1))  / 2); */
}

body:not(.home) .stom-grid-section .section .grid-elements .grid-element .overlay>p a img,
body:not(.home) .stom-grid-section .section .grid-elements .grid-element .overlay>p img,
body:not(.home) .wp-caption img[class*="wp-image-"] {
    border-radius: 30px;
}

.employee .section .grid-elements .grid-element {
    margin-bottom: 40px;
}

.employee .section .grid-elements .grid-element .overlay>p:first-of-type img {
    width: 100%;
}

.employee .section .grid-elements .grid-element .overlay>h3 {
    font-weight: inherit;
}

.employee .section .grid-elements .grid-element .overlay>p a {
    color: inherit;
}

.custom-galleri {
    border-radius: 30px;
    margin-top: 50px;
}

.custom-galleri .section {
    padding: 50px;
}

.custom-galleri .section>h2 {
    color: #fff;
    margin-bottom: 40px;
}

.custom-galleri .section>.gallery {
    grid-gap: 40px;
}

.custom-galleri .section>.gallery .gallery-item .gallery-icon>a img {
    border-radius: 30px;
    height: 200px;
    object-fit: cover;
}

.text-image-split-section .section .grid-elements .grid-element .overlay>p a img {
    border-radius: 30px;
    width: 100%;
}

body:not(.no-sidebar) #primary,
.single #single-post-content-sidebar+.entry-content {
    float: right;
    width: calc(100% - var(--stom-sidebar-width) - 80px);
}

#secondary {
    float: left;
}


/* Gallery */

.gallery .gallery-item {
    margin: 0;
    /* line-height: 0; */
}

.gallery .gallery-item .gallery-caption {
    font-size: 12px;
}


/* Sidebar */

aside#secondary {
    position: sticky;
    top: 140px;
}

aside#secondary .custom-overflow-wrapper .widget_nav_menu {
    padding: 0;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu {
    padding-left: 0;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.btn-home {
    display: none;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.menu-item:not(.current-menu-ancestor) {
    display: none;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item a {
    font-size: 13px;
    /* font-family: 'khand', sans-serif; */
    font-weight: 700;
    text-decoration: none;
    color: #4a5240;
    display: block;
    padding: 10px 20px;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu>li.menu-item-has-children>ul.sub-menu {
    display: none;
    padding-left: 1.3em !important;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.current-menu-ancestor>ul.sub-menu>li.current-menu-item>ul.sub-menu {
    display: block;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.current-menu-ancestor>ul.sub-menu {
    display: block !important;
    padding-left: 0 !important;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.current-menu-ancestor>ul.sub-menu>li.current-menu-ancestor>ul.sub-menu li.menu-item a {
    font-weight: inherit;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.current-menu-ancestor>ul.sub-menu>li.current-menu-item>ul.sub-menu {
    padding-left: 1.3em;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.current-menu-ancestor>ul.sub-menu>li.current-menu-item>ul.sub-menu li.menu-item a {
    font-weight: inherit;
    /*text-transform: lowercase;*/
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item>a .stom-menu-item-arrow .stom-custom-svg {
    line-height: 0;
    font-size: 10px;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-item {
    display: block !important;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-item>a,
aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-page-ancestor>a,
aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-ancestor>a {
    color: #9d1950;
    font-family: 'khand', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    padding: 8px 20px;
    background-color: rgba(167, 171, 156, 0.2);
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-item>a .stom-menu-item-arrow,
aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-page-ancestor>a .stom-menu-item-arrow,
aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-ancestor>a .stom-menu-item-arrow {
    display: none;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu {
    padding-left: 0;
    margin-left: 0;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu>li.current-menu-item>a {
    color: #9d1950;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-page-ancestor,
aside#secondary .custom-overflow-wrapper .widget div ul.menu>li.current-menu-ancestor,
aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu li.menu-item {
    list-style-type: none;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu li.menu-item a {
    border-top: 1px solid rgba(167, 171, 156, 0.2);
    display: flex;
    justify-content: space-between;
    /*text-transform: lowercase;*/
}


/* Colophon + Widgets */

#colophon {
    background-color: #4a5240;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 0;
}

#colophon .section-wrap {
    width: 100%;
}

#colophon .section-wrap .section {
    padding: 70px 90px;
}

#colophon .section-wrap .section .footer-widgets .widget .widget-title {
    font-size: 26px;
    font-weight: 500;
    font-family: 'khand', sans-serif;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

#colophon .section-wrap .section .footer-widgets .widget div ul.menu {
    padding-left: 0;
}

#colophon .section-wrap .section .footer-widgets .widget div ul.menu li.menu-item {
    list-style-type: none;
}

#colophon .section-wrap .section .footer-widgets .widget div ul.menu li.menu-item a {
    text-decoration: none;
    color: inherit;
}

#colophon .section-wrap .section .footer-widgets .widget .textwidget>p a {
    color: inherit;
}

#colophon .section-wrap .section .footer-widgets .widget>* {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    line-height: 1.5;
}

#colophon .site-info {
    margin: inherit;
}

#colophon .availability {
    background-color: #34392D;
    padding: 70px 70px;
    max-width: 380px;
}

#colophon .availability>h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

#colophon .availability>h3 .stom-custom-svg {
    /* line-height: 0; */
    font-size: 16px;
    margin-right: 10px;
    color: #fff;
}

#colophon .availability>* {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    line-height: 1.5;
}

#colophon .availability>*>a {
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}


/* STOM Posts */

.stom-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stom-posts .stom-post-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc((100% - (60px * 2)) / 3);
}

.stom-posts .stom-post-wrapper .stom-post-thumb>img {
    width: 100%;
    height: 315px;
    object-fit: cover;
}

.stom-posts .stom-post-wrapper .stom-post-date {
    font-size: 14px;
    color: #3C3C3C;
    margin-bottom: 5px;
}

.stom-posts .stom-post-wrapper .stom-post-title {
    font-size: 30px;
    font-weight: 500;
    font-family: 'khand', sans-serif;
    color: #ae9777;
    line-height: 1.25;
    margin-bottom: 20px;
    height: 37px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 0px);
    white-space: nowrap;
}

.stom-posts .stom-post-wrapper .stom-post-content {
    color: #3C3C3C;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.stom-posts .stom-post-wrapper .stom-button a {
    color: #ae9777;
    padding: 15px 60px 13px 20px !important;
    background-color: transparent;
    border-color: rgba(174, 151, 119, 0.3);
    border-width: 2px;
    font-size: 20px;
}

.stom-posts .stom-post-wrapper .stom-button a:hover {
    background-color: rgba(174, 151, 119, 0.3) !important;
    color: #fff;
}


/*======================================================================//
// END style.css                                                        //
//======================================================================*/


/*======================================================================//
// woocommerce.css                                                      //
//======================================================================*/


/* woocommerce style goes here */


/*======================================================================//
// END woocommerce.css                                                  //
//======================================================================*/


/* ===== "heart_list" shortcode ===== */

.stom-heart-list {
    margin-bottom: 30px;
}

.stom-heart-list ul {
    padding-left: 0;
}

.stom-heart-list ul li {
    position: relative;
    padding-left: 1.5em;
    list-style: none;
}

.stom-heart-list ul li:before {
    content: url('images/heart-solid.svg');
    position: absolute;
    left: 0;
    color: #a7ab9c;
    width: 1em;
    line-height: 2.5;
    font-size: 10px;
}



/*======================================================================//
// Rettelser fra kd                                                     //
//======================================================================*/

.page-slider-section .slider-text {
    max-width: 90%;
}

.page-slider-section .slider-text-inner>.button-container .stom-button a {
    text-align: center;
    flex-direction: column;
}

.page-slider-section .slider-text-inner>.button-container .stom-button a .stom-custom-svg {
    display: none;
}

.page-slider-section .slider-text-inner>.button-container .stom-button a:hover,
.page-slider-section .slider-text-inner>.button-container .stom-button.one a:hover,
.page-slider-section .slider-text-inner>.button-container .stom-button.two a:hover,
.page-slider-section .slider-text-inner>.button-container .stom-button.three a:hover {
    color: #fff!important;
    background-color: #3f90a1 !important;
}

.page-slider-section .slider-text-inner>.button-container .stom-button a {
    color: #9d1950!important;
}

.faq-section .section .grid-elements .grid-element ul li a:before,
.home-section .section .grid-elements .grid-element ul li:before {
    content: url('images/arrow.svg');
    display: inline-block;
    width: 6px;
    margin-right: 12px;
}

.home-section .section .grid-elements .link .overlay .content {
    padding: 0;
}

.home-section .section .grid-elements .link .overlay .content h3 a,
.home-section .section .grid-elements .link .overlay .content ul {
    padding: 18px 28px 18px 28px;
    transition: 0.3s;
}

.home-section .section .grid-elements .link .overlay .content>ul {
    margin-top: 0;
    list-style-type: none;
    padding-top: 6px;
}

.home-section .section .grid-elements .link .overlay .content:hover {
    background: #e4e5e3;
}

.home-section .section .grid-elements .link .overlay .content:hover>ul li a {
    color: inherit;
}

.home-section .section .grid-elements .link .overlay .content:hover>h3 a:hover {
    background: #9d1950;
    color: #fff;
}

.home-section .section .grid-elements .link .overlay>p:first-of-type img {
    max-height: 300px;
    object-fit: cover;
}

.home-section .section .grid-elements {
    align-items: flex-start;
}

.home-section .section .grid-elements .grid-element ul li a {
    padding: 5px 0;
    display: inline-block;
    font-size: 90%;
    color: #3c3c3c;
}

.home-section .section .grid-elements .grid-element ul li a:hover {
    color: #9d1950!important;
}

.home-section .section .grid-elements .link .overlay .content:hover>h3 a {
    color: #a73263;
}

.acitivity-section .stom-button a {
    background: transparent;
    color: #fff;
    border-color: #fff;
    margin: 4px 6px 7px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.acitivity-section .stom-button a:hover {
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.3);
}

.header-wrapper span.stom-menu-item-arrow,
.footer-widgets span.stom-menu-item-arrow {
    display: none;
}

aside ul.sub-menu ul.sub-menu span.stom-menu-item-arrow {
    display: none;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item a:hover {
    color: #9d1950;
}

aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item-has-children>ul.sub-menu>li.current-menu-item>a {
    font-weight: 600!important;
}

div#primary h1 {
    clear: none;
}

.alignleft,
.alignright {
    border-radius: 30px;
    max-width: 30%;
}


/* ===== "heart_list" list items ===== */

#primary ol {
    padding-left: 0;
}

#primary ol li {
    /* position: relative; */
    padding-left: 1.5em;
    list-style: none;
}

#primary ol li:before {
    content: url('images/heart-solid.svg');
    /* position: absolute; */
    left: 0;
    color: #a7ab9c;
    width: 1em;
    line-height: 2.5;
    font-size: 10px;
    display: inline-block;
    margin-right: 10px;
}

aside#secondary .custom-overflow-wrapper .widget_nav_menu *,
.footer-widgets * {
    /*text-transform: lowercase;*/
}

#primary-menu>li.menu-item-has-children ul.sub-menu li.current-menu-item a {
    background: #9d1950;
}

@media only screen and (max-width: 959px) {
    .alignleft,
    .alignright {
        max-width: 100%;
        clear: both;
        display: block;
        width: 100%;
    }
    div#primary h1 {
        clear: both;
    }
    #page .open-button {
        background-color: #9d1950!important;
        color: #fff!important;
        border: none!important;
        border-radius: 0 1px 6px 6px;
        font-family: 'khand', sans-serif;
        font-weight: 500!important;
    }
}

@media only screen and (max-width: 767px) {
    h1,
    .page-slider-section h2 {
        font-size: 33px !important;
    }
}


/* Nye styles */

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: none;
}

.quote-section .section>h2,
.quote-section .section>h1 {
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
    font-size: 52px;
}

.faq-section .section .grid-elements .links .overlay ul li a:before {
    content: url(images/arrow.svg);
    display: inline-block;
    width: 6px;
    margin-right: 12px;
}

.stom-button,
.stom-button a {
    margin: 1px 0;
}

.alignright {
    max-width: 50%;
}

.gallery .gallery-item img,
#main-content img {
    border-radius: 30px;
}

.employee-section .section .grid-elements .grid-element img {
    width: 100%;
}

#primary-menu>li.menu-item-has-children ul.sub-menu li.current-menu-item a {
    background: #9d1950;
}

.home-section .section .grid-elements .link .overlay>p:first-of-type img {
    width: 100%;
    border-radius: 30px 30px 0px 0px!important;
}

span.stom-button.transparent a {
    background: transparent;
    color: #fff;
    border-color: rgb(255 255 255 / 25%);
}

.quote-section h3 {
    font-weight: 100;
    margin: 0;
}

.grid-element.padding {
    padding: 30px;
}

span.stom-button.blog a {
    display: block;
    margin: 29px 0 0;
    position: absolute;
    bottom: 25px;
    font-size: 16px;
    padding: 11px 19px;
    min-width: auto;
}

.gform_wrapper .gform_footer input[type=submit] {
    font-size: 16px;
    padding: 11px 19px;
    min-width: auto;
}

body:not(.home).page-template-page-blog #primary,
body:not(.home).archive div#primary {
    display: flex;
    flex-wrap: wrap;
    /* gap: 30px; */
    max-width: 100%;
    padding-top: 0;
    justify-content: space-around;
}

.widget-area .widget {
    box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
    border-radius: 10px;
    overflow: hidden;
}

.archive #primary article {
    width: calc((100% - (30px * 3)) / 4);
    margin-bottom: 30px;
    border-bottom: 0;
    position: relative;
    /* border: 1px solid #e5e5e5; */
    padding: 0;
    position: relative;
    padding-bottom: 47px;
    background: #e9e9e9;
    box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
    border-radius: 30px;
    overflow: hidden;
    display: inline-block;
}

@media only screen and (max-width: 1400px) {
    .archive #primary article {
        width: calc((100% - (30px * 4)) / 3);
    }
}

@media only screen and (max-width: 959px) {
    .archive #primary article {
        width: calc((100% - (30px * 2)) / 2);
    }
}

@media only screen and (max-width: 767px) {
    .archive #primary article {
        width: 100%;
    }
}

@media only screen and (max-width: 639px) {
    .gallery {
        grid-gap: 10px!important;
    }
    .gallery {
        grid-template-columns: repeat(1, 1fr)!important;
    }
}

.archive .post-thumbnail {
    width: 100%;
    float: none;
    margin: 0;
}

.archive .post-thumbnail img {
    width: 100%!important;
}

.archive .post-thumbnail+.post-content-wrapper {
    width: 100%!important;
    padding: 0 20px 25px;
    /* background: white; */
}

.archive h2.entry-title a {
    font-size: 23px;
}

.archive .post-thumbnail {
    height: 265px;
    overflow: hidden;
    position: relative;
    display: block;
    width: 100%!important;
}

.archive .post-thumbnail img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-right-radius: 0!important;
    border-bottom-left-radius: 0!important;
}

.entry-meta {
    margin-top: 0;
    font-size: 85%;
}

body.page:not(.woocommerce-checkout).archive .entry-header {
    margin-bottom: 0;
}

.single #main-content {
    background: #ebe5dd;
}

.single #single-post-content-sidebar {
    display: none;
}

.single h1.entry-title {
    font-size: 36px;
    color: #ae9777;
    margin: 0 0 20px;
}

body:not(.home).single #main-content #content {
    max-width: 1140px!important;
    margin: auto;
}

.single .post-thumbnail {
    display: none;
}

.single #single-post-content-sidebar+.entry-content {
    width: 100%!important;
}

hr.header-divider {
    background-color: rgb(174 151 119 / 33%);
}

.stom-button a:hover,
.stom-button a:active,
.stom-button a:focus {
    border-color: rgba(167, 171, 156, .5)!important;
    background-color: rgba(167, 171, 156, .5)!important;
}

nav.navigation.pagination,
nav.navigation.posts-navigation {
    display: block;
    clear: both;
    width: 100%;
    text-align: center;
}

a.page-numbers,
.page-numbers,
.nav-links a {
    background: #9d1950;
    /* border: 1px solid; */
    padding: 2px 8px;
    border-radius: 5px;
    color: #fff;
}

span.page-numbers.current {
    background: #bd658a;
}

.archive header.page-header {
    background-color: #4a5240;
    text-align: center;
}

.archive header.page-header h1 {
    text-align: center;
    margin-bottom: 0;
    color: #fff;
    font-weight: 400;
    font-size: 52px;
}

.archive .header-divider {
    display: none;
}

span.cat-links a {
    pointer-events: none;
}

body:not(.home).archive.category #main-content #content {
    padding-top: 0!important;
}

.header-wrapper span.stom-menu-item-arrow,
.footer-widgets span.stom-menu-item-arrow {
    display: none;
    display: block;
}

.entry-content table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.entry-content table td,
.entry-content table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.entry-content table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.entry-content table tr:hover {
    background-color: #ddd;
}

.entry-content table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4a5240;
    color: white;
}

section#hidden {
	display: none;
}

.mejs-container {
	border-radius: 30px !important;
}

.mejs-container, .mejs-container * {
    border-radius: 30px !important;
}

.employee img {
	object-fit: cover;
	height:350px;
	max-width:340px;
	display: block;
	margin: 0 auto;
}