/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10 lut 2021, 15:47:10
    Author     : robertk
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');
*{
    margin: 0px;	
    padding: 0px;
    border: none;
    box-sizing: border-box;
}

h1{
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    margin-bottom: 40px;
    color: red;
}
h2{
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    margin-bottom: 30px;
    color: red;
}
h3{
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    margin-bottom: 30px;
    color: #333333;
}
h4{
    margin-bottom: 15px;
}
.bold{
    font-weight: bold;
}
a:link, a:visited{
    color: #333333;
}
a:hover{
    color: #acacac;
    transition: color 0.5s;
}
ul + h3{
    margin-top: 50px;
}
/*----------------- CLEARFIX     ---------------*/
.clearfix::after{
    content: "";
    clear: both;
    display: table;
}
/*----------------- Szablon    ---------------*/
body{
    background-color: white;
    font-family: 'Open Sans', sans-serif;
}
#wrap-container {
    width: 100%;
}
#main-header{
    padding-top: 20px;
    padding-bottom: 20px;
}
#main-header img{
    margin-left: 15px;
}
#main-menu{
    background-color: red;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;  
}
#main-baner{
    margin-bottom: 50px;
    z-index: -10;
}
#main-container{
    min-height: 500px;
    padding-top: 50px;
}
#main-container, #main-header>div, #main-menu>div, .kafelki{
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}
#main-header>div, #main-menu>div{
    padding-left: 0px !important; 
}
#main-footer{
    background-color: black;
    color: white;
    padding-top: 120px;
    padding-bottom: 120px;
    margin: auto;
    text-align: center;
}
#noscript{
    text-align: center;
    color: white;
    background-color: red;
    padding-top: 50px;
    padding-bottom: 50px; 
}
/*----------------- MENU MAIN    ---------------*/
.menu-m > a,.menu a:link, .dropdown{
    float: left;
    color: white;
}
.menu-m-item, .dropbtn, .dropdown-items a{
    display: block;
    padding: 20px 15px 20px 15px;
    color: white;
    background-color: red;
    text-decoration: none;
    transition: 0.5s;
    font: inherit;
}
.menu-m a:hover, .dropbtn:hover{
    background-color: #ff6666;
    cursor: pointer;
}
.hidden{
    display: none;
}
.checked{
    border-bottom: #ffffff 2px solid;
}
/* --------- dropdown ---------*/
.dropdown-items{
    display: none;
    position: absolute;
    min-width: 230px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}
.dropdown:hover .dropdown-items {
    display: block;
    animation: animate1 300ms ease-in-out forwards;
    transform-origin: top center;
}
@keyframes animate {
    0%   { transform: scaleY(0)}
    80%  { transform: scaleY(1.1)}
    100% { transform: scaleY(1)}
}
@keyframes animate1 {
    0% {transform: rotateX(-90deg)}
    70% {transform: rotateX(20deg)}
    100% {transform: rotateX(0deg)}
}

/* ---------------- MENU DOWN    ---------------*/
.main-downlinks{
    background-color: red;
    color: white;
    padding: 10px 30px 30px 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.main-downlinks div{
    padding: 30px;
}
.main-downlinks p, .main-downlinks a{
    display: block;
    margin-bottom: 5px;
    color: white;
    text-decoration: none;
}
.main-downlinks h3{
    margin-bottom: 10px;
    margin-top: 30px;
    color: white;
}

/* ------------------BANER--------------------------- */
#main-baner img{
    display: block;
}
.baner-container {
    width:100%; 
    padding-bottom: 30%; /* wysokość w px,%*/
    overflow:hidden; 
    position:relative; 
}
.baner-container img{ 
    position:absolute; 
    animation:baner-aninmation 20s infinite; 
    opacity:0; 
    width: 100%; 
    height: auto;
}

@keyframes baner-aninmation {
    25%{opacity:1;} 
    40%{opacity:0;}
}
.baner-container img:nth-child(4){animation-delay:0s;}
.baner-container img:nth-child(3){animation-delay:5s;}
.baner-container img:nth-child(2){animation-delay:10s;}
.baner-container img:nth-child(1){animation-delay:15s;}

