/* Style for form groups and floating labels */
.form-group {
	position: relative;
	margin-bottom: 1.5rem;
}

/* Base styles for inputs, selects and textareas */
.form-control {
	width: 100%;
	padding: 1.5rem 1.5rem;
	font-size: 1rem;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Labels positioning and styling */
.form-group label {
	position: absolute;
	top: -0.5rem;
	left: 0.75rem;
	padding: 0 0.5rem;
	font-size: 0.85rem;
	background-color: white;
	transition: all 0.2s ease;
	z-index: 1;
}

/* Required indicator styling */
.form-group label .required-live-text {
	color: gray;
	margin-left: 0.25rem;
}

/* Focus styles for inputs */
.form-control:focus {
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form button[type='submit'] {
    background-color: #00a8a8 !important;
    float: left;
    margin-top: -85px;
    padding: 13px 30px;
	
    border-radius: 37px
}

form button[type='submit'] span{
	font-size :0 !important;
  }

form button[type='submit'] span::before {
	content: "שלחו פנייה"; /* New text */
	font-size: 16px; /* Restore font size */
  }
  form button[type='submit'] span::before {
	content: "שלחו פנייה"; /* New text */
	font-size: 16px; /* Restore font size */
  }
/* For RTL support */
[dir="rtl"] .form-group label {
	right: 0.75rem;
	left: auto;
	color: #00B0BE;
}

/* Button styling */
.btn-primary {
	padding: 0.5rem 1.5rem;
	font-size: 1rem;
	border-radius: 0.25rem;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-primary:hover {
	background-color: #0069d9;
	border-color: #0062cc;
}


.contact-form-wrapper {

	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.contact-form-wrapper .bg-contact {
	display: block;
	width: 38vw;
	height: auto;
}






.hero-section {
	background-image: url('/uploads/n/1743336638.1370.svg');
	/* Replace with your image path */
	background-size: contain;
	background-position: left;
	background-repeat: no-repeat;
	height: 550px;
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: center;
	color: #4F5252;
	padding: 20px;
}

body {
	overflow-x: hidden;
	/* Prevent horizontal scrolling */
}

.hero-section .main-header {
	font-size: 4vw;
	font-weight: 700;
	/* Bold text */
	margin: 0;
	padding: 0;
}

.sub-header {
	font-size: 2.7vw;
	font-weight: 500;
}

.sub-header span {
	color: #F15022;
}



#content {

	max-width: 80vw;
	margin: 0 auto;
}

.contact-section {
	padding: 20px;

	margin: 50px auto;


}

.events-section {}

.events-section main {
	background-image: url('images/bg-events.svg');
	background-repeat: no-repeat;
	background-position: right;
	padding: 20px;
}

.events-main-container {
	background: #e7e0d4;
	position: relative;
	z-index: 1000;
	width: 42%;
	right: 96px;
	margin: 0 auto;
}

.event-container {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 50px 0;
	position: relative;
}

.event-container:hover {
	text-decoration: none;
}

.day-number-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
}

.day-number {
	border: 1px solid #acacac;
	border-radius: 10px;
	padding: 20px 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.day-number-text {
	color: #ff6f3c;
	font-size: 4rem;
	font-weight: bold;
}

.event-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: right;
	flex: 1;
	/* Allows it to take remaining space */
}

.event-date {
	color: #888;
	margin: 0;
}

.event-title {
	background: #e7e0d4;
	z-index: 5000;
	border-top: 1px solid #acacac;
	border-bottom: 1px solid #acacac;
	font-size: 1.5rem;
	color: #333;
	text-align: right;
	padding: 6px 10px;
	/* Adjusted padding for better spacing */
	margin-right: -30px;
	word-break: break-word;
	/* Breaks long words to fit */
	max-width: 100%;
	/* Ensures it doesn’t overflow its container */
	box-sizing: border-box;
	/* Includes padding in width calculation */
}


@media (max-width: 1580px) {
	.event-title {
		max-width: unset;
	}
}

.event-category {
	color: #666;
	margin: 0;
}

.slider-container-wrapper {
	margin: 100px 0;
	width: 100%;
	position: relative;
}

.slider-container-wrapper:after {
	position: absolute;
	content: '';
	width: 100%;
	height: 2px;
	border-bottom: 1px solid #acacac;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
}

.slider-container {
	width: 80vw;
	max-width: 100%;
	border-radius: 20px;
	border: 1px solid #acacac;
	padding: 10px;
	box-sizing: border-box;
	margin: 0 auto;
}

.slider {
	width: 100%;
	z-index: 100;
}

.slider-image {
	width: 100%;
	cursor: pointer;
	height: auto;
	object-fit: cover;
	border-radius: 20px;
}

.slider div {
	overflow: hidden;
	border-radius: 20px;
}

.custom-prev,
.custom-next {
	/* Make sure these have visible styling */
	background: #333;
	color: white;
	border: none;
	padding: 10px 15px;
	position: absolute;
	z-index: 1;
}

.custom-prev {
	left: 10px;
}

.custom-next {
	right: 10px;
}


/* Custom Arrow Styling for RTL */
.slick-prev,
.slick-next {
	width: 50px;
	height: 50px;
	background-color: white !important;
	border-radius: 50%;
	z-index: 1;
	border: 1px solid #acacac;
	transition: background-color 0.3s ease;
	margin-top: -24px;
}

.slick-prev:hover,
.slick-next:hover {
	background-color: rgba(0, 0, 0, 0.7) !important;
}

.slick-prev:before,
.slick-next:before {
	font-size: 30px !important;
	color: #21a7eb !important;
}

/* Swap arrow positions for RTL */
.slick-prev {
	right: -50px !important;
	left: auto !important;
}

.slick-next {
	left: -50px !important;
	right: auto !important;
}


.main-header {
	text-align: center;
	margin-bottom: 30px;

	padding-bottom: 15px;
}

.main-header h1 {
	font-size: 2.8rem;
	color: #333;
	font-weight: 700;
}

.main-header h1 span {
	color: #00a8a8;
}


.main-article {
	display: flex;
	margin-bottom: 50px;
	border-radius: 45px !important;

	border-radius: 5px;
	overflow: hidden;
}

.main-article-image {
	flex: 0 0 40%;
}

.main-article-image img {
	border-radius: 30px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main-article-content {
	flex: 0 0 60%;
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.date {
	color: #888;
	font-size: 1.0rem;
	/* margin-bottom: 0px; */
	text-align: start;

}

.main-article-content h2 {
	font-weight: 700;
	margin-bottom: 15px;
	color: #333;
	font-size: 2.2rem;
}

.main-article-content p {
	margin-bottom: 15px;
	line-height: 1.6;
	font-size: 1.3em;
}

.read-more {
	align-self: flex-start;
	color: #00a8a8;
	text-decoration: none;
	font-weight: bold;
	font-size: 1rem;

	padding-bottom: 3px;


	padding: .25rem .75rem;

}

.section-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}



.section-title h3 {
	background-color: #e7e0d4;
	z-index: 50;
	color: #333;
	border-right: 1px solid #acacac;
	border-left: 1px solid #acacac;
	padding: 0 10px;
}

.section-title a {
	color: #00a8a8;
	text-decoration: none;
	z-index: 50;
	background-color: #e7e0d4;
	border-right: 1px solid #acacac;
	border-left: 1px solid #acacac;
	padding: 0 10px;
	font-size: 1.2rem;

}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.article-card {


	border-radius: 5px;
	overflow: hidden;
	transition: transform 0.3s ease;
	color: #4F5252 !important;
}

.article-card:hover {
	text-decoration: none;
	transform: translateY(-5px);
}

.article-card-image {
	height: 300px;
	overflow: hidden;
}

.article-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 30px;
}

.article-card-content {
	padding: 15px;
}

.article-card-content h4 {
	margin-bottom: 10px;
	font-size: 1.1rem;
	line-height: 1.4;
	font-weight: 700;
}

.article-card-content p {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 15px;
	line-height: 1.5;
}

.article-divider {
	width: 100px;
	height: 3px;
	background-color: #00a8a8;
	margin: 15px 0;
}


.hero-text-wrapper {

	text-align: right;
	margin-bottom: 150px;
}

@media (max-width: 768px) {


	#content {

		max-width: 95vw;
		margin: 0 auto;
	}


	.contact-form-wrapper .bg-contact {
		display: none;

	}


	.events-section main {
		background-image: none;
		background-repeat: no-repeat;
		background-position: right;
		padding: 20px;
	}

	.events-main-container {
		width: 100%;
		position: relative;
		z-index: 1000;
		right: unset;
		margin: 0 auto;
	}

	.event-title {
		max-width: 75%;
		font-size: 1rem;
	}

	.section-title a {
		color: #00a8a8;
		text-decoration: none;
		z-index: 50;
		background-color: #fcfcfc;
		font-size: 1.2rem;
		padding: 0;
		border: none;
		margin-right: -71px;


	}

	.hero-section {

		justify-content: flex-start;
		margin: 0;

	}

	.hero-text-wrapper {

		text-align: right;
		margin-top: 50px;
	}


	.slider-container-wrapper {
		margin: 0;
		margin-top: -45px;
		width: 100%;
		position: relative;
	}



	.slick-dots {
	
		bottom: -5px !important;
	
	}
	
	.slick-dots li {
		position: relative;
		display: inline-block;
		margin: 0 8px;
		padding: 0;
		cursor: pointer;
	}
	
	.slick-dots li button {

		width: 8px !important; 
		height: 8px !important;

	}
	
	/* Active dot styling */
	.slick-dots li.slick-active button {
	
		/* Dark gray */
		width: 12px !important;
		height: 12px !important;
	
		/* Darker shadow */
	}
	
	.hero-section .main-header {
		font-size: 8vw;
		font-weight: 700;
		/* Bold text */
		margin: 0;
		padding: 0;
	}

	.sub-header {
		font-size: 4vw;
		font-weight: 500;
	}

	.main-article {
		flex-direction: column;
	}

	.main-article-image,
	.main-article-content {
		flex: 0 0 100%;
	}

	.articles-grid {
		grid-template-columns: 1fr;
	}

	form button[type='submit'] {
		background-color: #00a8a8 !important;
		 float: none; 
		display: block;
		margin: 0 auto;
	
		padding: 13px 30px;
		border-radius: 37px;
	
	}
	  
}

.cover {
	position: relative;
	min-height: 670px;
}

@media (min-width: 992px) {
	.cover {
		height: 100vh;
	}
}

@media (max-width: 991px) {
	.cover {
		padding: 15px;
		padding-top: 125px;
		/* header height + padding */
	}
}


@media (max-width: 991px) {
	.cover .toggle-slick {
		display: none;
	}
}

.cover-content {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	z-index: 99;
	text-align: center;

	max-width: 600px;
	margin-top: -60px;
}

/**/

video {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	transition: 1s opacity;
	object-fit: cover;
	z-index: -1;
}

#toggle-video {
	position: absolute;
	top: 125px;
	right: 15px;
	background: none;
	border: 0;
}

