html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: 300;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Open Sans', sans-serif;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.2;
    background-image: url("../img/bg.jpg");
    background-size: 100% 100%;
    font-weight: 300;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

header,
footer {
    width: 100%;
}

header {
    height: 125px;
    background-image: url("../img/headerbg.png");
}

.content {
    width: 1000px;
    margin: 0 auto;
}

#logo {
    float: left;
    color: white;
    width: 400px;
}

h1 {
    font-weight: 600;
    float: left;
    font-size: 50px;
    -ms-text-shadow: -2px -2px 3px #000000;
    -moz-text-shadow: -2px -2px 3px #000000;
    text-shadow: -2px -2px 3px #000000;
}

#logo a {
    text-decoration: none;
    display: block;
    padding-top: 10px;
    color: white;
}

h2 {
    color: white;
    font-size: 20px;
}

h2.h2l{
    float: left;
    font-weight: 400;
    margin-left: 3px;
    margin-top: -48px;
    -ms-text-shadow: -2px -2px 3px #000000;
    -moz-text-shadow: -2px -2px 3px #000000;
    text-shadow: -2px -2px 3px #000000;
}

h2.h2r {
    float: right;
    margin-right: 37px;
    text-align: right;
}

nav {
    /*float: right;*/

}

nav li {
    float: left;
}

nav li a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    margin: 45px 10px 0 0;
    display: block;
    font-size: 20px;
    border-radius: 5px;
}

nav li a:hover {
    background-color: #148fd6;
}

.mate {
    margin-left: 830px;
    width: 145px;
    height: 104px;
    background-image: url("../img/matebg.png");
    background-repeat: no-repeat;
}

.mate a {
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 14px;
    padding-bottom: 35px;
}

.mate span {
    font-size: 16px;
}

h3 {
    color: #ffffff;
    font-size: 26px;
    display: block;
    margin: -60px 0 10px;
    text-align: center;
    max-width: 566px;
    letter-spacing: 0.1ex;
    -ms-text-shadow: 2px 2px 3px #000000;
    -moz-text-shadow: 2px 2px 3px #000000;
    text-shadow: 2px 2px 3px #000000;
}

#activity {
    background-color: #ffffff;
    width: 430px;
    min-height: 225px;
    border-radius: 5px;
    padding: 25px 25px;
    margin: 60px 21px 15px 9px;
    /*margin: 0px 9px 60px 83px;*/
    float: right;
    line-height: 1.4;
}

#activity li {
    margin: 25px;
    list-style-type: disc;
    color: #148fd6;
}

#activity span {
    color: black;
}

#activity .more {
    float: right;
}

#activity .more a {
    text-decoration: none;
    color: #000000;
}

#uslugi {
    background-color: #ffffff;
    border-radius: 5px;
    margin: 25px 105px 25px 25px;
    float: left;
    line-height: 1.4;
}

#uslugi li {
    margin: 25px;
    list-style-type: disc;
    color: #148fd6;
}

#uslugi span {
    color: black;
}

#person {
    width: 430px;
    height: auto;
    margin: 95px 9px 14px 75px;
    background-color: #ffffff;
    border-radius: 5px;
    float: left;
    padding: 50px 25px 15px;
}

.personr {
    margin: -155px 0 0 190px;
}

#person strong {
    font-weight: 600;
}

#person span {
    font-size: 14px;
}

.personr span {
    display: block;
    margin: 30px 0;
}

#foto {
    width: 200px;
    height: 240px;
    background-color: #ffffff;
    margin-top: -120px;
    border-radius: 5px;
    padding: 10px;
    margin-left: -10px;
}

#foto img {
    height: 220px;
    width: 180px;
}

#contract {
    width: 430px;
    height: 108px;
    background-color: #148fd6;
    background-image: url("../img/arrows.png");
    background-repeat: no-repeat;
    background-position: 95% 50%;
    margin: 0 9px 0 75px;
    /*margin: 95px 9px 0px 0px;*/
    border-radius: 5px;
    float: left;
    padding: 15px;
    color: white;
}

#contract span {
    font-size: 36px;
    margin-bottom: -10px;
    display: block;
}

#contract strong {
    font-weight: 400;
    margin-left: 5px;
}

#contract a {
    text-decoration: none;
    color: #ffffff;
    display: block;
}

