/* Moved from inline <style> in WEB-INF/views/cms/acpPublic/infoTop.jsp (CSP: no inline styles) */

/* line 12 */

	.searchContainer {
		position: relative;
	}
	.language-option {
    display: block !important;
    padding: 8px;
    font-size: 14px;
}	
.top-search-sec {
        position: relative;
    }

    .top-search-sec .input-group {
        position: relative;
    }

    .autocomplete-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
        max-height: 300px;
        overflow-y: auto;
        background: white;
        border: 1px solid #ddd;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .autocomplete-list li {
        padding: 10px 15px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
    }

    .autocomplete-list li:hover {
        background-color: #f5f5f5;
    }

    .autocomplete-list.d-none {
        display: none;
    }

    .header-section {
        position: relative;
        overflow: visible;
    }
    html {
  scroll-behavior: smooth;
}
section, .skil-cont, section.media-sec, section.banner {
    position: relative !important;
}
    
@media screen and (max-width:991px) {
	.top-right-menu li:has(.bhashini-plugin-container), .bhashini-plugin-container {position:relative !important; z-index:100000 !important;}
	.bhashini-dropdown-content {z-index:100000 !important; width:240px !important; max-width:calc(100vw - 20px) !important; left:auto !important; right:-10px !important; overflow-x:hidden !important;}
	.bhashini-dropdown-content div {white-space:normal !important; word-break:break-word; overflow-wrap:anywhere;}
	body:has(#togglemenus[aria-expanded="true"]) .top-right-menu li:has(.bhashini-plugin-container), body:has(#togglemenus[aria-expanded="true"]) .bhashini-plugin-container,
	body:has(.navs[style*="block"]) .top-right-menu li:has(.bhashini-plugin-container), body:has(.navs[style*="block"]) .bhashini-plugin-container {z-index:auto !important;}
}


/* line 578 */

.old-website-link {
    text-align: right;
    padding: 10px 20px;
}

.old-website-link a {
    font-size: 16px;
    color: #0056b3;
    text-decoration: none;
}




/* ---------- Go to Old Website button (header) ---------- */

.top-right-menu{height:auto;}

.old-site-btn {

    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 42px;
    font-size: 13px;
    padding: 10px 5px;
    border: 1.5px solid #0F5757;
    border-radius: 8px;
    background: #eef6f6;
    color: #0F5757;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s;
}
.old-site-btn__icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    background: #0F5757;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.old-site-btn__text small {display:block; font-size:12px; font-weight:400; line-height:14px; color:#3d5c5c;}
.old-site-btn__ext {margin-left:4px; flex:0 0 auto;}
.old-site-btn:hover {background:#d7ecec; color:#0F5757;}
.old-site-btn:focus-visible {outline:3px solid #1d0a69; outline-offset:2px;}
.visually-hidden {position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

/* dark contrast */
.dark_theme .old-site-btn {background:#000; border-color:#ffff00; color:#ffff00;}
.dark_theme .old-site-btn small {color:#ffff00;}
.dark_theme .old-site-btn__icon {background:#ffff00; color:#000;}
.dark_theme .old-site-btn:focus-visible {outline-color:#ffff00;}

.top-right-menu {
    height: 100%;

}

