body {
    background-image: url("tlo.jpg");
    background-size: 100%;
    background-repeat: repeat;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    color: white;
    margin: 0;
    font-size: 18px;
}
div.container{
    max-width: width: 1140px;
    width: 100%
    margin: auto;
    padding: 0 15px;
}
div.main-content{
    width: 70%;
    float: left;
    min-height: 400px;
}
div.sidebar{
    width: 30%;
    float: left;
}
.submenu{
       z-index: 999;
}
aside {
    min-height: 450px;
}
div.filmik{
    margin: auto;
    text-align: center;
    z-index: -1;
}
div.content{
    overflow: auto;
}
article, aside, section, header{
    display: block;
}
article, .title, footer, aside{
    padding: 10px;
}
header{
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}
header img{
      width: 140px;
      height: 100px;
}
article{
    margin-left: 15px;
    margin-bottom: 15px;
    overflow: auto;
    text-align: justify;
}
footer{
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
}
footer img{
    margin-left: 10px;
    margin-right: 5px;
}
footer a {
    margin: 0 5px;
    text-decoration: none;
    color: #55f;
}
figure{
    position: absolute;
    margin-top: 10px;
    margin-bottom: 0px;
    top: 0px;
}
.podpisy{
    text-align: center;
    margin-top: 0px;
}
input {
    font-size: 20px;
    text-align: center;
}
h1{
  color: lightskyblue;
  text-align: center;
  font-size: 30px;
}
div h2{
    color: #0070ba;
}
header h2.mc2{
    color: #f00;
    margin-left: 150px;
}
iframe{
    border-width: 2px;
    border-color: #888;
}
nav ul{
    list-style: none;
    overflow: auto;
    padding: 0px;
}
nav ul li{
    float: left;
    margin: 10px;
    height: 40px;
    min-width: 60px;
    width: 10vw;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    display: table;
    height: 100%;
    width: 100%;
}
nav ul li a span{
    display: table-cell;
    vertical-align: middle;
}
.przycisk{
    background: url('tlo_button.jpg');
}
.przycisk :hover{
    color: #f00;
    font-weight: bold;
    border-color: rgba(150, 150, 150, 0.8);
    border-style: inset;
}
.submenu .przycisk{
    border-style: none;
}
#tematy{
    padding: 0;
}
#tematy ul{
    margin: 0;
}
#tematy li{
    width: 130px;
    padding: 0;
}
ol {
        list-style-type: none;
        padding:0;
        margin:0;
        font-size:18px;
        height:2em;
        line-height:2em;
        text-align:center;
      }

      /* wygląd wszystkich elementów - a - znajdujących się w elemencie - ol */
ol a {
    display: block;
    text-decoration: none;
    color:#fff;
     padding:0 5px;
     }

      /* wygląd elementów - li - wszystkich dzieci elementu - ol */
      ol li {
        float:none;
        min-width: 80px;
        width:80%;
        margin: auto;
	 margin-top: 10px;
	 margin-bottom: 10px;
        height: 2em;
	 position: relative;
      }

      /* wygląd elementów - li - wszystkich dzieci elementu - ol - po najechaniu 

kursorem myszki na element - li */
      ol li:hover {
        color: red;
      }

      /* wygląd elementu - a - dziecka elementu - li - będącego dzieckiem 

elementu - ol - po najechaniu kursorem myszki na element - li */
      ol li:hover a {
        color:#FFF;
      }

      /* wygląd elementu - ul - dziecka elementu - li - będącego dzieckiem 

elementu - ol - po najechaniu kursorem myszki na element - li */
      ol li:hover ul {
        display:block;
	position: absolute;
	width:100%;
	left: 100%;
	top: 0;
      }

      /* ------------------------CZĘŚĆ-ROZWIJANA-MENU------------------------ */

      /* wygląd głównych rozwijanych elementów - ul */
      ol li ul {
        display:none;
        list-style-type:none;
        padding:0;
        margin:0;
      }

      /* wygląd elementu - li - w części rozwijanej */
      ol li ul li {
        position:relative;
        margin: 0;
        width: 100%;
        min-width: 200px;
      }

      /* wygląd elementu - a - w części rozwijanej */
      ol li ul li a {
        box-shadow: 0 0 0 1px white;
        color: #FFF;
      }

      /* wygląd elementu - li - w części rozwijanej, po najechaniu kursorem 

myszki na dany element - li */
      ol li ul li:hover {
        color: #FFF;
      }

      /* wygląd elementu - a - w części rozwijanej, po najechaniu kursorem myszki 

na element - li */
      ol li ul li:hover a {
        color:#F00;
      }
#tomenu{
    display: none;
     }

@media (max-width: 1100px) {
     iframe {
    width: 60vw;
    height: 52vw;
    }
}


@media (max-width: 640px) {
#tomenu{
    display: block;
    position: fixed;
    height: 50px;
    width: 50px;
    background-color: black;
    right: 15px;
    bottom: 15px;
    border: 2px solid white;
    border-radius: 5px;
    z-index: 1;
}
#tomenu a{
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}
#tomenu table{
    table-layout: auto;
    width: 100%;
}
#tomenu td{
    text-align: center;
    font-size: 16px;
}

    header figure {
        position: static;
    }
   header h2.mc2 {
        margin-left: 0px;
    }
   article {
     margin-left: 0;
     padding: 0 5px;
    }
   ol {
    width: 50%;
    text-align: left;
    display: table-cell;
    }
   ol li {
    height: auto;
    margin-left: 0px;
    }
   ol li ul {
        display: block;
        margin-left: 20px;
    }
ol li:hover ul {
        display:block;
        position: static;
        width: 80%;
      }
ol li ul li a {
        box-shadow: none;
      }
   nav ul li {
    width: 20%;
    }
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    }
div.content {
    display: flex;
    flex-wrap: wrap-reverse;
    }
div.sidebar, div.main-content  {
    width: 100%;
}
iframe {
    width: 80vw;
    height: 70vw;
    }
footer {
     display: block;
}
footer a {
    display: block;
    margin-left: 0px;
    }
}