/* ==========================================================================
   IEETA Custom Styles
   Extracted from inline <style id="wp-custom-css"> block
   ========================================================================== */

/* --- Research Groups --- */
.img-rg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal_inv h2 {
    font-size: 16px !important;
    font-weight: 550 !important;
}

.principal_inv a {
    font-size: 16px;
    font-weight: 600;
}

.principal_inv {
    margin-bottom: 40px;
}

.member-rg a span {
    font-size: 15px;
    font-family: Lato, Roboto, sans-serif;
    font-weight: 600;
    color: #142441;
    line-height: normal;
}

.member-rg a span:hover {
    color: #FF8145;
}

.member-rg a {
    text-align: center;
    background-color: transparent !important;
}

.member-rg {
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
}

.members_section {
    text-align: center;
}

.img-rg {
    border-radius: 50%;
    border: none;
    overflow: hidden;
    width: 80px;
    height: 80px;
    margin: auto;
}

/* --- Projects --- */

.completed-project {
    color: blue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.ongoing-project {
    color: green;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.project-synopsis {
    font-size: 16px;
}

.project-box {
    cursor: pointer;
    padding: 25px;
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 40%);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-box:hover {
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 50%);
}

.project-info h1 {
    font-family: Lato, Roboto, sans-serif;
    line-height: normal;
    font-size: 22px;
    color: #142441;
    margin-bottom: 4px;
}

.project-info h1 a {
    font-family: Lato, Roboto, sans-serif;
    color: #142441;
}

.project-bottom {
    margin-top: 15px;
}

.project-bottom div {
    min-width: 160px;
}

.filter_people_input label {
    font-size: 13px;
}

h1 {
    font-family: Lato, roboto, sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.first_section div {
    display: flex;
    gap: 4px;
    align-items: baseline;
    margin-bottom: 10px;
}

.first_section div h4 {
    font-family: Lato, Roboto, sans-serif;
    font-size: 16px;
}

.first_section div p {
    font-family: Lato, Roboto, sans-serif;
    font-size: 16px;
}

/* --- Search --- */

.search-form {
    margin-bottom: 1rem;
}

.search-form fieldset {
    position: relative;
}

.search-field {
    position: relative;
    padding: 10px 5px 10px 10px;
    background: white;
    border: 1px solid #dddddd;
    line-height: 30px;
    font-size: 13px;
    color: #233145;
    border-radius: 0 7px 7px 0;
    width: 100%;
    height: 60px;
}

.search-submit {
    background-color: var(--e-global-color-484f4d5);
    font-family: "Lato", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    height: 60px;
    text-align: center;
    width: 100px;
    padding: 10px 5px 10px 10px;
    color: #fff !important;
    cursor: pointer;
    border-radius: 0 7px 7px 0;
    border: 0px solid gray;
    text-decoration: none;
}

/* --- About / Info --- */

.info-ieeta {
    background: linear-gradient(rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.3)), url('../images/wp-4.png');
    background-size: cover;
    height: 400px;
    width: 100%;
    background-attachment: fixed;
    position: relative;
}

.rg_info {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    padding: 40px 0 140px;
}

.rg_info h1 {
    margin-top: 1rem;
    font-family: "Lato", Sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--e-global-color-ac1bbe6)
}

.rg_info h2 {
    font-family: "Lato", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--e-global-color-2ab925a);
}

.rg_info .rg_people h2 {
    font-family: "Lato", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--e-global-color-2ab925a);
}

.info-inner {
    background-color: #F3F6FD !important;
    display: flex;
    justify-content: space-between;
    padding: 69px 30px;
}

.google-map-section {
    margin-bottom: 8rem;
}

.google-map-section .info-section .info-inner .single-info-box .icon-box {
    background-color: white;
    color: #293490;
}

.google-map-section .info-section .info-inner .single-info-box h4 {
    color: var(--e-global-color-2ab925a);
    font-family: "Lato", Sans-serif;
}