footer {
    height: 60px;
    clear: both;
}

.copy {
    margin-top: 35px;
    color: #ffffff;
    float: left;
    margin-right: 20px;
    font-size: 14px;
    text-decoration: none;
}

.copy a {
    color: #ffffff;
    text-decoration: none;
}

.sh-v { /* css dla pseudo-wartosci */
    position:absolute!important;
    z-index:2!important;
    display:block!important;
    left:0;
    top:0;
    color: #ffffff;
}
.sh-s { /* css dla pseudo-cienia */
    position:absolute!important;
    z-index:1!important;
    display:block!important;
    margin-top:-1px;
    left:0;
    top:0;
}

.sh-s a { color:black !important; }


#smallbox {
    height: auto;
    width: 270px;
    background-color: #148fd6;
    background-image: url("../img/arrows.png");
    background-repeat: no-repeat;
    background-position: 95% 50%;
    color: #ffffff;
    font-size: 36px;
    margin-top: 20px;
    border-radius: 5px;
    margin: 80px 75px 0 0px;
    float: right;
    padding: 16px 20px 16px 20px;
    position: relative;
    z-index: 3;
}

#smallbox a {
    color: #ffffff;
    text-decoration: none;
}

#mainbox {
    width: 650px;
    min-height: 532px;
    background-color: #ffffff;
    float: left;
    border-radius: 5px;
    margin: -115px 0px 0 35px;
    padding: 20px;
}

#mainbox span {
    font-size: 14px;
}

#mainbox .titl a {
    color: #000000;
    text-decoration: none;
}

h4 {
    margin: 25px 105px 10px 25px;
    font-size: 26px;
    font-weight: 600;
}

#mainbox .titl {
    margin: 25px 105px 10px 25px;
}

#mainbox .textlist {
    margin: 0px 105px 10px 25px;
    line-height: 22px;
    font-size: 15px;
}

#mainbox .text {
    margin: 0px 25px 25px 25px;
    line-height: 22px;
    font-size: 15px;
}

#mainbox strong {
    font-weight: 600;
}

#mainbox img.map {
    margin-left: 25px;
    max-width: 90%;
}

.pokaztext {
    width: 900px;
    min-height: 400px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: white;
    -ms-box-shadow: 0 0 3px -1px grey;
    -moz-box-shadow: 0 0 3px -1px grey;
    -webkit-box-shadow: 0px 0px 3px -1px grey;
    box-shadow: 0px 0px 3px -1px grey;
}

.wiecej {
    color: #148fd6;
    text-decoration: none;
}

.container-wrap {
    display: block;
    overflow: hidden;
    width: 579px;
    margin-left: 25px;
}

.rodo p {
   font-size: 15px;
   margin: 1em 0;
}

.rodo h3 {
    margin: 2.5em 0 2em;
    margin-right: 70px;
    font-size: 20px;
    font-weight: 500;
    color: black;
    text-shadow: none;
    text-align: left;
}
#znanylekarz{
    float: right;
    width:430px;
    margin-right: 21px;
    padding: 0 15px;
}

