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

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



/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1200px) {
    .page-slider-section .slider-text-inner > h1 {
        font-size: 80px;
    }
    
    h2 {
        font-size: 40px !important;
    }
    
    header .nav-wrap {
        justify-content: flex-end !important;
    }

    #site-navigation {
        order: 2;
    }

    header .nav-wrap .nav-info .top-bar-info .section .beboer .stom-button a {
        max-width: none;
    }

    .home .page-slider-section .slide-element {
        min-height: 665px;
        max-height: 665px;
    }

    body:not(.home) .page-slider-section .slide-element {
        min-height: 400px;
        max-height: 400px;
    }

    .page-slider-section .slider-text {
        padding: 80px 30px;
    }

    .value-section .section .grid-elements .grid-element {
        width: calc((100% - (40px * 1))  / 2);
    }

    .home #main-content #content {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slider-section .slider-text-inner > .button-container {
        margin-top: 70px;
    }

    .page-slider-section .slider-text-inner > .button-container .stom-button {
        width: calc((100% - (30px * 2))  / 3);
    }

    .investment-section {
        height: 600px;
    }

    .investment-section .section {
        padding-bottom: 0 !important;
    }

    .investment-section .section .grid-elements .content {
        margin: 0 0 !important;
    }

    .stom-posts .stom-post-wrapper {
        width: calc((100% - (30px * 2))  / 3);
    }

    .stom-posts .stom-post-wrapper .stom-post-thumb > img {
        height: 215px;
    }

    .stom-posts .stom-post-wrapper .stom-post-title {
        font-size: 25px;
    }

    #colophon .section-wrap .section {
        padding-left: 30px;
        padding-right: 30px;
    }

    #colophon .section-wrap .section .footer-widgets .widget .widget-title {
        font-size: 22px;
    }

    .region-home-split-section .section .grid-elements .grid-element {
        width: calc((100% - (30px * 1))  / 2);
    }

    .region-home-split-section .section .grid-elements .grid-element .overlay {
        padding: 50px 30px;
    }

    body:not(.no-sidebar) #primary, 
    .single #single-post-content-sidebar + .entry-content {
        width: calc(100% - var(--stom-sidebar-width) - 30px);
    }
}



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

@media only screen and (max-width: 959px) {
	.alignleft,
    .alignright {
        max-width: 100%;
        clear: both;
        display: block;
        width: 100%;
    }
    div#primary h1 {
        clear: both;
    }
    #page .open-button {
        background-color: #9d1950!important;
        color: #fff!important;
        border: none!important;
        border-radius: 0 1px 6px 6px;
        font-family: 'khand', sans-serif;
        font-weight: 500!important;
    }
	
    aside#secondary {
        position: fixed;
        top: 0;
    }

    .page-slider-section .slider-text-inner > .button-container .stom-button a {
        font-size: 20px;
    }

    .home-section .section {
        padding: 50px 30px !important;
    }

    .home-section .section .grid-elements .content {
        width: 100% !important;
        margin-bottom: 40px;
    }

    .home-section .section .grid-elements .link {
        width: calc((100% - (30px * 1))  / 2);
    }

    .home-section .section .grid-elements .link .overlay .content > h3 {
        font-size: 26px;
    }

    .facts-section .section .grid-elements {
        grid-gap: 50px;
    }
    
    .facts-section .section .grid-elements .grid-element {
        width: 100% !important;
    }

    .facts-section .section .grid-elements .image .overlay > p:first-of-type img {
        width: 100%;
    }

    .region-home-split-section .section {
        padding: 50px 30px !important;
    }

    .region-home-split-section .section .grid-elements {
        grid-gap: 30px;
    }
    
    .region-home-split-section .section .grid-elements .grid-element {
        width: 100% !important;
        max-height: 375px;
    }

    .news-section .section {
        padding: 80px 30px !important;
    }

    .stom-posts .stom-post-wrapper .stom-post-title {
        font-size: 22px;
    }

    #colophon {
        display: block;
    }
    
    #colophon .availability {
        max-width: none;
        padding: 70px 30px;
    }

    .stom-posts .stom-post-wrapper .stom-post-thumb > img {
        height: 175px;
    }

    body:not(.no-sidebar) #primary, 
    .single #single-post-content-sidebar + .entry-content {
        width: 100%;
    }

    body:not(.home) .page-slider-section .slide-element {
        min-height: 320px;
        max-height: 320px;
    }
	
	.faq-section .section .grid-elements {
		grid-gap: 40px;
	}
	
	.faq-section .section .grid-elements .grid-element {
		width: 100%;
	}
}


