/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

body.wp-child-theme-Avada-Child-Theme .fusion-tb-header .fusion-sticky-container:not(.fusion-sticky-spacer):not(.fusion-custom-z-index) {
--awb-z-index: 20;
}

body.wp-child-theme-Avada-Child-Theme.amext-modal-open .fusion-tb-header .fusion-sticky-container:not(.fusion-sticky-spacer):not(.fusion-custom-z-index) {
--awb-z-index: 10;
}

/* Global: Header & Navigation */

body.wp-child-theme-Avada-Child-Theme .nt-logo .fusion-title-heading,
body.wp-child-theme-Avada-Child-Theme .nt-logo .fusion-title-heading a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

body.wp-child-theme-Avada-Child-Theme .nt-logo .fusion-title-heading strong {
  font-family: var(--awb-typography1-font-family);
  font-size: var(--awb-typography1-font-size);
  font-weight: var(--awb-typography1-font-weight);
  color: var(--awb-color8);
}

body.wp-child-theme-Avada-Child-Theme .fusion-menu .fusion-button {
  padding-top: var(--awb-padding-top);
  padding-right: var(--awb-padding-right);
  padding-bottom: var(--awb-padding-bottom);
  padding-left: var(--awb-padding-left);
  line-height: var(--button_line_height, 1);
  font-size: var(--awb-font-size);
}

/* Frontpage: Goal list */

body.wp-child-theme-Avada-Child-Theme .fusion-checklist.nt-goals {
  width: max-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.wp-child-theme-Avada-Child-Theme .fusion-checklist.nt-goals .fusion-li-item {
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: #fff;
}

body.wp-child-theme-Avada-Child-Theme .fusion-checklist.nt-goals .fusion-li-item .icon-wrapper {
  border: 1px solid var(--awb-color8);
}

body.wp-child-theme-Avada-Child-Theme .fusion-checklist.nt-goals .fusion-li-item .fusion-highlight {
  color: inherit;
  border-bottom: 3px solid var(--awb-color4);
}

/* Frontpage: Why me section */
body.wp-child-theme-Avada-Child-Theme .nt-reasons .fusion-builder-row-inner .fusion-title-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}



/* Avada Elements customization */

body.wp-child-theme-Avada-Child-Theme .fusion-highlight.rounded {
  border-radius: 50%;
}

body.wp-child-theme-Avada-Child-Theme .fusion-highlight.nt-highlight.nt-highlight--counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 70%;
  width: 30px;
  flex: 0 0 30px;
  aspect-ratio: 1;
  padding: 0;
}



/* Project specific settings */

/* Menu */

.amext-login-menu-item {
    margin-left: 60px !important; /* Állítsd be a kívánt értéket */
}


/* Hero */
body.wp-child-theme-Avada-Child-Theme .nt-hero {
  background-size: var(--awb---awb-background-size);
}

body.wp-child-theme-Avada-Child-Theme .nt-hero__text {
  transform: rotate(-1.5deg) scale(1.2);
  transform-origin: bottom left;
  display: inline-block;
}

body.wp-child-theme-Avada-Child-Theme .nt-heromobile__text {
  transform: rotate(-1.5deg) scale(1.2);
  transform-origin: center center;
  display: inline-block;
}

/* Title Decoration classes */

/* ==========
Available Classlist:

!BASE: nt-title

*Icon and its pseudo:*
nt-title--before-whisker
nt-title--after-whisker
nt-title--before-heart
nt-title--after-heart

*Positions:*
nt-title--left
nt-title--right
nt-title--top
nt-title--bottom

==

Available Combinations:
.nt-title--left.nt-title--before-{icon}
.nt-title--top.nt-title--before-{icon}
.nt-title--right.nt-title--after-{icon}
.nt-title--bottom.nt-title--after-{icon}


========== */


body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: max-content;
  gap: 10px;
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.fusion-title-center {
  max-width: none;
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--before-whisker::before,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--after-whisker::after,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--before-heart::before,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--after-heart::after {
  display: block;
  content: '';
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--before-whisker::before,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--after-whisker::after {
  background-image: url("assets/img/whisker.svg");
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--top,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--bottom {
  flex-direction: column;
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--before-heart,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--after-heart {
  /* gap: 15px; */
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--before-heart::before,
body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--after-heart::after {
  background-image: url("assets/img/heart.svg");
  /* background-size: 60%; */
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--left.nt-title--before-whisker::before {
  transform: scaleX(-1) rotate(25deg) translateY(15px);
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--left.nt-title--before-heart::before {
  transform: rotate(-12deg) translateY(5px);
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--right.nt-title--after-heart::after {
  transform: rotate(12deg) translateY(-5px);
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--top.nt-title--before-whisker::before {
  transform: rotate(-90deg);
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fusion-title.nt-title.nt-title--bottom.nt-title--after-whisker::after {
  transform: rotate(-90deg) translateY(-5px);
}

body.wp-child-theme-Avada-Child-Theme.fusion-body .fontawesome-icon.fb-icon-element.circle-yes {
  flex: 0 0 var(--awb-width);
}


/* Responsive */

@media screen and (max-width: 776px) {
  body.wp-child-theme-Avada-Child-Theme {
    --awb-typography1-font-size: 32px;
  }

  body.wp-child-theme-Avada-Child-Theme .nt-logo img {
    max-width: 45px;
  }
}

@media screen and (max-width: 539px) {
  body.wp-child-theme-Avada-Child-Theme .nt-logo {
    --awb-typography1-font-size: 28px;
  }

  body.wp-child-theme-Avada-Child-Theme .nt-logo img {
    max-width: 35px;
  }
}

.custom-toggle-box .fusion-panel {
    border-radius: 10px !important;
    box-shadow: 0 0 8px rgba(33, 33, 33, 0.3) !important;
    overflow: hidden; /* Biztosítja, hogy a belső elemek ne lógjanak ki a lekerekített sarokból */
}

/* Felülírja az Avada specifikus tiltását a címsor linkjén */
.custom-toggle-box .fusion-accordian .panel-title a {
    box-shadow: none !important; /* A címsorról levesszük, mert a teljes doboz kapja meg az árnyékot */
    border-radius: 10px 10px 0 0 !important;
}