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


/* ===== CSS Variables ===== */

:root {
    /* Font sizes */
    --h1: 50px;
    --h2: 45px;
    --h3: 30px;
    --h4: 26px;
    --h5: 16px;
    --h6: 14px;
    --p: 18px;

    /* Gaps */
    --gap-l: 90px;
    --gap-m: 40px;
    --gap-s: 20px;

    /* font families */
    --h-fam: 'obvia', sans-serif;
    --p-fam: 'proxima-nova', sans-serif;
    --btn-fam: var(--p-fam);

    /* colors */
    --color-1: #79B48C;
    --color-2: #659775;
    --color-bg: #f3f3f3;
    --color-text: #000;
    --color-dark: #000;
    --color-overlay: rgb(0 0 0 / 30%);

    /* transitions */
    --transition: .175s ease-out;

    /* Margin on the right and left of the main content sections (change 0 to 1 to match template distances)*/
    --content-margin: calc(0 * var(--gap-m));
    --slider-text-width: 800px;
    
    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}


/* ===== END CSS Variables ===== */


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


/* Generel */
html, body, input, select, optgroup, textarea {
    font-weight: 300;
    line-height: 1.25;
}

b, strong {
    font-weight: 700;
}

body:not(.home) .stom-billede-sektion .stom-cols-6 .stom-center-box > p {
    /* font-size: 16px; */
}

body:not(.home) .stom-billede-sektion .stom-cols-6 .stom-center-box > h2:first-of-type {
    font-size: var(--h3);
}

.stom-billede-sektion .stom-cols-6 .stom-center-box p + .stom-button {
    margin-top: 10px;
}

.stom-billede-sektion.has-background .stom-picture > img {
    object-fit: contain;
}

.section-wrap.section-fullpage .section {
    padding-left: var(--gap-l);
    padding-right: var(--gap-l);
}

p {
    margin: 0 0 1.25em;
}

h1 {
    font-weight: 800;
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.stom-billede-sektion .stom-picture img {
    border-radius: 10px;
}

.stom-button a {
    /* font-size: 15px; */
    font-weight: 300;
    border-radius: 25rem;
    border: 1px solid var(--color-1);
    background-color: var(--color-1);
    padding: 8px 25px;
}

.stom-button a .stom-custom-svg {
    font-size: 10px;
    margin-left: .25em;
}

.stom-button a:hover {
    /* background-color: #fff;
    border-color: var(--color-1);
    color: var(--color-1); */
    background-color: var(--color-2);
}

.stom-button.white a {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-1);
}

/* Logo + Header */
header .main-navigation ul.menu a {
    font-size: 16px;
    /* font-weight: 300;
    font-family: var(--h-fam); */
}

.hover-style-bold ul.menu li:hover > a, 
.hover-style-bold ul.menu li.focus > a, 
.hover-style-bold ul.menu .current-menu-item > a, 
.hover-style-bold ul.menu .current-menu-ancestor > a {
    font-weight: initial;
    color: var(--color-1);
}

header .main-navigation ul.menu a .stom-menu-item-arrow {
    margin-left: .5em;
    line-height: 0;
    font-size: 12px;
}

#primary-menu {
    margin-right: -1.5em;
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a {
    font-size: 14px;
    width: 250px;
    justify-content: space-between;
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a .hidden-menu-item {
    justify-content: flex-start;
    padding: .7em 1.5em;
}

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

/* Header */
.site-branding #logo img, 
.site-branding #logo svg {
    max-height: 110px;
    max-width: 110px;
}

.header-sticky-active.scrolled header .site-branding #logo {
    padding: 10px 0;
}

.header-sticky-active.scrolled header .site-branding #logo img.logo-landscape {
    max-height: 110px;
}

header .top-bar {
    background: rgb(0,105,62);
    background: linear-gradient(0deg, rgba(0,105,62,1) 0%, rgba(0,105,62,0.95) 100%);
}

header .top-bar ul li a {
    font-size: 14px;
    text-transform: uppercase;
}

