/*
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: 40px;
    --h3: 36px;
    --h4: 20px;
    --h5: 16px;
    --h6: 14px;
    --p: 15px;

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

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

    /* colors */
    --color-1: #CC740D;
    --color-2: #2F3744;
    --color-3: #F4F4F4;
    --color-bg: #f6f6f6;
    --color-text: #757575;
    --color-dark-text: #2F3744;
    --color-dark: #333;
    --color-overlay: rgb(0 0 0 / 45%);

    /* 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                                                            //
//======================================================================*/


/* style goes here */

/* Generelt */
h1 {
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

p {
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--color-dark);
}

table td,
table tr,
table th{
    color: var(--color-dark);
    padding-left: 5px;
}
.section-wrap.has-background .section{
    padding-block: calc(1.3 * var(--gap-l));
}

/* Knapper */
.stom-button.button-2 a{
    border: 2px solid #FFF;
}

.stom-button.button-2 a:hover{
    border: 2px solid var(--color-1);
}
.stom-button.button-2 a {
    background-color: unset;
}

.stom-button.button-3 a:hover{
    background-color: var(--color-3);
    color: var(--color-2);
    border: 2px solid var(--color-3);
}

.stom-button a{
    border: 2px solid var(--color-1);
}

.stom-button a {
    padding: 8px 50px;
}

.stom-button:first-of-type {
    margin-right: 20px;
}

/* Header */
.site-branding a {
    padding-top: calc(1.2*var(--gap-s));
    padding-bottom: calc(1.2*var(--gap-s));
    font-size: var(--h3);
    text-decoration: none;
    font-family: var(--h-fam);
    font-style: normal;
    font-weight: 700;
}

header .main-navigation ul.menu a {
    font-size: var(--p);
    font-weight: 600;
    padding: .7em 1em;
}

/* Footer */
.footer-setting-02 .footer-widget-area .section {
    padding: var(--gap-m) 0;
}

#colophon .widget-title {
    font-family: var(--h-fam);
    font-size: 1.6em;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 25.3px */
}

#colophon.footer-setting-02 {
    background-color: var(--color-3);
    color: var(--color-dark-text)
}

#colophon p,
#colophon ul {
    color: #000;
    font-family: var(--p-fam);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer .stom-css-grid.columns-2,
footer .stom-grid-section .section.columns-2 .grid-elements {
    grid-template-columns: repeat(var(--grid-2-cols), minmax(0, 0.3fr));
}

.footer-widget-area-site-info {
    border-top: 1px solid var(--color-dark);

}

footer .textwidget,
.textwidget .website-designed-by {
    font-weight: 400;
    color: #000;
}

/* Slider */
.page-slider-section .slider-inner .slides .slide-image img,
.page-slider-section .slider-text {
    border-radius: 0 0 20px 20px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.20) 49.38%);
    
}
/* pointer-events fix */
.page-slider-section .slider-inner {
    position: relative;
    z-index: 1;
}

.page-slider-section .slider-text h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.page-slider-section p {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.25);
    line-height: normal;
}


/* Forside */
.smal-sektion .section {
    max-width: 800px;
}

.mumieholdet .grid-elements .grid-element:not(:first-of-type) .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 44.21%, rgba(0, 0, 0, 0.40) 61.58%);
    border-radius: 20px;
    padding: var(--gap-m) 30px 20px 30px;
}

.mumieholdet .grid-elements .grid-element:not(:first-of-type) .overlay p{
    margin-bottom: 20px;
}
.mumieholdet .grid-elements .grid-element:not(:first-of-type) .overlay h4{
    margin-bottom: 10px;
}


.opvisninger-sektion img {
    border-radius: 20px;
}

/* mumietholdet */
.mumieholdet .grid-elements .grid-element img{
    border-radius: 20px;
}
.mumieholdet .grid-elements .grid-element .overlay p,
.mumieholdet .grid-elements .grid-element .overlay h4{
color: #FFF;
}
.mumieholdet .grid-elements .grid-element .overlay h4{
font-size: calc(var(--h4)*1.25);
}


/* Opvisning sektion */
main .opvisninger-sektion.section-wrap  {
    margin-top: calc(1.7*var(--gap-l));
    margin-bottom: calc(1.7*var(--gap-l));
}

/* Underside slider */
body:not(.home) .page-slider-section.main-slider-section {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 20px 20px;
}

body:not(.home) .page-slider-section.main-slider-section .slider-text {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

body:not(.home) .page-slider-section.main-slider-section .slider-text h1{
    color: #FFF;
}


#secondary .widget-title{
    font-family: var(--p-fam);
    font-weight: 700;
}


.kontakt-os-side .grid-elements{
    align-items: flex-start;
}

/* sticky-sidebar */
aside#secondary{
    font-family: var(--p-fam);
    position: sticky;
    top: 175px;
}

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

/* Kalender */

.kalender .date-tag{
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: unset;
    box-shadow: unset;
}

.posts-archive-layout-2.posts-archive #primary{
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0px;
    margin-top: var(--gap-m);
}

.posts-archive-layout-2.posts-archive .post-content-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-dark);
}
.posts-archive-layout-2.posts-archive .post-content-wrapper .post-date {
    font-size: 14px;
    color: var(--color-dark);
}

.posts-archive-layout-2.posts-archive .post-content-wrapper .entry-title{
    font-size: var(--h4);
    color: var(--color-dark);
}

.posts-archive-layout-2.posts-archive .post-content-wrapper .entry-header .entry-meta .cat-links a,
.posts-archive-layout-2.posts-archive .post-content-wrapper .entry-header .entry-meta .date-spacer{
    display: none;
}



/* indlæg */
body.nyheder-section .entry-content .stom-posts{
    display: grid;
    grid-template-columns: repeat(var(--grid-3-cols), minmax(0, 1fr));
    gap: var(--gap-s);
}
/* body.nyheder-section .entry-content h2{
    margin-bottom: calc(var(--gap-m) - 8px);
} */
body.nyheder-section .entry-content .stom-posts .stom-post-wrapper .stom-post-thumb img{
    max-height: 380px;
    width: 100%;
    object-position: center;
    object-fit: cover;
    border-radius: 20px;
}
body.nyheder-section .entry-content .stom-posts .stom-post-wrapper .stom-post-title h5{
    font-size: var(--h3);
    font-weight: 600; 
    color: var(--color-dark);
    margin-top: calc(var(--gap-s) - 4px);
}
body.nyheder-section .entry-content .stom-posts .stom-post-wrapper .stom-post-content{
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: calc(var(--gap-s) + 4px);
}

body .ui-widget-header .ui-icon{
    background-image: url(images/ui-icons_222222_256x240.png);
}









body.post-type-archive-tribe_events .page-slider-section.main-slider-section .slider-text h1{
    display: none;
}
body.post-type-archive-tribe_events .page-slider-section.main-slider-section .slider-text-inner-wrapper{
    position: relative;
}


body.post-type-archive-tribe_events .page-slider-section.main-slider-section .slider-text-inner-wrapper:before{
    content: 'Kalender';
    font-size: var(--h1);
    color: white;
    margin-bottom: var(--gap-m);
    font-family: var(--h-fam);
    font-weight: 400;
}
body.post-type-archive-tribe_events aside#secondary{
    display: none;
}

#number-three-sticky-mobile-cta .cta-container .stom-button{
    margin: 0;
}
#number-three-sticky-mobile-cta{
    background-color: var(--color-bg);
}
/*======================================================================//
// END style.css                                                        //
//======================================================================*/


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


/* woocommerce style goes here */


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