

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,700');


body, html {
    font-family: 'Montserrat', sans-serif;

    /*background: #f1f3f8;*/
}

nav.navbar {
    height: 90px;
    background-color: #fff;

}

.partners img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
}

.movie {
    text-align: center;
    position: relative;
    padding: 30px 10%;
}

#popup {
    position: fixed;
    top:0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

#popup.in {
    visibility: visible;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.popup-content {
    text-align: center;
    width: 50vw;
    position: relative;
    max-height: 90vh;
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    width: auto;
}

.popup-close{
    height: 40px;
    width: 40px;
    background: #fff;
    border-radius: 40px;
    position: absolute;
    top:-20px;
    right: 20px;;
    text-align: center;
    line-height: 40px;
    color: #000;
    font-size: 40px;
    transform: rotate(45deg);
    cursor: pointer;
}

.movie span {
    position: absolute;
    font-size: 22px;
    height: 60px;
    text-align: center;
    width: 300px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto auto;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
}

.movie a {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;

}

.movie a:hover {
    background: rgba(25, 70, 187, 0.25);
}

.movie a:hover span {
    height: 0;

    overflow: hidden;
}

.movie i {
    height: 50px;
    width: 50px;
    background: url(../img/play.png) no-repeat center center;
    display: block;
    position: absolute;
    left: 0;
    top: 70px;
    right: 0;
    bottom: 0;
    margin: auto auto;
    background-size: 100% auto;
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.movie .cover {
    position: relative;
}

.movie a:hover i {
    opacity: 1;
    top: 0;
}

.movie img {
    max-width: 100%;

}

p {
    line-height: 1.6;
    color: #374875;

}

.nav-pills {
    padding-left: 100px;
}

.home-human {
    width: 200px;
    position: relative;
    margin: 0 auto;
}

.home-human .point {
    right: -200px;
    left: auto !important;
    width: 160px;
}

.coleczymy-lista {
    position: absolute;
    right: -180px;
    top: 20%;

}

.coleczymy-lista .list-item {
    padding: 8px;
    text-align: left;
}

.coleczymy-lista a {
    color: #fff;
    font-size: 16px;
}

#hero {
    /*height: calc(100vh - 130px);*/

}

.page-id-101 .offer-bg {
    background:
        url(../img/kobieta_na_pilce.jpg) no-repeat right top 270px;
    background-size: 50% auto;
}

.entry-content ul li {
    padding: 8px 0;
    line-height: 1.6;
}

.entry-content h3 {
    color: #061e5b;

}

.entry-content h3:after {
    display: block;
}

.page-id-97 .offer-bg {
    background: url(../img/dzieci_1.jpg) no-repeat left top,
        url(../img/dzieci_2.jpg) no-repeat right top 1000px,
        url(../img/dzieci_3.jpg) no-repeat bottom right;
    position: relative;

    background-size: 50% auto;
}

.offer-bg:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
}



.offer-submenu {
    background: #282851;
    padding: 20px 50px;

}

.offer-submenu-patient {
    margin-top: 30px;
    background: #1946bb;
}

.offer-submenu ul {
    padding-left: 0;
}

.offer-submenu h4 {
    color: #fff;
}

.offer-submenu a {
    color: #9a9acd;
    font-size: 15px;
}


#hero h1 {
    text-transform: uppercase;
    color: #0f2154;
    position: relative;
    left: -20%;
    opacity: 0;
    transition: all 0.4s ease 1s;
}

.usg-price {
    background: #091fba;
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    font-size: 18px;
}

#hero .slide.cycle-slide-active h1 {
    left: 0;
    opacity: 1;
}

.hero-content {
    width: 50%;
    color: #0f2154;
    padding-top: 6vh;
    padding-left: 5%
}

#slider > .slide {
    background: url(../img/hero_bg.jpg) no-repeat top center;
    background-size: 100% auto;
    height: 600px;
    width: 100%;
}
.slider-nav {
    padding: 0;
}

#slider > .kobiety-ciaza {
    background-image: url(../img/slider_ciaza.jpg);
}

#slider > .fizykoterapia {
    background-image: url(../img/fizykoterapia.jpg);
}

#slider > .rehabilitacja-dzieci {
    background-image: url(../img/slider_dzieci.jpg);
}

#slider > .joga {
    background-image: url(../img/slider_joga.jpg);
}

#slider > .diagnostyka {
    background-image: url(../img/slider_usg.jpg);
}

