/*
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: 43px;
    --h2: 35px;
    --h3: 25px;
    --h4: 22px;
    --h5: 16px;
    --h6: 14px;
    --p: 16px;

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

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

    /* colors */
    --color-1: #3B658F;
    --color-2: #26425E;
    --color-bg: #f6f6f6;
    --color-text: #222;
    --color-dark: #222;
    --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: 800px;
    
    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}


/* ===== END CSS Variables ===== */
/*======================================================================//
// Generiske klasser                                                    //
//======================================================================*/
/* Generiske klasser */
html {
    scroll-behavior: smooth;
}

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

body .header-sticky-active.scrolled header .site-branding #logo img.logo-landscape {
    max-height: 75px;
}
.no-margin-bottom .textwidget h3 {
    margin-bottom: 0;
}
header .main-navigation ul.menu ul a {
    width: 215px;
    padding: .7em 1.25em;
}
header .main-navigation ul.menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    height: 100%;
    padding: 1.7em 1.1em;
    font-size: 16px;
}
.style-header-02 .header-wrapper {
    align-items: center;
}

header .main-navigation ul.menu li:not(.mega-menu) ul.sub-menu {
    flex-direction: column;
    font-size: .9em;
    background-color: #F5F9FA;
    justify-items: flex-start;
}
body header .top-bar .top-bar-right {
	    justify-content: space-between;
}
.hover-active:not(.hover-style-bold) ul.menu a:before {
    height: 6px;
    background-color: #63ADF7;
}
h2 {
    font-weight: 400;
}
/* zoom */
.zoom p {
    overflow: hidden
}
.zoom.grid-element {
    transition: transform .5s ease;
    border-bottom: 3px solid var(--color-1);
}
.zoom.grid-element:hover {
    transform: scale(1.050);
    border-bottom: 3px solid var(--color-2);
}
/*======================================================================//
// END Generiske klasser                                                //
//======================================================================*/

/*======================================================================//
// top-slider                                                           //
//======================================================================*/
.page-slider-section .slider-text-inner .slider-text-inner-wrapper {
    padding: var(--gap-m);
    background-color: #17283a8c;
}
.page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
    word-break: break-word;
}
body.home .page-slider-section .slider-text {
    align-items: end;
    padding: var(--gap-l);
}
.slider-btn-wrapper {
    display: flex;
    margin-top: var(--gap-s);
    gap: var(--gap-s);
}
body.home .page-slider-section .image-aligner img {
    width: 100%;
    height: auto;
    max-height: calc(80vh - var(--header-height));
    min-height: 100%;
    object-fit: cover;
    object-position: 80% 20%;
}
/*======================================================================//
// END top-slider                                                       //
//======================================================================*/

/*======================================================================//
// box-section                                                          //
//======================================================================*/
.stom-grid-section.box-section .grid-element .overlay {
    justify-content: flex-start;
    background-color: #F1F1F1;
}
.stom-grid-section.box-section .grid-element .overlay {
    justify-content: flex-start;
    background-color: #F1F1F1;
}
.stom-grid-section.box-section .grid-element .overlay:hover {
    justify-content: flex-start;
    background-color: #F1F1F1;
}
.stom-grid-section.box-section .grid-element .overlay h3 {
    font-weight: 400;
    padding-inline: var(--gap-s);
}
.stom-grid-section.box-section .grid-element .overlay p:last-of-type {
    font-size: 15px;
    padding-inline: var(--gap-s);
    padding-bottom: var(--gap-s);
}
/*======================================================================//
// END box-section                                                      //
//======================================================================*/

/*======================================================================//
// text-section                                                         //
//======================================================================*/
.section-wrap.text-section .section h2 {
    font-weight: 400;
}
/*======================================================================//
// END text-section                                                     //
//======================================================================*/

/*======================================================================//
// footer                                                               //
//======================================================================*/
/* footer */
#colophon.footer-setting-02 {
    padding: 0;
    color: #fff;
    background-color: var(--color-2);
}
body:not(.home) #colophon.footer-setting-02 {
    margin-top: 0;
}
body.no-sidebar #colophon.footer-setting-02 {
    margin-top: var(--gap-l);
}
#colophon.footer-setting-02 .slider-btn-wrapper a:hover {
    background-color: #63ADF7;
}
/* CTA */
#number-three-sticky-mobile-cta .cta-container .stom-button a {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    font-weight: 400;
    gap: 14px;
	color: #fff;
    border-radius: 0;
	background-color: #26425e;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a > p {
	font-size: 14px;
}

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

