/*
 Theme Name:   enervista
 Template: 	   kadence
 Author:       SP Media
 Author URI:   https://spmedia.pl/
*/

.home-big-image .wp-block-kadence-image,
.home-big-image .wp-block-kadence-image img{
	height:100%;
}

.home-big-image .wp-block-kadence-image img{
	object-fit: cover;
}

#primary-menu .lang-item  {
	margin-left:2rem;
}

#primary-menu .lang-item  a {
	color: var(--global-palette2); 
	font-weight:600;
	background: var(--global-palette3);
	border-radius: 15px;
	padding: .5rem 1rem;
}

.text-with-sign-before::before {
  content: url(http://enervista.spmediadlaciebie.pl/wp-content/uploads/2024/03/text-before-sign.png); 
  display: block;
  float: left;
  margin-right: 5px;
}

#main .home-tabs .kt-tabs-title-list .kt-tab-title-active {
	box-shadow:  0 3px 10px 10px rgba(0,0,0,0.05);
	border-radius:100px;
}

@media screen and (max-width:768px) {
	#main .home-tabs .kt-tabs-title-list .kt-tab-title-active {
		box-shadow:  0 3px 5px 5px rgba(0,0,0,0.05);
		border-radius:100px;
	}
}

#main .home-tabs .kt-tabs-title-list .kt-title-item {
	box-sizing:border-box;
}

#main .home-tabs .kt-tabs-title-list .kt-tab-title-active a {
	border-radius:100px;
	font-weight:bold;
}

.home-tabs .kt-title-item a::before {
  content: url(http://enervista.spmediadlaciebie.pl/wp-content/uploads/2024/03/Group-15.png); 
	margin-right:5px;
	margin-bottom:-4px;
	opacity:0;
}

.home-tabs .kt-tab-title-active a::before {
	opacity:1;
}

.home-tabs .tabs-title {
	position: absolute;
	left:4rem;
	top:.5rem;
	margin:0;
}

@media screen and (max-width:1025px) {
	 #main .home-tabs .kt-tabs-title-list {
		margin-top:3.5rem;
		 justify-content: flex-start;
		 margin-left:1rem;
	}
}

@media screen and (max-width:1025px) {
	.home-tabs .tabs-title {
		left:1rem;
	}
}



.home-tabs {
	margin-right:1rem;
}

.home-long-text em{
	color: var(--global-palette2); 
}
.home-long-text em strong {
	color: #2eadb0;
}




#main .my-contact-form textarea {
	background: var(--global-palette4); 
}

@media screen and (max-width:768px){ 
	#main .my-contact-form .kb-button {
		width:100%;
	}
}


#colophon .site-footer-row.site-footer-row-columns-3.site-footer-row-column-layout-center-wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 3fr);
}

@media screen and (max-width:768px) {
	#colophon .site-footer-row.site-footer-row-columns-3.site-footer-row-column-layout-center-wide {
		grid-template-columns: minmax(0, 1fr);
	}
	#footer-menu li:nth-child(odd) {
		order: -1; 
	}
	#footer-menu li:nth-child(even) {
		order: 1;
	}
}


#colophon .footer-menu-container .footer-menu {
	display:flex;
	justify-content: flex-start;
	flex-wrap:wrap;
	align-items: flex-start;
}
.footer-menu-container #footer-menu  .menu-item {
	flex: 0 0 50%;
	padding: 5px 0;
}

@media screen and (max-width:768px) {
	.footer-menu-container #footer-menu  .menu-item {
		flex: 0 0 100%
	}
	#colophon .footer-menu-container #footer-menu  .menu-item a{
		padding-left:0;
	}
 .site-container .site-top-footer-inner-wrap {
		grid-column-gap: 10px;
		grid-row-gap: 10px;
	}
}


.footer-menu-container #footer-menu .menu-item:nth-child(2n) a {
	color: #4D9D7C;
}

#colophon .site-footer-wrap {
	margin: 1rem 4rem;
}

@media screen and (max-width:1025px) {
	#colophon .site-footer-wrap {
	margin: 0 2rem;
}
}

@media screen and (max-width:768px) {
	#colophon .site-footer-wrap {
		margin: 0 1rem;
	}
}
 
.footer-widget-area-inner #block-8,
.footer-widget-area-inner #block-8 .wp-block-kadence-column,
.footer-widget-area-inner #block-8 .wp-block-kadence-column .kt-inside-inner-col{
	height:100%;
}

 #block-8 .second-footer-menu .kt-inside-inner-col  {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.mobile-menu-container #mobile-menu .menu-item a {
	color: #000;
}

.popup-drawer-layout-fullwidth .drawer-inner{
	background: rgba(255,255,255,.8) !important;
}

.page-id-31 .popup-drawer-layout-fullwidth .drawer-inner{
	background: rgba(255,255,255,1) !important;
}

.popup-drawer .drawer-inner  {
	position: relative !important;
}

#masthead.site-header {
	z-index: 9999999;
}

#mobile-menu {
	margin-top:2rem;
}

#mobile-menu .menu-item a {
	font-weight:500;
	font-size:16px;
}

#mobile-menu  .lang-item {
	width:4rem;
	display: flex; 
	justify-content: center;
	align-items: center;
}

#mobile-menu  .lang-item  a {
	color: var(--global-palette2); 
	font-weight:600;
	background: var(--global-palette3);
	border-radius: 15px;
	width:6rem;
	padding: .5rem 0;
	text-align:center;
}

@media screen and (max-width:1200px) {
	#primary .home-tabs .kt-title-item a {
		padding:1rem;
	}	
}

@media screen and (max-width:1025px) {
	#primary .home-tabs .kt-title-item a {
		padding:.5rem;
	}	
}

@media screen and (max-width:768px) {
	#main .home-tabs .kt-tabs-title-list {
		flex-wrap:nowrap;
		overflow-x:scroll;
		scrollbar-width: none;
		-ms-overflow-style: none; /* Ukryj przewijanie dla przeglądarek IE/Edge */
		scroll-behavior: smooth;
		padding:.5rem 0;
	}
	.home-tabs .kt-tabs-title-list::-webkit-scrollbar {
	  display: none; /* Ukryj pasek przewijania dla przeglądarek opartych na Chromium */
	}
	
	#main .home-tabs .kt-tabs-title-list .kt-title-item {
		flex-shrink:0;
	}

}

.page-id-31 #main-header {
	box-shadow: 0 5px 10px rgba(0,0,0,.05)	
}

.who-we-are-panel {

	margin-left:auto; 
	margin-right:auto;
}

.who-we-are-panel-left{
	margin-left:auto; 
}

.who-we-are-panel-right{
	margin-right:auto; 
}

#site-navigation .current-lang, 
#mobile-menu .current-lang{
	display: none;
}

textarea {
	resize: none;
}

/* .site-branding .brand img {
	height: 72px !important;  
	width:137px !important;
	
} */

#main .team-tab-logo {
	flex: initial;
}
