@charset "UTF-8";
#top-menu,
#top-menu>a {
    top: 0;
    position: absolute;
}

#top-menu,
#top-menu ul,
#top-menu>a,
#top-menu>a img {
    position: absolute;
}

@font-face {
    font-family: flexslider-icon;
    src: url(../fonts/flexslider-icon.eot);
    src: url(../fonts/flexslider-icon.eot?#iefix) format("embedded-opentype"), url(../fonts/flexslider-icon.woff) format("woff"), url(../fonts/flexslider-icon.ttf) format("truetype"), url(../fonts/flexslider-icon.svg#flexslider-icon) format("svg");
    font-weight: 400;
    font-style: normal;
}

* {
    border: 0;
    padding: 0;
    margin: 0;
    outline: 0;
    -webkit-font-smoothing: antialiased!important;
}

h1,
h2,
h3,
h4,
h5,
h6,
div.h1 {
    font-weight: 300;
}

div.h1 {
    font-size: 1.5em;
    color: #f8f8f8;
}

div.h1 strong {
    font-weight: 400;
}

strong {
    font-weight: 400;
}

.sinceTri {
    color: #60636F;
}

a {
    text-decoration: none;
}

body {
    font-family: Lato, sans-serif;
    color: #60636f;
    background: #fff;
    height: auto!important;
    font-size: 14px;
    overflow-x: hidden;
}

.old_logo {
    display: flex;

}

.desctop-micro {
    width: 20%;
    margin-top: 10px;
    padding-bottom: 10px;
    margin-right: 10px;
}

@media (max-width: 1150px) {
    .desctop-micro {
        width: 15%;
        margin-top: 10px;
        padding-bottom: 10px;
        margin-right: 10px;
    }
}

#home #main .box .icon.icon-1,
#home #main .box .icon.icon-2,
#home #main .box .icon.icon-3,
#home #main .box .icon.icon-4,
#home #main .box .icon.icon-5,
#home #main .box .icon.icon-6,
#page #main h1::before,
#page #main h2::before,
#top-menu ul li::before {
    background-position: center center;
    background-repeat: no-repeat;
}

input,
option,
select,
textarea {
    font-family: Roboto, sans-serif;
    font-weight: 300;
}

#home #header .bottom .copy,
#home #main .box .txt .copy,
#page #main p {
    font-family: Roboto;
}

#container {
    position: relative;
    overflow: hidden;
}

@media (min-width:1380px) {
    #container {
        width: 1360px;
        margin: 0 auto;
    }
}

@media (max-width:1379px) {
    #container {
        width: 100%
    }
}

.green {
    background-color: #54bdbc;
}

#top-menu ul li:nth-child(3),
.error-msg {
    background-color: #e95d5d;
}

.desctop,
.mobile,
.tablet {
    display: none;
}

@media (max-width:767px) {
    .mobile {
        display: initial!important;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    .tablet {
        display: initial!important;
    }
}

@media (min-width:1024px) {
    .desctop {
        display: initial!important;
    }
}

#top-menu {
    z-index: 99;
    right: 0;
}

#top-menu .hide {
    right: -768px;
}

#top-menu>a {
    right: 0;
    display: block;
    width: 80px;
    height: 80px;
    box-sizing: border-box;
}

#top-menu>a img {
    left: 35px;
    top: 50px;
    transform: rotate(-90deg);
    transition: transform .3s ease;
    -webkit-transform: rotate(-90deg);
    -webkit-transition: -webkit-transform .3s ease;
}

#top-menu ul li,
#top-menu ul li a {
    position: relative;
}

#top-menu>a img.rotate {
    transform: rotate(0);
    transition: transform .3s ease;
    -webkit-transform: rotate(0);
    -webkit-transition: -webkit-transform .3s ease;
}

#top-menu ul {
    margin: 0!important;
    right: 0;
    top: 130px;
    z-index: 9;
}

#top-menu ul li a {
    color: #fff;
    padding-left: 120px;
    font-size: 24px;
    font-weight: 300;
    height: 100%;
    display: block;
    z-index: 99;
}

#top-menu ul li a strong {
    font-weight: 400;
}

#top-menu ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 75px;
    height: 100%;
    background-size: contain;
}

#top-menu ul li:first-child {
    background-color: #f3b562;
}

#top-menu ul li:first-child::before {
    background-image: url(../img/opt/icon-1.png);
}

#top-menu ul li:nth-child(2) {
    background-color: #5a494f;
}

#top-menu ul li:nth-child(2)::before {
    background-image: url(../img/opt/icon-2.png);
}

#top-menu ul li:nth-child(3)::before {
    background-image: url(../img/opt/icon-3.png);
}

#top-menu ul li:nth-child(4) {
    background-color: #89baaf;
}

#top-menu ul li:nth-child(4)::before {
    background-image: url(../img/opt/icon-4.png);
}

#top-menu ul li:nth-child(5) {
    background-color: #ece5bb;
}

#top-menu ul li:nth-child(5) a,
#top-menu ul li:nth-child(6) a {
    color: #4b4e5b;
}

#top-menu ul li:nth-child(5)::before {
    background-image: url(../img/opt/icon-5.png);
}

