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

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

@media only screen and (max-width: 1440px) {
    .home .page-slider-section .slide-element {
        min-height: 750px;
        max-height: 750px;
    }
}


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

@media only screen and (max-width: 1200px) {
    header .header-wrapper {
        padding-right: 0;
    }
    .home .page-slider-section .slide-element {
        min-height: 650px;
        max-height: 650px;
    }
    body:not(.home) .page-slider-section .slide-element {
        min-height: 500px;
        max-height: 500px;
    }
    body:not(.home) .page-slider-section .slider-text-inner {
        max-width: 75%;
    }
    body:not(.home) .page-slider-section .slider-text {
        padding: 50px 30px;
    }
    .page-slider-section .slider-text-inner>h1 {
        font-size: 42px;
    }
    .page-slider-section .slider-text-inner>p {
        font-size: 22px;
    }
    .stom-billede-sektion .stom-cols-6 {
        padding: 0 30px;
    }
    .stom-billede-sektion .stom-center-box>h2 {
        font-size: 28px;
    }
    .logo-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 3)) / 4) !important;
    }
    #colophon {
        font-size: 14px;
    }
    #colophon .section-wrap .section .footer-widgets>.stom-custom-svg {
        font-size: 25px;
    }
    #colophon .section-wrap .section .footer-widgets .widget .widget-title {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1050px) {
    header .header-wrapper {
        padding-right: 30px;
    }
    #site-navigation .menu-toggle {
        padding-right: 0;
    }
    .number-three-burger-menu-content li a,
    .number-three-burger-menu-content li.mega-menu ul a,
    header .main-navigation ul li.mega-menu ul ul a,
    header .main-navigation ul li.mega-menu>ul>li>a {
        padding: 12px 20px !important;
    }
    #site-navigation.main-navigation .current-menu-ancestor,
    #site-navigation.main-navigation .current-menu-item {
        background: #a6060b !important;
    }
    #site-navigation.main-navigation .current-menu-ancestor>a,
    #site-navigation.main-navigation .current-menu-item>a {
        color: #fff;
    }
	.submenu-container ul li, .ref-cat-wrap ul li {
		position: relative;
		display: inline-block;
		padding: 6px 11px;
		text-align: left;
	}
}


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

@media only screen and (max-width: 959px) {
    .page-slider-section .slider-text-inner>h1 {
        font-size: 34px;
    }
    .page-slider-section .slider-text-inner>p {
        font-size: 20px;
    }
    .course-section .section>h2 {
        font-size: 38px;
    }
    .course-section .section .grid-elements .grid-element .overlay>.content>h3 {
        font-size: 21px;
    }
    .offer-section .section .grid-elements .heading .overlay>h2 {
        font-size: 38px;
    }
    .campaign-section .section>h2 {
        font-size: 38px;
    }
    #colophon .section-wrap .section {
        grid-gap: 40px;
    }
    #colophon .section-wrap .section .footer-widgets {
        width: 100%;
    }
    #colophon .site-info .social>h3 {
        font-size: 16px;
    }
    aside#secondary {
        position: fixed;
        top: 0;
    }
    body:not(.home) .page-slider-section .slide-element {
        min-height: 425px;
        max-height: 425px;
    }
    aside#secondary .custom-overflow-wrapper .total-tjek-sidebar .textwidget .button-container .stom-button,
    aside#secondary .custom-overflow-wrapper .total-tjek-sidebar .textwidget .button-container .stom-button a {
        width: 100%;
        font-size: 12px;
    }
    aside#secondary .custom-overflow-wrapper .total-tjek-sidebar .textwidget>img {
        max-height: 80px;
    }
    div.energimaerke-container>.column>h2 {
        font-size: 21px;
    }
    div.energimaerke-container>.column.eus-results .result>p {
        font-size: 21px;
    }
    div.energimaerke-container>.column.eus-results .result {
        font-size: 24px;
    }
}

@media only screen and (max-width: 820px) {
    .reference-container .reference-wrap {
        width: calc((100% - (30px * 2)) / 2);
    }
    #colophon .section-wrap .section {
        grid-gap: 20px;
    }
}


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

