
.small {
    font-size: small;
}
.large {
    font-size: large;
}
.smaller {
    font-size: smaller;
}
.larger {
    font-size: larger;
}

pre {
    padding-left: 1px;
    padding-right: 1px;
    font-family: Courier, monospace;
    border: #c0c0c0 1px solid;
}
kbd {
    padding: 0 1px 0 1px;
    border-style: solid;
    border-width: 1px 2px 2px 1px;
}
blockquote {
    color: #808080;
}

/* --------------------------------- */

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, p {
    margin: unset;
    padding: unset;
}

html {
    font-family: 'Lato', Tahoma, Arial, sans-serif;
    width: auto;
    height: auto;
    background-color: #808080;
}

body {
    margin: 10px auto;
    padding: unset;
    width: 100%;
    max-width: 800px;
    height: auto;
    min-height: 21cm; /* A4 */
    font-size: 12pt;
    line-height: 1.2;
    color: #343434;
    background-color: #FFFFFF;
    overflow-x: hidden;
}


/* ----------------------------------------- */
/*** Header ***/

#header p {
    margin-bottom: unset;
    line-height: 1.25;
}

#header p sup {
    font-size: 0.7em;
}

#header > .top {
    display: flex;
    flex-wrap: nowrap;
    background-color: #FFFFFF;
}

#header > .top > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3% 10px 3% 4%;
}

#header > .top > div > * {
    width: 100%;
}

#header > .top > div[style*='background-color:'],
#header > .bottom[style*='background-color:'] {
    color: #FFFFFF;
}

#header > .top > .left {
    flex-basis: 33.333%;
}

#header > .top > .right {
    padding-left: 3.5%;
    flex-basis: 66.67%;
}

#header > .top > .right > div {
    padding: 8% 6%;
}

#header > .top .line1 {
    font-size: 22pt;
    font-weight: bold;
}

#header > .top .line2 {
    font-size: 16pt;
}

#header > .middle {
    height: 360px;
}

#header > .middle img {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

#header > .bottom {
    padding: 2.2% 3% 2%;
    font-weight: 900;
}


/* ----------------------------------------- */
/*** Details ***/

#main {
    padding: 20px 3%;
    min-height: 30.75rem;
}

#main > div {
    margin-bottom: 2rem;
}


/* ----------------------- */
/* Parameters */

#main .title {
    margin-bottom: 22px;
    font-size: 13pt;
    font-weight: bold;
}

#main .title span {
    display: inline-block;
    padding-bottom: 7px;
    min-width: 180px;
    border-bottom: 2px solid;
}

#main .content {
    font-size: 11.6pt;
    line-height: 1.33;
}

#main .parameters .content {
    column-count: 2;
}

#main .parameters .content p,
#main .parameters .content span {
    margin: unset;
    padding: unset;
}

#main .parameters .content .parameter {
    margin-bottom: 5px;
    padding-left: 6px;
}

#main .parameters .content .parameter:nth-child(odd) {
    background-color: #F0F0F0;
}

#main .parameters .content .parameter:nth-child(even) {
    background-color: #F8F8F8;
}

#main .parameters .content .parameter:after {
    display: block;
    content: '';
    height: 0;
    clear: both;
}

#main .parameters .content .parameter span {
    float: left;
    display: block;
    padding-bottom: 1px;
    width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

#main .parameters .content .parameter span:last-of-type {
    margin-left: 4%;
    width: 50%;
}

#main .parameters .content .parameter .value {
    font-size: 12pt;
    font-weight: bold;
}

#main .parameters .content .parameter .value.small1 {
    font-size: 11.6pt;
}

#main .parameters .content .parameter .value.small2 {
    font-size: 11.3pt;
}


/* ----------------------- */
/* Description */

#main .description .content {
    overflow: hidden;
}

#main .description .content br {
    page-break-before: avoid;
    page-break-after: auto;
}

#main .description .content .asariwww_offer_desc_footer {
    margin-top: 1.26rem;
    padding-top: 0.72em;
    font-size: 0.667em;
    border-top: 1px solid #E6E6E6;
}


/* ----------------------- */
/* Contact */

#main .contact p {
    margin: 0 0 5px;
    padding: 0;
}

/* --------------------------------- */

#footer {
    page-break-before: avoid;
    page-break-inside: avoid;
    page-break-after: always;
}

#footer > div {
    overflow-x: hidden;
}

#footer > div > div {
    padding: 2% 2.25%;
}

#footer .top,
#footer .bottom {
    display: flex;
    flex-wrap: nowrap;
}

#footer .left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 33.333%;
}

#footer .logo img {
    width: unset;
    max-width: 100%;
    height: unset;
    max-height: 100%;
}

#footer .right {
    flex-basis: 66.67%;
}

#footer .top .right {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: start;
    color: #FFFFFF;
}

#footer .top .right > * {
    display: block;
    flex-basis: 100%;
    width: 100%;
}

#footer .top .right p {
    margin-bottom: unset;
    font-size: 10pt;
}

#footer .top .right p:first-child {
    align-self: start;
}

#footer .top .right .name {
    margin-bottom: 12px;
    font-size: 14pt;
}

#footer .bottom > div {
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    font-size: 7.5pt;
    line-height: 1.33;
}


/* ----------------------------------------------------------------------------------------------------- */
/* Responsywność */

@media (max-width: 817px) {

    body {
        margin-top: unset;
        margin-bottom: unset;
    }

}

@media (max-width: 767px) {

    #header > .top > .left,
    #header > .top > .right {
        min-width: 240px;
        justify-content: unset;
    }

    #header > .top > .right > .line2 {
        margin-top: 3px;
    }

    #footer > .bottom {
        display: revert;
    }

    #footer > .bottom > .left,
    #footer > .bottom > .right {
        flex-basis: unset;
    }

    #footer > .bottom > .left {
        display: none;
    }

    #footer > .bottom > .right {
        margin-top: 9px;
        text-align: center;
    }

}

@media (max-width: 539px) {

    #main .parameters .content {
        column-count: unset;
    }

    #main .parameters .content .parameter {
        margin-bottom: unset;
        padding-top: 3px;
        padding-bottom: 3px;
        padding-left: 8px;
    }

    #main .parameters .content .parameter:nth-child(odd) {
        background-color: #F8F8F8;
    }

    #main .parameters .content .parameter:nth-child(even) {
        background-color: unset;
    }

}


/* ===================================================================================================== */

@media print {

    html {
        background: none;
    }

    /*body {
        display: table;
    }*/

    header#header {
        display: table-header-group;
    }

    section#main {
        display: table-row-group;
    }

    #main .parameters {
        margin-top: 1em;
    }

    footer#footer {
        /*display: table-footer-group; <-- powtarzalność stopki na każdej stronie */
        margin-top: 1.5rem;
        page-break-before: avoid;
        page-break-inside: avoid;
        page-break-after: always;
    }

    @page {
        size: A4;
        margin: auto;
        width: 210mm;
        height: 297mm;

        @top-center {
            content: element(header);
        }

        @bottom-center {
            content: element(footer);
            page-break-before: avoid;
            page-break-inside: avoid;
            page-break-after: always;
        }
    }

}
