/*
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: 70px;
    --h2: 42px;
    --h3: 23px;
    --h4: 22px;
    --h5: 16px;
    --h6: 14px;
    --p: 17px;

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

    /* font families */
    --h-fam: 'Anek Devanagari', sans-serif;
    --p-fam: 'Anek Devanagari', sans-serif;
    --btn-fam: var(--p-fam);

    /* colors */
    --color-1: #BB0003;
    --color-2: #1F4183;
    --color-bg: #f6f6f6;
    --color-text: #000;
    --color-dark: #000;
    --color-overlay: rgb(0 0 0 / 0%);

    /* 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: 725px;
    
    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}


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


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

/* Generel */
html {
    scroll-behavior: smooth;
}

b, strong {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1;
    margin-bottom: 12px;
}

html, body, input, select, optgroup, textarea {
    font-weight: 400;
    line-height: normal;
}

.stom-button.inline:not(:last-of-type) {
    margin-right: var(--gap-s);
}

.stom-button a {
    font-size: 16px;
    font-weight: 700;
    border-radius: 25rem;
    border-width: 3px;
    border-color: var(--color-1);
    line-height: 1;
    padding: 12px 20px 8px;
    min-width: 200px;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

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

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

.stom-button.transparent a {
    background-color: transparent;
    border-color: #fff;
}

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

.stom-button a .stom-custom-svg {
    font-size: 20px;
    line-height: .5;
}

.stom-billede-sektion .stom-cols-6 {
    min-height: 540px;
}

.stom-gallery {
    margin-top: var(--gap-m);
}

.stom-gallery .gallery {
    grid-gap: 1.25em;
}

.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(31, 65, 131, 0);
    pointer-events: none;
    transition: var(--transition);
}

.stom-gallery .gallery .gallery-item:hover .gallery-icon:before {
    background-color: rgba(31, 65, 131, .5);
}

.stom-gallery .gallery .gallery-item .gallery-icon > a img {
    height: 145px;
    width: 100%;
    object-fit: cover;
}

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

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

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

.stom-document-list ul li a {
    font-weight: 500;
    text-decoration: none;
}

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

.stom-billede-sektion .stom-picture {
    border-radius: 20px;
    overflow: hidden;
}

/* Header */
header#masthead {
    background-color: transparent;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    /* box-shadow: none; */
    background-color: #fff;
}

.site-header .header-wrapper {
    max-width: 1550px;
}

#masthead .stom-button a {
    min-width: 250px;
    text-align: center;
}

#masthead .stom-button a:hover {
    color: var(--color-1);
}

/* Menu + Logo */
#primary-menu {
    align-items: center;
}

#primary-menu li.menu-item-has-children ul.sub-menu {
    
}

#primary-menu li.menu-item-has-children ul.sub-menu li.menu-item a {
    font-size: 14px;
    color: initial;
}

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

.hover-active:not(.hover-style-bold) ul.menu a:before {
    background-color: #fff;
}

.header-sticky-active.scrolled .hover-active:not(.hover-style-bold) ul.menu a:before {
    background-color: var(--color-1);
}

header .main-navigation ul.menu a {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: .7em .75em;
}

.header-sticky-active.scrolled header .main-navigation ul.menu a {
    color: initial;
}

.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: 500;
    /* color: var(--color-1); */
    /* text-decoration: underline; */
}

.site-branding #logo img, 
.site-branding #logo svg {
    max-width: 186px;
    max-height: 53px;
    filter: brightness(0) invert(1);
}

.style-header-03 #site-navigation {
    justify-content: center;
}

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

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

/* Frontpage */
.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1 {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1.25em;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline a {
    min-width: 250px;
    text-align: center;
}

.plattformar-section .section .stom-cols-6 .stom-center-box > .stom-button a {
    min-width: 265px;
}

.section-wrap.clear.help-section .section {
    padding-block: 100px;
}

.help-section .section .grid-elements {
    column-gap: 30px;
    row-gap: 55px;
}

.help-section .section .grid-elements .grid-element.heading .overlay {
    max-width: 850px;
    margin-inline: auto;
}

.help-section .section .grid-elements .grid-element.heading .overlay > h2,
.help-section .section .grid-elements .grid-element.heading .overlay > h3 {
    color: var(--color-2);
}

.help-section .section .grid-elements .grid-element .overlay > .stom-custom-svg {
    font-size: 65px;
    line-height: 0;
    margin-bottom: 35px;
}

.help-section .section .grid-elements .grid-element:not(.heading) {
    position: relative;
}

.help-section .section .grid-elements .grid-element:not(.heading):before {
    content:"";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .25);
    border-radius: 15px;
}

.help-section .section .grid-elements .grid-element:not(.heading) > img {
    border-radius: 20px;
}

