﻿/*
Theme Name: JegyeladasIdenso theme
Theme URI: -
Description: First release
Version: 1.0
Author: Krisztian Till, Csaba Mikei
Author URI: -
*/

/* FONTS
Value	Common weight name
100	Thin (Hairline)
200	Extra Light (Ultra Light)
300	Light
400	Normal (Regular)
500	Medium
600	Semi Bold (Demi Bold)
700	Bold
800	Extra Bold (Ultra Bold)
900	Black (Heavy)
950	Extra Black (Ultra Black)
*/

/*@font-face {
  font-family: 'Open Sans';
  src: url(fonts/OpenSans-VariableFont.woff2) format("truetype-variations");
}*/

@font-face {
  font-family: 'Jost';
  src: url(fonts/Jost-VariableFont_wght.woff2) format("woff2-variations"),
      url(fonts/Jost-Regular.woff2) format("woff2"),
      url(fonts/Jost-Regular.woff) format("woff"),
      url(fonts/Jost-Regular.ttf) format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Jost';
  src: url(fonts/Jost-VariableFont_wght.woff2) format("woff2-variations"),
      url(fonts/Jost-Medium.woff2) format("woff2"),
      url(fonts/Jost-Medium.woff) format("woff"),
      url(fonts/Jost-Medium.ttf) format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Jost';
  src: url(fonts/Jost-VariableFont_wght.woff2) format("woff2-variations"),
      url(fonts/Jost-SemiBold.woff2) format("woff2"),
      url(fonts/Jost-SemiBold.woff) format("woff"),
      url(fonts/Jost-SemiBold.ttf) format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Jost';
  src: url(fonts/Jost-VariableFont_wght.woff2) format("woff2-variations"),
      url(fonts/Jost-Bold.woff2) format("woff2"),
      url(fonts/Jost-Bold.woff) format("woff"),
      url(fonts/Jost-Bold.ttf) format('truetype');
  font-weight: 700;
}

:root {
  --lightGray: #f9f9f9;
  --text: #5a534c;
  --veryLightBase: #ffefde;
  --lightBase: #143758;
  --base: #0a2136;
  --baseVivid: #143758;
  --baseExtraVivid: #143758;
  --blue: #0f2a43;
  --turq: #555;
  --turqVivid : #185ab3;
  --turqExtraVivid : #126de4;
  --greenVivid: #288e96;
  --greenExtraVivid: #25a9b3;
  --blackOpa: #4a4a4ae3;
  --blueOpa: #2f425bf2;
  --gray: #737373;
  --tableCellDarker: #DDF3F7;
  --paddingContent: min(3vw,60px);
  --link: #15145e;
  --innerGap: min(3.5%, 70px) min(7%, 140px);
  --dividerGap: max(7%,70px);
  --maxWidth: 1440px;
  --mediumWidth: 900px;
  --borderColor: #d8e5e7;
  --borderColorGray: #D9D9D9;

  --clFontSizeLargest: min(8vw, 90px);
  --clFontSizeExtraExtraLarge: min(5vw,70px);
  --clFontSizeExtraLarge: min(4vw,55px);
  --clFontSizeVeryLarge: min(3.2vw,48px);
  --clFontSizeLarger: min(2.75vw,42px);
  --clFontSizeLarge: min(2.5vw,34px);
  --clFontSizeMediumPlusPlus: min(2.2vw,27px);
  --clFontSizeMediumPlus: min(2vw,24px);
  --clFontSizeMedium: min(1.8vw,20px);
  --clFontSizeNormal: min(1.4vw,18px);
  --clFontSizeSmallPlus: min(1.3vw,16px);
  --clFontSizeSmaller: min(1.15vw,14px);
  --clFontSizeSmall: min(1vw,13px);
  --clFontSizeMinimal: min(0.9vw,12px);
}

/* CUSTOM */
h1, h2, .title {
  font-size: var(--clFontSizeLarger);
}

.subpage h1 {
  font-size: var(--clFontSizeLarger);
}

.subpage h2 {
  font-size: var(--clFontSizeLarge);
}

