/*
Theme Name: RoseN
Author: mardor - PM Creative
Author URI: https://madworks.hu
Version: 1.0014
Description: MadWorks egyedi sablonja - RoseN
*/
html, body {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wp--preset--font-family--body);
}
body footer.wp-block-template-part {
  margin-top: 0;
}
body section.deco {
  position: relative;
}
body section.deco::after {
  content: "";
  background-image: url("img/ROSEN-rose-1.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  z-index: -1;
  width: 600px;
  height: 600px;
}
body section.deco.right::after {
  right: -10%;
  bottom: -10%;
  transform: rotateY(180deg);
}
@media screen and (min-width: 999px) and (max-width: 1499px) {
  body .flex-container {
    flex-wrap: wrap !important;
  }
  body .flex-container .wp-block-column {
    flex-basis: calc(50% - 22px) !important;
  }
  body .flex-container .wp-block-column:nth-child(2) {
    flex-basis: 100% !important;
  }
  body .flex-container .wp-block-column:nth-child(2) .full-height img {
    height: 100%;
    width: 100%;
    height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% 50%;
       object-position: 50% 50%;
  }
  body .flex-container .wp-block-column:nth-child(1) {
    order: 1;
  }
  body .flex-container .wp-block-column:nth-child(3) {
    order: 2;
  }
}
body .boxes .wp-block-cover {
  padding-left: 7vw !important;
  padding-right: 7vw !important;
  font-size: larger;
}
body .boxes .wp-block-cover .wp-block-cover__inner-container {
  max-width: 1000px;
}
@media screen and (max-width: 998px) {
  body { /* smartphone */ }
  body .boxes .wp-block-cover, body .boxes .wp-block-cover-image {
    min-height: 300px;
  }
}
@media screen and (min-width: 999px) {
  body { /* desktop */ }
  body .full-page {
    height: 90vh;
  }
  body .full-height, body .full-height img {
    height: 100%;
  }
  body .full-width, body .full-width img {
    width: 100%;
  }
  body .justified.is-layout-flex > div.wp-block-column > div.wp-block-group {
    height: 100%;
  }
  body #customer-reviews .owl-item > div > div {
    height: 495px;
  }
}
body #partners .owl-stage {
  display: flex;
  align-content: center;
  align-items: center;
}
body #partners .owl-item figure {
  text-align: center;
  margin: auto 10px;
}
body #partners .owl-item figure img {
  width: auto;
}

