/*
Theme Name: Medical
Theme URI: https://example.com
Author: Madan Bagara
Author URI: https://example.com
Description: A simple custom WordPress theme named Medical.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme
Text Domain: medical
*/

img {
    height: auto;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

a:visited,
.alink:visited {
    color: #5433FF
}

a,
img,
input,
button,
select {
    border: none;
    outline: none
}

a:hover,
img:hover,
input:hover,
button:hover,
select:hover,
a:focus,
img:focus,
input:focus,
button:focus,
select:focus {
    outline: none
}

a,
.alink {
    color: #5433FF;
    text-decoration: none
}

a:hover,
a:focus {
    color: inherit;
    text-decoration: none
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: normal;
    color: #323232;
    margin: 0;
    padding: 0;
    background: #5433FF;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #A5FECB, #20BDFF, #5433FF);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #A5FECB, #20BDFF, #5433FF);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 15px;
}

::-webkit-scrollbar-thumb {
    background: #20BDFF;
    border-radius: 15px;
    border: 1px solid #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 0 0 30px;
}
.custom-header-block{
    display: none;
}
.custom-header-block ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    color: #fff;
    cursor: default;
}

.custom-header-block ul li {
    background: #fff;
    padding: 6px 9px;
    color: #000;
}

.header-widget-area {
    color: #000;
    cursor: default;
}
.header-widget-area .widget_custom_html{
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-widget-area .textwidget.custom-html-widget {
    font-size: 30px;
}

.header-widget-area h4.widget-title {
    font-size: 38px;
    color: #fff;
    padding: 6px 16px;
    font-weight: 600;
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
}

.headertop {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    gap: 20px;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    /* flex: auto; */
}

.site-branding span {
    font-size: 56px;
    font-weight: 600;
    color: #ff0000;
    font-family: auto;
}

.site-branding img {
    max-height: 132px;
    margin-right: 15px;
    width: auto;
    max-width: 293px;
}

.desc-logo {
    display: block;
}

.toggle-btn {
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .4);
    cursor: pointer;
    display: none;
}

.toggle-btn img {
    width: 18px;
    vertical-align: middle;
}

.menu-close {
    display: none;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .4);
    cursor: pointer;
    border-radius: 100%;
    margin: 0 auto;
    margin-top: 50px;
}

.menu-close img {
    width: 14px;
    margin: 0 auto;
    vertical-align: middle;
    display: table;
    margin-top: 7px;
}

.header-megamenu-menu {
    /* box-shadow: 0 0 25px rgba(0, 0, 0, .35);
    -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, .35); */
    position: relative;
    z-index: 8;
    background-color: #fff;
    border-radius: 6px;
}

ul#menu-header-megamenu-menu {
    display: flex;
    align-items: center;
}

.header-megamenu-menu ul li a {
    font-size: 14px;
    display: block;
    min-height: 50px;
    line-height: normal;
    color: #FFFFFF;
    text-decoration: none;
}

.header-megamenu-menu>ul>li>a {
    text-transform: uppercase;
    color: #5433FF;
    font-weight: bold;
    display: inline-block;
    padding: 16px 5px;
}

.header-megamenu-menu>ul>li.current_page_item>a,
.header-megamenu-menu>ul>li.current_page_item>.menu-down-arrow,
.header-megamenu-menu>ul>li.current-menu-ancestor>a,
.header-megamenu-menu>ul>li.current-menu-ancestor>.menu-down-arrow {
    color: #fff;
    border-color: #fff;
}

.header-megamenu-menu>ul>li:hover>a {
    color: #fff;
}

.header-megamenu-menu>ul>li:first-child {
    border-radius: 6px 0 0 6px;
}

.header-megamenu-menu ul li {
    list-style: none;
    /* position: relative; */
}

.header-megamenu-menu>ul>li {
    padding: 0 15px;
}

.header-megamenu-menu>ul>li>ul li a {
    padding: 10px 0px !important;
}

