@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../assets/fonts/material-symbols-rounded.woff2) format('woff2');
}
@font-face {
    font-family: 'Material Symbols Rounded Filled';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../assets/fonts/material-symbols-rounded-filled.woff2) format('woff2');
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

.material-symbols-rounded.-filled {
    font-family: 'Material Symbols Rounded Filled';
}

/* styles.css */

.services-container,
.products-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.service {
	width: 400px !important;
	height: auto !important;
	flex: 1 0 30%;
	border: 1px solid #ddd;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	border-radius: 8px;
	min-width: 380px;
	max-width: 380px;
}

.svg_button svg {
	width: 2rem;
	margin-bottom: 5px;
}

.svg_button{
	display:block;
}
  
/* Remove the margin-right from the last service to avoid extra space */
.service:last-child {
	margin-right: 0;
}

.service img {
	width: 100%  !important;
	height: 200px  !important;
	object-fit: cover;
}

.service h3,
.products-container .product h3 {
	margin-top: 10px;
	font-size: 24px;
}

.service p,
.products-container .product p {
	font-size: 16px;
	max-height: 200px; /* Limit the description height to 200px */
}

.service_description ul,
.product_description ul {
	margin: 0 0 1.5em 1em;
}

.service_description li::first-letter, 
.service_title::first-letter {
	text-transform: capitalize;
}
  
/* Apply responsive layout for smaller screens */
@media (max-width: 768px) {
	.service,
	.products-container .product {
		flex-basis: 45%; /* Reduce the width for smaller screens */
	}
}
  
/* products - START */

.products-container .product {
	height: auto;
	flex: 1 0 30%;
	border: 1px solid #ddd;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	border-radius: 8px;
	min-width: 310px;
	max-width: 310px;
	flex-direction: column;
	justify-content: space-between;
	display: flex;
}


.product img {
	display: flex;
	margin: 0 auto;
	border-radius: 2% !important;
	vertical-align: middle;
	height: auto;
	max-width: 100%;
	border: 0;
}

.product_container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.product_container hr {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.product_title {
	margin: 1rem 0;
}

.info_container {
	display: block;
}

.product_footer {
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.add_to_queue {
	text-align: center;
}

.add_to_queue button:hover {
	background-color: var(--color_two);
	color: var(--color_one);
}

.orderForm {
	margin-top: 3rem;
	text-align: center;
}

.add_to_queue button.selected {
	background-color: var(--color_two);
}

.summary .quantity button {
	border: 1px solid #dee2e6;
}

.product button,
#orderForm button {
	font-family: 'Montserrat', Sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 0.1px;
	word-spacing: 0px;
	background-color: #FFFFFF;
	border: 1px solid #000;
	border-radius: 0px;
	padding: 10px;
	cursor: pointer;
}

#orderForm input[type="email"], #orderForm input[type="number"], #orderForm input[type="password"], #orderForm input[type="reset"], #orderForm input[type="search"], #orderForm input[type="tel"], #orderForm input[type="text"], #orderForm input[type="url"], #orderForm select, #orderForm textarea {
  color: #666;
  padding: .75em;
  height: auto;
  border: 1px solid #dddd;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  transition: all .2s linear;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6em;
}

#orderForm input[type="email"]:focus, #orderForm input[type="password"]:focus, #orderForm input[type="reset"]:focus, #orderForm input[type="search"]:focus, #orderForm input[type="tel"]:focus, #orderForm input[type="text"]:focus, #orderForm input[type="url"]:focus, #orderForm select:focus, #orderForm textarea:focus {
	background-color: transparent;
	border: 1px solid #000;
	box-shadow: none;
}

#orderForm h3 {
	font-size: 2.11764705882rem;
}

.post-content .shortcode_page_content h1{
	font-size: 2rem;
}

.product-info h3 {
	margin-bottom: 20px;
	font-weight: 700;
	font-size: 2.1176470588235rem;
	font-family: 'Montserrat',sans-serif;
	line-height: 1em;
}