.google-map-section .info-section .info-inner .single-info-box p {
    color: var(--e-global-color-2ab925a);
    font-family: "Lato", Sans-serif;
}

.google-map-section .info-section .info-inner .single-info-box a {
    color: var(--e-global-color-2ab925a);
    font-family: "Lato", Sans-serif;
}

.google-map-section .info-section .info-inner .single-info-box a:hover {
    color: #FF8145;
}

.project-text {
    font-family: "Lato", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #142441;
}

.project-text:hover {
    color: #FF8145;
}

.info-text {
    height: 100%;
    background: rgb(41, 52, 144);
    background: linear-gradient(0deg, rgba(41, 52, 144, 1) 0%, rgba(41, 52, 144, 0.700717787114846) 0%, rgba(41, 52, 144, 0) 100%);
    padding: 40px 120px;
    margin: 0;
    text-align: center;
}

.info-text h1 {
    color: white;
    font-family: "Lato", Sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-top: 80px;
    text-align: center;
    margin-bottom: 0.4rem;
}

.info-text p {
    margin: auto;
    color: white;
    font-family: "Lato", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.button-sections a {
    color: white;
    border-radius: 0;
    border: none;
    padding: 10px 20px;
    background-color: #FF8145;
    font-family: "Lato", Sans-serif;
    font-weight: 500;
}

.button-sections a:hover {
    background-color: #F96E2C;
}

.info-text a {
    margin-top: 1.4rem;
    color: white;
    border-radius: 0;
    border: none;
    padding: 10px 20px;
    background-color: #FF8145;
    font-family: "Lato", Sans-serif;
    font-weight: 500;
}

.recent-projects {
    font-family: "Lato", Sans-serif;
    font-size: 32px;
    width: 40%;
    font-weight: 700;
}

.info-text a:hover {
    background-color: #F96E2C;
}

#projects {
    padding: 120px 0 120px 0;
}

#publications {
    padding: 140px 0 140px 0;
}

/* --- All Projects Page --- */

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

.project-top-no {
    position: absolute;
    right: 50px;
}

.project--middle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.right {
    display: inline-block;
    width: 2.4em;
    height: 2.4em;
    border: 0.18em solid #FF8145;
    border-radius: 50%;
    margin-left: 1.5em;
}

.right:after {
    content: '';
    display: inline-block;
    margin-top: 0.6em;
    margin-left: 0.5rem;
    width: 0.8em;
    height: 0.8em;
    border-top: 0.17em solid #FF8145;
    border-right: 0.17em solid #FF8145;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.projects--nav {
    margin: auto;
    max-width: 1200px;
    display: flex;
    justify-content: end;
    margin-top: 44px;
}

.pagination span.current,
.pagination span:hover,
.pagination a:hover,
.pagination a.current {
    background: #FF8145;
    border-color: transparent;
}

.pagination span,
.pagination a {
    height: 54px;
    width: 54px;
    line-height: 50px;
}

.projects--nav a:hover {
    color: white !important;
}

.pagination span,
.pagination a {
    border-radius: 0;
}

.projects {
    margin: 12px 0 124px 0;
}

.project--box h1 a {
    padding-bottom: 4px;
    margin-top: 1.4rem;
    font-family: Lato, Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.8rem;
    font-weight: 600;
    color: #142441;
}

.project--box p {
    font-family: Lato, Roboto, sans-serif;
    font-size: 14px;
}

.project--box {
    padding: 8px 0 8px 0;
    max-width: 1200px;
    margin: auto;
    position: relative;
    border-bottom: 1px solid #c7d0d9;
}

.project--info {
    margin-top: -4px;
    display: flex;
    gap: 24px;
}

.project-field p {
    color: #848484;
}

.current-menu-item a {
    color: #FF8145 !important;
}

.title-projects {
    font-family: Lato, Roboto, sans-serif;
    margin: 0 0 3rem;
    font-size: 32px;
    font-weight: 600;
}

.projects h5 {
    font-size: 16px;
    font-weight: 600;
    color: #293490;
}