#content .featured-text h1 {
  font-size: var(--clFontSizeExtraExtraLarge);
}

h3 {
  font-size: var(--clFontSizeMediumPlus);
}

.subpage p.highlighted {
  font-size: var(--clFontSizeMedium);
}

.subpage p.highlighted {
  line-height: 160%;
}

.subpage .subpage-content p.highlighted {
  margin-bottom: 1.5%;
}

.subpage .subpage-content h2, .subpage .subpage-content h3, .subpage .subpage-content h4 {
  margin-top: 5%;
  margin-bottom: 2.5%;
}

p.highlighted, p.highlighted-fullwidth/*, .subpage p, .subpage p.text*/ {
  font-size: var(--clFontSizeNormal);
}

.subpage p.text, .subpage li, .wrap {
  line-height: 150%;
}

p.text.emoji.large {
  font-size: var(--clFontSizeLarge);
}

p.text.emoji.extralarge {
  font-size: var(--clFontSizeExtraLarge);
}

button, .button {
  font-size: var(--clFontSizeSmaller);
  font-weight: 700;
}

img.lazy-hidden{
  opacity: 0;
}

img.lazy-loaded{
  -webkit-transition: opacity .3s linear 0.1s;
  -moz-transition: opacity .3s linear 0.1s;
  transition: opacity .3s linear 0.1s;
  opacity: 1;
}

body {
  font-size: var(--clFontSizeSmallPlus);
}

.subtitle, .aioseo-breadcrumbs {
  font-size: var(--clFontSizeSmall);
}

#content .featured-stripe, #content .featured-stripe, .subtitle, .aioseo-breadcrumbs, .usermanual h2 {
  font-weight: 800;
}

h1, .moretag, h2, .title, h3, h4, h5, h6 {
  font-weight: 700;
}

h4, p.highlighted-fullwidth, .aioseo-breadcrumbs .aioseo-breadcrumb-separator, .aioseo-breadcrumbs a {
  font-weight: 500;
}

