* {
    outline: none;
}

html {
    color: #000;
    font-family: 'Open Sans', sans-serif;
}

body {
    font-family: 'Open Sans', sans-serif;
}

p {
    font-size: 16px;
    line-height: 26px;
    font-family: 'Open Sans', sans-serif;
    text-align: justify;
}


input, textarea {
    border-radius: 4px !important;
}
.uk-light .uk-dotnav>.uk-active>* {
    background-color: rgba(7, 71, 148, .9);
    border-color: transparent;
}

.uk-light .uk-dotnav>*>* {
    background-color: rgba(7, 71, 148, .4);
    border-color: transparent;
}


#top {
    background-color:  #074794;
    height: 28px;
}

header {
    background-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.menu {
    margin-left: 6rem;
}


#send {
    text-transform: uppercase;
    color: #000000;
    background-color: transparent;
    padding: 14px 34px;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.5s linear;
    border: 2px solid #FFFFFF;

}
#send:hover {
    color: #1f386e;
    background: #fff;
}

.uk-container {
    max-width: 1400px;
}

h1 {
    font-size: 2rem;
    line-height: 1.3;
}

h1, h2 {
    /*font-family: 'Fira Sans Condensed', sans-serif;*/
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    margin-left: 0;
    position: relative;
    width: max-content;
    font-size: 34px !important;
    margin-bottom: 20px;
    color: #074794;
}

h1:after, h2:after {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -4px !important;
    width: 100% !important;
    height: 2px !important;
    background: rgb(0,0,0);
    /*background: rgb(221,91,31);*/

    /*background: linear-gradient(90deg, rgba(221,91,31,1) 0%, rgba(230,107,31,1) 15%, rgba(255,255,255,1) 81%);*/
    background: linear-gradient(90deg, rgba(7,71,148,1) 0%, rgba(7,71,148,0.1) 62%, rgba(255,255,255,1) 81%);
    content: "" !important;
    transition: width 0.2s !important;
}


#logo {
    width: 100%;
    margin: 0.3rem 0;

}

#logo img{
    height: 4.2rem;

}

nav ul li a {
    position: relative;
    margin: 0 20px;
    color: #074794 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

nav ul li.uk-active {
}

nav ul li.uk-active > a:hover,
nav ul li.uk-active > a:focus {
    color: #333;
    background-color: transparent;
}

nav ul > li > a:hover:after {
    width: 100%;
}

nav ul > li > a:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 0;
    height: 2px;
    background: rgb(7,71,148);
    background: linear-gradient(90deg, rgba(7,71,148,1) 0%, rgba(7,71,148,0.1) 62%, rgba(255,255,255,1) 81%);
    content: "";
    transition: width 0.2s;
}

nav ul li.uk-active > a:after {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 23px !important;
    width: 100% !important;
    height: 2px !important;
    background: rgb(7,71,148);
    background: linear-gradient(90deg, rgba(7,71,148,1) 0%, rgba(7,71,148,0.1) 62%, rgba(255,255,255,1) 81%);
    content: "" !important;
    transition: width 0.2s !important;
}

.label-wrapper {
    display: flex;
}


.text-container {
    /*margin: 0 4.5rem 0 4.5rem !important;*/
}

.image-wrapper img {
    width: 95%;
}


#slider .uk-slideshow-nav {
    position: absolute;
    width: 100%;
    bottom: 0;
    top: auto;
}
.uk-dotnav>*>* {
    width: 15px;
    height: 15px;
}


#ofirmie {
    padding-bottom: 1rem;
    padding-top: 6rem;
}


/*certyfikaty*/
#certyfikaty {
    padding-bottom: 0rem;
    padding-top: 6rem;
}

#certyfikaty .image-wrapper {
    margin-top: -4rem;
    margin-bottom: -10rem;
}


/*oferta*/

#oferta {
    padding-bottom: 0rem;
    padding-top: 6rem;
}


#oferta .label-wrapper {
    padding-bottom: 1rem;
}


#oferta .item .wrapper {
    width: 100%;
    background-size: cover;
    cursor: pointer;
    position: relative;
    height: 33.8rem;
}



