/*
Theme Name: Avada Child
Theme URI: http://example.com/avada-child
Description: Avada Child Theme
Author: Ashraful Sarkar Naiem
Author URI: https://github.com/ashrafulsarkar/
Template: Avada
Version: 1.0.0
*/

/* Import the parent theme's stylesheet */
@import url("../Avada/style.css");

:root {
    --primary: #0179c1;
    --primary-light: #a9cbdf;
}

.trans-3 {
    transition: all .3s ease;
}

/* Add your custom CSS below */
.research_page {
    margin-left: 0 !important;
}

.research_page .avada-page-titlebar-wrapper {
    display: none;
}

.research_page #main {
    padding: 50px 30px !important;
}

.research_page .fusion-footer-widget-area {
    border-top: 0;
}

.cus_header {
    padding: 26px 30px;
    background: #0179C1;
}

.cus_header_part {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cus_header .fusion-row {
    max-width: var(--site_width);
}

.cus_header_title h2 {
    margin: 0;
}

.cus_header_title h2 a {
    font-size: 40px;
    color: #fff;
}

.cus_search_box {
    width: 554px;
    position: relative;
    z-index: 1;
}

.cus_search_box input.s {
    border: none !important;
    height: 50px !important;
    border-radius: 6px 6px 6px 6px !important;
    padding-left: 55px !important;
}

.cus_search_box .search-button {
    position: absolute;
    width: 50px;
    height: 50px;
}

.cus_search_box .search-button input {
    height: 50px !important;
    width: 50px !important;
    background: none !important;
    color: #8F8F8F !important;
    border-radius: 12px !important;
}

.search_btn {
    display: none;
}

.research_paper {
    padding: 24px;
    background: #F9F9F9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.paper_img {
    min-width: 100px;
}

.paper_img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.paper_details h3 {
    margin: 0;
    line-height: 1.2;
    font-size: 22px;
}

.paper_details h3 a {
    color: #020202;
    font-weight: bold;
}

.paper_meta_data ul {
    padding: 0;
    margin: 10px 0;
}

.paper_meta_data ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}

.paper_meta_data ul li {
    font-weight: 700;
    font-size: 16px;
    color: #020202;
}

.paper_meta_data p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
    color: #020202;
}

.paper_btn a {
    color: #0179C1;
    border: 1px solid #0179C1;
    padding: 8px 16px;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
}

.paper_btn a:hover {
    text-decoration: none;
    color: #020202;
}

.research-category {
    overflow-y: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    padding: 16px 16px;
}

.research-category .btn-cat {
    display: none;
}

.research_cat_part {
    display: flex;
    gap: 10px 17px;
    align-items: center;
    flex-wrap: wrap;
}

.research-category-content h4 {
    margin: 0;
}

.research-category-content h4 a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    opacity: 0.5;
    padding-bottom: 8px;
    color: #020202;
    white-space: nowrap;
}

.research-category-image {
    min-width: 14px;
    height: 14px;
}

.research-category-image img {
    width: 14px;
    height: 14px;
}

.research-category-content.selected h4 a {
    opacity: 1;
}

.research-category-content.selected h4 {
    border-bottom: 1px solid #020202;
}

.sidebar_form {
    padding: 32px;
    box-shadow: 0 0 0 1px #D9D9D9;
    border-radius: 12px;
}

.sidebar_form .image_part {
    text-align: center;
}

.sidebar_form .image_part h4 {
    margin: 0;
    font-size: 28px;
}

.sidebar_form .gform_wrapper {
    margin-bottom: 0 !important;
}

.sidebar_form label {
    font-size: 16px !important;
    padding-bottom: 10px !important;
}

.sidebar_form input {
    height: 37px !important;
    border: 1px solid #EAEAEB !important;
    border-radius: 6px !important;
}

.sidebar_form textarea {
    height: 100px !important;
    border: 1px solid #EAEAEB !important;
    border-radius: 6px !important;
}

.sidebar_form input[type="submit"] {
    width: 100%;
    text-align: center;
    border: none !important;
    box-shadow: none !important;
    background: #0179C1 !important;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 400;
}

.recent_post h3 {
    font-size: 28px !important;
    margin: 50px 0 32px 0;
    position: relative;
}