@media (max-width: 991px) {

	video,
	#toggle-video {
		display: none;
	}
}

/**/

@media (min-width: 992px) {
	.services {
		position: absolute;
		bottom: 0;
		right: 0;
		width: 100%;
	}
}

.services-slick {
	padding: .5rem 1rem;
	margin: 0 1rem;
}

.service {
	text-align: center;
	display: block;
	background: #fff;
	margin: 1rem;
	padding: 1rem;
}

.service .icon img {
	display: block;
	margin: 0 auto;
	margin-bottom: .75rem;
}


/* Articles */

.articles {
	padding: 3rem 2rem;
}

.articles h2 {
	font-weight: bold;
	margin-bottom: 2rem;
}

.articles article {
	display: block;
	height: 100%;
}

.articles .row>div {
	margin-bottom: 30px;
}

.article {
	display: block;
	background: #fff;
	color: #000;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
	position: relative;
	height: 100%;
}

.article img {
	display: block;
	width: 100%;
}

.article .info {
	padding: 1rem;
}

.article h3 {
	font-weight: bold;
}

.article .date {
	padding-bottom: 56.25%;
	position: relative;
	background: rgb(206 189 111);
	background: linear-gradient(45deg, rgb(246 183 77) 0%, rgb(160 183 132) 50%, rgb(121 204 200) 100%);
}