#oferta .item .wrapper .content {

    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    height: 100%;
    display: flex;
    align-items: start;

    background: rgba(0, 0, 0, 0);
    color: #FFFFFF;
}

#oferta .item .wrapper .content .text {
    margin: 4.0rem 1.5rem 0 1.5rem;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    opacity: 0;
    color: #6d6e71;
    font-size: 0.9rem;
    letter-spacing: -1px;
}

#oferta .item .wrapper .content .text p

{
    font-size: 0.9rem;
    letter-spacing: -1px;
    line-height: 1.2rem;
    margin-bottom: 4px;
    margin-top: 4px;
}

#oferta .item .wrapper .content ul {
    margin: 0;
}


#oferta .item .wrapper .label {
    font-family: 'Roboto', sans-serif;
    color: #000;
    position: absolute;
    bottom: 3rem;
    width: 100%;
    background: rgb(255,255,255,0.9);
    /*background: linear-gradient(90deg, rgba(221,91,31,1) 0%, rgba(221,91,31,0.7) 10%, rgba(255,255,255,0) 81%);*/
    text-align: center;
    line-height: 1.8rem;
    font-size: 1.4rem;
    letter-spacing: 2px;
    padding: 0.3rem 0;
    font-weight: 300;
    text-transform: uppercase;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#oferta .item .wrapper:hover .content {
    background: rgba(255, 255, 255, 0.85);

}

#oferta .item .wrapper:hover .content .text {
    opacity: 1;
}


#oferta .item .wrapper:hover .label {
    bottom: 90%;
    color: #39b54a;

}

/*end oferta*/




#galeria {
    padding-bottom: 3rem;
    padding-top: 6rem;
}

#galeria .label-wrapper {
    padding-bottom: 2rem;
}

.gallery-item-wrapper {

    position: relative;
    width: 100%;
    background: red;
}

.gallery-item-wrapper:before {
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1*/
}

.gallery-item-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #333;
    color: #fff;
    line-height:100%;
    height:100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}


/*kontakt*/

#kontakt-container {
    background-color: #074794;
    color: #FFFFFF;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

#kontakt-container ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    li {
        margin-bottom:1.2rem;
    }
}



#kontakt-container p.first {
    font-size: 1.1rem;

}

#kontakt-container .form-container {
    margin-top: 1rem;

}


#kontakt-container p {
    margin-bottom: 0.7rem;
    margin-top: 0;
}

#kontakt-container .image-container img {
    height: 15rem;
}

#kontakt-container .kontakt-last-column {
    p {
        margin: 0;
    }
}

#kontakt-container .kontakt-last-column {
    align-items: flex-end;

}

#kontakt-container .kontakt-last-column-text {
   margin-top: 1rem;
   margin-left: 2rem;
}

#kontakt-container .uk-alert p {
   margin-bottom: 0;
}




#kontakt-container li {
    margin-bottom: 0.2rem;
}

#kontakt-container li a {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
}



/*end kontakt*/

.uk-offcanvas-bar ul{
    text-align: center;
    padding-top: 2rem;
}

.uk-offcanvas-bar .uk-nav>li>a {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.25rem 0;
    /*font-family: 'Roboto', sans-serif;*/
}

.uk-navbar-toggle {
    color: #000;
}


.uk-offcanvas-bar {
    background-color:rgba(7, 71, 148, 0.95);
    /*background-color:rgba(57, 181, 74, 0.95);*/
}

@media (max-width: 1920px) {
    .slider-container, .featured-container {
        /*width: 100% !important;*/
        max-width: none !important;
        padding: 0 !important;
    }
}

@media (min-width: 1921px) {
    .slider-container, .featured-container {
        /*width: 100% !important;*/
        max-width: 100% !important;
        width: 100%;
        padding: 0 !important;
    }

    .slider-container img {
        width: 100%;
    }

    #featured .uk-grid-collapse {
        width: 100%;
    }

    #featured img {
        width: 100%;
    }

}


@media (max-width: 1600px) {

    #oferta .item {
        margin-top: 2rem;
        padding-left: 3rem;
    }

}