/* products - LÕPP */
  
  .email-svg {
    background: url(https://ssb.ee/wp-content/themes/starter-theme-master/img/ikoonid/email.svg) no-repeat;
  }

.mhn-slide .mhn-item, .video-slide .video-item{width:100%;padding:10px}
.mhn-slide .mhn-inner, .video-slide .video-inner{width:100%;height:300px;box-shadow:0 2px 10px 0 rgba(0,0,0,.16),0 2px 5px 0 rgba(0,0,0,.26);border-radius:3px;background-color: white;}
.mhn-slide .mhn-item img{display:none}
.mhn-slide .mhn-img{min-height:200px;overflow:hidden;height:100%;width:100%;color:white;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=) #eee no-repeat center/cover;position:relative}
.mhn-slide .mhn-text{text-align:center;padding:0 10px}
.mhn-slide .mhn-text h4{font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;justify-content: center;}
.mhn-slide .mhn-text p{overflow:hidden}
.mhn-slide .owl-stage-outer, .video-slide .owl-stage-outer{z-index:1}
.owl-stage-outer {display: flex; flex-wrap: nowrap; flex-direction: column;}
.owl-stage-outer > .owl-stage {margin:0 auto;}
.mhn-slide .owl-nav, .video-slide .owl-nav{color:#333;position:absolute;top:0;left:0;right:0;bottom:0}
.mhn-slide .owl-nav svg, .video-slide .owl-nav svg{color:currentColor}
.owl-nav .disabled{display:none}
.mhn-slide .owl-prev, .video-slide .owl-prev,
.mhn-slide .owl-next, .video-slide .owl-next{
	top:110px;
	z-index:2;
	width:40px;
	height:40px;
	padding:8px;
	position:absolute;
	border-radius:50%;
	background-color:#ADB5BD !important;
	/* box-shadow:0 4px 4px rgba(0,0,0,.3),0 0 4px rgba(0,0,0,.2) */
}

.mhn-slide .owl-prev, .video-slide .owl-prev{left:-50px; top: 130px;}
.mhn-slide .owl-next, .video-slide .owl-next{right:-50px; top: 130px;}

@media (max-width: 600px) {
	.video-slide .owl-prev, .video-slide .owl-next{ display: none; }
}
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.image-container img {
  object-fit: contain;
  max-height: 100%;
}

.container-box {
  background-color: white;
  border-radius: 10px;
  padding: 20px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 50px auto; /* Adjust margin as needed */
}
.container-box a {
  font-weight:bold;
  font-size: 20px !important;
}

.container-box p {
  margin-bottom: 0px !important;
}
.site-logo-img {
  display: flex;
}

.site-logo-img img {
  object-fit: cover;
}
.comment {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 12rem;

}

.comment-carousel .owl-next, .comment-carousel .owl-prev {
	top:80px;
	z-index:2;
	width:40px;
	height:40px;
	padding:8px;
	margin-top:-20px;
	position:absolute;
	border-radius:50%;
	background-color:white !important;
	box-shadow:0 4px 4px rgba(0,0,0,.3),0 0 4px rgba(0,0,0,.2)
}
.comment-carousel .owl-prev{left:-20px}
.comment-carousel .owl-next{right:-20px}

.comment-header {
  display: flex;
  align-items: flex-start;
    margin-bottom: 10px;
}

/* .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
} */

.author-avatar {
  position: absolute;
  top: 9px;
  left: 17px;
  min-width: 4rem;
  border-radius: 99rem;
  overflow: hidden;
}
.comment-author {
  font-weight: bold;
  margin: 0;
  margin-left: 4rem;
}

.comment-text {
  margin: 0;
  text-align: initial;
  line-height: 1.5;
}

.grid-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
  }
  
  /* Define sizes */
.grid-item.regular {
	flex: 1 1 calc(33.333% - 20px);
}
  
.grid-item.wide {
	flex: 2 1 calc(66.666% - 20px);
}
  
.grid-item.tall {
	flex: 1 1 calc(33.333% - 20px);
}
  
.grid-item.big {
	flex: 2 1 calc(66.666% - 20px);
}
  
.image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}
  
.image-wrapper img.gallery_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
  
.specialImages_overlay-wrapper {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.52);
	color: #fff;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	transition: opacity 0.3s ease-in-out;
	padding: 1rem;
}
  
.grid-item:hover .specialImages_overlay-wrapper,
.grid:hover .specialImages_overlay-wrapper,
.image-wrapper:hover .specialImages_overlay-wrapper {
	opacity: 1;
}

.specialImages_image-title {
	font-size: 24px;
	font-weight: 700;
	color: rgb(255, 255, 255) !important;
}

.specialImages_image-description {
	font-size: 18px;
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
}

.d-display {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4rem;
	height: 25rem;
}
.faq_title {
	text-align: center;
}
.d-details,
.d-imgs {
	height: 400px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.d-imgs {
	display: block;
}

.visionimage {
	height: 500px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	border-radius: 20px;
	overflow: hidden;
}

.visionimage .visionimage_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Imgs */
.imgs {
  display: block;
  height: 100%;
  width: 100%;
  background-size: contain;
  border-radius: 2rem;
}

/* responsive */
@media (max-width: 1190px) {
  body,
  .d-display {
    height: fit-content;
    width: 100%;
  }
  .d-display {
    justify-content: center;
  }
}

.social_media_container {
	justify-content: flex-start;
	display: flex;
	text-align: center;
	gap: 10px;
}

.social-icon {
	width: 30px;
	height: 30px;
	transition: transform 0.2s ease-in-out;
}

.social-icon:hover {
	transform: scale(1.2);
}

.footer_company_info {
	margin-top: 1rem;
}

.semibold {
	font-weight: 500;
}

.contact-value svg,
.contact-email svg,
.contact-phone svg,
.footer_boardmember svg {
	width: 15px;
	height: 15px;
	margin-right: 0.7rem !important;
}


.footer_boardmember {
	margin-bottom: 1.75em;
}

.aboutUs {
	padding-top: 53px;
}

.aboutus_img{
	margin-top: -33px;
}

@media (max-width: 768px) {
	.aboutus_img{
		margin-top: unset;
	}
}

.motivate_blok.title { 
	margin: 0px 0px 1.6em 100px;
	font-size: 19px;
}

.elementor-image-box-content.center {
	text-align: center;
}

h2.send_message_title1 {
	margin-bottom: unset;
}

h3.send_message_title2 {
	font-size: 1.66rem !important;
	margin-bottom: unset !important;
}

.sendmessageformtitle {
	text-align: left;
}

.bestsolutionbutton i{
	margin-left: 1rem;
}

@media (max-width: 768px) {
	.aboutus_img{
		margin-top: unset;
	}
	.motivate_blok.title { 
		margin: unset;
		font-size: 19px;
	}
}

.wp-editor-container textarea {
	width: 100%;
}

.custom-error-message {
	display: table;
	color: #990000;
	font-size: 0.9em;
	float: none;
	cursor: default;
}

.wpforms-field-textarea{
  content: "";
  clear: both;
}
#wpforms-form-7564 .wpforms-field-sublabel {
    display: none !important;
}

