﻿/* barlow-regular - latin_latin-ext */
/* generated with help from google-webfonts-helper, https://gwfh.mranftl.com/fonts*/
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: url('./font/barlow-v12-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
    src: url('./font/barlow-v12-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('./font/barlow-v12-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('./font/barlow-v12-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
    url('./font/barlow-v12-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('./font/barlow-v12-latin_latin-ext-regular.svg#Barlow') format('svg'); /* Legacy iOS */
}


h1 {
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
}

h2, h3 {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    padding-left: 20px;
    padding-right: 20px;
}


body {
    /* start vertical centering of content */
    min-height: 100%; /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* end vertical centering of content */

    font-family: Barlow;
    font-size: 20px;
    border-top: 30px solid #023304;
    border-bottom: 50px solid #023304;
}

@media (min-width: 768px) {
    body {
        border-top: 70px solid #023304;
        border-bottom: 70px solid #023304;
    }
}

@media (min-width: 1200px) {
    body {
        margin-left: auto;
        margin-right: auto;
        max-width: 1440px;
    }
}

body > div.container-sm {
    /*margin-top: 0 !important;*/ /* Needs important in order to override class mt-3 in the html that we cant remove */
    margin-bottom: 1rem;
}

strong {
    font-weight: normal;
}

a {
    color: #033204;
}

p {
    margin-bottom: 5px;
}

footer {
    padding-bottom: 20px;
}

    footer a {
        margin: 0 10px;
    }

.card {
    border: none;
    padding: 20px;
    background: none;
}

.first-row {
    margin-bottom: 0 !important; /* Needs important in order to override class mb-3 in the html that we cant remove */
}

.header-content, .main-content {
    background-color: #ecf1f0;
    margin-bottom: 0 !important; /* Needs important in order to override class mb-3 in the html that we cant remove */
}

.header-content {
    background-image: url(logo.png);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 20px;
    padding-top: 130px;
}

.main-content {
    padding-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input.form-control {
    border-radius: 0;
}

a.btn-dark, a.btn-dark:hover {
    display: block;
}

.btn-dark, .btn-dark:hover {
    padding: 9px 36px 10px;
    border: solid 1px #023304;
    background-color: #023304;
    border-radius: 0;
    font-size: 20px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 3px;
}

    a.btn-dark:focus,
    a.btn-dark:active,
    .btn-dark:focus,
    .btn-dark:active {
        box-shadow: none;
        border: solid 1px #023304;
        background-color: #034f06;
    }

span.field-validation-error {
    display: block;
}

.register-page .populationfields {
    margin-bottom: 5px;
}

    .register-page .populationfields div {
        display: inline-block;
        text-align: left;
    }

        .register-page .populationfields div.title {
            width: 45%;
        }

        .register-page .populationfields div.value {
            width: 50%;
        }

.register-page .form-check.pepja {
    text-align: left;
    margin-top: -20px;
    margin-left: 5px;
}


.register-page .form-check.pepnej {
    text-align: left;
    margin-bottom: 20px;
    margin-left: 5px;
}

.register-page .rubrikintegritet {
    margin-bottom: 20px;
}

.register-page .form-check.affarsvillkor {
    text-align: left;
    margin-bottom: 20px;
    margin-left: 5px;
}

.register-page .bekraftapersonnr + div {
    margin-bottom: 15px;
}

@media (min-width: 400px) {
    .register-page .populationfields div.title {
        width: 35%;
    }

    .register-page .populationfields div.value {
        width: 60%;
    }
}

@media (min-width: 1200px) {
    .first-row, .second-row {
        margin: 0 80px;
    }
}

@media (min-width: 1400px) {
    .first-row, .second-row {
        margin: 0 170px;
    }
}