/* ------------------KAFELKI--------------------------- */
.kafelki{
    margin-top: 60px;
    margin-bottom: 30px;
}
.kafelki-row{
    display: flex;
    margin-bottom: 30px;
}
.kafelki-row >div{
    display: block;
    width: 31%;
    height: 80px;
    line-height: 80px;
    border: 1px solid #363636;
    position: relative;
    color: #363636;
    text-decoration: none;
}
.kafelki-row a{
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    color: #363636;
    text-decoration: none;
    background-position: right;
    background-repeat: no-repeat;
    transition: background-color 0.5s ease-out, color 0.5s ease-out;
}
.kafelki span{
    margin-left: 8%;
}
.kafelki a:hover{
    background-position: right;
    background-repeat: no-repeat;
    background-color: red;
    color: white;
}
.kafelki-row div:first-child, .kafelki-row div:nth-child(2){
    margin-right: 3%;
}

.z1 a:link, .z1 a:visited{ background-image: url(../img/z1.png);}
.z1 a:hover{background-image: url(../img/z1a.png);}
.z2 a:link, .z2 a:visited{background-image: url(../img/z2.png);}
.z2 a:hover{background-image: url(../img/z2a.png);}
.z3 a:link, .z3 a:visited{background-image: url(../img/z3.png);}
.z3 a:hover{background-image: url(../img/z3a.png);}
.z4 a:link, .z4 a:visited{background-image: url(../img/z4.png);}
.z4 a:hover{background-image: url(../img/z4a.png);}
.z5 a:link, .z5 a:visited{background-image: url(../img/z5.png);}
.z5 a:hover{background-image: url(../img/z5a.png);}
.z6 a:link, .z6 a:visited{background-image: url(../img/z6.png);}
.z6 a:hover{background-image: url(../img/z6a.png);}
.z7 a:link, .z7 a:visited{background-image: url(../img/z7.png);}
.z7 a:hover{background-image: url(../img/z7a.png);}
.z8 a:link, .z8 a:visited{background-image: url(../img/z8.png);}
.z8 a:hover{background-image: url(../img/z8a.png);}
.z9 a:link, .z9 a:visited{background-image: url(../img/z9.png);}
.z9 a:hover{background-image: url(../img/z9a.png);}
.z10 a:link, .z10 a:visited{background-image: url(../img/z10.png);}
.z10 a:hover{background-image: url(../img/z10a.png);}
.z11 a:link, .z11 a:visited{background-image: url(../img/z9.png);}
.z11 a:hover{background-image: url(../img/z9a.png);}
.z12 a:link, .z12 a:visited{background-image: url(../img/z13.png);}
.z12 a:hover{background-image: url(../img/z13a.png);}

/* =========================================================================== */
/* =========================================================================== */

/* ------------------ index --------------------------- */
.flexbox{
    display: flex;
    margin-bottom: 60px;
}
.flexbox >div{
    padding-right: 15px;
    width: 100%;
}
.policy h4{
    margin-top: 30px;
    margin-bottom: 10px !important;
}
/* ------------------ download --------------------------- */
.download li{
    display: block;
    margin-bottom: 10px;
    width: 100%;
}
.download a{
    display: block;
    line-height: 48px; 
}
.download li::before{
    content: url('../img/logo-oc.jpg');
    display: block;
    margin-right: 15px;
    float: left;
}
.download li::after{
    content: "";
    display: block;
    clear: both;
}
/* ------------------ porady --------------------------- */
.porady-img{
    width: 35% !important;
    margin-bottom: 25px;
}
.porady-img img{
    width: 100%;
}
.porady-moore{
    position: absolute;
    right: 0px;
    bottom: 0px;
}
.porady-opis{
    position: relative;
}
.porady-opis p{
    margin-bottom: 35px;
}
.porady h3{
    margin-top: 40px;
    margin-bottom: 10px !important;
}
.porady h4{
    margin-top: 40px;
    margin-bottom: 2px !important;
    font-style: italic;
}
.porady li{
    margin-left: 13px;
    margin-top: 10px;
}
.porady-return{
    margin-top: 50px;
    text-align: right;
}
/* ------------------ produkty --------------------------- */
.produkt-download{
    text-align: right;
    margin-bottom: 40px;
    height: 36px;
    line-height: 36px;
    padding-right: 70px;
    background-image: url(../img/download.jpg);
    background-position: right;
    background-repeat: no-repeat;    
}
.produkt-foto img:hover{
    cursor: zoom-in;
}
.produkt-foto{
    width: 500px;
    text-align: center;
}
.produkty{
    margin-bottom: 50px;
}
ul{
    margin-left: 15px;
}
.opis{
    margin-right: 50px;
    margin-bottom: 50px;
}
/* ------------------ produkty - tabelki --------------------------- */
.modele{
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border-bottom: #999999 1px solid;
    margin-bottom:  30px;
    font-size: smaller;
}
.modele th{
    background-color: #999999;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: larger;
}
.modele td, .tab-mocowanie td{
    padding-bottom: 1px;
    padding-top: 1px;
}
.trsec,.border-top{
    border-top: #999999 1px solid;
}
.border-bottom{
    border-bottom: #999999 1px solid;
}
tr:nth-child(odd){
    background-color: #dfdfdf;
}
.td1{
    background-color: white;
}
.tab-mocowanie{
    font-size: 15px;
    width: 100%;
    padding: 0px;
}
.w1{
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: 30px;
    line-height: 30px;
}
.l-cell{
    text-align: center;
}
.green, .greenbull{
    color: #18d619;
}
.redbull{
    color: red;
}