.projects-div {
    background-color: #F3F6FD;
    padding: 40px;
    margin: 75px 0 100px 0;
    box-shadow: rgb(99 99 99 / 20%) 1px 1px 2px 0px;
}

.project--box p:nth-child(1) {
    font-size: 11px;
}

.project--category_completed {
    color: blue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    margin-bottom: -1.4rem;
}

.project--category {
    color: green;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    margin-bottom: -1.4rem;
}

.project-ind-category {
    color: green;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.project-ind-category-completed {
    color: blue;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.project--info {
    margin-bottom: 20px;
}

.projects a {
    color: blue;
}

.projects a:hover {
    color: #FF8145;
}

.page-title {
    display: none;
}

/* --- Header --- */

.header-lower {
    background-color: #f3f6fd;
    flex: 0.7;
}

.header-upper {
    flex: 0.3;
}

.scroll-top {
    border: 3px dashed #FF8145;
    color: #FF8145;
    line-height: 20px;
}

.sec-title h6:before {
    filter: hue-rotate(195deg);
    display: none;
}

.sec-title h6:after {
    filter: hue-rotate(195deg);
    display: none;
}

.sec-title h6 {
    color: #FF8145;
}

/* --- Project Specific --- */

.project-field {
    margin-bottom: 1.4rem;
}

.project--middle {
    margin-bottom: -2rem;
}

.project--box h1 {
    font-size: 100%;
    margin: 1.2rem 0 .4rem 0;
}

/* --- Member Profile --- */

.list-group-item {
    padding: 0;
}

.image-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.list-group-item a {
    background-color: transparent !important;
    text-decoration: underline;
    color: #007bff !important;
}

.list-group-item h6 {
    font-weight: 600;
    color: #293490;
}

.member-info-flex {
    gap: 0.4rem;
    align-items: center;
    padding-left: 18px;
}

.member-info-flex h6 {
    font-weight: 600;
    color: #293490;
    font-size: 18px;
}

.member-card .member-info-flex a {
    background-color: transparent;
    margin-top: 0;
}

.text-muted {
    font-weight: 400;
}

.team--member a {
    color: #007bff !important;
    border: none;
    font-weight: 500;
}

.member_project a {
    background-color: transparent !important;
}

.member-details .name a {
    font-family: Lato, Roboto, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #142441;
}

.team--member {
    max-width: 1200px;
    margin: auto;
    padding: 0 10px 140px 10px;
}

.team--member .card {
    border: none;
}

.member-card {
    padding: 26px 26px 40px 28px;
    background-color: #f3f5f7;
}

.member-card h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.member-card h1 {
    font-size: 28px;
    font-weight: 700;
    font-family: Lato, Roboto, sans-serif;
}

.member_ids {
    display: flex;
    gap: 4rem;
}

.member_ids a {
    text-decoration: underline;
}

.box-member {
    position: relative;
}

.member-details .research-group {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    font-family: Lato, Roboto, sans-serif;
    font-weight: 600;
    margin-right: 10px;
    background: #F3F6FD;
    color: #273171;
    border-radius: 0px 0px 10px 10px;
    font-size: 12px;
}

.member-card p a {
    background-color: transparent;
}

.member-details .name a:hover {
    color: #FF8145;
}

.member-details .member-type {
    font-family: Lato, Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #848484;
}

/* --- Sidebar --- */

.blog-sidebar .widget-title h3 {
    font-size: 15px;
    font-family: Lato, Roboto, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.filter_button button {
    padding: 10px;
    background-color: #FF8145;
    text-align: center;
    width: 100%;
    color: white;
    font-weight: bold;
    margin: 0 0 0.8rem 0;
}

.filter_people_input {
    margin-bottom: 4.5rem;
}

.filter_reset {
    text-align: center;
}

.filter_reset button {
    color: #007bff;
}

.classyea-search-popup .classyea-search-form fieldset input[type="search"] {
    font-size: 16px !important;
}

/* --- People --- */

.people-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 0 200px 0
}

.box-member {
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 40%);
    padding: 20px 18px 20px 0;
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    align-items: center;
    cursor: pointer;
    line-height: 21px;
}

.box-member:hover {
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 65%);
}

