@media (max-width: 1100px) {
    #hero-section {
        background-position: center;
        padding-top: 250px;
        padding-bottom: 100px;
        padding-left: 105px;
    }
    #book_appointment #content {
        margin: 0px 150px 0px 150px;
    }
    #book_appointment #content h3 {
        font-size: 16px;
    }
    #book_appointment #content #joint,
    #book_appointment #content #arthritis,
    #book_appointment #content #back,
    #book_appointment #content #sports,
    #book_appointment #content #book {
        height: 140px;
    }
    #doctors img {
        height: 230px;
        width: 100%;
        border-radius: 10px;
        margin-bottom: 28px;
    }
    #doctors-team img {
        width: 100%;
        height: 230px;
        margin-bottom: 32px;
    }
    .modal #insurance_companies img {
        width: 90%;
        height: auto;
        /* max-height: 105px; */
    }
}
@media (max-width: 768px) {
    body {
        width: 100%;
        max-width: 100%;
    }
    .navbar {
        height: auto;
    }
    .navbar-light .navbar-brand {
        padding-left: 20px;
    }
    .bg-light #navbarNav .navbar-nav .nav-item .nav-link {
        padding-left: 20px;
    }
    #footer {
        padding: 50px;
    }
    #footer #logo {
        text-align: left;
    }
    #footer img {
        margin-bottom: 30px;
        height: 60px;
    }
    #footer #social,
    #footer #info {
        margin-top: 20px;
    }
    #site_footer hr {
        visibility: visible;
    }
    #copyright {
        padding: 20px;
    }
    #hero-section {
        background-size: cover;
        background-position: bottom;
        padding-top: 200px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #mobile-card .card {
        border: none;
    }
    #hero-section .card {
        padding: 20px;
        width: 80%;
    }
    #hero-section .card h3,
    #mobile-card .card h3 {
        font-size: 23px;
    }
    #book_appointment #content {
        margin: 0px 20px 0px 20px;
        display: table;
    }
    #book_appointment #content #mobile_1,
    #book_appointment #content #mobile_2 {
        display: table-cell;
        padding: 10px;
    }
    #book_appointment #content #mobile_1 {
        background: #849DAA;
    }
    #book_appointment #content #mobile_1 h3 {
        color: #37383B;
        font-size: 16px;
    }
    #book_appointment #content #mobile_1 p {
        color: #ffffff;
        font-size: 11px;
    }
    #book_appointment #content #mobile_2 .btn {
        margin-top: 30px;
    }
    #home_about {
        padding: 20px;
    }
    #home_about .btn-dark {
        margin-bottom: 40px;
    }
    #doctors {
        margin-top: 20px;
        padding: 20px;
    }
    #doctors img {
        height: auto;
        width: 100%;
    }
    #feature {
        padding: 20px;
    }
    hr {
        visibility: hidden;
    }
    #cta #content {
        padding: 50px;
    }
    /* about us page */
    #about #top-section {
        margin: 30px;
    }
    #about #about_hero {
        margin-left: 30px;
        margin-right: 10px;
        margin-bottom: 30px;
    }
    #about #about_hero #hero_img {
        height: 200px;
        background-size: cover;
    }
    /* doctors page */
    #doctors-top {
        margin: 30px;
    }
    #doctors-team {
        margin: 30px;
        text-align: center;
    }
    #doctors-team img {
        width: 100%;
        height: auto;
        margin-bottom: 32px;
        margin-top: 20px;
    }
    /* services */
    #service-title {
        margin: 30px;
    }
    #service-items {
        margin: 30px;
    }
    /* diagnostics */
    #diag-items {
        margin-left: 30px;
        margin-right: 30px;
    }
    #diag-items img {
        height: auto;
    }
    #diag-items #radiology {
        margin-bottom: 18px;
    }
    /* contact us page */
    #contact {
        margin: 30px
    }
    #contact address {
        padding: 30px;
    }

    .modal-header img {
        padding-left: 10px;
    }
    .modal-full .modal-content {
        min-height: 100vh;
        height: auto;
        max-height: auto;
        overflow: scroll;
    }
    .modal-body {
        overflow-y: auto;
        position: relative;
    }
    .modal-body #right {
        padding-left: 10px;
        overflow-y: scroll;
    }
    .modal-body #right img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    .modal-body #left {
        padding-left: 10px;
        padding-right: 10px;
    }
    .modal-body #left img {
        height: auto;
        max-height: auto;
    }
}
@media (max-width: 500px) {
    #feature #content #joint {
        border-bottom: 1px solid silver;
        border-right: 1px solid silver;
    }
    #feature #content #back {
        border-bottom: 1px solid silver;
        border-right: 0;
    }
    #feature #content #sports {
        border-bottom: 1px solid silver;
        border-right: 1px solid silver;
    }
    #feature #content #fractures {
        border-bottom: 1px solid silver;
        border-right: 0;
    }
    #feature #content #arthritis {
        border-right: 1px solid silver;
    }
}