.header-megamenu-menu>ul>li>.sub-menu {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    height: 0;
    overflow: hidden;
    position: absolute;
    top: 92%;
    left: 0px;
    right: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    /* transform: translateX(-10px);
    -webkit-transform: translateX(-10px);
    -ms-transform: translateX(-10px); */
    background-color: #5433FF;
    background-image: linear-gradient(to bottom, #f83600 0%, #f9d423 100%);
    min-width: 220px;
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    gap: 10px 2%;
    flex-wrap: wrap;
    padding: 10px 15px 15px;
    box-shadow: 0 5px 5px #0000005f;
    border-radius: 0 0 6px 6px;
}
.header-megamenu-menu>ul>li>.sub-menu>li>a{
    font-weight: bold;
    padding-top: 18px !important;
}
.header-megamenu-menu>ul>li>.sub-menu>li a:hover{
    color: #000;
}
.header-megamenu-menu>ul>li>.sub-menu>li {
    width: 15%;
    background: none;
}
.header-megamenu-menu>ul>li>.sub-menu>li:has(.sub-menu) >a{
    border-bottom: 1px solid #FFFFFF;
}
.header-megamenu-menu>ul>li>.sub-menu>li>.sub-menu> li a {
    padding: 10px 0;
    border: none;
    min-height: auto;
    line-height: normal;
    font-size: 13px;
}
.header-megamenu-menu>ul>li>.sub-menu>li:has(.sub-menu) >a:hover{
    color: #fff;
}

.header-megamenu-menu ul li:hover .sub-menu {
    height: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out, visibility .3s ease-in-out;
}

.header-megamenu-menu > ul > li:hover .sub-menu a {
    color: #FFFFFF;
    padding: 0;
}

.header-megamenu-menu ul li .sub-menu li:hover a {
    background: none;
}

.header-megamenu-menu ul li:hover .menu-down-arrow {
    border-color: #fff;
}

.header-megamenu-menu>ul>li>ul li .menu-down-arrow {
    display: none;
}

.menu-down-arrow {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    content: "";
    display: inline-block;
    height: 5px;
    right: 12px;
    /* position: absolute; */
    top: 20px;
    width: 5px;
    color: #FFFFFF;
    border-color: #5433FF;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: 3px 2px;
}

.header-megamenu-menu > ul > li.menu-item-has-children {
    margin-right: 0px;
    padding-right: 15px;
}


.header-megamenu-menu ul li.current_page_item,
.header-megamenu-menu ul li.current-menu-ancestor {
    background-color: #5433FF;
}
.header-megamenu-menu>ul>li:hover {
    background-image: linear-gradient(to top, #f83600 0%, #f9d423 100%);
}

.header-megamenu-menu ul li .sub-menu .current-menu-item a {
    color: #000;
}

.pagecontent_withsidebar {
    display: flex;
    gap: 10px;
    padding: 0 0 30px;
}

.content_side {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    flex: auto;
}

.sidebarright {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    width: 280px;
    min-width: 280px;
}

.sidebarright ul {
    list-style: none;
}

footer.footer {
    padding: 22px 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #000;
}

.sidebarright .searchform .screen-reader-text {
    font-size: 13px;
    padding: 0 0 5px;
    display: none;
}

.sidebarright .searchform>div {
    display: flex;
    align-items: center;
    gap: 0;
}

.sidebarright .searchform input[type="text"] {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    flex: auto;
    width: 100%;
    border-radius: 0 !important;
}

.sidebarright .searchform input[type="text"]:focus {
    border-radius: 0 !important;
    border: 1px solid #5433FF;
    outline: none;
}

.sidebarright .searchform input[type="submit"] {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #5433FF;
    width: 90px;
    background: #5433FF;
    color: #fff;
    cursor: pointer;

}

.sidebarright .widget {
    margin: 0 0 20px;
}

.sidebarright .widget:not(:first-of-type){
    margin: 0 0 0px;
    display: none;
}

.sidebarright h2.widget-title {
    font-size: 20px;
    border-top: 1px solid #ccc;
    padding: 15px 0 15px;
}

.sidebarright .custom-html-widget {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 0px 0 0;
    color: #5433FF;
}

.sidebarright #gallery-1 .gallery-item {
    float: none;
    width: auto;
}

.sidebarright #gallery-1 img {
    border: none;
}

.widget_recent_entries ul li {
    padding-left: 4px;
    list-style: none;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    line-height: 22px;
    position: relative;
}

.widget_recent_entries ul li a {
    display: flex;
    padding-left: 20px;
}

.widget_recent_entries li a:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    left: 1px;
    right: auto;
    top: 50%;
    background-color: #5433FF;
    margin-top: -4px;
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
    -ms-transform: translateY(-50%) rotate(-45deg);
}

header.page-header {
    margin: 0 0 25px;
}

header.page-header h1.page-title {
    font-size: 25px;
    color: #323232;
    font-weight: bold;
    margin: 0 0 20px;
}

h1.page_title {
    font-size: 25px;
    color: #5433FF;
    font-weight: bold;
    padding: 0 0 15px;
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px;
}

.home_section_title {
    font-size: 25px;
    color: #5433FF;
    font-weight: bold;
    padding: 0 0 15px;
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px;
}

.page_content {
    font-size: 15px;
    line-height: 25px;
}

.page_content p {
    margin: 0 0 20px;
    text-align: justify;
}