header.site-header .section-wrap .section,
.header-sticky-active.scrolled .style-header-02 .section-wrap .section {
    padding: 0 0;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
    font-size: 21px;
    font-weight: 300;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
    font-size: 18px;
    text-align: center;
    min-width: 240px;
    padding: 12px 25px;
    line-height: 1.5;
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
    font-size: 18px;
    min-width: 200px;
    padding: 10px 25px;
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg {
    font-size: 16px;
}
 

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline:not(:last-of-type) {
    margin-right: 30px;   
}
 
.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg {
    font-size: 20px;
}

header .top-bar ul li a {
    font-family: var(--h-fam);
}

header .top-bar ul li a:hover {
    text-decoration: underline;
}

header .top-bar .top-bar-right .stom-button.white a {
    font-size: var(--p);
    font-weight: 300;
    border-radius: 0;   
    color: var(--color-1) !important;
    border-bottom: 1px solid var(--color-1);
    position: relative;
}

header .top-bar .top-bar-right .stom-button.white a:hover {
    background-color: var(--color-1);
    color: #fff !important;
    /* border-bottom-color: #fff; */
}

/* Frontpage */
.home #main-content,
body.holdoversigt-page #main-content,
body.tilmelding-page #main-content {
    margin-top: 0;
}

.cards-section .section .grid-elements {
    grid-gap: 30px;
}

.cards-section .section .grid-elements .grid-element.heading {
    margin-bottom: 10px;
}

.cards-section .section .grid-elements .grid-element:not(.heading) > img {
    width: 100%;
    min-height: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.cards-section .section .grid-elements .grid-element:not(.heading) {
    /* display: block; */
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    border: 2px solid var(--color-1);
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay {
    grid-row: inherit;
    height: 100%;
    justify-content: flex-start;
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
    font-size: var(--h4);
    min-height: 33px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > p {
    font-size: 16px;
    min-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > p:last-child {
    margin-top: auto;
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > ul li {
    font-size: 16px;
}

.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > .stom-button a {
    font-weight: 100;
    color: var(--color-1);
    border-width: 2px;
    background-color: transparent;
    padding: 4px 20px;
}

.cards-section:not(.teams) .section .grid-elements .grid-element:not(.heading):hover .overlay > .stom-button a {
    background-color: var(--color-1);
    color: #fff;
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay {
    /* display: block; */
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* gap: 10px; */
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a {
    width: 100%;
    min-width: 145px;
    text-align: center;

    font-weight: 100;
    color: var(--color-1);
    border-width: 2px;
    background-color: transparent;
    padding: 4px 20px;
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button:last-of-type a {
    background-color: var(--color-1);
    color: #fff;
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button:last-of-type a:hover {
    background-color: var(--color-2);
    border-color: var(--color-2);
}

.cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a:hover {
    background-color: var(--color-1);
    border-color: var(--color-1);
    color: #fff;
}

.cards-section .section .grid-elements .grid-element.has-background:not(.heading) .overlay {
    background-color: #fff;
    border-radius: 0 0 20px 20px;
    padding: 20px 20px 20px;
}

.about-section {
    margin-top: calc(var(--gap-l) * 2) !important;
}

.section-wrap.clear.news-section {
    margin-top: 0;
}

.news-section .section > h2 {
    text-align: center;
    margin-bottom: 30px;
}

.calendar-section .section .grid-elements {
    align-items: center;
    padding-block: var(--gap-m);
    gap: 0;
}

.calendar-section .section .grid-elements .grid-element.calendar .overlay > p iframe {
    width: 100%;
}

.calendar-section .section .grid-elements .grid-element.content .overlay {
    max-width: 600px;
    padding-left: var(--gap-l);
}

/* Subpages */
body:not(.home) #main-content .section-wrap.clear .stom-button + p {
    margin-top: 1.5em;
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1,
body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-print-title h1 {
    font-size: var(--h2);
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
    font-size: 21px;
}

body:not(.home) .page-slider-section .image-aligner img {
    max-height: calc(60vh - var(--header-height));
}

body:not(.home) .entry-content > p,
body:not(.home) .entry-content > ul li,
body:not(.home) .entry-content > ol li {
    font-size: 16px;
}

body:not(.home) .entry-content > ul li:not(:last-of-type),
body:not(.home) .entry-content > ol li:not(:last-of-type) {
    margin-bottom: 5px;
}

body:not(.home) .entry-content > p a {
    color: orange;
    text-decoration: none;
}

body:not(.home) .entry-content > p a:hover {
    text-decoration: underline;
}

body:not(.home) .entry-content > h3 {
    margin-top: var(--gap-m);
}

.gallery-section .section > h2,
.gallery-section .section > h3 {
    margin-bottom: var(--gap-m);
}

/* Sidebar */
.sidebar-new #secondary {
    padding-block: 90px;
}

.sidebar-new #secondary:before {
    background-color: #f3f3f3;
}

.widget.number-three-default-widget p:first-child {
    margin: 0 0 1.25em;
}

body:not(.no-sidebar).sidebar-new .main-slider-section+#main-content #content {
    padding-top: 0;
    padding-bottom: 0;
}

body.sidebar-new .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
    font-size: 14px;
    background-color: #fff;
    border: 1px solid var(--color-1);
}

.section-wrap.clear.sponsor-section .section > p:last-child {
    margin-bottom: 0;
}

.home .section-wrap.clear.contact-form-section {
    margin-top: 0;
}

.section-wrap.clear.contact-form-section .section .stom-cols-6 .stom-center-box {
    width: 100%;
}

/* Colophon */
#colophon.footer-setting-02 {
    font-size: 16px;
    font-weight: 300;
    color: inherit;
    margin-top: var(--gap-l);
}

.footer-setting-02 .footer-widget-area .section {
    padding: 90px 0;
}

#colophon .copyright {
    font-size: 15px;
    font-weight: 100;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul {
    padding-left: 0;
    display: flex;
    align-items: center;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
    content: '|';
    margin: 0 5px;
    font-weight: 100;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li a {
    padding: 0;
}

#colophon .widget-title {
    font-family: var(--h-fam);
    font-weight: 600;
    font-size: 25px;
}

#colophon .socials-wrapper a.stom-social-shortcode {
    padding: 0;
}

#colophon .socials-wrapper a.stom-social-shortcode .stom-custom-svg {
    filter: brightness(0) invert(1);
}

.home .question-section.has-background {
    margin-top: 0;
}

.question-section.has-background .section {
    padding-block: 30px;
}

.question-section .section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-section .section .container > h2,
.question-section .section .container > h3 {
    margin-bottom: 0;
}

.question-section .section .container > .stom-button a {
    min-width: 167px;
    text-align: center;
}

.question-section .section .container > .stom-button a:hover {
    background-color: var(--color-1);
    color: #fff;
}

/*  */


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


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


/* woocommerce style goes here */


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

.stom-gallery .gallery {
    margin-bottom: 0;
}

.stom-gallery .gallery .gallery-item {
    margin: 0;
}

.stom-gallery .gallery .gallery-item .gallery-icon {
    position: relative;
    line-height: 0;
}

.stom-gallery .gallery .gallery-item .gallery-icon:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 105, 62, 0);
    transition: var(--transition);
    pointer-events: none;
}

