@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&subset=latin-ext');
::-moz-selection{
	background:#0e265a;
	color:#FFF;
} 
::selection{
	background:#0e265a;
	color:#FFF;
} 
/*kolory:
granat:#0e265a;
niebieski:#27aeec; 
*/
.granatowy{
   color: #0e265a; 
} 
.niebieski{
   color: #27aeec; 
} 
#admin-menu-wrapper .active-trail{
	margin-top:0.9em !important;  
}
#admin-menu ul{
	text-shadow:none;
	font-size:12px;
}
button, .button {
    padding: 0;
	margin-bottom:0;
}
.full{
	float:left;
	width:100%; 
}
:after,
:before{
    position: absolute;
    content: " ";
}
a,
a:hover,
li,
li:hover,
input,
input:hover,
.views-slideshow-pager-field-item img,
.views-slideshow-pager-field-item img:hover,
img, img:hover,
.views-row, .views-row:hover,
.field-item, .field-item:hover{
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease; 
} 
.title,
.title p,
.block__title,
.node__title{
    position: relative; 
    display: block;
	margin:0 auto;
	margin-bottom:1em;  
	font-size:1.6em;
    font-weight: 400;
	text-align:center;
	color:#0e265a; 
	font-family: 'Poppins', sans-serif;
} 
.not-front .title span{
    position: relative;
    display: inline-block;
    margin: 0 auto; 
    background: #f7fafd; 
    padding: 0 40px; 
    z-index: 2;
}
.not-front .title:before{
    height: 1px;
    width: 100%;
    left: 0;
    top:50%;
    background: #27aeec;
    z-index: 1;
} 
.front #content .title{
    display: none;
}
.front,
.not-front{
	font-family: 'Poppins', sans-serif;
	color:#0e265a;
    background:#f7fafd;
	-webkit-font-smoothing: antialiased;
} 
.fullscreen-bg__video{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 0;
    top:0;
    z-index: 0;  
} 
#header{
	position:relative;
	margin:0;
	padding:0;  
}
#header:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/dot.png);
    z-index: 1;
}
.not-front #header{
    height: 300px;
    background: url(../img/header.jpg) center no-repeat;
    background-size: cover;
}
#header h1{
    position: relative;
    z-index: 2;
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    margin-top: 30px;
    font-weight: 500;
    font-size: 1.5em;
}
#logo_container{
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    height: 73px;
    width: 280px;
    background: url(../img/form_plast.svg) left center no-repeat;
    background-size:auto 100%;
}
#slider{
    position: absolute;
    left: 0;
    top:0;
    height: 100%;
    width: 100%;
    z-index: 1;
}
nav{
    position: absolute;
    z-index: 10;
    top:40px;
	width: 250px;
    padding-top: 2.5em;
    background: url(../img/menu.jpg) center no-repeat;
    background-size: cover;
	text-align:center; 
    left: -250px;
    transition: all .4s ease;
} 
nav.open{
    left: 0;
}
.menu_open_btn{
    position: absolute;
    right: -55px;
    top:0;
    opacity: 1;
    width: 55px;
    height: 55px;
    background: url(../img/menu_btn.svg) center no-repeat;
    background-size: auto 100%;
    cursor: pointer;
    transition: all .4s ease;
}
.menu_close_btn{
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    color: #fff;
    border: 1px solid #27aeec;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s ease;
    font-weight: 600;
}
nav.open .menu_open_btn{
    opacity: 0;
}
nav ul.menu{
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
nav ul.menu li{
    position: relative;
	display:inline-block;
	list-style:none;
    width: 100%;
    border-bottom: solid 1px rgba(0,0,0,0.3);
} 
nav ul.menu li:last-child{
    border-bottom: none; 
}
nav ul.menu li:before{
    left: 0;
    top:0;
    height: 100%;
    width: 0;
    background: rgba(0,0,0,0.5);
    transition: all 300ms ease;
}
nav ul.menu li:hover:before{
    width: 100%; 
    transition: all 300ms ease;
}
nav ul.menu li a,
nav ul.menu li span{
  position: relative;      
  font-size:0.9em;
  font-weight: 300;
  line-height:40px;
  width:100%;
  overflow:hidden;  
  color:#FFF;
  text-align:center;
  text-transform: uppercase;
  display:block;
  cursor: pointer;
}  
nav ul.menu li a:hover,
nav ul.menu li span:hover{
    color:#27aeec !important;  
} 
nav ul.menu li a.active{
    color: #FFF;
} 
nav ul.menu li ul{
    display: flex; 
    flex-direction: column;
    z-index: 6; 
    top: 0 !important; 
    background: #0e265a;
}
nav ul.menu li ul li{
    float: left;
    border-bottom: solid 1px rgba(0,0,0,0.3);
}
nav ul.menu li ul li a{
    line-height: 30px;
    text-align: left;
    margin: 0; 
    padding-left: 20px;
}
nav ul.menu li ul li:before{
    display: none;
} 
nav ul.menu li ul li a:hover{
    color: #FFF !important;
    background:#082252; 
    padding-left: 30px;
} 
.sf-sub-indicator{
    display: none !important; 
}
/*podmenu*/
#block-menu-block-1,
#block-menu-block-2,
#block-menu-block-3,
#block-menu-block-4{
    float: left;
    width: 100%;
    background:#0e265a;
}
#block-menu-block-1 ul.menu,
#block-menu-block-2 ul.menu,
#block-menu-block-3 ul.menu,
#block-menu-block-4 ul.menu{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-left: 0;
}
#block-menu-block-1 ul.menu li,
#block-menu-block-2 ul.menu li,
#block-menu-block-3 ul.menu li,
#block-menu-block-4 ul.menu li{
    list-style: none;
}
#block-menu-block-1 ul.menu li a,
#block-menu-block-2 ul.menu li a,
#block-menu-block-3 ul.menu li a,
#block-menu-block-4 ul.menu li a{
    color: #FFF;
    display: block;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: 400; 
    font-size: 0.85em;
    border-right: solid 1px rgba(39,174,236,0.6);
}
#block-menu-block-1 ul.menu li a.active-trail,
#block-menu-block-2 ul.menu li a.active-trail,
#block-menu-block-3 ul.menu li a.active-trail,
#block-menu-block-4 ul.menu li a.active-trail{
    background:#27aeec;  
}
#block-menu-block-1 ul.menu li:last-child a,
#block-menu-block-2 ul.menu li:last-child a,
#block-menu-block-3 ul.menu li:last-child a,
#block-menu-block-4 ul.menu li:last-child a{
    border-right:none;
}
#block-menu-block-1 ul.menu li a:hover,
#block-menu-block-2 ul.menu li a:hover,
#block-menu-block-3 ul.menu li a:hover,
#block-menu-block-4 ul.menu li a:hover{
    background: #27aeec;  
}
#header-right{ 
    float: right;
    width: 50px; 
    height: 100%;
    position: relative;
    z-index: 100;
}
#languages{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    margin: 0;
    margin-top: 40px;
}
#languages li{
    list-style: none; 
    text-align: center;
}
#languages li a{
    position: relative;
    display: block;
    margin: 0 auto;
    width: 34px;
    height: 34px;
    line-height: 34px;
    background: rgba(14,38,90,0.7);
    border-radius: 50px; 
    color: #FFF;
    text-align: center;
    font-size: 11px;
    margin-bottom: 15px;
} 
#languages li a:after{
    width: 28px;
    height: 28px;
    left: 3px;
    top:3px;
    border-radius: 50%;
    border:solid 1px #27aeec; 
}
#languages li a:hover{
    background: #27aeec; 
}
#scroll{
    position: relative;
    display: none;
    z-index: 10; 
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    height: 260px; 
    display: flex;
    justify-content: center; 
} 
.not-front #scroll{
    height: 160px;
}
#scroll:before{
    top:0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1px;
    height: 190px;
    background: #FFF;
}
.not-front #scroll:before{
    height: 90px; 
}
#scroll a{ 
    position: absolute;
    align-self: center;
    margin: 0 auto;
    display: block;
    z-index: 10; 
    width: 100%;
    height: 55px;
    background:url(../img/scroll.svg) center no-repeat;
    background-size: 15px auto;
    animation: scrol 2s infinite  normal ease-out; 
} 
@keyframes scrol {
    0% {
        bottom:0px;
    }
    50%{
        bottom:10px;
    }
    100% {
        bottom:0px;
    }
} 
a{
	color:inherit; 
}
#content{
    padding: 2em 1em;
}
#content{
    background: url(../img/gears_bg.png) right 340px no-repeat; 
}
.front #content{
    position: relative;
    background: url(../img/gears_bg.png) right 280px no-repeat; 
}
.front #content:after{
    z-index: 5;
    left: 0;
    bottom: -90px;
    width: 360px;
    height: 510px;
    background: url(../img/gears_bg2.png) left bottom no-repeat;
    background-size: 100% auto;
}
#content p{
    font-weight: 300;
    text-align: justify;
}
#content p:before{
    position:relative !important;
}
.front #content p{
    text-align: center;
}
#content .field-name-body ul{
	margin:0;
    margin-bottom: 1em;
}
#content .field-name-body ul li{ 
	text-align:left; 
	list-style:none;
	padding-left:1.3em; 
    font-weight: 300;
    background: url(../img/li_ico.svg) left 5px no-repeat;
    background-size: auto 13px;
}
#content .field-name-body ul li a{
    display: block;
    
}
#content table,
#content table tbody{
    border: none;
}
#content table{
    box-shadow: 0 0 20px rgba(0,0,0,0.06);
    padding: 1em;
}
#content table tr td{
    position: relative;
    padding: 15px 20px;
    color:#0e265a;
    overflow: hidden; 
} 
#content thead tr td{
    background: #0e265a;
    color: #FFF;
}
#counter{
    position: relative;
    min-height: 500px;
    background: url(../img/counter_bg.jpg) center no-repeat fixed;
    background-size: cover;
    overflow: hidden;
}
#counter:before{
    top:0;
    left: -1%;
    width: 102%;
    height: 130px;
    background: url(../img/counter_top.svg) center bottom no-repeat;
    background-size: 100% auto;
}
footer{
    padding: 30px 2%;
    padding-bottom: 0;
    position: relative;
    background: url(../img/footer.jpg) center no-repeat;
    background-size: cover; 
} 
#footer-contact{
    float: left;
    position: relative;
    padding-top: 120px;
    width: 490px;
    height: 440px; 
    background:url(../img/footer-contact.png) center bottom no-repeat;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    justify-content:center;
} 
#footer-contact:before{
    left: 0;
    right: 0;
    margin: auto;
    top:50px;
    background: url(../img/form_plast.svg) center no-repeat;
    background-size: auto 100%;
    width: 160px;
    height: 44px;
}
#footer-contact p,
#footer-contact a{
    display: block; 
    color: #FFF;
    font-weight: 300; 
    font-size: 1em;
    text-align: center;
} 
#phone{
    padding-top:50px;
    margin-bottom: 15px;
    background: url(../img/phone_ico.svg) center top  no-repeat;
    background-size: auto 28px;
    animation-delay: 0.2s;
}
#mail{
    padding-top:50px; 
    margin-bottom: 15px;
    background: url(../img/mail_ico.svg) center top no-repeat;
    background-size: auto 26px;
    animation-delay: 0.4s;
}
footer p:last-child{
    padding-top:50px;
    background: url(../img/location_ico.svg) center top  no-repeat;
    background-size: auto 28px;
    animation-delay: 0.6s;
} 
#footer-map{
    float: right;
    margin-top: 10px;
    width: calc(100% - 550px);
}
#copyright{
    float: left;
    width: 100%;
    padding: 15px 2%;
    display: flex;
    justify-content: space-between;
} 
#copy{ 
	font-size:11px; 
    font-weight: 300;   
} 
#copy a{
	color:inherit;  
}  
#copy strong,
#footer-contact a:hover,
#copy a:hover{ 
	color:#27aeec;
}  
#efabryka{  
    color: #0e265a;
    min-width: 180px;   
	font-size:11px;
    font-weight: 300;
    background: url(../img/efabryka.svg) center right no-repeat;
    background-size: 90px auto ; 
}