
body, div, h1, h2, h3, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #755D2A; 
}

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

h1, h2, strong {
    font-weight: 600;
}

.first_color {
    color: #755D2A;
}

.second-color {
    color: #096E33;
}

a, a:visited, a:link {
    color: #096E33;
    text-decoration: none;
}

a:hover {
    background-color: #096E33;
    color: white;
}

.wrapper {
    width: 1000px;
    margin: 0 auto;
    background: url('../images/backgroud3.jpg') no-repeat top center;
    display: flex;
    justify-content: left;
    flex-flow: row wrap;
}

.header {
    height: 210px;
    width: 1000px;
}

.slogan {
    padding-left: 350px;
    padding-top: 40px;
    padding-right: 120px;
    width: auto;
    text-align: right;
    font-size: 12px;
    color: #4D380B;
}

.slogan span {
    font-style: italic; 
    font-size: 10px;
}

.side_box {
    width: 270px;
}

.content {
    width: 730px;
    padding-bottom: 100px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

h2 {
    font-size: 20px;
}

p.aurum {
    margin-top: 30px;
    margin-bottom: 30px;
    background: url(../images/aurum.png) no-repeat left top;
    padding: 18px 20px 18px 110px;
    min-height: 55px;
}

ul.p1 {
    margin-bottom: 20px;
}

ul.p1 li {
    margin-bottom: 10px;
    margin-left: 20px;
}



.bordered {
    border-left: #755D2A solid 10px;
    padding-left: 20px;
    padding-right: 20px;
}

ul.mainmenu {
    list-style: none;
    padding-left: 40px;
}

ul.mainmenu li {
    margin-bottom: 10px;
}

ul.mainmenu li a {
    display: inline-block;
    min-width: 150px;
}

ul.mainmenu li a.selected, .footer-menu ul li a.selected {
    font-weight: 800;
}



.side_contacts {
    font-size: 10px;
    padding: 64px 60px 0 45px;    
    background: url(../images/notes.jpg)  no-repeat left top;
}

.side_contacts strong {
    font-weight: 800;
}

.section-footer {
    padding: 20px 0 40px 0;
    border-top: #755D2A 3px solid;
    width: 1000px;
}

.footer-menu {
    display: flex;
    justify-content: center;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu ul li {
    display: inline-block;
    font-size: 12px;
}

.footer-copy {
    margin-top: 40px;
}

.footer-copy, .footer-copy a {
    font-size: 10px;
}

/* ======== contacts ========= */

.contacts_block p {
    margin-bottom: 18px;
}

.contact_places {
    display: flex;
    flex-flow: row wrap;
}

.contact_city {
    font-size: 18px;
    color: #096E33;
    font-weight: 800;
}
.contact_item {
    /* flex-shrink: 0; */
    width: 33%;
    min-width: 210px;
    margin-bottom: 30px;
}

/* ======== zasada ========= */

.inventor {
    background-color: #E9DED1;
    padding: 30px;
}

.inventor img { 
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;

}

/* ======== doctor ========= */

.doctor img { 
    float: left;
    margin-right: 30px;
    margin-bottom: 50px;
}

/* ======== wykrywanie ========= */

.wykrywanie-photos {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.wykrywanie-item {
    width: 49%;
    margin-bottom: 10px;
}

.wykrywanie-item a:hover {
    background: none;
}

.wykrywanie-item img {
    width: 100%;
}

/* ======== funkcje ========= */

.funkcje ul {
    margin-left: 14px;
}

.funkcje ul li {
    margin-bottom: 15px;
}

.funkcje p:last-child {
    text-align: center;
}

/* ======== prasa ========= */

.prasa p {
    line-height: 2;
}

.prasa p img {
    width: 100%;
}

.line {
    background-color: #4D380B;
    width: 100%;
    height: 2px;
    margin-bottom: 40px;
}

.prasa ol li {
    margin-bottom: 10px;
}

.prasa h3 {
    font-size: 24px;
}

.prasa ul {
    margin-left: 14px;
}

/* ======== badania ========= */

.badania-photos {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.badania-title {
    width: 100%;
    text-align: center;
    background-color:#E9DED1;
    padding: 15px;
    margin-bottom: 15px;

}

.badania-image {
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
}

.badania-image img {
    width: 100%;
    max-width: 200px;

}

.badania h3 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.badania ul li {
    margin-bottom: 10px;
}

.badania ul {
    margin-left: 14px;
}


/* ======================================================================================================================== */

@media only screen and (max-width: 999px) {

    body {
        background-color: rgb(254, 250, 236);
    }

    .header {
        width: 100%;
        height: auto;
        /* background: none; */
        background: url(../images/aurum.png);
        background-repeat: no-repeat;
        background-size: 50px;
        background-position: 0 18px;
        padding-left: 55px;    
    }

    .slogan {
        padding: 30px;
    }

    .footer-menu {
        display: none;
    }

    .wrapper {
        width: 100%;
        margin: 0;
        background: none;
        padding: 0 30px;
    }

    .side_box {
        width: 100%;
    }

    .content {
        width: 100%;
        padding-top: 30px;
    }

    .side_contacts {
        display: none;
    }

    ul.mainmenu {
        padding-left: 0;
        text-align: center;
    }

    ul.mainmenu li {
        display: inline-block;
    }

    h1, h2 {
        text-align: center;
    }

    .footer-copy {
        margin-top: 0;
    }

    /* ======== funkcje ========= */

    .funkcje p img {
        max-width: 100%;
    }
    
    /* ======== contacts ========= */

    .contacts_block p img {
        max-width: 100%;
    }


}

@media only screen and (max-width: 467px) { 

    /* ======== wykrywanie ========= */

    .wykrywanie-item {
        width: 100%;
    }

 /* ======== zasada ========= */

    .inventor img { 
        clear: both;
        width: 100%;
        /* max-width: 175px; */
        margin-right: auto;
        margin-bottom: 20px;
    
    }
}