body {
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

body {
  text-align: left;
  margin: 0px auto;
  /*max-width: var(--maxWidth);*/
  min-width: 350px;
  font-family: "Jost";
  vertical-align: baseline;
  overflow-x: hidden;
  overflow-y: visible;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  /* width: max-content; */
  /*background-image: url(./images/bg/shattered.webp);*/
  background-repeat: repeat;
  /*box-shadow: 0px -20px 57px 10px #C8C8C8;*/
  color: var(--text);
  will-change: contents; /*animaciok miatt fontos!!!*/
  -webkit-tap-highlight-color : transparent;
}

a {
  cursor: pointer;
  text-decoration: none;
  transition-property: color;
  transition-duration: 0.3s;
  color: var(--link);
}

a:hover {
  color: var(--base);
}

img {
  display: block;
  image-rendering: -webkit-optimize-contrast;
  border-radius: 8px;
  max-width: 100%;
  width: auto;
  height: auto;
}

img.parallaximage {
  width: 100%!important;
  transform: translateX(-50%);
  left: 50%;
  position: relative;
}

.subpage .subpage-content img, .wrap-img, p.text {
  margin-top: 2.5%;
  margin-bottom: 2.5%;
}

.subpage .subpage-content .ftg-lightbox img {
  margin: inherit;
}

video {
  object-fit: fill;
  width: 100%;
  height: auto;
  display: block;
}

.top img, .bottom img {
  border-radius: 0;
}

input, select {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  /*max-height: 50px;*/
  font-family: Montserrat !important;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
}

@-webkit-keyframes pulse {
  0% {box-shadow: 0 0 0 0 #FFC830;}
}

@keyframes pulse {
  0% {box-shadow: 0 0 0 0 #FFC830;}
}

.pulse:hover, .pulse:focus {
  -webkit-animation: pulse 1s;
          animation: pulse 1s;
  box-shadow: 0 0 0 1em transparent;
  animation-iteration-count: infinite;
  will-change: box-shadow;
}

@keyframes cookie-consent-delay {
  0%   {opacity: 0;}
  90% {opacity: 0;}
  100% {opacity: 1;}
}

.cky-consent-container {
  opacity: 0;
  animation: cookie-consent-delay 1000ms ease-in-out 5s forwards;
}

/* CONTENT */
blockquote {
  font-style: italic; 
  background: var(--lightGray);
  border-left: 10px solid var(--borderColor);
  margin-left: 0;
  padding: 3.5%;
  quotes: "\201C""\201D""\2018""\2019";
}

li {
  margin-bottom: 1%
}
.final-tiles-gallery {
  margin-top: 3.5%;
}
.final-tiles-gallery .ftg-items .tile:hover a.tile-inner img {
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -o-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
}
.final-tiles-gallery .ftg-items .tile .tile-inner:before {
  background-color: rgb(255 255 255 / 30%) !important;
}
sup {
  margin: 0 5px;
}

embed, iframe, object {
  max-width: 100%;
  margin: auto;
  width: -webkit-fill-available;
}

.wp-video, video, iframe[src*="youtube"], iframe[src*="facebook"] {
  width: 100% !important;
  margin: auto;
  max-width: 1280px !important;
}

iframe[src*="youtube"], iframe[src*="facebook"] {
  border: 0;
  min-height: min(30vw, 480px);
  height: auto;
}

#overlay, .preloader-logo-static {
  position: fixed; 
  width: 100%; 
  height: 100%; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 300ms;
}

#overlay {
  background-color: rgba(0,0,0,0.5);
  cursor: pointer; 
  visibility: hidden;
  opacity: 0%;
  z-index: 2;
}

@keyframes preloader-logo-fadeout {
  0%   {opacity: 1;}
  40% {opacity: 1;}
  90% {opacity: 0;}
  100% {opacity: 0; display: none;}
}

.preloader-logo-static {
  display: flex;
  background-color: #ffffff;
  z-index: 999;
  opacity: 1;
  animation: preloader-logo-fadeout 1s ease-in-out 2250ms forwards;
}

@keyframes preloader-logo-fadein {
  0%   {opacity: 0;transform: translateY(-5px);}
  10% {opacity: 1;transform: translateY(0px);}
  90% {opacity: 1;transform: translateY(0px);}
  100% {opacity: 0;transform: translateY(5px);}
}

.preloader-logo-static img {
  opacity: 0;
  transform: translateY(-10px);
  animation: preloader-logo-fadein 3000ms ease-in-out 0s forwards;
  width: 25%;
  margin: auto;
}

.title, .subpage h1, .subpage h2, h3, h4,h5, h6 {
  margin: 0;
  color: var(--turq);
}

.title, .subpage h2, h3, h4,h5, h6 {
  margin-bottom: 1.5%;
  position: relative;
  z-index: 0;
}

.subpage .title, .subpage h2, .subpage h3, .subpage h4, .subpage h5, .subpage h6 {
  width: fit-content;
}

.subpage h1 {
  margin-bottom: min(3.5%, 45px);
}

.subpage:has(.subtitle) h1, .subpage:has(.featured-subtitle) h1 {
  margin-bottom: 0;
}

p.center, .title.center, h2.center, h3.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

p.flex {
  gap: 7px;
  margin: 1.5% 0;
}

p.flex.marginbottom {
  margin-bottom: max(3.5%,20px);
}

.inline-property-container {
  padding: 7px 0;
  /*border-left: 3px solid var(--borderColor);*/
}

.inline-property-container p.flex {
  margin-bottom: 1.5%;
  font-size: var(--clFontSizeSmallPlus);
  align-items: flex-start;
}
.inline-property-container p.flex svg {
  border-right: none;
  padding-right: 0;
}

.subtitle {
  font-weight: 700;
  font-size: var(--clFontSizeMinimal);
  color: var(--base);
  margin: 0;
}

#content {
  background-color: white;
  position: relative;
  z-index: 1; /*bg-k miatt ne torold ki*/
  width: 100%;
  overflow: hidden;
}

.subpage {
  min-height: 100vh;
  /*padding-top: 150px;*/
  padding-left: var(--paddingContent);
  padding-right: var(--paddingContent);
  padding-bottom: 130px;
  position: relative; /*rolunk aloldal miatt*/
  max-width: var(--maxWidth);
  margin: auto;
}