.hiding{
    opacity:0;
}
.showing{
    opacity:1;
}

nav.navbar {
    border-bottom: none;
}

.cycle-pager {
    position: absolute;
    bottom: 20px;
    z-index: 950;
    right: 0;
    left: 0;
    width: 100px;
    margin: 0 auto;
}

.cycle-pager > span {
    background: #132a77;
    display: inline-block;
    height: 10px;
    width:  10px;
    border-radius: 15px;
    margin-right: 8px;
    color: #132a77;
    line-height: 10px;
    cursor: pointer;
}

.cycle-pager > span.cycle-pager-active {
    background: #e50010;
    color: #e50010;
}

.hero-content p {
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 30px;
    position: relative;
    left: -10%;
    opacity: 0;
    transition: all 0.4s ease 1.2s;
}

.slide.cycle-slide-active .hero-content p {
    left: 0;
    opacity: 1;
}

.hero-content ul {
    padding-left: 0;
    list-style: none;
    transition: all 0.4s ease 1.3s;
    position: relative;
    left: -10%;
    opacity: 0;

}

.slide.cycle-slide-active .hero-content ul{
    left: 0;
    opacity: 1;
}

.hero-content ul li {
    width: 50%;
    float: left;
    padding-bottom: 5px;
    font-size: 1.1em;
    font-weight: 300;
    padding-left: 25px;
    background: url(../img/hero_li_h.png) no-repeat left top 5px;

}

.extra-hours {
    text-align: left !important;

}

.extra-hours span {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background: #28b4ca;
    border-radius: 20px;
}


.nav-pills > li > .sub-menu {
    position: absolute;
    top: 0;
    z-index: -1;
    list-style: none;
    background: #1f4bbd;
    padding: 0;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-pills > li:hover > .sub-menu  {
    opacity: 1;
    top: 40px;
    visibility: visible;
    z-index: 999;

}

.nav-pills > li > .sub-menu > li {
    padding: 0;
}

.nav-pills > li > .sub-menu > li > a {
    color: #fff !important;
    padding: 10px 10px;
    display: block;
    position: relative;
    overflow: hidden;
}

.nav-pills > li > .sub-menu > li > a:before {
    content: "";
    position: absolute;
    display: block;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 25px;
    left: -35px;
    transition: all 0.3s ease;
    background: rgba(229, 0, 16, 0.9);
}


.nav-pills > li > .sub-menu > li:hover > a:before {
    left: -17px;

}

.nav-pills > li > .sub-menu > li:hover > a {
    padding-left: 30px;
}

.nav-pills > li > .sub-menu > li {
    padding: 0;
}


#main-sections {
    margin-top: -50px;
}

.section-block {
    width: 33.33%;
    float: left;
    height: 328px;
    padding: 2%;
    padding-top: 17%;
    border-top: 3px solid #fff;
    transition: all 0.3s ease;

}

.section-block:hover{
    transform: scale(1.1, 1.1);
    -webkit-box-shadow: 1px 0px 78px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 0px 78px 1px rgba(0,0,0,0.3);
    box-shadow: 1px 0px 78px 1px rgba(0,0,0,0.3);
    position: relative;
    z-index: 999;
}

.przewlekly-bol {
    background: url(../img/przewlekly_bol.png) no-repeat;
}

.przewlekly-bol:hover {
    border-top-color: #0f2154;
}

.fizjoterapia {
    background: url(../img/fizjoterapia.png) no-repeat;
    background-size: cover;
}

.fizjoterapia:hover {
    border-top-color: #186d81;
}

.urazy {
    background: url(../img/terapia_urazow.png) no-repeat;
}

.urazy:hover {
    border-top-color: #132a77;
}

.section-block h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
}

.section-block a.more {
    color: #fff;
    text-transform: uppercase;
}

section{
    padding: 3% 0;
}

section.blue {
    background: #1946bb;
}

section.blue h2 {
    color: #fff;
    font-size: 40px;
    width: 200px;
    line-height: 1.3;
}

section.blue p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

section h2 {
    color: #0f2154;
    text-transform: uppercase;
}

.device-section p {
    color: #555555;
    font-weight: 300;
}

section h5 {
    margin-top: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}

section a.button-more, .about-section a.button-more, #ranking-panel a.more {
    background-color: #28b4ca;
    color: #fff;
    padding: 10px 40px;
    text-transform: uppercase;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 300;
    margin: 20px 0;
    display: inline-block;
}