#copartners .elementor-shortcode h2, #tood .elementor-shortcode h2, #boardmembers .elementor-shortcode h2{
  margin-top: 120px;
}

#boardmembers .image-container{
  padding: 0;
  height: auto;
  border-radius: 10px 10px 0 0;
}

#boardmembers .image-container > img{
  border-radius: 10px 10px 0 0 !important;
  object-fit: cover;
  width: 275px;
  height: 275px;
}

#boardmembers .mhn-inner{
  margin: 0 !important;
}

#boardmembers .container-box{
  margin-top: 0;
  border-radius: 0 0 10px 10px;
  background-color: #212D45;
  min-height: 125px;
}

#boardmembers .container-box p, #boardmembers .container-box a{
  color: #FFFFFF;
  font-weight: 400;
  font-size: 17px;
}

#boardmembers .container-box p.boardmember_name{
  font-weight: 700;
  font-size: 20px;
}

.banner-placeholder-image {
	display: flex;
    justify-content: center;
    align-items: center;
}

.regularwidth .banner-image {
  max-width: 1200px;
  max-height: 600px;
  overflow: hidden;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain; /* This property will prevent the image from overflowing its container */
}

.regularwidth .banner_img,
.regularwidth .banner_video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: unset !important;
  -webkit-object-fit: cover;
}
/* full banner - START */
.fullwidth {
	height: auto;
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.fullwidth .banner-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	-webkit-object-fit: contain;
}
.banner-image {
	margin-top: 40px;
}
.banner_img,
.banner_video {
	max-width: 100%;
	border-radius: unset !important;
	width: 100%;
	object-fit: cover;
	object-position: center center;
	max-height: 100%;
	height: 100%;
}

.banner_video {
	max-height: 800px;
    object-fit: cover;
	object-position: center center;
    width: 100%;
}

@media (max-width: 1200px) {
	.banner_img.large_banner_image,
	.banner_video.large_banner_video {
		display: none;
	}
	.banner_img.small_banner_image,
	.banner_video.small_banner_video {
		display: block;
	}
}
@media (min-width: 1200px) {
	.banner_img.large_banner_image,
	.banner_video.large_banner_video {
		display: block;
	}
	.banner_img.small_banner_image,
	.banner_video.small_banner_video {
		display: none;
	}
}

/* full banner - END */

#block-32 > p{
  margin-bottom: 0;
}

.lang-select {
  position: relative;
  display: inline-block;
  width: 80px;
  color: #453030 !important;
  background-color: transparent;
  border: 0;
  font-size: 0.88235294117647rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.lang-option {
  padding: 10px;
  display: flex;
  align-items: center;
}

.lang-option:hover {
	background-color: var(--color_two);
}

.lang-option img {
  min-height: 23px;
  min-width: 23px;
  height: 23px;
  width: 23px;
  border-radius: 5px;
  margin-right: 12px;
  background-repeat: no-repeat;
  box-shadow: 0 3px 6px #00000029;
}

.lang-select > span::before {
  content: "";
  display: block;
  position: absolute;
  transform: rotate(135deg);
  top: 2px;
  left: 35px;
  height: 14px;
  width: 14px;
  border-top-style: solid;
  border-right-style: solid;
  border-top-color: #151518;
  border-right-color: #151518;
  border-top-width: 3px;
  border-right-width: 3px;
}

#filter-buttons{
  display: flex;
  justify-content: center;
}

#filter-buttons>button:first-child{
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

#filter-buttons>button:last-child{
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

#filter-buttons>button{
  color: var(--ast-global-color-0);
}
#filter-buttons>button.active.category-button{
  background-color: var( --e-global-color-astglobalcolor1 );
}
.elementor .elementor-element ul.elementor-icon-list-items.seemore_list{
  margin: 80px 0px 0px 0px;
  padding: 0% 0% 0% 42%;
  list-style-type: none;
}
.elementor .elementor-element ul.elementor-icon-list-items.seemore_list .elementor-icon-list-icon{
	text-align: center;
}
.seemore_list .elementor-icon-list-icon svg{
	padding-right: 5px;
}
.seemore_list .elementor-icon-list-icon svg path{
	fill: var( --e-global-color-astglobalcolor0 );
}
.owl-carousel .item-video{
	height:300px;
}
.owl-carousel .owl-video-play-icon.played{
	display: none;
}
.video_container{
	margin-top: 100px;
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: transparent;
}
.swiper-slide{
	display:none;
}
.swiper-slide.swiper-slide-active {
	display:block;
}