.subpage > div:not(:last-of-type) {
  margin-bottom: var(--dividerGap);
}

.subpage.nopaddingtop {
  padding-top: 0;
}

.subpage.nopaddingright {
  padding-right: 0;
}

.subpage.nopaddingbottom {
  padding-bottom: 0;
}

.subpage.nopaddingleft {
  padding-left: 0;
}

#content.empty-featured {
  padding-top: 75px;
}

.grecaptcha-badge {
  z-index: 999999;
}

.skew-bg {
  height: 100px;
  width: 100%;
  position: relative;
}

.skew-bg.top-left {
  transform: skewY(2deg);
}

.skew-bg.top-right {
  transform: skewY(-2deg);
}

.skew-bg.before {
  top: 50px;
  border-top-width: 30px;
  border-top-style:  solid;
}

.skew-bg.after {
  top: -50px;
  border-bottom-width: 30px;
  border-bottom-style: solid;
}

.wp-caption {
  max-width: fit-content;
  text-align: center;
}

.gallery-columns-2.gallery-size-full .gallery-item {
  width: calc(50% - 10px)!important;
}

.gallery-columns-2.gallery-size-full .gallery-item img {
  border: none!important;
  margin-top: 0;
  margin-bottom: 0;
}

.gallery-columns-2.gallery-size-full .gallery-item:nth-of-type(odd) {
  padding-right: 10px;
}

.gallery-columns-2.gallery-size-full .gallery-item:nth-of-type(even) {
  padding-left: 10px;
}

.parallaxcontainer-bg {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery-container {
  display: flex;
}

.gallery-text-container {
  padding-bottom: 3vw;
  width: 70%;
  display: inline-block;
}

.yellow {
  color: var(--base);
}

.usermanual img {
  max-width: 100%;
}

.subtitle, .aioseo-breadcrumbs, .featured-subtitle {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  line-height: 200%;
}

.aioseo-breadcrumbs {
  margin: min(1.5%,30px) auto min(2%,40px) 0;
  z-index: 5;
  max-width: var(--maxWidth);
  padding-left: var(--paddingContent);
  padding-right: var(--paddingContent);
}

.aioseo-breadcrumbs a {
  color: var(--gray);
  transition: 300ms;
}

.aioseo-breadcrumbs a:hover {
  color: var(--base);
}

.aioseo-breadcrumbs .aioseo-breadcrumb-separator {
  padding: 0 min(0.7vw,15px);
}

.aioseo-breadcrumbs .aioseo-breadcrumb {
  display: inline-block;
}

.link, input[type=submit], .service-link, a.button, .woocommerce .products li.product .button.product_type_simple,
.woocommerce .single-product .product .summary .cart .single_add_to_cart_button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt {
  cursor: pointer;
  font-size: var(--clFontSizeSmaller);  /*fooldal gombok miatt lett atirva 16px-rol*/
  font-weight: 500; /*fooldal gombok miatt lett atirva 700-rol*/
  letter-spacing: 0.75px;
  padding: min(1.5vw,16px) min(2vw,24px);
  width: fit-content;
  min-width: fit-content;
  color: white;
  border: none;
  text-align: center;
  transition: all 0.3s linear 0s;
  background: var(--base);
  border-radius: 4px;
  display: block;
}

.link:hover, input[type=submit]:hover, .service-link:hover, a.button:hover, .woocommerce .products li.product .button.product_type_simple:hover,
.woocommerce .single-product .product .summary .cart .single_add_to_cart_button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover {
  background: var(--blue);
  color: white;
}

.link.turq, .service-link.turq, a.button.turq {
  background-color: var(--turq);
  color: white;
}

#cookie-law-info-bar {
  box-shadow: 0 -3px 19px 2px rgb(172 171 171 / 100%) !important;
}

.n2-section-smartslider.mobile {
  display: none;
}

.final-tiles-gallery .loading-bar i {
  display: none !important;
}

.image-block .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.image-block .column {
  flex: 32%;
  max-width: 33%;
  margin-right: 0.666%;
}

