html {
    padding: 0;
    margin: 0;
}

body {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: #696969;
    font-weight: 400;
    min-width: 1280px;
    line-height: 1.7em;
    padding: 0;
    margin: 0;
    min-width: 320px;
}

h1 {
    color: #51658d;
    font-size: 2.43em;
}

.likeH1 {
    color: #cc9d64;
    font-size: 2.43em;
    font-family: "Playfair Display", serif;
}

h2 {
    color: #51658d;
    font-size: 1.8em;
}

hr {
    border-top: 1px solid #d6d6d6;
}

/* MAIN */
div.header {
    margin: 0;
    padding: 0;
    min-height: 200px;
}

div.header.header-simple {
    min-height: 60px;
}

div.header-bg {
    /*background: transparent url('../img/bg-menu-top.png') top center no-repeat;*/
    position: relative;
    z-index: 100;
    height: inherit;
}

div.header-slides img.slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

div.header-slides img.slide:first-child {
    display: block;
}

div.header-slides {
    position: absolute;
    z-index:98;
    width: 100%;
    height: 700px;
    overflow: hidden;
    min-height: inherit;
}

div.header-top-left {
    position: absolute;
    z-index:99;
    width: 100%;
    height: 700px;
    min-height: inherit;
    background: transparent url('../img/header-top-left.png') bottom left no-repeat;
    background-size: auto 100%;
}

div.header-top-right {
    background: transparent url('../img/header-top-right.png') bottom right no-repeat;
    background-size: auto 100%;
    height: 700px;
    min-height: inherit;
}

div.header-static {
    height: 400px;
    background: transparent url('../img/img-header-contact.jpg') top center no-repeat; 
    background-size: cover; 
}

div.header-static.medycyna {
    height: 400px;
    background: transparent url('../img/euromed-medycyna-tlo.jpg') 15% 0 no-repeat;
    background-size: cover;
    position: relative;
}

@media (min-width: 1920px) {
    div.header-static.medycyna {
        height: 540px;
    }
}

div.header-static.medycyna .title-box {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgba(255, 255, 255, 0.79);
    height: 100px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
}

div.header-static.medycyna .title-box h1.likeH1 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    div.header-static.medycyna .title-box h1.likeH1 {
        font-size: 3em;
    }
}

div.header-static div.header-top-left{
    height: 400px;

}

div.header-static div.header-top-right{
    height: 400px;
    position: relative;
}

.headerTexts {
    position: absolute;
    bottom: 5%;
    left: 13%;
}
.headerTexts > span {
    text-shadow: 0px 0px 10px #000;
    font-size: 4em;
    font-weight: 500;
    display: inline-block;
    line-height: 1.8em;
    color: #76b820;
}

.headerText {
    margin-left: 20px;
}
.headerText2 {
    margin-left: 140px;
}
.headerText3 {
    margin-left: 260px;
}

a#logoTop {
    position: relative;
    z-index: 999;
}

a#logoTop img {
    max-width: 250px;
    width: 20%;
    position: absolute;
    top: 0px;
    left: 40px;
    background-color: transparent;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

a#logoTopHorizontal{
    max-height: 60px;
    position: absolute;
    top: 0px;
    left: 100px;
    display: none;
    background-color: transparent;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

a#logoTop .offerTexts {
    font-size: 1em;
    position: absolute;
}

div#mobileMenu {
    display: none;
}

div.header-menu {
    position: fixed;
    top: 0px;
    height: 60px;
    width: 100%;

    z-index: 100;
    background-color: transparent;
    background-image: url('../img/bg-menu.png');
    background-repeat: repeat;
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

div.header-menu.fixed a#logoTopHorizontal {
    display: initial !important;
    opacity: 1 !important;
    /*position: relative !important;*/
    left: 10px;
}

div.header-menu.fixed .back-link {
    display: none;
}

div.header-menu.fixed .back {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    position: absolute;
    left: 250px;
}

div.header-menu.fixed .back a {
    background: #51658d;
    color: white;
    display: inline-block;
    height: 40px;
    padding: 6px 17px;
    margin-left: 20px;
}

