:root {
  --lokalap-color-btn: #aaa;
  --lokalap-color-txt: #000;

  --color-2: #2a3248;
  --color-5: #555555;
  --color-5e: #5e5e5e;
}

/* Animation */

.anim-rotate-infinite {
  -webkit-animation: anim-rotate-infinite 24s linear infinite;
  -moz-animation: anim-rotate-infinite 24s linear infinite;
  -o-animation: anim-rotate-infinite 24s linear infinite;
  animation: anim-rotate-infinite 24s linear infinite;
}
@keyframes anim-rotate-infinite {
  from {transform: rotate(0deg); -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg);}
  to {transform: rotate(360deg); -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); -o-transform: rotate(360deg);}
}

/* Body */

body.prevent-animation * {
  animation-duration: 0s !important;
  -webkit-animation-duration: 0s !important;
  transition: background-color 0s, opacity 0s, color 0s, width 0s, height 0s, padding 0s, margin 0s !important;
}

/* Icons */
.icon-arrow-thin-right {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 20px;
}
.icon-arrow-thin-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 15px;
  height: 0;
  border-top: 1px solid var(--color-5e);
}
.icon-arrow-thin-right::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  padding: 3px;
  border-top: 1px solid var(--color-5e);
  border-right: 1px solid var(--color-5e);
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/* Texts */
.lokalap-title,
.lokalap-title-ucase {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 200;
}
.lokalap-title {
  letter-spacing: -1px;
}
.lokalap-title-ucase {
  margin-bottom: 20px;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
}
.lokalap-caption {
  color: #000;
  text-transform: uppercase;
}
.lokalap-caption-date {
  color: #9aa5ad;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

/* Images */
.img-container2 {
  overflow: hidden;
	position: relative;
  width: 100%;
  min-height: 250px;
  background-color: #FFF;
}
.img-container2-cover {
  width: 100%;
  height: 100%;
}
.img-container2 img {
  width: 100%;
  height: auto;
}
.img-container2 a {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

/* ------------------------------------
 * -------------- FORMS ---------------
 * ------------------------------------
 */

.lokalap-form-group {
  overflow: auto;
  position: relative;
  height: 40px;
  border-radius: 5px;
  background: #fff;
}
.lokalap-form-group-icon {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 100%;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 16px;
}
.lokalap-form-group>input {
  float: left;
  padding: 0 10px 0 0;
  height: 100%;
  border-radius: 5px;
  border: 0;
  background: #fff;
}
.lokalap-form-group-icon~input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ------------------------------------
 * -------------- BLOCKS --------------
 * ------------------------------------
 */

/* Sötétítés/ világosítás hátterek */
.filter-background-dark,
.filter-background-light {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff9;
}
.filter-background-dark {
  background: #0009;
}
.filter-background-light {
  background: #fff9;
}

/* Háttérkép */
.background-image,
.background-image-dark::after,
.background-image-light::after {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}
.background-image {
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.background-image-dark::after,
.background-image-light::after {
  content: '';
  opacity: 0.5;
}
.background-image-dark::after { background: #000;}
.background-image-light::after { background: #fff;}

/* Grid */
.grids {
	display: inline-grid;
  width: 100%;
}
.grids-4 {
  grid-template-columns: 25% 25% 25% 25%;
}
.grid {
	padding: 0 7.5px 15px 7.5px;
}

/* Masonry */
.masonry-grids {
  padding: 0 0 15px 0 !important;
}
.masonry-grid {
	float: left;
	box-sizing: border-box;
	padding: 0 7.5px 15px 7.5px;
}
.masonry-grids-4 .masonry-grid,
.masonry-grids-4 .masonry-sizer {
  width: 25%;
}
.masonry-grids-3 .masonry-grid,
.masonry-grids-3 .masonry-sizer {
  width: 33.33333%;
}

/* With color */
.block-with-round-border {
  border-radius: 15px;
}

.block-with-color {
  position: relative;
  padding: 15px;
  background: #ebebeb;
  text-align: center;
}
.block-with-color>a{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* With image */
.block-with-img {
  background: #fff;
}
.block-with-img-inner {
  padding: 15px;
}
.block-with-img .lokalap-title {
  color: #000;
  font-size: 25px;
}

/* Videó */
.video-container>div {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container>div>iframe {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Benefit */
.section-benefits>div {
  padding: 30px 15px;
}
.section-benefits .promo-text {
  text-align: left;
}
.section-benefits>div>.promo-text small {
  display: inline-block;
  margin-bottom: 20px;
  color: #b4b4b4;
  font-size: 14px;
}
.section-benefits>div>.promo-text p {
  margin-bottom: 65px;
  max-width: 540px;
  font-size: 38px;
  line-height: normal;
}
.section-benefits .row [class*=col-] {
  padding: 15px;
}
.block-benefit>small {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 10px;
}
.block-benefit .promo-text {
  font-size: 28px;
  line-height: 1.44em;
  margin-bottom: 30px;
}
.block-benefit>p:not(.promo-text) {
  font-size: 14px;
  margin-bottom: 30px;
}
.block-benefit:hover .btn-arrow {
  box-shadow: 0 0 0 14px #aaa8;
  color: #fff;
}

/* Highlighted category */
.block-highlighted-category-container {
  display: grid;
  grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
}
.block-highlighted-category-container>div {
  padding: 0 7.5px 15px 7.5px;
}
.block-highlighted-category-container>div>div {
  height: 100%;
}
.block-highlighted-category {
  padding: 20px 10px;
}
.block-highlighted-category img {
  width: 60px;
  height: auto;
  filter: invert(100%);
  -webkit-filter: invert(100%);
}
.block-highlighted-category i {
  margin: 15px 0;
  font-size: 30px;
}
.block-highlighted-category h4 {
  margin: 20px 0 0 0;
  color: #000000;
  font-size: 1.5rem;
}


/* ------------------------------------
 * --------------- HOME ---------------
 * ------------------------------------
 */

#body-home .section-magazin-highlighted>div, 
#body-home .section-news-highlighted>div,
#section-home-contact>div, 
#body-home .section-place-highlighted>.row.with-15px-margin,
#body-home .priority-categs-container>.row.with-15px-margin,
#body-home .priority-categs-container>.block-highlighted-category-container,
#body-home .priority-place-meta-container>.row.with-15px-margin {
  margin: 0 auto;
  max-width: 1140px;
}
#body-home .priority-categs-container>.block-highlighted-category-container {
  width: 100%;
}

/* Főoldali kereső */
#home-place-search {
  z-index: 1;
  position: absolute;
  top: 480px;
  left: 0;
  width: 100%;
}
#home-place-search form {
  position: relative;
  display: flex;
  margin: 0 auto;
  padding: 20px 12.5px;
  width: 70%;
  max-width: 880px;
  background-color: #fff;
  border-radius: 6px;
}
#home-place-search form::before {
  content: ' ';
  z-index: -1;
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
#home-place-search .base-form-element-container {
  flex-grow: 1;
  flex-basis: 0;
  padding: 0 7.5px;
}
#home-place-search .base-form-element-container>:not(i) {
  width: 100%;
}
#home-place-search .base-form-element {
  padding: 12px 12px;
  height: 50px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  color: #484848;
  font-size: 14px;
  line-height: 1.75;
}
#home-place-search .base-form-element-container.with-icon .base-form-element {
  padding-left: 30px;
}
#home-place-search .base-form-select-container::before {
  border-color: #484848 transparent transparent transparent;
}
#home-place-search .base-form-element-container.with-icon i {
  top: 18px;
  left: 18px;
  color: #484848;
  font-size: 13px;
}
#home-place-search .base-form-element::placeholder {color: #484848;}
#home-place-search .base-form-element:-ms-input-placeholder {color: #484848;}
#home-place-search .base-form-element::-ms-input-placeholder {color: #484848;}
#home-place-search .btn-filled {
  height: 50px;
}

