/*
Theme Name: Noam Finance
Author: Kat Happens
Version: 1.0
Text Domain: leos
*/
.base-output ol li
{
	margin-bottom: 1em;
}
.base-output ul
{
	margin-right: 1.5rem;
}
.base-output ul li
{
	margin-bottom: 0.5em;
}

[lang="he-IL"] .grw-btns.grw-prev, [lang="he-IL"] .grw-btns.grw-next {
    transform: rotate(180deg);
}

/* Toast Styles */
#message-toast {
    display: none;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.7);
    max-width: 450px;
    text-align: center;
    color: #505050;
}

.toast-timer {
    height: 8px;
    width: 100%;
    margin: 0;
    border-radius: 4px;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    font-size: clamp(18px, 1.5vw, 28px);
}

.toast-icon {
    margin-inline: 10px;
    font-size: clamp(20px, 1.5vw, 35px);
}

@media screen and (width < 768px) {
    #message-toast {
        max-width: 90%;
    }
}
/* End Toast Styles */

a[href^="tel:"], a[href^="mailto:"] {
    white-space: nowrap;
}

.service-line .services-slider:not(.slick-initialized), .service-line .services-slider:not(.slick-initialized) .slick-track, .service-line .services-slider:not(.slick-initialized) .slick-list {
    flex-direction: row !important;
  	flex-wrap: nowrap !important;
  display: flex !important;
}

.services-slider:not(.slick-initialized) .p-serv-slide {
    width: 20%;
}

@media screen and (width < 768px) {
  .services-slider:not(.slick-initialized) .p-serv-slide {
    width: 50vw !important;
  }
}

div#youtubeModal .modal-content {
    background-color: transparent;
    border: none;
}

div#youtubeModal button.close {
    top: 0 !important;
    position: absolute;
      opacity: 1;
      
}
div#youtubeModal button.close svg path{
stroke: black;
}
.base-output ul li
{
	padding-right: 0.3em;
}

@media screen and (width < 768px) {
    body.single .base-output p, body.single .base-output ul {
        text-align: justify;
        max-width: 80vw;
        margin-inline: auto;
    }
}
@media screen and (width < 400px) {
  .foo-menu {
      flex: 0 0 100%;
      max-width: 100%;
  }
}
.fixed-socials {
  top: 50%;
}
.mobile-calc-wrapper {
    position: fixed;
    top: 45%;
    left: -40px; 
    z-index: 1000;
}

.mobile-calc-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #69ba51;
    border: none;
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s;
    transform: translateX(-50%); 
}
.mobile-calc-button svg {
    width: 30px;
    height: 30px;
}
.mobile-calc-wrapper.open .mobile-calc-button {
    transform: translateX(40px); 
}

.mobile-calc-button .icon {
    flex-shrink: 0;
}

.mobile-calc-button .button-text {
    margin-inline: 10px;
    opacity: 0;
    color: white;
    white-space: nowrap;
    transition: opacity 0.3s ease-in-out;
}

.mobile-calc-wrapper.open .button-text {
    opacity: 1;
}

.calc-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.calc-link:hover {
    text-decoration: underline;
}
.ilpc-consent-p input[type="checkbox"] {
    height: auto !important;
}
.ilpc-banner {
  z-index: 99999999;
}

body.page-id-703 .top-title {
  display: none;
}

.about-img-wrap, .base-slider-block {
  background-image: unset;
}

.hero-block {
	/*min-height: 75vh;*/
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.header-phone {
    margin-inline-start: 0.75rem !important;
}

@media screen and (width < 768px) {
 .grecaptcha-badge {
   opacity: 0;
   pointer-events: none;
  }
  .fixed-socials a[href*="whatsapp"] {
   display: none; 
  }
}

.postid-852 .ti-widget-container {
    display: none !important;
}

footer div.wpcf7 button[type=submit] {
  background: linear-gradient(180deg, #d97a39 0%, #e4af20 100%)
}

@media screen and (width > 1024px) {
  .hero-img {
      position: absolute;
      bottom: 0;
  }

  .hero-img img {
      max-width: unset;
      height: 45vh;
      object-fit: contain;
  }
}
@media screen and (width < 768px) {
    .hero-img img {
          max-width: 100%;
  }
}