div.header-menu.bg {
    background-color: white;
    box-shadow: 0px 0px 13px #c1c1c1;
}

div.header-menu.fixed .container {
    position: relative;
    margin: 0 auto;
    display: flex;
}

div.header-menu ul{
    min-height: 60px;
    position: absolute;
    top: 0;
    left: calc(50% - 200px);
    width: 621px;
    margin: 0px auto;
    display: block;
    padding: 0;
}

div.header-menu.fixed ul {
    margin: initial;
    margin-left: auto !important;
    position: relative;
    width: auto;
    left: auto;
}

@media (min-width: 992px) {
    div.header-menu.fixed ul {
        display: initial !important;
    }
}

div.header-menu ul > li{
    float: left;
    height: 60px;
    list-style: none;
    position: relative;
}
div.header-menu ul > li > a{
    display: inline-block;
    float: left; 
    font-size: 1.31em;
    font-weight: 400;
    color: #51658d;
    padding: 17px 15px 16px 15px;
    text-decoration: none;
    -webkit-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}
div.header-menu:not(.fixed) ul > li:first-child > a{
    padding: 10px 15px;
    height: 60px;
}
div.header-menu ul > li > a:hover{
    color: #76b820;
    background-color: white;
}
div.header-menu.fixed ul > li > a:hover{
    color: #51658d;
    background-color: white;
}
div.header-menu.fixed ul > li > a{
    color: #cc9d64;
}
div.header-menu.fixed ul > li > a:hover{
    color: #cc9d64;
    background-color: white;
}

div.header-menu ul > li > ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0px;
    background: transparent url('../img/bg-submenu.png') top center repeat;
    max-width: 190px;
    border-bottom: 1px solid #95c657;
}
div.header-menu ul > li > ul > li{
    width: 100%;
    min-height: 47px;
    height:auto;
}

div.header-menu ul > li > ul > li > a{
    width: 100%;
    display: inline-block;
    padding: 10px 15px;
    border-top: 1px solid #95c657;
    height: 48px !important;
    text-align:center;
    background-color: transparent;
    -webkit-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

div.header-menu ul > li > ul > li.medycyna > a {
    min-height: 48px !important;
    height: auto !important;
    background-color: white;
    line-height: 20px;
}

div.header-menu ul > li > ul > li.medycyna > a span {
    text-transform: uppercase;
    font-size: 0.7em;
}

div.header-menu ul > li > ul > li > a:hover{
    background-color: white;
}

div.header-menu ul > li > ul > li > ul{
    position: absolute;
    left: 189px;
    top: 0px;
    display: none;
    margin: 0px;
    padding: 0px;
}

.newsContainer {
    padding: 25px 0 0 45px;
}

.cke .newsContainer h3, .likeH3{
    font-size: 2.25em;
    color: #51658d;
    font-weight: 200;
}

.cke .newsContainer span.date{
    color: #76b820;
    font-size: 0.94em;
    display: inline-block;
    padding: 0 15px;
}

.cke .newsContainer p{
    font-size: 1.19em;
    line-height: 1.5em;
    font-weight: 200;
}
.cke .newsContainer .more{
    width: 275px;
    height: 71px;
    line-height: 71px;
    margin-top: 20px;
    color: white;
    display: inline-block;
    text-align: center;
    background: transparent url('../img/bg-more.png') top center no-repeat;
    color: #51658d;
    -webkit-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
    float: right;
}
.cke .newsContainer .more:hover, .cke .newsContainer .more.active{
    color: white;
    background: transparent url('../img/bg-more-active.png') top center no-repeat;
    text-decoration: none;
}

#mapaCont {
    position: relative;
}
#mapa {
    min-height: 564px;
}
#mapa-overlay {
    position: absolute;
    background: transparent url('../img/map-overlay-right.png') top center no-repeat;
    width: 405px;
    height: 564px;
    top: 0px;
    right: 0px;
}

.container ul {
    padding-left: 5px;
}

.container ul li {
    list-style: none;
}

.container ul li::before {
    content: "• ";
    color: #76B820;
}

