html {
  scroll-behavior: smooth;
}
body {
  /* background-image: url("images/page-bg.jpg"); */
  font-size: 17px;
  color: #444;
  margin: 0px auto 0px auto;
  font-family: "Open Sans", Arial;
  background: #fff;
  position: relative;
}
table {
  border-spacing: 0px;
}
figure,
figcaption {
  margin: 0px;
}
a {
  text-decoration: none;
  color: inherit;
  border: none;
}
a:hover {
  color: #084e68;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  text-decoration: none;
}
iframe {
  max-width: 100%;
  border: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto", sans-serif;
  color:#444;
  font-weight:normal;
}
h3.title {
  text-align: center;
  padding: 0.5em 0px 0.5em 0px;
  line-height: 0.9em;
}
main > h3.title,
section > h3.title {
  margin-top: 0px;
  font-size:34px;
}
h1 {
 /* font-size: 40px; */
 font-size: 42px;
  position: relative;
  margin-bottom: 17px;
  font-weight:bold;  
}
h2 {
 /* font-size: 38px; */	
  font-size: 40px;
  position: relative;
  margin-bottom: 17px;
}
h3 {
 /* font-size: 34px; */		
  font-size: 36px;
  position: relative;
  margin-bottom: 17px;
}
h4 {
 /* font-size: 28px; */		
  font-size: 30px;
  position: relative;
  margin-bottom: 17px;
}
h5 {
 /* font-size: 16px; */		
  font-size: 20px;
  color:#fff;
  /* text-transform:uppercase; */
}
h1 > span,
h2 > span,
h3 > span,
h4 > span {
  color: #c62131;
  text-shadow: 2px 2px 0px #00225a;
}

.layout-page h1:after,
.layout-page h2:after,
.layout-page h3:after,
.layout-page h4:after,
.layout-page h5:after {
  display: none;
}

*:hover {
  transition: background-color 0.5s linear 0s, color 0.5s linear 0s;
  transition: color 0.5s linear 0s, color 0.5s linear 0s;
  transition: text-shadow 0.3s linear 0s, color 0.3s linear 0s;
  transition: all ease 0.4s;
}
* {
  transition: all ease 0.4s;
  -webkit-transition: all ease 0.4s;
}


.overflow-tabe-js {
  overflow: auto;
}

.srodek,
.podstopka {
  max-width: 1320px;
  margin: 0px auto 0px auto;
  padding: 0px 4% 0px 4%;
  position: relative;
  display: block;
  position: relative;
}
header {
  background-color: rgba(255, 255, 255, 0.86);
}
header .button{
	padding:0.5em 2em 0.5em 2em;
	margin-right:0.3em;
	background:#e52d29;
}
header a.button:hover{
	background:#1b1b1b;
}
header .logo-box {
  display: block;
  position: relative;
  height:85px;
}
.logo-box img{
	height:75px;
	display:block;
}
.logo-box img.mobile{
	display:none;
}
header .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
header .srodek{
	padding:0px 4% 0px 0px;
}
header .left-box,
header .right-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.layout-page .title:after {
  display: none;
}
header .right-top-box {
  display: flex;
  flex-direction: row;
  padding: 5px 15px;
  height: 28px;
}
.question-quick-view-box {
  font-size: 0px;
}
.question-quick-view-box:before {
  content: "\eed2";
  font-family: "Icofont";
  font-size: 16px;
  color: #fff;
  display: block;
  background-color: #000;
  padding: 6px;
  border-radius: 30px;
}
header .mini-contact-box {
  padding: 20px;
  flex-direction: row;
  z-index: 100;
  display: flex;
}
header .mail-box,
header .phone-box,
header .address-box{
  margin-left: 10px;
  margin-right: 10px;
  text-align: right;
  font-size: 15px;
  color: #929292;
  text-transform: uppercase;
}
header.active .mail-box,
header.active .phone-box,
header.active .address-box{
  color: #505050;
}
header .mini-contact-box a:hover {
  color: #b7b7b7;
}
.telico,
.emailico,
.addressico,
.plico,
.enico {
  display: inline-block;
}
.telico:before,
.emailico:before,
.addressico:before,
.plico:before,
.enico:before {
  font-family: "Icofont";
  display: block;
  font-size: 20px;
  /* padding-right: 5px; */
}
.telico:before {
  color: #ce2124;
  content: "\efbb";
  padding: 2px;
  font-size: 22px;
}
.emailico:before {
  color: #929292;
  content: "\ef12";
}
.addressico:before {
  color: #929292;
  content: "\ed42";
}
.plico:before {
  content: url("images/pl.png");
  width: 20px;
  height: 20px;
  display: none;
}
.enico:before {
  content: url("images/en.png");
  width: 20px;
  height: 20px;
  display: none;
}