#top-menu ul li:nth-child(6) {
    background-color: #f6f6f6;
}

#top-menu ul li:nth-child(6)::before {
    background-image: url(../img/opt/icon-6.png);
}

@media (min-width:1024px) {
    #top-menu ul {
        width: 668px;
        transition: right .3s ease;
        -webkit-transition: right .3s ease;
    }
    #top-menu>a {
        display: block;
        width: 130px;
        height: 130px;
        border-left: 1px solid #54bdbc!important;
        border-bottom: 1px solid #54bdbc;
        border-right: 1px solid #54bdbc;
        background-color: #FFF;
    }
}

@media (min-width:768px) {
    #top-menu ul li {
        height: 130px;
        padding: 0!important;
    }
    #top-menu ul li a {
        display: block;
        line-height: 130px;
    }
}

.badania-cech-fizycznych #top-menu>a img.dark,
.badania-trwalosci #top-menu>a img.dark,
.badania-wlasciwosci-hydraulicznych #top-menu>a img.dark,
.badania-wytrzymalosci #top-menu>a img.dark,
.jak-przygotowac-probke-do-badan #top-menu>a img.light,
.zapytaj-zamow-badanie #top-menu>a img.light {
    display: none!important;
}

@media (max-width:1023px) {
    #top-menu {
        width: 100%
    }
    #top-menu .hide {
        right: 0;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
    }
    #top-menu ul {
        width: 100%;
        transform: translateX(0);
        -webkit-transform: translateX(0);
        transition: transform .3s ease;
        -webkit-transition: -webkit-transform .3s ease;
    }
    #top-menu ul li {
        max-width: 100%!important;
        width: 100%
    }
}

@media (min-width:768px) and (max-width:1023px) {
    #top-menu>a {
        width: 130px;
        height: 130px;
    }
}

.badania-cech-fizycznych #top-menu>a,
.badania-trwalosci #top-menu>a,
.badania-wlasciwosci-hydraulicznych #top-menu>a,
.badania-wytrzymalosci #top-menu>a {
    border-left: 1px solid #fff;
}

.jak-przygotowac-probke-do-badan #top-menu>a,
.zapytaj-zamow-badanie #top-menu>a {
    border-left: 1px solid #616768;
}

@media (min-width:480px) and (max-width:767px) {
    #top-menu>a {
        width: 100px;
        height: 100px;
    }
    #top-menu>a img {
        left: 20px;
        top: 35px;
    }
    #top-menu ul {
        top: 100px;
    }
    #top-menu ul li {
        height: 100px;
        line-height: 98px;
        padding-left: 0!important;
        padding-right: 0!important;
        padding-bottom: 0!important;
    }
    #top-menu ul li a {
        font-size: 18px;
    }
    #top-menu ul li::before {
        width: 50px;
        left: 40px;
    }
    #page #main h1 {
        line-height: 30px!important;
        padding-top: 20px;
    }
    #page #main h1>strong {
        display: block;
    }
}

@media (max-width:479px) {
    body {
        overflow-x: hidden;
    }
    #top-menu>a {
        width: 60px;
        height: 60px;
    }
    #top-menu>a img {
        left: 10px;
        top: 20px;
        width: 40px;
    }
    #top-menu ul {
        top: 60px;
    }
    #top-menu ul li {
        height: 60px;
        line-height: 58px;
        padding-left: 0!important;
        padding-right: 0!important;
        padding-bottom: 0!important;
    }
    #top-menu ul li a {
        font-size: 14px;
        padding-left: 80px;
    }
    #top-menu ul li::before {
        width: 40px;
        left: 20px;
    }
    #page #main h1 {
        line-height: 22px!important;
        padding-top: 6px;
        font-size: 16px!important;
    }
    #page #main h1>strong {
        display: block;
    }
}

#home #main {
    clear: both;
}

#home #main .box {
    float: left;
    width: 50%;
    display: block;
    position: relative;
    color: #fff;
    height: 360px;
}

#home #main .box::after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 108px;
    background-color: #fff;
    bottom: 30px;
    right: 0;
}

#home #main .box .txt {
    position: absolute;
    top: 100px;
    left: 200px;
    right: 30px;
}

#home #main .box .txt h3 {
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 20px;
}

#home #main .box .txt h3 strong {
    font-size: 37px;
}

#home #main .box .txt .copy {
    font-size: 14px;
    width: 100%
}

#home #main .box:first-child {
    background-image: url(../img/bg-1.jpg);
    background-color: #e9ad5e;
    color: #fff;
}

#home #main .box:nth-child(2) {
    background-image: url(../img/bg-2.jpg);
    background-color: #5c4b51;
    color: #fff;
}

#home #main .box:nth-child(3) {
    background-image: url(../img/bg-3.jpg);
    background-color: #e05a59;
    color: #fff;
}

#home #main .box:nth-child(4) {
    background-image: url(../img/bg-4.jpg);
    background-color: #85b5aa;
    color: #fff;
}

#home #main .box:nth-child(5) {
    background-image: url(../img/opt/bg-5.jpg);
    background-color: #e8e1b7;
    color: #4b4e5b;
}

