/*
Theme Name: dev theme
Theme URI: -
Description: First release
Version: 1.0
Author: Daniel Rill, Csaba Mikei, Krisztian Till
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: Mulish;
  src: url(fonts/Mulish-Regular.woff2);
  font-weight: 400;
}

@font-face {
  font-family: Poppins;
  src: url(fonts/Poppins-Light.woff2);
  font-weight: 300;
}

@font-face {
  font-family: Poppins;
  src: url(fonts/Poppins-Regular.woff2);
  font-weight: 400;
}

@font-face {
  font-family: Poppins;
  src: url(fonts/Poppins-Medium.woff2);
  font-weight: 500;
}

@font-face {
  font-family: Poppins;
  src: url(fonts/Poppins-Bold.woff2);
  font-weight: 700;
}

@font-face {
  font-family: Poppins;
  src: url(fonts/Poppins-ExtraBold.woff2);
  font-weight: 800;
}

.image-block .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* multi

@font-face {
  font-family: 'Montserrat';
  src: url(fonts/Montserrat.woff2) format("woff2-variations"),
      url(fonts/Montserrat-Regular.woff2) format("woff2"),
      url(fonts/Montserrat-Regular.woff) format("woff"),
      url(fonts/Montserrat-Regular.ttf) format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Montserrat';
  src: url(fonts/Montserrat.woff2) format("woff2-variations"),
      url(fonts/Montserrat-Medium.woff2) format("woff2"),
      url(fonts/Montserrat-Medium.woff) format("woff"),
      url(fonts/Montserrat-Medium.ttf) format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Montserrat';
  src: url(fonts/Montserrat.woff2) format("woff2-variations"),
      url(fonts/Montserrat-SemiBold.woff2) format("woff2"),
      url(fonts/Montserrat-SemiBold.woff) format("woff"),
      url(fonts/Montserrat-SemiBold.ttf) format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Montserrat';
  src: url(fonts/Montserrat.woff2) format("woff2-variations"),
      url(fonts/Montserrat-Bold.woff2) format("woff2"),
      url(fonts/Montserrat-Bold.woff) format("woff"),
      url(fonts/Montserrat-Bold.ttf) format('truetype');
  font-weight: 700;
}

*/

:root {
  --clFontSizeLargest: min(8vw, 90px);
  --clFontSizeExtraExtraLarge: min(5vw,70px);
  --clFontSizeExtraLarge: min(4vw,55px);
  --clFontSizeVeryLarge: min(3.2vw,48px);
  --clFontSizeLarger: min(2.7vw,40px);
  --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);

  /*
  --clColorOrange : #E78924;
  --clColorBlack: #292929;
  */
}

h1 {
  font-size: var(--clFontSizeExtraLarge);
}

h2, .title {
  font-size: var(--clFontSizeVeryLarge);
}

h3 {
  font-size: var(--clFontSizeLarge);
}

p.highlighted, p.highlighted-fullwidth {
  font-size: var(--clFontSizeMediumPlusPlus);
}

h4 {
  font-size: var(--clFontSizeMediumPlus);
}

button {
  font-size: var(--clFontSizeMedium);
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
}

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(--clFontSizeNormal);
}

.subtitle, .aioseo-breadcrumbs {
  font-size: var(--clFontSizeSmall);
}

#nav-container a, #nav-container, .subtitle, .aioseo-breadcrumbs, .usermanual h2 {
  font-weight: 800;
}

h1, .moretag {
  font-weight: 700;
}

h4,h2,h3, p.highlighted, p.highlighted-fullwidth, #content h1, .title {
  font-weight: 500;
}

body, button, .aioseo-breadcrumbs .aioseo-breadcrumb-separator, .aioseo-breadcrumbs a {
  font-weight: 400;
}

.final-tiles-gallery .loading-bar i {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8%;
}

body {
  text-align: left;
  margin: 0px auto;
  font-family: Poppins;
  vertical-align: baseline;
  /*overflow-y: overlay;*/
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  /*background: linear-gradient(360deg, rgba(255,255,255,0) 0%, rgba(96,96,96,0.36) 100%);*/
  /*max-width: 1920px;*/
  width: 100vw; /* modal kapcsolatfelvetel miatt van igy*/
  min-width: 300px;
  /*box-shadow: 0px -20px 57px 10px #C8C8C8;*/
  overflow-x: hidden;
  will-change: contents; /*animaciok miatt fontos!!!*/
  position: relative;
  background: white;
  -webkit-tap-highlight-color : transparent;
}