#header {
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.home-page main {
  padding-bottom: 0px;
}

#header {
  /* position: absolute; */
  left: 0px;
  right: 0px;
  z-index: 1000;
  top:0px;
}
.home-page #header.active {
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1000;
}
.home-page #header.active .menu-top-box a,
.menu-top-box a {
  color: #262626;
  font-weight: bold;
}
/*  top menu  */
header .menu-gora-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding:15px 0px 12px 0px;
}

header .logo-box .title {
  color: #fff;
  font-size: 22px;
  font-style: italic;
  padding: 20px;
  padding-left: 15px;
  display: block;
  text-transform: uppercase;
}
.layout-page #header .logo-box .title {
  color: #525252;
}
header.active .logo-box .title {
  color: #000;
}
header .logo-box .title span {
  display: block;
  font-size: 16px;
  font-weight: normal;
  color: #52a32a;
}
header nav {
  position: relative;
}
header nav > a,
header nav > span,
header nav .rozwijane > span,
header nav .rozwijane > a {
  margin: 0px;
  display: inline-block;
  position: relative;
  min-width: 70px;
  text-align: center;
  /* text-transform: uppercase; */
  font-size: 17px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 33px;
  padding-bottom: 33px;
  color: grey;
}
header nav > a:before,
header nav > span:before,
header nav .rozwijane > span:before,
header nav .rozwijane > a:before {
  font-family: "IcoFont";
  display: none;
  font-size: 25px;
}

/*  indywidualne ikony  */

header nav .id_1:before {
  content: "\ef47";
}
header nav .id_130:before {
  content: "\e820";
}
header nav .id_128:before {
  content: "\ef8c";
}
header nav .id_131:before {
  content: "\ef8c";
}
header nav .id_132:before {
  content: "\e820";
}
header nav .id_133:before {
  content: "\eedb";
}
header nav .id_129:before {
  content: "\ec67";
}

header nav .rozwijane > *:first-child {
  white-space: nowrap;
  position: relative;
}
header nav .rozwijane > *:first-child:before {
  content: "\ea77";
  font-family: "Icofont";
  display: block;
  position: absolute;
  right: 0px;
  top: 24px;
  font-size: 20px;
}
header nav .rozwijane > span {
  padding-top: 11px;
  position: relative;
}
header nav > span:hover,
header nav > a:hover,
.rozwijane:hover > span,
header nav .hover {
  /* background: #000; */
  color: #b7b7b7;
}
header nav .hover:after,
header nav > a:hover:after {
  content: "";
  border-bottom: 3px solid #dae069;
  position: absolute;
  bottom: 20px;
  left: 0px;
  right: 0px;
}
header nav > a:hover:after {
  border-color: #00c66a;
}

main {
  position: relative;
  margin: 0px auto 0px auto;
  min-height: 400px;
  /* padding-top: 30px; */
  background-color: #fff;
  padding-bottom: 30px;
}
.kontakt-box main {
  padding-bottom: 0px;
}
/* main > .srodek {
    display:flex;
    flex-direction:row;
} */
.aside-box {
  width: 300px;
}
main iframe {
  width: 100%;
  border: none;
  display: block;
  height: 600px;
}
input[type="submit"],
.button {
  text-shadow: none;
  background-color: #1b1b1b;
  color: #fff;
  padding: 12px 30px;
  font-size: 15px;
  border: none;
  background-image: none;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
}
.button:hover,a.button:hover,
input[type="submit"]:hover {
  color: #fff;
  background-color: #ea3430;
}
footer > .srodek > .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer {
  padding: 30px 0px;
  background-color: #262727;
  position: relative;
}

