:root {
    --ui-color: #5c89d3;
}

body {
    margin: 0;
    padding: 0;
    background: #fafafa;
    min-height: 100vh;
    width: 100%;
    position: relative;
    font-family: titillium_webregular;
}

body * {
    margin: 0;
    padding: 0;
    position: relative;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
    float: left;
    outline: none;
    font-weight: 100;
    user-select: none;
    /* box-shadow: 0 0 1px rgba(0, 0, 0, .5); */
}

header *,
section *,
nav * {
    position: relative;
}

.off { display: none !important; }
.hide { opacity: 0 !important; }










main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header {
    width: auto;
    min-width: calc(100% - 360px);
    height: 80px;
    margin: 40px 0 0 0;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 1280px) { header { min-width: calc(100% - 240px); }}
@media (max-width: 1024px) { header { min-width: calc(100% - 80px); }}
@media (max-width: 800px) { header { margin: 0; }}
@media (max-width: 640px) { header { min-width: calc(100% - 48px); }}

#logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}

#logo img {
    width: 220px;
    height: 32px;
    transition: all .15s cubic-bezier(.785, .135, .15, .86);
}

@media (max-width: 800px) { #logo img { width: 180px; height: 26px; }}
@media (max-width: 640px) { #logo img { width: 140px; height: 20px; }}

#users-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

#users-icon .icon {
    width: 48px;
    height: 48px;
    margin: 0 0 0 8px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 10pt;
}

#users-icon .icon svg {
    width: 20px;
    height: 20px;
    color: #0768c7;
}

#users-icon .icon:hover svg {
    color: #248dfa;
}










section {
    max-width: 1280px;
    margin: 40px 0 0 0;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 20pt;
    font-family: titillium_webthin;
    text-align: center;
    width: 100%;
    color: #666;
    text-wrap: balance;
    padding: 0 40px;
}

h1 b {
    font-family: titillium_webregular !important;
    float: none;
    color: #0768c7;
}

h2 {
    font-size: 12pt;
    text-align: center;
    margin: 16px 0 0 0;
    font-family: titillium_weblight;
    width: 100%;
    color: #666;
    padding: 0 160px;
    text-wrap: balance;
}

h3 {
    font-size: 16pt;
    text-align: left;
    margin: 24px 0 0 0;
    font-family: titillium_websemibold;
    width: 100%;
    color: #0768c7;
    text-wrap: balance;
}

.mbxl { margin-bottom: 48px; }
.mbl { margin-bottom: 24px; }

@media (max-width: 1280px) { h2 { padding: 0 120px; }}
@media (max-width: 1024px) { h2 { padding: 0 80px; }}
@media (max-width: 640px) { h2 { padding: 0 48px; }}










/* --   PRODUKTY   -- */

.products-icons.sub { margin: 0; }
.products-icons {
    max-width: 1280px;
    margin: 80px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    transition: all .2s ease-out;
}

.products-icons .category-title {
    width: 100%;
    height: 140px;
    text-align: center;
    font-family: titillium_webregular;
    font-size: 20pt;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0768c7;
}

/* .products-icons .category-title span {
    color: #fff;
    background: #0768c7;
    padding: 4px 8px;
    border-radius: 3px;
} */

.products-icons .go-back {
    width: 256px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.products-icons .go-back .circle {
    width: 100px;
    height: 100px;
    background: #eee;
    border-radius: 100%;
    transition: all .2s cubic-bezier(.785, .135, .15, .86);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, -68px);
}