.device-section p {
    width: 80%;
}

.device-section .text-box {
    padding: 5% 0;
}

.device-left {
    float: right;
}

.about-section {
    background-color: #3a62e4;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 2.5% 0;
}

.about-section p {
    font-weight: 300;
    width: 60%;
    margin: 15px auto;
}

.about-section a.button-more {

    position: absolute; 
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: inline-block;
    float: left;
    width:  10%;
}

.team-img {
    float: left;
    margin-right: 15px; 
    border-radius: 50px;
    overflow: hidden;
}

.team-persons {

}

.person-text ul li {
    padding: 5px;
    line-height: 1.6;
}

.person-desc {
    width: 100%;
}

.team-person {
    border: 1px solid #eeeeee;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    height: 125px;
    margin-bottom: 15px;
}

.team-img img {
    height: 100px;
}

.hours > div {
    padding: 5px 0;
}

.hours > div > div:first-child {
    text-align: right;
}

.hours > div > div:nth-child(2) {
    font-weight: bold;
}


.doctors-shedule {
    background: #f1f3f8;
    padding: 15px;
    margin-bottom: 15px;
}

.shedule-date {
    background: #091fba;
    color: #fff;
    /*min-height: 100px;*/
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
}

.shedule-date b {
    display: block;
    font-size: 25px;
    text-align: center;
    font-weight: 400;
}

.shedule-date > span {
    display: block;
}

.day-of-the-week {
    font-weight: 700;
}
.doctor-spec {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    height: 15px;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: hidden;
}

.doctor-date {
    display: block;
    font-size: 16px;
    text-align: center;
}

/*.doctor-spec:hover {
    position: absolute;
    overflow-x: visible;
    background: #fff;
}*/

.doctors-shedule-cell > div > div {
    padding: 0;
    padding-right: 15px;
}

.doctors-shedule-cell > div > div:first-child {
    padding-left: 15px;
}

.doctor-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.shedule-details {
    background: #fff;
    padding: 15px;
    min-height: 100px;
    text-align: center;
}
.doctor-hours {
    color: #333333;
    font-size: 19px;
    margin-top: 9px;
    display: block;
}

.doctors h3 {
    color: #071334;
    font-weight: 700;
}

.team-person h5 {
    margin-top: 5px;
    margin-bottom: 7px;
}

.team-person span {
    color: #555555;
    transition: all 0.3s ease-in-out;
}

.section-title, .section-desc {
    text-align: center;
}

.section-desc {
    width: 60%;
    margin:  20px auto 50px;
    font-weight: 300;
}

.team-person:hover {
    background-color: #28b4ca;
    color: #fff;
}

.team-person:hover span {
    color: #fff;
}

.person-desc {
    margin: 40px 0 30px;
}

.person-desc h4 {
    color: #0f2154;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 5px;
}

.person-desc span{
    color: #999999;
    display: block;
    margin-bottom: 20px;
}

.person-desc p {
    line-height: 1.7em;
    color: #555555;
}

.person-text {
    padding-top: 5%;
}

section.grey {
    background-color: #f0f0f0;
}

.partners > div > div {
    text-align: center;
}

.top-contact {
    height: 40px;
    /*background-color: #061e5b;*/
    color: #fff;
    font-weight: 300;
}

.top-contact a {
    color: #061e5b;
    text-decoration: none;
    font-weight: 700;
}

.icon-phone-top {
    background: url(../img/phone-i.png) no-repeat center  bottom;
    margin-bottom: -3px;
}

.icon-email-top {
    background: url(../img/mail-i.png) no-repeat center  bottom;
    margin-bottom: -1px;   
}

.icon-facebook-top {
    background: url(../img/fb_ico.png) no-repeat center  bottom;
    margin-bottom: -3px;   
}

.top-contact i {
    height: 16px;
    width: 16px;
    display: inline-block;
    margin-right: 10px;

}

.top-contact {
    line-height: 40px;
}

.navbar {
    margin-bottom: 0;
}

#navbar {
    margin-top: 20px;
    float: right;;
    width: 75%;
}

#navbar .nav-pills a {
    color: #2d4e9c;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    /*font-weight: 700;*/
    letter-spacing: 1px;
    white-space: nowrap;
}

.open-hours p {
    color: #fff;
}



