@media only screen and (min-width:320px) and (max-width:568px) {
.navbar-expand-lg .navbar-nav .dropdown-menu{
   width: 335px;
   padding: 0px; 
}  
}
@media only screen and (min-width:375px) and (max-width:667px) {
.navbar-expand-lg .navbar-nav .dropdown-menu{
   width: 388px;
   padding: 0px; 
}  
}
@media only screen and (min-width:320px) and (max-width:768px) {
.navbar-collapse{
    position: absolute;
    top: 90px;
    background: #403888;
    z-index: 99;
    width: 100%;
    left: 0;
}
.appointment_sect {
  float: inherit;
}
.sign_up {
  background-color: #ffcc00;
  text-align: center;
  max-width: 155px;
  display: block;
  margin: 8px auto;
  color: #fff;
  float: initial;
  padding: 5px 35px;
}
.services_type {
  background: #ffa18d;
  border: 0.5px solid #ffa18d;
  border-radius: 10px;
  margin-bottom: 10px;
}
.navbar-expand-lg .navbar-nav .dropdown-menu{
    position: absolute;
    width: 380px;
    padding: 0px;
}
.cnt223{
    min-width: 100%;
    width: 100%; 
    padding: 0px 0px;
}
.popimage{
    height: auto;
}
.popimage img {
    height: auto;
}
.center-logo {
    display: none;
}
.dropdown-menu.multi-level li a{
    color: #fff;
}
.navbar-nav{
    width: 100%;
}
.navbar-nav .nav-item {
    padding: 8px 0px;
    border-bottom: solid 1px #fff;
    text-align: center;
}
.navbar-nav li a { 
    font-size: 14px;
    color: #fff;
}
.dropdown{
    text-align: center;
    border-bottom: solid 1px #fff;
    padding: 8px 0px;
}
button.owl-prev{
    left: -20px;
}
button.owl-next{
    right: -20px;
}
.carousel-inner {
    height: 300px;
}
.page-content-banner {
    position: relative;
    height: 150px;
    padding: 0;
    background-size: cover;
    background-position: center;
    margin-top: 0px;
}
.slider-home-two .content h2{
    font-size: 30px;
    line-height: initial;
}
   .mobile-logo{
    display: block
} 

    .logo-section img {
        margin: 10px auto
    }
    .top-contact-detail {
        margin-top: 10px
    }
    .top-contact-detail ul {
        text-align: center;
        float: none
    }

    .menu-section ul {
        display: none;     
        float: none;
        padding: 0;
        position: absolute;
        background-color: #000;
        width: 100%;
    }
    .menu-section ul li {
        display: block;
        padding: 10px 10px;
        margin-left: 0
    }
    .menu-section ul li a {
        color: #fff
    }
    .menu-section ul li a:hover {
        color: #fff
    }
    .menu-section ul li a.active {
        color: #333
    }
   
    .stunning-image img {
        padding: 0;
        display: block!important;
        margin: 0 auto!important
    }
    .copyright-section p {
        text-align: center
    }
   .menu-bar .container {
    padding: 0 0;
    height: auto;
}
.section-bottom-bar{
    text-align: center;
}
.copyright .powered{
    float: none;
}
.team-box-section {
    padding: 0 0px;
}


}

@media only screen and (min-width:768px) and (max-width:991px) {
.logo-section img {
    padding: 0 0;
    margin: 20px auto;
}
.navbar {
    padding: 0px 15px !important;
}
.mobile-logo{
    display: block
}
.center-logo {
    display: none;
}
.post-image img{
	width: 100%;
}
.top-contact-detail {
    padding: 15px 0
}
.top-contact-detail ul {
    text-align: center;
    float: none
}
.portfolio-detail figure img {
    width: 100%;
 }
.top-connect.social{
    float: left;
}
#minimal-bootstrap-carousel .carousel-caption .container .box .content {
    display: block;
    padding-top: 50px;
}
.chapter-titles{
    clear: both;
}

.flexslider{
    clear: both;
}
.prodtfo{
    clear: both;
}
.team-section-in{
    clear: both;
    padding-top: 20px;
}
.chapter-titles h3 {
    padding-top: 30px;
}
.grid-item img{
    object-fit: cover;
}
}


@media only screen and (min-width:1024px) and (max-width:1170px) {
 .menu-section ul li a {
    padding: 14px 28px;
}
.top-connect ul li a {
    color: #000;
    font-size: 15px;
}
.flexslider{
    clear: both;
}
.chapter-titles{
    clear: both;
}
button.owl-prev{
    left: -30px;
}
button.owl-next{
    right: -30px;
}
.prodtfo{
    clear: both;
}
.team-section-in{
    clear: both;
    padding-top: 20px;
}
.chapter-titles h3 {
    padding-top: 30px;
}
.grid-item img{
    object-fit: cover;
}
}
  @media (min-width: 992px){
.navbar-expand-lg .navbar-nav .dropdown-menu {
  position: absolute;
  left: -200px;
  
}
}
@media (max-width:480px) {
    .grid-col-2 .grid-item,
    .grid-col-2 .grid-sizer {
        width: 100%
    }
    .grid-col-3 .grid-item,
    .grid-col-3 .grid-sizer {
        width: 100%
    }
    .grid-col-4 .grid-item,
    .grid-col-4 .grid-sizer {
        width: 100%
    }
    .grid-col-5 .grid-item,
    .grid-col-5 .grid-sizer {
        width: 100%
    }
  .section-about {
        position: relative;
        display: block;
        padding: 0px 0;
        z-index: -1111;
    }

}

@media only screen and (max-width:640px) {
.header { 
    height: auto;
    line-height: initial;
}
.post-image img {
     width: 500px;
    height: 225px;
    object-fit: cover;
}
.dropdown-menu{
    left: 50%;
    transform: translateX(-50%);
}
.dropdown-menu li a{
    color: #333;
}
.contact{
   display:inline-block !important;
}
.header ul{
    text-align: center;
    padding-left: 0px;
}
.social {
    padding-top: 15px;
}
.social ul {
    margin-bottom: 10px;
}
ul.contact li{
    font-size: 13px;
}
ul.contact li:first-child {
    padding-bottom: 10px;
}
h1 {
    font-size: 1.5rem;
    font-weight: 600;
}
h2 {
    font-size: 1.5rem;
    font-weight: 600;
}
h3 {
    font-size: 1.2rem;
    font-weight: 600;
}
h5 {
    font-size: 1rem;
    font-weight: 600;
}
.carousel-caption {
    top: 7%;
}
.post-auth li {
    margin-right: 10px;
    font-size: 14px;
}
.blog-section .card, .team-section .card, .colmun-section .card {
    margin-bottom: 15px;
}
.tab-section .container {
    padding-left: 0;
    padding-right: 0;
}



}