.help-section .section .grid-elements .grid-element:not(.heading) .overlay {
    position: relative;
    justify-content: center;
}

.help-section .section .grid-elements .grid-element:not(.heading) .overlay > p {
    line-height: 1.25;
    max-width: 200px;
    margin-inline: auto;
    margin-bottom: 1.25em;
}

.help-section .section .grid-elements .grid-element:not(.heading) .overlay > .stom-button a {
    min-width: 200px;
}

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

.home .contact-section.footer {
    display: none;
}

.section-wrap.clear.contact-section {
    margin-top: 0;
    background-size: cover;
}

.contact-section .section > h2,
.contact-section .section > h3 {
    text-align: center;
}

.contact-section .section .gform_wrapper {
    max-width: 545px;
    margin-inline: auto;
}

.contact-section .section .gform_wrapper form .gform_body .gform_fields .gfield .stomGFAS-inner {
    max-width: none;
    width: 100%;
}

/* Gravity Form */
.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input,
.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
    font-size: 14px;
    color: initial;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input {
    height: 35px;
    padding: 8px 8px 2px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
    height: 145px;
}

.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input::placeholder,
.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea::placeholder {
    font-size: 14px;
    color: #666;
}

.gform_wrapper form .gform_body .gform_fields .gfield .stomGFAS-inner .stomGFAS-description .stomGFAS-label {
    font-size: 14px;
}

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

.gform_wrapper form .gform_footer .gform_button {
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    border-radius: 25rem;
    border-width: 3px;
    border-color: var(--color-1);
    padding: 12px 20px 8px;
    line-height: 1 !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.gform_wrapper form .gform_footer .gform_button:hover {
    color: var(--color-1);
    background-color: #fff;
}

.gform_wrapper form .gform_footer .gform_button .stom-custom-svg {
    font-size: 20px;
    line-height: .5;
}

/* Subpages */
body:not(.home),
body:not(.home) #page {
    overflow: visible;
}

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

body:not(.home) .page-slider-section .slider-text {
    align-items: flex-end;
    padding: var(--gap-m) var(--gap-m) var(--gap-l);
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1 {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

body:not(.home) .entry-content > h3 {
    line-height: 1.25;
    margin-bottom: 1.25em;
}

.section-wrap.clear.contact-section.footer {
    margin-top: var(--gap-l);
}

body.contact-page #main-content {
    margin-top: 0;
}

body.contact-page .contact-section.footer {
    display: none;
}

body.contact-page .page-slider-section .image-aligner {
    line-height: 0;
}

body.contact-page .page-slider-section .image-aligner img {
    min-height: 100vh;
    max-height: 100vh;
}

body.contact-page .page-slider-section .slider-text-inner .slider-text-inner-wrapper .gform_wrapper form .gform_body .gform_fields .gfield .stomGFAS-inner {
    width: 100%;
    max-width: none;
}

/* Sidebar */
aside#secondary {
    position: sticky;
    top: 110px;
}

body.admin-bar aside#secondary {
    top: calc(110px + 32px);
}

.widget.number-three-default-widget a {
    color: var(--color-1);
    font-weight: 500;
}

.widget.number-three-default-widget a:hover {
    color: var(--color-1);
}

.widget.number-three-default-widget a .stom-custom-svg {
    color: #fff;
}

.widget.number-three-default-widget a:hover .stom-custom-svg {
    color: var(--color-1);
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
    font-size: 16px;
    background-color: #f5f8ff;
    border-bottom: 4px solid var(--color-1);
}

.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border).color-blue {
    border-bottom-color: var(--color-2);
}

/* Colophon */
#colophon.footer-setting-02 {
    color: initial;
    font-size: var(--p);
    font-family: var(--p-fam);
    font-weight: 300;
    background-color: #F5F8FF;
    border-top: 4px solid var(--color-2);
}

.home #colophon.footer-setting-02 {
    margin-top: var(--gap-l);
}

#colophon.footer-setting-02 .footer-widget-area .section .grid-elements {
    column-gap: var(--gap-l);
}

#colophon .widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

#colophon .logo-widget .textwidget > p:first-of-type {
    margin-bottom: 0;
}

#colophon .widget .textwidget ul.menu li.menu-item a {
    padding: 0;
}

#kontakta-oss {
    scroll-margin-top: 100px;
}

.socials-wrapper {
    margin-top: -20px;
}

.socials-wrapper a {
    padding: 0;
}

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


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


/* woocommerce style goes here */


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


#number-three-sticky-mobile-cta .cta-container .stom-button a {
    border-radius: 0;
    background-color: var(--color-2);
    font-size: var(--p);
    gap: 8px;
    color: #fff;
    flex-direction: row;
    padding-top: 20px;
}

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