/* --- *** --- */

* {
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    margin: 0;
	padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #000;
	text-shadow: 0.4px 0.4px #666;
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
a img {
	border: none;
}

p {
	line-height: 1.6;
	padding: 0;
	margin: 15px 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 20px 0;
	line-height: 1.4;
}

#lap {
    width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #ffffcc;
}

#cikk {
	padding: 15px 30px;
}

@media screen and (max-width:500px) {
  #cikk {
    padding: 15px 15px;
  }  
  #cikk .row img {
    padding-left: 0 !important;
  }
}

/* --- HEADER --- */

header {
	background-image: url("bg_header.png");
	background-repeat: repeat-x;
	background-color: #a7c17d;
    padding: 0;
	margin: 0;
	line-height: 0;
	color: #ffffff;
}

@media screen and (max-width:1000px) {
	header {
		background-image: url("bg_header_small.png");
		background-repeat: repeat-x;
		background-color: #a7c17d;
		padding: 0;
		margin: 0;
		line-height: 0;
		color: #ffffff;
	}
}
header h1 {
    background-color: #a7c17d;
	margin: 0;
	padding: 10px;
}

header a {
	color: #000000;
	text-decoration: none;
}

header a:hover {
	color: #000000;
	text-decoration: none;
}

header a:active {
	text-decoration: none;
}

header .fejlkep img {
    width: 100%;
    height: auto;
}

.balhed {
    float: left;
    margin: 0px;
    padding: 5px 0px 5px 10px ;
    width: 35%;
}
.jobbhed {
    float: right;
	text-align: right;
    margin: 0px;
    padding: 43px 10px 42px 0px;
    width: 65%;
}

@media screen and (max-width:1000px) {
  .balhed {
    float: left;
	text-align: center;
    margin: 0px;
    padding: 0px;
    width: 100%;
	}
	.jobbhed {
    float: right;
	text-align: center;
    margin: 0px;
    padding: 5px 30px 5px;
    width: 100%;
	}
}


/* --- SLIDESHOW --- */

#slideshow { 
    position: relative;
	line-height: 0;
}

#slideshow > div { 
    position: absolute;
	top: 0;
	left:0;
	width: 100%;
	height: auto;
}

#slideshow > div img { 
	width: 100%;
}

#slideshow > img { 
	width: 100%;
	opacity: 0;
}

/* --- NAV --- */

.clear:before,
.clear:after {
	content:" ";
	display: table;
}

.clear:after { clear: both;}

/* --- Nyilak --- */
.arrow {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 5px;
	vertical-align: middle;
}