.mt-3 h4 {
    font-size: 28px;
    font-weight: 700;
    font-family: Lato, Roboto, sans-serif;
    margin-bottom: 4px;
}

.mt-3 p:nth-child(2) {
    font-size: 18px;
}

.mb-24 {
    margin-bottom: 24px;
}

.image-box {
    width: 110px;
    height: 110px;
    border-radius: 10%;
    border: none;
    overflow: hidden;
    display: block;
}

.image-box-personal {
    border-radius: 50%;
    border: none;
    overflow: hidden;
    display: block;
    border: 6px solid white;
}

.image-box-personal img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.blog-sidebar {
    margin-left: 0;
}

.sidebar-widget .nice-select {
    max-width: 100%;
}

.nice-select .option {
    font-size: 13px;
}

.nice-select {
    font-size: 13px;
    padding: 0px 10px;
}

.blog-sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 14px;
}

.blog-sidebar .widget-title {
    position: relative;
    display: block;
    margin-bottom: 12px;
}

/* --- RSS --- */

.elementor-widget-container h5 {
    display: none;
}

/* --- Teachpress --- */

.entry-breadcrumbs span a {
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.teachpress_pub_list {
    display: flex;
}

.tablenav {
    display: none;
}

.tablenav~.tablenav {
    display: block;
    position: absolute;
}

.tab-top {
    top: 0;
    left: -10rem;
}

.tab-bottom {
    bottom: 0;
    left: -10rem;
}

.breadcrumb-current {
    margin-top: 0.1rem;
    font-size: 14px;
    text-align: left;
}

.entry-breadcrumbs {
    gap: 0.25rem;
}

.catch-breadcrumb {
    width: 1200px;
    border-bottom: 0.2px solid #ebedf0;
}

.teachpress_pub_list {
    gap: 1.6rem;
    margin-top: 70px;
    margin-bottom: 140px;
}

.teachpress_publication_list {
    width: 100%;
}

#tp_search_input_field {
    width: 280px;
    padding: 1rem;
    margin-bottom: 7px;
    border: 1px solid #dddddd;
}

.teachpress_search_button {
    width: 100%;
    display: block;
    margin: auto;
}

.teachpress_search_button input:hover {
    background-color: #FF8145;
    color: white;
}

.displaying-num {
    display: none;
}

.nice-select .list {
    width: 100%;
}

.tp_pub_title a {
    font-weight: 600;
    color: #142441;
}

.tp_pub_list li i {
    color: #007bff;
}

.teachpress_search_button input {
    width: 100%;
    background-color: #FF8145;
    border: none;
    padding: 10px;
    border-radius: 0;
}

.block {
    margin-bottom: 12px;
}

input.tp_search_button {
    margin: 0;
}

/* --- Positions Page --- */

.nav-pills li {
    margin-right: 4px;
    padding: 12px;
}

.nav-pills li a {
    color: #293490;
    font-weight: 500;
}

.nav-pills li .active {
    background-color: #FF8145;
    border-radius: 5px;
    padding: 12px;
    color: white;
    font-weight: 600;
    font-family: Lato, Roboto, sans-serif;
}

.breadcrumb-projects {
    margin-top: 1rem;
}

.positions-section {
    margin: auto;
}

.positions-section h1 {
    font-size: 28px;
    font-weight: 700;
    font-family: Lato, Roboto, sans-serif;
    margin-top: 1.4rem;
}

.card-content {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    padding: 0 12px 0 12px;
}

.card-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #293490;
    font-family: Lato, Roboto, sans-serif;
}

.position-top {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    padding: 0 18px 0 12px;
}

.position-top p {
    font-family: Lato, Roboto, sans-serif;
    font-size: 14px;
}

.position-top i {
    font-size: 16px;
    color: #848484;
}

