@import url("fonts.css");

:root {
    --ihkblau: #004c89;
    --ihkblau_hell: #395c94;
    --green: #56bd66;
    --green_dunkel: #28a050;
}

.progress, .card, input.form-control, select.form-control, textarea.form-control {
    border-radius: unset;
}

.progress_text {
    font-size: 18px;
    margin-bottom: 0.25rem;
}

.progress {
    background-color: white;
    padding: 2px;
    height: 22px;
}

.bg-ihk {
    background-color: var(--green);
}

.btn.btn-primary {
    font-size: 1.35rem;
    border-radius: 0.775rem;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
}

.btn.btn-primary, .form-check-input:checked {
    background-color: var(--green);
    border-color: var(--green);
}
.btn.btn-primary:hover {
    background-color: var(--green_dunkel);
    border-color: var(--green_dunkel);
}

input {
    outline: none;
}

body {
    background-color: #e3ebf5;
    color: #636d76;
    font-family: Source Sans Pro,sans-serif;
}

.main-wrapper {
    max-width: 1220px;
    margin: 0 auto;
}

header#main {
    background-color: var(--bs-white);
    height: 150px;
    padding-bottom: 5px;
    border-bottom: 5px solid var(--ihkblau);
}
header#main div.topnavibox {
    height: 30px;
    background-color: var(--ihkblau);
}
header#main div#logo {
    float: left;
    width: 25%;
    padding: 15px 0;
}

header#main div#logo IMG {
    width: auto;
    height: 85px;
}

div#searchbox-plzort_logo {
    background: url("../img/searchbox-plzort_logo.png") no-repeat center center;
    height: 308px;
    margin-bottom: 200px;
}

div#searchbox-plzort-input {
    padding-top: 240px;
}

div#searchbox-plzort-input input {
    width: 300px;
    border: none;
    background-color: transparent;
    height: 64px;
    font-size: 22px;
    color: #636d76;
}
div#searchbox-plzort-input input::placeholder {
    color: #b0c4d6;
}

.form-control:focus {
    border-color: var(--ihkblau);
}

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0;
}

main {
    padding: 40px 120px
}

div#introtext {
    margin-bottom: 20px;
}
div#introtext h1 {
    color: var(--ihkblau);
    font-size: 44px;
    margin-bottom: 0.1rem;
}
div#introtext h2 {
    color: var(--ihkblau);
    font-size: 26px;
    margin-bottom: 2.4rem;
}
div#introtext p {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

div#ihkfragebogen {
    padding: 20px 0;
}
div#ihkfragebogen div.card {
    background-color: transparent;
    border: none;
    font-size: 1.35rem;
}
div#ihkfragebogen div.card div.header {
    padding-bottom: 20px;
}

div#ihkfragebogen div.infotext {
    margin-top: 30px;
    padding: 20px;
    padding-top: 15px;
    font-size: 1.0rem;
    background-color: #ccd7e6;
    border-radius: 0.775rem;
}
div#ihkfragebogen div.infotext div.info {
    font-size: 1.7rem;
    font-weight: bold;
}
div#ihkfragebogen div.infotext div.info i {
    float: right;
}

div#ihkfragebogen div.form-check-group {
    margin-bottom: 3rem !important;
}

div#ihkfragebogen div.gruppierung {
    margin-left: 30px;
}
div#ihkfragebogen div.gruppierung.gruppierung_first {
    margin-left: 0;
}

div#ihkfragebogen div.gruppierung.gruppierung_first .form-check-input:read-only {
    pointer-events: none;
    filter: none;
    opacity: 0.5;
}

div#ihkfragebogen div.gruppierung.gruppierung_first .form-check-input[read-only] ~ .form-check-label,
div#ihkfragebogen div.gruppierung.gruppierung_first .form-check-input:read-only ~ .form-check-label {
    opacity: 1.0;
}

div#ihkfragebogen label.form-check-label span.showtext {
    padding-left: 40px;
}

div#ihkfragebogen div.ihkfragebogenbuttons a.continue {
    font-size: 1.5rem;
}

div#ihkfragebogen div.ihkfragebogenhinweistext {
    margin-top: 20px;
}

div#kontaktierenfrage {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

div#kontaktierenfrage div.form {
    padding-top: 5px;
    padding-bottom: 5px;
}

div#kontaktierenfrage label {
    width: 200px;
    text-align: right;
    padding-right: 10px;
}

input.form-input.is-invalid {
    border: 1px solid #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

@media only screen and (max-width: 1220px) {
    .main-wrapper{
        width: 100%;
        padding: 0 20px;
    }
}
@media only screen and (max-width: 1000px) {
    div#ihkfragebogen div.card div.row div.col1 {
        width: 60% !important;
    }
    div#ihkfragebogen div.card div.row div.col2 {
        width: 40% !important;
    }
}
@media only screen and (max-width: 900px) {
    div#ihkfragebogen div.card div.row div.col1 {
        width: 100% !important;
    }
    div#ihkfragebogen div.card div.row div.col2 {
        width: 100% !important;
        margin-top: 20px;
    }
    main {
        padding: 40px 80px;
    }
}
@media only screen and (max-width: 840px) {
    main {
        padding: 40px 40px;
    }
}
@media only screen and (max-width: 768px) {
    main {
        padding: 40px 0;
    }
    .main-wrapper {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 550px) {
    div#kontaktierenfrage label {
        width: 100%;
        text-align: left;
    }
    div#kontaktierenfrage input {
        width: 100%;
    }
}
@media only screen and (max-width: 500px) {
    header#main div#logo {
        float: none;
        width: 100%;
    }
    header#main div#logo IMG {
        width: 100%;
        height: auto;
    }
}

.login-page {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100vh - 260px);
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-box {
    width: 360px;
}

.display-hidden {
    display: none;
}

footer {
    margin-bottom: 20px;
}
footer a {
    color: #636d76;
    text-decoration: none;
}
footer a:hover {
    color: #636d76;
    text-decoration: underline;
}