#home #main .box:nth-child(6) {
    background-image: url(../img/opt/bg-6.png);
    background-color: #f6f6f6;
    color: #4b4e5b;
}

#home #main .box .icon {
    width: 150px;
    height: 150px;
    display: block;
    position: absolute;
    left: 40px;
    top: 60px;
}

#home #main .box .icon.icon-1 {
    background-image: url(../img/opt/icon-1.png);
}

#home #main .box .icon.icon-2 {
    background-image: url(../img/opt/icon-2.png);
}

#home #main .box .icon.icon-3 {
    background-image: url(../img/opt/icon-3.png);
}

#home #main .box .icon.icon-4 {
    background-image: url(../img/opt/icon-4.png);
}

#home #main .box .icon.icon-5 {
    background-image: url(../img/opt/icon-5.png);
}

#home #main .box .icon.icon-6 {
    background-image: url(../img/opt/icon-6.png);
}

@media (max-width:479px) {
    #home #main .box .txt h3,
    #home #main .box .txt h3 strong {
        font-size: 16px!important;
    }
}

@media (max-width:767px) {
    #home #main .box {
        position: relative;
        height: 360px;
    }
    #home #main .box .copy {
        display: none;
    }
    #home #main .box .icon {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    #home #main .box .txt {
        position: absolute;
        left: 30px;
        bottom: 70px;
        top: auto!important;
    }
    #home #main .box .txt h3,
    #home #main .box .txt h3 strong {
        font-size: 24px;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    #home #main .box {
        height: 360px;
    }
    #home #main .box::before {
        display: none;
    }
    #home #main .box .icon {
        top: 20px;
        left: 20px;
        right: 20px;
    }
    #home #main .box .txt {
        top: 64px;
        left: 50px;
        right: 20px;
    }
    #home #main .box .txt h3 {
        margin-left: 120px;
        font-size: 26px;
        margin-bottom: 40px;
    }
    #home #main .box .txt h3 strong {
        font-size: 26px;
    }
    #home #main .box .txt .copy {
        width: auto;
    }
}

#home #header .bottom .box {
    display: block;
    color: #797c87;
    position: relative;
}

#home #header .bottom .box .copy {
    line-height: 1.5;
}

#home #header .bottom .box::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    height: 3px;
    background-color: #adbfb5;
}

#home #header .bottom .box:first-child {
    background-color: #efefef;
}

#home #header .bottom .box:nth-child(2) {
    background-color: #e7e7e7;
}

#home #header .bottom .box:nth-child(2)::after {
    background-color: #708893;
}

#home #header .bottom .box:nth-child(3) {
    background-color: #e1e1e1;
}

#home #header .bottom .box:nth-child(3)::after {
    background-color: #9f5e65;
}

#home #header .right .certyfikaty-link-mobile {
    position: absolute;
    z-index: 9;
    box-sizing: border-box;
    background-color: #7F7F7F;
    width: 240px;
    height: 60px;
    padding: 20px 0 0 20px;
    right: 0;
    bottom: 60px;
    color: white;
    font-size: 19px;
    font-weight: 700;
}

#home #header .right .certyfikaty-link-mobile::after {
    content: '';
    background-repeat: no-repeat;
    top: 0;
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 100%;
    background-image: url(../img/opt/i-arrow.png);
    background-position: right center;
    right: 20px;
}

@media (min-width: 480px) {
    #home #header .right .certyfikaty-link-mobile {
        position: absolute;
        z-index: 9;
        box-sizing: border-box;
        background-color: #7F7F7F;
        width: 220px;
        height: 90px;
        padding: 30px 0 0 20px;
        right: 240px;
        bottom: 0;
        font-size: 19px;
        font-weight: 700;
    }
    #home #header .right .certyfikaty-link-mobile::after {
        content: '';
        background-repeat: no-repeat;
        top: 0;
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
}

@media (min-width: 1024px) {
    #home #header .right .certyfikaty-link-mobile {
        display: none;
    }
}

