/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* Puva-inspired header. WordPress menu and Flatsome Header Builder stay editable. */
:root {
  --puva-header-bg: #d4cfff;
  --puva-header-ink: #17102f;
  --puva-header-accent: #5740ff;
}
#header,
#header .header-wrapper,
#header #masthead.header-main {
  background: var(--puva-header-bg);
}
#header #masthead.header-main {
  height: auto;
  padding: 49px 0 18px;
}
#header #masthead .header-inner {
  width: calc(100% - 48px);
  max-width: 1604px;
  height: 80px;
  min-height: 80px;
  padding: 0 20px;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}
#header .header-bg-container {
  background: transparent;
}
#header #masthead .top-divider {
  display: none;
}
#header #logo {
  flex-shrink: 0;
}
#header #logo img.header-logo {
  width: auto;
  max-width: 100%;
  max-height: 40px;
  height: auto;
}
#header #masthead .header-inner > .hide-for-medium.flex-left {
  flex-grow: 1;
  min-width: 0;
}
#header #masthead .header-inner > .hide-for-medium.flex-left .header-nav {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
#header #masthead .header-inner > .hide-for-medium.flex-right {
  flex: 0 0 auto;
}
#header #masthead .header-nav-main {
  align-items: center;
}
#header #masthead .header-nav-main > li > a.nav-top-link {
  color: var(--puva-header-ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
#header #masthead .header-nav-main.nav > li.menu-item > a.nav-top-link {
  padding: 0 12px;
}
#header #masthead .header-nav-main > li.current-menu-item > a.nav-top-link,
#header #masthead .header-nav-main > li.current-menu-ancestor > a.nav-top-link,
#header #masthead .header-nav-main > li > a.nav-top-link:hover {
  color: var(--puva-header-accent);
}
#header #masthead .header-nav-main > li .icon-angle-down {
  font-size: 10px;
  margin-left: 5px;
  opacity: 1;
}
#header #masthead .nav-dropdown {
  min-width: 210px;
  padding: 12px 0;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 14px 42px rgba(26, 13, 59, 0.12);
}
#header #masthead .nav-dropdown > li > a {
  padding: 10px 18px;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: var(--puva-header-ink);
}
#header #masthead .nav-dropdown > li > a:hover {
  color: var(--puva-header-accent);
  background: #f5f2ff;
}
#header #masthead .header-nav-main.nav-right {
  gap: 18px;
  padding-left: 70px;
}
#header #masthead .header-search > a.nav-top-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 32px;
  padding: 0;
  color: #130d35;
}
#header #masthead .header-search .icon-search {
  font-size: 19px;
}
#header #masthead .header-button-1 {
  margin: 0;
}
#header #masthead .header-button-1 .header-button {
  line-height: 1;
}
#header #masthead .header-button-1 .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  min-height: 54px;
  min-width: 195px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid #1a0d3b;
  border-radius: 99px;
  background: #1a0d3b;
  color: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
#header #masthead .header-button-1 .button:hover {
  color: #fff;
  background: #3d266d;
  border-color: #3d266d;
}
#header #masthead .header-button-1 .button i.icon-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-left: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
#header .header-wrapper.stuck #masthead.header-main,
#header .stuck #masthead.header-main {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 5px 24px rgba(17, 9, 42, 0.06);
}
@media (min-width: 850px) and (max-width: 1260px) {
  #header #logo {
    width: 115px !important;
  }
  #header #masthead .header-nav-main.nav > li.menu-item > a.nav-top-link {
    padding: 0 7px;
    font-size: 13px;
  }
  #header #masthead .header-nav-main.nav-right {
    gap: 10px;
    padding-left: 16px;
  }
  #header #masthead .header-button-1 .button {
    min-width: 156px;
    padding: 0 14px;
    font-size: 12px;
  }
}
@media (max-width: 849px) {
  #header #masthead.header-main {
    padding: 20px 0;
  }
  #header #masthead .header-inner {
    width: calc(100% - 32px);
    height: 70px;
    min-height: 70px;
    padding: 0 16px;
    border-radius: 9px;
  }
  #header #logo {
    max-width: 120px;
  }
  #header #logo img {
    max-height: 34px;
  }
  #header #masthead .mobile-nav > li > a {
    color: var(--puva-header-ink);
  }
  #header #masthead .mobile-nav .icon-menu,
  #header #masthead .mobile-nav .icon-search {
    font-size: 21px;
  }
}
@media (max-width: 480px) {
  #header #masthead.header-main {
    padding: 14px 0;
  }
  #header #masthead .header-inner {
    width: calc(100% - 24px);
    height: 64px;
    min-height: 64px;
    padding: 0 12px;
  }
}
/* Puva demo-three: DM Sans text and original Boxicons glyphs.
   Flatsome's own fl-icons remain intact outside the adjusted header. */
body,
button,
input,
select,
textarea,
.button,
h1,
h2,
h3,
h4,
h5,
h6,
.nav > li > a,
.nav-dropdown > li > a,
.entry-title,
.post-title,
.blog-post-title {
  font-family: "DM Sans", Arial, sans-serif;
}
#header #masthead .header-nav-main > li > a.nav-top-link {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}
#header .header-search .icon-search::before,
#header .header-button-1 .icon-plus::before,
#header .header-nav-main .icon-angle-down::before,
#header .mobile-nav .icon-menu::before {
  font-family: "boxicons" !important;
  font-weight: normal !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased;
}
#header .header-search .icon-search::before {
  content: "\ebbc";
}
#header .header-button-1 .icon-plus::before {
  content: "\eb89";
}
#header .header-nav-main .icon-angle-down::before {
  content: "\ea17";
  font-size: 18px;
}
#header .mobile-nav .icon-menu::before {
  content: "\eb2a";
}
