@media screen and ( max-width: 960px ){
    body {
        padding-top: 66px;
    }

    .carousel-caption h2 {
        font-size: 30px;
    }

    #header {
        height: 66px;
    }

    #header h1 a img {
        width: 100px;
        margin-left: 30px;
    }

    #header ul#main-menu {
        display: none;
        width: 100%;
        height: 100%;
        transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        -webkit-transition: all .25s ease-in-out;
        margin-top: 76px;
        line-height: 2em;
    }

    .nav-active #header {
        height: 100%;
        min-height: 480px;
    }

    .nav-active #header ul#main-menu {
        display: block;
    }

    #header ul#main-menu li {
        display: block;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.5em;
        text-align: center;
    }

    #header ul#main-menu li a {
        color: #1e2126;
        font-size: 150%;
        padding-bottom: 4px;
    }

    #header ul#main-menu li a:hover, #header ul#main-menu li a.active {
        text-decoration: none;
    }

    .scrolled #header h1, #header h1 {
        margin: 0;
        padding-top: 16px;
    }

    #header img.logo.secondary {
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #header img.logo.primary {
        display: none;
    }

    #mobile-nav {
        display: block;
    }

    #header ul#extra-menu {
        display: none;
    }

    .carousel,
    .carousel-inner .item,
    .carousel-inner .active {
        height: 286px;
    }

}

@media screen and ( max-width: 640px ){
    .homepage h3, .subpage h3 {
        font-size: 20px;
    }

    .what-we-do .item {
        padding-bottom: 20px;
    }

    .what-we-do .item h4 {
         font-size: 10px;
     }

    .carousel,
    .carousel-inner .item,
    .carousel-inner .active {
        height: 186px;
    }
    .carousel-caption h2 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 12px;
        width: 90%;
    }

    .carousel-indicators li {
        border-color: #d4ae7f;
        width: 10px;
        height: 10px;
        margin: 0 2px;
    }

    .carousel-indicators .active {
        background-color: rgba(213, 176, 130, 0.79);
        width: 10px;
        height: 10px;
        margin: 0 2px;
    }

    .btn-primary, .btn-primary-light {
        font-size: 9px;
        padding: 12px 35px;
    }

    .reviews .review {
        padding: 40px;
    }

    .reviews .review p.quote {
        font-size: 13px;
        line-height: 23px;
    }

    .reviews .review .more {
        bottom: -21px;
    }

    .reviews .review span.quote {
        background-size: contain ;
        height: 21px;
        width: 66px;
    }

    .reviews .review span.quote.quote-bottom {
        bottom: -13px;
    }

    .reviews .review span.quote.quote-top {
        top: -10px;
    }

    .reviews .review .header {
        top: -0.5em;
    }

    .gallery .header {
        top: -0.3em;
    }

    footer ul li a {
        font-size: 10px;
    }

    .help-menu {
        display: none;
    }

    .pagination > li > a, .pagination > li > span {
        font-size: 12px;
        padding: 16px 19px;
    }

    .subpage .articles h3 {
        margin-bottom: 40px;
        margin-top: 44px;
    }

    .subpage .article .article h1 {
        margin-bottom: 40px;
    }

    .subpage .article .article {
        margin-top: 44px;
    }

    .subpage .articles.sidebar {
        border: 0;
        margin-top: 14px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .reviews .review {
        padding-bottom: 20px;
        padding-top: 60px;
    }

    .reviews .review .date {
        left: 22px;
    }

    .subpage .about-us {
        padding-top: 40px;
    }

    .subpage .about-us h3 {
        margin-bottom: 30px;
    }

    .subpage .about-us .person img {
        padding: 3px;
    }

    .subpage .about-us .person h4 {
        font-size: 18px;
        margin-top: 1em;
        margin-bottom: 30px;
    }

    .place-description {
        margin-top: 40px;
    }

    .place-description h3 {
        background-size: 27px 42px;
        padding-left: 46px;
        padding-top: 14px;
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .doctor-description .details .info-2, .place-description .details .info-2 {
        word-break: break-all;
    }

    .doctor-header img {
        /*width: auto;*/
        width:80%;
    }

    .personnel .place .item img  {
        padding: 3px;
    }

    .personnel .place .item h4 {
        font-size: 20px;
        line-height: 0.9em;
        margin-top: 20px;
    }
}