@media only screen and (max-width: 782px) {
    html,
    body,
    input,
    select,
    optgroup,
    textarea {
        font-size: 14px !important;
    }
    .stom-button a {
        font-size: 12px;
        min-width: 125px;
    }
    .page-slider-section .slider-text {
        padding: 50px 30px;
    }
    .home .page-slider-section .slide-element {
        min-height: 500px;
        max-height: 500px;
    }
    body:not(.home) .page-slider-section .slider-text-inner {
        max-width: none;
    }
    .page-slider-section .slider-text-inner>h1 {
        font-size: 32px;
    }
    .page-slider-section .slider-text-inner>p {
        font-size: 18px;
    }
    .shortcode-section .section .grid-elements {
        grid-gap: 40px;
        text-align: center;
    }
    .shortcode-section .section .grid-elements .grid-element {
        width: 100%;
    }
    .raadgivning-section {
        margin-top: 50px;
    }
    .stom-billede-sektion .stom-center-box>h2 {
        font-size: 21px;
    }
    .course-section {
        margin-top: 50px;
    }
    .course-section .section>h2 {
        font-size: 32px;
    }
    .course-section .section .grid-elements .grid-element {
        width: calc((100% - (40px * 2)) / 3);
    }
    .course-section .section .grid-elements .grid-element .overlay>h2 {
        font-size: 28px;
    }
    .course-section .section .grid-elements .grid-element .overlay>.content>h3 {
        font-size: 16px;
    }
    .offer-section {
        margin-top: 50px;
    }
    .offer-section .section .grid-elements .heading .overlay>h2 {
        font-size: 32px;
    }
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container>.gfield_checkbox .gchoice label {
        font-size: 14px;
    }
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container>.gfield_checkbox .gchoice .gfield-choice-input {
        width: 20px;
        height: 20px;
    }
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container>input,
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container>input::placeholder {
        font-size: 14px;
    }
    .gform_wrapper form .gform_footer .gform_button {
        font-size: 12px !important;
    }
    .campaign-section .section>h2 {
        font-size: 32px;
    }
    .certificate-section .section>p:first-of-type img {
        max-height: 150px;
        width: auto;
    }
    .logo-section .section .grid-elements .grid-element .overlay>p:first-of-type img {
        max-height: 40px;
        width: auto;
    }
    div.procentsats-container .procentsats-output>.output .main-title {
        font-size: 115px;
    }
    div.stom-certificat ul li a {
        min-width: 200px;
        font-size: 14px;
    }
    div.outro-text>p {
        font-size: 21px;
    }
    div.energimaerke-container {
        grid-gap: 60px;
    }
    div.energimaerke-container>.column {
        width: 100%;
    }
    body.single-reference .page-slider-section .slide-element {
        min-height: 300px !important;
        max-height: 300px !important;
    }
    body.single-reference #main-content #content .entry-header .entry-title {
        font-size: 35px !important;
    }
}

@media only screen and (max-width: 767px) {
    blockquote {
        font-size: 106%;
    }
    .stom-grid-section .section.columns-2 .grid-element {
        width: 100%;
    }
    .footer-bg .section {
        font-size: 25px;
    }
    html h1,
    html .page-slider-section h2 {
        font-size: 26px;
    }
    html h2 {
        font-size: 22px;
    }
    html h3 {
        font-size: 20px;
    }
    html h4 {
        font-size: 19px;
    }
    html h5 {
        font-size: 18px;
    }
    .home .shortcode-section .section {
        padding: 50px 20px;
    }
    header .header-wrapper {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    header .section-wrap .section {
        padding: 5px 20px !important;
    }
    .page-slider-section .slider-text {
        padding: 50px 20px;
    }
    body:not(.home) .page-slider-section .slider-text {
        padding: 50px 20px;
    }
    .site-branding #logo img {
        max-height: 38px;
    }
    header .top-bar {
        font-size: 12px;
    }
    .shortcode-section .section .grid-elements .grid-element .overlay>.content>h3 {
        font-size: 21px !important;
    }
    .stom-billede-sektion .stom-cols-6 {
        padding: 30px 0;
    }
    .raadgivning-section {
        margin-top: 0;
    }
    .course-section {
        margin-top: 0;
    }
    .offer-section {
        /* margin-top: 0; */
    }
    .course-section .section .grid-elements {
        grid-gap: 40px;
    }
    .course-section .section .grid-elements .grid-element {
        width: 100%;
    }
    .course-section .section .grid-elements .grid-element .overlay {
        text-align: center;
    }
    .offer-section {
        background-size: cover;
    }
    .offer-section .section .grid-elements .heading .overlay>h2 {
        text-align: center;
        margin-bottom: 40px;
    }
    .offer-section .section .grid-elements .grid-element {
        width: 100%;
    }
    .offer-section .section .grid-elements .formular .overlay .gform_wrapper {
        max-width: none;
    }
    .campaign-section {
        margin-top: 0;
    }
    .campaign-section .section .stom-picture>img {}
    .campaign-section .section>h2 {
        margin-bottom: 20px;
    }
    .campaign-section .section .grid-elements .content .overlay>h3 {
        font-size: 21px;
    }
    .logo-section .section .grid-elements {
        grid-gap: 40px;
    }
    .logo-section .section .grid-elements .grid-element {
        width: calc((100% - (40px * 1)) / 2) !important;
        margin-bottom: 0;
    }
    .logo-section .section .grid-elements .grid-element .overlay>p:first-of-type img {
        max-height: inherit;
    }
    #colophon .section-wrap .section {
        padding: 80px 20px 50px;
    }
    #colophon .section-wrap .section .footer-widgets.last {
        margin-bottom: 0;
    }
    div.stom-certificat ul li {
        display: block;
    }
    div.stom-certificat ul li:not(:last-of-type) {
        margin-bottom: 20px;
        margin-right: 0;
    }
    div.stom-certificat ul li a {
        min-width: 250px;
    }
    div.procentsats-container {
        flex-direction: column;
        justify-content: center;
        grid-gap: 40px;
    }
    div.services-container>.wp-caption {
        width: calc((100% - (40px * 1)) / 2)!important;
        justify-content: center;
    }
    .analyse-knapper .ginput_container_radio .gfield_radio .gchoice {
        margin-bottom: 10px;
    }
    body.single-reference .page-slider-section .slide-element {
        min-height: 250px !important;
        max-height: 250px !important;
    }
    body.single-reference #main-content #content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .p-100 .section {
        padding: 100px 20px !important;
    }
    body:not(.home) #main-content #content {
        width: 100%;
        padding: 20px;
    }
	body:not(.home) .page-slider-section .slider-text-inner>h1 {
		font-size: 30px;
	}
}

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


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

