/* Mobile */
@media (max-width: 767px){
    .red-bg {
        margin-right: -15px;
        padding: 10% 5%;
    }
    .h1, h1 {
        font-size: 25px!important;
    }

    .h2, h2 {
        font-size: 20px!important;
    }

    br {
        display: none;
    }

    .modal-title {
        line-height: 25px;
    }

    .badge-info {
        line-height: 25px;
    }

    .navbar-light .navbar-toggler {
        color:#fff;
        border-color: transparent;
        text-align: right;
    } 
    
    .navbar-light .navbar-toggler i {
        font-size: 30px;
        font-weight: 400;
        padding-right: 10px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #19202A;
        text-align: center;
        padding: 15px 0;
        box-shadow: 3px 8px 3px -4px rgb(0 0 0 / 10%);
    }

    .nav-link {
        display: block;
        padding: 10px 0;
    }

    .nav-item {
        color: #fff;
    }

    .nav-link.active .nav-item {
        font-size: 16px;
        padding-bottom: 3px;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        top: 228%;
        left: 30px;
        float: none;
        min-width: 10rem;
        padding: 0;
        margin: 0.125rem 0 0;
        font-size: 15px;
        text-align: center;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 0;
        border-radius: 0;
        box-shadow: none!important;
    }

    .topbar, .header-icons, .krugerrands-absolute {
        display: none;
    }

    .mobi-logo img {
        width: 100%;
    }

    .mobi-header-icons {
        display: block;
    }

    .mobi-header-icons p, .mobi-header-icons a {
        margin-bottom: 5px;
        color: #070644;
        font-weight: 500;
        display: inline-block;
        padding: 0 10px;
    }
    
    .mobi-header-icons i {
        vertical-align: middle;
        line-height: 20px;
        font-size: 20px;
        color: #070644;
        width: 30px;
        text-align: center;
    }

    .header {
        padding: 0px;
        background-color: #19202A;
    }

    .header .col-12 {
        padding: 0;
    }

    .home-header {
        background-image: url('/images/home/mobile-header.jpg')!important;
        background-position: right 86% center;
        background-size: cover;
        padding: 11% 0;
    }

    .philosophy, .notice, .services {
        padding: 10% 0;
    }
    .team {
        padding-top: 10%;
    }

    .team h2, .our-practice h2 {
        font-size: 30px!important;
    }

    .our-services {
        padding: 10% 5%;
    }

    .digital-dentistry .container {
        padding: 7%;
    }

    .philosophy img {
        margin-bottom: 10%;
    }

    .associations img {
        width: 50%;
        height: auto;
    }

    .about-heading, .services-heading, .contact-heading {
        padding: 5% 0;
    }

    .contact {
        padding: 10% 0;
    }

    .footer p, .footer a {
        font-size: 17px;
        line-height: 40px;
    }

    .footer small {
        padding-right: 10px;
    }

    .footer i {
        font-size: 20px;
    }
}