.swiper-slide img {
	/*
	width: auto;
	height: auto;
	max-width: 350px;
	max-height: 350px;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
	left: 50%;
	top: 50%;
	*/
}

#hero .overlay-content {
	position: relative;
	z-index: 3;
}

.productPreview_container {
	margin-top: 1rem;
	text-align: center;
}

.product_category_list {

}
.product_category_list ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(231px, 1fr));
	gap: 1rem;
	padding: 0;
	list-style-type: none;
	margin-left: unset;
}

.product_category_list li {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.product_category_list li.active,
.product_category_list li:hover {
	background-color: var(--color_two);
	color: white;
}

.productPreview:hover {
	background-color: var(--color_two);
}

/* Modal styles */
#productQuickView.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 2;
}

#productQuickView .modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Close button */
.close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 3rem;
	cursor: pointer;
	line-height: 1.6rem;
}

/* Animation for the modal */
@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.image-container {
    display: flex;
}

.product_data {
	display: flex;
}

.product_category {
	font-size: small;
	padding-bottom: .5rem;
	height: 40px;
	display: block;
}

.product-info {
	flex-grow: 1;
	min-width: 300px;
	margin: 0 2rem;
	padding: 2rem 0;
	max-height: 75vh;
	overflow-y: scroll;
}

.thumbs-container {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-right: 1rem;
}

.thumbs-container img {
	width: 50px;
	min-width: 50px;
	height: auto;
	cursor: pointer;
	border: 1px solid #ccc;
}

.larger-image-container {
	height: auto;
	min-width: 400px;
	max-width: 600px;
}

.larger-image-container img {
    max-width: 100%;
    height: auto;
}

.plugin_spacer {
	margin-top: 100px;
}

.entry-content .shortcode_page_content h1{
	font-size: 2rem;
}

.wpforms-recaptcha-container {
	display: none !important;
}

.mce-media-button button {
	background-color: #fff;
	color: #0073aa;
	border: 1px solid #0073aa;
	border-radius: 3px;
	font-weight: 600;
	cursor: pointer;
	display: inline-block;
	text-align: center;
}

.mce-media-button button:hover {
	background-color: #efefef;
}
.left-0 {
	left: 0 !important;
}
#hero .background-image, #hero .background-image2, #hero .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#hero .swiper-hero .swiper-pagination-bullet,#partners .swiper-partner .swiper-pagination-bullet {
	background: var(--ast-global-color-1);
}
#hero .swiper-slide {
	text-align: left;
	font-size: 16px;
}

.newsletter-form-wrapper form{
	display: flex;
	margin-top: 2rem;
}

.newsletter-form-wrapper div.tnp-subscription{
	margin: 0;
}

.newsletter-form-wrapper .tnp-subscription form input#tnp-1{
	border-radius: 0.75rem;
	background-color: #FFF;
	color: #000000;
	font-size: 1.25rem;
	border: #000 solid 1px;
}

.newsletter-form-wrapper .tnp-subscription form input.tnp-submit{
	transition: 0.2s color ease-in-out;
	color: #000 !important;
	font-size: 1.25rem;
	background-color: var(--ast-global-color-1);
	padding: 0.85rem 20px;
	font-weight: bold;
	border-radius: 0.75rem;
	border: none;
	/* text-shadow: 2px 2px 5px black; */
	margin-left: 10px;
}

.newsletter-form-wrapper .tnp-subscription form input.tnp-submit:hover{
	color: var(--ast-global-color-0) !important;
}

#newsletter_subsription_form .tnp-field.tnp-lists {
	display: none;
}

@media (max-width: 767px) {
	/* Make the form a column flex container */
	#newsletter_subsription_form {
	  flex-direction: column;
	}
	.tnp-submit {
	  margin-left: 0 !important;
	}
}
/* footer logo */
@media (min-width: 992px) {
	.footer-logo .d-lg-block {
		display: inline-block !important;
	}
}

/* meeskonna plokk */
.team-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
    border-radius: 1rem;
    min-width: 18.75rem; 
    min-height: 32rem; 
}
.team-details {
margin-top: auto;
min-height: 7.5rem; 
margin-left: 1rem;
}

.team-image-container {
display: flex;
justify-content: center;
margin-bottom: 1rem;

}

.team-image-wrapper {
width: 18.75rem;
height: 18.75rem;
overflow: hidden;
border: 4px solid #f0f0f0;
background-color: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
}

.team-placeholder-image {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f0f0;
}

.team-placeholder-image svg {
width: 6.25rem;
height: 6.25rem;
opacity: 0.5;
fill: #666;
stroke: #666;
}

.team-icon svg {
width: 24px;
height: 24px;
fill: #666;
stroke: #666;
}