@media (max-width:479px) {
    #home #header .left .btn,
    #home #header .right .btn {
        z-index: 9;
        color: #fff;
        box-sizing: border-box;
        line-height: 22px;
    }
    @media (max-width: 1024px) {
        .certyfikaty-link {
            display: none !important;
        }
    }
    #home #header .left {
        width: 100%;
        height: 21vw;
        position: relative;
    }
    #home #header .left .logo {
        width: 30vw;
        display: inline-block;
        height: 100%;
        box-sizing: border-box;
        padding: 5vw;
    }
    #home #header .left .logo img {
        width: 100%
    }
    #home #header .left .copy {
        position: absolute;
        top: 4.5vw;
        right: 0;
        width: 70vw;
        box-sizing: border-box;
        padding-left: 30px;
    }
    #home #header .left .btn::after,
    #home #header .right .btn::after {
        background-repeat: no-repeat;
        top: 0;
        content: ''
    }
    #home #header .left .copy h2 {
        font-size: 5vw;
    }
    #home #header .left .btn {
        display: none;
        position: absolute;
        bottom: -400px;
        right: 0;
        width: 240px;
        height: 60px;
        font-weight: 700;
        font-size: 24px;
        padding: 17px 0 0 20px;
    }
    #home #header .left .btn small {
        display: none;
        padding-left: 18px;
        font-size: 12px;
        font-weight: 400;
    }
    #home #header .left .btn::after {
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
    #home #header .right {
        position: relative;
        overflow: hidden;
        width: 100%;
        display: block;
        background-image: url(../img/top-video.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }
    #home #header .right .btn {
        display: inline-block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 240px;
        height: 60px;
        font-weight: 700;
        font-size: 24px;
        padding: 17px 0 0 20px;
    }
    #home #header .right .btn small {
        display: none;
        padding-left: 18px;
        font-size: 12px;
        font-weight: 400;
    }
    #home #header .right .btn::after {
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
    #home #header .right::after {
        content: '';
        display: block;
        padding-top: 55%
    }
    #home #header .bottom .box::after {
        width: 30vw;
        top: 14vw;
    }
    #home #header .bottom .box .txt {
        padding: 10vw 20vw 10vw 10vw;
    }
    #home #header .bottom .box .txt h3 {
        font-size: 5vw;
        margin-bottom: 5vw;
    }
    #home #header .bottom .box .txt .copy {
        font-size: 3vw;
    }
}

@media (min-width:480px) and (max-width:1023px) {
    #home #header .left .btn,
    #home #header .right .btn {
        z-index: 9;
        color: #fff;
        line-height: 22px;
        box-sizing: border-box;
    }
    #home #header .left .btn::after,
    #home #header .right .btn::after {
        content: '';
        background-repeat: no-repeat;
        top: 0;
    }
    #home #header .left {
        width: 100%;
        height: 110px;
        position: relative;
        padding-top: 16px;
    }
    #home #header .left .copy,
    #home #header .left .logo {
        display: inline-block;
        vertical-align: top;
        height: 82px;
    }
    #home #header .left .logo {
        width: 162px;
        box-sizing: border-box;
        padding-top: 10px;
        padding-left: 25px;
        border-right: 2px solid #54bdbc;
    }
    #home #header .left .copy {
        padding-left: 40px;
        padding-top: 12px;
    }
    #home #header .left .copy h2 {
        font-size: 24px;
    }
    #home #header .left .btn {
        display: none;
        position: absolute;
        bottom: -400px;
        right: 0;
        width: 240px;
        height: 90px;
        font-weight: 700;
        font-size: 24px;
        padding: 21px 0 0 20px;
    }
    #home #header .left .btn small {
        padding-left: 18px;
        font-size: 12px;
        font-weight: 400;
    }
    #home #header .left .btn::after {
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
    @media (max-width: 1024px) {
        .certyfikaty-link {
            display: none !important;
        }
    }
    #home #header .right {
        width: 100%;
        position: relative;
        background-image: url(../img/top-video.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: auto;
        overflow: hidden;
    }
    #home #header .right::before {
        content: '';
        display: block;
        padding-top: 55%
    }
    #home #header .right .btn {
        display: inline-block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 240px;
        height: 90px;
        font-weight: 700;
        font-size: 24px;
        padding: 21px 0 0 20px;
    }
    #home #header .right .btn small {
        padding-left: 18px;
        font-size: 12px;
        font-weight: 400;
    }
    #home #header .right .btn::after {
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
    #home #header .right .certyfikaty-link-mobile::after {
        content: '';
        background-repeat: no-repeat;
        top: 0;
        display: inline-block;
        position: absolute;
        width: 20px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        background-position: right center;
        right: 20px;
    }
    #home #header .bottom .box {
        box-sizing: border-box;
        padding: 40px 120px 40px 50px;
    }
    #home #header .bottom .box::after {
        width: 150px;
        top: 55px;
    }
    #home #header .bottom .box h3 {
        margin-bottom: 30px;
        font-size: 24px;
    }
    #home #header .bottom .box .copy {
        font-size: 12px;
        font-family: Roboto;
    }
}

@media (min-width:1024px) {
    #home #header .left,
    #home #header .right {
        float: left;
    }
    #home #header .left {
        width: 25%;
        background-color: #f8f8f8;
        position: relative;
        overflow: hidden;
    }
    #home #header .left::before {
        content: '';
        display: block;
        padding-top: 134.9%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
    }
    #home #header .left .btn,
    #home #header .left .copy,
    #home #header .left .logo {
        position: absolute;
    }
    #home #header .left .logo {
        right: 0;
        top: 35px;
        left: 50px;
    }
    #home #header .left .logo img {
        max-width: 50%
    }
}

@media (min-width:1024px) and (min-width:1280px) {
    #home #header .left .logo::after {
        content: '';
        display: block;
        position: absolute;
        height: 3px;
        width: 154px;
        background-color: #54bdbc;
        bottom: -40px;
        left: 0;
    }
}

