:root{
	color-scheme: light dark;	
	--niebieski_logotyp:#2e5a9b;
	--pomaranczowy_logotyp:#f99132;
	--ciemny_niebieski:#09476c;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  font-size: 16px;  
}
body {
  color: #555;
  margin: 0px auto 0px auto;
  font-family: "Montserrat", Arial;
  background: #fff;
  position: relative;
  font-weight: 300;
}
table {
  table-layout: fixed;
  max-width: none;
  width: auto;
  min-width: 100%;
}

table th {
  font-size: 20px;
}
table td {
  font-size: 18px;
}

table tr th {
  background-color: #006e00;
  padding: 10px 15px;
  color: #fff;
}
table tr td {
  padding: 10px 15px;
}
table tr:nth-child(2n + 1) {
  background-color: #f3f3f3;
}

figure,
figcaption {
  margin: 0px;
}
a {
  text-decoration: none;
  color: inherit;
  border: none;
}
a:hover {
  color: #000;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  text-decoration: none;
}
iframe {
  max-width: 100%;
  border: none;
}
.clearfix {
  clear: both;
}
h1,
h2,
h3,
h4,
h5 {
  padding: 0;
  border: 0;
  outline: 0;
  font-style: inherit;
  font-size: 100%;
  font-family: 'Ubuntu', sans-serif;
  vertical-align: baseline;
  margin: 0 0 0.5em 0;
  color: #333;
  font-weight: 100;
  line-height: 1em;  
}
h1 {
  font-size: 3.2rem;
  position: relative;
  color: #028cf0;
}
h2 {
  font-size: 2.6rem;
  position: relative;
  color: #243746;
}
h3 {
  font-size: 2.2rem;
  position: relative;
  color: #243746;
}
h4 {
  font-size: 1.8rem;
  position: relative;
  margin-bottom: 1em;
  color: #243746;
  line-height: 1.1em;
}
h5 {
  font-size: 1.6em;
  line-height: 1.5em;
}
h6{
  font-size: 1.0em;
  font-weight:800;
}
h1 span,
h2 span,
h3 span,
h4 span{
  color: #2c90ef;

}
.alert {
  color: red;
}
.message {
  text-align: center;
  color: #ee4f53;
}
.message.success {
  color: green;
  font-weight: 600;
}

.overflow-table-js {
  overflow-x: auto;
  /* white-space: nowrap; */
}
input[type="submit"],
.button {
  cursor: pointer;
  text-shadow: none;
  text-align: center;
  background-color:var(--pomaranczowy_logotyp);
  color: rgb(255 255 255);
  display: inline-block;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 25px;
  border: none;
  border-radius: 8px;
  margin: 0px;
  text-transform: uppercase;
  margin: 5px 0px;
  font-weight: 700;
}
.button:hover,
input[type="submit"]:hover {
  color: #ffffff;
  background-color: #15486a;
}
.button-promo {
  cursor: pointer;
  text-shadow: none;
  text-align: center;
  background-color: #15486a;
  color: rgb(255 255 255);
  display: inline-block;
  padding: 20px 30px;
  font-size: 25px;
  border: none;
  border-radius: 8px;
  margin: 0px;
  text-transform: uppercase;
  margin: 5px 0px;
  font-weight: 700;
}
.button-promo:hover {
  color: #ffffff;
  background-color: var(--pomaranczowy_logotyp);
}

.section-box{
  margin:60px 0px;
}
.srodek {
  max-width: 1360px;
  margin: 0px auto 0px auto;
  padding: 0px 4% 0px 4%;
  position: relative;
  display: block;
  position: relative;
}
.layout-page main {
  padding-top: 40px;
  padding-bottom:40px;
}
.logo-box {
  display: block;
  position: relative;
  padding: 10px 0px;
  z-index: 1000;
  max-width: 320px;
}
.logo-box img{
	transition:height 0.5s ease;
	height:70px;
}
header .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
header .left-box,
header .right-box {
  display: flex;
  flex-direction: column;
}

.telico,
.emailico,
.addressico{
  display: inline-block;
}
.telico:before,
.emailico:before,
.addressico:before{
  font-family: "Icofont";
  display: block;
  font-size: 20px;
}
.telico:before {
  color: #ce2124;
  content: "\efbb";
  font-size: 30px;
  margin-right: 5px;
}
.emailico:before {
  color: #929292;
  content: "\ef12";
}
.addressico:before {
  color: #929292;
  content: "\ed42";
}
.telico:hover {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}