@media only screen and (max-width: 834px) { 
	.cousy-section .section>.gallery {
		grid-gap: 20px;
	}
}


@media only screen and (max-width: 810px) {
    .investment-section .section .grid-elements .content {
        width: 100% !important;
        max-width: none;
    }
}



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

@media only screen and (max-width: 782px) {
    .quote-section .section > h2 {
        font-size: 30px !important;
    }

    .faq-section .section .grid-elements .grid-element {
        width: 100% !important;
        margin-top: 40px;
    }

    .page-slider-section .slider-text-inner > h1 span {
        margin: -30px 0;
    }
    
    .home .page-slider-section .slide-element {
        min-height: 500px;
        max-height: 500px;
    }

    .value-section .section {
        padding: 70px 30px !important;
    }

    .value-section .section .grid-elements {
        grid-gap: 40px;
    }
    
    .value-section .section .grid-elements .image {
        align-items: center;
        order: 2;
    }

    .value-section .section .grid-elements .grid-element {
        width: 100% !important;
    }

    .stom-posts .stom-post-wrapper .stom-button a {
        font-size: 18px;
    }

    .page-slider-section .slider-text-inner > h1 {
        font-size: 70px !important;
    }

    .page-slider-section .slider-text-inner > .button-container .stom-button {
        width: calc((100% - (20px * 2))  / 3);
    }

    .facts-section .section {
        padding: 70px 30px !important;
    }

    body:not(.home) .page-slider-section .slide-element {
        min-height: 250px;
        max-height: 250px;
    }
}



@media only screen and (max-width: 767px) {
	h1,
    .page-slider-section h2 {
        font-size: 33px !important;
    }
	
    header .header-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }

    .site-branding #logo {
        padding: 20px 0;
    }
    
    .stom-posts {
        grid-gap: 40px;
    }
    
    .stom-posts .stom-post-wrapper {
        width: 100% !important;
    }

    .stom-posts .stom-post-wrapper .stom-post-thumb > img {
        height: auto;
    }

    .stom-posts .stom-post-wrapper .stom-post-title {
        font-size: 25px;
    }

    .home .page-slider-section .slide-element {
        min-height: 550px;
        max-height: 550px;
    }

    .page-slider-section .slider-text {
        padding: 50px 30px;
    }

    .page-slider-section .slider-text-inner > .button-container {
        grid-gap: 10px;
        margin-top: 40px;
    }
    
    .page-slider-section .slider-text-inner > .button-container .stom-button {
        width: 100%;
    }

    .region-home-split-section .section .grid-elements .grid-element .overlay {
        padding: 30px 30px;
    }

    #colophon .availability > * {
        text-align: left;
    }

    #colophon .section-wrap .section {
        padding: 50px 30px;
    }

    #colophon .section-wrap .section .footer-widgets {
        width: 100% !important;
        margin-right: 0 !important;
    }

    #colophon .section-wrap .section .footer-widgets:not(.last) .widget {
        border-bottom: 1px solid rgba(255,255,255,0.5);
        padding-bottom: 40px;
    }

    #colophon .section-wrap .section .footer-widgets.last .widget {
        margin-bottom: 0;
    }

    .quote-section .section {
        padding: 30px 30px;
    }

    .site-branding #logo img {
        max-width: 200px;
    }

    header .nav-wrap .nav-info {
        display: none;
    }

    header .header-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-slider-section .slider-text {
        padding: 50px 20px;
    }

    .news-section .section {
        padding: 80px 20px !important;
    }

    .quote-section .section {
        padding: 30px 20px;
    }

    .region-home-split-section .section,
    #colophon .section-wrap .section,
    .home-section .section {
        padding: 50px 20px !important;
    }

    .facts-section .section,
    #colophon .availability,
    .value-section .section {
        padding: 70px 20px !important;
    }

    body:not(.home) #main-content #content {
        padding: 80px 20px !important;
    }
	
	.gallery-columns-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cousy-section .section>.gallery .gallery-item .gallery-icon>a img {
		height: auto;
	}
	
	.home-section .section .grid-elements .link {
		width: 100%;
	}
}