@media (min-width:1024px) {
    #home #header .left .btn::after,
    #home #header .right {
        background-repeat: no-repeat;
        background-position: center center;
    }
    #home #header .left .copy {
        left: 50px;
        bottom: 200px;
    }
    #home #header .left .copy h2 {
        font-size: 1.5vw;
    }
    #home #header .left .certyfikaty-link {
        font-weight: 700;
        position: absolute;
        width: 100%;
        padding: 20px 50px 20px 40px;
        background-color: #7F7F7F;
        left: 0;
        bottom: 85px;
        color: white;
        font-size: 24px;
        box-sizing: border-box;
    }
    #home #header .left .certyfikaty-link::after {
        background-repeat: no-repeat;
        background-position: center center;
        content: '';
        display: inline-block;
        position: absolute;
        width: 30px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        right: 20px;
        top: 0;
    }
    @media (min-width: 1024px) and (max-width: 1280px) {
        #home #header .left .certyfikaty-link {
            font-size: 16px;
            padding-left: 50px;
            padding-top: 35px;
        }
    }
    #home #header .left .btn {
        bottom: 0;
        width: 100%;
        color: #fff;
        font-weight: 700;
        font-size: 28px;
        box-sizing: border-box;
        padding: 20px 50px 20px 40px;
        line-height: 22px;
    }
    #home #header .left .btn small {
        font-size: 16px;
        font-weight: 400;
    }
    #home #header .left .btn::after {
        content: '';
        display: inline-block;
        position: absolute;
        width: 30px;
        height: 100%;
        background-image: url(../img/opt/i-arrow.png);
        right: 20px;
        top: 0;
    }
    #home #header .right {
        overflow: hidden;
        width: 75%;
        background-size: contain;
        position: relative;
        height: auto;
    }
    #home #header .right .btn {
        display: none;
    }
    #home #header .right video {
        position: absolute;
        top: 0;
        left: 0;
        height: 101%
    }
    #home #header .right::before {
        content: '';
        display: block;
        width: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        padding-top: 45%
    }
    #home #header .bottom {
        clear: both;
    }
    #home #header .bottom .box {
        height: 300px;
        width: 33.33%;
        display: inline-block;
        vertical-align: top;
        float: left;
        position: relative;
    }
    #home #header .bottom .box .txt {
        position: absolute;
        top: 60px;
        left: 80px;
        right: 60px;
    }
    #home #header .bottom .box .txt h3 {
        font-size: 22px;
    }
    #home #header .bottom .box .txt h3 strong {
        font-size: 28px;
    }
    #home #header .bottom .box .txt .copy {
        font-size: 12px;
        position: absolute;
        top: 100px;
        left: 0;
        line-height: 16px;
    }
    #home #header .bottom .box .txt .copy::before {
        content: '';
        display: block;
        position: absolute;
        width: 154px;
        height: 3px;
        left: 0;
        top: -20px;
        background-color: #adbfb5;
    }
    #home #header .bottom .box:first-child {
        background-color: #efefef;
    }
    #home #header .bottom .box:nth-child(2) {
        background-color: #e7e7e7;
    }
    #home #header .bottom .box:nth-child(2) .copy::before {
        background-color: #708893;
    }
    #home #header .bottom .box:nth-child(3) {
        background-color: #e1e1e1;
        float: right;
    }
    #home #header .bottom .box:nth-child(3) .copy::before {
        background-color: #9f5e65;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    #home #header .bottom .box {
        height: 200px;
        padding: 0;
    }
    #home #header .bottom .box::after {
        display: none;
    }
    .old_logo {
        display: none;
    }
    #home #header .bottom .box::before {
        content: '';
        position: absolute;
        width: 30px;
        height: 59px;
        background-image: url(../img/opt/i-arrow-blue.png);
        background-position: center center;
        background-size: cover;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    #home #header .bottom .box .txt {
        position: relative;
        height: 100%
    }
    #home #header .bottom .box .txt h3 {
        position: absolute;
        left: 80px;
        height: 70px;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    #home #header .bottom .box .txt h3::after {
        content: '';
        width: 155px;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        background-color: #adbfb5;
    }
    #home #header .bottom .box .txt .copy {
        position: absolute;
        left: 380px;
        right: 100px;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    #home #header .bottom .box:nth-child(2) .txt h3::after {
        background-color: #708893;
    }
    #home #header .bottom .box:nth-child(3) .txt h3::after {
        background-color: #9f5e65;
    }
}

@media (min-width:1360px) {
    #home #header .left .copy h2 {
        font-size: 34px;
    }
}

@media (min-width:1024px) and (max-width:1280px) {
    #home #header .left .btn {
        font-size: 16px;
    }
    #home #header .left .btn small {
        font-size: 10.5px;
    }
}

#home #header .flexslider {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
}

#home #header .flexslider li,
#page #main h1 {
    position: relative;
}

#home #header .flexslider li img {
    width: 100%
}

#page ul li {
    list-style: none;
}

#page.badania-cech-fizycznych #main h1,
#page.badania-cech-fizycznych #sidebar ul li::after {
    background-color: #f3b562;
}

#page.badania-cech-fizycznych #main h1::before {
    background-image: url(../img/opt/icon-1.png);
}

#page.badania-wytrzymalosci #main h1,
#page.badania-wytrzymalosci #sidebar ul li::after {
    background-color: #5a494f;
}