.card-body {
    padding: 0 12px 0 12px;
}

.card-body a {
    width: 100%;
    margin-top: 1rem;
    border-radius: 0;
    background-color: #293490;
    border: none;
    font-weight: 500;
}

.card-content p {
    font-family: Lato, Roboto, sans-serif;
    font-size: 14px;
}

.card-position {
    margin-top: -1.6rem;
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 40%);
    padding: 5px 18px 28px 18px;
    cursor: pointer;
    background-color: #F3F6FD;
    border: 1px solid rgb(0 0 0 / 7%);
}

.content-wrapper .card:hover {
    box-shadow: 0 2px 8px 0 rgb(199 208 217 / 65%);
}

.content-wrapper .card h1 {
    font-family: Lato, Roboto, sans-serif;
    font-size: 17px;
    text-align: left;
    font-weight: 600;
    color: #142441;
    padding: 0 12px 0 12px;
}

.position_type {
    padding: 0.2rem;
    border-radius: 10%;
    background-color: #FF8145;
}

.position_type p {
    color: white;
}

/* --- Search Page --- */

.content-container {
    margin-top: 44px;
}

.content-container {
    max-width: 1200px;
    margin: auto;
    padding-bottom: 140px;
}

.search-results .search-query {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.933);
    margin-left: 0 !important;
}

.search-query h1 {
    font-family: Lato, Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.search-results .page-title {
    background-color: transparent;
    color: #fdb100;
    font-size: 36px;
    margin-top: 100px;
}

.search-results .search-query {
    color: grey;
    margin-left: 18px;
    font-size: 18px;
    margin-bottom: 34px;
}

.search-result {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.search-result h2 a {
    font-size: 22px;
    text-decoration: underline;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #142441;
}

.search-result h2 a:hover {
    color: #FF8145;
}

.search-result p {
    margin-top: 14px;
    font-size: 16px;
    margin-bottom: 16px;
}

/* --- Project Detail Page --- */

.project-detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.project-meta-item {
    margin-bottom: 25px;
}

.project-meta-item h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-meta-item p,
.project-meta-item a {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.project-meta-item a:hover {
    color: #d11242;
    /* IEETA red */
}

.project-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.project-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}


/* --- Navigation Submenu --- */
/* Force visibility and correct styling, removing theme decorations */
.main-header .navigation>li {
    position: relative;
}

.main-header .navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-top: 3px solid #FF8F3F;
    padding: 0;
    margin: 0;
    list-style: none !important;

    /* Default state: hidden */
    display: none;
    visibility: hidden;
    opacity: 0;
}

.main-header .navigation>li:hover>.sub-menu,
.main-header .navigation>li:focus-within>.sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure list items inside are also visible and clean */
.main-header .navigation .sub-menu li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    border-bottom: 1px solid #f5f5f5;
    margin: 0;
    width: 100%;
    list-style: none !important;
}

/* Remove any pseudo-elements that might cause squares/bullets */
.main-header .navigation .sub-menu li::before,
.main-header .navigation .sub-menu li::after,
.main-header .navigation .sub-menu li a::before,
.main-header .navigation .sub-menu li a::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.main-header .navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-header .navigation .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #142441;
    font-size: 15px;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
}

.main-header .navigation .sub-menu li a:hover {
    background-color: #F3F6FD;
    color: #FF8F3F !important;
    padding-left: 24px;
    transition: all 0.2s ease;
}

/* --- Custom Page Header (Hero) --- */
/* --- Custom Page Header (Hero) --- */
.ieeta-page-header {
    background: linear-gradient(rgba(20, 36, 65, 0.9), rgba(20, 36, 65, 0.8)), url('../images/wp-4.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 70px 0;
    /* Reduced from 100px (30%) */
    margin-bottom: 60px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ieeta-page-header h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Lato', 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Force hide Owl Carousel navigation and dots for projects */
#projects-container .owl-nav,
#projects-container .owl-dots {
    display: none !important;
}