.navbar-default{
    background: none;
    box-shadow: none;
    border-radius: 0;
    border:none;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.active>a{
    box-shadow: none;
    background: none;
}
.navbar-default .navbar-nav>.active>a{
    color:#fff;
    font-weight: 500;
    background: none;
    /*background-color: #148fd6;*/
}
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:active,
.navbar-default .navbar-nav>li>a:focus:active,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus{
    background-color: #148fd6;
    color:#fff;
}
.navbar-default .navbar-nav>li>a{
    color:#fff;
}
.navbar-brand, .navbar-nav>li>a{
    text-shadow: none;
}
.nav>li>a{
    padding: 5px 10px;
}
.navbar-collapse{
    padding: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus{
    background-color: #148fd6;
    border-color:#148fd6;
    color:#fff;
}
.navbar-default .navbar-toggle .icon-bar{
    background-color: #fff;
}
.container>.navbar-header, .container-fluid>.navbar-header, .container>.navbar-collapse, .container-fluid>.navbar-collapse{
    margin:0;
}
.navbar-toggle{
    margin-top: 23px;
}
.navbar-nav {
    float: right;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border:none;
    box-shadow: none;
}









@media (max-width: 1015px){
    .content {
        width: 975px;
    }
    nav li a{
        font-size: 17px;
    }
}

@media (max-width: 991px){
    *{
        box-sizing: border-box;
    }
    #logo{
        width: 260px;
    }
    h2.h2r {
        margin-right: 5px;
    }
    h1{
        font-size: 35px;
    }
    h2{
        font-size: 14px;
    }
    h2.h2l {
        margin-left: 0;
        margin-top: -33px;
    }
    h3{
        margin: 0;
        text-align: left;
        padding-top: 25px;
    }
    header {
        height: 95px;
    }
    .content{
        width: 100%;
        padding: 0 15px;
    }
    
    #person{
        height: auto;
        width: 100%;
        margin: 60px 0px 14px 0px;
        padding: 30px 25px;
    }
    #foto{
        margin-top: -70px;
        float: left;
        width: 200px;
        height: 240px;
    }
    .personr {
        margin: -170px 0 0 195px;
    }
    .personr span {
        margin: 28px 0;
    }
    #person li{
        margin: 0px 0 0 195px;
    }
    #contract{
        width: 100%;
        height: 108px;
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
    }
    #znanylekarz{
        width: 100%;
        margin-right: 0;
        padding: 15px;
    }
    #activity{
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }
    .mate{
        margin-left: 0;
        float: right;
    }
    .special-office{
        padding-top: 25px;
        width: auto;
    }
    #foto img {
        height: auto;
        width: 100%;
    }
    nav li a {
        padding: 5px 7px;
        margin: 34px 5px 0 0;
        font-size: 14px;
    }
    #smallbox {
        height: auto;
        width: 220px;
        padding: 16px 0px 16px 20px;
        margin: 90px 0 0 0px;

    }
    #mainbox {
        width: calc(100% - 160px);
        min-height: 475px;
        margin: -90px 0 0 0;
        padding: 75px 70px 75px 45px;
    }
    #uslugi {
        margin: 25px 20px 25px 25px;
    }
    .servicesWrap {
        width: 100%;
         margin: 0; 
        padding: 0;
    }
    .copy{
        margin-top:0;
    }
    footer{
        padding-top: 10px;
        margin-bottom: 10px;
    }
    .disease-wrap{
        margin-left: 20px;
    }
    #mainbox .titl {
        margin: 25px 25px 10px 20px;
    }
    h4,
    #mainbox .text{
        margin-left: 20px;
    }
    #mainbox .textlist {
        margin: 0px 25px 10px 20px;
    }
    .container-wrap{
        width: 100%;
        margin-left: 0;
    }
    .rodo h3{
        margin: 0;
        margin-bottom: 35px;
        margin-top: 25px;
    }
    .article-disease{
        margin: 20px 25px 25px 20px;
    }
    iframe{
        width: 100%;
    }
    #mainbox img.map{
        margin-left: 0px;
        max-width: 100%;
    }
}


@media (max-width: 767px){
    header {
        height: auto;
        background: rgba(0, 0, 0, 0.2);
        padding-bottom: 10px;
    }
    .navbar{
        margin-bottom: 0;
    }
    nav li a {
        margin: 8px 5px 0 0;
    }
    #logo,
    h1,
    nav{
        float: none;
    }
    nav li {
        float: none;
        display: inline-block;
    }
    .personr span {
        display: block;
        margin: 15px 0 20px;
    }
    #person li{
        margin:0;
    }
    #person li.personr{
        margin: 0px 0 0 143px;
    }
    #foto {
        margin-top: -13px;
        width: 150px;
        height: 180px;
    }
    #contract span {
        font-size: 32px;
    }
    #smallbox{
        margin: 45px 0 0 0px;
        font-size: 30px;
    }
    #mainbox {
        width: calc(100% - 50px);
        margin: -38px 0 0 0;
        padding: 60px 30px 60px 30px;
    }
    .servicesWrap{
        padding: 0;
    }
    #uslugi {
        margin: 10px 15px 10px 15px;
    }
    .navbar-nav {
        margin: 7.5px 0;
        float: none;
    }
    .nav>li{
        text-align: center;
    }
    nav li a{
        font-size: 16px;
    }
}


@media(max-width: 480px){
    .servicesWrap h4, .servicesWrap h3, .servicesWrap h2{
        margin:25px 0;
    }
}