/* ========================= HEADER, FOOTER, MAIN =============== */
body.fixed-header #page > header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background: white;
  box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.35);
}
body.fixed-header #page > header figure#main-logo img {
  height: 50px;
}
body.fixed-header #page > header > div > div {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.fixed-header #page > header .menu > li > ul.sub-menu {
  margin-top: 30px;
}
body footer h2 {
  font-weight: normal;
}
body footer a {
  text-decoration: none;
}
body footer ul.menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
}
body footer ul.menu a {
  color: var(--wp--preset--color--txt-light);
  text-decoration: none;
}
body footer .is-layout-flex {
  gap: 0.8em;
}
@media screen and (max-width: 998px) {
  body footer { /* smartphone */
    text-align: center;
  }
  body footer .is-layout-flex {
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ========================= MENU ===================================== */
body header {
  /* === #menu-wrapper === */
}
body header .widget.widget_polylang ul, body header ul.menu {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  align-items: center;
  padding-left: 0 !important;
}
body header .widget.widget_polylang ul > li a, body header ul.menu > li a {
  color: var(--wp--preset--color--txt-light);
  text-decoration: none;
}
body header .widget.widget_polylang ul > li.current-menu-item a, body header .widget.widget_polylang ul > li.current-lang a, body header ul.menu > li.current-menu-item a, body header ul.menu > li.current-lang a {
  color: var(--wp--preset--color--secondary) !important;
}
body header .widget.widget_nav_menu {
  margin-left: auto;
}
body header .wp-block-column:has(.widget_polylang) {
  flex-basis: clamp(66px, 66px + 50 * (100vw - 768px) / 1152, 130px) !important;
}
body header .widget.widget_polylang ul {
  gap: 0;
  padding-left: 0;
}
body header .widget.widget_polylang ul li:first-child::after {
  content: "|";
  margin-left: 10px;
}
body header .widget.widget_polylang ul li:last-child {
  margin-left: 10px;
}
body header .menu {
  gap: 2em;
}
body header .menu > li {
  float: left;
  padding: 2px 0;
  box-sizing: border-box;
  text-align: center;
}
body header .menu > li:last-child {
  background-color: var(--wp--preset--color--secondary);
  border-radius: 30px;
  padding: 10px 20px;
}
body header .menu > li > ul.sub-menu {
  background-color: var(--wp--preset--color--primary);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  position: absolute;
  margin-top: 10px;
  left: 0;
  width: 100%;
  list-style: none;
  z-index: 1000;
  text-align: left;
  padding: 0 2em;
}
body header .menu > li > ul.sub-menu > li.menu-item-has-children > a {
  position: relative;
  display: inline-block;
}
body header .menu > li > ul.sub-menu > li.menu-item-has-children > a:hover {
  animation: none;
}
body header .menu > li > ul.sub-menu > li.menu-item-has-children > a::after {
  content: "";
  background-image: url("img/menu-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  top: 6px;
  right: -30px;
  width: 20px;
  height: 20px;
}
@media screen and (min-width: 999px) {
  body header .menu > li > ul.sub-menu { /* desktop */
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--wp--preset--color--secondary);
    margin-top: 50px;
  }
}
@media screen and (min-width: 999px) {
  body header .menu > li > ul.sub-menu > li { /* desktop */
    flex-basis: 24%;
    width: 24%;
    box-sizing: border-box;
    border-right: 1px solid var(--wp--preset--color--separator);
    padding: 2em 1.5em;
  }
  body header .menu > li > ul.sub-menu > li:last-child {
    flex-basis: 28%;
    width: 28%;
    border-right: none;
  }
  body header .menu > li > ul.sub-menu > li > a {
    cursor: default;
    padding-bottom: 10px;
  }
  body header .menu > li > ul.sub-menu > li > a:after {
    content: url(../../lenyilo-ikon.png);
    margin-left: 12px;
  }
}
body header .menu > li > ul.sub-menu > li > a {
  display: block;
}
body header .menu > li > ul.sub-menu > li ul.sub-menu {
  padding-left: 0;
  list-style: none;
}
body header .menu > li > ul.sub-menu > li ul.sub-menu li {
  padding: 6px 0;
}
body header .menu > li > ul.sub-menu > li ul.sub-menu li > a {
  color: var(--wp--preset--color--secondary) !important;
  font-weight: normal;
}
body header .menu > li:hover ul.sub-menu, body header .menu > li.active ul.sub-menu {
  visibility: visible;
  opacity: 1;
}
@media screen and (max-width: 998px) {
  body header { /* smartphone */ }
  body header ul#menu-fomenu, body header ul#menu-fomenu-en {
    display: none;
  }
  body header .wp-block-column:has(.wp-block-image) {
    flex-basis: 25% !important;
  }
}
body header #hamburger-wrapper {
  margin: 0;
}
@media screen and (min-width: 999px) {
  body header #hamburger-wrapper { /* desktop */
    display: none;
  }
}
body header #hamburger-wrapper button.hamburger {
  margin-top: 5px;
  width: 50px;
  background: transparent;
  border: 0;
  float: right;
  cursor: pointer;
}
body header #hamburger-wrapper button.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: black;
  margin: 7px 0;
}
body .slide-in-menu {
  z-index: 110;
  position: fixed;
  top: 0;
  right: 0;
  padding: 0;
  width: 100%;
  overflow-y: auto;
  margin-right: -100%;
  height: 100vh;
  box-sizing: border-box;
  transition: all 1s;
  background-color: var(--wp--preset--color--primary);
}
body .slide-in-menu.opened {
  margin-right: 0;
}
body .slide-in-menu .widget.widget_polylang {
  display: inline-block;
}
body .slide-in-menu .widget.widget_polylang ul {
  display: flex;
  list-style: none;
  align-items: center;
}
body .slide-in-menu .widget.widget_polylang ul > li a {
  color: var(--wp--preset--color--txt-light);
  text-decoration: none;
}
body .slide-in-menu .widget.widget_polylang ul > li:first-child::after {
  content: "|";
  color: white;
  margin-left: 10px;
}
body .slide-in-menu .widget.widget_polylang ul > li:last-child {
  margin-left: 10px;
}
body .slide-in-menu .widget.widget_polylang ul > li.current-menu-item a, body .slide-in-menu .widget.widget_polylang ul > li.current-lang a {
  color: var(--wp--preset--color--secondary) !important;
}
body .slide-in-menu .widget.widget_polylang .widget.widget_nav_menu {
  margin-left: auto;
}
body .slide-in-menu .widget.widget_polylang .wp-block-column:has(.widget_polylang) {
  flex-basis: clamp(66px, 66px + 50 * (100vw - 768px) / 1152, 130px) !important;
}
body .slide-in-menu #close-btn {
  text-align: right;
  z-index: 50;
}
body .slide-in-menu #close-btn a .dashicons::before {
  font-size: 30px;
}
body #nav-mobile.slide-in-menu .widget.widget_nav_menu {
  margin-top: 0;
}
body #nav-mobile.slide-in-menu ul {
  list-style: none;
}
body #nav-mobile.slide-in-menu ul a {
  text-decoration: none;
}
body #nav-mobile.slide-in-menu ul .sub-menu {
  display: none;
}
body #nav-mobile.slide-in-menu ul .sub-menu .sub-menu {
  padding-left: 0;
}
body #nav-mobile.slide-in-menu ul > li.menu-item-has-children > a {
  position: relative;
  display: inline-block;
  margin: 0.5em 0;
}
body #nav-mobile.slide-in-menu ul > li.menu-item-has-children > a:hover {
  animation: none;
}
body #nav-mobile.slide-in-menu ul > li.menu-item-has-children > a::after {
  content: "";
  background-image: url("img/menu-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  top: 6px;
  right: -30px;
  width: 20px;
  height: 20px;
}
body #nav-mobile.slide-in-menu ul li.menu-item-has-children li:not(.menu-item-has-children) a {
  color: var(--wp--preset--color--secondary) !important;
}
body #nav-mobile.slide-in-menu .menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin: 1vh 0 1vh;
  padding: 0;
}
body #nav-mobile.slide-in-menu .menu > li {
  float: none;
  padding: 0.5em 2em;
  position: relative;
  box-sizing: border-box;
  font-size: 1.2em;
  border-top: 1px solid var(--wp--preset--color--separator);
}
body #nav-mobile.slide-in-menu .menu > li a {
  color: white;
}
body #nav-mobile.slide-in-menu .menu > li:first-child {
  border-top: none;
}
body #nav-mobile.slide-in-menu .menu > li:last-child {
  background-color: var(--wp--preset--color--secondary);
  border-radius: 30px;
  padding: 10px 20px;
  margin: 1em 2em;
  border-top: none;
  text-align: center;
}
body #nav-mobile.slide-in-menu div#close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 2px solid var(--wp--preset--color--secondary);
  border-radius: 50%;
}
body #nav-mobile.slide-in-menu div#close-btn a {
  color: var(--wp--preset--color--secondary);
}
body #nav-mobile.slide-in-menu div#close-btn span.dashicons {
  width: 30px;
  height: 30px;
  text-decoration: none;
}
body .hamburger-btn a {
  padding: 0;
  font-size: 30px;
}