#navbar .nav-pills a:hover, #navbar .nav-pills .current-menu-item a {
    color: #bd0432;
    text-decoration: none;
    /*border-bottom: 2px solid #30c2e3;*/
    background: none;
    white-space: nowrap;
}

#navbar .nav-pills > li:hover > a {
    background: #1f4bbd;
    color: #fff;;
}

#ranking-panel {
    position: fixed;
    left: -22%;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    background-color: #f7f7f7;
    width: 22%;
    height: 100%;
    padding: 1% 1%;
}

#ranking-panel:hover {
    left: 0;
}

#ranking-panel:after {
    content: "";
    display: block;
    height: 90px;
    width: 92px;
    background: url(../img/bookmark.png) no-repeat;
    position: absolute;
    right: -92px;;
    top:5%;
    cursor: pointer;
    border: 1px solid #dddddd;
    border-left: none;
}

#ranking-panel .line {
    height: 1px;
    background-color: #dddddd;
    margin: 10px 0;
}

.star-rating {
    margin-right: 10px;
    margin-bottom: 15px;
}

.star {
    height: 16px;
    width: 16px;
    display: inline-block;
}

.testimonial .star-rating {
    text-align: center;
}

.star-full {
    background: url(../img/star_full.png) no-repeat;
}

.testimonials .cycle-slideshow {
    margin-top: 15%;
}

#ranking-panel h2 {
    font-size: 24px;
    margin-top: 15px;
}

#ranking-panel h3 {
    font-weight: 700;
    font-size: 15px;
}

#ranking-panel p {
    color: #555555;
}

#ranking-panel .ratings {
    height: 65%;
    overflow-y: scroll;
}

.testimonial p.testimonial-text {
    background-color:  #fff;
    color: #333333;
    padding: 15px 10px;
    position: relative;
    margin-bottom: 30px;
}

.testimonial p.testimonial-text:after{
    content: "";
    /*background-color: #fff;*/ 
    position: absolute;
    height: 0;
    width: 0;
    bottom: -22px;
    border-top: 22px solid #fff;
    border-right: 22px solid transparent;
    left: 30px;
}

.testimonial-img {
    float: left;
    margin-right: 20px;
}

.testimonial span {
    display: block;
}

.testimonial .author {
    padding: 10px;
    display: block;
    font-weight: 700;
}

.autor-job {
    color: #777777;
    font-size: 13px;
}

/*NEWS & ARTICLES*/

.article-home {
    border: 1px solid #dddddd;
}

article h3 {
    color: #333333;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 0;
}

article p {
    /*color: #555555;*/
    font-size: 16px;
    line-height: 30px;
}

blockquote {
    background: #1946bb; 
    border-left: 0;
    padding: 50px;
    margin: 25px 0;
}

blockquote p {
    color: #fff;;

}

blockquote table {
    color: #fff;
    width: 100%;
    border: 1px solid #fff;
}

blockquote table tr td {
    padding: 20px;
    border: 1px solid #fff;
}

blockquote table tr > td:first-child {
    font-weight: 700;
}

blockquote table tr > td:nth-child(2) {
    font-weight: 700;
    white-space: nowrap;
    padding: 20px 40px;
}

#main h2 {
    color: #282851;
    border-bottom: 1px solid #282851;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 32px;
    line-height: 45px;

}

blockquote table tr > td:nth-child(3){
    font-size: 13px;
} 

.entry-content blockquote h3 {
    background: none;
    color: #fff;
    border-bottom: 0;
}

.entry-content blockquote h3:after {
    content: "";
    display: none;
}

.article-content {
    padding: 20px;
}

.home-articles {
    margin-top: 30px;
}

#primary {
    padding: 10px 0 40px;
}

footer {
    background-color: #071334;
    color: #fff;
    padding: 50px 0 30px;
    position: relative;
}

footer .footer-contact  {
    text-align: center;
    font-size: 16px;
    border: 1px solid #222d4a;
    padding: 30px 40px;
}

footer > div a {
    color: #fff;
    font-weight: 400;
}

