@import url(https://fonts.googleapis.com/css?family=Lato);
@import url("ionicons.css");
/* =============================================================================
HTML, BODY
============================================================================= */

html,body {
    height: 100%;
    background: #111;
    color: #eee;
}
body {
    font-family: "Lato", sans-serif;
    margin-top: 90px
}
h1, h2 {
  color: #d3b06e;
}
h1,h2,h3,h4,h5{
  padding: 40px 0;
}
p{
  padding: 15px 0;
}
.wp-block-quote {
 text-align: center;
 font-size: 1.5rem;
 padding: 40px;
 background: #222;
 border-radius: 20px;
}
.wp-block-cover {
  margin: 60px 0;
}
.layoutArea ul {
  list-style:disc;
  margin-left: 20px;
}
.layoutArea ul li{
  line-height: 1.8rem;
}
figure {
  box-shadow: 0 0 0.3em #eee;
}
.wp-block-media-text__media img, .wp-block-media-text__media video {
    max-width: unset;
    width: 100%;
    height: auto;
    vertical-align: middle;
  }
/* =============================================================================
TOP
============================================================================= */

.top {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    background: #111;
    padding: 10px 0;
}
.top .logo {
    width: 200px;
    text-align:center;
    color: #d3b06e;
    display: inline-block;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.top .logo a {
    background: #d3b06e;
    -webkit-mask: url(../media/logo.svg) left / contain no-repeat;
    width:100%;
    height: 70px;
    display: inline-block;
    text-indent: -9999px;
}
.top .logo a:hover {
    background: #fff;
}
.top .top_nav {
    float: right;
    width: auto;
    padding: 25px 0 0;
}
.top .top_nav .main_menu,
.top .top_nav .basket {
    display: inline-block;
}
/* =============================================================================
MENU
============================================================================= */

.top .top_nav .main_menu ul {
    margin-right: 15px;
    display: block;
}
.top .top_nav .main_menu ul,
.top .top_nav .main_menu ul li {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
}
.top .top_nav .main_menu ul li {
    display: inline-block;
    margin-right: 15px;
}
.top .top_nav .main_menu a {
    color: #d3b06e;
}

.navbar {
  display: flex;
  align-items: left center;
  font-size: 16px;
  color: #d3b06e;
}
.navbar_items,
.navbar_items ul,
.navbar_menus,
.navbar {
  flex-direction: column;
}
.navbar_brand {
  width: 200px;
  text-align:center;
  color: #d3b06e;
  display: inline-block;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.navbar_brand a {
  background: #d3b06e;
  -webkit-mask: url(../media/logo.svg) left / contain no-repeat;
  width:100%;
  height: 70px;
  display: inline-block;
  text-indent: -9999px;
}
.navbar_brand a:hover {
    background: #fff;
}

.navbar_toggle {
  padding:5px 10px;
  margin: 0;
}
.navbar_toggle .icon {
  display: block;
  font-family: Verdana;
  font-size: 30px;
  padding:0 10px;
}
.navbar_menus{
  z-index: 999;
}
.navbar_mobile {
  max-height:0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.navbar_mobile.open {
  max-height: 85vh;
  overflow: auto;
  transition: max-height 0.4s ease-in;
}
.navbar_mobile .sub-menu {
  max-height:0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.navbar_mobile li.open > .sub-menu {
  max-height: 85vh;
  overflow: auto;
  transition: max-height 0.4s ease-in;
}
.navbar_items {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.navbar_items ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.navbar_items li {
  margin:0 1px;
  position: relative;
}
.navbar_items li.has_parent .openbut {
  position: absolute;
  top:0;
  right: 0;
  padding: 9px;
  border-left: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  font-family: Verdana;
  font-weight: normal;
  font-size: 25px;
  width: 38px;
  height: 38px;
}
.navbar_items li > ul {
  background: #222;
}
.navbar_items li > ul li a{
  padding-left: 15px;
}
.navbar_items li li > ul {
  background: #eee;
}
.navbar_items li li > ul li a{
  padding-left: 20px;
}
.navbar_items li li li > ul {
  background: #fff;
}
.navbar_items li li li > ul li a{
  padding-left: 25px;
}
.navbar_items a {
  color: #d3b06e;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 10px;
}
.navbar_items a:hover {
  color: #eee;
}
.navbar_items a.active {
  color: #eee;
}
.navbar_items_center {
  margin:0;
}
.navbar_items_right {
  margin-left:0;
}
.navbar_toggle {
  align-self: flex-end;
  display: initial;
  position: absolute;
  cursor: pointer;
}
@media(max-width: 599px) {

}
@media(min-width: 600px) {

}
@media(min-width: 900px) {
  .navbar {
    display: flex;
    align-items: left center;
    font-size: 14px;
    color: #000;
  }
  .navbar_items,
  .navbar_items ul,
  .navbar_menus,
  .navbar {
    flex-direction: row;
    border-bottom: 0;
  }
  .navbar_brand {
    display: inline-block;
    padding: 0px;
  }
  .navbar_brand .logo img {
    width:160px;
  }
  .navbar_toggle {
    padding:5px 10px;
    margin: 0;
  }
  .navbar_toggle .icon {
    display: block;
    font-family: Verdana;
    font-size: 30px;
    padding:0 10px;
  }
  .navbar_menus {
    display: flex;
    width: 100%;
  }
  .navbar_items {
    display: flex;
    border-top: none;
    width: auto;
  }
  .navbar_items_center {
    margin:0 auto;
  }
  .navbar_items_right {
    margin-left: auto;
    float: right;
  }
  .navbar_items > ul {
    display: flex;
    /* justify-content: flex-end; */
    list-style-type: none;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  .navbar_items li {
    display: block;
    position:relative;
    margin:0;
    height: 100%;
  }
  .navbar_items li:hover > a {
    color: #eee;
  }
  .navbar_items li.current-menu-item > a{
    color: #eee;
  }
  .navbar_items a {
    height: 100%;
    display: flex;
    display: -webkit-flex; /* Safari */
    align-items: center;
    -webkit-align-items: center; /* Safari 7.0+ */

    text-decoration: none;
    text-transform: uppercase;
    padding: 10px;
  }
  .navbar_items li ul {
    display: none;
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 100;
    min-width: 120px;
    transition: all 0.3s;
  }
  .navbar_items li:hover > ul,
  .navbar_items li:hover > ul:hover  {
    display: block;
    position:absolute;
    left:0;
    top:100%;
    transition: all 0.3s;
  }
  .navbar_items li li a {
    background: #111;
    position: relative;
    z-index:100;
    border-top: 1px solid #000;
    border-radius: 0px;
  }
  .navbar_items li li ul {
    display: none;
  }
  .navbar_items li li:hover > ul,
  .navbar_items li li:hover > ul:hover {
    left:100%;
    top:0;
  }
  .navbar_items li li li a {
    background:#222;
    z-index:200;
    /* border-top: 1px solid #111; */
  }

  .navbar_items a:hover {
    color: #eee;
  }
  .navbar_items a.active {
    color: #eee;
  }
  .navbar_items li.current-menu-parent > a,
  .navbar_items li.current-page-parent > a{
    color: #fff;
  }
  .navbar_items li.current-menu-parent > a:after,
  .navbar_items li.current-page-parent > a:after {
    color: #fff;
  }
  .navbar_items li.menu-item-has-children .openbut {
    display: none;
  }
  .navbar_items li.menu-item-has-children > a:after {
    color: #999;
    content: "\25BE";
    padding-left: 5px;
  }
  .navbar_socials {
    position: absolute;
    top: 0;
    left: 0;
    border-top: none;
    padding: 10px 10px 8px;
    width: 100vw;
    text-align: right;
    /* border-bottom: 3px solid #111; */
  }
  .navbar_socials a{
    font-size: 1.3rem;
    padding: 0 10px;
  }
  .navbar_socials a:hover{
    color: #fff;
  }
  .navbar_socials .mail{
    font-size: 1rem;
    padding: 0 10px;
    color: #fff;
  }
  .header.scrollUp {
    transform: translateY(-140px);
  }
  .navbar_toggle {
    display: none;
  }
}
@media(min-width: 1200px) {
}
/* =============================================================================
FRONT
============================================================================= */

.header {
    max-width: 2000px;
    background: #d3b06e;
    display:block;
    position: relative;
    background-image: url('http://www.ebfsystem.pl/wp-content/uploads/2025/09/img1.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.header .text{
  padding: 2rem 0;
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index:5;
    position: relative;
    text-align: center;
}
.header .title h1{
    color: #fff;
    text-transform: uppercase;
    padding: 0px 0 20px;
    margin: 0;
    font-size: 2em;
    display: block;
    text-align: center;
}
.header .desc{
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 20px 0;
    text-align: center;
}
@media(max-width: 599px) {
  .header .text{
    padding: 5rem 0;
  }
  .header .title h1{
      font-size: 2.5em;
  }
  .header .desc{
      font-size: 1.5em;
  }
}
@media(min-width: 600px) {
  .header .text{
    padding: 5rem 0;
  }
  .header .title h1{
      font-size: 3em;
  }
  .header .desc{
      font-size: 1.5em;
  }
}
@media(min-width: 900px) {
  .header .text{
    padding: 10em 0;
  }
  .header .title h1{
      font-size: 4em;
  }
  .header .desc{
      font-size: 1.5em;
  }
}
@media(min-width: 1200px) {
}
.header #video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height:100%;
    width:100%;
    overflow: hidden;
    z-index:0;
}
.header video {
    position:absolute;

}
.header video.bgvideo {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-image: url('http://www.ebfsystem.pl/wp-content/uploads/2025/09/img1.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero_header {
  text-align: center;
  padding: 70px 0;
  background-image: url('http://www.ebfsystem.pl/wp-content/uploads/2025/09/ebf1.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero_header h1{
    font-size: 1.7em;
}
.hero_header h3{
    font-size: 1.3em;
    line-height: 2rem;
}
@media(max-width: 599px) {

}
@media(min-width: 600px) {

}
@media(min-width: 900px) {
  .hero_header h1{
      font-size: 3em;
  }
  .hero_header h3{
      font-size: 1.8em;
      line-height: 2.2rem;
  }
}
@media(min-width: 1200px) {
}
/* CALL TO ACTION */

.cta_home {
    background: #f7f7f7;
    display: block;
    padding: 40px 0;
}
.cta_home h2{
  padding: 10px;
  font-size: 2rem;
}
.cta_home a.button {
  margin-top: 10px;
  background: #d3b06e;
  color: #555;
  font-size: 1.5rem;
  font-weight: bold;
}
@media(max-width: 599px) {

}
@media(min-width: 600px) {

}
@media(min-width: 900px) {
  .cta_home h2{
    padding: 10px;
    font-size: 3rem;
  }
}
@media(min-width: 1200px) {
}

/* OFERTA */

.oferta_boxes {
    display: block;
}
.oferta_box {
    position: relative;
    height: 300px; /* adjust or use vh units for responsiveness */
    text-align: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    /* Flexbox centering */
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    color: white; /* text color */
}
.oferta_box:hover{
    borderd: #d3b06e;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.oferta_box h1 {
    margin: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-size: 1.8em;
    line-height: 2.2rem;
}
.oferta_box:hover h1{
    color: white; /* text color */
}
@media(min-width: 900px) {
  .oferta_box h1{
      font-size: 2.5em;
      line-height: 3rem;
  }
}
/* OFERTA */

.flexboxes {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
}
.flexbox {
    flex: 50%;
    width: auto;
    text-align: center;
    padding-bottom: 20px;
    display: block;
}
@media(min-width: 900px) {
  .flexbox {
      flex: 33%;
  }
}
.flexbox ion-icon {
  font-size: 5rem;
  color: #d3b06e;
  font-weight: 300;
}
.flexbox h3 {
  padding: 10px 0;
}
.flexbox span {
 color: #d3b06e;

}

/* =============================================================================
PAGE
============================================================================= */

/* PAGE HEADER */

.header_page {
    width: 100%;
    background: #b1dfd7;
}
.header_page .title h1{
    z-index:3;
    position: relative;
    color: #fff;
    text-transform: uppercase;
    padding: 120px 0 70px;
    margin: 0;
    font-size: 1.4em;
    text-align: center;
}
article h2 {
  padding-bottom: 5px;
}
article h3 {
  padding-top: 5px;
  padding-left: 20px;
  color: #666;
}

@media(max-width: 599px) {

}
@media(min-width: 600px) {

}
@media(min-width: 900px) {
  .header_page .title h1{
      font-size: 1.4em;

  }
}
@media(min-width: 1200px) {
}
/* =============================================================================
FOOTER
============================================================================= */

.footer {
    text-align: center;
    margin-top: 80px;
    display: block;
}
.footer .cta_footer {
  color: #d3b06e;
  background: #222;
  background: url('https://www.ebfsystem.pl/wp-content/uploads/2025/10/bg_cta.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top: SOLID 3px #d3b06e;
  display: block;
}
.footer .cta_footer  a.button {
  margin: 40px;
  background: #d3b06e;
  color: #111;
  font-size: 1.5rem;
  font-weight: bold;
}
.footer .upper_footer {
    padding: 40px 0;
    display: block;
    background: #222;
    color: #d3b06e;
}
/* .footer .upper_footer .footer_menu ul {
    display: block;
}
.footer .upper_footer .footer_menu ul,
.footer .upper_footer .footer_menu ul li {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
}
.footer .upper_footer .footer_menu ul li {
    display: inline-block;
    margin-right: 15px;
    font-size: 0.9em;
} */
.footer .social {
    font-size: 1.8em;
    line-height: 1em;
    margin-top: 20px;
}
.footer .social i {
    margin:0 5px;
    color: #d3b06e;
}
.footer .down_footer  {
    padding: 10px 0;
    display: block;
     color: #d3b06e;
}

/* =============================================================================
FORM
============================================================================= */
.button,button,input[type="submit"],input[type="reset"],input[type="button"]{display:inline-block;padding:6px 15px;margin-bottom:0;font-weight:normal;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;border:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;background:#d3b06e;}
button:focus,.button:focus,button:active:focus,.button:active:focus,button.active:focus,.button.active:focus{outline:none;outline:0px auto -webkit-focus-ring-color;outline-offset:-2px;}
.button:hover,button:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,button:focus,.button:focus{color:transparent;text-decoration:none;}
form{margin-bottom:20px;}
fieldset{margin-bottom:20px;}
input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="tel"],textarea,select{border:1px solid #d3b06e; padding:6px 4px;outline:none;-moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px;color:#d3b06e;margin:0;width:100%;max-width:100%;display:block;margin-bottom:10px;background: transparent;}
input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="tel"]:focus,input[type="url"]:focus,textarea:focus{border:1px solid #eee;color:#d3b06e;}
textarea{min-height:60px;}
label,legend{display:block}
select{min-width:100px;padding:0; margin: 0;display: inline-block;}
input[type="checkbox"]{display:inline;}
label span,legend span{font-weight:normal;}
