/*
Theme Name: Maagalim
Author: KatHappenns
Version: 1.0
Text Domain: leos
*/
:root{
  --main-color: #6db140;
    --second-color: #004471;
      --accent-color: #8cc63f;
}
html[lang*="en"] body{
	text-align: start;
	direction: ltr;
}
html[lang*="en"] .text-right {
  text-align: left !important;
}
html[lang*="en"] .text-left {
	text-align: right !important;
}
html[lang*="en"] .wpcf7-form *
{
	direction: ltr !important;
}
html[lang*="en"] :is(div.wpcf7 input[type=text], div.wpcf7 input[type=email], div.wpcf7 input[type=tel], div.wpcf7 textarea) {
	background-position: 10px center !important;
	direction: ltr !important;
	text-align: left;
	padding-right: unset;
	padding-inline-start: 1.5rem;
}
html[lang*="en"] div.wpcf7 input[type=submit]{
	background-position: calc(100% - 10px) center !important;
	direction: ltr !important;
	padding-left: unset !important;
	padding-inline-end: 2.5rem;
	background-image: url("/wp-content/themes/maagalim/assets/icons/submit-arrow-en.png");
}
html[lang*="en"] .post-link {
	background-image: url("/wp-content/themes/maagalim/assets/icons/arrow-left-white-en.png)");
}
html[lang*="en"] .service-link{
	padding: 0 2.0833333333rem 0 0.7083333333rem;
	background-position: calc(100% - 10px) center !important;
	background-image: url("/wp-content/themes/maagalim/assets/icons/link-arrow-left-en.png)");
	align-self: flex-end;
}
html[lang*="en"] .single-link {
	background-image: url("/wp-content/themes/maagalim/assets/icons/arrow-left-en.png");
	background-position: calc(100% - 10px) center !important;
}
html[lang*="en"] .single-link:hover{
	background-image: url("/wp-content/themes/maagalim/assets/icons/arrow-left-white-en.png)");
}
html[lang*="en"] div.wpcf7 input[type="checkbox"] {
    margin-left: unset !important;
	margin-right: 0.5rem;
}
html[lang*="en"] .benefits-block .base-text-gray {
	text-align: start;
}
html[lang*="en"] .wpcf7-list-item {
	margin: 0px 1em 0px 0px;
}

html[lang*="en"] .service-card-content
{
	padding-left: unset !important;
	padding-right: 10%;
}

html[lang*="en"] .post-card-content .post-link {
	left: unset;
	right: 1rem;
}
html[lang*="en"] .contact-icon-wrap {
	margin-left: unset !important;
	margin-right: 1.05rem;
}

.main-post-output li
{
  position:unset;
  padding-right: 0;

}
.main-post-output h3{
font-size: inherit;

}

.post-card{
	width: 100%;
}

.div.wpcf7-response-output {
  bottom: -40px;
}

.responsive-iframe-container {
	position: relative;
	width: 400px;
	padding-bottom: 28%;
	height: 100%;
	overflow: hidden;
}

.responsive-iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.titles-block{
	top: 2rem;
}

.benefits-block .base-text-gray {
	font-weight: 600;
	font-size: 22px; !important;
	color: #8cc63f;
	line-height: 1.3rem;
}
@media screen and (width < 768px) {
		.titles-block{
			top: 5rem;
		}
    .home-projects {
      margin-top: 0rem !important;
  }
  #go-top {
     top: 0 !important;
  }
  .more-foo-info{
    display: none;
  }
}
.base-text-gray p
{
	margin-bottom: 1em;
}
.main-post-output ul
{
	list-style-type: disc;
	margin-right: 1.5rem;
}
.main-post-output p img, .slider-text-output p img{
    text-align: center;
    margin-inline: auto;
}
h1, h1.block-title{
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
h2, .main-post-output h2, h2.block-title {
  font-size: 1.75rem;
    line-height: 1.15;
}
h3, .main-post-output h3, h3.block-title{
  font-size: 1.6rem;
    line-height: 1.15;
}
h4, .main-post-output h4, h4.block-title, h4.pop-title{
  font-size: 1.4rem;
    line-height: 1.15;
}

.main-mob .bg-or-not {
    margin-block: -5px;
    background-color: white;
}

.menu-item-has-children:after {
  content: "‹";
      transform: rotate(90deg);
  top: 29%;
}
.social-link {
      width: 45px;
    height: 45px;
  flex-direction: column;
      justify-content: flex-start;
}
.socials-fix {
      z-index: 9999;
}
@media screen and (width > 768px) {
ul.sub-menu {
      padding: 0.5rem;
}
  ul.sub-menu a {
    margin-bottom: 15px;
}
  #MainNav ul.sub-menu {
      width: max-content;
  }
}
.c_title {
    color: #000000;
    text-shadow: 0 0 4px #ffffff;
    font-size: 16px;
    line-height: 0.75;
    text-align: center;
    font-weight: 900;
}
.foo-socials {
  display: none;
}
.wpcf7-checkbox.onerow {
    display: flex !important;
    flex-direction: row;
}
.wpcf7-checkbox.onerow label{
  display: inline-flex;
  align-items: center;
}
.wpcf7-checkbox.onerow .wpcf7-list-item input[type="checkbox"] {
  margin-left: 0.5rem;
      width: auto;
}
span.wpcf7-spinner {
    position: absolute !important;
}
.main-post-output ol li
{
	margin-bottom: 0.5em;
}

/* 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 */

:is(
body.category-42 [data-parent-cat="42"],
body.category-50 [data-parent-cat="50"])
.post-img{
	aspect-ratio: 3 / 4;
}

.hero-section{
	position:relative;
	min-height:50vh;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
@media (min-width: 992px){
	.hero-section{ min-height:60vh; }
}

.hero-section .top_section{ position:absolute; inset:0; }
.hero-section .home_slider{ height:100%; }
.hero-section .main-home-block{
	height:100%;
	background-size:cover;
	background-position:center;
}

.hero-section .slick-list,
.hero-section .slick-track,
.hero-section .slick-slide{ height:100%; }

.hero-section .con_home{ position:relative; z-index:2; }
.hero-section .titles-block{ margin-top:.5rem; }

.foo-form .wpcf7-list-item-label {
	color: #fff;
}
.home-top-posts .post-card-content .base-text-gray {
 display: none; 
}

.repeat-form-block .pop-subtitle {
  color: #004471;
}