span.title {
    color: rgb(193, 138, 255);
    text-shadow: 2px 2px 5px rgb(220, 189, 255);
}

div.hazirend {
    margin: auto;
    width: 80%;
    border: 15px solid #88c927;
    padding: 10px 20px;
    font-weight: bold;
    hyphens: auto;
}

div.hazirend h2 {
    color: #88c927;
    text-decoration: underline;
}

div.hazirend ol {
    text-align: justify;
    padding-left: 20px;
}

div.hazirend li {
    padding-bottom: 10px;
    padding-left: 10px;
}

div.hazirend li::marker {
    color: #558d00;
}

div.paper {
    width: 100%;
    overflow: auto;
}

div.paper img {
    display: block;
    width: 80%;
    margin: auto;
    border: 2px solid black;
    cursor: pointer;
    min-width: 600px;
}

p.dokumentumok {
    text-align: justify;
    width: 80%;
    margin: auto;
    font-size: 20px;
    hyphens: auto;
    font-weight: bold;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}

.modal-content {
  margin: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.caption {
  position: relative;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  margin-bottom: 100px;
  font-size: 24px;
  z-index: 2;
}

.modal-content, .caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

div.back {
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.sidenav {
    width: 180px;
    position: sticky;
    float: left;
    top: 50px;
    left: 20px;
    background: #1b1b1b;
    overflow-x: hidden;
    padding: 8px 0;
    margin-top: 40px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
}
  
.sidenav a {
    padding: 6px 8px 10px 16px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
}
  
.sidenav a:hover {
    font-weight: bold;
}

div.hatasok {
    text-align: justify;
    padding: 10px 30px;
    background-color: #c8ff77;
    width: 80%;
    margin: auto;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    hyphens: auto;
}

div.hatasok h2 {
    color: #558d00;
}

div.hatasok li {
    padding-bottom: 10px;
    padding-left: 10px;
}

div.egyeb ul {
    width: 80%;
    margin: auto;
    text-align: justify;
    font-size: 20px;
    font-weight: bold;
    hyphens: auto;
}

div.egyeb li {
    padding-bottom: 10px;
    padding-left: 10px;
}

div#ellenjavallat ul {
    font-weight: bold;
}

@media screen and (max-width: 1300px) {
    div.paper img {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    div.hazirend, div.hatasok, div.egyeb ul {
        width: 100%;
    }
}

@media screen and (max-width: 1060px) {
    div.hazirend, div.hatasok, div.egyeb ul {
        width: 80%;
    }

    div.sidenav {
        display: none;
    }
}

@media screen and (max-width: 950px) {
    div.hazirend, div.hatasok, div.egyeb ul {
        width: 100%;
    }
}

@media screen and (max-width: 815px) {
    div.hazirend, div.hatasok, div.egyeb ul {
        width: 80%;
    }
}

@media screen and (max-width: 750px) {
    div.hazirend, div.hatasok, div.egyeb ul {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    div.hazirend {
        border: 0;
        padding: 0;
    }

    div.hatasok ul, div.egyeb ul {
        padding-left: 10px;
    }

    div.hazirend li, div.hatasok li, div.egyeb li {
        padding-bottom: 20px;
    }

    div.egyeb ul, p.dokumentumok {
        font-size: 16px;
    }
}