/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
  --wpforms-button-background-color: #1c23ba !important;
}

html {
  scrollbar-gutter: stable;
  scroll-behavior: unset !important;
}

html,
body {
  font-size: 14px;
  overflow-x: clip;
}

body.modal-open {
  overflow: clip;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  /* line-height: 1; */
  text-rendering: optimizeSpeed;
}

body a {
  text-underline-offset: 4px;
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
  padding-right: 0 !important;
}

img {
  vertical-align: middle;
}

.aspect-ratio-666 img {
  aspect-ratio: 0.666;
}


body.error404 #content {
  padding: 15rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  transition: all 0.4s ease-in-out;
  text-decoration: none;
}


#content .underlined a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#content .indented p {
  text-indent: 30px;
}

.serif-deck {
  font-family: "kinfolk-serifdeck", Sans-serif;
  text-transform: uppercase;
}

.comments-area a,
.page-content a {
  text-decoration: none;
}

#content .restricted_container_width>.e-con-inner {
  max-width: 1080px;
  width: 80%;
}


@media (min-width: 981px) {
  #masthead .hfe-nav-menu__layout-horizontal {
    width: auto !important;
  }

  #masthead ul.hfe-nav-menu>li>.sub-menu {
    padding: 20px 0;
  }

  #masthead ul.hfe-nav-menu>li>.sub-menu li {
    padding: 0 20px;
  }

  #masthead ul.hfe-nav-menu>li>.sub-menu .menu-item a {
    padding: 6px 20px;
  }
}

@media (max-width: 980px) {
  #masthead .sub-arrow {
    display: none;
  }

  #masthead .hfe-dropdown {
    background-color: transparent !important;
  }

  #masthead ul.hfe-nav-menu {
    background-color: var(--e-global-color-primary);
    margin: 1rem 1.5rem;
  }

  #masthead .hfe-nav-menu__breakpoint-mobile .hfe-nav-menu__layout-horizontal .sub-menu {
    visibility: visible;
    opacity: 1;
    border: none;
    height: auto;
  }
}