#page.badania-wytrzymalosci #main h1::before {
    background-image: url(../img/opt/icon-2.png);
}

#page.badania-trwalosci #main h1,
#page.badania-trwalosci #sidebar ul li::after {
    background-color: #e95d5d;
}

#page.badania-trwalosci #main h1::before {
    background-image: url(../img/opt/icon-3.png);
}

#page.badania-wlasciwosci-hydraulicznych #main h1,
#page.badania-wlasciwosci-hydraulicznych #sidebar ul li::after {
    background-color: #89baaf;
}

#page.badania-wlasciwosci-hydraulicznych #main h1::before {
    background-image: url(../img/opt/icon-4.png);
}

#page.jak-przygotowac-probke-do-badan #main h1 {
    color: #4b4e5b;
}

#page.jak-przygotowac-probke-do-badan #main h1,
#page.jak-przygotowac-probke-do-badan #sidebar ul li::after {
    background-color: #ece5bb;
}

#page.jak-przygotowac-probke-do-badan #main h1::before {
    background-image: url(../img/opt/icon-5.png);
}

#page.zapytaj-zamow-badanie #main h1 {
    color: #4b4e5b;
}

#page.zapytaj-zamow-badanie #main h1,
#page.zapytaj-zamow-badanie #sidebar ul li::after {
    background-color: #f6f6f6;
}

#page.zapytaj-zamow-badanie #main h1::before {
    background-image: url(../img/opt/icon-6.png);
}

#page #main h1 {
    height: 60px;
    line-height: 58px;
    color: #fff;
    padding-left: 60px;
    font-size: 18px;
    box-sizing: border-box;
}

#page #main h1::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 40px;
    height: 100%;
    background-size: contain;
}

#page #main #content ul {
    margin: 50px 0;
}

#page #main #content ul li {
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 688px;
}

#page #main #content ul li:nth-last-child(1) {
    padding-bottom: 0;
}

#page #main h2 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 20px;
}

#page #main h3 {
    font-weight: 400;
    font-size: 14px;
    margin: 5px 0 20px;
}

#page #main p {
    font-weight: 300;
    font-size: 14px;
}

@media (max-width:1023px) {
    #home video {
        display: none;
    }
    #home #header .flexslider {
        z-index: 8;
    }
    #home #header video {
        display: none;
    }
    #page #main ul li {
        margin: 0 auto;
    }
}

@media (min-width:480px) {
    #page #main h1 {
        font-size: 24px;
        padding-left: 120px;
        height: 100px;
        line-height: 98px;
    }
    #page #main h1::before {
        left: 40px;
        width: 60px;
    }
    #page #main ul li {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width:768px) {
    #page #main h1 {
        font-size: 26px;
        height: 130px;
        line-height: 128px;
    }
}

@media (min-width:1024px) {
    #home #header .flexslider {
        z-index: 1;
    }
    #home #header video {
        z-index: 8;
    }
    #page #main {
        margin-left: 450px;
    }
    #page #main h1 {
        max-width: 688px;
    }
    #page #main ul li {
        padding-left: 0!important;
    }
}

@media (min-width:1024px) and (max-width:1300px) {
    #page #main {
        float: right;
        margin-left: 314px;
    }
}

#page.zapytaj-zamow-badanie .dodaj-geosyntetyk {
    margin-top: 0;
    height: 100px;
    position: relative;
}

#page.zapytaj-zamow-badanie .dodaj-geosyntetyk a {
    position: absolute;
    display: inline-block;
    height: 100px;
    line-height: 98px;
    background-color: #f6f6f6;
    color: #60636f;
    font-size: 30px;
    font-weight: 300;
    right: 0;
    top: 0;
    width: 100%;
    text-align: center;
}

#page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span {
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    right: 22px;
    bottom: 37px;
}

#page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 15px;
    left: 0;
}

#page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: #000;
    top: 0;
    left: 15px;
}

#page.zapytaj-zamow-badanie form {
    float: left;
    margin-top: 40px;
    box-sizing: border-box;
    padding: 40px;
    clear: both;
    background-color: #f6f6f6;
    display: block;
    max-width: 688px;
    width: 100%
}

#page.zapytaj-zamow-badanie form h3 {
    text-transform: none!important;
}

#page.zapytaj-zamow-badanie form input,
#page.zapytaj-zamow-badanie form label+textarea {
    width: 100%
}

#page.zapytaj-zamow-badanie form select {
    width: 100%;
    margin: 5px 0;
}

#page.zapytaj-zamow-badanie form label {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

#page.zapytaj-zamow-badanie form input#przewidywany-wynik,
#page.zapytaj-zamow-badanie form textarea {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    float: right;
}

#page.zapytaj-zamow-badanie form ul li {
    margin: 5px 0!important;
    position: relative;
    width: 100%;
    clear: both;
    float: left;
    padding-left: 0!important;
    padding-right: 0!important;
}

#page.zapytaj-zamow-badanie form input,
#page.zapytaj-zamow-badanie form select,
#page.zapytaj-zamow-badanie form textarea {
    padding: 5px;
    box-sizing: border-box;
}