.page-template-home .page_content p {
    /*background: #f0feff;*/
    /*padding: 20px;*/
    border-radius: 5px;
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
}

.page-template-home .page_content p:last-child {
    margin-bottom: 30px;
}

.home_section_custom_dis p {
    /*background: #f0feff;*/
    /*padding: 20px;*/
    border-radius: 5px;
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
}

.homeabout_img {
    margin: 0 0 20px;
}

.homeabout_img img {
    width: 100%;
}
.archive .content_side_all_post,
.search-results .content_side_all_post:has(.PDF_Download){
    background: #f0feff;
    padding: 20px;
    border-radius: 5px;
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 30px;
}
.archive .content_side_all_post:last-child,
.search-results .content_side_all_post:last-child {
    margin: 0 0 0px;
}
.archive .content_side_all_post h1.page_title,
.search-results .content_side_all_post h1.page_title{
    margin-bottom: -1px;
    padding-bottom: 10px;
}
.archive .content_side_all_post .page_content,
.search-results .content_side_all_post .page_content{
    background: #fff;
    /* margin: 0 0 15px; */
}
.archive .content_side_all_post .page_content .read_div,
.search-results .content_side_all_post .page_content .read_div{
    padding: 0 15px 1px;
    margin: 13px 0;
}
h1.page_title span.author_name {
    font-size: 15px;
    color: #666;
    font-weight: normal;
    font-style: italic;
    text-transform: capitalize;
    display: block;
    margin: 5px 0 0;
}
.archive .content_side_all_post .page_content .read_div[style="display: none;"] + .doi_number_but,
.search-results .content_side_all_post .page_content .read_div[style="display: none;"] + .doi_number_but{
    display: none;
}