footer i {
    height: 24px;
    width: 27px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

footer i.icon-phone {
    background: url(../img/phone_ico.gif) no-repeat;
}

footer i.icon-email {
    background: url(../img/mail_ico.gif) no-repeat;
}

footer i.icon-facebook {
    background: url(../img/facebook_ico.gif) no-repeat;
}

.credits {
    text-align: center;
    padding-top: 25px;
}

footer .button-more {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    /*    width: 10%;*/
    background-color: #28b4ca;
    color: #fff;
    padding: 10px 40px;
    text-transform: uppercase;
    border-radius: 20px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 300;
    display: inline-block;
    float: left;
    max-width: 200px;
    text-align: center;
}

.article-home p {
    height: 67px;
    overflow: hidden;
}

/*GALLERY STYLES*/

.gallery-columns-4 .gallery-item {
    float: left;
    width: 25%;
    padding: 0.3%;
}

.gallery {
    padding: 30px 0;
    overflow: auto;
}


.thumbnail-new img {
    max-width: 100%;
    height: auto;
}
.gallery-item img {
    max-width: 100%;
}

.gallery-size-medium .gallery-item {
    height: 232px;
    overflow: hidden;
}

h1.entry-title {
    color: #0f2154;
    text-transform: uppercase;
    margin-bottom: 40px;

}

#map-canvas {
    height: 400px;
}

/*CO LECZYMY*/

#human-shape {
    position: relative;
    height: 620px;
    width: 266px;
}

#human-shape img {
    max-height: 100%;
}

.human-part {
    position: absolute;
    /*opacity: 0;*/
    transition: all 0.3s ease;
}

.human-part:hover {
    opacity: 1;
}

.human-part.arm {
    top: 289px;
    left: 45px;
}

#blue-box {
    background-color: #28395a;

    border-radius: 10px;
    max-width: 365px;

}

.diseses-container {
    padding: 3% 0;
}

#blue-box h4 {
    background-color: #3d5582;
    color: #fff;
    padding: 15px 25px;
    margin-bottom: 0;
    margin-top: 2px;
    cursor: pointer;
}

#blue-box h4:hover {
    background-color: #3d5582;
}

#blue-box > h4:first-child {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

#blue-box > h4:nth-last-child(2) {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#back-to-list {
    background-color: #3d5582;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    padding-left: 30px;
    position: relative;
}

.part-desises {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.part-desises.active {
    overflow: visible;
    height: auto;
}

#back-to-list:before {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 12px;
    left: 12px;
}

#blue-box > div > div  {
    border-bottom: 1px solid #304160;
    padding: 15px 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

#blue-box > div > div:hover {
    background-color: #35aee1;
    margin: -15px;
    border-radius: 10px;
    padding: 15px 40px;
}

#blue-box > div > div:hover p {
    color: #fff;
}

#blue-box > div > div:after {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    right: 30px;
    top: 40px;
    transform: rotate(-45deg);
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.diseases-desc {
    display: none;
}

.point {
    content: "+";
    height: 30px;
    width: 30px;
    display: block;
    position: absolute;
    background-color: #0f2154;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 25px;
    border-radius: 30px;
    opacity: 0.9;
    font-size: 14px;
    padding: 0 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.point:after {
    content: "+";
    display: block;
    color: #fff;
    height: 20px;
    width: 20px;
    position: absolute;
    right: 5px;
    top: 0;
    font-size: 20px;
}

.point.active:after {
    content: "-";
    /*padding-right: 30px;*/
}

.point.active {
    width: 160px;
}

.point.shoulder {
    top: 19%;
    left: 19%;

}

.point.elbow {
    top: 32%;
    left: 71%;

}

.point.hip {
    top: 50%;
    left: 65%;

}

.point.knee {
    top: 69%;
    left: 29%;

}

.point.ankle {
    top: 89%;
    left: 66%;
}

.point.wrist {
    top: 48%;
    left: 10%;

}

#blue-box > div:hover:after {
    opacity: 1;
}

.disese-desc {
    display: none;
}


#blue-box p {
    color: #8997bd;
}

#blue-box h5 {
    color: #fff;
    margin-top: 0;
}

.doctors h5 {
    background-color: #0f2154;
    padding: 5px 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.doctors > div:hover h5  {
    background-color: #30c2e3;

}

.entry-content h3 {
    /*background: #fff;*/
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 25px;
    margin: 40px 0 20px;
}


.offer-promotion {
    text-align: center;
    color: #fff;
}

.offer-promotion span {
    padding: 5px;
    display: block;
}

.offer-promotion p {
    margin-top: 15px;
}

.offer-promotion p span {
    color: #fff;
}

.offer-promotion a {
    color:#fff;
    background: #bd0432;
    display: inline-block;
    padding: 5px 25px;
    border-radius: 20px;
    font-size: 18px;
    margin-top: 5px;
}

.offer-promotion .old-price {
    text-decoration: line-through;
}

.offer-promotion b {
    font-size: 30px;
}
#slider {
    position: relative;
}

