* {padding:0;margin:0;}

html {width:100%;height:100%;}

body {
    font-family: 'PT Sans', sans-serif;
    font-size:12px;
    font-weight:300;
    /*color:#434343;*/
    color: #000000;
    background:#FFF;
    width: 100%;
    height: 100%;
}

@media (max-width: 850px){
    body {font-size:11px; font-weight:300;}
    .text {font-size: 1em}
}

.container {
    width: 100%;
    margin:0 auto;
}

@media (max-width: 500px) {
    .container {width: 95%;}
}

/* header */

#myHeader {

}


header {
    width: 100%;
    text-align: left;
    background-color: #ffffff;
    margin-bottom: 1em;
}

.logo {
    background-color: #ffffff;
    max-width: 70%;
    height: auto;
	margin: 2% 0 2% 5%;
}



header img {
    display: block;
/*    margin-left: auto;
    margin-right: auto;*/
    width:100%;
    height: auto;
 /*   object-position: center;*/
}

@media screen and (max-width: 800px) {
    header {display: none}
}

/* menu */


.navbar {
	width: 100%;
    display: flex;
    overflow: hidden;
    text-align: center;
    margin: 1em auto 2em;
/*    position: fixed;*/
    z-index: 99;
    justify-content: center;
}

.navbar .home {
    display: none;
}

.navbar .home:hover {
    margin-bottom: 0;
    border-bottom: none;
}

.navbar .home img {
    margin: 0 0 1em 1em;
    max-height: 50px;
    width: auto;
}

.navbar a {
    display: block;
    position: relative;
    float: left;
    font-size: 14px;
    color: #434343;
    text-align: center;
    margin: 15px 15px 0;
    padding-bottom: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    -webkit-backface-visibility:hidden;
          backface-visibility:hidden;
	transition:0.5s color ease;
}


.navbar .menu:after{
  content: "";
  transition:0.5s all ease;
  -webkit-backface-visibility:hidden;
          backface-visibility:hidden;
  position:absolute;
  bottom:0;
  height:2px;
   width:0;
  background:#0071b5;
left:50%;
  -webkit-transform:translateX(-50%);
          transform:translateX(-50%);
}




.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 14px;
    color: #434343;
    text-align: center;
    margin: 15px 15px 0;
    padding-bottom: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
}


.navbar a:hover {
    color: #0071b5;
}


.navbar .menu:hover:after{
  width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
width: 100%;
border-top: 1px #0071b5 solid;
    padding: 0;
    z-index: 1;
}



.dropdown:hover .dropdown-content {
  display: flex;
}


.navbar .icon {
    color: #0071b5;
    margin: 15px 0 0;
    font-size: 1.5em;
    font-weight: 800;
    transition:all 0.3s;
    display: none;
}

/*.navbar .icon:hover, .navbar .home:hover {
    border-bottom: 0;
    transition: all 0.3s;
}*/

/*.navbar .hidden {*/
/*display: none;*/
/*}*/

/*.dropdown-content a {
    float: none;
    font-size: 13px;
    color: #434343;
    margin: 15px;
    padding-bottom: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    display: block;
    text-align: left;
}
*/
.show {display:block;}

/*.dropdown-content a:hover {
    color: #0071b5;
    text-decoration: none;
    border-bottom: 1px solid #0071b5;
    margin-bottom: -1px;
    font-weight: 400;
}*/

.dropdown:hover .dropdown-content {
display: block;
font-weight: 600;
}

.dropbtn:hover {
    color: #0071b5;
    cursor: pointer;
}

@media screen and (max-width: 1320px) {
    .navbar .menu, .dropdown .dropbtn {margin: 15px 10px 0; font-size: 13px; letter-spacing: 1px}
}

@media screen and (max-width: 1070px) {
    .navbar .menu, .dropdown .dropbtn {margin: 15px 7px 0;font-weight: 400}
}



@media screen and (max-width: 800px) {
    .navbar {width: 100%; display: block; margin: auto}
    .navbar a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }

    .navbar a.icon {
        float: right;
        display: block;
        right: 20px;
    }

    .navbar .home {
        display: inline-block;

    }
}

@media screen and (max-width: 800px) {
    .navbar.responsive {position: relative; width: 100%; z-index: 1;}
    .navbar.responsive a.icon {
        margin-left: 5%;
        position: absolute;
        right: 20px;
        top: 0;
    }

    .navbar.responsive a {
        float: none;
        display: block;
        text-align: left;
        transition: none;
    }
    .navbar.responsive .dropdown {float: none;}
    .navbar.responsive .dropdown-content {
        position: relative;
        border-top: none;
        margin-top: 50px;
        border-bottom: 1px #0071b5 solid;
            }
    .navbar.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
        float: left;
    }

    .navbar.responsive .menu:hover{
            color: #0071b5;
    }

    .navbar.responsive .menu:after {
    	display: none;
    }
}

/* zyczenia */

.komunikat {
    width: 80%;
    height: auto;
    position: relative;
    margin: 1em auto 2em auto;
    border-style: double ;
    padding: 1em;
    text-align: center;
}

.komunikat h2 {
    font-size: 1.3em;
    letter-spacing: 2px;
    margin-bottom: 1.2em;
    margin-top: 1.2em;
    margin-left: 0.3em;
    margin-right: 0.3em
}

.komunikat a {
    text-decoration: none;
    color: #008be4;
}