.content_side_all_post .PDF_Download {
    display: none;
    align-items: center;
    gap: 6px;
    background: #5433FF;
    background-image: linear-gradient(to top, #f83600 0%, #f9d423 100%);
    justify-content: center;
    padding: 8px;
    color: #000;
    border-radius: 6px;
    font-size: 18px;
    line-height: 30px;
    margin-top: 15px;
}
.archive .content_side_all_post .page_content:has(.read_div[style="display: block;"]) + .PDF_Download,
.search-results .content_side_all_post .page_content:has(.read_div[style="display: block;"]) + .PDF_Download{
    display: flex;
}
.doi_number_but {
    display: flex;
    justify-content: center;
    padding: 0 0 20px;
}
.odi_number{
    display: flex;
    align-items: center;
    gap: 6px;
    background: #5433FF;
    justify-content: center;
    padding: 8px 20px;
    color: #fff !important;
    border-radius: 6px;
}
.odi_number:hover{
    display: flex;
    align-items: center;
    gap: 6px;
    background: #20BDFF;
    justify-content: center;
    padding: 8px 20px;
    color: #fff !important;
    border-radius: 6px;
}
.read-link {
    padding: 5px 15px !important;
    background: #E6F0E6;
    color: #292929 !important;
    font-size: 15px;
    font-weight: bold !important;
    width: 100%;
    display: block;
    margin: 0 0 18px;
}
.page_content .instructions .ea-body ol, 
.page_content .instructions .ea-body ul{
    padding: 10px 0 20px 15px;
}
.page_content .instructions .ea-body ol li, 
.page_content .instructions .ea-body ul li{
    padding: 5px 0px;
}

.page_content .instructions .ea-header a{
    font-size: 16px !important;
    padding: 10px 15px !important;
}
.custom_from .form_header_title {
    font-size: 20px;
    padding: 14px 0;
    font-weight: 600;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 23px 0;
}
.custom_from .form_header_title:first-child{
    border-top: none;
}
.custom_from .form_headertop {
    padding: 0 0 20px;
    font-size: 18px;
    color: #555;
}
.custom_from .dr_title {
    font-style: italic;
    font-size: 16px;
    padding: 0;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 20px;
}
.custom_from .dr_names{
    font-weight: bold;
    font-style: normal;
    color: #000;
}

.custom_from .form_field_row {
    display: flex;
    gap: 20px 3%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.custom_from .input_field {
    width: 48%;
}
.custom_from .input_field_full {
    flex: 100%;
}
.custom_from .input_field label{
    font-size: 14px;
    font-weight: 500;
    color: #888;
}
.custom_from .input_field label span{
    color: red;
    font-weight: bold;
}
.label_info {
    font-size: 11px;
    color: #999;
    /* font-style: italic; */
    margin: 8px 0 0;
}
.custom_from .input_box .wpcf7-form-control-wrap{
    display: block;
}
.custom_from .input_box .wpcf7-form-control{
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 10px;
    color: #333;
    width: 100%;
}
.custom_from .input_box .wpcf7-form-control:focus{
    border-color: #5433FF;
}
.custom_from .form_info {
    padding: 20px 0 5px;
    color: #555;
    font-size: 15px;
}
.custom_from  .submit_button{
    padding: 20px 0;
}
.custom_from .submit_button .wpcf7-submit{
    background-color: #f83600;
    background-image: linear-gradient(to top, #f83600 0%, #f9d423 100%);
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    width: 100%;
    max-width: 150px;
}
.custom_from .wpcf7 form .wpcf7-response-output {
    margin: 0 0 12px;
}

@media only screen and (max-width:767px) {
    .container {
        padding: 0 10px;
    }
    .toggle-btn img {
        width: 26px;
        vertical-align: middle;
    }
    .toggle-btn {
        display: inline-block;
        position: absolute;
        left: 11px;
        top: 18px;
        width: 35px;
        height: 35px;
        border: 1px solid #000;
        background: #000;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }
    .header-megamenu-menu {
        position: fixed;
        background: #5433FF;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        overflow: auto;
        border-radius: 0;
        display: none;
    }
    .header-megamenu-menu.active {
        display: block;
    }
    .menu-close {
        display: block;
    }
    .menu-close img {
        width: 14px;
        margin: 0 auto;
        vertical-align: middle;
        display: table;
        margin-top: 7px;
    }
    .header-megamenu-menu>ul li {
        display: block;
        width: 100%;
        background: none !important;
        padding: 0 !important;
        position: relative;
        width: 100% !important;
    }
    .header-megamenu-menu>ul>li>ul li .menu-down-arrow {
        display: block;
    }
    .header-megamenu-menu>ul {
        padding: 20px 20px;
        flex-direction: column;
    }
    .header-megamenu-menu ul li a {
        font-size: 16px;
        padding: 16px 0;
    }
    .header-megamenu-menu>ul>li>a{
        color: #fff;
    }
    .header-megamenu-menu ul li .sub-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        width: 100%;
        height: auto;
        top: 0;
        /* padding-left: 50px; */
        max-height: none;
        display: none;
        padding-bottom: 20px;
        flex-direction: column;
    }
    .header-megamenu-menu ul li .sub-menu a {
        font-size: 14px;
        position: relative;
    }
    .header-megamenu-menu ul li .sub-menu a:before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        width: 3px;
        height: 3px;
        background-color: rgba(255, 255, 255, .5);
        top: 17px;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        display: none;
    }
    .header-megamenu-menu ul li a {
        /* min-height: 46px;
        line-height: 46px; */
    }
    .header-megamenu-menu ul li .sub-menu a:before {
        top: 18px;
    }
    .menu-down-arrow {
        position: absolute;
        display: block;
        right: 0;
        top: 8px;
        font-size: 18px;
        color: #c4c4c4;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 28px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        z-index: 1;
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        background-image:url(images/right-arrow.webp);
        background-size: 8px;
        background-repeat: no-repeat;
        background-position: center center;
        z-index: 1;
    }
    .menu-down-arrow.active{
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
    }
    .site-branding span {
        font-size: 28px;
    }
    .site-branding img {
        max-height: 60px;
        margin-right: 15px;
        width: auto;
        max-width: 150px;
    }
    .headertop {
        justify-content: center;
        gap: 16px;
        padding: 20px 0 0;
        flex-wrap: wrap;
        text-align: center;
        flex-direction: column;
    }
    .custom-header-block ul{
        flex-direction: row;
        font-size: 13px;
        gap: 3px;
    }
    .header-widget-area h4.widget-title {
        font-size: 23px;
    }
    .header-widget-area .textwidget.custom-html-widget {
        font-size: 16px;
    }
    .pagecontent_withsidebar{
        flex-direction: column;
    }
    .content_side {
        padding: 16px;
    }
    .sidebarright {
        padding: 16px;
        width: 100%;
    }
    h1.page_title {
        font-size: 20px;
        margin: 0 0 15px;
    }
    .custom_from .form_field_row {
        gap: 15px;
       flex-direction: column;
    }
    .custom_from .input_field {
        width: 100%;
    }
    .custom_from .form_headertop {
        padding: 0 0 15px;
        font-size: 16px;
    }
    .custom_from .form_header_title {
        font-size: 18px;
        margin: 18px 0;
    }
    .sidebarright h2.widget-title {
        font-size: 18px;
    }
    .sidebarright .custom-html-widget {
        font-size: 25px;
    }
    .home_section_title {
        font-size: 20px;
        padding: 0 0 10px;
        margin: 0 0 15px;
    }
    .page-template-home .page_content p {
        padding: 15px;
         font-size: 16px;
        line-height: 26px;
    }

}