/* --- *** --- */

body {
    background-color: #f0f0f0;
    margin: 0;
	padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #1f2f41;
    line-height: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
	color: #1f2f41;
	text-decoration: none;
}

a:hover {
	color: #1f2f41;
	/*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: #ffffff;
}

#cikk {
	padding: 15px 60px;
}

@media screen and (max-width:500px) {
  #cikk {
    padding: 15px 15px;
  }  
  #cikk .row img {
    padding-left: 0 !important;
  }
}

/* --- HEADER --- */

header {
	background-color: #b3b3b3;
    padding: 0;
	margin: 0;
	line-height: 0;
	color: #ffffff;
}

header h1 {
    background-color: #b3b3b3;
	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 10px;
    width: 50%;
}
.jobbhed {
    float: right;
	text-align: right;
    margin: 0px;
    padding: 5px 10px;
    width: 50%;
}

@media screen and (max-width:800px) {
  .balhed {
    float: left;
	text-align: center;
    margin: 0px;
    padding: 0px;
    width: 100%;
	}
	.jobbhed {
    float: right;
	text-align: center;
    margin: 0px;
    padding: 0px;
    width: 100%;
	}
}

/* ---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: 900px) {
    .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: 33.33%;}
    .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;}
}

/* BALRA IGAZITOTT KEP */

.balkep {
    float: left;
	margin: 10px 20px 10px 0;
	}

@media screen and (max-width: 700px) {
	.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 IGAZÍTOTT KEP */

.kozepkep {
    float: none;
	display: block;
	margin: 10px auto;
	}

/* --- 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;
    }

/* --- Mini galeria  --- */

.minigallery {
    text-align: center;
    font-size: 170%;
	font-weight: bold;
    letter-spacing: 1px;
	color: #13519c;
	background-color: #af1416;
	padding: 20px 10px;
	margin: 0;
}

/* --- TEXT-WARNING --- */

.text-warning {
	border-top: 2px solid #feabb9;
	border-bottom: 2px solid #feabb9;
	background: #fbeef1 url(warning.png) no-repeat;
	background-position: left center;
	padding: 10px 10px 5px 40px;
	min-height: 50px;
	font-size: 15px;
}

/* --- KONTAKT --- */

.kontakt {
    display: block;
	color: #000;
	background-color: #b3b3b3;
	padding: 6px 15px 3px;
	text-align: center;
}

.kontakt a {
	color: #000;
	text-decoration: none;
}

.kontakt a:hover {
	color: #000;
	text-decoration: none;
}

.kontakt a:active {
	text-decoration: none;
}

.kontakt h3 {
   	margin: 5px;
}

/* --- FOOTER --- */

footer {
    display: block;
	color: #fff;
	background-color: #333333;
	padding: 3px 15px 3px;
}

footer p {
	line-height: 1.0;
	padding: 0;
	margin: 10px 0;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
	text-decoration: none;
}

footer a:active {
	text-decoration: none;
}