.article .date>div {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);

	font-size: 3rem;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

.article .date>div>span:nth-child(2) {
	font-size: 1.5rem;
	display: block;
}

.read-more {}

/**/

.events {
	background-color: #fff;
}

.ribbon-date {
	position: absolute;
	top: 0;
	left: 15px;
	background: #fff;
	color: #000;
	padding: .5rem 1rem;
}

.ribbon-date span {
	display: block;
}

.ribbon-date span:nth-child(1) {
	font-weight: bold;
	font-size: 1.5rem;
}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
	padding: 1rem;
	background: #fff;
}

.news .content {
	position: relative;
}

.news .buttons {
	position: absolute;
	top: 1.9rem;
	left: 1.9rem;
}

.news a {
	color: #000;
	display: block;
}

@media (min-width: 768px) {


	.full-width-section {
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		width: 100vw;
		/* other styles */
	}

	.news a {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.section-title::after {
		content: '';
		width: 100%;
		border-top: 1px solid #acacac;
		position: absolute;
		z-index: 0;
	}
}

.news h2 {
	background: #111;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	position: absolute;
	top: 0;
	right: 0;
	padding: .219rem .75rem;
	margin: 0;
	border-radius: 2rem;
	z-index: 5;
}

.news h2 a {
	color: inherit;
}

@media (max-width: 991px) {
	.news h2 {
		display: none;
	}
}

@media (min-width: 992px) {
	.bn-news {
		padding-right: 100px;
	}
}

.bn-news ul li a {
	font-size: 1.2rem;
	line-height: 1.2rem;
	padding: .36rem 0;
	color: inherit;
}

.bn-news ul li a:hover {
	color: #000;
}

.bn-effect-scroll .bn-news ul li {
	padding: 0 1rem;
}

.news .date {
	font-weight: bold;
}

.news .date:after {
	content: ' | ';
	margin: 0 10px;
}

.news-toggle {
	width: 26px;
	height: 26px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	background: none;
	font-size: 14px;
}

.bn-controls {
	left: 0;
	right: auto;
}

.bn-controls button {
	border: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	padding: 0;
	margin-right: 5px;
}

.bn-arrow {
	top: -1px;
}

.bn-pause::before,
.bn-pause::after {
	background-color: #fff;
}

.bn-play::after {
	border-left-color: #fff;
}

.bn-controls button:hover {
	background-color: #111;
	color: #fff;
	box-shadow: 0 0 5px rgb(255 255 0 / 90%);
}


/**/

@media (min-width: 992px) {
	.centered {
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
	}
}

@media (max-width: 991px) {
	.centered {
		text-align: center;
	}

	.centered-banner img {
		max-width: 100%;
	}
}

/**/



/* Fast Nav */

.fast-navigation {
	padding: 1rem 0;
	border-radius: 0 0 2rem 2rem;
	color: #fff;
	width: fit-content;
	margin: 0 auto;
}

.fast-navigation:after {
	clear: both;
	display: block;
	content: '';
}

@media (min-width: 992px) {

	.fast-navigation>label,
	.fast-navigation>select,
	.fast-navigation>span {
		float: right;
		display: block;
	}
}


.fast-navigation label {
	background: #0372ac;
	border-radius: 0 2rem 2rem 0;
	padding: 5px 10px;
	border: 0;
	margin: 0;
}

.fast-navigation select {
	background: #fff;
	border: 0;
	border-radius: 0;
	padding: 5px 10px;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

.fast-navigation button {
	background: #0372ac;
	border: 0;
	border-radius: 2rem 0 0 2rem;
	padding: 5px 10px;
	color: #fff;
	font-weight: bold;
}

@media (min-width: 992px) {

	.fast-navigation .smart-nav-sub>label,
	.fast-navigation .smart-nav-sub>select,
	.fast-navigation .smart-nav-sub>button {
		float: right;
		display: block;
	}
}

@media (max-width: 991px) {

	.fast-navigation>label,
	.fast-navigation>select,
	.fast-navigation>span {
		display: block;
		border-radius: 2rem;
		width: 100%;
	}

	.fast-navigation .smart-nav-sub>label,
	.fast-navigation .smart-nav-sub>select,
	.fast-navigation .smart-nav-sub>button {
		display: block;
		border-radius: 2rem;
	}

	.fast-navigation .smart-nav-sub>select {
		width: 100%;
		margin: .5rem 0;
	}

	.smart-nav-submit {
		margin: 0 auto;
	}
}

/**/

@media (min-width: 992px) {
	.side-banners {
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
	}

	.side-banners.side-banners-right {
		right: 0;
	}

	.side-banners.side-banners-left {
		left: 0;
		border-radius: 0 15px 15px 0;
	}
}

.side-banners a {
	background-color: #fff;
	display: block;
	padding: 1rem;
	margin: 1rem 0;
}


/* Custom styling for slick dots */
/* Custom styling for slick dots */
.slick-dots {
	position: absolute;
	bottom: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
}

.slick-dots li {
	position: relative;
	display: inline-block;
	margin: 0 8px;
	padding: 0;
	cursor: pointer;
}

.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: rgba(100, 100, 100, 0.7);
	/* Dark gray with transparency */
	border-radius: 50%;
	transition: all 0.3s ease;
}

/* Active dot styling */
.slick-dots li.slick-active button {
	background-color: #333;
	/* Dark gray */
	width: 16px;
	height: 16px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	/* Darker shadow */
}

/* Hover effect for dots */
.slick-dots li button:hover {
	background: rgba(70, 70, 70, 0.9);
	/* Darker gray on hover */
}


.form-group label {
    top: -0.6rem;
    background-color: #e7e0d4;
}

.form-control {
    background-color: #e7e0d4;
    border: 1px solid #333333;
}


.alert-success {
    height: fit-content;
}