/* 
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
*/

* {
  min-height: 0;
  min-width: 0;
}

body {
  overflow-x: hidden;
}

img,
svg {
  vertical-align: middle;
}

a {
  transition: 0.3s ease all;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

input:not([type="submit"]):not([type="checkbox"]),
textarea {
  border: 1px solid #ddd;
  border-radius: 0;
  width: 100%;
}

.error-message {
  color: #d9534f;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0;
}

.no-underline {
  text-decoration: none !important;
}

/* Button */
.button div {
  display: none;
}
.button,
input[type="submit"].button {
  background: #000;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  transition: 0.5s ease all;
  text-decoration: none !important;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  align-self: self-start;
}
.button:hover,
input[type="submit"].button:hover {
  background: #333;
  color: #fff;
}
.button[disabled] {
  cursor: not-allowed !important;
}
.button[disabled] div {
  display: block;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 0 !important;
  padding: 0 !important;
}

.spinner span {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid transparent;
  border-radius: 50%;
  border-right-color: #fff;
  animation: spinner-anim 0.8s linear infinite;
}

@keyframes spinner-anim {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

#page-wrapper .elementor-element {
  padding: 0;
}

#masthead {
  position: relative;
  z-index: 99 !important;
}
#page-wrapper {
  display: flex;
  gap: 0rem;
  min-height: 100dvh;
  position: relative;
  z-index: 100 !important;
}
#main-sidebar {
  background-color: #f8f8f8;
  border-right: 1px solid #eee;
  max-width: 300px;
  flex-basis: 300px;
  padding: 2rem;
  position: relative;
  z-index: 98 !important;
}
#main-wrapper {
  flex: 1;
}
#main-header {
  background-color: #f8f8f8;
  border-bottom: 3px solid #f8f8f8;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#main-header .custom-logo-link {
  flex-basis: 235px;
  max-width: 235px;
}
#main-header .menu {
  display: flex;
}

#content {
  padding: 2rem;
}

/* Logo */
a.custom-logo-link {
  display: block;
}

/* Menu */
.menu {
  padding: 0;
  list-style: none;
}

.menu li {
  margin: 2px 0;
  border-radius: 10px;
  overflow: hidden;
}
.menu li.active {
  transition: 0.5s ease all;
  background-color: #fff;
  box-shadow: 1px 5px 7px -7px rgba(0, 0, 0, 0.1);
}
.menu li:hover a {
  color: #000;
}
.menu li span:first-child {
  flex-basis: 20px;
  max-width: 20px;
  flex-shrink: 0;
}
.menu li span:first-child img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}
.menu li a {
  color: #555;
  padding: 10px;
  display: flex;
  gap: 0.5rem;
}
.menu li span:last-child {
  flex: 1;
}
.menu li.active a {
  color: #000;
}

.page-template-page-construction #content {
  padding: 0;
}

/* Forms */
div.wpforms-container-full input[type="text"],
div.wpforms-container-full input[type="email"],
div.wpforms-container-full textarea {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

div.wpforms-container-full input[type="text"]:focus,
div.wpforms-container-full input[type="email"]:focus,
div.wpforms-container-full textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}
div.wpforms-container-full input[type="text"]::placeholder,
div.wpforms-container-full input[type="email"]::placeholder,
div.wpforms-container-full textarea::placeholder {
  color: #fff !important;
}
[type="button"]:focus,
[type="submit"]:focus,
button:focus {
  outline: 0 !important;
}
div.wpforms-container-full input[type="submit"]:focus:after,
div.wpforms-container-full button[type="submit"]:focus:after,
div.wpforms-container-full .wpforms-page-button:focus:after {
  display: none;
}
#content button[type="submit"] {
  transition: 0.3s ease all;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  transition: 0.5s ease all;
  text-decoration: none !important;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: normal;
  line-height: 24px;
  height: auto;
}
#content button[type="submit"]:hover {
  transition: 0.3s ease all;
}
form textarea {
  height: 150px !important;
}

body.logged-in .hide_when_logged_in {
  display: none;
}
.arrow {
  margin-left: 7px !important;
  display: inline-flex;
  overflow: hidden !important;
}
.arrow svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.1;
}
.arrow svg g {
  transition: transform 0.38s cubic-bezier(0.37, 0.08, 0.02, 0.93),
    opacity 0.18s ease-out;
}
a .arrow g:nth-of-type(1),
button .arrow g:nth-of-type(1) {
  transform: translateX(0) translateY(0);
  opacity: 1;
  transition-delay: 0.15s, 0.15s;
}
a .arrow g:nth-of-type(2),
button .arrow g:nth-of-type(2) {
  transform: translateX(-110%) translateY(100%);
  opacity: 0.5;
  transition-delay: 0s, 0s;
}

a:hover .arrow g:nth-of-type(1),
button:hover .arrow g:nth-of-type(1) {
  transform: translateX(110%) translateY(-100%);
  opacity: 0;
  transition-delay: 0s, 0s;
}
a:hover .arrow g:nth-of-type(2),
button:hover .arrow g:nth-of-type(2) {
  transform: translateX(0) translateY(0);
  opacity: 1;
  transition-delay: 0.15s, 0.15s;
}

@media (max-width: 768px) {
  #page-wrapper {
    flex-direction: column;
  }
  #main-sidebar {
    max-width: 100%;
    flex-basis: 100%;
  }
}