.slider-nav {
    clear: both;
    /*position: absolute;*/
    /*top: 65vh;*/
    width: 100%;
    z-index: 999;
}

.slider-nav > div:first-child {
    background-color: #7595ee;
}
.slider-nav > div:nth-child(2) {
    background-color: #577de4;
}
.slider-nav > div:nth-child(3) {
    background-color: #3c67d9;
}
.slider-nav > div:nth-child(4) {
    background-color: #1c48bc;
}
.slider-nav > div:nth-child(5) {
    background-color: #061e5b;
}



.slider-item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    opacity: 0;
    transition: all 0.3s ease;

}

.slider-nav > div:nth-child(5):hover:after {
    background:  url(../img/nav_diagnostyka.jpg);
    opacity: 0.25;
}

.slider-nav > div:nth-child(1):hover:after {
    background:  url(../img/nav_1.jpg);
    ;
}

.slider-nav > div:nth-child(1):hover:after {
    background:  url(../img/nav_1.jpg);
    opacity: 1;
}

.slider-nav > div:nth-child(3):hover:after {
    background:  url(../img/nav_3.jpg);
    opacity: 1;
}

.slider-item {
    width: 20%;
    height: 150px;
    background-color: #3a62e4;
    float: left;
    color: #fff;
    line-height: 150px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.slider-item:hover{
    background-color: #28b4ca;
}

#hero {
    position: relative;
}

.open-hours-testimonial, .open-hours-testimonial > div {
    min-height: 390px;
}

h1.centrum-rehabilitacji {
    text-transform: uppercase;
    text-align: center;
    color: #061e5b
}

p.centrum-kontakt {
    text-align: center;
    font-size: 18px;
    margin: 15px 0;
    color: #061e5b;

    margin-bottom: 30px;
}

.open-hours {
    background: url(../img/open-hours-bg.jpg);
    background-size: cover;
    padding: 7% 4%;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

.open-hours .btn {
    margin-top: 20px;
}

.testimonials {
    background: url(../img/quote_ico.png) no-repeat center center;
    background-color: #fff;
    padding: 30px;

}

.testimonials-nav {
    width: 28%;
    float: left;
}

.arrow-left {
    background: url(../img/arrow_left.png) no-repeat center center;
}

.arrow-right {
    background: url(../img/arrow_right.png) no-repeat center center;
}

.testimonial-author {
    background: url(../img/ranking_lekarzy.jpg) no-repeat right 15px center;
    background-size: auto 27px;
    background-color: #f7f7f7;
    padding: 0 40px;
    color: #061e5b;
    height: 80px;
    line-height: 80px;
    margin-right: 2%;
    width: 70%;
    float: left;
}

.testimonials .arrow {
    background-color: #1946bb;
    height: 80px;
    width: 80px;
    display: inline-block;
    cursor: pointer;
}

.testimonials .arrow:hover {
    opacity: 0.7;
}

.testimonial img{
    clear: both;
    display:block;
    height: 61px;
    width: 61px;
    border-radius: 60px;
    margin: 20px auto;
}

.testimonial-author {
    visibility: hidden;
    opacity: 0;
    display: none;

}

.testimonial-author b {
    position: relative;
    top: -30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.testimonial-author.cycle-pager-active b {
    opacity: 1;
    top: 0;
}

.testimonial-author.cycle-pager-active {
    visibility: visible;
    opacity: 1;
    display: block;
}

.testimonial {
    position: absolute;
    top: 10%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto auto;
    height: 80%;
}
.testimonial p {
    color: #061e5b;
    font-size: 17px;
    text-align: center;
    width: 60%;
    margin: 20px auto;
}

.icon-watch {
    height: 32px;
    width: 32px;
    background: url(../img/watch-i.png) no-repeat center center;
    background-size: 100% auto;
    display: inline-block;
    margin-bottom: 15px;
}

.offer-submenu h4 {
    font-weight: 700;
    border-bottom: 2px solid #fff;
    padding: 10px 0;
    margin-bottom: 15px;
}

.close-mobile {
    display: none;
}

.offer-submenu ul > li a {
    padding: 8px 0;
    border-bottom: 1px solid #3e3e63;
    display: block;
    transition: all 0.3s ease;
}

.offer-submenu-patient ul > li a {
    color: #fff;
    border-bottom: none;
}

.offer-submenu-patient ul  {
    list-style: none;
}

.offer-submenu ul > li a:hover  {
    color: #fff;
    text-decoration: none;
}

.dziennik img {
    max-height: 500px
}

.btn.btn-primary {
    background: #e50010;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    text-transform: uppercase;
    border: none;
    -webkit-box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.25);
}

table.pricing tbody > tr:nth-child(odd) {
    background-color: #f2f6ff;
}


table.pricing tbody > tr:first-child, table.pricing tbody  td.pricing-sep {
    background-color: #1946bb;
    color: #fff;
    text-align: center;
}


table.pricing tbody > tr:nth-child(2){
    background: #7590d6;
    color: #fff;
    font-weight: 400;
}

table.pricing tbody > tr:nth-child(3){
    background: #a3b5e4;
    color: #fff;
    font-weight: 400;
}

table.pricing tbody > tr > td:first-child {
    width: 30%;
}

table.pricing tbody > tr > td:last-child {
    width: 40%;
}

table.pricing tbody > tr > td:nth-child(2) {
    text-align: center;
}
table.pricing tbody > tr > td:nth-child(3) {
    text-align: center;
}


table.pricing  td {
    padding: 20px 15px;
    border-right: 1px solid #eff2fa;
}

table.pricing tbody > tr > td:last-child {
    border-right: none;
}

.play-movie {
    height: 92px;
    width: 92px;
    position: fixed;
    top: 190px;
    left: 0;
    display: block;
    z-index: 999;
}

#font-change {
    right: 5%;
    height: 40px;
    display: flex;;
    color: #061e5b;
    justify-content: space-around;
    padding-top: 5px;
    line-height: 35px;
}

