/* =========================================================
   Eftersyn.dk - style.css v3
   Placering: /assets/css/style.css
   ========================================================= */


/* ---------------------------------------------------------
   Grundlayout
   --------------------------------------------------------- */

html {
    box-sizing: border-box;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 0;
    color: #222;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

main {
    display: block;
}

h1 {
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: 22px;
    line-height: 1.3;
}

h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.35;
}

p,
li,
label,
input,
select,
button {
    font-size: 16px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

ul,
ol {
    padding-left: 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #174f7c;
}

a:hover,
a:focus {
    text-decoration-thickness: 2px;
}

hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #ddd;
}


/* ---------------------------------------------------------
   Logo / enkel top
   --------------------------------------------------------- */

.site-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.site-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   Formular
   --------------------------------------------------------- */

.form-row {
    display: flex;
    align-items: center;
    min-height: 28px;
    margin: 8px 0;
}

.form-row > label:first-child {
    display: inline-block;
    width: 125px;
    flex: 0 0 125px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 200px;
    height: 26px;
    padding: 2px 4px;
    border: 1px solid #999;
    border-radius: 2px;
    background: #fff;
}

input:focus,
select:focus,
button:focus,
a:focus {
    outline: 2px solid #174f7c;
    outline-offset: 2px;
}

.postcode-city {
    display: flex;
    align-items: center;
    width: 200px;
    gap: 4px;
}

.postcode-city .postcode {
    width: 60px !important;
    flex: 0 0 60px;
}

.postcode-city .city {
    width: 136px !important;
    flex: 0 0 136px;
    margin-left: 0;
}

#areal {
    width: 150px !important;
}

#dato_visning {
    width: 150px !important;
    padding-left: 25px;
    background: #fff url('/images/calendar.gif') no-repeat 5px center;
    cursor: pointer;
}

#dato_visning.field-error {
    border-color: #c00;
    background-color: #fff3f3;
}

.field-error-text {
    display: none;
    margin-left: 8px;
    color: #c00;
    font-size: 14px;
}

#tjek_error {
    display: none;
    margin-top: 6px;
    color: #c00;
    font-size: 14px;
}

#tidspunkt {
    width: 150px !important;
}

.check-line {
    display: block;
    margin: 8px 0;
}

.check-line input[type="checkbox"] {
    vertical-align: middle;
}

.price-box,
.order-box,
.message,
.errors {
    max-width: 650px;
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #ccc;
    background: #f7f7f7;
}

.message {
    border-color: #7aa879;
    background: #f1f8f1;
}

.errors {
    border-color: #c66;
    background: #fff3f3;
}

.price-box strong {
    font-size: 18px;
}

#installationFields,
#earlyStartRow {
    display: none;
}

.captcha-row {
    margin-top: 20px;
}

.captcha-row img {
    max-width: 180px;
    margin-left: 125px;
    vertical-align: middle;
}

.submit-button {
    width: auto;
    min-width: 190px;
    height: 44px;
    padding: 8px 14px;
    border: 1px solid #888;
    border-radius: 3px;
    background: #f2f2f2;
    color: #222;
    font-weight: bold;
    cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
    background: #e7e7e7;
}

.small {
    font-size: 14px;
}

#cities {
    font-size: 13px;
}


/* ---------------------------------------------------------
   Informationsbokse
   --------------------------------------------------------- */

.box {
    max-width: 700px;
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid #ccc;
    background: #f7f7f7;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    max-width: 700px;
    margin: 30px 0;
    padding: 18px 20px;
    border-left: 4px solid #174f7c;
    border-radius: 3px;
    background: #f1f6fa;
}

.cta-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.cta-box p {
    margin: 0;
    color: #444;
    font-size: 15px;
}

.cta-button {
    display: inline-block;
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 3px;
    background: #174f7c;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}

.cta-button:hover,
.cta-button:focus {
    background: #123f64;
    color: #fff;
    text-decoration: none;
}


/* ---------------------------------------------------------
   404-side
   --------------------------------------------------------- */

.error-page {
    max-width: 650px;
    padding: 20px 0 40px;
}

.error-page h1 {
    margin-bottom: 12px;
}

.error-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 25px;
}

.error-links a {
    font-size: 15px;
}

.button-link {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #999;
    border-radius: 3px;
    background: #f7f7f7;
    color: #222;
    font-weight: bold;
    text-decoration: none;
}

.button-link:hover,
.button-link:focus {
    background: #eee;
    text-decoration: none;
}


/* ---------------------------------------------------------
   Footer
   Fuld bredde baggrund uden vandret scrollbar
   --------------------------------------------------------- */

.site-footer {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-top: 50px;
    margin-left: -50vw;
    padding: 32px 20px 14px;
    background: #2f3337;
    color: #e8e8e8;
}

.footer-inner,
.footer-bottom {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-column strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
}

.footer-column p {
    margin: 0;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.6;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-column a {
    color: #d6d6d6;
    font-size: 14px;
    text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #50555a;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
}


/* ---------------------------------------------------------
   Mobil
   --------------------------------------------------------- */

@media (max-width: 600px) {

    body {
        padding: 10px 10px 0;
    }

    h1 {
        font-size: 21px;
    }

    .form-row {
        display: block;
        margin: 10px 0;
    }

    .form-row > label:first-child {
        display: block;
        width: auto;
        margin-bottom: 3px;
    }

    #kundenavn,
    #kundeadresse,
    #kundetelefon,
    #kundemail,
    #installationnavn,
    #installationadresse,
    #installationtelefon {
        width: 100%;
    }

    .postcode-city {
        width: 100%;
    }

    .postcode-city .postcode {
        width: 28% !important;
        flex: 0 0 28%;
    }

    .postcode-city .city {
        width: auto !important;
        flex: 1 1 auto;
    }

    .captcha-row img {
        margin-left: 0;
    }

    .cta-box {
        display: block;
        padding: 16px;
    }

    .cta-button {
        margin-top: 14px;
    }

    .error-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        margin-top: 35px;
        padding: 25px 10px 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        margin-top: 22px;
    }
}