.arrow.down {
	border-top: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.arrow.up {
	border-bottom: 4px solid;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

/* --- Menu csik --- */
nav {
	width: 100%;
	background: #226653;
}

nav ul {
	margin: 0;
	padding: 0;
	border: 0;
}

nav a {
	text-decoration:none;
	}

/* --- Menu kontener --- */
nav .menu-kontener {
	width: 95%;
	margin:0 auto;
	padding: 5px 0;
}

/* --- Hamburger menu --- */
nav .menu-mobil {
	cursor: pointer;
	display: none;
	float: left;
	padding: 2px;
	margin: 2px;
	background: #226653; 
}

/* --- Hamburger ikon --- */
nav .hamburger {
	background-color: #f2e561;
	display: block;
	width: 22px;
	height: 4px;
}

nav .hamburger + .hamburger {margin-top: 4px;}

/* --- Menupontok --- */
nav .menu ul {
	float: left;
}

nav .menu li {
	float: left; 
	list-style: none;
}

/* Fomenupontok-almenopontok? */
nav .menu li a,
nav .almenu {
	color: #f2e561;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	position: relative;
	display: block;
	padding: 6px 14px;
	transition: color .3s;
}

nav .menu li a:hover,
nav .almenu:hover,
nav .menu li a.aktiv,
nav .almenu.aktiv,
nav .almenu.active {
	color: #fff;
	text-shadow: 0.4px 0.4px #333;
	transition: color .5s;
}

nav .menu-mobil.active .hamburger {
	background-color: #fff; 
	transition: background-color .5s;
}

/* Almenupontok box */
nav .menu ul ul {
	display: none;
	float: none;
	position: absolute;
	background: #226653;
	z-index: 100;	
}

/* Almenupontok */
nav .menu ul ul li {
	float: none;
	border: 0;
}

nav .menu ul ul a {
	font-weight: normal;
}

nav .menu ul ul a:hover {
	font-weight: normal;
	transition: color .3s;
}

/* --- 850 alatt --- */
@media(max-width:851px) {
	nav .logo {padding-top: 8px;}
	nav .menu-mobil {display: inline-block;}
	nav .menu {display: none; clear: both;} 
	nav .menu > ul {float: none;} 
	nav .menu li {width: 100%; border: 0;} 
	nav .menu li:last-child {margin: 0 0 15px 0;} 
	
	nav .menu li a,
	nav .almenu { 
		display: block;
		background: #226653; 
		border-radius: 0px;
		padding: 10px;
		margin: 2px 0 0 0;
		border-bottom: 1px solid rgba(26, 26, 26, 0.5);
	}
	
	nav .menu ul ul { 
		position: static; 
		background: transparent; 
		display:none;
	}
	
	nav .menu ul ul a {background: transparent;} 
	/*nav .menu ul ul a:hover {background: #FFBB22;}*/ /* Almenük hover színe */
}

/* --- Kozossegi media ikonok --- */

nav .socialicons {
	float: right;
	padding: 0px 0px 0px 0px;
}

/* --- KEPGALERIA --- */

    .gallery {
      display: flex;
      flex-wrap: wrap;
	  width: 100%;
    }

    .gallery-item {
      flex: 1 1 auto;
      flex-basis: 175px;
      margin: .5em;
      max-width: 530px;
      max-height: 300px;
      position: relative;
      cursor: pointer;
      overflow: hidden;
      border: 0px solid #2c2c62;
    }

	 .gallery-item.item-5x8 {
      flex-basis: calc(175px * 0.625);
    }
    .gallery-item.item-2x3 {
      flex-basis: calc(175px * 0.666);
    }
    .gallery-item.item-3x4 {
      flex-basis: calc(175px * 0.75);
    }
    .gallery-item.item-1x1 {
      flex-basis: 175px;
    }
    .gallery-item.item-4x3 {
      flex-basis: calc(175px * 1.333);
    }
    .gallery-item.item-3x2 {
      flex-basis: calc(175px * 1.5);
    }
    .gallery-item.item-8x5 {
      flex-basis: calc(175px * 1.6);
    }
    .gallery-item.item-2x1 {
      flex-basis: calc(175px * 2);
    }

    .gallery-item::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      opacity: 0;
      background-color: rgba(0, 0, 0, 0.4);
      background-image: url("magnifier.png");
      background-position: center;
      background-size: 1.85rem;
      background-repeat: no-repeat;
      transition: opacity 250ms;
      z-index: 10;
    }
    .gallery-item .caption {
      position: absolute;
      text-align: center;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 1em 0;
      line-height: 1em;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.6);
      transform: translateY(4em);
      transition: transform 250ms;
      z-index: 20;
    }
    .gallery-item .caption span {
      display: inline-block;
      max-width: calc(100% - 2em);
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

    .gallery-item:hover .thumb {
      transform: scale(1.05);
    }
    @media (hover: hover) {
      .gallery-item:hover::after {
        opacity: 1;
      }
      .gallery-item:hover .caption {
        transform: translateY(0);
      }
    }
    .gallery-item .thumb {
      display: inline-block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: unset;
      text-align: center;
      background-color: #333;
      transition: filter 500ms, transform 500ms;
    }
    .ie-fix .gallery-item .thumb {
      width: auto;
    }

    .gallery-item .placeholder {
      filter: blur(20px);
    }	
	
    .lightbox-wrapper {
      display: none;
      background-color: #2e2e35;
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
    }
    .lightbox .lightbox-slides-wrapper {
      flex-grow: 1;
      display: flex;
      overflow: hidden;
      position: relative;
    }

    .lightbox {
      display: flex;
      flex-direction: column;
      height: 100%;
      color: white;
    }

    .lightbox .lightbox-header {
      flex-shrink: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.3);
      padding: 1em;
      font-weight: 600;
      text-align: center;
    }
    .lightbox .lightbox-header > * {
      opacity: .75;
    }

    .lightbox .lightbox-close {
      position: relative;
      height: 1.85rem;
      width: 1.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      padding: 0;
      border: none;
    }
    .lightbox .lightbox-close::before, .lightbox .lightbox-close::after {
      position: absolute;
      content: "";
      height: 4px;
      width: 80%;
      background-color: #fff;
    }
    .lightbox .lightbox-close::before {
      transform: rotate(-45deg);
    }
    .lightbox .lightbox-close::after {
      transform: rotate(45deg);
    }
    .lightbox .lightbox-close:hover {
      opacity: 1;
    }

    .lightbox .lightbox-arrow {
      position: absolute;
      top: 50%;
      width: 4rem;
      height: 4rem;
      padding: .5rem;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 1.5em;
      opacity: .75;
      cursor: pointer;
      filter: drop-shadow(0 0 7px #000);
    }
    .lightbox .lightbox-arrow:hover {
      opacity: 1;
    }
    .lightbox .lightbox-arrow.arrow-left {
      left: 0;
      background-image: url("leftarrow.png");
    }
    .lightbox .lightbox-arrow.arrow-right {
      right: 0;
      background-image: url("rightarrow.png");
    }

    .lightbox .lightbox-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-grow: 1;
      transition: all 0ms ease;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
    .lightbox .lightbox-slide[data-state="prev"] {
      transform: translateX(-100%);
      opacity: 0;
    }
    .lightbox .lightbox-slide[data-state="next"] {
      transform: translateX(100%);
      opacity: 0;
    }
    .lightbox .lightbox-image {
      display: none;
      max-width: 100%;
      max-height: 100%;
    }
    .lightbox .spinner {
      display: none;
    }

/* --- KAPCSOLAT --- */

.kapcsolat div.bal {
    float: left;
    width: 50%;
	text-align: left;
}
.kapcsolat div.jobb {
    float: right;
    width: 50%;
	text-align: center;
}

@media screen and (max-width:700px) {
	.kapcsolat div.bal, .kapcsolat div.jobb {
		width: 100%;
		text-align: center;
	}
}

/* --- Gomb --- */

.button{
  background-color: #226653;
  border: none;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  font-size: 15px;
  margin: 4px 2px;
  opacity: 1;
  transition: 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 230px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
	opacity: 0.8;
	color: #fff;
}

/* --- FOOTER --- */

footer {
    display: block;
	color: #f2e561;
	background-color: #226653;
	padding: 6px 15px 3px;
}

footer p {
	line-height: 1.0;
	padding: 0;
	margin: 10px 0;
}

footer a {
	color: #f2e561;
	text-decoration: none;
}

footer a:hover {
	color: #f2e561;
	text-decoration: none;
}

footer a:active {
	text-decoration: none;
}

/* ---OSZLOPOK--- */

* {
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    /*padding: 15px;*/
}

[class*="col-"] {
    width: 100%;
}
@media only screen and (min-width: 750px) {
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}

@media only screen and (min-width: 700px) {
    .col-2-1 {width: 10%;}
    .col-2-2 {width: 20%;}
    .col-2-3 {width: 30%;}
    .col-2-4 {width: 40%;}
    .col-2-5 {width: 50%;}
    .col-2-6 {width: 60%;}
    .col-2-7 {width: 70%;}
    .col-2-8 {width: 80%;}
    .col-2-9 {width: 90%;}
    .col-2-10 {width: 100%;}
}
@media only screen and (min-width: 700px) {
    img.koz {padding: 0 15px;}
}

.oszlopkoz{
	padding: 20px;
}

/* BALRA IGAZITOTT KEP */

.balkep {
    float: left;
	margin: 10px 20px 10px 0;
	}

@media screen and (max-width: 600px) {
	.balkep {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		}
}

/* JOBBRA IGAZITOTT KEP */

.jobbkep {
    float: right;
	margin: 10px 0 10px 20px;
	}

@media screen and (max-width: 700px) {
	.jobbkep {
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		}
}

/* KOZEPRE IGAZITOTT KEP */

.kozepkep {
    float: none;
	display: block;
	margin: 10px auto;
	}

/* --- Termekkategoriak sytle 4 oszlop --- */

.container {
  position: relative;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 749px) {
	.container {
	  position: relative;
	  width: 75%;
	  display: block;
	  margin-left: auto;
	  margin-right: auto;
	}
}

@media screen and (max-width: 400px) {
	.container {
	  position: relative;
	  width: 100%;
	  display: block;
	  margin-left: auto;
	  margin-right: auto;
	}
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333333;
  opacity: .9;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.container:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

@media screen and (min-width: 1000px) {
	.text {
		font-size: 16px;
		}
}

@media screen and (max-width: 749px) {
	.text {
		font-size: 16px;
		}
}

/*	--- Terkep ---	*/

.map-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; 
}

.map-responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}