/* ========================= BUTTONS ============================ */
body .wp-block-button.arrow-btn a {
  display: inline-flex;
  align-items: center;
  text-align: left;
  background: transparent;
  padding: 0;
}
body .wp-block-button.arrow-btn a::after {
  content: url("../../uploads/Arrow-right-circle.svg");
  height: 48px;
  display: inline-block;
  margin-left: 1em;
  vertical-align: middle;
}
body button.ff-btn.ff-btn-submit {
  background-color: var(--wp--preset--color--secondary) !important;
  border-radius: 30px;
}
@media screen and (min-width: 999px) {
  body { /* desktop */ }
  body .wp-element-button {
    min-width: 385px;
  }
}
@media screen and (max-width: 998px) {
  body { /* smartphone */ }
  body main .wp-block-button:not(.arrow-btn) {
    width: 100%;
  }
  body main .wp-block-button:not(.arrow-btn) .wp-element-button {
    width: 100%;
    min-width: 300px;
  }
}

/* ========================= EFFECTS ============================ */
body a:hover {
  animation: flash 2s;
}
@keyframes flash {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
body .animated {
  animation-name: none;
}
body .animated.animate__backInLeft, body .animated.animate__slideInLeft, body .animated.animate__backInUp,
body .animated.animate__fadeIn, body .animated.animate__fadeInLeft .animated.animate__fadeInUp, body .animated.animate__fadeInDown {
  opacity: 0;
}
body .do-animation {
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 1;
}
body .op-move-up:not(body .op-move-up.do-animation) {
  opacity: 0;
}
body .op-move-up.do-animation {
  animation-name: opMoveUp100;
  -moz-animation-name: opMoveUp100;
  -webkit-animation-name: opMoveUp100;
}
@keyframes opMoveUp100 {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ========================= PAGES ============================ */
@media screen and (max-width: 998px) {
  body.home { /* smartphone */ }
  body.home .wp-block-cover, body.home .wp-block-cover-image {
    align-items: flex-start;
  }
  body.home .wp-block-cover .wp-block-column {
    padding-top: 30px !important;
  }
  body.home #hero .wp-block-cover__inner-container {
    height: 90vh;
  }
  body.home #hero .wp-block-buttons {
    position: absolute;
    bottom: 8vh;
    left: 0;
    padding: 30px;
    box-sizing: border-box;
    width: 100%;
  }
  body.home .wp-block-column .wp-block-cover {
    min-height: 280px !important;
  }
  body.home #book.wp-block-cover {
    min-height: 75px !important;
  }
  body.home #knowledgebase .wp-block-column {
    border-right: none !important;
  }
  body.home #knowledgebase .wp-block-column figure img {
    height: 45px !important;
  }
  body.home #knowledgebase .wp-block-column h4 {
    text-align: center !important;
  }
}