/* Tablet & small screens: */
@media (min-width: 768px) and (max-width: 991px){
    .h1, h1 {
        font-size: 30px;
    }

    .h2, h2 {
        font-size: 25px;
    }

    .modal-title {
        line-height: 25px;
    }

    .badge-info {
        line-height: 25px;
    }

    .navbar-light .navbar-toggler {
        color:#fff;
        border-color: transparent;
        text-align: right;
    } 
    
    .navbar-light .navbar-toggler i {
        font-size: 30px;
        font-weight: 400;
        padding-right: 10px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        background-color: #19202A;
        text-align: center;
        padding: 15px 20px;
        box-shadow: 3px 8px 3px -4px rgb(0 0 0 / 10%);
        width: auto;
        max-width: max-content;
    }

    .nav-link {
        display: block;
        padding: 5px 0;
    }

    .nav-item {
        color: #fff;
        font-size: 15px;
    }

    .nav-link.active .nav-item {
        font-size: 16px;
        padding-bottom: 3px;
    }

    .navbar-collapse .dropdown-menu {
        position: static;
        top: 228%;
        left: 30px;
        float: none;
        min-width: 10rem;
        padding: 0;
        margin: 0.125rem 0 0;
        font-size: 15px;
        text-align: center;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 0;
        border-radius: 0;
        box-shadow: none!important;
    }

    .topbar, .header-icons, .krugerrands-absolute {
        display: none;
    }

    .mobi-logo img {
        width: 50%;
    }

    .mobi-header-icons {
        display: block;
    }

    .mobi-header-icons p, .mobi-header-icons a {
        margin-bottom: 5px;
        color: #070644;
        font-weight: 500;
        display: inline-block;
        padding: 0 10px;
    }
    
    .mobi-header-icons i {
        vertical-align: middle;
        line-height: 20px;
        font-size: 20px;
        color: #070644;
        width: 30px;
        text-align: center;
    }

    .header {
        padding: 0px;
        background-color: #19202A;
    }

    .header .col-12 {
        padding: 0;
    }

    .home-header {
        background-position: center right;
        background-size: 106%;
        padding: 4% 0;
    }

    .home-header h1 {
        line-height: 35px;
    }

    .home-header br {
        display: none;
    }

    .red-bg {
        margin-right: -2px;
        padding: 40px 20px;
    }

    .red-bg .col-md-4, .red-bg .col {
        padding-right: 0;
    }

    .associations .col-md {
        padding-left: 0;
    }

    .about-heading, .services-heading, .contact-heading {
        padding: 4% 0;
    }

    .team .card-body {
        min-height: 150px;
    }

    .team .card-body .btn-primary {
        position: absolute;
        bottom: 0;
        top: auto;
    }

    .services {
        padding-top: 5%;
    }

    .digital-dentistry .container {
        padding: 4%;
    }

    .footer p, .footer a {
        font-size: 15px;
    }

    .footer i {
        font-size: 25px;
    }
}

@media (min-width: 992px) and (max-width: 1199px){
    .topbar a, .topbar p {
        line-height: 23px;
        font-size: 14px;
    }

    .h1, h1 {
        font-size: 30px;
    }

    .h2, h2 {
        font-size: 25px;
    }

    .badge-info {
        font-size: 90%;
        line-height: 25px;
        vertical-align: middle;
    }

    .home-header {
        background-size: 104%;
        background-position: center right 110%;
    }

    .home-header br {
        display: none;
    }

    .red-bg {
        margin-right: -46px;
    }

    .team .card-body {
        min-height: 150px;
    }

    .team .card-body .btn-primary {
        position: absolute;
        bottom: 0;
        top: auto;
    }

    .services {
        padding-top: 4%;
    }
    .our-services br {
        display: none;
    }

    .about-heading, .services-heading, .contact-heading {
        padding: 3% 0;
    }

    .footer p, .footer a {
        font-size: 19px;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px){
    .home-header {
        background-position: center right -30%;
        background-size: 85%;
        padding: 4% 0;
    }

    .red-bg {
        margin-right: -4%;
    }

    .logo img {
        width: 58%;
    }

    .our-services dd {
        margin-bottom: 0;
    }

    .footer p, .footer a {
        font-size: 20px;
    }

    .footer i {
        font-size: 30px;
    }
}

/* 14” HD Laptop */
@media (min-width: 1391px) and (max-width: 1600px){
    .home-header {
        background-position: center right -30%;
        background-size: 94%;
        padding: 6% 0;
    }

    .red-bg {
        margin-right: -11.9%;
    }
}

@media (min-width: 1440px) and (max-width: 1600px){
    .home-header {
        background-position: center right -180%;
        background-size: 96%;
        padding: 7% 0;
    }

    .red-bg {
        margin-right: -14.9%;
    }
}

@media (min-width: 2500px) and (max-width: 3000px){
    .red-bg {
        margin-right: -65.3%;
    }
}