/* Custom button in tinymce */
.custom_button {
	appearance: none;
	border: none;
	outline: none;
	text-decoration: none;
	cursor: pointer;
	border-radius: 9999px; 				
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	background-color: var(--color_two) !important;
	color: var(--color_one) !important;
	box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}
.custom_button:hover {
	background-color: var(--color_one) !important;
	color: var(--color_two) !important;
	box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}
/* testimonial*/
.testimonial-card {
    min-height: 240px !important;
    /* width: 424px !important; */
    flex: 1 1 300px; 
    max-width: 424px;
    min-width: 280px;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
  }
  .testimonial-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background-color: #F5F5F5;
    flex-grow: 1;
  }
  .message {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    /* height: 167px; */ /* Remove fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    margin-bottom: 10px; 
  }
.line-clamp-4 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	height: auto;
}
.review-image-container {
	width: 3rem;
	height: 3rem;
	overflow: hidden;
	border-radius: 50%;
}
.review-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.10);
}
.author {
	text-align: left !important;
}
.author p {
	font-weight: 600;
}
.author .client-label {
    font-weight: 300; 
}

/* teenused */
.services-grid {
	display: flex;
	flex-wrap: wrap;
	margin: -15px;
	margin-top: -30px;
  }
  
  .services-grid .col {
	display: flex;
	padding: 15px;
	margin-top: 10px;
  }
#sidebar_store .card,
.products .card {
	min-height: unset;
}
.teenused-card {
	position: relative;
	/*backdrop-filter: blur(8px);*/
	background: rgba(240, 240, 240, 0.4) !important;
	box-shadow: 
	  0 10px 20px rgba(0, 0, 0, 0.12),
	  0 4px 8px rgba(0, 0, 0, 0.06),
	  inset 0 0 80px rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
	padding: 25px;
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 35rem;
}
  
.swiper-slide {
	height: auto;
	display: flex;
	padding: 0;
}

.teenused-card:hover {
	/*transform: translateY(-5px);*/
	box-shadow: 
	  0 15px 30px rgba(0, 0, 0, 0.15),
	  0 6px 12px rgba(0, 0, 0, 0.08),
	  inset 0 0 100px rgba(255, 255, 255, 0.4);
}  
.teenused-card-body {
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	flex: 1;
}
  
.teenused-card-img-top {
	padding: 0;
	border-radius: 8px;
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}
  
.teenused-card-title {
	padding: 0;
	margin: 0;
	margin-bottom: 0.5rem;
}
  
.teenused-card-text {
padding: 0;
margin: 0;
}


.modal-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(200, 200, 200, 0.5);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	font-family: 'Montserrat', sans-serif !important;
	color: #000 !important;
}

/* SEO modal */

.seo-item {
	padding: 1rem 0;
}

.char-wrapper {
	position: relative;
	margin-bottom: 2.5em;
}

.char-counter {
	position: absolute;
	right: 0.5em;
	bottom: -1.5em;
	font-size: 0.875em;
	color: #757575;
	text-align: right;
}

.char-warning {
	position: absolute;
	right: 0.5em;
	bottom: -3em;
	font-size: 0.75em;
	color: #757575;
	display: none;
	text-align: right;
	font-weight: 500;
}

.seo-item label {
    display: flex;
    align-items: center;
    gap: 1px;
    line-height: 2;
}

.sidebar-tab-content .tooltip-container .tooltip-text {
    white-space: normal !important;
    max-width: 220px; /* Või vali sobiv laius */
    line-height: 1.4;
}

.tooltip-container {
	position: relative;
	display: inline-flex;
  }
  
  .tooltip-container .tooltip-text {
	visibility: hidden;
	background-color: #000;
	color: #fff;
	text-align: left;
	padding: 6px 12px;
	border-radius: 0;
	font-size: 14px;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	line-height: 1.5;
	position: absolute;
	left: 150%;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
	display: inline-block;
    max-width: max-content;
    width: 200px;
	box-sizing: border-box;
	overflow: visible;

	/* Et ei läheks aknast välja */
	overflow-wrap: break-word;
	white-space: normal;
	word-break: break-word;
}

@media (max-width: 600px) {
	.tooltip-container .tooltip-text {
		left: 50%;
		top: 100%;
		transform: translateX(-50%);
	}
}

  .tooltip-container .tooltip-text::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -6px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid #000;
  }
  
  .tooltip-container:hover .tooltip-text {
	visibility: visible;
  }
  
[id^="editModal_"] {
    --bs-modal-margin: 4.75rem !important;
	background-color: #514A4880;
}

/*
.services-grid.row .col {
padding: 0px 4px;
}*/

.swiper-slide>div.fe-pr {
    max-height: unset !important;
}
.service-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.service-modal-content {
	background-color: white;
	border-radius: 10px;
	padding: 20px;
	max-width: 600px;
	width: 100%;
}

.service-modal-content.large_modal {
	max-width: 75%;
	height: 80%;
	position: absolute;
}

.service-modal-content iframe {
	width: 95%;
	border: none;
	display: block;
	height: 85%;
	position: absolute;
}

.service-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.service-modal-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.service-modal-body {
	max-height: 300px;
	overflow-y: auto;
}