#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
    display: unset;
    background-color: unset;
    padding: unset; 
    margin-left: unset;
	color: #fff;
}
/*======================================================================//
// END footer                                                           //
//======================================================================*/

/*======================================================================//
// sidebar-styling                                                      //
//======================================================================*/
body:not(.no-sidebar).sidebar-new .main-slider-section+#main-content #content {
    padding-top: var(--gap-l);
}
.sidebar-new #secondary:before {
    background-color: #cfe5fc;
    width: 100%;
}
.widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
    border-bottom: 1px solid var(--color-1);
    padding-block: 0 var(--gap-m);
    padding-inline: 0;
}
body:not(.home) #main-content {
    margin-top: 0;
}
body:not(.home) #main-content h2 {
    font-size: var(--h3);
}
/* sidebar-btn-wrapper */
.sidebar-btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-s);
    padding-top: var(--gap-s);
}
.widget.number-three-default-widget a .stom-custom-svg {
    margin-right: .4em;
    color: white;
}
/* kontakt-form - undersider */
body:not(.home) .form-section.section-wrap.has-background {
    margin-top: 0;
}
body.sidebar-new:not(.no-sidebar) #primary {
    padding-bottom: var(--gap-l);
}
/* No sidebar pages */
body.no-sidebar #main-content {
    padding-top: var(--gap-l);
}
body.no-sidebar .form-section.section-wrap.has-background {
    margin-top: var(--gap-l);
}
/* kontakt-section */
.stom-grid-section.kontakt-section .grid-element .overlay {
    justify-content: flex-start;
}
/* sticky-sidebar */
aside#secondary .custom-overflow-wrapper {
    position: sticky;
    top: 175px;
    padding-bottom: var(--gap-l)
}
body:not(.home),
body:not(.home) #page {
    overflow: visible;
}
/*======================================================================//
// END sidebar-styling                                                  //
//======================================================================*/

/*======================================================================//
// underside styling                                                    //
//======================================================================*/
/* undersider */
body:not(.home) .page-slider-section .image-aligner img {
    width: 100%;
    height: auto;
    max-height: 550px;
    min-height: 100%;
    object-fit: cover;
    object-position: 80% 20%;
}
.underside-formular {
    padding: 30px;
    background-color: var(--color-1);
}
.underside-formular h2 {
    text-align: center;
    color: white;
}
body:not(.stom-gform-legacy) .gform_wrapper .gform_body {
    color: white;
}
body:not(.stom-gform-legacy) .gform_wrapper .gform_footer .gform_button, body:not(.stom-gform-legacy) .gform_wrapper .gform_page_footer .gform_button {
    background-color: #63ADF7;
}
body:not(.stom-gform-legacy) .gform_wrapper .gform_footer .gform_button:hover, body:not(.stom-gform-legacy) .gform_wrapper .gform_page_footer .gform_button:hover {
    background-color: var(--color-2)
}
/* checkmarks */
#content .stom-checkmark-list {
    margin-top: 1em;
    margin-bottom: 1.2em;
}
.stom-checkmark-list ul {
    padding-left: 0px;
}
.stom-checkmark-list ul li {
    position: relative;
    padding-left: 30px;
    padding-bottom: 10px;
}
.checkmark-svg-list svg {
    padding: 0.2em;
    margin-right: 0.1em;
}
.stom-checkmark-list ul li:before {
    top: 2px;
}
/* boligselskaber */
.boligselskaber-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-s);
}
.boligselskaber-wrapper .boligselskaber-box {
    display: flex;
    flex-direction: column;
    padding: var(--gap-s);
    border-left: solid 2px var(--color-1);
    transition: var(--transition);
}
.boligselskaber-wrapper .boligselskaber-box h3 {
    color: var(--color-1);
}
.boligselskaber-box a.btn:hover + .boligselskaber-box,
.boligselskaber-box:hover {
    background-color: #f6f6f6;
}
/* contact-icons */
.contact-icons {
    display: flex;
    gap: var(--gap-s);
}
.contact-icons span {
    margin-bottom: 10px;
}

/*======================================================================//
// END underside styling                                                //
//======================================================================*/
/*======================================================================//
// woocommerce.css                                                      //
//======================================================================*/

body:not(.home) .entry-content > p {
	line-height: 1.75;
}

body:not(.home) .entry-content > h2:not(:first-of-type) {
	margin-top: 40px;
}

body:not(.home) .entry-content > h3 {
	
}

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