/*
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: 64px;
    --h2: 40px;
    --h3: 32px;
    --h4: 22px;
    --h5: 16px;
    --h6: 14px;
    --p: 16px;

    /* Gaps */
    --gap-xl: 130px;
    --gap-l: 90px;
    --gap-m: 40px;
    --gap-sm: 32px;
    --gap-s: 20px;
    --gap-xs: 16px;

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

    /* colors */
    --color-1: #263370;
    --color-2: #3248b1;
    --color-bg: #f6f6f6;
    --color-text: #263370;
    --color-dark: #222;
    --color-overlay: rgb(0 0 0 / 20%);

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


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


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


/* GLOBAL STYLES */
header .main-navigation ul.menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0.7em 15px;
}
header .main-navigation ul.menu#primary-menu .sub-menu a {
    background-color: var(--color-white);
    justify-content: space-between;
    width: 300px;
    color: var(--color-1)
}
header .main-navigation ul.menu#primary-menu .sub-menu li.current_page_item > a {
    background-color: var(--color-1);
    color: white;
}
h1,h2,h3{
    font-weight: 500;
}
h2,h3,p{
    color: var(--color-1);
}
p{
    font-weight: 300;
}
.stom-button a{
    background-color: transparent;
    border: 1px solid var(--color-1);
    color: var(--color-1);
    padding-block: var(--gap-xs);
    padding-inline: var(--gap-sm);
    font-weight: 500;
}
.stom-button a span{
    margin-right: 10px;
    
}
.stom-button a:hover,
.stom-button a:active,
.stom-button a:focus{
    background-color: var(--color-1);
    border: 1px solid var(--color-1);
    color: white;
}


.stom-button.button-white-outline a{
    border: 1px solid white;
    color: white;
}
.stom-button.button-white-outline a:hover,
.stom-button.button-white-outline a:active,
.stom-button.button-white-outline a:focus{
    border: 1px solid var(--color-1);
    background-color: white;
    color: var(--color-1);
}

.buttons-wrapper{
    display: flex;
    gap: var(--gap-xs);
    flex-wrap: wrap;
    justify-content: center;
}

/* END GLOBAL STYLES */


/* HEADER STYLES */
header .top-bar a,
header .top-bar p{
    color: white;
    font-weight: 500;
}
.style-header-02 .top-bar .top-bar-right>*:not(:last-child){
    margin-right: var(--gap-sm);
}
header .main-navigation ul.menu ul a .stom-menu-item-arrow {
    margin-right: 0.8em;
}
header .main-navigation ul.menu a{
    color: var(--color-1);
    font-weight: 500;
    font-size: var(--p);
    padding: .7em 1em;
}
.hover-active:not(.hover-style-bold) ul.menu a:before {
    height: 3px;
}
header.site-header .section-wrap .section{
    padding: 15px 0;
}
/* END HEADER STYLES */


/* PAGE SLIDER STYLES */
.page-slider-section .slider-text-inner{
    display: flex;
    justify-content: center;
}
.page-slider-section .slider-text-inner p{
    font-size: var(--h3);
    line-height: normal;
}
.page-slider-section .slider-text-inner h1,
.page-slider-section .slider-text-inner p{
    color: white;
}
.page-slider-section .slider-text-inner .stom-button a span svg{
    width: 24px;
    height: 24px;
}

body:not(.home) .page-slider-section .image-aligner img {
    width: 100%;
    height: auto;
    max-height: calc(45vh - var(--header-height));
    min-height: 100%;
    object-fit: cover;
    object-position: 80% 20%;
}
/* END PAGE SLIDER STYLES */



/* SECTION STYLES */
body.home main{
    margin-top: 0;
}
main#main-content section.split-right-picture-section,
main#main-content section.split-left-picture-section{
    margin-top: 0;
}
section.section-wrap.white-text .section p,
section.section-wrap.white-text .section h2{
    color: white !important;
}
section.section-wrap.white-text.blue-bg .section{
    padding-block: var(--gap-m);
}
section.section-wrap.white-text.blue-bg .section strong{
    font-weight: 700;
}
section.section-wrap.white-text.blue-bg .section p{
    margin-inline: auto;
    line-height: 140%;
    font-weight: 500;
    text-align: center;
}
section.section-wrap.white-text.blue-bg .section p:has(strong){
    margin-bottom: 10px;
}

/* STOM POSTS NYHEDER */
main#main-content section.basis-nyheder-section{
    margin-top: 0;
}
section.basis-nyheder-section .section .stom-posts{
    display: grid;
    grid-template-columns: repeat(var(--grid-4-cols), minmax(0, 1fr));
    gap: var(--gap-m);
}
section.basis-nyheder-section .section h2{
    margin-bottom: calc(var(--gap-m) - 8px);
}


section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .content-wrapper{
    padding: var(--gap-s);
    padding-top: calc(var(--gap-s) / 2);
 }
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-thumb img{
    max-height: 270px;
    width: 100%;
    object-position: center;
    object-fit: cover;
}