.stom-gallery .gallery .gallery-item:hover .gallery-icon:before {
    background-color: rgba(0, 105, 62, .5);
}

.stom-gallery .gallery .gallery-item .gallery-icon > a img {
    width: 100%;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.conventus .panel-body-vertikal.knapper button {
    width: 90px !important;
}

body:not(.home) #main-content section.section-wrap.clear.has-background:last-child {
    margin-bottom: calc(-1 * var(--gap-l));
}

/* Medarbejdere */
body.medarbejder-page #main-content {
    margin-top: 0;
}

.stom-medarbejdere {
    gap: var(--gap-m) 0;
}

.stom_medarbejder_overlay_section > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: transparent;
    z-index: 5;
}

.stom-medarbejdere .stom-medarbejder-wrapper {
    
}

.stom_medarbejder_overlay_section {
    
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section {
    box-shadow: rgba(100,100,111,.2) 0 7px 29px 0;
    border-radius: 20px;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom-medarbejder-thumb {
    position: relative;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom-medarbejder-thumb > img {
    border-radius: 20px 20px 0 0;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom-medarbejder-thumb:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    background-color: rgba(0, 105, 62, 0);
    border-radius: 20px 20px 0 0;
    transition: var(--transition);
    pointer-events: none;
}

.stom_medarbejder_overlay_section:hover .stom_medarbejder_inner_section .stom-medarbejder-thumb:before {
    background-color: rgba(0, 105, 62, .5);
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom_medarbejder-detaljer {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    min-height: 94px;
    border-radius: 0 0 20px 20px;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom_medarbejder-detaljer tbody tr td {
    padding: 0;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom_medarbejder-detaljer tbody tr:not(:first-of-type) td {
    font-size: 14px;
}

.stom_medarbejder_overlay_section .stom_medarbejder_inner_section .stom_medarbejder-detaljer tbody .stom-medarbejder-title {
    font-weight: 700;
}

body.single-stom_medarbejdere .entry-content .single_medarbejder_text > h1 {
    font-size: var(--h3);
    margin-bottom: 5px;
}

body.single-stom_medarbejdere .entry-content .stom-medarbejder-stilling {
    font-weight: 700;
}

body.single-stom_medarbejdere .entry-content .stom-medarbejder-email > a {
    color: orange;
    text-decoration: none;
}

body.single-stom_medarbejdere .entry-content .stom-medarbejder-email > a:hover {
    text-decoration: underline;
}

body.single-stom_medarbejdere .single_medarbejder_text {
    font-size: 16px;
}

body.single-stom_medarbejdere .single_medarbejder_text .main_text-content {
    margin-top: var(--gap-m);
    padding-top: var(--gap-m);
    border-top: 1px solid #000;
}

.stom_medarbejdere-template-default.single .entry-content {
    justify-content: space-between;
}

.stom_medarbejdere-template-default.single .entry-content:after {
    display: none;
}

.stom_medarbejdere-template-default.single .single_medarbejder_image {
    width: 35%;
    /* margin-right: 0; */
}

.stom_medarbejdere-template-default.single .single_medarbejder_image img {
    width: 100%;
}

.stom_medarbejdere-template-default.single .single_medarbejder_text {
    width: 60%;
}

/* Checkmark */
.stom-checkmark-list ul,
.stom-file-list ul {
    padding-left: 0;
}

.stom-checkmark-list ul li,
.stom-file-list ul li {
    position: relative;
    padding-left: 1.5em;
    list-style-type: none;
    line-height: 1.5;
}

.stom-file-list ul li {
    font-size: 16px;
    /* font-weight: 500; */
}

.stom-file-list ul li a {
    text-decoration: none;
}

.stom-file-list ul li a:hover {
    text-decoration: underline;
}

.stom-checkmark-list ul li:not(:last-of-type),
.stom-file-list ul li:not(:last-of-type) {
    margin-bottom: 5px;
}

.stom-checkmark-list ul li:before {
    content: url('images/checkmark.svg');
}

.stom-file-list ul li:before {
    position: absolute;
    left: 0;
    width: 1em;
    content: url('images/file.svg');
    line-height: 1.75;
}

/* Tilmelding */
.conventus table {
    width: 100%;
}

.conventus .panel-body-horisontal.fields.wide {
    width: calc(100% - 200px);
}

/* Nyheder */
body.single-post header#masthead {
    border-bottom: 1px solid var(--color-1);
}

*:not(.page-slider-section)+main>#content {
    margin-top: var(--gap-l);
}

.new-stom-posts {
    gap: 30px;
}

.new-stom-post-wrapper .new-stom-post-thumb {
    margin-bottom: 10px;
}

.new-stom-post-wrapper .new-stom-post-thumb img {
    height: 280px;
}

.new-stom-post-meta {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
}

.new-stom-post-meta > span:not(:last-of-type):after {
    content: '|';
    margin: 0 5px;
}

.new-stom-post-wrapper .new-stom-post-title > h4 {
    font-size: 30px;
    margin-bottom: 5px;
}

.new-stom-post-wrapper .new-stom-post-content {
    font-size: var(--p);
    font-weight: 300;
}

.new-stom-post-wrapper .new-stom-post-link a {
    border: 2px solid #fff;
    min-width: 168px;
    text-align: center;
}

.single .post-navigation a {
    background-color: var(--color-1);
    border-color: var(--color-1);
    border-radius: 25rem;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 20px;
}

body:not(.home) .entry-content form p {
    font-size: 16px;
}

.post-password-form p > label {
    font-size: 16px;
}

.post-password-form p label > input[type="password"] {
    margin-left: .5em;
}

.post-password-form p > input[type="submit"] {
    font-size: 16px;
    font-weight: 300;
    padding-inline: 30px;
    border-radius: 25rem;
    margin-left: .5em;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a {
    flex-direction: row;
    gap: 5px;
    font-size: 14px;
    border-radius: 0;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
    font-size: 16px;
    line-height: 0;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
    font-size: 16px;

}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
    font-size: 16px;
}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-inner {
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    box-shadow: none;

}

.gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-label {
    font-size: 14px;
}

.gform_wrapper form .gform_footer {
    margin: 20px 0 0 !important;
}

.gform_wrapper form .gform_footer .gform_button {
    border-radius: 5px;
}