#page.zapytaj-zamow-badanie form textarea {
    height: 100px;
}

#page.zapytaj-zamow-badanie form #zamow-badania,
#page.zapytaj-zamow-badanie form #zapytaj-o-cene {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-family: Lato;
}

#page.zapytaj-zamow-badanie form #zapytaj-o-cene {
    background-color: #474747;
    margin-top: 40px;
}

#page .message,
#page.zapytaj-zamow-badanie form #zamow-badania {
    background-color: #54bdbc;
}

@media (min-width:1024px) {
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a {
        width: 480px;
    }
    #page.zapytaj-zamow-badanie form {
        width: 888px;
        max-width: 848px;
        position: relative;
        left: -160px;
        padding-bottom: 80px;
        margin-bottom: 60px;
    }
    #page.zapytaj-zamow-badanie form label+input {
        width: 49%;
        float: right;
    }
    #page.zapytaj-zamow-badanie form input.input,
    #page.zapytaj-zamow-badanie form input.przewidywany-wynik,
    #page.zapytaj-zamow-badanie form select {
        width: 22%;
        margin: 0;
    }
    #page.zapytaj-zamow-badanie form .row {
        padding: 20px 0;
    }
    #page.zapytaj-zamow-badanie form .row input#przewidywany-wynik,
    #page.zapytaj-zamow-badanie form .row input.input,
    #page.zapytaj-zamow-badanie form .row select {
        margin-right: 3.6%
    }
    #page.zapytaj-zamow-badanie form .row input#przewidywany-wynik:nth-last-child(1),
    #page.zapytaj-zamow-badanie form .row input.input:nth-last-child(1),
    #page.zapytaj-zamow-badanie form .row select:nth-last-child(1) {
        margin-right: 0;
    }
    #page.zapytaj-zamow-badanie form textarea {
        width: 49%!important;
    }
    #page.zapytaj-zamow-badanie form input,
    #page.zapytaj-zamow-badanie form select,
    #page.zapytaj-zamow-badanie form textarea {
        padding: 10px;
    }
    #page.zapytaj-zamow-badanie form ul li {
        display: inline-block;
        width: 49%;
        clear: none;
        box-sizing: border-box;
    }
    #page.zapytaj-zamow-badanie form ul li:nth-child(odd) {
        padding-right: 20px!important;
        float: left;
    }
    #page.zapytaj-zamow-badanie form ul li:nth-child(even) {
        padding-left: 20px!important;
        float: right;
    }
    #page.zapytaj-zamow-badanie form ul li:nth-last-child(1) {
        padding-right: 0!important;
        padding-left: 20px!important;
        float: right!important;
    }
    #page.zapytaj-zamow-badanie form #zamow-badania,
    #page.zapytaj-zamow-badanie form #zapytaj-o-cene {
        position: absolute;
        bottom: 0;
        text-align: center;
    }
    #page.zapytaj-zamow-badanie form #zapytaj-o-cene {
        width: 160px;
        right: 320px;
    }
    #page.zapytaj-zamow-badanie form #zamow-badania {
        width: 320px;
        right: 0;
    }
    #page.zapytaj-zamow-badanie form #grid {
        clear: both;
    }
}

@media (max-width:1023px) {
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a {
        width: auto;
        padding-right: 45px;
        right: 0;
    }
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span {
        right: 0;
    }
    #page .input {
        margin-bottom: 5px;
    }
    #page #sidebar {
        display: none;
    }
    .old_logo {
        display: none;
    }
}

@media (max-width:479px) {
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a {
        font-size: 16px;
    }
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span {
        width: 28px;
        height: 28px;
    }
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span::before {
        top: 13px;
    }
    #page.zapytaj-zamow-badanie .dodaj-geosyntetyk a span::after {
        left: 13px;
    }
}

#page .message {
    transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
    opacity: 1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    -webkit-transform: translateX(-50%) translateY(-100px);
    width: 100%;
    height: 200px;
    color: #fff;
}

#page .message h3 {
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    line-height: 198px;
}

#page .message.hide {
    opacity: 0;
    z-index: -1;
}

@media (max-width:479px) {
    #page .message h3 {
        font-size: 18px;
    }
}

#page #content p {
    margin-bottom: 20px;
}

#page #content p::nth-last-child(1) {
    margin-bottom: 0;
}

#page form label {
    line-height: 36px;
}

#page form label[for=date],
#page form label[for=comments] {
    line-height: normal;
}

#page .input.hide,
#page .select.hide {
    display: none;
}

@media (min-width:1024px) {
    #page #sidebar .logo::after,
    #page #sidebar ul li.active::after {
        content: '';
        height: 3px;
        bottom: 0;
        left: 0;
    }
    #page #sidebar {
        position: absolute;
        left: 0;
        top: 0;
        width: 450px;
    }
    #page #sidebar .logo {
        display: block;
        margin-top: 35px;
        margin-left: 35px;
        padding-bottom: 35px;
        position: relative;
    }
    #page #sidebar .logo::after {
        position: absolute;
        width: 109px;
        background-color: #54bdbc;
    }
    #page #sidebar ul {
        position: fixed;
        margin-top: 50px;
        margin-left: 35px;
        top: 140px;
        transition: top .3s ease;
    }
    #page #sidebar ul.up {
        top: 0;
        transition: top .3s ease;
    }
    #page #sidebar ul li {
        font-family: Roboto;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 40px;
    }
    #page #sidebar ul li a {
        color: rgba(51, 51, 51, .5);
        transition: color .3s ease;
    }
    #page #sidebar ul li a:hover {
        color: #333;
    }
    #page #sidebar ul li.active::after {
        width: 100px;
        position: absolute;
    }
}