section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-title h5{
    font-size: var(--p);
    font-weight: 400;
    color: var(--color-1);
    margin-top: calc(var(--gap-s) + 4px);
    font-weight: 500;
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-content{
    font-size: var(--p);
    margin-top: var(--gap-s);
    line-height: 140%;
    opacity: .7;
    margin-bottom: calc(var(--gap-s) + 4px);
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-link{
    font-size: var(--p);
    color: var(--color-1);
    font-weight: 500;
    text-underline-offset: 2px;
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-date-category-wrapper{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(38, 51, 112, 0.10);
    padding-bottom: 8px;
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-link span.stom-custom-svg svg{
    transition: .3s;
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-link:hover span.stom-custom-svg svg{
    transform: translateX(5px);
}
section.basis-nyheder-section .section .stom-posts .stom-post-wrapper .stom-post-link span.stom-custom-svg{
    margin-left: 10px;
}
section.basis-nyheder-section .section{
    padding-bottom: var(--gap-xl);
}
section.basis-nyheder-section .section .stom-button{
    margin-top: calc(var(--gap-s) + var(--gap-m));
}

.widget-area.sidebar-setup-after-content .stom-button{
    background-color: var(--color-1);
}
.widget-area.sidebar-setup-after-content .stom-button:hover{
    background-color: transparent;
    border: 1px solid var(--color-1);
    transition: 0.175s;
}
.widget-area.sidebar-setup-after-content .stom-button:hover a{
    color: var(--color-1);
    background-color: transparent;
    transition: 0.175s;
}
/* END STOM POSTS NYHEDER */


section.section-wrap.box-sponsors-section .section .grid-elements .grid-element > img{
    object-fit: contain;
}
section.section-wrap.basis-bliv-sponsor-section .section p,
section.section-wrap.basis-bliv-sponsor-section .section h2{
    margin-bottom: var(--gap-m);
    max-width: 600px;
    margin-inline: auto;
}
section.section-wrap.basis-bliv-sponsor-section .section .buttons-wrapper p{
    max-width: unset;
    margin-inline: unset
}
    
/* END SECTION STYLES */




/* FOOTER STYLES */
#colophon.footer-setting-03{
    background-color: var(--color-1);
    border: 0;
}
#colophon ul li a{
    padding: 0;
}
#colophon.footer-setting-03 p,
#colophon.footer-setting-03 ul > li > a{
    font-size: var(--p);
    margin-bottom: 8px;
}
#colophon.footer-setting-03 > *,
#colophon.footer-setting-03 .widget-title,
#colophon.footer-setting-03 p,
#colophon.footer-setting-03 h3{
    color: white;
}
footer#colophon .stom-grid-section .grid-element:first-of-type{
    grid-column: -1 / 1;
}
footer#colophon .stom-grid-section .grid-element:first-of-type .textwidget{
    display: flex;
    justify-content: space-between;
}
footer#colophon .stom-grid-section h3{
    font-size: calc(var(--h3) - 4px);
    font-weight: 500;
}
footer#colophon .stom-grid-section .grid-element .widget-title{
    font-weight: 500;
}
footer#colophon .stom-grid-section .grid-element:last-of-type .widget-title{
    color: transparent;
    pointer-events: none;
    visibility: hidden;
}
.footer-setting-03 .section-wrap{
    border: 0;
}
footer#colophon .stom-info{
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-s);
}

#number-three-sticky-mobile-cta .cta-container .stom-button a{
    background-color: var(--color-1);
    color: white !important;
}
#number-three-sticky-mobile-cta .cta-container .stom-button p{
    color: white;
}
#number-three-sticky-mobile-cta .cta-container .stom-button span{
    color: white !important;
    fill: white !important;
}

/* END FOOTER STYLES */

.socials-wrapper a{
    padding-inline: 3px;
}
.socials-wrapper a span.stom-custom-svg path{
    fill: white;
}

/* undersider */
.indgangsvinkler-underside.stom-grid-section .grid-element .overlay h3 {
    color: unset;
    z-index: 10;
}
.indgangsvinkler-underside.stom-grid-section.galleri .grid-element .overlay h3 {
    font-size: calc(var(--h3) - 4px);
}
.stom-grid-section.galleri .grid-element.has-background .overlay {
    padding: var(--gap-s);
}
.indgangsvinkler-underside.stom-grid-section .grid-element {
    position: relative; /* Ensure the parent element is positioned */
}

#number-three-sticky-mobile-cta .cta-container .stom-button:not(:last-child) a {
        border-right: 1px solid rgb(255 255 255);
}
.indgangsvinkler-underside.stom-grid-section .grid-element .overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(25, 25, 121, 0.5); /* Blue color with transparency */
    z-index: 1; /* Ensure it appears below the overlay but above the content */
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

.indgangsvinkler-underside.stom-grid-section .grid-element:hover .overlay::before {
    background-color: transparent; /* Remove background-color on hover */
}

.indgangsvinkler-underside.stom-grid-section .grid-element .overlay {
    position: relative;
    z-index: 2; /* Ensure the overlay is above the before element */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    word-break: break-word;
}
.page-slider-section .slide-element .service-aligner {
    padding: 0!important;
    height: 0;
	padding-bottom: 41.6% !important;
	position: relative;
}

.page-slider-section .slide-element .service-aligner iframe{
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media screen and (max-width: 767px){
	.page-slider-section .slide-element .service-aligner {
    height: 100%;
	padding-bottom: 0 !important;
}
	.page-slider-section .slide-element .service-aligner iframe{
		position: absolute;
		width: 310%;
		max-width: 310%;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%);
	}
}

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


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


/* woocommerce style goes here */


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

.section-wrap.clear.news-section .section {
	
}

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

.section-wrap.clear.news-section .section > .stom-button {
	display: block;
	text-align: center;
	margin-top: 90px;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper > .stom-button a {
	padding: 0;
	border: none;
	font-weight: 400;
	text-decoration: underline;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper > .stom-button a:hover {
	background-color: transparent;
	color: var(--color-1);
	text-decoration: underline;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-title > h4 {
	font-size: var(--p);
    color: var(--color-1);
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-content > p {
	width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-header {
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
    margin-bottom: 15px;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-header .new-stom-post-date,
.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-header .new-stom-post-category {
	font-size: 14px;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-thumb {
	margin-bottom: 5px;
}

.section-wrap.clear.news-section .section .new-stom-posts .new-stom-post-wrapper .new-stom-post-thumb > img {
	height: 180px;
}

