body{
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    font-family: "Quicksand", "Helvetica", sans-serif;
}

/* bodyn belüli első elemek */

/* logo és menü*/
header{
    color:gray;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    letter-spacing: 0.14em;
}

header div.logo,
header nav {
    margin: 0.7em;
}

header div.logo {
    width: 100%;
}

header div.logo img.logo {
    width: 100%;
}

header nav {
    width: 100%;
}


header nav div ul.fomenu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
}

header nav div ul.fomenu li {
    list-style-type: none;
    margin: 2px;
}

header nav div ul.fomenu>li>a,
header nav div ul.fomenu>li>ul>li>a{
    text-decoration: none;
    color: darkslategrey;
}


header nav div ul.fomenu li {
  position: relative;
  
}

/* Style the dropdown button */
header nav div ul.fomenu li>a {
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 26px;
  border: 2px solid gray;
}

/* Dropdown content */
header nav div ul.fomenu li>ul {
  position: absolute;
  z-index: 100;
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
      align-content: center;
  background-color: #f4f4f4;
  padding: 10px;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Links inside dropdown content */
header nav div ul.fomenu li>ul>li>a {
  color: black;
  padding: 10px;
  margin: 8px;
  text-decoration: none;
  display: block;
}



/* Show the dropdown content on hover */
header nav div ul.fomenu li:hover ul {
  display: flex;
}






/* fő tartalom */
main article {
    width: 100%;
    background-color: #f4f4f4;
    padding: 5%;
}

main article header h1 {
    width: 100%;
    break-after: always;
}

main article ul {
    list-style-type: none;
    padding: 0;
}

main article .firstcol,
main article .secondcol {
    display: inline-block;
}
main article .firstcol {
    width: 40%;
    
}
main article .secondcol {
    width: 60%;
    
}

/* carousel lapozós tartalom */

aside.carousel {
    color:brown;
    width: 100%;
    min-height: 200px;
    background-color: #f4f4f4;
}


/* lábléc footer facebook */

footer {
    background-color: #f4f4f4;
    border-top:1em solid #f4f4f4;
    display: flex;
    align-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    color  : black;
}

footer .cegadatok,
footer .facebook {
    width: 100%;
}

footer .facebook a img {
    width: 100%;
}

/* nagyobb kijelzőn */

@media only screen and (min-width: 600px) {
    header div.logo {
        width: 30%;
    }
    header nav {
        width:60%;
    }
    header nav div ul.fomenu li>a {
        padding: 6px;
    }

    header nav div ul.fomenu {
        
        justify-content: flex-end;
    }

    main article {
        width: 80%;
        margin: 0 auto;
    }
    footer {
        width: 100%;
        padding: 0 10%;
    }
    footer .cegadatok,
    footer .facebook {
        width: 48%;
    }

    aside.carousel {
        width: 80%;
        margin: 0 auto;
        padding: 15px;
    }
}



* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #f4f4f4;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f4f4f4;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f4f4f4;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #cccbcb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}