/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/
@media only screen and (max-width: 1440px) {

    header .main-navigation ul.menu a {
        font-size: 14px;
    }

   /* underside-sidebar */
   .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(.no-sidebar).sidebar-new .main-slider-section+#main-content #content {
    padding-bottom: var(--gap-l);
    margin-inline: var(--gap-m);
}
   
}
@media only screen and (max-width: 1300px) {

header .top-bar .top-bar-right > p > strong {
	font-size:13px;
}
}


@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 28px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }
    body.no-sidebar #main-content {
        padding-top: 0;
    }
	header .top-bar .top-bar-right > p > strong {
		display:none;
	}

}

/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 959px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 2;
        --grid-4-cols: 2;
        --grid-5-cols: 3;
        --grid-6-cols: 3;
        --grid-7-cols: 4;
        --grid-8-cols: 4;
        --grid-9-cols: 5;
        --grid-10-cols: 5;
        --grid-11-cols: 6;
        --grid-12-cols: 6;
    }
    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper {
        padding: var(--gap-m);
        background-color: #17283ab6;
    }
    #secondary.sidebar-setup-after-content {
        margin-top: 0;
    }
    body.sidebar-new:not(.no-sidebar) #primary {
        padding-bottom: var(--gap-m);
    }
    body:not(.home) .page-slider-section .image-aligner img {
        width: 100%;
        height: auto;
        max-height: calc(55vh - var(--header-height));
        min-height: 100%;
        object-fit: cover;
        object-position: 80% 20%;
    }
}

@media only screen and (max-width: 810px) {}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 25px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 14px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }
    .stom-grid-section.box-section .grid-element .overlay img {
        width: 100%;
    }
    .textwidget .slider-btn-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .textwidget .slider-btn-wrapper .stom-button a {
        width: 180px;
        text-align: center;
    }
}

@media only screen and (max-width: 639px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 1;
        --grid-4-cols: 1;
        --grid-5-cols: 1;
        --grid-6-cols: 1;
        --grid-7-cols: 1;
        --grid-8-cols: 1;
        --grid-9-cols: 1;
        --grid-10-cols: 1;
        --grid-11-cols: 1;
        --grid-12-cols: 1;
    }
    /*
	body:not(.home) .slider-btn-wrapper {
       
		display: flex;
        flex-direction: column;
		
    }
	*/
    .slider-btn-wrapper .stom-button a {
        width: 200px;
        text-align: center;
    }
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 16px;
    }
    /* footer extra area */
    .section-wrap.footer-widget-area-site-info .section .stom-info table tbody tr {
        display: flex;
        flex-direction: column;
        text-align: start;
    }
	
	/* CSS Tilrettelse d. 24-01-2025 */
	.page-slider-section .slider-inner {
		display: flex !important;
		flex-direction: column;
	}

	.page-slider-section .slide-element {
		line-height: 0;
		border-bottom: 1px solid #fff;
	}

	.page-slider-section .slider-inner .slider-text,
	body.home .page-slider-section .slider-text{
		padding: 0; !important;	
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper {
		padding: 40px var(--gap-m);
		background-color: #26425e;
	}

	.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1 {

	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-btn-wrapper > .stom-button a {
		padding: 10px 20px;
		border: 1px solid #fff;
	}
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    :root body {
        /* Font sizes */
        --h1: 22px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }
	
	header .top-bar {
		font-size: 12px;
	}
	
	.site-branding #logo, .style-header-02 .site-branding #logo {
		padding: 14px 0;
	}
    
    .site-branding #logo img {
        max-width: 300px;
        max-height: 50px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 75px;
    }
    .slider-btn-wrapper .stom-button a {
        width: auto;
        text-align: center;
        font-size: 14px;
    }
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1,
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text .stom-print-title > h1{
		font-size: 20px;
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
		font-size: 15px;
	}
	
	.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-btn-wrapper {
		margin-top: 30px;
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-btn-wrapper > .stom-button a {
		width: 100%;
		text-align: center;
	}
}

@media only screen and (max-width: 410px) {
    .site-branding #logo img {
        max-width: 250px;
        max-height: 50px;
    }
}