footer .logo-box {
	width: 170px;
	margin: 18px 0px 5px 0px;
	background-color: #fff;
	border-radius: 258px;
	height: 170px;
	padding: 10px;
	border: 10px solid #e05c5c;
	justify-content:center;
	display:flex;
}
footer .mini-box .logo-box img{
	width:100%;
	height:auto;
	margin:auto;
	
}

footer .mini-box .content {
  color: #d0d0d0;
  line-height: 1.7em;
}

footer .mini-box .content {
  font-size: 14px;
}
footer .mini-box .content iframe {
  height: 100%;
}
footer .mini-box .logo-box{
	text-align:center;
}

footer h5 {
  color: #e05c5c;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 27px;
  margin: 15px 0px;
}


/*  socialmedia  */
header .mini-logo-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.socialmedia-box {
  list-style-type: none;
  margin: 0px;
  padding-top: 0px;
  display: flex;
  flex-direction: row;
  padding-left: 5px;
  z-index: 10;
  /* margin-left: 15px; */
}

.socialmedia-box li {
  display: block;
  padding: 8px 5px 0px 5px;
	width:20px;
}

.socialmedia-box li svg{
	width:20px;
	height:auto;
	fill:#B1B4B6;
	object-fit:contain;
}
.socialmedia-box li svg:hover{
	fill:#e52d29;
}

.mini-contact-form-box {
  clear: both;
  background-image: url(images/kontakt.jpg);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
  position: relative;
  min-height: 550px;
}
.mini-contact-form-box:after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  background-color: rgb(0 0 0 / 30%);
}
.mini-contact-form-box .formularz textarea,
.mini-contact-form-box .formularz input[type="text"],
.mini-contact-form-box .formularz select {
  color: #fff;
  font-weight: 200;
}
/*  copyrights */
.copyright-box .content {
  /* text-align:center; */
  color: grey;
}

.copyright-box .content .logo-box img {
  width: 40px;
}
.copyright-box {
  text-align: right;
  background-color: #333;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #919191;
  font-size: 13px;
}
.copyright-box .logo {
  padding-top: 15px;
  display: block;
}
.copyright-box a {
  font-size: 13px;
  color: #fff;
}
.top {
  position: fixed;
  display: block;
  right: 20px;
  bottom: 25px;
  z-index: 10;
  opacity: 0.8;
  display: none;
  /*  Todo font dosnt show up */
}
.top img:hover {
  opacity: 1;
}
.top img {
  display: none;
}
.top:before {
  font-family: "IcoFont";
  content: "\eacb";
  background-color: #fff;
  border-radius: 25px;
  color: #000;
  border: 1px solid rgb(136, 136, 136);
  padding: 5px;
  font-size: 25px;
}
.top:hover:before {
  background-color: #000;
  color: #fff;
}

.naglowek .content {
  clear: both;
  padding: 5px 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.naglowek .content .sciezka {
  font-size: 14px;
  padding: 10px 0px;
}
.lista_logotypow {
  padding: 30px 0px;
}
.lista_logotypow #karuzela {
  margin: 0px;
}
.lista_logotypow h3 {
  display: none;
}
.tekst {
  padding: 30px 0px 30px 0px;
}
.tekst > *:first-child {
  margin-top: 0px;
}

.mini-menu-list-box ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  margin-top: -4px;
}
.mini-menu-list-box li {
  display: flex;
  flex-direction: row;
}
.mini-menu-list-box a {
  display: block;
  color: #d0d0d0;
  text-transform: uppercase;
  font-size: 14px;
}
.mini-menu-list-box li a:hover,
.mini-menu-list-box li a.active {
  color: #000;
}

