/* =========================================================
   IIM SAMBALPUR - QUICK 3 LANGUAGE SELECTOR
   Existing header colors are preserved.
   ========================================================= */

#iimsbp-h11-header .iimsbp-lang-quick{
    position:relative;

    display:inline-flex;
    align-items:center;

    z-index:5000;
}

#iimsbp-h11-header .iimsbp-lang-quick-btn{
    min-width:52px;
    height:27px;

    padding:0 8px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:5px;

    border:1px solid rgba(255,255,255,.22);
    border-radius:4px;

    background:rgba(255,255,255,.05);
    color:#fff;

    cursor:pointer;

    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
    line-height:1;

    font-weight:800;

    transition:
        background .18s ease,
        border-color .18s ease;
}

#iimsbp-h11-header .iimsbp-lang-quick-btn:hover,
#iimsbp-h11-header .iimsbp-lang-quick-btn[aria-expanded="true"]{
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.35);
}

#iimsbp-h11-header .iimsbp-lang-quick-code{
    min-width:20px;

    text-align:center;
}

#iimsbp-h11-header .iimsbp-lang-quick-caret{
    color:#C6A15B;

    font-size:9px;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu{
    position:absolute;

    right:0;
    top:calc(100% + 7px);

    width:172px;

    overflow:hidden;

    border:1px solid #dce4e8;
    border-radius:5px;

    background:#fff;

    box-shadow:
        0 14px 34px rgba(0,19,64,.18);
}

#iimsbp-h11-header .iimsbp-lang-quick-menu[hidden]{
    display:none!important;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu button{
    width:100%;
    min-height:42px;

    padding:8px 11px;

    display:flex;
    align-items:center;

    gap:10px;

    border:0;
    border-bottom:1px solid #e8edef;

    background:#fff;
    color:#243845;

    cursor:pointer;

    text-align:left;

    font-family:Arial,Helvetica,sans-serif;

    transition:
        background .18s ease,
        color .18s ease;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu button:last-child{
    border-bottom:0;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu button:hover,
#iimsbp-h11-header .iimsbp-lang-quick-menu button.active{
    background:#eef7f7;
    color:#006b75;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu b{
    width:26px;

    flex:0 0 26px;

    color:#001340;

    font-size:11px;

    text-align:center;
}

#iimsbp-h11-header .iimsbp-lang-quick-menu span{
    font-size:11px;
    line-height:1.25;

    font-weight:700;
}


/* ---------------------------------------------------------
   Hidden Google engine
   --------------------------------------------------------- */

.iimsbp-google-engine{
    position:fixed!important;

    left:-99999px!important;
    top:-99999px!important;

    width:1px!important;
    height:1px!important;

    overflow:hidden!important;

    opacity:0!important;
    pointer-events:none!important;
}


/* ---------------------------------------------------------
   Prevent Google's translated-page banner from pushing the
   website downward. Visitor uses the local language button.
   --------------------------------------------------------- */

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
}

html,
body{
    top:0!important;
}


/*
 * Google sometimes inserts tooltip/highlight UI while hovering
 * translated text. Keep those unobtrusive.
 */
#goog-gt-tt,
.goog-te-balloon-frame{
    display:none!important;
}

.goog-text-highlight{
    background:transparent!important;
    box-shadow:none!important;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media(max-width:700px){

    #iimsbp-h11-header .iimsbp-lang-quick-btn{
        min-width:46px;
        height:26px;

        padding-left:6px;
        padding-right:6px;
    }

    #iimsbp-h11-header .iimsbp-lang-quick-menu{
        width:160px;
    }
}


/* =========================================================
   V14.3 — FORCE-HIDE GOOGLE TOP TRANSLATION TOOLBAR
   Keeps the background translation engine functional.
   ========================================================= */

/* Older Google Translate toolbar iframe */
html body > iframe.goog-te-banner-frame,
html body > iframe.goog-te-banner-frame.skiptranslate,
html body > .goog-te-banner-frame,
html body > .goog-te-banner-frame.skiptranslate{
    display:none!important;
    visibility:hidden!important;

    width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;

    margin:0!important;
    padding:0!important;

    border:0!important;

    position:absolute!important;
    left:-99999px!important;
    top:-99999px!important;

    opacity:0!important;
    pointer-events:none!important;
}


/*
 * Newer Google Translate injected toolbar.
 * This is the class family commonly used by the newer widget.
 */
html body > .VIpgJd-ZVi9od-ORHb-OEVmcd,
html body > iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
html body > div.VIpgJd-ZVi9od-ORHb-OEVmcd{
    display:none!important;
    visibility:hidden!important;

    width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;

    margin:0!important;
    padding:0!important;

    border:0!important;

    position:absolute!important;
    left:-99999px!important;
    top:-99999px!important;

    opacity:0!important;
    pointer-events:none!important;
}


/*
 * Some Google versions wrap the toolbar inside a direct body-level
 * skiptranslate container. Restrict the selector to DIRECT body children
 * so the hidden #google_translate_element engine is not affected.
 */
html body > .skiptranslate:not(#google_translate_element):has(
    > iframe.goog-te-banner-frame
),
html body > .skiptranslate:not(#google_translate_element):has(
    > .VIpgJd-ZVi9od-ORHb-OEVmcd
){
    display:none!important;
    visibility:hidden!important;

    height:0!important;

    margin:0!important;
    padding:0!important;

    overflow:hidden!important;
}


/* Google often pushes the page down by applying inline top values. */
html,
html.translated-ltr,
html.translated-rtl,
body,
body.translated-ltr,
body.translated-rtl{
    top:0!important;
    margin-top:0!important;
}


/*
 * Modern injected helper elements which can visually behave like the
 * translation header/overlay.
 */
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc{
    z-index:-2147483647!important;
}


/* Keep our own compact selector above any Google helper layers. */
#iimsbp-h11-header .iimsbp-lang-quick{
    z-index:2147483000!important;
}


/* Do not allow Google hover highlight to alter site styling. */
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q{
    background:transparent!important;
    box-shadow:none!important;
}


/* Keep Google tooltip/balloon UI hidden. */
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-yAWNEb-L7lbkb{
    display:none!important;
    visibility:hidden!important;
}




/* =========================================================
   V15 HYBRID TRANSLATION
   Locally translated static controls are protected from Google.
   ========================================================= */

.iimsbp-local-i18n{
    unicode-bidi:isolate;
}

/*
 * Google recognizes .notranslate and translate="no". No visual style
 * is applied; this class only separates the fast local interface
 * translation from the slower Google CMS/content translation.
 */
.notranslate.iimsbp-local-i18n{
    font-variant-ligatures:normal;
}