.header-menu .container ul li::before {
    content: "";
    display: none;
}

#offersCont {
    min-height: 300px; 
    padding: 60px 0;
}

#offersCont a, #offersCont a:hover {
    text-decoration: none;
}

#offersCont span {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: inline-block;
    padding: 15px 10px;
    color: #51658d;
}
#offersCont span:hover {
    border-top: 1px solid #76b820;
    border-bottom: 1px solid #76b820;
    color: #76b820;
}

table.cennik, table.personel {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

table.cennik tr td{
    width: 200px;
    text-align: center;
    padding: 5px 10px;
    background-color: #ddd;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    line-height: 1.2;
}

table.cennik tr td:first-child:not(.last){
    width: auto;
    text-align: left;
    background-color: #e9f0ff;
}

@media (max-width: 500px) {
    table.cennik tr td{
        width: 150px;
    }
}

table.personel tr td {
    padding: 10px;
    vertical-align: top;
}

table.personel tr td.zdjecie {
    width: 200px;
}

a.uslugi-menu.sub {
    font-size: 0.8em;
    padding: 6px 0 6px 10px;
    margin-left: 10px;
}

a.uslugi-menu {
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    padding: 15px 0 15px 2px;
    border-bottom: 1px solid #76b820;
    color: #51658d;
    width: 100%;
}
a.uslugi-menu:hover, a.uslugi-menu.active {
    color: #76b820;
    text-decoration: none;
}

.highlighted {
    padding-left: 1.5em; 
    border-left: 4px solid #76B820;
}

.button, .button:hover, .button:active {
    color: white;
    font-weight: bold;
    background-color: #51658D;
    border-top: 5px solid #76B820;
    border-radius: 0;
    padding: 8px 28px;
    text-decoration: none;
}

.oferta-separator {
    background: transparent url('../img/bg-oferta-separator.png') top center repeat-y;
}

footer {
    height: 325px;
    background: #e4e4e4 url('../img/bg-footer.png') top right no-repeat;
    color: #51658d;
}

footer.xs {
    height: auto;
    background: none;
    color: black;
    padding: 30px 0;
}

footer.xs a {
    color: #cc9d64;
}

footer > div.container, footer > div.container > div, footer > div.container > div > div {
    height: inherit;
}

#footerLogoCont {
    padding: 20px 20px 9px 20px;
    text-align: center;
    line-height: 1.5em;
}

#vert {
    position: absolute;
    bottom: 0px;
    right: 20px;
    height: 25px;
    line-height: 25px;
    color: white;
}
#vert img{
    position: relative;
    top: -5px;
}

#mapa-cloud {
    width: 433px; 
    height: 147px; 
    cursor: pointer;
    background: transparent url('/img/map-contact.png') top left no-repeat;
    transform: translate(0%, 0%);
}

#mapa-cloud.medycyna {
    width: 283px;
    height: 147px;
    cursor: pointer;
    background: transparent url('/img/map-contact-gold.png') top left no-repeat;
    transform: translate(0%, 0%);
}

.page-id-el {
    display: block;
    position: relative;
    top: -40px;
    visibility: hidden;
}

.cennik-medycyna h3 {
    margin-top: 30px !important;
}

/* CLASSES */

.cke .displayBlock {
    display: block;
}

