* {
    box-sizing: border-box;
}
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Open sans', sans-serif;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    height: 100%;
}

.container .left {
    background: url(../gfx/pani.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    max-width: 700px;
    flex: 1;
    color: #fff;
    position: relative;
}

.container .left .header {
    padding: 40px 0 0 40px;
    text-align: center;
}

.logo-obpon {
    position: absolute;
    right: 40px;
    top: 40px;
}

.container .left .heading {
    font-size: 40px;
    font-weight: 800;
    margin: 20px 10px;
}

.container .left .text {
    margin: 0 10px;
}

.container .right {
    flex: 1;
    padding: 50px 70px;
}
.container .right .heading {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: left;
}
.centered {
    text-align: center !important;
}
.container .right .buttons {
    text-align: center;
}

.container .right .buttons a {
    margin: 20px;
}

#mainForm > div.form > div:not(.checkbox) {
    display: inline-block;
    margin-top: 20px;
    width: 45%;
}
#mainForm > div.form > div:not(.checkbox) label {
    display: block;
    font-weight: bold;
    font-size: 0.8em;
    margin-bottom: 10px;
}
#mainForm > div.form > div:not(.checkbox) input {
    padding: 15px;
    background: #f1f3f5;
    outline: none;
    border: none;
    width: 90%;
}
#mainForm > div.form > div:not(.checkbox) select {
    padding: 15px;
    background-color: #f1f3f5;
    outline: none;
    border: none;
    width: 90%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../gfx/szczouka.png);
    background-repeat: no-repeat;
    background-position: 95.5%;
}
#mainForm > div.form > div:not(.checkbox) select::-ms-expand {
    display: none;
}
#mainForm hr {
    outline: none;
    border: none;
    height: 1px;
    width: 90%;
    background: #f1f3f5;
    margin: 20px 0;
}
div.smallinfo {
    width: 100% !important;
    font-size: 0.9em;
    padding-left: 30px;
}
.checkbox {
    margin-top: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    column-gap: 24px;
}
.checkbox input[type='radio'],
.checkbox input[type='checkbox'] {
    display: none;
}
.checkbox label {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding-left: 24px;
    position: relative;
    margin: 5px 0;
    font-size: 0.8em;
}
.checkbox label.required::after {
    content: '' !important;
    margin-left: initial !important;
}
.checkbox label:before {
    content: ' ';
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    border: none;
    background-color: #dfdfdf;
}
.checkbox label:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 8px;
    border: 1px solid #1b8558;
    background-color: #ffffff;
    transition: all 0.1s ease-in;
}
.checkbox input[type='radio']:checked + label:after,
.checkbox input[type='checkbox']:checked + label:after {
    top: 6px;
    left: 3px;
    width: 0;
    height: 0;
    border: 5px solid #1b8558;
}

.checkbox.validity input[type='checkbox']:invalid + label {
    color: red;
    font-weight: bold;
}

.fancy-file-input {
    position: relative;
    padding-left: 0 !important;
    background: none !important;
    border: none !important;
}
.fancy-file-input::after {
    content: 'wybierz plik';
    position: absolute;
    cursor: pointer;
    padding: 7px 10px;
    left: 0;
    top: 9px;
    background-color: #1b8558;
    color: #fff;
    border-radius: 6px;
}

a.btn,
button.btn {
    display: inline-block;
    padding: 0.615rem 1.538rem;
    border-radius: 0.154rem;
    border: none;
    font-family: 'Open Sans', sans;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

a.btn-green,
button.btn-green {
    background-color: #1b8558;
    color: #fff;
}

a.btn-grey,
button.btn-grey {
    background-color: #7a7a7a;
    color: #fff;
}

div.application-submit {
    margin-top: 15px;
}

a {
    color: #1b8558;
}

div.question {
    margin-top: 20px;
}
.logo-footer {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    font-size: 0.8em;
    color: #000;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.5;
}
.logo-footer img {
    height: 30px;
}
.logo-footer:hover {
    filter: none;
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .logo-footer {
        flex-direction: column;
    }
}

@media screen and (max-width: 1300px) {
    .container .right {
        padding: 20px;
    }
    .logo img {
        width: 50%;
    }
    .logo-obpon {
        width: 150px;
    }
}
@media screen and (max-width: 1000px) {
    .container .right {
        padding: 20px;
    }
    #mainForm > div.form > div:not(.checkbox) {
        display: block;
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    .container {
        display: block;
    }
    .container .left {
        width: 100%;
        max-width: 800px;
        background-size: 100% auto;
    }
    .container .left .header {
        padding: 20px 10px;
    }
    .container .left .header .heading {
        font-size: 25px;
    }
    .logo img {
        width: 50%;
    }
    .logo-obpon {
        width: 100px;
        top: 20px;
    }
}
