/* 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;
}
  
/* 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: 350px;
	flex-direction: column;
	justify-content: space-between;
	display: flex;
}

/*
.product img {
	display: flex;
	margin: 0 auto;
	
}
*/
.product_container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

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

.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);
}

/* 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;
	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)
}
.mhn-slide .owl-prev, .video-slide .owl-prev{left:-10px}
.mhn-slide .owl-next, .video-slide .owl-next{right:-10px}

.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;
}

.gallery-container {
	padding: 20px;
	max-height: 585px;
	overflow-y: auto;
	display: flex;
	flex-direction: row;
	gap: 2rem;
	flex-wrap: wrap;
	scrollbar-width: thin;
	scrollbar-color: var(--ssb-dark-blue);
	justify-content: center;
	margin-top: 2rem;
}

/* Style individual images */
.gallery-image {
	position: relative;
	overflow: hidden;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: calc(33% - 20px);
	max-width: calc(33% - 20px);
	height: 16rem;
	cursor: pointer;
	min-width: 290px;
}

.gallery-image .gallery_img {
	object-fit: cover;
	object-position: center;
	height: 100%;
	width: 100%;
	transition: transform 0.3s;
}

.gallery-image:hover .specialImages_image-title {
	opacity: .8;
	transform: translateY(0);
}

.specialImages_image-title {
	position: absolute;
	transform: translateY(100%);
	left: 0;
	right: 0;
	background-color: var(--color_two);
	color: var(--color_one);
	padding: 0.5rem;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	font-weight: 500;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	bottom: 0;
}

.image:hover img {
  transform: scale(1.1);
}

.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;
}
footer {
	height: 10vh;
}
details[open],
details summary,
.d-imgs {
	display: block;
}
details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.58rem 1rem;
	width: 100%;
	cursor: pointer;
	font-weight: bold;
	font-size: 1rem;
	color: black;
	border: 1px solid #d5d8dc;
	background-color: #f3f1f6;
}
details summary:after {
	content: "›";
	font-size: 2rem;
	transition: 0.3s;
	transform: rotate(90deg);
}

/* transitions */
details {
  margin-bottom: 1rem;
  height: 4rem;
  transition: height 0.3s ease;
}
details[open] {
  height: 12.3rem;
}
details p {
  height: fit-content;
}
details[open] summary:after {
  transform: rotate(-90deg);
}

.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: 45px;
	height: 45px;
	transition: transform 0.2s ease-in-out;
}

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

.footer_company_info {
	margin-top: 1rem;
}

.semibold {
	font-weight: 500;
}

.metadata__contact {
	margin-top: 1rem;
}

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

.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;
	}
}

.wpforms-field-textarea{
  content: "";
  clear: both;
}

#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;
}

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

.regularwidth .banner_img {
  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: cover;
	object-position: center center;
	-webkit-object-fit: cover;
}

.fullwidth .banner_img {
	border-radius: unset !important;
	width: 100%;
	object-fit: cover;
	object-position: center center;
	height: auto;
	-webkit-object-fit: cover;
}

@media (max-width: 1200px) {
	.banner_img.large_banner_image {
		display: none;
	}
	.banner_img.small_banner_image {
		display: block;
	}
}
@media (min-width: 1200px) {
	.banner_img.large_banner_image {
		display: block;
	}
	.banner_img.small_banner_image {
		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%;
	*/
}

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

.productPreview {
	
}

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

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

.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;
}

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

.image-container {
    display: flex;
}

.product_data {
	display: flex;
}

.product-info {
	flex-grow: 1;
	min-width: 300px;
	margin-top: 2rem;
	padding: 2rem 0;
}

.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;
}