.masonry,
.masonry .masonry-brick {
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -ms-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

.masonry {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.masonry .masonry-brick {
    -webkit-transition-property: left, right, bottom;
    -moz-transition-property: left, right, bottom;
    -ms-transition-property: left, right, bottom;
    -o-transition-property: left, right, bottom;
    transition-property: left, right, bottom;
}

.gallery-item {
    border: 1px solid #fff;
    float: left;
    padding: 0;
    text-align: left;
    width: 224px;
}
.gallery-item img {
    margin: 0 auto;
    width: 214px;
}


.colorWhite {
    color: white;
}

.positionRelative {
    position: relative;
}

.positionRelative small {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

.headerCont {
    height: 80px;
    background: transparent url('../img/bg-headers.png') top center no-repeat;
}

.headerCont .row{
    background-color: white;
}

.cke .headerCont h2{
    background: transparent url('../img/bg-headers-h2.png') top right no-repeat;
    color: white;
    line-height: 72px;
    font-size: 2.25em;
    padding: 8px 150px 0 60px;
    margin: 0;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery.masonry {
    margin: 0 auto;
    width: 100%;
}

.masonry-brick.gallery-item {
    margin-bottom: 10px;
}

.img-respons {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}

img[style*="left"] {
    margin:0 15px 0 0;
}

img[style*="right"] {
    margin:0 0 0 15px;
}

.catalog:first-child {
    margin-top: 0 !important;
}

.catalogs-image img {
    margin-bottom: 20px;
}

.text-links .btn {
    margin-bottom: 5px;
}

.margin-top-0 {
    margin-top: 0px !important;
}

.margin-top-10px {
    margin-top: 10px;
}

.margin-top-20px {
    margin-top: 20px;
}

.margin-top-50px {
    margin-top: 50px !important;
}

.margin-bottom-50px {
    margin-bottom: 50px;
}

.cke h1, .likeH1, .cke h2, .cke h3, .cke h4, .cke h5, .cke h6 {
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px
}

.cke h1, .likeH1 {
    font-size: 2.25em;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    border: 0;
    padding-bottom: 10px;
}

.cke h2 {
    font-size: 1.8em;
    margin-top: 18px;
}

.cke h3 {
    font-size: 1.6em;
    margin-top: 16px;
}

.cke h4 {
    font-size: 1.4em;
    margin-top: 16px;
}

.cke h5 {
    font-size: 1.3em;
    margin-top: 14px;
}

.cke h6 {
    font-size: 1.1em;
    margin-top: 12px;
}

.cke p {

}

.clearBoth {
    clear: both;
}

.alignRight {
    text-align: right;
}

.alignLeft {
    text-align: left;
}

.alignCenter {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }

    .header {
        margin-bottom: 30px;
    }	
}

@media (min-width: 768px) {
    div.images {
        margin-top: 20px;
    }

    .cke h1, .likeH1 {
        margin-bottom: 15px;
    }

    .catalog {
        margin-top: 15px;
    }
}

@media (min-width: 992px) {
    div.images {
        margin-top: 30px;
    }

    .cke h1, .likeH1 {
        margin-bottom: 20px;
    }

    .catalog {
        margin-top: 30px;
    }
}

@media (min-width: 1200px) {
    div.images {
        margin-top: 50px;
    }
    .cke h1, .likeH1 {
        margin-bottom: 30px;
    }
    .catalog {
        margin-top: 50px;
    }
}

@media (max-width: 1700px) {
    .headerTexts > span {
        font-size: 3.2em;
        line-height: 1.5em;
    }
}

@media (max-width: 1400px) {
    .headerTexts > span {
        font-size: 3em;
        line-height: 1.4em;
    }
}

@media (max-width: 1250px) {
    .headerTexts {
        left: 9%;
    }
    .headerTexts > span {
        font-size: 2.6em;
        line-height: 1.3em;
    }
}

@media (max-width: 1100px) {
    a#logoTopHorizontal {
        max-height: 55px;
        left: 20px;
    }
}

@media (max-width: 991px) {
    a#logoTop img {
        position: relative;
    }

    div.header-menu.fixed .back {
        display: none;
    }

    div.header-menu.fixed .back-link {
        display: inline;
    }

    div#mobileMenu {
        display: block;
        width: 135px;
        height: 60px;
        padding: 15px 25px 15px 0px;
        font-size: 1.8em;
        line-height: 1.2em;
        font-weight: 600;
        position: absolute;
        top: 0px;
        right: 17px;
        color: #51658D;
        cursor: pointer;
    }

    div#mobileMenu div.iks {
        width: 32px;
        height: 60px;
        padding: 15px 0;
        margin: 0 0 0 10px;
        position: absolute;
        top: 0px;
        right: 0px;
    }

    div#mobileMenu div.iks span{
        height: 4px;
        background-color: #76B820;
        width: 100%;
        display: block;
        margin: 5px 0 0 0;
        border-radius: 2px;
        -moz-transition: all .4s;
        -o-transition: all .4s;
        -webkit-transition: all .4s;
        transition: all .4s;
        position: relative;
        top: 0px;
    }

    .header-menu.fixed div#mobileMenu div.iks span {
        background-color: #cc9d64;
    }

    div#mobileMenu div.iks span.active:nth-child(1){
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 9px;
    }
    div#mobileMenu div.iks span.active:nth-child(2){
        opacity: 0;
    }
    div#mobileMenu div.iks span.active:nth-child(3){
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: -9px;
    }

    div.header-menu ul {
        min-height: 60px;
        position: absolute;
        top: 60px;
        right: 0;
        left: auto;
        width: 100%;
        margin: auto;
        display: none;
        padding: 0;
        background: transparent url('../img/bg-menu.png') top center repeat;
        border-bottom: 1px solid #51658D;
    }
    div.header-menu > ul > li, div.header-menu .container > ul > li {
        width: 100%;
        display: block;
        text-align: right;
        height: auto;
        float: none;
    }
    div.header-menu ul > li > ul > li > ul > li:first-child > a {
        padding: initial;
        height: auto;
    }
    div.header-menu > ul > li > a, div.header-menu .container > ul > li > a {
        text-align: right;
        width: 100%;
        padding: 12px 25px 11px 15px;
        float: none;
    }
    div.header-menu > ul > li > a:hover, div.header-menu .container > ul > li > a:hover {
        background-color: transparent;
    }

    div.header-menu > ul > li > ul, div.header-menu .container > ul > li > ul {
        position: relative;
        top: initial;
        left: auto;
        max-width: none;
    }

    div.header-menu > ul > li > ul > li, div.header-menu .container > ul > li > ul > li {
        float: none;
    }
    div.header-menu > ul > li > ul > li > a, div.header-menu .container > ul > li > ul > li > a {
        border: 0;
        text-align: right;
        display: block;
        float: none;
    }

    div.header-menu > ul > li > ul > li > ul, div.header-menu .container > ul > li > ul {
        position: relative;
        top: initial;
        left: auto;
        max-width: none;
    }

    div.header-menu > ul > li > ul > li > ul > li, div.header-menu .container > ul > li > ul > li {
        float: none;
        font-size: 0.8em;
        min-height: 40px;
    }
    div.header-menu > ul > li > ul > li > ul > li > a, div.header-menu .container > ul > li > ul > li > ul > li > a{
        border: 0;
        text-align: right;
        float: none;
        padding: 5px 35px 5px 15px !important;
        height: 40px !important;
    }

    div.header-menu .container {
        width: 100%;
        padding: 0;
    }

    div.header-menu.fixed ul {
        width: 100%;
    }
}

@media (max-width: 767px) {
    div.header-static {
        height: 200px;
    }
    div.header-static div.header-top-left {
        height: inherit;
    }
    div.header-static div.header-top-right {
        height: inherit;
    }
    a#logoTop img {
        left: 0px;
    }

    .cke .headerCont h2 {
        font-size: 1.25em;
        line-height: 50px;
        padding: 8px 100px 0 20px;
    }

    .headerCont {
        height: 58px;
    }

    .margin-top-50px {
        margin-top: 30px !important;
    }

    #mapa-cloud {
        width: 233px; 
        height: 147px; 
        background: transparent url('/img/map-contact.png') top left no-repeat;
    }
    #mapa-cloud:not(.medycyna) > div {
        display: none;
    }
    a.sub {
        display: none;
    }
    a.uslugi-menu.sub {
        margin-left: 0px;
        padding-right: 10px;
    }
    
    table.personel {
        
    }
    table.personel tr {
        
    }
    table.personel td {
        display: inline;
    }
    
}
@media (max-width: 450px) {
    a#logoTopHorizontal {
        max-height: 40px;
        left: 5px;
        top: 9px;
    }
    a#logoTopHorizontal img {
        max-height: inherit;
    }
}