img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#mkLightboxContainer {
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100vh;
    min-width: 100vw;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mkLightboxContainer > * {
    z-index: 99;
}

#overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: rgba(0,0,0,.85);
    z-index: 0;
}

#mkLightboxContainer #mklbInner {
    position: relative;
    height: 100vh;
    transition: all .4s ease-in-out;
    margin-left: 0;
}

section.imageContainer {
    margin: 0;
    padding: 1em;
    box-sizing: border-box;
    border: none;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
}

#mkLightboxContainer img,
#mkLightboxContainer video {
    background: #fff;
    box-shadow: 0 0 30px #222;
    max-height: 85vh;
    min-width: auto;
    max-width: 75vw;
    width: auto;
    height: auto;
}

#mkLightboxContainer #yt-video {
    width: 75vw;
    height: 42.1875vw; /* 75*9/16 */
}

.mklbItem:hover {
    cursor: pointer;
    font-style: italic;
}

#closeIconContainer {
    width: 25px;
    height: 25px;
    position: fixed;
    top: 15px;
    right: 15px;
    transition: transform .2s linear;
}

#closeIconContainer:hover {
    cursor: pointer;
    transform: rotate(90deg);
}

#closeIconContainer svg,
#prev svg,
#next svg,
#stopGallery svg, 
#playGallery svg{
    fill: white;
}

#prevContainer,
#nextContainer {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 10px 5px 10px 5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-in;
}

#nextContainer {
    left: auto;
    right: 0;
}

#prevContainer:hover,
#nextContainer:hover {
    cursor: pointer;
    background: rgba(0,0,0,0.25);
}

#prev,
#next {
    width: 35px;
    height: 35px;
}

.grid {
    display: grid;
    align-content: flex-start;
    grid-gap: 1em;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid figure {
    width: 100%;
    margin: 0;
}

.grid img {
    width: 100%;
}

#controlContainer {
    position: absolute;
    top: 1em;
    left: .5em;
    display: flex;
}

#controlContainer > div {
    width: 2em;
}

#controlContainer > div:hover {
    cursor: pointer;
}

#controlContainer #stopGallery,
#controlContainer.stop #playGallery{
    opacity: 0.5;
}

#controlContainer.stop #stopGallery,
#controlContainer #playGallery{
    opacity: 1
}

@media screen and (max-width: 768px){
    .grid-2-sm {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 450px){
    .grid-12-xs {
        grid-template-columns: 1fr;
    }
}



.lhsimConsent {
  background-color: #ffffff;
  border-radius: 0px;
  box-shadow: 0 32px 68px rgba(0, 0, 0, .3);
  box-sizing: border-box;
  color: #141414;
  font-family: sans-serif;
  font-size: 15px;
  height: auto;
  left: 50%;
  letter-spacing: .1px;
  line-height: 24px;
  max-height: calc(100% - 16px);
  overflow: hidden;
  position: fixed;
  text-align: initial;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s ease;
  transition-property: all;
  transition-property: width, max-width, top, bottom, left, opacity;
  width: calc(100% - 16px);
  z-index: 2147483631;
  display: flex;
  flex-direction: column;
  opacity: 1;
  padding: 1em 1.5em 1.5em;
}

.lhsimConsent-cim {
  font-size: 18px;
}

.lhsimConsent-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lhsimConsent-btn {
  margin-bottom: 15px;
  display: block;
  width: 100%;
}

.lhsimConsent-btn1 {
  background-color: gray;
}

.lhsimConsent-text {
  margin-bottom: 30px;
}

.lhsimConsent-valasztok-valaszto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.lhsimConsent-valasztok-text {
  margin-left: 15px;
  font-weight: 600;
}

.lhsimConsent-valasztok input {
  display: block;
  opacity: 0;
}
.lhsimConsent-valasztok input:disabled + label {
	pointer-events: none;
	filter: none;
	opacity: .35;
}
.lhsimConsent-valasztok label {
  position: relative;
  width: 60px;
  height: 34px;
  display: inline-block;
  background: #666666;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.lhsimConsent-valasztok label:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 30px;
  height: 30px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 1px 3px 6px #666666;
}

.lhsimConsent-valasztok input:checked+label {
  background: #009900;
}

.lhsimConsent-valasztok input:checked+label:after {
  left: auto;
  right: 2px;
}


/*MEDIA Q*/
@media(min-width: 601px) {
  .lhsimConsent {
	max-width: 900px;
  }

  .lhsimConsent-btn {
	margin-bottom: 0;
	margin-left: 15px;
	width: auto;
  }

  .lhsimConsent-valasztok-valaszto {
  
  justify-content: center;
  margin-bottom: 50px;
}
}


@media(min-width: 1280px) {
  .lhsimConsent {
	left: 50%;
	max-height: 80vh;
	top: 50%;
	transform: translate(-50%, -50%);
  }
}

