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

html,body
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

label {
    margin: 0;
}

input[type=radio],
input[type=checkbox] {
    display: none;
}

input[type="radio"] + label::before {
    content: '';
    border-radius: 50%;
}

input[type="number"]:focus {
    border:0;
    outline:none;
    box-shadow:none;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
    padding: 0.8rem;
    vertical-align: middle;
    position: relative;
}

input[type="radio"]:hover + label::before,
input[type="checkbox"]:hover + label::before {
    content: "";
    background: #efefef;
}

input[type="radio"] + label::before,
input[type="checkbox"] + label::before {
    content: "";
    cursor: pointer;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    border: 2px solid #a3a4bd;
}

input[type="radio"]:checked + label::before,
input[type="checkbox"]:checked + label:before{
    border: none;
}

input[type="radio"] + label {
    font-weight: 600;
    border-radius: .5rem;
    border: 1px solid #f2f2f5;
    box-shadow: 0 4px 14px rgba(12,36,135,.08);
}

input[type="radio"]:checked + label {
    border: 1px solid #2ecc71;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
    content: "";
    text-align: center;
    background: #2ecc71;
    color: #fff;
    font-size: 12px;
}

input[type="checkbox"]:checked + label:before {
    content: '\2713';
}

input[type="radio"]:checked + label::before {
    content: "";
    background: #2ecc71;
}

input[type="radio"]:checked + label:after {
    content: "";
    display: block;
    position: absolute;
    top: 22px;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}


.bg-grey {
    background: #f5f5f5;
}

.col-* {
    padding: 0;
}

.navbar-dark .navbar-toggler {
    color: #fff;
}

.navbar-nav .nav-item .nav-link  {
    color: #fff;
}

.show {
    background: #fff;
    padding: 0.75rem 1.5rem;
}

.show .navbar-nav .nav-link {
    color: #000 !important;
}

.scrolled .navbar-dark .navbar-toggler {
    color: #000;
}

.form-control {
    height: 48px !important;
    border: 1px solid #908f8f !important;
}

input[type="text"] label {
    font-weight: bold;
}

input[type="radio"],
label {
    cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

section a {
    color: #2ecc71;
    line-height: 1.8rem;
    text-decoration: underline;
}

img {
    max-width: 100%;
}

.btn {
    color: #fff;
    background: #000;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    border-radius: .5rem;
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    .btn {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

.btn--top,
.btn--primary {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
}

.btn--primary {
    background: #2ecc71;
}

.btn:hover {
    color: #fff;
}

.btn--top {
    font-size: 0.8rem;
    background: #2ecc71;
    padding: 0.65rem 0.75rem;
}

.btn--ghoust {
    background: none;
    color: #000;
    margin-left: 24px;
    border: 2px solid #000;
}


.btn-primary {
    background: #2ecc71;
    border: 1px solid #2ecc71;
    color: #fff;
}

.nav-item {
    padding: 10px;
}

.nav-link:last-child {
    padding: 0;
}

#header {
    height: 70px;
    z-index: 997;
    transition: all 0.5s;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
}

.wrapper {
    overflow: hidden;
}

#header.scrolled {
    background-color: #fff;
    transition: background-color 200ms linear;
}

#header.scrolled img {
    width: 128px;
}

#header.scrolled .navbar-dark .navbar-nav .nav-link {
    color: #212529 !important;
}

.hero {
    color: #fff;
    background: url('../img/hero-bg.jpeg');
    background-position: 50% 50%;
}


@media only screen and (min-width: 768px) {
    .hero {
        padding: 14.0rem 0;
    }
    .hero_lead {
        font-size: 1.4rem;
    }
}

.navbar {
    height: 70px;
}



.nav-link {
    padding: 2.4rem;
}

.scrolled {
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.05);
}

.scrolled.navbar-dark .navbar-nav .nav-link {
    color: #212529;
}

section {
    padding: 4.0rem calc(3.2rem / 2)
}

@media only screen and (max-width: 600px) {
    section {
        padding: 4.0rem 0.6rem;
    }
}

.section__header {
    margin: 0 0 40px 0;
}

.price {
    cursor: pointer;
    border-radius: .25rem;
}

.price input {
    margin-left: 10px;
}

.price--input input {
    border: none;
}

.price--input {
    position: relative;
}

.price--input_overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.price--input_overlay:before {
    content: "Inna kwota";
    position: absolute;
    left: 28%;
    top: 15px;
    background: #fff;
    bottom: 0;
}

.card {
    border: none;
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 0.7rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.card__stretch {
    display: flex;
    align-items: stretch;
}

.card img{
    width: 100%;
    height: 220px;
}

.card__title {
    font-weight: 500;
    font-size: 1.2rem;
    padding: 2.4rem 2.4rem;
}

.card__body {
    flex-grow: 1;
    padding: 0 1.4rem 1.4rem;
}

@media (min-width: 768px){
    .card__body {
        padding: 0 2.4rem 2.4rem;
}}

.mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.mobile-nav-toggle svg {
    margin: 18px 18px 0 0;
    color: #000;
}

.faq {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 3.2rem;
}

@media (min-width: 768px){
.faq {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3.2rem;
    grid-row-gap: 6.0rem;
}}


footer {
    padding-top: 85px;
    display: block;
    background: #323f4d!important;
    color: #fff;
    text-align: left;
}

footer ul {
    margin-top: 10px;
    padding: 0;
    line-height: 1.8rem;
    list-style-type: none;
}

footer a, footer p {
    color: #fff;
}

footer a:hover {
    color: #2ecc71;
    cursor: pointer;
    text-decoration: underline!important;
}

.footer__copyright {
    background: #2a3541!important;
    padding: 1rem;
    overflow: hidden;
    margin-top: 40px;
}

.footer-contact li {
    font-weight: 300;
}