#font-change > div {
    padding: 0 10px;
    font-size: 16px;
    border: 1px solid #061e5b;

}


@media only screen and (min-width:600px) and (max-width:1024px) {
    .navbar-brand>img {
        max-height: 35px;
        margin-top: 8px;
    }
    .navbar-header {
        max-width: 8%;
    }

    #ranking-panel {
        top: 123px;
    }

    #hero {
        height: 415px;
    }

    .hero-content {
        padding-top: 1vh;
    }

    #hero h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    #slider > .slide {
        height: 425px;
    }

    #prev-testimonial {
        display: none;
    }
}


@media screen and (max-width: 600px) {
    #navbar {
        position: fixed;
        z-index: 999;
        background: #1946bb;
        width: 100vw;
        height: 100vh;
        top: 50px;
    }

    #popup {
            width: 100vw;
        }

        .popup-content {
            width: 90vw;
        }

    #navbar .nav-pills > li > a, #navbar .nav-pills > li .sub-menu a {
        text-align: right;
        font-size: 20px;
        color: #fff;
        white-space: nowrap;
    }

    .hero-content {
        width: 85%;
    }

    #slider > .slide {
        background: url(../img/hero_bg.jpg) no-repeat top right 35%;
        background-size: auto 100%;
        height: calc(100vh-150px);
    }

    #slider > .kobiety-ciaza {
        background-image: url(../img/slider_ciaza.jpg);
    }

    #slider > .fizykoterapia {
        background: url(../img/fizykoterapia.jpg) no-repeat top right 1%;
        /*background-size: 80% auto;*/
    }

    #slider > .rehabilitacja-dzieci {
        background: url(../img/slider_dzieci.jpg) no-repeat top right 32%;
    }

    #slider > .joga {
        background: url(../img/slider_joga.jpg) no-repeat top right 15%;;
    }

    #slider > .diagnostyka {
        background: url(../img/slider_usg.jpg) no-repeat top right 11%;
    }

    #slider > .slide:after {
        content: "";
        z-index: -1;
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
        background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
    }

    #slider > .slide ul {
        display: none;
    }

    #ranking-panel:after {
        display: none;
        content: "";
    }

    #ranking-panel {
        left: 0;
        bottom: calc(-100vh);
        height: 100vh;
        width: 100vw;
        padding: 15px;
    }

    #mobile-ranking-bookmark {
        height: 50px;
        width: 50%;
        position: absolute;
        top: -50px;
        background: #0f2154;
        color: #fff;
        padding: 5px 10px;
        left: 0;
    }

    #ranking-panel.show {
        bottom: 0;
    }

    #mobile-phone {
        background-color: #45db5e;
        color: #fff;
        height: 50px;
        position: absolute;
        top: -50px;
        width: 50%;
        right: 0;
    }

    #mobile-phone a {
        color: #fff;
        text-transform: uppercase;
        font-size: 18px;
        line-height: 50px;
        text-align: center;
        display: block;
    }

    #mobile-phone a:before {
        content: "";
        display: inline-block;
        height: 30px;
        width: 30px;

        background: url(../img/call_ico.png) no-repeat;
        background-size: 100% auto;
        margin-right: 10px;
        margin-bottom: -9px;
    }

    #mobile-ranking-bookmark b {
        font-size: 24px;
        display: block;
        width: 50%;
        float: right;
        line-height: 40px;
    }

    #mobile-ranking-bookmark span {
        display: block;
        width: 50%;
        float: left;
    }

    .top-contact {
        display: none;
    }

    .navbar-toggle .icon-bar {
        background: #071334;
    }

    .navbar-brand>img {
        max-height: 30px;
    }

    nav.navbar {
        height: 65px;
    }
    .testimonial p {
        width: 100%;
    }

    .testimonials-nav {
        display: none;
    }

    .testimonials {
        padding: 0;
    }
    .testimonial-author {
        width: 100%;

    }

    #testimonal-pagin {
        overflow: auto;
    }
    .testimonials .cycle-slideshow {
        margin-top: 0; 
        min-height: 440px;
    }

    .ranking-header {
        text-align: center;
    }

    .dziennik img {
        max-width: 50%;
        margin-top: 33px;
    }

    .dziennik {
        text-align: center;
    }

    .dziennik h2 {
        font-size: 32px !important;
        width: 100% !important;

    }

    .close-mobile {
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 10px;

    }

    .close-mobile span {
        font-weight: 700;
        color: #bd0432;
        font-size: 32px;
        transform: rotate(45deg);
        display: inline-block;
    }

    #ranking-panel .ratings {
        height: 56%;
        overflow-y: scroll;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #human-shape {
        display: none;
    }

    .diseases-desc {
        /*        position: absolute;
                right: -110%;
                display: block;*/

    }

    .diseases-desc.active {
        right: 0;
    }

    .nav-pills > li > .sub-menu {
        position: fixed;
        top: 80px;
        right: -110px;
        width: 100vw;
        height: calc(100vh);
    }

    .nav-pills > li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        top: 80px;


        right: 0;
    }

    #navbar .nav-pills .sub-menu a {
        text-align: right;
    }

    blockquote {
        padding: 30px;
        font-size: 14.5px;
    }

    .doctors-shedule-cell > div > div:first-child {
        padding-left: 15px;
    }

    .doctors-shedule-cell > div > div {
        /*        padding-left: 15px;*/
        margin-bottom: 15px;
    }

    .shedule-date {
        margin-bottom: 15px;
    }

    .partners img {
        max-width: 81%;
        max-height: 35px;
    }

    #hero h1 {
        font-size: 31px;
    }

    #navbar .nav-pills a:hover, #navbar .nav-pills .current-menu-item a {
        color: #fff;
        font-weight: 700;
    }
    .nav-pills {
        padding-left: 0;
    }

    #navbar .nav-pills a:hover, #navbar .nav-pills .current-menu-item a {
        text-align: right;
    }

    #slider > .slide.fizykoterapia ul {
        display: block !important;
    }
    #slider > .slide.fizykoterapia ul li {
        width: 100%;
    }

    .pop-overlay {
        display: none !important;
    }

    #popup img {
        max-width: 100%;
        max-height: 80vh;
    }

    .home-human {
        width: 200px;
        position: relative;
        margin: 20px;
    }

    .home-human .point {
        right: -50px;
        left: auto !important;
        width: 160px;
    }

    .coleczymy-lista {
        position: absolute;
        right: -110px;
        top: 3%;

    }

    .coleczymy-lista .list-item {
        padding: 8px;
        text-align: left; 
   }

    .coleczymy-lista a {
        color: #fff;
        font-size: 16px;
    }

    .movie {
        text-align: center;
        position: relative;
        padding: 30px 0;
    }

    .play-movie {
        height: 92px;
        width: 92px;
        position: fixed;
         top: auto; 
        left: auto;
        display: block;
        z-index: 99;
        right: 0;
        bottom: 50px;
    }
}