@media only screen and (max-width: 479px) {
    header .top-bar p:not(:last-of-type) {
        margin-right: 10px;
    }
    .submenu-container {
        display: none;
    }
    .submenu-container ul li,
    .ref-cat-wrap ul li {
        display: block;
        position: inherit;
        text-align: center;
    }
    .reference-container .reference-wrap {
        width: calc((100% - (30px * 2)) / 1);
    }
    .socials-wrapper {
        display: none;
    }
    .site-branding #logo img {
        max-width: inherit;
        max-height: 32px;
    }
    #site-navigation .menu-toggle {
        font-size: 24px;
    }
    .page-slider-section .slider-text-inner>h1 {
        font-size: 32px;
    }
    .page-slider-section .slider-text-inner>p {
        font-size: 16px;
    }
    .shortcode-section .section .grid-elements .grid-element .overlay>.content>h3 {
        font-size: 18px !important;
    }
    .course-section .section>h2 {
        font-size: 28px;
    }
    .offer-section .section .grid-elements .heading .overlay>h2 {
        font-size: 28px;
    }
    .campaign-section .section>h2 {
        font-size: 28px;
    }
    .certificate-section {
        margin-top: 40px;
    }
    .logo-section .section .grid-elements .grid-element .overlay>p:first-of-type img {
        max-height: 45px;
    }
    #colophon {
        font-size: 12px;
    }
    #colophon .section-wrap .section .footer-widgets>.stom-custom-svg {
        font-size: 20px;
    }
    #colophon .site-info .social {
        padding: 25px 0 0;
    }
    body:not(.home) .page-slider-section .slider-text-inner>h1 {
        font-size: 28px;
    }
    div.procentsats-container .procentsats-output>.output .main-title {
        font-size: 95px;
    }
    div.procentsats-container .procentsats-buttons>.stom-button {
        font-size: 18px;
    }
    div.stom-certificat ul li a {
        width: 100%;
    }
    #secondary .custom-overflow-wrapper {
        width: auto;
    }
    div.energimaerke-container {
        padding: 40px 20px;
    }
    body.single-reference #main-content #content .entry-header .entry-title {
        font-size: 30px !important;
    }
}

@media only screen and (max-width: 400px) {
    .page-slider-section .slider-text-inner>h1 {
        font-size: 28px;
    }
    .course-section .section>h2 {
        font-size: 21px;
    }
    .offer-section .section .grid-elements .heading .overlay>h2 {
        font-size: 21px;
    }
    .campaign-section .section>h2 {
        font-size: 21px;
    }
    .campaign-section .section .grid-elements .content .overlay>h3 {
        font-size: 18px;
    }
    .certificate-section .section {
        padding: 50px 30px !important;
    }
    .certificate-section .section>p:first-of-type img {
        max-height: 100px;
    }
    body:not(.home) .page-slider-section .slider-text-inner>h1 {
        font-size: 20px;
    }
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container>.gfield_checkbox .gchoice {
        width: 100%;
    }
    div.services-container {
        grid-gap: 20px;
    }
    div.services-container>.wp-caption {
        width: calc((100% - (20px * 1)) / 2)!important;
    }
    div.services-container>.wp-caption .wp-caption-text {
        font-size: 12px;
    }
    html body:not(.home) h2 {
        font-size: 22px;
    }
    .gform_wrapper.gravity-theme .gfield textarea.large {
        height: 150px;
    }
    body.single-reference #main-content #content .entry-header .entry-title {
        font-size: 24px !important;
    }
}