body:has(.quote.modal.visible) {
    overflow: hidden;
}

button {
  font-family: Poppins;
  transition: 300ms;
}

a {
  cursor: pointer;
  text-decoration: none;
  transition-duration: 0.2s;
}

p {
  margin: 0;
  margin-bottom: min(3.5%,35px);
}

p:empty, p:contains('&nbsp;') {
  display: none;
}

a:hover, button:hover {
  cursor: pointer;
}

.subpage ul {
  margin: 0;
}

.subpage ul li {
  line-height: 100%;
}

.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;
}

.bg {
  position: absolute;
  display: flex;
  z-index: -1;
  overflow: hidden;
}

.bg.right {
  right: 0;
}

.bg.left {
  left: 0;
}

.bg.top {
  width: 100%;
  /*padding-top: 1%; elerhetosegek aloldal*/
}

.bg.bottom {
  bottom: 0;
}

.bg.right.center, .bg.left.center{
  top: 11vh;
}

.bg img {
  position: relative;
  z-index: -1;
  opacity: 0.7;
}

.bg.right img, .bg.left img{
  width: 50%;
}

.bg.center img {
  width: 100%;
}

.bg.right img {
  margin-left: auto;
}

.bg.left img {
  margin-right: auto;
}

.gallery-container {
  display: flex;
}

.gallery-text-container {
  padding-bottom: 3vw;
  width: 70%;
  display: inline-block;
}

.home {
  margin-top: 7%;
  padding: 0 7%;
  overflow: hidden;
}

#content .nomaxwidth {
  width: 100%;
}

.usermanual img {
  max-width: 100%;
}

/* CONTENT */
blockquote {
  font-style: italic;
  font-style: italic; 
  background: var(--lightGray);
  border-left: 10px solid var(--borderColor);
  margin-left: 0;
  padding: 3.5%;
  quotes: "\201C""\201D""\2018""\2019";
}

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;
  display: block;
}

iframe[src*="youtube"], iframe[src*="facebook"] {
  border: 0;
  min-height: min(37vw, 658px);
  height: auto;
}

#overlay {
  position: fixed; 
  opacity: 0%;
  width: 100%; 
  height: 100%; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); 
  z-index: 2; 
  cursor: pointer; 
  visibility: hidden;
  transition: 300ms;
}

p.highlighted, p.highlighted-fullwidth {
  margin: 0;
}

#content {
  position: relative;
  z-index:  1;
  overflow: hidden;
  min-height: 100vh;
}


#content>*, #content .subpage>* {
  max-width: calc(1920px - 2 * var(--clPaddingSubPage));
  margin-left: auto;
  margin-right: auto;
}

#content .subpage {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.subpage > div {
  margin-bottom: max(7%,70px);
}

.subpage > div:last-of-type {
  margin-bottom: 0;
}

.subpage.nopaddingtop {
  padding-top: 0;
}

.subpage.nopaddingright {
  padding-right: 0;
}

.subpage.nopaddingbottom {
  padding-bottom: 0;
}

.subpage.nopaddingleft {
  padding-left: 0;
}

.maincontent>.last {
  margin-bottom: 0 !important;
  padding-bottom: 150px !important;
}

#content .sub-content {
  display: inline-block;
  width: 60%;
  padding-left: 5%;
}

#content h1 {
  margin: 0px;
}

#content .subpage h1.title.service {
  padding: 1% 0;
  margin-bottom: 5%;
  border-bottom: 3px solid #00305C;
}

.first {
  position: relative;
}

.title {
  margin-top: 0;
  margin-bottom: min(1.5vw,30px);
}
.center {
  text-align: center;
}

.subtitle, .aioseo-breadcrumbs {
  letter-spacing: min(0.2vw,4px);
  text-transform: uppercase;
  margin: 0;
  line-height: 200%;
}

.aioseo-breadcrumbs {
  padding-left: min(7%,130px);
  margin: 3.5% 0;
  width: fit-content;
  z-index: 555;
  position: relative;
}

.aioseo-breadcrumbs .aioseo-breadcrumb-separator {
  padding: 0 0.7vw;
}

.aioseo-breadcrumbs .aioseo-breadcrumb {
  display: inline-block;
}

/* keresooptimalizalas miatt */
@keyframes cookie-consent-delay {
	0%   {opacity: 0; visibility: visible;}
	90% {opacity: 0; visibility: visible;}
	100% {opacity: 1; visibility: visible;}
}
  
