/*
	Theme Name: Emfusion
	Theme URI: https://solmedia.pl
	Description: Custom WordPress Theme
	Version: 1.0
	Author: Andrzej Bolewski
	Author URI: http://solmedia.pl
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
:root {
	--primary:#00508C;
	--emfusion: #00CCCC;
	--gradient:linear-gradient(180deg, #00508C 0%, #000A32 100%);
	--gradient2: linear-gradient(123.05deg, #FFFFFF 10.76%, #96D2FF 87.02%);
	--gradient3: linear-gradient(269.5deg, #00508C -13.58%, #000A32 49.82%);
}
body {
	font-family: 'Noto Sans', sans-serif;
	font-weight:300;
    overflow-x:hidden;
	font-size: 20px;
	line-height: 1.62;
	color: var(--primary);
}
img {
	max-width: 100%;
	height: auto;
}
iframe,video {
	max-width: 100%;
}
a {
	color:var(--primary);
    transition:0.3s all ease;
    word-break: break-word;
}
a:hover {
	opacity: .85;
	color: var(--primary);
}
h1,h2,h3,.h1,.h2 {
    font-weight: 600;
}
h1, .h1 {
	font-size: 48px;
}
h2,.h2 {
	font-size: 30px;
}
.btn {
	border: 0;
	border-radius:0;
}
.btn-primary,body .kc_button {
	background-color: inherit;
	color: #fff;
	font-size: 26px;
    border: 1px solid #fff;
	padding: 10px 40px;
    border-radius: 40px;
	font-weight: 700;
	box-shadow:0 0 10px #fff, inset 0 0 10px #fff;
}
body .kc_button:focus,body .kc_button:hover {
	background-color: white;
	color: var(--primary);
	text-decoration: none;

}
body .kc_button.btn-emfusion {
	border: 3px solid #00CCCC;
	box-shadow:none;
	border-radius:8px;
    font-weight: 300;
    font-size: 20px;
}
body .kc_button.btn-emfusion:hover {
	background: var(--emfusion);
	color: #fff;
}
.btn-emfusion i {
	margin-left: 10px;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.flex {
	display: flex;
}
@media (min-width: 1320px) {
	.container {
		width: 1300px;
	}
}
/*Sekcje*/
section,body:not(.kingcomposer) article {
   padding:60px 0
}
#category,.single main {
	padding:60px 0
}
.odstep {
	padding-top: 90px
}
/* wersja z paskiem nad menu
#top {
	text-align: right;
	transition:0.3s all ease;
	background: #f5f5f5;
	height: 33px;//popraw
}
#top span {
	display: inline-block;
	margin-left: 20px;
}
#top span i {
	margin-right: 10px;
	color: #9ec536;
}
#top span .btn i {
	color: #fff;
}
#banner {
	min-height: 50vh;
}
#header {
	padding: 0;
}
#header-main {
	padding: 10px 0;
	transition:0.3s all ease;
}
.smaller #header-main{
	padding: 5px 0;
}
.smaller #top {
	height: 0;
	padding: 0;
	overflow: hidden;
}
*/
#header {
	display: block;
    width: 100%;
    position: fixed;
    z-index: 10;
    top:0;
	background: #fff;
	padding: 10px 0;
	transition:0.3s all ease;
}
#header.smaller {
	padding: 5px 0;
    box-shadow: 0 0 5px #ccc;
}
#header .row {
	display: flex;
	align-items:center;
}
.admin-bar #header{
	top: 32px;
}
#tlo {
	background: #eee;
	background-size:cover;
	text-align: center;
}
.ramka {
    margin: 0 auto;
    padding: 30px 50px;
    max-width: 610px;
	text-align: center;
}
#stopkaBig,#stopka {
	text-align: left;
	clear: both;
	background: #f7f6fb;
}
#stopka {
	padding: 15px 0;
}
/*menu*/
.nav>li>a:focus, .nav>li>a:hover, .nav>li.active>a {
	background-color:inherit;
}
.navbar-toggle .icon-bar {
	background: #8e4a8e;
    width: 30px;
    height: 3px;
}
.navbar-toggle .icon-bar+.icon-bar {
	   margin-top: 6px;
}
.navbar-collapse {
    position: absolute;
    left: 0px;
    width: 100%;
	background: #fff;
    padding: 0 15px;
	top:160px;
	z-index: 9;
}
/*paski*/
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-left: 0px solid #ccc;
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}
/*Misc*/
article p img {
    max-width: 100%;
    height: auto;
}
h4.title {
    font-size: 20px;
    font-weight: 700;
}
.readmore {
	display:inline-block;
	padding-bottom:30px;
}
.date-tags {
	display:flex;
    justify-content: space-between;
}
div.date {
    opacity: 0.6;
    font-size: 13px;
    margin-bottom: 5px;
    font-style: italic;
}
#searchform label {
	display: none;
}
/*Blog*/
#category .flex{
	display: flex;	
    flex-wrap: wrap;
	margin-right: -60px;
}
.flex .hentry {
	width: 350px;
    margin-right: 60px;
	margin-bottom: 30px;
}
#category .wrap-info {
	padding: 15px;
}
h3.title {
	margin-top: 10px;
}
.data-kat .category {
	font-weight: 700;
	text-transform: uppercase;
	padding-right: 10px;
}
.pagination {
	width: 100%;
    display: flex;
    justify-content: center;	
}
.pagination > * {
	margin: 0 5px;
}
/*Editor*/
.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}

