@media only screen and (min-width: 992px) {
    .navbar ul li .dropdown-menu { display: block; opacity: 0; visibility: hidden; transition: 0.35s all; }
    .navbar ul li:hover .dropdown-menu { opacity: 1; visibility: visible; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 1400px) {
	.section-row { padding: 4rem 0; }
    h1, .h1 { font-size: 3.1rem; }
    h2, .h2 { font-size: 2.725rem; } 
    h3, .h3 { font-size: 2.3rem; }
    h4, .h4 { font-size: 1.675rem; }
    .section-title { margin-bottom: 2.5rem; }
    .hero-ico { height: 80px; width: 80px; }

}

/*==========================================================================================================*/
@media only screen and (max-width: 1199px) {
    h1, .h1 { font-size: 2.9rem; }
    h2, .h2 { font-size: 2.425rem; }
    h3, .h3 { font-size: 2.2rem; }
    h4, .h4 {font-size: 1.575rem; }
    h6, .h6 { font-size: 1.15rem; }
    .navbar ul li { margin-right: 0; font-size: 0.9rem; }
    .appointment-btn .btn { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
    .header-contact a figure { height: 35px; width: 35px; margin: 0 0.5rem 0 0; }
    body { font-size: 15px; }
    .social-links a { height: 35px; width: 35px; margin: 0 0.5rem 0 0; }
    .social-links a figure { width: 14px; height: 14px; }
    #header.headerfix { top: -55px; }
    .hero-ico { height: 66px; width: 66px; }
    .doctor-img-box .hero-ico-02 { left: 9%; top: 34%; }
    .doctor-img-box .hero-ico-04 { top: 46%; right: 7%; }
    .doctor-img-box .hero-ico-03 { left: 12%; top: 31%; }
    .portfolio-filter li a { padding: 0.7rem 1.5rem; }
    .accordion-button::before, .accordion-collapse::before { width: 4rem; font-size: 35px; }
    .accordion-button { font-size: 1.363rem; padding: 1.4rem 1rem 1.4rem 5.2rem; }
    .accordion-collapse { padding-left: 5.2rem; }

}

/*==========================================================================================================*/
@media only screen and (max-width: 991px) {
    body { font-size: 15px; }
    .section-row { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
    h2, .h2 { font-size: 2.225rem; }
    h3, .h3 { font-size: 2rem; }
    .navbar .navbar-toggler { display: block; }
    .appointment-btn { margin-left: 1rem; }
    .right-menubar .navbar { position: static; }
    .header-bottom { position: relative; }
    .navbar-collapse { background: #fff; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 78px); overflow: auto; border-bottom: 1px solid rgba(0,0,0,0.1); }
    .navbar ul li { border-top: 1px solid rgba(0,0,0,0.1); font-size: 1.05rem; margin-bottom: 0; } 
    .navbar ul.navbar-nav li a { padding: .5rem 1rem; position: relative; }
    .navbar ul li a.active, .navbar ul li:hover > a { background: #2864A4; color: #fff; }
    .dropdown .dropdown-toggle::after { position: absolute; top: 1.15rem; right: 0.8rem; }
    .navbar ul li .dropdown-menu { background-color: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0; }
    .navbar ul.navbar-nav li li a { padding: .5rem 2rem; }
    
    .hero-text h1 { margin-bottom: 0.4rem; font-size: 2.3rem; }
    .hero-ico { height: 50px; width: 50px; }
    .hero-ico-02 { left: 13%; top: 14%; }
    .hero-ico-03 { left: 43%; top: 16%; }
    .hero-ico-04 { right: 9%; top: 44%; }
    .portfolio-filter li { margin: 0.2rem 0; }
    .portfolio-filter li a { padding: 0.6rem 1.1rem; }
    .portfolio-filter { margin: 0; }
    .accordion-button { font-size: 1.163rem; padding: 1.1rem 1rem 1.1rem 4.5rem; }
    .accordion-button::before, .accordion-collapse::before { width: 3.6rem; font-size: 1.936rem; }
    .accordion-collapse { padding-left: 4.5rem; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 767px) {
	.btn { font-size: 0.9rem; }
    h1, .h1 { font-size: 2.6rem; }
    h2, .h2 { font-size: 1.925rem; }
    h3, .h3 { font-size: 1.8rem; }
    h4, .h4 { font-size: 1.375rem; }
    h5, .h5 { font-size: 1.2rem; }
    h6, .h6 { font-size: 1.05rem; }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin: 0 0 0.5rem; }
    .navbar-collapse { max-height: calc(100vh - 72px); }
    .navbar ul.navbar-nav li a { padding: 0.7rem 1rem; }
    .navbar ul li { font-size: 0.95rem; }
    .appointment-btn { display: none; }
    .navbar .navbar-toggler span, .navbar .navbar-toggler span::before, .navbar .navbar-toggler span::after { height: 2px; border-radius: 50px; }
    .navbar .navbar-toggler { height: 32px; width: 32px; }
    .navbar .navbar-toggler span::before { top: -10px; }
    .navbar .navbar-toggler span::after { bottom: -10px; }
    .hero-img-box { padding-top: 7rem; max-width: 350px; margin: 0 auto; width: 100%; }
    .hero-ico-03 { left: 43%; top: 7%; }
    .hero-text { padding: 0 0 2rem; }
    .hero-text h1 { font-size: 2.1rem; }
    .doctor-img-box { max-width: 300px; margin: 0 auto; }
    .reveal { visibility: visible !important; opacity: 1 !important; transform: scale(1) !important; }
    .contact-info-box { padding: 1.7rem 1.5rem; }
    .contact-info-box ul li figure svg { width: 40%; height: auto; }
    .contact-info h5 { font-size: 1.163rem; }
    #header.headerfix { top: 0; }
    .doctor-img { margin-bottom: 1.5rem; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 575px) {
    .section-row { padding: 2.5rem 0; }
    h1, .h1 { font-size: 2.3rem; }
    h2, .h2 { font-size: 1.4rem; }
    h3, .h3 { font-size: 1.5rem; }
    h4, .h4 { font-size: 1.175rem; }
    h5, .h5 { font-size: 1rem; }
    h6, .h6 { font-size: 1rem; }
    .section-title { margin-bottom: 1.2rem; }
    .hero-text h1 { font-size: 1.9rem; }
    .portfolioContainer > div { width: 33.333333%; }
    .service-box { box-shadow: 3px 6px 20px rgba(47, 123, 204, 0.2); padding: 1.3rem 1.5rem; }
    .f-logo { max-width: 160px; }
    #footer { font-size: 17px; }
}

/*==========================================================================================================*/
@media only screen and (max-width: 479px) {
    .portfolioContainer > div { width: 50%; }
    .service-box h5 { font-size: 1.2rem; }

}