.baner-podstrony {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.baner-podstrony .srodek {
  overflow: hidden;
}
.baner-podstrony .haslo {
  background: rgba(255,255,255,0.9 );
  border-radius: 30px 0px 30px 0px;
  max-width: 400px;
  margin: 30px 0px 10px 0px;
  padding: 10px 4% 0px 4%;
  overflow: hidden;
  box-shadow: 3px 3px 0px #c62131;
  font-family:'Roboto';
}
.baner-podstrony .haslo P{
	margin-top:0.5em;
	font-size:120%;
}
.baner-podstrony .haslo h1,.baner-podstrony .haslo h2{
	margin:10px 0px 10px 0px;
	line-height:1em;
}
.news-list-layout-box main .srodek,
.news-details-layout-box main .srodek {
  display: flex;
  flex-direction: row;
}


.layout-box main,
.kontakt-box main .srodek {
  padding-bottom: 40px;
}

.owl-theme .owl-dots {
  display: none;
}
.owl-nav .owl-prev > span,
.owl-nav .owl-next > span {
  font-size: 70px;
  color: #000;
  padding: 0px 10px;
  background-color: transparent;
  border-radius: 5px;
  display: inline-block;
  font-family: "Montserrat";
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: transparent !important;
  color: #ce2124 !important;
}
.owl-theme .owl-nav [class*="owl-"]:hover span {
  color: #ce2124 !important;
}
.owl-nav .owl-prev:focus,
.owl-nav .owl-next:focus {
  outline: none;
}
.baner-podstrony.mobile{
	height:auto;
}
.baner-podstrony.mobile .srodek{
	position:absolute;
	left:0px;
	bottom:15%;
	width:92%;
}
  .mobile{
	  display:none;
  }	
@media screen and (max-width: 1024px) {
  header nav .hover:after,
  header nav > a:hover:after {
    bottom: 0px;
  }
}
@media screen and (max-width: 960px) {
	header .srodek{
		padding:4px 4% 10px 4%;
	}

	.logo-box img.mobile+img{
		display:none;
	}
	.logo-box img.mobile{
		display:block;
		height:110px;
		margin:-18px;	
	}
	header .button{
		position:relative;
		top:45px;
		left:20px;
	}	
	header .menu-gora-box {
		flex-direction: column;
		padding:0px;
	}
	header .content {
		display: block;
		padding:10px 0px 0px 0px;
	}
	header .socialmedia-box {
		position: absolute;
		right: 4%;
		top: 11px;
	}
	header .left-box,
	header .right-box {
		align-items: normal;
	}
	header .mail-box {
		display: none;
	}
	header .menu-gora-box {
		margin-left: unset;
	/* margin-top: -55px; */
	}
	header .mini-contact-box {
		flex-direction: column;
	}
	.aside-box {
		display: none;
	}
	.socialmedia-box li{
		padding-top:0px;
	}
	.socialmedia-box li a{
		height: 25px;
		width: 25px;
		background: #888;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.5s;
	}
	.socialmedia-box li a svg{
		fill: #fff;
    height: 15px;
    width: 15px;
	}
	footer .mini-o-nas-box,
	footer .mini-contact-box,
	footer .mini-map-box,
	footer .stopka-menu-box,
	footer .mini-logo-box {
		width: 100%;
		padding: 0px;
		margin-bottom: 20px;
	}
	footer .content {
		display: block;
	}
	footer .mini-logo-box {
		text-align: left;
	}
}
@media screen and (max-width: 720px) {
  header .logo-box .title {
    display: none;
  }
  header {
    height: auto;
    padding-bottom: 0px;
    display: block;
  }
  .hamburger {
    display: block;
  }
  header .mail-box,
  header .phone-box {
    clear: both;
    float: none;
    margin-left: auto;
    /* margin-right: auto; */
  }
  footer > .srodek > .content {
    display: block;
  }
  footer .mini-contact-box,
  footer .mini-map-box {
    padding: 0px;
  }
  header .mail-box,
  header .phone-box {
    border: none;
  }
}
@media screen and (max-width: 560px) {
  header .mini-contact-box {
    padding: 10px 0px 0px 0px;
  }

}
@media screen and (max-width: 480px) {
	.mobile{
		display:block;
	}
	.baner-podstrony.mobile+.baner-podstrony{
		display:none;
	}	
	.desktop{
		display:none;
	}

  .sciezka {
    display: block;
    float: none;
  }
  .naglowek h1 {
    font-size: 30px;
  }
  .top {
    padding-top: 10px;
    display: block;
    position: absolute;
    bottom: 15px;
    left: 10px;
  }
  footer > .srodek {
    display: block;
  }
  main iframe {
  width: 100%;
  border: none;
  display: block;
  height: 400px;
}
}