.products-icons .go-back .circle:hover svg { color: #444; }
.products-icons .go-back .circle svg {
    width: 48px;
    height: 48px;
    color: #aaa;
}

.products-icons .product {
    width: 256px;
    height: 300px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    margin: 0 0 24px 0;
}

.products-icons .product:hover .circle { transform: /* scale(1.1) */ translate(0, -16px); }
.products-icons .product .circle {
    width: 190px;
    height: 190px;
    background: #eee;
    border-radius: 100%;
    transition: all .2s cubic-bezier(.785, .135, .15, .86);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-icons .product.square .circle {
    border-radius: 8px;
}

.products-icons .product.square .circle img {
    object-fit: contain;
    width: 180px;
    height: 180px;
}

.products-icons .product:hover .circle-shadow {
    transform: translate(-50%, -8px) scale(1.2, 1.1);
    filter: blur(7px);
    background: rgba(0, 0, 0, .19);
}

.products-icons .product .circle-shadow {
    content: '';
    position: absolute;
    left: 50%;
    top: 190px;
    width: 140px;
    height: 16px;
    filter: blur(6px);
    background: rgba(0, 0, 0, .2);
    border-radius: 100%;
    transform: translate(-50%, -8px);
    transition: all .2s cubic-bezier(.785, .135, .15, .86);
    z-index: -1;
}

.products-icons .product .circle img {
    object-fit: cover;
    width: 190px;
    height: 190px;
}

.products-icons .product .title {
    text-align: center;
 /* font-family: titillium_websemibold;
    text-transform: uppercase;
    font-size: 12pt; */
    font-family: titillium_webregular;
    font-size: 11pt;
    margin: 24px 0 0 0;
    color: #666;
    padding: 3px 6px;
    border-radius: 3px;
    transition: all .15s cubic-bezier(.785, .135, .15, .86);
}

.products-icons .product:hover .title {
    color: #fff;
    background: #0768c7;
}

.products-icons .product .price {
    text-align: center;
    font-family: titillium_websemibold;
    text-transform: uppercase;
    font-size: 14pt;
    margin: -2px 0 0 0;
    color: #0768c7;
}












.long_text {
    width: 780px;
    height: auto;
    position: relative;
    float: left;
    text-align: justify;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 0 0 50px 0;
    font-size: 10pt;
    color: #444;
    text-wrap: pretty;
}

.long_text > ol { margin: 24px 0 0 0; }
.long_text ul,
.long_text ol {
    font-size: 10pt;
    padding: 0 0 0 25px;
    line-height: 150%;
    color: #444;
    float: none;
}

.long_text ul li,
.long_text ol li {
    width: 100%;
    float: none;
    height: auto;
    margin: 0 0 4px 0;
    text-wrap: pretty;
}

.long_text ol li.big {
    font-size: 16pt;
    color: #0768c7;
    font-family: titillium_websemibold;
    margin: 20px 0 20px 0;
}

.long_text ol a {
    color: #0768c7;
}

.long_text b {
    float: none;
    font-family: titillium_websemibold;
}

@media (max-width: 1024px) { .long_text { width: calc(100% - 80px); }}











/* --   STOPKA   -- */

footer {
    width: 100%;
    min-height: 300px;
    margin: 40px 0 0 0;
    background: #054076;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgba(255, 255, 255, .8);
}

footer a { color: rgba(255, 255, 255, .8); }
footer a:hover { color: #81c8ff; }

footer .columns {
    max-width: 1280px;
    margin: 0 20px;
}

footer .columns .column {
    width: 360px;
    margin: 40px 0 0 0;
    padding: 0 24px;
}

footer .columns .column .title {
    width: 100%;
    margin: 0 0 20px 0;
    font-size: 14pt;
    font-family: titillium_websemibold;
    color: #81c8ff;
}

footer .columns .column .text .big {
    font-family: titillium_websemibold;
    font-size: 14pt;
}

footer .columns .column .text.move-right { transform: translate(32px, 0); }
footer .columns .column .text {
    width: 100%;
    font-size: 10pt;
    line-height: 175%;
}

footer .columns .column .text span {
    float: none;
}

footer .copyright {
    width: 100%;
    text-align: center;
    font-size: 9pt;
    margin: 80px 0 40px 0;
    text-transform: uppercase;
    opacity: .5;
}

#icon-phone {
    position: absolute;
    left: -32px;
    top: 94px;
    width: 20px;
    height: 20px;
}

#icon-phone svg {
    width: 20px;
    height: 20px;
    float: none;
}

#icon-pin {
    position: absolute;
    left: -32px;
    top: 0;
    width: 20px;
    height: 20px;
}

