﻿/* OdyoV8 - Icerik genisligi ust dugmeye degil ekran sinirina gore hesaplanir. */
/* Scoped to the desktop upper menu; existing category/sidebar lists are untouched. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root{position:relative!important;display:flex!important;flex-wrap:wrap;align-items:center;height:auto!important;min-height:0!important;width:100%!important;overflow:visible!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li:has(>ul){position:relative!important;display:inline-flex!important;align-items:center;overflow:visible!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li>ul{display:none!important;visibility:visible!important;opacity:1!important;float:none!important;position:absolute!important;top:100%!important;bottom:auto!important;left:0;right:auto;margin:0!important;transform:translateX(var(--menu-shift,0px));height:auto!important;max-height:min(70vh,680px);max-width:calc(100vw - 24px)!important;overflow:auto!important;box-sizing:border-box!important;padding:var(--menu-pad,12px)!important;background:var(--menu-bg,#fff)!important;color:var(--menu-fg,#222)!important;border:1px solid #e5e7eb;border-radius:var(--menu-radius,4px);box-shadow:0 8px 22px #0002;z-index:10000!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li.odyo-menu-open>.odyo-menu-panel{display:block!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel a{white-space:normal!important;overflow-wrap:anywhere;height:auto!important;line-height:1.5!important;font-size:var(--menu-font,inherit)!important;font-weight:var(--menu-weight,inherit)!important;color:var(--menu-fg,#222)!important;box-sizing:border-box;text-decoration:none}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel :is(h3,li){height:auto!important;min-height:0;white-space:normal!important;line-height:1.5!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel h3{font-size:var(--menu-heading,inherit)!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel a:is(:hover,:focus-visible){background:var(--menu-hover-bg,#f1f5f9)!important;color:var(--menu-hover-fg,#111)!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;position:static!important;flex:0 0 24px;transform:none!important;width:24px;height:28px;padding:0;border:0;background:transparent;color:var(--odyo-link-color,inherit);cursor:pointer;font:18px/1 Arial;z-index:2}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li:has(>ul)>a{width:auto!important;padding-right:4px!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li>a .fa-caret-down{display:none}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-surface=none] .odyo-menu-panel{border:0!important;box-shadow:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-surface=line] .odyo-menu-panel{border:1px solid #d1d5db!important;box-shadow:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-surface=shadow] .odyo-menu-panel{border:0!important;box-shadow:0 8px 24px #0003!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-toggle:focus-visible,html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel a:focus-visible{outline:2px solid currentColor;outline-offset:2px}

html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel :is(h3,li){color:inherit!important;font-weight:var(--menu-weight,inherit)!important;margin-top:0;margin-bottom:0}
html body :is(#IMenuB,#IMenuK).odyo-menu-root:not([data-menu-mode="0"])[data-menu-width=content]>li>ul{width:min(900px,calc(100vw - 24px))!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root:not([data-menu-mode="0"])[data-menu-align=center]>li>ul{left:50%!important;translate:-50% 0}
html body :is(#IMenuB,#IMenuK).odyo-menu-root:not([data-menu-mode="0"])[data-menu-align=right]>li>ul{left:auto!important;right:0!important}

/* The theme can make anchors taller than its fixed 25px list items. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li{height:auto!important;min-height:0!important;display:flex!important;align-items:center;float:none!important}
html body :is(#navigation,#navigationB,#navigationC,#navigationF):has(.odyo-menu-root){height:auto!important;overflow:visible!important}
html body :is(#DivBuyuk,#DivKucuk):has(.odyo-menu-root){height:auto!important}
/* Do not animate geometry inherited from legacy all-property transitions. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li>ul{transition:none!important}

/* Keep nested legacy headings in the same colour as their link. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li>a :is(h2,span,i){color:inherit!important;background:transparent!important;text-shadow:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li:is(:hover,:focus-within){background:var(--menu-hover-bg,#f1f5f9)!important;color:var(--menu-hover-fg,#111)!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root>li:is(:hover,:focus-within)>:is(a,button){background:transparent!important;color:var(--menu-hover-fg,#111)!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel li{display:block!important;float:none!important;width:auto!important;padding:0!important;margin:0!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel :is(li,h2,h3,span,i){background:transparent!important;color:inherit!important;text-shadow:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root .odyo-menu-panel a{padding:8px 12px!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode] .odyo-menu-panel a:is(:hover,:focus-visible){background:var(--menu-hover-bg,#f1f5f9)!important;color:var(--menu-hover-fg,#111)!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode="1"] .odyo-menu-panel a:has(>img){padding:0!important}

/* Keep the existing outer bottom border below the full menu row. */
html body :is(#uzunrenk,#kisarenk):has(.odyo-menu-root){height:auto!important}

/* Reserve the toggle before JS; keep the theme's font, link height and spacing. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root:not([data-odyo-menu-ready])>li:has(>ul)::after{content:"";display:block;flex:0 0 24px;width:24px;height:28px}
html body :is(#DivBuyuk,#DivKucuk):has(.odyo-menu-root){margin-bottom:0!important}
/* Hover uses colour only, without the legacy decorative lines. Keep border widths stable. */
/* OdyoV8 - Stark buyuk basliklarda 19px sabit satir yuksekligi metni kesmez. */
html[data-odyo-legacy=stark] body :is(#IMenuB,#IMenuK).odyo-menu-root>li>a{display:flex!important;align-items:center;box-sizing:border-box;height:auto!important;padding-block:8px!important}
html[data-odyo-legacy=stark] body :is(#IMenuB,#IMenuK).odyo-menu-root>li>a h2{height:auto!important;line-height:1.3!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root :is(li:hover,li:hover>a,a:hover,a:focus-visible,a:hover h2,a:hover h3){text-decoration:none!important;border-color:transparent!important;background-image:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root :is(li:hover>a,a:hover,a:focus-visible)::before,
html body :is(#IMenuB,#IMenuK).odyo-menu-root :is(li:hover>a,a:hover,a:focus-visible)::after{display:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root a:hover :is(h2,h3)::before,
html body :is(#IMenuB,#IMenuK).odyo-menu-root a:hover :is(h2,h3)::after{display:none!important}



/* Hover decorations must never resize the menu row or submenu links. */
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode] :is(li,a,h2,h3),
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode] :is(li,a,h2,h3):hover{border-bottom-width:0!important;text-decoration:none!important}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode]:not([data-menu-arrow-motion=rotate]) .odyo-menu-toggle::after{rotate:none!important}
/* j14: legacy 50px wrappers must grow with wrapped top-menu rows. */
html body #hdr:has(.odyo-menu-root),
html body #divhepsi:has(#hdr .odyo-menu-root){height:auto!important;max-height:none!important}

/* j15: keep wrapped menu height, reduce the existing gap below it. */
html body #hdr:has(.odyo-menu-root){margin-bottom:4px!important}

/* OdyoV8 - Kaydirma sarmalayicisi eklenince eski 20px alt bosluk korunmaz. */
html body :is(#DivBuyuk,#DivKucuk):has(>.odyo-menu-kaydirma){height:auto!important;min-height:0!important;margin-bottom:0!important}

/* OdyoV8 - Dress/Simple 15px dis bosluk; Slim/Smooth 5px tema yerlesimi korunur. */
html:is([data-odyo-header-baseline=dress],[data-odyo-header-baseline=simple]) body :is(#IMenuB,#IMenuK).odyo-menu-root>li:is(#lnkTumKatlarUzun,#lnkTumKatlarKisa){padding-left:0!important;margin-left:0!important}

/* OdyoV8 - Baslik, ok ve klavye odagi ayni kayitli hover rengini kullanir. */
html body :is(#form1,#aspnetForm) :is(#IMenuB,#IMenuK).odyo-menu-root>li:is(:hover,:focus-within,.odyo-menu-open)>a:not(.menuuzunac){color:var(--menu-hover-fg,#111)!important;background-color:var(--menu-hover-bg,#eee)!important}
html body :is(#form1,#aspnetForm) :is(#IMenuB,#IMenuK).odyo-menu-root>li:is(:hover,:focus-within,.odyo-menu-open)>a:not(.menuuzunac) :is(h2,h3,span,i){color:inherit!important}

html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode="0"]>li>ul{width:max-content!important;min-width:220px}
html body :is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode="0"] .odyo-menu-panel>a{display:block!important;float:none!important;width:100%!important;padding:7px 10px!important}

/* OdyoV8 - Oklu tasma, acilan alt menu kirpilmadan gorunur */
.odyo-menu-kaydirma{display:flex!important;align-items:stretch;min-width:0;max-width:100%;width:100%;position:relative;overflow:visible!important}
html body .odyo-menu-kaydirma>:is(#IMenuB,#IMenuK).odyo-menu-root{display:flex!important;flex:1 1 auto;flex-wrap:nowrap!important;width:0!important;min-width:0;max-width:100%;height:auto!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;float:none!important;margin-inline:0!important;transform:none!important;scroll-snap-type:x proximity}
.odyo-menu-kaydirma>ul::-webkit-scrollbar{display:none}
html body .odyo-menu-kaydirma>:is(#IMenuB,#IMenuK).odyo-menu-root>li{flex:0 0 auto!important;width:auto!important;float:none!important;scroll-snap-align:start;transform:none!important}
html body .odyo-menu-kaydirma>:is(#IMenuB,#IMenuK).odyo-menu-root>li>a,html body .odyo-menu-kaydirma>:is(#IMenuB,#IMenuK).odyo-menu-root>li>a :is(h2,h3,span){white-space:nowrap!important;overflow-wrap:normal!important}
html body .odyo-menu-kaydirma>:is(#IMenuB,#IMenuK).odyo-menu-root[data-menu-mode]>li>.odyo-menu-panel{position:fixed!important;top:var(--odyo-kaydirma-ust)!important;left:var(--odyo-kaydirma-sol)!important;right:auto!important;max-width:calc(100vw - 24px)!important;translate:none!important;transform:none!important;z-index:10001!important}
.odyo-menu-kaydirma-ok{flex:0 0 32px;align-self:stretch;border:0;background:transparent;color:inherit;font:inherit;font-size:26px;padding:4px;cursor:pointer}
.odyo-menu-kaydirma-ok[hidden]{display:none!important}.odyo-menu-kaydirma-ok:disabled{opacity:.25;cursor:default}.odyo-menu-kaydirma-ok:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