/* ------------------------------------
 * -------------- PLACES --------------
 * ------------------------------------
 */

#body-places .block-highlighted-category-container {
  padding: 0 7.5px;
}



/* ------------------------------------
 * ------------ RESPONSIVE ------------
 * ------------------------------------
 */

/* Extra large */
@media only screen and (max-width: 1499px) {
  #body-places .block-highlighted-category-container {
    grid-template-columns: 16.66666% 16.66666% 16.66666% 16.66666% 16.66666% 16.66666%;
  }
}

/* Medium */

@media only screen and (max-width: 991px) {
  /* 
   * ------------------------------------
   * -------------- BLOCKS --------------
   * ------------------------------------
   */

  /* Grid */
  .grids-4 {
    grid-template-columns: 33.33333% 33.33333% 33.33333%;
  }

  /* Masonry */
  .masonry-grids-4 .masonry-grid,
  .masonry-grids-4 .masonry-sizer {
    width: 33.33333%;
  }
  .masonry-grids-3 .masonry-grid,
  .masonry-grids-3 .masonry-sizer {
    width: 50%;
  }

  .block-highlighted-category-container {
    grid-template-columns: 16.66666% 16.66666% 16.66666% 16.66666% 16.66666% 16.66666%;
  }
  #body-places .block-highlighted-category-container {
    grid-template-columns: 25% 25% 25% 25%;
  }
}

/* Small */
@media only screen and (max-width: 767px) {
  /* 
   * ------------------------------------
   * -------------- BLOCKS --------------
   * ------------------------------------
   */

  /* Grid */
  .grids-4 {
    grid-template-columns: 50% 50%;
  }

  /* Masonry */
  .masonry-grids-4 .masonry-grid,
  .masonry-grids-4 .masonry-sizer {
    width: 50%;
  }

  .block-highlighted-category-container {
    grid-template-columns: 25% 25% 25% 25%;
  }
}

/* Extra small */
@media only screen and (max-width: 575px) {
  /* 
   * ------------------------------------
   * -------------- BLOCKS --------------
   * ------------------------------------
   */

  /* Grid */
  .grids-4 {
    grid-template-columns: 100%;
  }

  /* Masonry */
  .masonry-grids-4 .masonry-grid,
  .masonry-grids-4 .masonry-sizer,
  .masonry-grids-3 .masonry-grid,
  .masonry-grids-3 .masonry-sizer {
    width: 100%;
  }

  .block-highlighted-category-container {
    grid-template-columns: 33.33333% 33.33333% 33.33333%;
  }
}