/* Higher than 1400 (desktop devices)
====================================================================== */
@media only screen and (min-width: 1400px) {
    .container{
     width:1320px;
     }
 
 }

/* Higher than 1200 (desktop devices)
 ====================================================================== */
 @media only screen and (min-width: 1200px) and (max-width:1399px) {

     p{
        font-size: 16px;
     } 
     /* =header= */
     .header .menu > ul > li > a{
        margin: 0 5px;
     }
     .main_logo a .dr_name h4{
        font-size: 26px;
     }

     .header .item-left{
        flex: 0 0 40%;
     }

     .header .item-center {
        flex: 0 0 60%;
    }

    .main_logo a .logo_img {
        width: 17%;
    }
    .header .menu > ul > li > a {
        font-size: 16px;
    }

     /* =about section== */
     section.about_new h2{
        font-size: 28px;
     }
     /* =my_speciality section=*/
     .my_special_content h1{
        font-size: 28px;
     }
     .my_specialties_box1 img{
        width: 150px;
        height: 150px;
     }
     .my_specialties_box1 h4{
        font-size: 18px;
     }

     .my_special_content {
        padding: 39px 0;
    }

     /* =parallax= */
     .parallax_sec p{
        font-size: 16px;
     }
 

 }
 
 /* /* /* Higher than 960 (desktop devices) 
 ====================================================================== */
 @media only screen and (min-width: 992px) and (max-width: 1199px) {

     
     .header .menu > ul > li > a {
        font-size: 14px;
        padding: 15px 0px;
        margin: 0px 7px;
    }
    .main_logo a .dr_name h5 {
        font-size: 12px;

    }

    .doctor_info h2 {
        font-size: 52px;
    }

    .doctor_info h4 {
        font-size: 24px;
    }

    p.sty {
        font-size: 20px !important;
    }

    .bg_banner {
        padding: 20px 0;
    }
    .book_details > h4 {
        font-size: 22px;
    }
 }
 /* Tablet Portrait (devices and browsers)
 ====================================================================== */
 @media only screen and (min-width: 768px) and (max-width: 959px) {
     .container {
         width: 720px;
     }
     p{
        font-size: 16px;
     }
     /* ====header nav==== */
     .header .mobile-menu-trigger{
        margin-left: 82%;
     }
    .main_logo{
        padding-left: 0;
    }
    .main_logo img{
        width: 11%;
    }
    ul.menu-main {
        text-align: left;
        

    }
    .main_logo{
        margin-top: 0;
    }
    .header .item-left{
        text-align: left;
        flex: 0 0 80%;
    }
    .header .item-right{
        flex: 0 0 20%;
    }
    .header .main_logo a{
        font-size: 26px;
    }
    .header .item-center{
        flex: 0 0 0;
    }

    .header .menu > ul > li .sub-menu.mega-menu.mega-menu-column-4.dropmenu{
        width: 100%;
    }
    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item{
        border: none;
    }
    /* = */
    .main_logo a .dr_name h4{
        margin-top: 0;
    }
    .main_logo a .dr_name h4{
        font-size: 24px;
    }
    ul.menu-main{
        padding: 0;
    }

     /* =about section= */
     .col-md-4.relative img{
        border-radius: 50px 0 0 0;
     }
     section.about_new h2{
        font-size: 24px;
        margin-top: 0;
     }
     section.about_new{
        padding: 50px 0;
     }

    /* =parallax= */
    .parallax_tint{
        padding: 50px 0;
    }
    .parallax_sec h3{
        font-size: 24px;
    }
    .parallax_sec p{
        font-size: 20px;
    }
    /* =my specialties= */
    .my_special_bg_color{
        padding: 50px 0;
    }
    .my_specialties_box1{
        width: 100%;
    }
    .my_special_content{
       padding: 69px 0;
    }
    .my_special_content h1{
        font-size: 24px;
    }
    /* =contact page= */
    .contact-form{
        width: 100%;
    }
    .contact_us{
        width: 100%;
        padding: 30px 15px;
    }
    section.contact_page {
        padding: 40px 0;
    }
    /* =bg banner= */
    .bg_banner{
        background-size: cover;
    }
    .doctor_info h2{
        font-size: 36px;
    }
    .doctor_info h4{
        font-size: 18px;
    }
    .doctor_info button{
        padding: 8px 15px;
    }
    .doctor_info{
        padding: 0;
    }
    .bg_banner{
        padding: 55px 0;
    }
 }
 
 /* All Mobile Sizes (devices and browser)
 ====================================================================== */
 @media only screen and (max-width: 767px) {
p{
    font-size: 16px;
}
p.sty {
    font-size: 16px !important;
    color: #ffffff !important;
}
/* ======nav bar==== */
.header .item-left{
    flex: 0 0 85%;
    text-align: left;
}
.header .item-center{
    flex: 0 0 0%;
}
header.header{
    position: initial;
}

.main_logo img{
    width: 15%;
}
.main_logo{
    margin-left: 5px;
}

.header .main_logo a{
    font-size: 20px;
}

.header .item-right{
    flex: 0 0 15%;
}
ul.menu-main{
    text-align: left;
    padding: 0;
}
/* = */
.main_logo a .dr_name h4{
    font-size: 24px;
    margin-top: 0;
}
.main_logo a .logo_img{
    width: 14%;
}
.main_logo a .dr_name h4 span{
    font-size: 14px;
}
.main_logo a .dr_name h5{
    font-size: 12px;
    margin: 0px;
}
.header .menu > ul > li > a:hover{
    border: none;
    padding: 0;
}

/* =about section= */
section.about_new{
    padding: 40px 0;
}
.col-md-4.relative img{
    border-radius: 30px 30px 0 0;
}
.left_content{
    padding: 0px 0 20px;
}
.row.about_new{
    margin: 0;
    border-radius: 30px;
}
section.about_new h2{
    font-size: 24px;
}
/* =parallax= */
.parallax_sec h3{
    font-size: 24px;
}
.parallax_sec p{
    font-size: 16px;
}
.parallax_tint{
    padding: 40px 0;
}
/* =my specialties= */
.my_special_content{
    padding: 0;
    margin-bottom: 30px;
}
.my_special_content h1{
    font-size: 24px;
    margin-top: 0;
}
.my_special_bg_color{
    padding: 40px 0 10px;
}
.my_specialties_box1{
    width: 100%;
    margin-bottom: 30px;
}
/* =footer= */
.footer_left{
    float: none;
}
.footer_right{
    float: none;
}
footer{
    text-align: center;
}
footer h4{
    line-height: 1.5;
    font-size: 16px;
}
/* =inner page= */
.inner_header{
    text-align: center;
}
.inner_header h2{
    font-size: 22px;
}
section.inner{
    padding: 40px 0;
}
ul.inner_ul li{
    padding-bottom: 15px;
    font-size: 18px;
}
ul.inner_sub_ul li{
    font-size: 16px;
}

ul.inner_ul{
    padding-left: 15px;
}
/* =bg banner= */
.doctor_info h2{
    font-size: 24px;
}
.bg_banner{
    background-size: cover;
    padding: 45px;
}
.doctor_info h4{
    font-size: 16px;
    margin: 15px 0;
}
.doctor_info button{
    font-size: 14px;
    padding: 6px 15px;
}
.doctor_info {
    text-align: center;
    padding-top: 0;
}
/* =contact page= */
.contact-form{
    width: 100%;
    padding-top: 30px;
}
.contact_us{
    width: 100%;
    margin-top: 30px;
    padding: 35px 15px;
}
section.contact_page{
    padding: 40px 0;
}
.contact-form .section_header h2{
    font-size: 18px;
}
ul.menu-main li {
    width: 100%;
}
img.academic_img {
    width: 100%;
}

 }
 /* Mobile Landscape Size to Tablet Portrait (devices and browsers)
 ====================================================================== */
 @media only screen and (min-width: 480px) and (max-width: 767px) {
 .container {
     width: 540px;
 }

 
 
 }
 
 