.service-add-info-btn svg {
	width: 25px;
	height: 25px; 
}

#esiletostetud-tooted .card-img-top {
	height: 300px; 
	object-fit: cover; 
	width: 100%;
}

.swiper-wrap {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 0 20px;
}
/* Tempfix for table border */
#newpage table tbody, #newpage table thead, #newpage table tfoot, #newpage table tr, #newpage table tbody td, #newpage table th {
	border-style: solid;
	border-width: thin;
}

#products_select{
	transition: 0.3s all ease-in-out;
	border: 2px solid var(--ast-global-color-0);
	background-color: white;
	border-radius: 0.3rem;
	padding: 1rem;
	outline: none !important;
}
  
#date_selector,
.ptb {
	padding: 10px 0;
}

#date_selector > div {
	display: inline-block;
}

#date_selector input, #date_selector label{
	margin-right: 20px
}
  
.wpforms-first.date_selector{
	display: none;
}
/* Template1-3 kontaktiploki ankeedid */
.template1-form {
	border-radius: 12px;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
	max-width: 600px;
	margin: auto;
  }
  
.template1-form .wpforms-field input[type="text"],
.template1-form .wpforms-field input[type="email"],
.template1-form .wpforms-field input[type="tel"],
.template1-form .wpforms-field input[type="number"],
.template1-form .wpforms-field textarea {
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.template1-form .wpforms-field input[type="text"]:focus,
.template1-form .wpforms-field input[type="email"]:focus,
.template1-form .wpforms-field input[type="tel"]:focus,
.template1-form .wpforms-field input[type="number"]:focus,
.template1-form .wpforms-field textarea:focus {
    border-color: #007bff !important;
    outline: none !important;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.2) !important;
}

  
  .template1-form .wpforms-submit {
	width: 100%;
	background: #007bff;
	color: white;
	font-size: 18px;
	padding: 12px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
  }
  
  .template1-form .wpforms-submit:hover {
	background: #0056b3;
  }
  
  .template1-form .wpforms-error {
	color: #dc3545;
	font-size: 14px;
	margin-top: 5px;
  }
  
  .template1-form .wpforms-confirmation-container-full {
	background: #d4edda;
	color: #155724;
	padding: 15px;
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	text-align: center;
	margin-top: 10px;
  }
  
  @media (max-width: 768px) {
	.template1-form {
		padding: 1.5rem;
	}
  
	.template1-form input,
	.template1-form textarea {
		font-size: 14px;
		padding: 10px;
	}
  
	.template1-form .wpforms-submit {
		font-size: 16px;
	}
  }
.template2-form .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
  }
  
  @media (max-width: 768px) {
	.template2-form .wpforms-field-container {
	  grid-template-columns: 1fr;
	}
  }
  
  .template2-form .wpforms-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 0px !important;
  }

  .template2-form .wpforms-field input[type="text"],
  .template2-form .wpforms-field input[type="email"],
  .template2-form .wpforms-field input[type="tel"],
  .template2-form .wpforms-field input[type="number"],
  .template2-form .wpforms-field textarea {
	width: 100%;
	font-size: 16px;
	border: 1px solid #ccc !important;
	border-radius: 8px;
	padding: 10px;
  }
  .template2-form .wpforms-field input[type="text"],
  .template2-form .wpforms-field input[type="email"],
  .template2-form .wpforms-field input[type="tel"],
  .template2-form .wpforms-field input[type="number"] {
	padding: 19px;
  }
  .template2-form .wpforms-submit {
	width: 50%;
	background-color: #007bff;
	color: white;
	font-size: 18px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s ease;
	display: block;
	margin: 0 auto;
  }
  
  
  .template2-form .wpforms-submit:hover {
	background-color: #0056b3;
  }
.template3-form {
    box-shadow: none;
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
	position: relative;
}
.template3-form .wpforms-container {
	background-color: white;
	padding: 25px;
	width: 100%;
	border-radius: 5%;
}
.template3-form h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: #222;
}

.template3-form .wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.template3-form .wpforms-field {
    display: flex;
    flex-direction: column;
}

.template3-form .wpforms-field-label {
    font-size: 14px;
    color: #333;
    font-weight: normal;
    margin-bottom: 5px;
    text-align: left;
}

.template3-form input[type="text"],
.template3-form input[type="email"],
.template3-form input[type="number"],
.template3-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    height: auto;
    outline: none;
}

.template3-form textarea {
    height: 120px;
    resize: vertical;
}

.template3-form input:focus,
.template3-form textarea:focus {
    border-bottom-color: #66afe9;
    box-shadow: none;
}

.template3-form .wpforms-submit {
    width: 100%;
    background-color: var(--color_one);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: 1px solid #222;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
	border-radius: 0;
}

.template3-form .wpforms-submit:hover {
    background-color: var(--color_two) !important;
	color: #000 !important;

}

.template3-form .wpforms-confirmation-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
    color: #888;
    background: none;
    border: none;
    padding: 0;
	appearance: none;
}

