body{
        font-family: 'Lato', sans-serif;
        background-color: #eee;
        color:#3C3C3C;
        padding: 0;
        margin: 0;
}

a {
    color: rgb(0, 10, 64);
}

.top{
        display:block;
        width: 100%;
        height: 36.4vw;        
        background-position:top center;
        background-repeat:no-repeat;
        background: url('/images/main1.jpg');
        background-size: cover;
}

.top-bar{
        display:block;
        width:100%;
        height:100px;
        background-color: rgba(0, 10, 64, 0.7);
        position:fixed;
        top:0;
        z-index:100;
}
.fixed {
        background-color: rgba(255, 255, 255, 0.9) !important;
}
.logo{
        float: left;
        margin-left: 20px;
}

.logo img{
        max-width:100%;
        height:auto;
        margin:auto;
          margin-bottom:25px;
}

.logo_mobile {
    display: block;
    float: right;
    width: 150px;
    height: 71px;
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
}
#menu{
        padding:0;
        margin:0 20px 0 0;
        float: right;
        list-style: none;
        max-width:100%;
        z-index: 120;
}

#menu li{
        display: inline-block;
        list-style-type: none; 
} 

#menu li a{
        display: block;
} 

#menu a{
       font-size:16px;
       color:white;
       text-decoration:none;
       padding:40px 16px 40px 16px;
       margin:0px;
       display: inline-block;
}

#menu a::after {
  content: '';
  width: 0px;
  height: 1px;
  display: block;
  margin-top: 10px;
  background: #fff;
  transition: 300ms;
}

#menu a:hover::after {
  width: 100%;
}

#menu li ul.dropdown{
        min-width: 203px; /* Set width of the dropdown */
        display: none;
        position: absolute;
        z-index: 999;
        margin:0px;
        padding:0px;
    }
    #menu .dropdown li{
        background-color: rgba(0, 10, 64, 0.7);
        
     }
    #menu li:hover ul.dropdown{
        display: block;       /* Display the dropdown */
    }
    #menu li ul.dropdown li{
        display: block;
        }
    #menu li ul.dropdown li a{
        padding:15px 20px 15px 20px;
        text-align: left;
        }
.clear{
        clear:both;
        height:0px;
        width:0px;
        margin:0px;
        padding:0px;
}
.napis{
       position:relative;
       top:220px;
}
.napis img{
       max-width:90%;
}
.slicknav_menu{
       display:none;
       float:left;
       width:100%;
       background-color: rgba(0, 10, 64, 0.7) !important;
}
.slicknav_menu .slicknav_btn{
        float:left;
        }
.miniatury{
        width:950px;
        max-width:100%;
        margin:auto;
}
.min{
        height:390px;
        background-color: rgba(193, 193, 193, 0.5);
        float:left;
        width:32%;
}
.min img{
        max-width:100%;
}
.miniatury a{
        font-size:18px;
        text-decoration:none;
        color:#006285;
}
.content{
         width:1000px;
         max-width:100%;
         margin:auto;
              min-height:400px;
         padding-top:65px;
}
.content img{
       max-width:100%;
       height:inherit !important;
}
.content-text{
  padding:50px;
}

.block{
  width:100%;
  background-color:white;
  margin:20px 0px;
}
.block_wrap{
  position: relative;
  width:95%;
  margin: auto;
}
.block_image{
  position:relative;
  float:left;
  width:533px;
  height:300px;
  max-width: 100%;
  background-size: cover;  
  background-position: top center;
}
.block_content{
  padding:20px 20px 0px 20px;
  float: right;
  width:calc(100% - 600px);
}
.block_content h1{
  margin:0px;
  padding:0px;
}

.galeria{
width:1000px;
max-width:100%;
margin:auto;
padding:20px;
text-align:center;
}

.galeria_large{
margin:5px;
float:left;
display:inline-block;
}

.galeria_large img{
height:370px;
width:568px;
}

.galeria_min{
float:left;
text-align:left;
width:370px;
display:inline-block
}

.galeria h4{
margin:0px;
padding:0px;
}

.opis{
width:938px;
max-width:100%;
background-color:#dcdcdc;
}

.opis p{
margin:0px;
padding:10px;
}