@media screen and (min-width: 999px) {
  body.page-id-37, body.page-id-761 { /* desktop */ }
  body.page-id-37 section#contact-form, body.page-id-761 section#contact-form {
    position: absolute;
    right: var(--wp--preset--spacing--h-s);
    transform: translateY(-50%);
    margin: 0;
    width: 40%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
}

body.blog .wp-block-post-featured-image :where(img) {
  max-height: 300px;
}

/* ========================= FONT SIZES ========================= */
body {
  font-size: clamp(18px, 18px + (18 - 18) * (100vw - 320px) / (1500 - 320), 18px);
  line-height: clamp(28px, 28px + (33 - 28) * (100vw - 320px) / (1500 - 320), 33px);
}

h1 {
  font-size: clamp(30px, 30px + (50 - 30) * (100vw - 320px) / (1500 - 320), 50px);
  line-height: clamp(40px, 40px + (62 - 40) * (100vw - 320px) / (1500 - 320), 62px);
}

h2 {
  font-size: clamp(28px, 28px + (40 - 28) * (100vw - 320px) / (1500 - 320), 40px);
  line-height: clamp(38px, 38px + (55 - 38) * (100vw - 320px) / (1500 - 320), 55px);
}

h3 {
  font-size: clamp(24px, 24px + (30 - 24) * (100vw - 320px) / (1500 - 320), 30px);
  line-height: clamp(34px, 34px + (40 - 34) * (100vw - 320px) / (1500 - 320), 40px);
}

.home h1 {
  font-size: clamp(28px, 28px + (60 - 28) * (100vw - 320px) / (1500 - 320), 60px);
  line-height: clamp(38px, 38px + (75 - 38) * (100vw - 320px) / (1500 - 320), 75px);
}