.template3-form .wpforms-confirmation-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .template3-form {
        padding: 20px;
        margin: 10px auto;
    }

    .template3-form input,
    .template3-form textarea {
        font-size: 14px;
    }

    .template3-form h3 {
        font-size: 1.3em;
    }
}

.testimonial-grid {
	display: flex;
	flex-wrap: wrap;
	margin: -15px;
	margin-top: -30px;
  }
  
.testimonial-grid .col {
	display: flex;
	padding: 15px;
	margin-top: 10px;
}
/* Tempfix wpforms madalale max-width kastidele */
.wpforms-container input.wpforms-field-medium,.wpforms-container select.wpforms-field-medium,.wpforms-container .wpforms-field-row.wpforms-field-medium,.wp-core-ui div.wpforms-container input.wpforms-field-medium,.wp-core-ui div.wpforms-container select.wpforms-field-medium,.wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width:100% !important;
}

/* küpsised */
.cookie-consent {
	--cookie-consent-color-background: var(--color_two);
	--cookie-consent-color-on-background: var(--ast-global-color-0);
	--cookie-consent-color-button-accept-all: var(--color_one);
	--cookie-consent-color-on-button-accept-all: #fff;
	--cookie-consent-font-weight-light: var(--bs-body-font-weight);
	--cookie-consent-font-weight-regular: 500;
	--cookie-consent-font-weight-semibold: 600;
	--cookie-consent-font-weight-bold: 700;
	--cookie-consent-font-size: 1rem;
}

#facebook-feed {
    padding-top: 100px;
    padding-bottom: 100px;
}
#facebook-container-container-container {
    width: 100%;
    border-radius: 0.5rem;
    text-align: center;
	background: linear-gradient(to right, var(--facebookFeed-gradient_start), var(--facebookFeed-gradient_end));
}
#facebook-container-container-container > h2 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    margin-bottom: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #000 !important;
    text-align: center;
}
#facebook-container-container {
    margin: 0 auto;
    padding: 0 2rem;
}
@media screen and (max-width: 1400px) {
	#facebook-container-container{
		width: 58%;
	}
}
@media screen and (max-width: 1200px) {
	#facebook-container-container{
		width: 70%;
	}
}
@media screen and (max-width: 991px) {
	#facebook-container-container{
		width: 90%;
	}
	#facebook-container-container h2{
		font-size: 2rem;
	}
}
#facebook-container {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2rem;
}
#facebook-container iframe {
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    display: block;
}
.fb_iframe_widget iframe {
    border-radius: var(--ssb-border-radius);
    box-shadow: var(--ssb-box-shadow);
}

.instaBackground {
    background: var(--ast-global-color-1);
    padding-top: 100px;
    padding-bottom: 100px;
}
.insta-title {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    margin-bottom: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #000;
    text-align: center;
}

@media screen and (max-width: 991px) {
    .insta-title {
        font-size: 2rem;
    }
}

/*ads text*/
.banner-text-default {
	position: absolute; 
	width: 648px;
	top: 50%; 
	left: 50%; 
	transform: translate(-50%, -50%); 
	color: white; 
	font-weight: 600;
	line-height: 150%;
	font-family: 'Montserrat', sans-serif; 
	text-align: center; 
	padding: 32px 24px;
	font-size: 20px;
	background-color: rgba(0, 0, 0, 0.80);
	transition: opacity 0.4s ease, visibility 0.4s ease;
	opacity: 0;
	visibility: hidden;
}

.banner-image:hover .banner-text-default {
	opacity: 1;
	visibility: visible;
}


.banner-image:hover .banner-text-default {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 768px) {
	.banner-text-default {
		font-size: 1rem;
	}
}

@media (max-width: 500px) {
	.banner-text-default {
		font-size: 0.8rem;
	}
}

.ssb.reviews-widget {
	height: 240px;
	margin-top: 0px;
}

#testimonials .swiper-wrap {
	height: unset;
}

	.review-swipe #ssb-reviews {
		padding-top: 1.2rem;
	}

/* === Sidebar tabide stiilid === */
.sidebar-tabs {
	display: flex;
	border-bottom: 2px solid #ddd;
	margin-bottom: 40px;
	margin-left: -16px;
	margin-right: -16px;
}

.sidebar-tab {
	flex: 1;
	text-align: center;
	padding: 0.75rem 1rem; /* ← jääb ainult nuppudele */
	font-weight: 600;
	background-color: #fff;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	color: #888;
	position: relative;
	transition: color 0.2s ease-in-out;
}


.sidebar-tab.active {
	color: #000;
}

.sidebar-tab.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	width: 100%;
	height: 3px;
	background-color: #F2551D;
	border-radius: 3px;
}

.sidebar-tab[data-tab="content"] {
	padding-left: 12px;
	padding-right: 6px;
}

.sidebar-tab[data-tab="appearance"] {
	padding-left: 6px;
	padding-right: 12px;
}

.sidebar-tab span {
	display: inline-block;
	transition: transform 0.2s ease;
}

.sidebar-tab[data-tab="content"] span {
	transform: translateX(-14px); /* nihuta teksti joone keskele */
}

.sidebar-tab[data-tab="appearance"] span {
	transform: translateX(14px); /* peegelda sama nihkega */
}