@media only screen and (max-width: 639px) {
    .quote-section .section > h2 {
        font-size: 22px !important;
    }
}



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

@media only screen and (max-width: 479px) {
    h2 {
        font-size: 32px !important;
    }

    .page-slider-section .slider-text-inner > h1 span {
        margin: -20px 0;
    }

    .faq-section .section .grid-elements .links .overlay ul {
        column-count: 1;
    }
    
    .home .page-slider-section .slide-element {
        min-height: 600px;
        max-height: 600px;
    }

    .page-slider-section .slider-text-inner > h1 {
        font-size: 29px !important;
    }

    .home-section .section .grid-elements {
        grid-gap: 10px;
    }

    .home-section .section .grid-elements > .grid-element {
        margin-bottom: 0px;
    }

    .stom-posts {
        grid-gap: 60px;
    }

    span.headline {
        font-size: 20px;
    }

    .region-home-split-section .section .grid-elements .grid-element {
        max-height: none;
        height: 440px;
    }

    .investment-section {
        height: 500px;
    }

    .investment-section .section .grid-elements .content {
        height: 400px;
    }

    .investment-section .section .grid-elements .grid-element .overlay {
        padding: 55px 30px;
    }

    .investment-section .section .grid-elements .content .overlay > .stom-button a {
        min-width: 100%;
    }

    .region-home-split-section .section .grid-elements .grid-element .overlay {
        height: 100%;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        min-width: 100% !important;
        font-size: 14px;
        padding: 8px 5px !important;
    }

    body:not(.home) .page-slider-section .slide-element {
        min-height: 220px;
        max-height: 220px;
    }

    #secondary .custom-overflow-wrapper {
        width: auto;
    }

    .gallery {
        grid-template-columns: repeat(2,1fr);
    }

    .archive .post-thumbnail {
        margin-bottom: 30px;
    }

    .archive .post-thumbnail,
    .archive .post-thumbnail+.post-content-wrapper {
        width: 100%;
    }
}



@media only screen and (max-width: 400px) {
	.quote-section .section > h2 {
        font-size: 18px !important;
    }

    .home-section .section .grid-elements .link .overlay .content > h3 {
        font-size: 20px;
    }

    .page-slider-section .slider-text-inner > .button-container .stom-button a {
        padding: 19px 20px 19px 20px;
    }

    html, body, input, select, optgroup, textarea {
        font-size: 14px !important;
    }

    .stom-button a {
        font-size: 16px;
    }

    .region-home-split-section .section .grid-elements .grid-element .overlay .regioner {
        float: none;
        margin-top: 20px;
    }

    .region-home-split-section .section .grid-elements .history .overlay > .stom-button a, 
    .region-home-split-section .section .grid-elements .regions .overlay .regioner > .stom-button a {
        font-size: 16px;
    }

    .site-branding #logo img {
        max-width: 230px;
        max-height: 35px;
    }

    body:not(.home) .page-slider-section .slide-element {
        min-height: 180px;
        max-height: 180px;
    }

    aside#secondary .custom-overflow-wrapper .widget div ul.menu li.menu-item a {
        /* font-size: 12px; */
    }
}