article h1 {
  font-size: clamp(28px, 28px + (36 - 28) * (100vw - 320px) / (1500 - 320), 36px);
  line-height: clamp(38px, 38px + (46 - 38) * (100vw - 320px) / (1500 - 320), 46px);
}
article h2 {
  font-size: clamp(24px, 24px + (28 - 24) * (100vw - 320px) / (1500 - 320), 28px);
  line-height: clamp(34px, 34px + (36 - 34) * (100vw - 320px) / (1500 - 320), 36px);
}
article h3 {
  font-size: clamp(20px, 20px + (20 - 20) * (100vw - 320px) / (1500 - 320), 20px);
  line-height: clamp(30px, 30px + (28 - 30) * (100vw - 320px) / (1500 - 320), 28px);
}

body.blog h2 {
  font-size: clamp(24px, 24px + (28 - 24) * (100vw - 320px) / (1500 - 320), 28px);
  line-height: clamp(34px, 34px + (36 - 34) * (100vw - 320px) / (1500 - 320), 36px);
  min-height: 80px;
}
@media screen and (max-width: 1269px) {
  body.blog .wp-container-core-post-template-is-layout-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 998px) {
  body.blog .wp-container-core-post-template-is-layout-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media screen and (min-width: 999px) {
  p.has-num-font-family {
    font-size: 130px !important;
    line-height: 0.7;
  }
  .wp-block-column:has(.has-num-font-family) {
    flex-basis: 65px !important;
  }
}
@media screen and (max-width: 998px) {
  p.has-num-font-family {
    font-size: 128px !important;
    line-height: 0.7;
  }
  .wp-block-columns:has(.has-num-font-family) {
    gap: 16px 8px;
  }
  .wp-block-column:has(.has-num-font-family) {
    flex-basis: 62px !important;
  }
}
/* ========================= SPACINGS =========================== */
body article {
  padding-left: var(--wp--preset--spacing--h-m);
  padding-right: var(--wp--preset--spacing--h-m);
}
body article {
  margin-bottom: var(--wp--preset--spacing--v-m);
}
@media screen and (min-width: 1270px) and (max-width: 1365px) {
  body {
    --wp--preset--spacing--h-m: 3rem;
    --wp--preset--spacing--h-l: 6rem;
  }
}
@media screen and (min-width: 999px) and (max-width: 1269px) {
  body {
    --wp--preset--spacing--h-m: 3rem;
    --wp--preset--spacing--h-l: 6rem;
  }
}
@media screen and (min-width: 999px) {
  body { /* desktop */ }
  body article {
    max-width: 1200px;
    margin: auto;
  }
  body .desktop-hidden {
    display: none !important;
    visibility: hidden !important;
  }
}
@media screen and (max-width: 998px) {
  body { /* SMARTPHONE */
    --wp--preset--spacing--h-s: 20px;
    --wp--preset--spacing--h-m: 30px;
    --wp--preset--spacing--h-l: 30px;
    --wp--preset--spacing--v-s: 10px;
    --wp--preset--spacing--v-m: 30px;
  }
  body .mobile-hidden {
    display: none !important;
    visibility: hidden !important;
  }
  body .m-alignleft {
    text-align: left !important;
  }
  body .m-fullwidth {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  body .m-order-2 {
    order: 2;
  }
}

/* ========================= ACCESSIBILITY ============================ */
body .visually-hidden {
  position: absolute;
  left: -10000em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
body .skiplink {
  margin: 0;
  position: relative;
}
body .skiplink a {
  line-height: 1em;
  position: absolute;
  left: 0;
  top: -5em;
  width: 100%;
  background-color: #362e59;
  color: white;
  outline: 2px solid white;
  text-decoration: none;
  padding: 1.5em 0;
  margin: 0 auto;
  text-align: center;
  -moz-transition-duration: 0.3s;
  -moz-transition-property: top opacity;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-property: top opacity;
  -webkit-transition-timing-function: ease-out;
  transition-duration: 0.3s;
  transition-property: top opacity;
  transition-timing-function: ease-out;
  display: block;
  opacity: 0;
  z-index: 200;
}
body .skiplink a:focus, body .skiplink a:hover {
  top: 0;
  outline-color: var(--wp--preset--color--primary);
  opacity: 1;
}/*# sourceMappingURL=style.css.map */