.sidebar-tab[data-tab="content"].active::after {
	left: 0;
	right: auto;
}

.sidebar-tab[data-tab="appearance"].active::after {
	right: 0;
	left: auto;
}
#sidebar hr {
	border: none;
	border-top: 1px solid #ddd;
	opacity: 0;
	margin: 1rem 0;
}

.sidebar-tab-content {
	display: none;
  }
  
  .sidebar-tab-content.active {
	display: block;
  }
.section-divider {
    border-top: 1px solid #ddd;
    margin: 1rem 0 1rem;
}

.section-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}
.subsection-wrapper {
	margin-bottom: 2rem;
}

.subsection-title {
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 0.25rem;
}

.subsection-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.section-divider {
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}
.subsection-wrapper .section-divider {
    margin-top: 24px;
}
#sidebar .color-group {
	margin-bottom: 15px;
}

.parallel-icon {
	cursor: move;
	margin-right: 5px;
}

.parallel-icon > svg{
	margin-bottom: 2px;
}
  
.parallel-icon:hover > svg > path {
	fill: #000000;
}

.section-lulita-avalehe-sektsioone-sisse-valja .form-switch, 
.section-enable-disable-homepage-sections .form-switch {
 	margin-left: unset;
	padding-left: unset;
	display: flex;
	gap: 5px;
    align-items: center;
}

.section-lulita-avalehe-sektsioone-sisse-valja .form-switch:hover, 
.section-enable-disable-homepage-sections .form-switch:hover {
    background-color: #f8f9fa;
}
.section-lulita-avalehe-sektsioone-sisse-valja .form-switch .form-check-input, 
.section-enable-disable-homepage-sections .form-switch .form-check-input {
    margin-top: unset;
}

.section-lulita-avalehe-sektsioone-sisse-valja .form-switch .form-check-label, 
.section-enable-disable-homepage-sections .form-switch .form-check-label {
    cursor: pointer;
    user-select: none;
}

.section-lulita-avalehe-sektsioone-sisse-valja .form-switch input,
.section-enable-disable-homepage-sections .form-switch input {
	margin-left: unset;
}
/* nurkade raadiuse fields */

.section-nurkade-raadius {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; 
    justify-items: stretch; 
    align-items: center;
}


.section-nurkade-raadius .radius-control {
    margin-bottom: 15px;
}

.header-link-ordering-container .list-group-item {
    padding: unset;
    border: unset;
}

.header-link-order-item .header-link-order-item__hgroup {
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.1s ease-in-out;
    cursor: move;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-link-ordering-container .header-link-order-item .header-link-order-item__hgroup:hover {
    background: #f8f9fa;
}

.header-link-order-item:has(> .nested-sortable:not(:empty)) > .header-link-order-item__hgroup:first-child {
    background: #f1f3f5;
    border-color: #ccc;
    font-weight: 700;
}
.header-link-order-item .nested-sortable {
    margin-left: 16px;
    border-left: 2px dashed #eee;
    padding-left: 12px;
    margin-top: 4px;
    border-radius: unset;
}

.header-link-order-item__hgroup {
    display: flex;
    align-items: start;
}

.nested-sortable > .header-link-order-item {
    margin-top: 4px;
}
  
.nested-sortable .nested-sortable > .header-link-order-item {
    margin-top: 0;
}

.extra-sectors-container:not(:has(.switch-group)) b {
    display: none;
}

.partner-logo {
    background-size: contain !important;
}

#partners .swiper-wrapper {
    align-items: center;
}

.swiper-partner .swiper-slide {
    display: block;
    justify-content: center;
    align-items: center;
    padding: 12px; /* slightly larger space between logos */
}

.partner-image-link {
    display: block;
    transition: transform 0.3s ease;
    position: relative;
}

.partner-image-link:hover {
    transform: scale(1.1);
}

/* Custom Tooltip Styling */
.partner-image-link[data-tooltip]:hover::after {
    content: attr(data-tooltip); /* Show the tooltip text from data-tooltip */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.65);
    color: var(--Valge, #fff);
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    padding: 5px 12px; /* Padding inside the tooltip */
    border-radius: 32px; /* Rounded corners with 32px radius */
    white-space: nowrap;
    text-align: center;
    opacity: 1;
    pointer-events: none;
    z-index: 10;
}

.partner-image-link[data-tooltip]:hover {
    cursor: pointer;
}

/* Ensure that the tooltip doesn't overlap other elements */
.swiper-slide {
    position: relative;
}
.bestsolution9-wrapper {
	padding-left: 64px;
    width: 1272px;
    height: 415px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    display: flex;
    overflow: hidden;
    border-radius: 20px
}

.bestsolution9-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #333;
}

.bestsolution9img-wrapper {
    flex: 1;
    position: relative;
    height: 100%;
}

.bestsolution9-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story a {
	padding: 1rem;
}

.story {
	padding: 0 !important;
	background-color: white;
}

#news .story__header {
    display: flex !important;
    flex-direction: column !important;
}

.story__post-date {
	order: -1 !important;
	margin-top: 3px !important;
	margin-bottom: 20px !important;
}