.greenbull, .redbull{
    font-size: 30px;
    line-height: 25px;
}

 /* ---------------- cookie alert -------------------   */
            .cookie-alert, .cookie-alert-backgound{
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0px;   
                display: none;
            }
            .cookie-alert-backgound{
                display: block;
                position: fixed;
                background-color: black; 
                z-index: 1;
                opacity: 0.7;
            }
            .cookie-alert-window{
                position: fixed;
                top: 150px;
                left: 0px;
                right: 0px;
                width: 500px;
                background-color: white;
                margin: auto;
                z-index: 110;
            }
            .cookie-ok{
                display: block;
                background-color: #009ee0;
                color: white;
                width: 100px;
                padding: 12px;
                margin: auto;
                margin-bottom: 30px;
                text-decoration: none;
                text-align: center;
                margin-top: 20px;
                transition: 0.5s;
                border-radius: 25px;
            }
            .cookie-ok:hover {
                background-color: #66ccff;
            }
            div.cookie-alert-window p:first-child{
                display: inline-block;
                width: 100%;
                padding: 30px;
                background-color: #009ee0;
                text-align: center;
                font-size: larger;
                color: white;
                margin-bottom: 30px;
            }
            div.cookie-alert-window p{
                padding-left: 30px;
                padding-right: 30px; 
            }

/* =========================================================================== */
/* =========================================================================== */

/* ------------------MEDIA QUERIES--------------------------- */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 790px) {
    .main-downlinks, .btn, .mobile-hidden{
        display: none;
    }
    .dropdown{
        width: 100%;
    }
    #main-menu{
        position: static;
    }
    .dropdown-items{
        display: none;
    }
    #main-container, #main-header>div, #main-menu>div,.kafelki{
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    #main-header img{
        margin-left: 0px;
        display: block;
        margin: auto;
    }
    .menu-m a{
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: #ffffff 1px solid;
    }
    #main-header>div, #main-menu>div{
        padding-left: 0px !important;
        padding-right: 0px !important; 
    }
    .dropdown:hover .dropdown-items {
        animation: none;
    }
    .hidden{
        display: inline;
    }
    .kafelki-row{
        flex-direction: column;
        margin-bottom: 0px;
    }
    .kafelki-row >div{
        width: 100%;
        margin-bottom: 20px;
    }
    .flexbox{
        flex-direction: column;
    }
    .porady-img{
        width: 100% !important;
    }    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 790px) {
    .menu-m-item, .dropbtn, .dropdown-items a{
        padding: 20px 10px 20px 10px;
        font-size: smaller;
    }
} 
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .kafelki-row, .flexbox{
        flex-direction: row;
    } 
    .menu-m-item, .dropbtn, .dropdown-items a{
        padding: 20px 15px 20px 15px;
        font-size: inherit;
    }
}