#header {
  left: 0px;
  right: 0px;
  background-color: #fafafa;
  clear: both;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
}
.top-nav-box {
  padding-top: 4px;
  padding-bottom: 4px;
  background-color:var(--niebieski_logotyp);
}
.top-nav-box .srodek {
  display: flex;
  justify-content: flex-end;
}
.short-contact-box {
  display: flex;
  align-items: center;
}

.phone-box {
  position: relative;
  padding-left: 26px;
  margin-left: 10px;
}
.phone-box a {
  color: #fff;
  font-weight: 300;
  font-size: 17px;
}
.phone-box:before {
  font-size: 23px;
  color: #f27f23;
  font-family: "FontAwesomeSolid";
  content: "\f879";
  display: block;
  position: absolute;
  left: 0px;
  top: -2px;
}

.mail-box {
  position: relative;
  padding-left: 26px;
  margin-left: 15px;
}
.mail-box a {
  color: #fff;
  font-weight: 300;
  font-size: 17px;
}
.mail-box:before {
  font-size: 23px;
  color: #f27f23;
  font-family: "FontAwesomeSolid";
  content: "\f0e0";
  display: block;
  position: absolute;
  left: 0px;
  top: -2px;
}

/*   center */

.sciezka-box {
  padding-top: 20px;
}
.sciezka-box .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.sciezka-box .content .sciezka {
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 0px;
}
.sciezka-box .content .sciezka .symbol {
  padding-left: 6px;
  padding-right: 6px;
}

main {
  position: relative;
  margin: 0px auto 0px auto;
  min-height: 400px;
  background-color: #fff;
}
.subpage-banner-box {
  width: 100%;
  height: 374px;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.aside-box {
  width: 300px;
}


/*  footer  */

footer {
  padding: 30px 0px;
  background-color: var(--ciemny_niebieski);
}
footer .content {
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 50px;
}
footer .content a{
  cursor:pointer;
}
footer .content h5{
    color:#ec7a32;
}
footer .content a:hover {
  color: #000;
}
footer .content > div {
  flex: 1;
  margin-bottom: 15px;
}

.copyright-box .content {
  color: #ec7a32;
}
.copyright-box {
  text-align: center;
  background-color: #15486a;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
  z-index: 100;
  font-size: 14px;
}
.copyright-box .logo {
  padding-top: 15px;
  display: block;
}
.copyright-box a {
  color: #fff;
}

#scroll-to-top {
  position: fixed;
  display: block;
  left: 5px;
  bottom: 5px;
  z-index: 100;
  opacity: 0.8;

}
#scroll-to-top img:hover {
  opacity: 1;
}

/*  media queries */

@media screen and (max-width: 1024px) {
  header nav .hover:after,
  header nav > a:hover:after {
    bottom: 0px;
  }
}
@media screen and (max-width: 960px) {

  .top-nav-box .srodek{
    flex-direction:column;
    align-items:end;
  }
  header .content {
    display: block;
  }
  header .mail-box {
    display: none;
  }
  header .menu-gora-box {
    flex-direction: column;
    margin-left: unset;
    margin-top: -50px;
	width: 100%;
  }
  header .mini-contact-box {
    flex-direction: column;
  }

  .aside-box {
    display: none;
  }

  footer .mini-o-nas-box,
  footer .mini-contact-box,
  footer .mini-map-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;
  }
  footer > .srodek > .content {
    display: block;
  }
  footer .mini-contact-box,
  footer .mini-map-box {
    padding: 0px;
  }
  .home-page .intro h2:before,
  footer .intro h2:before {
    display: none;
  }
  .mini-menu-list-box ul {
    flex-direction: column;
  }
}
@media screen and (max-width: 520px) {
	h1 {
	  font-size: 2.8rem;
	}
	h2 {
	  font-size: 2.2rem;
	}
	h3 {
	  font-size: 1.8rem;
	}	

  footer .content .localizations, footer .content .contacts{
    padding:0px;
  }
  footer .content .localizations:before,
  footer .content .contacts:before,
  footer .content .contacts:after{
    display:none;
  }
  .button-promo{
	  padding: 0.5rem 1rem 1rem 1rem;
	  font-size:1em;
  }
  .button-promo:before{
	 position:relative;
	 top:0.15em;
  }
}
@media screen and (max-width: 480px) {
  .top-nav-box .mail-box {
    display: none;
  }
  .sciezka {
    display: block;
    float: none;
  }
  #scroll-to-top {
    display: block;
  }
  footer > .srodek {
    display: block;
  }

}