@media (min-width:768px) {
    #footer,
    #footer a {
        color: #f8f8f8;
    }
    #footer .info .city.hide-dot::after,
    #footer::after {
        content: ''
    }
    #footer {
        height: 188px;
        background-color: #494c58;
        width: 100%;
        position: relative;
        clear: both;
        overflow: hidden;
    }
    #footer .info,
    #footer .logo,
    #footer h2,
    #footer div.h1,
    #footer::after {
        position: absolute;
    }
    #footer::after {
        display: block;
        height: 3px;
        width: 108px;
        background-color: #fff;
        bottom: 30px;
        right: 0;
    }
    #footer .logo {
        display: block;
        left: 100px;
        top: 70px;
    }
    #footer .logo img {
        width: 97px;
    }
    #footer h2,
    #footer div.h1 {
        left: 250px;
        top: 80px;
    }
    #footer .info {
        right: 25%;
        top: 75px;
        font-size: 14px;
        font-weight: 300;
        transform: translateX(50%);
        -webkit-transform: translateX(50%);
    }
    #footer .info .email,
    #footer .info .phone {
        font-weight: 700;
        font-size: 20px;
        letter-spacing: 2px;
        text-align: center;
    }
    #footer .info .email:before,
    #footer .info .phone:before {
        display: block;
        position: absolute;
        width: 33px;
        height: 33px;
        background-image: url(../img/opt/i-phone.png);
        background-repeat: no-repeat;
        background-position: center center;
        left: -50px;
        top: 0;
    }
    #footer .info .city {
        display: inline-block;
        font-size: 20px;
    }
    #footer .info .city::after {
        content: '•';
        display: inline-block;
        margin: 0 5px;
    }
}

@media (max-width:767px) {
    #footer .logo,
    #footer h2 strong,
    #footer div.h1 strong {
        display: block;
    }
    #footer {
        height: 210px;
        width: 100%;
        overflow: hidden;
        background-color: #4b4e5b;
        position: relative;
    }
    #footer .logo {
        width: 50%;
        position: relative;
        height: 100%
    }
    #footer .logo img {
        position: absolute;
        width: 90px;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
    }
    #footer .info,
    #footer h2,
    #footer div.h1 {
        width: 50%;
        position: absolute;
        right: 0;
        color: #fff;
    }
    #footer h2 #footer div.h1 {
        top: 60px;
        text-align: center;
        box-sizing: border-box;
    }
    #footer .info {
        top: 120px;
        text-align: center;
    }
    #footer .info .phone {
        font-size: 24px;
        margin-top: 150px;
    }
    #footer .info .phone:before {
        content: '';
        display: block;
        position: absolute;
        width: 33px;
        height: 33px;
        background-image: url(../img/opt/i-phone.png);
        background-repeat: no-repeat;
        background-position: center center;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        top: 60px;
    }
    #footer .info a {
        color: #fff;
    }
}

@media (max-width:767px) and (min-width:420px) {
    #footer .info .city {
        display: inline-block;
    }
    #footer .info .city::after {
        content: '•';
        display: inline-block;
        margin: 0 5px;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    #footer {
        height: 250px;
    }
    #footer .logo {
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
        left: 25%
    }
    #footer .info,
    #footer h2,
    #footer div.h1 {
        left: 75%;
        text-align: center;
    }
    #footer::after {
        display: none;
    }
    #footer h2,
    #footer div.h1 {
        top: 70px;
        font-size: 30px;
        width: 400px;
        transform: translateX(-197px);
        -webkit-transform: translateX(-197px);
    }
    #footer .info {
        top: 125px;
        right: auto;
        width: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    #footer .info .city,
    #footer .info .email {
        font-size: 20px;
    }
}

.phone.hide {
    opacity: 0;
}

.phone {
    opacity: 1;
    transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
    position: absolute;
    bottom: -35px;
    left: 0;
    border: 2px solid #fff;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    width: 120px;
    box-sizing: border-box;
}

.certificates-container {
    width: 100%;
    height: 70vh;
    padding-top: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.certificates-container .certificate {
    width: 280px;
    display: block;
    margin: 30px;
    position: relative;
}

.certificates-container .certificate img {
    width: 100%;
}

.certificates-container .certificate span {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    text-align: center;
    padding: 40px 0 20px 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 10%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width:1024px) {
    .certificates-container {
        justify-content: center;
    }
}

@media (max-width:479px) {
    .certificates-container .certificate {
        width: 90%;
    }
}

.flag {
    /* position: absolute; */
}

.flag-container {
    text-align: right;
}