.recent_post h3::before {
    position: absolute;
    content: '';
    height: 1px;
    width: 150px;
    background: #D9D9D9;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.research-paper-recent {
    background: #F9F9F9;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 16px;
    border-radius: 12px;
}

.research-paper-recent h4 {
    font-size: 18px;
    line-height: 24px !important;
    margin: 0;
}

.research-paper-recent h4 a {
    color: #020202 !important;
}

.research-paper-excerpt p {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
}

.research-paper-excerpt p b {
    font-weight: 400;
}

.single_research_paper .peper_title h3 {
    font-size: 40px !important;
    margin: 0;
    line-height: 48px !important;
    color: #000000;
    margin-bottom: 32px !important;
}

.single_research_paper .paper_details {
    display: flex;
    flex-wrap: wrap;
}

.single_research_paper .paper_details .content {
    flex: 1;
    padding-right: 2rem;
    text-align: justify;
}

.single_research_paper .paper_details .paper_img_full {
    flex: 0 0 40%;
}

.paper_img_full img {
    width: 100%;
}

.post-type-archive-research_paper .avada-page-titlebar-wrapper,
.tax-research_category .avada-page-titlebar-wrapper,
.single-research_paper .avada-page-titlebar-wrapper {
    display: none;
}

.csingle_page_btn {
    margin: 20px 0;
}

.csingle_page_btn a {
    background: #007bbe;
    color: #fff;
    font-size: 16px;
    padding: 6px 20px;
    border-radius: 8px;
    text-align: end;
    display: inline-block;
    margin-bottom: 8px;
}

.research_page_pagination {
    margin-bottom: 30px;
}
.research_page_pagination.top .navigation {
    margin:0
}
.research_page_pagination nav {
    justify-content: center;
}

.research_page_pagination .page-numbers {
    font-size: 16px;
    min-width: 26px;
    text-align: center;
    display: inline-block;
    border-radius: 50% !important;
}

@media (max-width:1080px) {
    .single_research_paper .paper_details {
        display: flex;
    }

    .single_research_paper .paper_details .content {
        order: 2;
        padding: 0;
    }

    .single_research_paper .paper_details .paper_img_full {
        order: 1;
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 992px) {
    .cus_header_title h2 {
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .cus_header_title h2 a {
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .cus_search_box {
        width: 380px;
    }
}

@media screen and (max-width: 767px) {
    .cus_header_part {
        display: block;
        position: relative;
    }

    .cus_header_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .search_btn {
        display: block;
        color: #fff;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
    }

    .cus_search_box {
        width: 100%;
        position: absolute;
        left: 0;
        top: 46px;
        box-shadow: 0px 0px 4px 0px #00000038;
    }

    .cus_search_box.chide {
        display: none;
    }

    .research_paper,
    .research-paper-recent {
        display: block;
    }

    .paper_img {
        margin-bottom: 24px;
    }

    .recent_post h3::before {
        width: 0px;
    }

    .single_research_paper .peper_title h3 {
        font-size: 24px !important;
        line-height: 32px !important;
        margin-bottom: 16px !important;
    }
}

@media (max-width:600px) {
    .research-category .btn-cat {
        display: block;
        padding: 5px 10px;
        font-size: 15px;
        font-family: Lato, sans-serif;
        border: 1px solid var(--primary-light);
        background: none;
        transition: all .3s ease;
        cursor: pointer;
    }

    .research-category .btn-cat.active i {
        transform: rotate(180deg);
    }

    .research-category {
        margin-bottom: 15px;
    }

    .research-category .btn-cat:hover,
    .research-category .btn-cat.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .research-category .btn-cat i {
        margin-left: 5px;
        font-size: 70%;
    }

    .research-category .btn-cat:hover i {
        color: #fff;
    }

    .research_cat_part {
        display: none;
        margin-top: 15px;
        box-shadow: 0 5px 1rem rgba(0, 0, 0, .1);
    }

    .research-category-content h4 a {
        padding-bottom: 5px;
    }

    .research-category-content {
        padding: 5px 10px;
    }

    .custom_card_cat .research-category-content {
        width: 100%;
    }

    .custom_card_cat .research-category-content .research-category-title a {
        font-size: 16px;
        display: block !important;
        width: 100%;
        text-align: center;
        white-space: unset;
        padding: 6px 20px;
    }
}