@media (max-width: 991px) {
	#category .post {
	    padding-bottom: 60px;		
	}
	.wrap-img {
		text-align: center;
		float: none;
		margin-right: 0;
		max-width: none;
	}
}

body .content-desc {
	color: inherit;
}
body.kingcomposer section[data-kc-equalheight=true]>.kc-container .kc-wrap-columns {
	margin-left: -15px;
	margin-right: -15px;
	width: auto;
	min-width: 100%;
}
.search-highlight {
	background:yellow
}
#s {
	border-radius:12px 0 0 12px;
}
#searchsubmit {
	border: 1px solid #ffffff47;
    border-radius: 0 8px 8px 0;
}

@media (min-width: 992px) {
	.odstepy-poziom :is(.kc_column,.kc_column_inner,.col-md-6):first-child {
		padding-right: 45px;
	}
	.odstepy-poziom :is(.kc_column,.kc_column_inner,.col-md-6):last-child {
		padding-left: 45px;
	}
}
.wrap-img,  .wp-post-image, iframe, .size-large, .gallery-item img,.kc-image-link img,.fancybox-image {
    border-radius: 12px;
    overflow: hidden;
}
body .kc_single_image {
	line-height: inherit;
}
.scapt {
	font-size: 14px;
	font-style: italic;
	padding-top: 1px;
	text-align: center;
}
.bg-gray {
	background: #f5f5f5;
}

ul#menu-footermenu{
	padding-left: 0;
}
ul#menu-footermenu,ul#menu-footermenu li,.menu-footermenu-container {
	display: inline-block;
}
#menu-footermenu li {
	margin-left: 8px;
	padding-left: 8px;
	border-left: 1px solid #888;
    line-height: 1;
}

#popup-wrap {
    position: fixed;
    background: #0008;
    top: 0;
    bottom: 0;
	left: 0;
	right: 0;
	display: none;
	align-items:center;
    justify-content: center;
    z-index: 9999999999;
    max-width: 100vw;
}
#popup {
    background: #fff;
    max-width: 600px;
	padding: 20px 30px;
}
#popup a.btn {
	margin: 10px;
	margin-left: 0;
}
#komunikat-popup {
	display: none;
}
#popup-tresc .btn-primary {
	background-color: #00578e;
}
.bg-gradient {
	background: var(--gradient);
	color: #fff;
}
.bg-gradient2 {
	background: var(--gradient2);
}
.bg-gradient3 {
	background: var(--gradient3);
}
body .content-title {
	color: inherit;
    text-transform: inherit;
	font-weight: 600;
}
body .kc-fb-layout-2 {
	box-shadow:none;
}
.bold-color :is(strong,b) {
	color: #00CCCC;
}
.white {
	color: #fff;
}
#hero {
	padding-bottom: 0;
}
.pb0 {
	padding-bottom: 0;
}
.p0 {
	padding-top: 0;
	padding-bottom: 0;
}
.pt120 {
	padding-top: 120px;
}
.bg-dark {
	background: #000A32;
	color: #fff;
}
.p-absolute.kc_single_image img {
	position: absolute;
	top: -170px;
	right: -30px;
	animation: plywanie 5s cubic-bezier(.45,0,.55,1) infinite;
}

@keyframes plywanie {
	0%   { transform: translateY(0); }
	50%  { transform: translateY(40px); }
	100% { transform: translateY(0); }
}



/*gabinety*/

.gabinet-wrapper{
    display:flex;
    gap: 26px;
}
.gabinet-left{
    width:35%;
    color:#fff;
}
.gabinet-left-apla {
    background:linear-gradient(180deg,#0a3b80,#00143d);
    border-radius:14px;
    padding:20px;
	margin-bottom: 16px;
}
.gabinet-left-apla:last-child {
	margin-bottom: 0;
}
.gabinet-left .wyniki {
    overflow-y:auto;
    max-height:450px;
    padding-right: 20px;
}
.gabinet-left .wyniki::-webkit-scrollbar-track {
    border-radius: 10px; /* zaokrąglenie track */
}
.gabinet-left .wyniki::-webkit-scrollbar-thumb {
    background: #00CCCC;
    border-radius: 10px; /* zaokrąglenie kciuka */
}
.gabinet-item{
    background:#fff;
    color:var(--primary);
    border-radius:14px;
    padding:16px;
    margin-bottom:10px;
    cursor:pointer;
}
.gabinet-item h4 {
	font-size: 15px;
	margin: 0 0 10px;
	font-weight: 600;
	color: var(--primary);
}
.gabinet-item.active{
    background: linear-gradient(180deg, #FFFFFF 0%, #96D2FF 100%);

}
.gabinet-item .dane{
	font-size: 13px;
}
#gabinetSearch input {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 7px;
    padding: 3px 10px;
    font-size: 13px;
    width: 100%;
}
.gabinet-left h3 {
	font-size: 20px;
	margin: 0 0 20px;
}
#gabinetMap{
    width:65%;
    height:650px;
    border-radius:14px;
    overflow:hidden;
}
.gabinet-item .dane > div {
	padding-left: 20px;
	position: relative;
}
.gabinet-item .dane > div a {
	font-weight: 600;
}
.gabinet-item .dane div:before {
	position: absolute;
    left: 0;
    top: 2px;
}
.gabinet-item .dane .map1:before {
	content: url(img/map1.svg);
}
.gabinet-item .dane .map2:before {
	content: url(img/map2.svg);
}
.gabinet-item .dane .map3:before {
	content: url(img/map3.svg);
}
::placeholder {
  color: #fff !important;
}
#mapa .kc_single_image img {
	max-width: 150px;
	border-radius: 0;
}