.image-block .column:last-of-type {
  margin-right: 0;
}

.image-block .column .image-container {
  vertical-align: middle;
  margin-bottom: 2%;
  overflow: hidden;
}

.image-block .column .image-container:last-of-type {
  margin-bottom: 0px;
}

.image-block .column img {
  width: 100%;
  transition: 300ms;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.image-block .column img:hover {
  scale: 1.03;
}

#successful-contact {
  text-align: center;
}

.subpage #successful-contact p.highlighted, .subpage #successful-contact p.text {
  max-width: 100%;
}

.imageblock .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.imageblock .column {
  flex: 32%;
  max-width: 33%;
  padding: 0 4px;
}

.imageblock .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.info-subpage-bottom-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin: var(--innerGap);
  margin-top: 0;
  margin-bottom: 0;
}

.subpage .subpage-content img.subpage-divider {
  width: 40%;
  margin: 10% auto;
}

.subpage-content .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 0;
}

.woocommerce-Address-title a {
  font-size: var(--clFontSizeMedium);
}


/* RESPONSIVE */

@media only screen and (max-width: 1920px) {}
@media only screen and (max-width: 1600px) {}

@media only screen and (max-width: 1440px) {
  :root {
    --paddingContent: min(7vw,130px);
  }
}

@media only screen and (max-width: 1280px) {
  .subpage p.highlighted, .subpage p.text {
    max-width: 100%;
  }

  .homepage .bg.bottom img {
    height: 750px;
    width: 100%;
    object-fit: cover;
    object-position: right;
  }
}

@media only screen and (max-width: 1024px) { 
  #successful-contact .logo {
    width: 50%;
  }
}

@media only screen and (max-width: 900px) {
  :root {
    --clFontSizeExtraExtraLarge: max(8vw,58px);
    --clFontSizeExtraLarge: max(6vw,33px);
    --clFontSizeVeryLarge: max(4.5vw,31px);
    --clFontSizeLarger: max(4vw,25px);
    --clFontSizeLarge: max(3.7vw,24px);
    --clFontSizeMediumPlusPlus: max(3.3vw,18px);
    --clFontSizeMediumPlus: max(3vw,17px);
    --clFontSizeMedium: max(2.7vw,16px);
    --clFontSizeNormal: max(2.3vw,15px);
    --clFontSizeSmallPlus: max(2.1vw,14px);
    --clFontSizeSmaller: max(1.9vw,13px);
    --clFontSizeSmall: max(1.7vw,12px);
    --clFontSizeMinimal: max(1.55vw,10px);
  }
  
  #content .featured-text h1, #content .featured-text .featured-subtitle {
    padding-left: 3.5vw;
  }

  .link, input[type=submit], .service-link, a.button {
    font-size: var(--clFontSizeNormal);
  }
  
  .aioseo-breadcrumbs {
    margin-top: max(2%, 40px);
    margin-bottom: max(2%, 40px);
  }
}

@media only screen and (max-width: 800px) {
  .image-block .column {
    max-width: 100%;
  }

  .link, input[type=submit], .service-link, a.button {
    padding: 2vw 6vw;
  }
}

@media only screen and (max-width: 600px) {
  #content .featured-text .featured-subtitle {
    padding-top: 17%;
  }
  
  #content .featured-text h1, #content .featured-text .featured-subtitle {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }
    
  .n2-section-smartslider.desktop {
    display: none;
  }
  
  .n2-section-smartslider.mobile {
    display: block;
  }

  .info-subpage-bottom-container {
    max-width: 300px;
    margin: auto;
    flex-direction: column;
  }

  .subpage .subpage-content h2, .subpage .subpage-content h3, .subpage .subpage-content h4 {
    margin-bottom: 5%;
  }

  .aioseo-breadcrumbs {
    max-width: 80%;
  }
}

@media only screen and (max-width: 500px) {}

@media only screen and (max-width: 400px) {
  #content .featured-text .featured-subtitle, .subtitle, .aioseo-breadcrumbs {
    letter-spacing: 1.5px;
  }
}

@media only screen and (max-width: 350px) {}