.cky-consent-container {
	opacity: 0;
	visibility: hidden;
	animation: cookie-consent-delay 1000ms ease-in-out 5s forwards;
}

/*arajanlat link*/

.link, input[type=submit], input[type=email], input[type=password], input[type=submit], input[type=text], input[type=search] {
  font-family: Mulish;
  border-radius: 60px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: min(1vw,16px) min(2vw,28px);
  transition: 300ms;
  min-width: 150px;
  display: inline-flex;
  cursor: pointer;
  font-size: var(--clFontSizeMedium);
  transition: 300ms;
}

.link img {
  padding-left: 12px;
  position: relative;
  transition: 300ms;
  width: 20px;
  height: 20px;
}

.home-link {
  padding: 1.5% 3%;
  border-radius: 60px;
  display: block;
  width: fit-content;
}

.prices-link {
  border: 0;
  
  /* elcsusztatott verzio
  width: fit-content;
  margin: auto;
  margin-top: 20px;
  display: block;
  elcsusztatott verzio*/
}

.prices-link:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.maincontent>.last {
  margin-bottom: 0;
}

.last-block {
  padding-bottom: 150px;
}

#gdpr-cookie-privacy ul {
  text-align: left;
}

figure.wp-block-gallery.has-nested-images {
  display: flex;
}

.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2), .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image) {
  margin: max(1vw, 1%);
  max-width: 45%;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption.alignleft, .wp-caption.alignright {
  max-width: 40%;
}

.wp-caption.aligncenter, img.aligncenter {
  margin: auto;
}

.wp-caption.aligncenter img {
  max-width: 100%;
  height: auto;
}

.wp-caption.alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.wp-caption.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

.wp-block-image>figcaption, .wp-block-image figcaption, .wp-caption p {
  font-size: var(--clFontSizeSmall);
  font-style: italic;
}
  
.wp-block-image.aligncenter>figcaption, .wp-block-image .aligncenter>figcaption, .wp-block-image figcaption, .wp-caption.aligncenter p, .wp-caption-text {
  text-align: center;
}

.image-block .column {
  flex: 32%;
  max-width: 33%;
  margin-right: 0.666%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  margin: auto;
}

.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;
}

#successful-contact img {
  max-width: 500px;
  margin-bottom: 1.5%;
}

#successful-contact p {
  width:100%;
}

.subpage #successful-contact p.highlighted, .subpage #successful-contact p.text {
  max-width: 100%;
}

#successful-contact a {
  font-size: var(--clFontSizeExtraLarge);
  font-weight: 700;
  margin: 3.5% auto;
}

#successful-contact a:hover {
}

.cf-turnstile {
  margin: 3.5% 0 !important;
  height: 70px;
  max-width: 400px;
}


@media only screen and (max-width: 1920px) {
  /*px -> vw 1 -> 0.0525 (= 0.07 * 1440/1920) */
  .aioseo-breadcrumbs {
    padding-left: 7%;
  }
}

@media only screen and (max-width: 1440px) {
  .maincontent>.last {
    padding-bottom: 12vw !important;
  }

  .slick-slide img {
    width: 8.4vw;
    height: 8.4vw;
  }
}


@media only screen and (max-width: 1280px) {}

@media only screen and (max-width: 1024px) {
  @keyframes logo_anim_1024 {
    from {
      transform: translate(-50%, -50%) scale(100%);
      top: 50%;
      left: 50%;
    }
    to {
      transform: translate(0%, 0%) scale(30%);
      top: -15%;
      left: -15%;
    }
  }
  
  #logo-anim {
    animation: logo_anim_1024 1200ms forwards ease-out 4000ms;
  }
  
  #content {
    box-shadow: 0px 50px 35px -35px #0f112e;
  }
  
  #content .subpage h1.title {
    padding-bottom: 3%;
  }  

  .home {
    padding-left: 3%;
    padding-right: 3%;
  }
}

