/* Internet Explorer 6. Layout and CSS ported from ShizukuIchi/winXP (MIT), see assets/xp/winXP-LICENSE */
.ie-win .window-body { background: linear-gradient(to right, #edede5 0%, #ede8cd 100%); overflow: hidden; user-select: none; }
.ie { display: flex; flex-direction: column; height: 100%; font: 11px Tahoma, sans-serif; color: #000; }

.ie__toolbar { position: relative; display: flex; align-items: center; height: 24px; border-bottom: 1px solid rgba(255,255,255,.7); flex-shrink: 0; }
.ie__options { height: 23px; border-bottom: 1px solid rgba(0,0,0,.15); border-right: 1px solid rgba(0,0,0,.15); padding-left: 2px; flex: 1; display: flex; }
.ie__menu-label { padding: 0 7px; line-height: 21px; height: 21px; cursor: default; }
.ie__menu-label:hover, .ie__menu-label.open { background: #1660e8; color: #fff; }
.ie__windows-logo { height: 100%; border-left: 1px solid #fff; border-bottom: 1px solid rgba(0,0,0,.1); }
.ie.busy .ie__windows-logo { animation: ie-throb 1s steps(2) infinite; }
@keyframes ie-throb { 50% { filter: brightness(1.25) saturate(1.3); } }

.ie__function_bar { height: 36px; display: flex; align-items: center; padding: 1px 3px 0; border-bottom: 1px solid rgba(0,0,0,.1); flex-shrink: 0; overflow: hidden; }
.ie__btn { display: flex; height: 100%; align-items: center; border: 1px solid transparent; border-radius: 3px; cursor: default; flex-shrink: 0; }
.ie__btn:hover { border-color: rgba(0,0,0,.1); box-shadow: inset 0 -1px 1px rgba(0,0,0,.1); }
.ie__btn:hover:active, .ie__btn.open { border-color: #b9b9b9; background: #dedede; box-shadow: inset 0 -1px 1px rgba(255,255,255,.7); }
.ie__btn:hover:active > * { transform: translate(1px, 1px); }
.ie__btn.disabled { filter: grayscale(1); opacity: .7; pointer-events: none; }
.ie__btn-text { margin-right: 4px; }
.ie__icon { height: 30px; width: 30px; }
.ie__icon--normalize { height: 22px; width: 22px; margin: 0 4px 0 1px; }
.ie__icon--margin12 { height: 22px; width: 22px; margin: 0 1px 0 2px; }
.ie__icon--margin-1 { margin: 0 -1px; height: 30px; width: 30px; }
.ie__separate { height: 90%; width: 1px; background: rgba(0,0,0,.2); margin: 0 2px; flex-shrink: 0; }
.ie__arrow { height: 100%; display: flex; align-items: center; margin: 0 4px; }
.ie__arrow--margin-11 { margin: 0 1px 0 -1px; }
.ie__arrow:before { content: ""; display: block; border-width: 3px 3px 0; border-color: #000 transparent; border-style: solid; }

.ie__address_bar { border-top: 1px solid rgba(255,255,255,.7); height: 22px; display: flex; align-items: center; padding: 0 2px 2px; box-shadow: inset 0 -2px 3px -1px #2d2d2d; flex-shrink: 0; }
.ie__address_bar__title { color: rgba(0,0,0,.5); padding: 5px; }
.ie__address_bar__content { border: 1px solid rgba(122,122,255,.6); height: 100%; display: flex; flex: 1; align-items: center; background: #fff; position: relative; min-width: 0; }
.ie__address_bar__content > img:first-child { width: 14px; height: 14px; margin-left: 1px; }
.ie__address_input { position: absolute; left: 16px; right: 17px; top: 0; bottom: 0; border: 0; outline: 0; padding: 0 0 0 2px; font: 11px Tahoma, sans-serif; background: transparent; min-width: 0; }
.ie__address_input::selection { background: #316ac5; color: #fff; }
.ie__address_dd { width: 15px; height: 15px; right: 1px; position: absolute; }
.ie__address_dd:hover { filter: brightness(1.1); }
.ie__address_bar__go { display: flex; align-items: center; padding: 0 18px 0 5px; height: 100%; cursor: default; }
.ie__address_bar__go img { height: 95%; border: 1px solid rgba(255,255,255,.2); margin-right: 3px; }
.ie__address_bar__go:active img { transform: translate(1px, 1px); }
.ie__address_bar__separate { height: 100%; width: 1px; background: rgba(0,0,0,.1); box-shadow: 1px 0 rgba(255,255,255,.7); }
.ie__address_bar__links { display: flex; align-items: center; padding: 0 18px 0 5px; height: 100%; position: relative; cursor: default; }
.ie__address_bar__links span { color: rgba(0,0,0,.5); }
.ie__address_bar__links img { position: absolute; right: 2px; top: 3px; height: 5px; width: 8px; }
.ie__address_bar__links:hover span, .ie__address_bar__links.open span { color: #000; }

.ie__content { flex: 1; min-height: 0; border-left: 1px solid #6f6f6f; background: #fff; position: relative; }
.ie__content iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }

.ie__footer { height: 20px; border-top: 1px solid transparent; box-shadow: inset 0 1px 3px rgba(50,50,50,.8); background: #ece9d8; display: flex; align-items: center; padding-top: 2px; flex-shrink: 0; }
.ie__footer__status { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; padding-left: 2px; }
.ie__footer__status img { height: 14px; width: 14px; margin-right: 3px; flex-shrink: 0; }
.ie__footer__status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie__footer__progress { display: none; width: 104px; height: 12px; margin: 0 6px; border: 1px solid #a0a0a0; border-color: #a0a0a0 #fff #fff #a0a0a0; padding: 1px; flex-shrink: 0; overflow: hidden; }
.ie.busy .ie__footer__progress { display: block; }
.ie__footer__progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(to right, #2fa42f 0 6px, transparent 6px 8px); transition: width .4s; }
.ie__footer__block { height: 85%; width: 22px; border-left: 1px solid rgba(0,0,0,.15); box-shadow: inset 1px 0 rgba(255,255,255,.7); flex-shrink: 0; }
.ie__footer__right { display: flex; align-items: center; width: 150px; height: 80%; border-left: 1px solid rgba(0,0,0,.11); box-shadow: inset 1px 0 rgba(255,255,255,.7); padding-left: 5px; position: relative; flex-shrink: 0; }
.ie__footer__right img { height: 14px; width: 14px; margin-right: 3px; }
.ie__footer__dots { position: absolute; right: 11px; bottom: -1px; width: 2px; height: 2px;
  box-shadow: 2px 0 rgba(0,0,0,.25), 5.5px 0 rgba(0,0,0,.25), 9px 0 rgba(0,0,0,.25), 5.5px -3.5px rgba(0,0,0,.25), 9px -3.5px rgba(0,0,0,.25), 9px -7px rgba(0,0,0,.25),
    3px 1px #fff, 6.5px 1px #fff, 10px 1px #fff, 10px -2.5px #fff, 10px -6px #fff; }

.ie.no-buttons .ie__function_bar, .ie.no-address .ie__address_bar, .ie.no-status .ie__footer { display: none; }
.ie.no-links .ie__address_bar__separate, .ie.no-links .ie__address_bar__links { display: none; }

/* XP dropdown menus (menubar, Links, Favorites, address history) */
.ie-menu { position: fixed; z-index: 100000; background: #fff; padding: 2px; line-height: 18px; display: grid; grid-template-columns: 16px auto auto 15px; box-shadow: 2px 2px 1px #646464; border: 1px solid gray; font: 11px Tahoma, sans-serif; color: #000; cursor: default; user-select: none; }
.ie-menu__row { display: contents; }
.ie-menu__row > * { display: flex; align-items: center; }
.ie-menu__row:hover > *, .ie-menu__row.open > * { background: #1660e8; color: #fff; }
.ie-menu__row.disabled > * { color: #8c8c8cb5; }
.ie-menu__row.disabled:hover > * { background: #1660e8; color: #8c8c8c; }
.ie-menu__check { grid-column: 1; justify-content: center; }
.ie-menu__check img { max-width: 13px; max-height: 13px; transform: translateX(-2px); }
.ie-menu__row:hover .ie-menu__check img.check, .ie-menu__row.open .ie-menu__check img.check { filter: invert(1); }
.ie-menu__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ie-menu__text { white-space: nowrap; padding-right: 8px; grid-column: 2; max-width: 360px; overflow: hidden; text-overflow: ellipsis; display: block !important; }
.ie-menu__key { white-space: nowrap; grid-column: 3; padding-right: 2px; }
.ie-menu__arrow { grid-column: 4; justify-content: center; }
.ie-menu__arrow.has:before { content: ""; border-style: solid; border-width: 3px 0 3px 3px; border-color: transparent transparent transparent currentColor; }
.ie-menu__sep { grid-column: 1 / 5; height: 7px; padding: 3px 1px; background: rgba(0,0,0,.2); background-clip: content-box; }
.ie-menu.list { grid-template-columns: 0 auto 0 0; min-width: 200px; padding: 0; box-shadow: none; border-color: #000; }
.ie-menu.list .ie-menu__text { padding: 0 4px; }

/* IE6 "The page cannot be displayed" (shown when a site refuses to be framed) */
.ie__error { position: absolute; inset: 0; background: #fff; overflow: auto; user-select: text; }
.ie__error[hidden], .ie__content iframe[hidden] { display: none; }
.ie__error__page { max-width: 560px; padding: 14px 18px; font: 11px Tahoma, Verdana, sans-serif; color: #000; }
.ie__error__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ie__error__head img { width: 32px; height: 32px; }
.ie__error h1 { font: bold 13pt Tahoma, Verdana, sans-serif; margin: 0; }
.ie__error p { margin: 0 0 10px; }
.ie__error hr { border: 0; border-top: 1px solid #c0c0c0; margin: 12px 0; }
.ie__error ul { margin: 0 0 18px; padding-left: 22px; }
.ie__error li { margin-bottom: 8px; }
.ie__error a { color: #0000ff; }
.ie__error a img { width: 16px; height: 16px; vertical-align: -4px; margin-right: 2px; }
.ie__error h2 { font: 11px Tahoma, Verdana, sans-serif; color: #808080; margin: 0; }

/* Tabs (IE7-style strip, added for the XP desktop) */
.ie__tabs { display: flex; align-items: flex-end; gap: 1px; padding: 3px 4px 0; background: linear-gradient(180deg, #e9eef7, #d6deed); border-top: 1px solid #fff; border-bottom: 1px solid #8e9bb4; height: 25px; box-sizing: border-box; overflow: hidden; }
.ie__tabstrip { display: flex; gap: 1px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.ie__tab { display: flex; align-items: center; gap: 4px; min-width: 60px; max-width: 180px; height: 21px; padding: 0 4px 0 6px; font: 11px Tahoma, sans-serif; color: #000; cursor: default; white-space: nowrap; border: 1px solid #8e9bb4; border-bottom: 0; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #f6f8fc, #dde4f0); margin-bottom: -1px; }
.ie__tab img { width: 16px; height: 16px; flex: 0 0 auto; }
.ie__tab-title { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.ie__tab.active { background: #fff; height: 23px; border-color: #6f6f6f; position: relative; z-index: 1; }
.ie__tab:not(.active):hover { background: linear-gradient(180deg, #fff, #e9eef7); }
.ie__tab-close { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 2px; color: #555; font-size: 12px; line-height: 1; flex: 0 0 auto; visibility: hidden; }
.ie__tab.active .ie__tab-close, .ie__tab:hover .ie__tab-close { visibility: visible; }
.ie__tab-close:hover { background: #c33; color: #fff; }
.ie__tab--new { min-width: 22px; max-width: 22px; padding: 0; justify-content: center; background: linear-gradient(180deg, #f6f8fc, #dde4f0); position: relative; flex: 0 0 auto; }
.ie__tab--new::before { content: ""; position: absolute; left: 5px; top: 4px; width: 9px; height: 11px; border: 1px solid #8e9bb4; background: #fff; }
.ie__tab--new::after { content: ""; position: absolute; left: 7px; top: 3px; width: 9px; height: 11px; border: 1px solid #8e9bb4; background: #fff; }