.cennik{
       border-collapse: collapse;
}

.cennik tr:nth-child(even) {
  background-color: #eee;
}
.cennik tr:nth-child(odd) {
  background-color: #dfdfdf;
}

#scroll_to {
  max-width: 1200px;
  min-height: 300px;
  margin: auto;
  padding: 20px;
}

.szkolenie {
    width: 370px;
    max-width: calc(100% - 40px);
    height: 500px;
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid #ccc;
    margin: 10px;
    text-align: left;
    color:#3C3C3C;
    text-decoration: none;
}

.szkolenie:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: 300ms;
}

.szkolenie img {
    width: 100%;
}

.tytul {
    padding: 20px;
    font-size: 1.5em;
}

.tresc {
    padding: 0 20px 20px 20px;
}

.wiecej {
    font-weight: bold;
    color: rgb(0, 10, 64);
    text-decoration: none;
    padding-left: 20px;
}

.footer{
    padding: 20px;
    background-color: rgb(0, 10, 64);
    max-width:100%;
    overflow: hidden;
    color: #fff;
}

.f-info{
    width:800px;
    max-width:100%;
    margin:auto;
}

form {
  font-size: 18px;
}

input {
    font-family: 'Lato', sans-serif;
    width:360px;
    max-width: 80vw;
    height:30px;
    border:1px solid #4B2B0F;
    padding:5px;
    font-size:16px;
    margin: 5px 0 15px 0;
}

input[type=submit], input[type=button] {
    font-family: 'Lato', sans-serif;
    height: 40px;
    background-color: #E40F40;
    color: #fff;
    cursor: pointer;
    margin: 5px 0 10px 0;
    transition: 300ms;
}

input[type=submit]:hover, input[type=button]:hover {
    background-color: #fff;
    color: rgb(0, 10, 64);
    transition: 300ms;
}

select {
    font-family: 'Lato', sans-serif;
    width:372px;
    max-width: 84vw;
    height:42px;
    border:1px solid #4B2B0F;
    font-size:16px;
    margin: 5px 0 15px 0;
}

option {
    padding-left: 5px;
}

textarea {
    font-family: 'Lato', sans-serif;
    width:100%;
    max-width: 80vw;
    height:120px;
    padding:5px;
    border:1px solid #3F3A37;
    resize: none;
    font-size:16px;
    margin: 5px 0 15px 0;
}

#scroll_to img {
  max-width: calc(100vw - 50px);
}

.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.block_image{
  position:relative;
  margin:auto;
  float:none !important;
  clear:both;
    
  max-width: 100%;
  
  background-size: cover;  
  background-position: top center;
}
.block_content{
  padding:20px 0px 0px 0px;
  float: none;
  clear:both;
  width:960px;
  max-width:100%;
}
.block_content h1{
  text-align:center !important;
  margin:0px;
  padding:0px;
}

.galeria{
width:960px;
max-width:100%;
margin:auto;
padding:20px 0px;
text-align:center;
}

.galeria_large{
margin:5px;
float: none;
clear:both;
display:block;
overflow:hidden;
max-width:100%;

}

.galeria_large img{

}

.galeria_min{
text-align:center;
float: none;
clear:both;
width:960px;
max-width:100%;
display:block;
}  

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
}

.logos:after {
  right: 0;
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 120s slide infinite linear;
}

.logos-slide img {
  width: 180px;
  height: 180px;
  margin: 0 10px;
}

#result {
  display: none;
  position: fixed;
  width: 360px;
  height: 260px;
  z-index: 15;
  top: 50%;
  left: 50%;
  margin: -152px 0 0 -202px;
  background-color: #fff;
  border: 2px solid #E40F40;
  padding: 20px;
}

.ok_button {
    display: block;
    background-color: #f85b56;
    width: 150px;
    text-align: center;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

@media screen and (max-width: 860px)
{
  .js #menu{
              display:none;
       }
       
       .js .slicknav_menu {
            position:fixed;
            top:0;
              display:block;
              z-index:200;
       }
       .top
       {
           margin-top: 54px;
       }

        .top-bar{
            display:none;
        }

        .napis{
           top:-40px;
        }
       body{
                background-position:-600px -50px;
       }
}
