body, html{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background: #000;
    color: #eee;
}

#glowna{
    margin-bottom: 80px;
}

header{
    width: 100%;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #eee;
}

header nav{
    float: right;
}

.menu_icon {
    width: 35px;
    cursor: pointer;
}

.menu_icon:hover{
    opacity: 0.7;
}

.menu_icon div {
    width: 100%;
    height: 5px;
    background-color: #eee;
    margin: 6px 0;
    transition: 0.4s;
}

#turnieje{
    margin-bottom: 80px;
}

.item{
    padding: 10px;
    width: 300px;
}

.item img{
    height: 450px;
}

.item h3{
    font-size: 16pt;
    text-align: center;
}

.lista{
    text-align: center;
}

.lista h2{
    color: #eee;
    font-weight: bolder;
}

.lista a{
    display: inline-block;
    text-decoration: none;
    color: #eee;
}

.lista a:hover{
    opacity: 0.7;
    cursor: pointer;
}

header nav a{
    display: block;
    float:left;
    margin: 0 30px 0 0;
    padding: 25px 0 25px 0;
    font-weight: bold;
    text-decoration: none;
    color: #eee;
}

header nav a:hover{
    cursor: pointer;
    opacity: 0.7;
}

.menu_active{
    color: #ffef00;
}

article header{
    clear: both;
    text-align: center;
}

article header h3{
    padding: 20px 0 0 0;
    margin: 0 0 -10px 0;
}

article{
    clear: both;
    margin: 0 auto;
    text-align: right;
    font-weight: bold;
}

article img{
    width: 100%;
}

#contact{
    text-align: center;
    margin-bottom: 80px;
}

#contact a{
    text-decoration: none;
    color: #eee;
}

.zolte{
    color: #ffef00;
}

.contact_item{
    width: 150px;
    text-align: center;
    display: inline-block;
    padding: 20px;
}

.contact_item:hover{
    opacity: 0.7;
    cursor: pointer;
}

.contact_item img{
    width: 100%;
}

#gallery{
    text-align: center;
    margin-bottom: 80px;
}

.miniatura_zdjecia{
    line-height: 200px;
    display: inline-block;
    margin: 0;
    max-width: 300px;
    max-height: 200px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ffef00;
}

.miniatura_zdjecia img{
    width: auto;
    max-width: 300px;
    max-height: 200px;
    line-height: 200px;
    vertical-align: middle;
    z-index: 0;
}

.miniatura_zdjecia img:hover{
    opacity: 0.7;
    cursor: pointer;
}

#full_screen{
    background: rgba(50,50,50,0.7);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
}

#full_image{
    max-height: 100%;
    max-width: 100%;
}

#zapisy{
    text-align: center;
    margin-bottom: 80px;
}

#zapisy h2{
    padding: 20px auto;
}

#zapisy hr{
    color: #eee;
}

#zapisy input{
    display: inline-block;
    background: none;
    color: #eee;
    border: 1px solid #ffef00;
    font-size: 14pt;
    padding: 0 10px;
    border-radius: 10px;
}

#zapisy input[type="file"]{
    border: none;
}

#zapisy input[type="submit"]{
    margin: 20px auto;
    color: #ffef00;
    border-radius: 10px;
    font-weight: bold;
}

#zapisy input[type="submit"]:hover{
    background: #ffef00;
    color: #000;
    cursor: pointer;
}

.err, .site_err, .error{
    color: #ff0000;
    font-weight: bold;
    text-align: center;
}

.error_msg{
    color: #ffef00;
    font-weight: bold;
    padding-top: 80px;
    text-align: center;
}

.success{
    color: #ffef00;
    font-weight: bold;
    text-align: center;
}

#teams table tr td img{
    max-width: 300px;
    max-height: 300px;
}

#teams table tr td{
    border: 1px solid #ffef00;
    border-collapse: collapse;
}

@media (orientation: landscape) and (min-width: 1024px){
    header{
        height: 90px;
    }

    header img{
        float: left;
        margin: 8px 20px 0 20px;
        max-height: 70px;
    }

    .menu_icon{
        display: none;
    }

    header nav a{
        font-size: 20pt;
    }

    article{
        width: 40%;
        max-width: 1000px;
    }

    article h3{
        font-size: 20pt;
    }

    #glowna article iframe{
        width: 100%;
        height: 60vh;
    }

    #zapisy input{
        display: inline-block;
        width: 400px;
        height: 60px;
    }
}

@media (orientation: portrait ) or (max-width: 1024px){
    header{
        min-height: 60px;
    }

    header img{
        float: left;
        display: block;
        max-height: 50px;
        margin: 0 0 0 20px;
    }

    .menu_icon{
        float: right;
        margin: 5px 40px 5px 0;
    }

    nav{
        width: 100%;
        display: none;
        background: #000;
    }

    nav a{
        text-align: center;
        float: none;
        display: block;
        width: 100%;
        border-bottom: 1px solid #eee;
        background: #000;
        font-size: 16pt;
    }

    article{
        width: 90%;
    }

    #glowna article iframe{
        width: 100%;
        height: 65vw;
    }

    #zapisy input{
        margin: 0 auto;
        width: 300px;
        height: 80px;
    }
}

footer{
    width: 100%;
    height: 50px;
    border-top: 1px solid #eee;
    margin: 100px 0 0 0;
    padding: 0 0 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    font-weight: bold;
    background: #000;
}

footer span{
    color: #ffef00;
}