.komunikat a:hover {
    color: #0071b5;
    text-decoration: none;
    border-bottom: 1px solid #0071b5;
    margin-bottom: -1px;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    top: 20px;

    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    color: #f5f5f5;
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.podpis {
    position: absolute;
    bottom: 10px;
    left: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    color: #f5f5f5;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 2px;
}

@media screen and (max-width: 750px) {
    .zyczenia {width: 100%; height: auto}
    .overlay {font-size: 1.2em; bottom: auto}
    .podpis {font-size: 0.9em}

}

@media screen and (max-width: 420px) {
    .overlay {font-size: 1em; bottom: auto}
    .podpis {font-size: 0.7em}
}



/* slideshow container */

.slideshow-container {
    width: 60%;
    height: auto;
    position: relative;
    margin: auto;
    /*z-index: -1;*/
}

.mySlides {
    display: none;
}

.mySlides img {
    object-fit: fill;
    object-position: center;
    width: 100%;
    height: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 2em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    color: #d4d4d4;
}

.text {
    color: #f5f5f5;
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 8px 0;
    position: absolute;
    bottom: auto;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}



.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor:pointer;
    height: 15px;
    width: 15px;
    margin: 50px 2px 10px 2px;
    background-color: #0071b5;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #002952;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media screen and (max-width: 800px) {
    .text {font-size: 1.2em;}

}

@media screen and (max-width: 650px) {
    .slideshow-container {width: 100%; height: auto}
    .text {font-size: 1.2em; bottom: auto}
    .dot {height: 10px; width: 10px; margin: 30px 2px 0 2px;}
}

@media screen and (max-width: 420px) {
    .text {font-size: 1em; bottom: auto}
}

/* main content */

.main {
    margin: 2% auto;
    width: 70%;
}

.main h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 0 0 0.5em 0.5em;
}

.main-content {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
}

video { 
    width: 80%;
    height: auto;
}

.event {
    position: relative;
    box-shadow: 0 4px 11px 5px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    width: 30%;
    max-height: 300px;
    min-height: 150px;
    margin: 1em auto 1em auto;
    overflow: hidden;
    color: #ffffff;
}

.event img {
    object-fit: scale-down;
    object-position: 0 0;
    width: 100%;
    filter: saturate(0.7);
    -webkit-filter: saturate(0.7);
}

.event:hover, .event:active{
    box-shadow: 0 8px 16px 5px rgba(0, 0, 0, 0.38);
    cursor: pointer;
}

.event img:hover {
    filter: saturate(1.1);
    -webkit-filter: saturate(1.1);
    cursor: pointer;
}

.event .event-title {
    position: absolute;
    padding: 5px 1%;
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 0;
    width: 100%;
}

.event .event-title:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.event-title h4 {
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-bottom: 1em;
    margin-left: 0.5em;
    margin-right: 1em;
}

.event-title p {
    margin-left: 0.3em;
    margin-right: 0.3em
}



.event a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.event a:hover {
    color: rgba(255, 255, 255, 0.83);
}



@media screen and (max-width: 950px) {
    .main {width: 90%; margin: 3% auto}

}

@media screen and (max-width: 750px) {
    .event {width: 40%;}
}


@media screen and (max-width: 600px) {
    .event {width: 80%; min-height: 300px}
}

@media screen and (max-width: 500px) {
    .main h1 {
        font-size: 2em;
        text-transform: uppercase;
        letter-spacing: 4px;

    }
    .event-title h4 {font-size: 0.9em;letter-spacing: normal;}
    .event-title p {font-size: 0.9em; letter-spacing: normal; font-weight: 200;}
}

@media screen and (max-width: 420px) {
    .event {width: 80%; min-height: 200px;}
    .event .event-title {padding: 1.5em 1em;}
    .event-title h4 {font-size: 0.9em;}
    .event-title p {font-size: 0.9em; letter-spacing: normal; font-weight: 200;}
}


/* footer */

footer {
    padding: 30px;
    color:#FFF;
    background:#121212;
}

footer h5 {
    font-size: 1.1em;
    letter-spacing: 2px;
    padding: 1em 0;
    text-align: center;
}

footer p {
    font-size: 1em;
    letter-spacing: 2px;
    padding: 1em 0;
}

footer a {
    color: #FFFFFF;
    font-size: 1em;
    letter-spacing: 2px;
    padding: 1em 0;
    text-decoration: none;
}

footer a:hover {
    text-decoration: overline;
}

.foot-content {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 20%;
}

.foot-content-s {
    width: 25%;
    padding: 1%;
}

.menuFooter p {
    margin-left: 20%;
}

@media screen and (max-width: 1140px) {
    .foot-content {margin:0 15%}
    .foot-content-s {width: 30%; padding: 1%;margin: auto
    }
}

@media screen and (max-width: 775px) {
    .foot-content {margin:0 15%}
    .foot-content-s {width: 35%; padding: 1%;margin: auto
    }
}

@media screen and (max-width: 650px) {
    .foot-content {margin: 0 10%}
    .foot-content-s {width: 40%; padding: .5%;
    }
}

@media screen and (max-width: 435px) {
    .foot-content {margin: 0 1%}
    .foot-content-s {width: 48%; padding: .5%;
    }
}

.credits {
    padding: 20px 25%;
    text-align: center;
    background:#121212;
    border-top: 1px solid #FFFFFF;
}

.credits p {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: .8em;
    padding-bottom: .5em
}

@media screen and (max-width: 650px) {
    .credits {padding: 10px 10%}
    .credits p {font-size: 0.8em; padding-bottom: .5em}
}




