body {
    font-size: 18px;
    margin: 0;
    color: #3a3a3a;
}

/* OBSŁUGA LINKÓW */
a {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: #3a3a3a;
}

a:active,
a:link {
    color: #3a3a3a;
}

a:hover {
    color: #2a2a2a;
    text-decoration: underline;
}


header {
    background-color: #f3f3f3;
    height: 5vh;
    margin: 0;
    position: relative;
    border-bottom: 1px solid #e7e7e7;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    left: 15%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%)
}

nav {
    right: 15%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%)
}

section {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    min-height: 87vh;
}

footer {
    border-top: 1px solid #e7e7e7;
    height: 5vh;
    position: relative;
    background-color: #f3f3f3;
    color: #484848 !important;

}

footer p {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

footer p a {
    color: #484848 !important;
}

button {
    display: inline-block;
    border: 0px;
    cursor: pointer;
    box-shadow: rgb(181 181 181) 0px 1px 2px 0px;
    border-radius: 0.1rem;
    letter-spacing: 0.003rem;
    line-height: 1.4;
    margin-bottom: 5px;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(255, 255, 255);
    width: 100%;
    margin-top: 5px;
    background-color: rgb(231, 120, 23);
}

.btnDemo {
    background-color: rgb(112, 120, 121) !important;
}

.btnFull {
    background-color: rgb(4, 127, 146) !important;
}

section img {
    max-width: 100%;
}

.btnDemo:hover {
    background-color: rgb(100, 110, 116) !important;
}

.btnFull:hover {
    background-color: rgb(4, 80, 92) !important;
}

h1 {
    border-bottom: 1px solid #e7e7e7;
}

h2 {
    border-bottom: 1px dashed #e7e7e7;
}

.loginContainer {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 2px dashed #f3f3f3;
    padding: 10px;
    border-radius: 5px;
}

.error,
#errorPass {
    color: red;
    margin-top: 10px;
    margin-bottom: 10px;
}

.main-error {
    background-color: red;
    margin-left: 30%;
    font-size: 20px;

}

.komunikat {
    text-align: center;
    background-color: greenyellow;
}

.komunikat_error {
    text-align: center;
    background-color: #ff2700;
    color: #fff;
}

.loginContainer .g-recaptcha {
    margin-left: auto;
    margin-right: auto;
    width: 304px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#resetPassContainer {
    width: 300px;
    height: 300px;
    border: 1px solid black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.logo_img {
    max-width: 140px;
    margin-top: 3vh;
}

.leftbox,
.rightbox {
    width: 49%;
    float: left;
}

.leftbox {
    border-right: 1px dashed #e7e7e7;
}

.invoice-add-form {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.invoice-add-field {
    width: 97.5%;
    margin-bottom: 5px;
}

/* RESPONSYWNOŚĆ */
.logo-small {
    display: none;
}

.new-line {
    display: none;
}

@media only screen and (max-width: 976px) {
    .logo {
        display: none;
    }

    .new-line {
        display: inline;
    }

    .logo-small {
        display: inline;
    }

    .logo_img_small {
        width: 69px;
    }


    .home-link {
        display: none;
    }

    .invoice-add-form {
        width: 90%;
    }

    section {
        width: 95% !important;
    }

    nav {
        right: unset;
    }

    nav,
    footer p {
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
        font-size: 17px;
    }

    header,
    footer {
        height: 8vh;
    }
}

.footer_logo {
    max-width: 63px;
}

/* Thank you page */
#square {
    margin: 0;
    background: #f3f3f3;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 450px;
    text-align: center;
    height: 450px;
}

#backToBtn {
    height: 25%;
    margin: 0;
    font-size: 18px;
}

#backToBtn:hover {
    background-color: rgb(231 120 23 / 75%);
}

#payment_info {
    font-size: 20px;
    height: 15%;
    margin: 0;
    padding: 5%;
    font-weight: bold;
    text-transform: uppercase;
}

.img_smile {
    max-height: 90%;
    margin: 0;
}

#payment_icon {
    height: 35%;
    width: 100%;
    margin: 0;
}

#logo-payment {
    height: 10%;
    width: 100%;
    margin: 0;
    background-color: rgb(255 255 255);
    text-align: left;
}

#logo-payment img {
    max-height: 135%;
}

#footer-payment {
    height: 5%;
    width: 100%;
    margin: 0;
    background-color: rgb(255 255 255);
}

/* Payment history table */

#payment-hst {
    text-align: left;
    width: 100%;
}

#payment-hst td {
    border: 1px solid #e77817;
}

#payment-hst th {
    border: 1px solid #333;
    background-color: #e77817;
    color: #fff;
}

/* Formularz rejestracji */

#zgody {
    color: #666;
    font-size: 12px;
}

.imgInfo {
    border: 1px solid #e7e7e7;
}