* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Calibri, sans-serif;
    color: #fff;
    background: #000;
}

.content {
    margin: 0 auto;
    width: 100%;
    max-width: 1130px;
/*    padding: 0 15px;*/

}

.content-title {
    padding: 40px 50px;
}

.content-text {
    background-color:rgba(0,0,0,0.8);
    padding:0 10px;
    overflow: hidden;
}

h1 {
    margin: 10px 0 0;
    padding: 0;
    font-size: 30px;
    text-align: center;
}

p {
    margin: 0 0 30px 0;
    font-size: 22px;
    line-height: 1.5;
}

.fullscreen-bg,
.fullscreen-bg-other {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

.fullscreen-bg-other {
    background: url('bg_gray.jpg') center center / cover no-repeat;
}
.fullscreen-bg__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* --- Na telefonie: pokaż CAŁĄ wysokość, przytnij boki --- */
@media (max-width: 768px) {
    .fullscreen-bg__video {
        width: auto;
        height: 100%;
        min-width: 0;
        min-height: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover; /* wypełnia wysokość, przycina boki */
    }
}



.logo {
    height: 400px;
    width: 300px;
    background: url('logo.png') center center no-repeat;

    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:99;

}

br { clear:left }
/*
.menu_simple {
    width: 100%;
    background: rgba(0,0,0,0.9);
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    font-size: 18px;
    position:absolute;
    z-index:100;
}

.menu_simple ul {
    margin: 0; padding: 0;
    float: left;
}

.menu_simple ul li {
    display: inline;
    float:left;
}

.menu_simple ul li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 11px 12px 9px 25px;
    margin-left: 5px;
    transition: 0.3s;
}

.menu_simple ul li a:hover, .menu_simple ul li.current a {
    color: #40aeff;
    background: url('logo_mini20.png') 0 center no-repeat;
}

.menu_simple ul li.icon {display: none;}

*/

.line {
    position: relative;
    background: transparent url("line.png") repeat scroll center center;
    height: 12px;
}

.line .logo-container {
    position: relative;
    width: 50px;
    height: 47px;
    top: -16px;
    left: 50%;
}

.line .logo-container .line-logo {
    position: relative;
    width: 50px;
    height: 47px;
    left: -30px;
    background: transparent url("logo_mini50white.png") no-repeat center center;
}

/*.line .logo-container .line-title {
    position: absolute;
    width: 50px;
    height: 47px;
    left: -25px;
}*/

.img-foot {
    height:60px;
    width:60px;
    float:left;
    margin: 2px 10px;
}

.img-yt {
    background: transparent url("youtube.png") no-repeat 0 0;
}
.img-fb {
    background: transparent url("facebook.png") no-repeat 0 0;
}

footer {
   clear:both;
   margin: 0 auto;
   padding:0 15px;
/*   position: absolute;
   bottom: 0;*/
   width: 100%;
   max-width: 1130px;
/*   left: 50%;
   transform: translate(-50%, 0);*/
}

footer a {
    color: #aaa;
}


ul.topnav {
    background: rgb(0 0 0 / 21%);
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    font-size: 18px;
    position:absolute;
    z-index:100;
    margin: 0; 
    padding: 0;
    float: left;
}
ul.topnav li {
    display: inline;
    float:left;
}
ul.topnav li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 11px 12px 9px 25px;
    margin-left: 5px;
    transition: 0.3s;
}
ul.topnav li a:hover, ul.topnav li.current a {
    color: #40aeff;
    background: url('logo_mini20.png') 0 center no-repeat;
}
ul.topnav li.icon,
ul.topnav li.menu-title {display: none;}


.nothome ul.topnav {
    position:relative;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.faces {
    margin-top:30px;
}

.faces img {
    width:210px;
    height:210px;
    margin-right:7px;
}

article {display:block;float:left;}
.content-padding-1 {padding:18px 0 37px 0}
.content-padding-2 {padding:23px 0 57px 0}
.padding-grid-1 {padding: 0 0 0 28px}
.padding-grid-2 {padding: 0 0 0 29px}
.padding-grid-3 {padding: 0 0 0 19px}
.padding-grid-4 {padding:3px 0 0 19px; line-height:24px}

html, body {
  height: 100%;
  margin: 0;
}
.content {
  min-height: 100%;
  margin-bottom: -80px;
}
footer,
.push {
  height: 80px;
}

@media only screen and (max-width: 500px) {
   /* .fullscreen-bg {
        background: url('background1.jpg') center center / cover no-repeat;
    }
    .fullscreen-bg__video {
        display: none;
    } */
    .img-foot {
        height: 40px;
        width: 40px;
        background-size: cover;
        margin: 2px 4px;
    }

    /*ul.topnav li:not(:first-child) {display: none;}*/
    ul.topnav { width: 100%; }
    ul.topnav li {display: none;}

    ul.topnav li.menu-title,
    ul.topnav li.icon {
        float: right;
        display: inline-block;
    }
    ul.topnav li.menu-title {
        float: left;
    }

    ul.topnav.responsive {
        position: relative;
    }
    ul.topnav.responsive li.icon {
        position: absolute;
        right: 0;
        top: 0;
    }    
    ul.topnav.responsive li.menu-title {
        display:none;
    }
    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: left;
        width:100%;
    }


}



.logo {
    height: 300px;
    width: 500px;
    background: url('logo.png') center center no-repeat;

    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.line .logo-container {
    position: relative;
    width: 64px;
    height: 47px;
    top: -16px;
    left: 50%;
}

.line .logo-container .line-logo {
    position: relative;
    width: 64px;
    height: 68px;
    left: -30px;
    background: transparent url("logo_mini50white.png") no-repeat center center;
}


small {
    font-size: 9px;
}

.kontakt {
    text-align: center;
    height: 200px;
    margin-top:10%;
    background: transparent url("mail.png") no-repeat center center;
}