@media only screen and (max-width: 900px) {
  :root {
    --clFontSizeExtraExtraLarge: max(7vw,55px);
    --clFontSizeExtraLarge: max(5.5vw,31px);
    --clFontSizeVeryLarge: max(4.1vw,29px);
    --clFontSizeLarger: max(3.8vw,24px);
    --clFontSizeLarge: max(3.4vw,22px);
    --clFontSizeMediumPlusPlus: max(3vw,17px);
    --clFontSizeMediumPlus: max(2.7vw,16px);
    --clFontSizeMedium: max(2.4vw,15px);
    --clFontSizeNormal: max(2.1vw,14px);
    --clFontSizeSmallPlus: max(1.9vw,13px);
    --clFontSizeSmaller: max(1.7vw,12px);
    --clFontSizeSmall: max(1.55vw,11px);
    --clFontSizeMinimal: max(1.35vw,9px);
  }
  
  .subtitle, .aioseo-breadcrumbs {
    letter-spacing: max(0.4vw,1px);
    font-weight: 700;
  }
  
  .link, input[type=submit] {
    padding: max(1.2vw,10px) max(2.4vw,20px);
  }
  
  @keyframes logo_anim_900 {
    from {
      transform: translate(-50%, -50%) scale(100%);
      top: 50%;
      left: 50%;
    }
    to {
      transform: translate(0%, 0%) scale(30%);
      top: -15%;
      left: -20%;
    }
  }
  
  #logo-anim {
    animation: logo_anim_900 1200ms forwards ease-out 4000ms;
  }
  
  #content {
    box-shadow: 0px 40px 25px -20px #0f112e;
  }
  
  .home {
    padding-left: 2%;
    padding-right: 2%;
  } 
}

@media only screen and (max-width: 800px) {
  ul {
    text-align: left;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    width:70%;
  }
  
  @keyframes logo_anim_800 {
    from {
      transform: translate(-50%, -50%) scale(100%);
      top: 50%;
      left: 50%;
    }
    to {
      transform: translate(0%, 0%) scale(30%);
      top: -100px;
      left: -150px;
    }
  }
  
  #logo-anim {
    animation: logo_anim_800 1200ms forwards ease-out 4000ms;
  }

  .aioseo-breadcrumbs {
    padding: 0.6vw 0;
    margin: 7% 3.5%;
    text-align: center;
    width: 96%;
  }
  
  #content {
    text-align: center;
  }
  
  .title {
    margin-bottom: 3vw;
  }
  
  .bg.right.center, .bg.left.center{
    width: 150vw;
  }
  
  .bg.right.center img, .bg.left.center img{
    width: 100%;
  }
  
  p.highlighted {
    width: 100%;
  }
 
  #content .subpage h1.title.service {
    margin-bottom: 7%;
  }
  
  .gallery-text-container {
    width: 100%;
  }
  
  #content .sub-content {
    width: 90%;
    padding-left: 0;
  }
  
  .link img {
    width: 4vw;
    padding-left: 3vw;
  }
}

@media only screen and (max-width: 600px) {
  ul {
    width: initial;
  }
  
  .home {
    margin-top: 14%
  }
  
  .slick-slide img {
    width: 120px;
    height: 120px;
  }
  
  .link, input[type=submit] {
    font-size: var(--clFontSizeMediumPlus);
    padding: 2.8vw 6vw;
  }
}

@media only screen and (max-width: 500px) {
  @keyframes logo_anim_500 {
    from {
      transform: translate(-50%, -50%) scale(100%);
      top: 50%;
      left: 50%;
    }
    to {
      transform: translate(0%, 0%) scale(30%);
      top: -80px;
      left: -100px;
    }
  }
  
  #logo-anim {
    animation: logo_anim_500 1200ms forwards ease-out 4000ms;
  }
}

@media only screen and (max-width: 400px) {}

@media only screen and (max-width: 350px) {
  :root {
    --clFontSizeExtraExtraLarge: 30px;
    --clFontSizeExtraLarge: 25px;
    --clFontSizeVeryLarge: 21px;
    --clFontSizeLarger: 18px;
    --clFontSizeLarge: 16px;
    --clFontSizeMediumPlusPlus: 15px;
    --clFontSizeMediumPlus: 15px;
    --clFontSizeMedium: 14px;
    --clFontSizeNormal: 13px;
    --clFontSizeSmallPlus: 12px;
    --clFontSizeSmaller: 11px;
    --clFontSizeSmall: 10px;
    --clFontSizeMinimal: 10px;
  } 
  
  @keyframes logo_anim_800 {
    from {
      transform: translate(-50%, -50%) scale(100%);
      top: 50%;
      left: 50%;
    }
    to {
      transform: translate(0%, 0%) scale(30%);
      top: -80px;
      left: -70px;
    }
  }
  
  #logo-anim {
    animation: logo_anim_800 1200ms forwards ease-out 4000ms;
  }
}