@media (max-width: 1465px) {

    #uslugi .first-line {
        margin-top: 2rem;
    }

    #uslugi .third-line .items-wrapper .item-wrapper {
        margin-bottom: 2rem;
    }



}




@media (max-width: 1026px) {
    nav a svg {
        width:25px !important;
        height: 25px !important;
    }

    #uslugi .second-line .item-wrapper {
        width: 20%;
    }

    .text-container {
        margin: 0 0 0 0 !important;
    }


    #oferta .item .wrapper {
        height: 34rem;
    }

    #oferta .item .wrapper .content {
        padding-top: 4.8rem;
    }

    #oferta {
        padding-bottom: 5rem;
    }

    #oferta .item {
       padding-left: 2rem;
    }

    #galeria {
        padding-bottom: 3rem;
        padding-top: 0rem;
    }
}

@media (max-width: 960px) {

    .image-wrapper img {
        width: 100%;
    }

    #oferta .item .wrapper {
        height: 45rem;
    }

    #oferta .item .wrapper .content .text {
        margin: 0rem 1.5rem 0 1.5rem;

    }

    #certyfikaty .image-wrapper {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 820px) {

    .uk-slideshow-items {
        height: 21rem;
    }
}


@media (max-width: 800px) {

    /*.uk-slideshow-items {*/
    /*    min-height: 370px !important;*/
    /*}*/
    #uslugi .first-line img {
        max-width: 76%;
    }


    #uslugi .second-line .item-wrapper {
        width: 19%;
    }

    #uslugi .third-line .items-wrapper .item-wrapper {
        width: 15%;
    }

    #uslugi .third-line {
        margin-top: 2.5rem;
    }

    #oferta .item .wrapper {

        height: 34rem;
    }

    #kontakt-container .first-line {
        margin-top: 3rem;
    }

}

@media (max-width: 760px) {
    #uslugi .second-line .items-wrapper .item-wrapper {
        margin: 0 0.7rem;
    }

    #kontakt-container .kontakt-last-column {
       align-items: flex-start;
    }


}

@media (max-width: 500px) {
    #logo img {
        height: 2rem;
    }
    #kontakt-container img {
        height: 3rem;
    }

    #kontakt-container .image-container {
        text-align: center;
    }



    #oferta .item .wrapper:hover .label {
        bottom: 90%;
    }

    #oferta .item .wrapper .content {
        padding-top: 1.2rem;
    }



    nav a svg {
        width: 25px !important;
        height: 25px !important;
    }

}


@media (max-width: 420px) {

    h1, h2 {
        font-size: 28px !important;
    }

 #top {
     height: 10px;
 }

 #kontakt-container {
   margin-top: 0;
 }

 .uk-offcanvas-bar a {
   font-size: 1.4rem;
   line-height: 2.4rem;
 }

 #galeria .uk-margin-remove {
    margin-bottom: 10px !important;
 }

 #uslugi .third-line .items-wrapper .item-wrapper {
        width: 25%;
 }

 #uslugi .third-line .items-wrapper .item-wrapper .text {
     padding: 0;
     font-size: 0.8rem;
 }

 .uk-slideshow-items img {
     width: 100%;
 }

 .button-container {
     width: 100%;
 }

 .button-container #send {
     margin-left: 0;
     margin-bottom: 10px;
     margin-top: 0;
 }

 #kontakt-container .social:before {
     display: none !important;
 }

    #oferta .item .wrapper {
        height: 40.2rem;
    }


    .uk-slideshow-items {
        height: 28rem;
    }

    #onas {
        padding-top: 1.6rem;
    }

    #slider .uk-slideshow-nav {
        bottom: 5%;
    }

    p {
        font-size: 17px;
        line-height: 30px;
        text-align: left;
    }

    #oferta .item .wrapper .content {
        padding-top: 4rem;
    }

    #oferta .item .wrapper:hover .label {
        bottom: 92%;
    }

    #galeria {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    #galeria .label-wrapper {
        padding-bottom: 2rem;
    }
    #oferta {
        padding-bottom: 1rem;
        padding-top: 2rem;
    }
}