body .owl-theme .owl-controls .owl-buttons div {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 50px;
    opacity: 1;
    color: transparent;
    transition: all .3s ease;
    padding: 0;
    z-index: 9;
	background: inherit;
	top: calc(50% - 25px);
}
.owl-theme .owl-controls .owl-buttons .owl-next:before,.owl-theme .owl-controls .owl-buttons .owl-prev:before {
    content: "\e606";
    color: var(--primary);
    transition: all .6s ease;
    font-family: simple-line-icons;
    font-size: 50px;
    line-height: 50px;
    font-weight: 100;
}
.owl-theme .owl-controls .owl-buttons .owl-prev:before {
    content: "\e605";
}
.owl-theme .owl-controls .owl-buttons .owl-prev {
    left: 0;
    right: initial;
}
.owl-theme .owl-controls .owl-buttons .owl-next {
    right: 0;
    left: initial;
}
@media (max-width: 991px) {
	body .owl-theme .owl-controls .owl-buttons div {
		opacity: 0;
	}
	.owl-theme .owl-controls .owl-buttons .owl-prev {
		left: 0;
	}
	.owl-theme .owl-controls .owl-buttons .owl-next {
		right: 0;
	}
	.owl-pagination {
		bottom: 0;
	}
	body .kc_tabs_nav>li>a {
		padding: 0 10px
	}
}
body .leaflet-popup-content-wrapper {
    border: 2px solid var(--emfusion);
    border-radius: 8px;
	font-size: 12px;
	color: var(--primary);
}

/*banki*/

.bubble {
  position: absolute;
  border-radius: 50%;
  background-image: url("https://emfusion.pl/bubble.png");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float linear infinite;
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--move-x), var(--move-y));
    opacity: 0;
  }
}

section#hero {
    position: relative; /* WAŻNE! */
    overflow: hidden; /* Żeby bańki nie wychodziły poza sekcję */
    /* Twoje pozostałe style */
}
#jony {
	background: url(img/bg_jony_wapnia2.png) right bottom no-repeat,url(img/bg_jony_wapnia3.png) center top no-repeat, var(--gradient);
}
.content-image {
	min-height: 100px;
}
body :is(.owl-theme .owl-controls,.kc_tabs) {
	margin: 0;
}

#clearSearch {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.gabinetPola {
	position: relative; 
	display: inline-block; 
	width: 100%;
}
#searchInput {
    padding-right: 40px; /* Miejsce na przycisk X */
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(0, 204, 204, 0.6) !important;
	color: #fff;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(0, 204, 204, 0.8) !important;
	color: #fff;
}
.leaflet-tile-pane {
    filter: grayscale(100%);
}
body .kc-fb-layout-2 .content-title {
	max-width: 300px;
	padding-top: 25px;
	margin: 0 auto ;
	float: none;
	clear: both;
}
.logo-tekst {
	height: 22px;
	filter:brightness(0) invert(1);
    margin-left: 3px;
    position: relative;
    top: -2px;
}
@media (max-width: 991px) {
	body {
		font-size: 18px;
	}
	section {
		padding-left: 15px;
		padding-right: 15px;
	}
	#hero {
		padding: 60px 30px 0;
	}
	.gabinet-wrapper {
		display: block;
	}
	.gabinet-left,#gabinetMap {
		width: 100%;
	}
	#gabinetMap {
		margin-top: 40px;
	}
}
@media (max-width: 767px) {
	html {
		overflow-x: hidden;
	}
	.h1,h2, .h2 {
		font-size: 25px;
	}
	.kc_single_image img.czym-jest {
		width: calc(100% + 60px);
		position: relative;
		left: -30px;
        max-width: calc(100% + 60px);
	}
	#dlaczego {
		padding: 70px 30px 0;
	}
	.p-absolute.kc_single_image img {
		display: none;
	}
	:is(#dolacz,#korzysci) .kc_col-sm-4 {
		width: 33.33%;
	}
	body .content-title {
		font-size: 13px;
	}
	.podpis-slider {
		font-size: 10px;
	}
	.kc_title br {
		display: none;
	}
	body .kc-fb-layout-2 .content-title {
		padding: 25px 0 0;
		font-size: 12px;
	}
}