#icon-pin svg {
    width: 20px;
    height: 20px;
    float: none;
}

@media (max-width: 1280px) {
    footer .columns .column {
        width: 280px;
    }
}

@media (max-width: 640px) {
    #icon-pin,
    #icon-phone {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        display: block;
        margin: 0 0 4px 0;
    }

    footer .columns .column {
        text-align: center;
        width: 100%;
        padding: 0;
    }

    footer .columns .column .text { text-align: center; }
    footer .columns .column .text a { float: none; }
    footer .columns .column .title { text-align: center; }
    footer .columns .column .text.move-right { transform: translate(0, 0); }
}










#contact_columns {
    width: auto;
    height: auto;
    position: relative;
    float: left;
    text-align: center;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: titillium_webregular;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#contact_columns .column {
    width: 480px;
    height: auto;
    margin: 30px 0 0 0;
    float: left;
}

#contact_columns .column .field {
    float: left;
    width: 100%;
    margin: 0 0 40px 0;
}

#contact_columns .column .field .icon {
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact_columns .column .field .icon svg {
    width: 20px;
    height: 20px;
    color: #0768c7;
}

#contact_columns .column .field .title {
    float: left;
    font-size: 15pt;
    color: #0768c7;
    font-family: titillium_websemibold;
    line-height: 20px;
}

#contact_columns .column .field .text {
    float: left;
    clear: both;
    font-size: 10pt;
    color: #666;
    font-family: titillium_webregular;
    line-height: 150%;
    margin: 20px 0 0 35px;
    text-align: left;
}

#contact_columns .column .field .text .phone {
    float: left;
    font-size: 12pt;
    clear: both;
    font-family: titillium_websemibold;
}

#contact_columns .column .field .text span {
    float: left;
    clear: both;
}

form input,
form textarea {
    width: 370px;
    display: inline-block;
    padding: 8px;
    color: #777;
    border-radius: 5px;
    border: 1px solid #aaa;
    margin: 0 0 10px 0;
    box-sizing: border-box;
}

form textarea {
    height: 100px;
    font-family: titillium_webregular;
}

form input:hover {
    background: #fafafa;
}

form input.empty,
form textarea.empty {
    border: 1px solid #d90000;
}

::-webkit-input-placeholder { color: #ccc; }
::-moz-placeholder { color: #ccc; }
:-ms-input-placeholder { color: #ccc; }
:-moz-placeholder { color: #ccc; }

#send_message {
    background: #0768c7;
    color: #fff;
    cursor: pointer;
    padding: 6px 12px;
    float: left;
    margin: 20px 0 0 35px;
    clear: both;
    font-size: 10pt;
    border-radius: 5px;
}

#alert_send_message {
    float: left;
    color: #00900e;
    margin: 20px 0 0 12px;
    font-size: 10pt;
    line-height: 30px;
    transition: all .2s ease-out;
}

#alert_fill_required {
    float: left;
    color: #ff0000;
    margin: 20px 0 0 12px;
    font-size: 10pt;
    line-height: 30px;
    transition: all .2s ease-out;
}





/* .komunikat {
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 0 0 32px 0;
    margin: 0 0 32px 0;
    text-align: center;
    color: #ff0000;
} */





@media (max-width: 640px) {
    #contact_columns .column {
        width: calc(100% - 48px);
        margin: 0;
    }

    #contact_columns .column .field .icon {
        width: 100%;
        margin: 0 0 16px 0;
    }

    #contact_columns .column .field .title {
        width: 100%;
    }

    #contact_columns .column .field .text {
        width: 100%;
        text-align: center;
        margin: 20px 0 0 0;
    }

    #contact_columns .column .field .text span {
        width: 100%;
    }

    form .line,
    form textarea,
    form input,
    form {
        width: 100%;
    }

    #send_message {
        margin: 20px 0 0 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    #alert_fill_required,
    #alert_send_message {
        width: 100%;
        text-align: center;
        margin: 20px 0 0 0;
    }
}

