/* =========================================
   GLOBAL
   ========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {

    /*
        These are intentionally old-fashioned
        system fonts rather than modern web fonts.
    */

    font-family:
        Tahoma,
        "MS Sans Serif",
        Arial,
        sans-serif;

    font-size: 11px;

    background: #c8c4bc;

    color: #111;

    overflow: hidden;
}


/* =========================================
   INTERNET EXPLORER WINDOW
   ========================================= */

.ie-window {

    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;

    background: #d4d0c8;

    border: 1px solid #777;

    overflow: hidden;
}


/* =========================================
   TITLE BAR
   ========================================= */

.title-bar {

    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #202020;

    color: white;

    border-bottom: 1px solid #000;

    font-size: 12px;

    font-weight: bold;

    user-select: none;
}


.title-left {

    height: 100%;

    display: flex;
    align-items: center;

    padding-left: 5px;

    gap: 6px;

    white-space: nowrap;

    overflow: hidden;
}


.title-left span {

    overflow: hidden;

    text-overflow: ellipsis;
}


/* Tiny Internet Explorer icon */

.ie-title-icon {

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ddd;

    color: #111;

    border: 1px solid #777;

    font-family: Georgia, serif;

    font-size: 14px;

    font-weight: bold;

    font-style: italic;

    flex-shrink: 0;
}


/* =========================================
   WINDOW BUTTONS
   ========================================= */

.window-buttons {

    display: flex;

    gap: 2px;

    padding-right: 3px;
}


.window-button {

    width: 23px;
    height: 21px;

    padding: 0;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #d7d7d7 45%,
            #a8a8a8 100%
        );

    border-top: 1px solid #fff;
    border-left: 1px solid #fff;

    border-right: 1px solid #555;
    border-bottom: 1px solid #555;

    color: #111;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: bold;

    line-height: 16px;
}


.window-button:active {

    border-top: 1px solid #555;
    border-left: 1px solid #555;

    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;

}


/* =========================================
   MENU BAR
   ========================================= */

.menu-bar {

    height: 27px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    padding-left: 5px;

    background: #e9e7e2;

    border-bottom: 1px solid #999;

    user-select: none;
}


.menu-item {

    height: 24px;

    display: flex;
    align-items: center;

    padding: 0 9px;

    font-size: 12px;
}


.menu-item:hover {

    background: #d2d0cb;

}


/* =========================================
   MAIN TOOLBAR
   ========================================= */

.toolbar {

    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: stretch;

    background: #e7e4de;

    border-bottom: 1px solid #999;

    padding: 2px 5px;

    overflow: hidden;
}


.toolbar-section {

    display: flex;

    height: 50px;

    border-right: 1px solid #aaa;

    margin-right: 4px;

    padding-right: 4px;
}


.toolbar-button {

    position: relative;

    width: 70px;

    height: 50px;

    border: 1px solid transparent;

    background: transparent;

    padding: 1px 2px;

    font-family:
        Tahoma,
        "MS Sans Serif",
        Arial,
        sans-serif;

    color: #111;

    cursor: default;
}


.toolbar-button:hover {

    border-top: 1px solid #fff;
    border-left: 1px solid #fff;

    border-right: 1px solid #999;
    border-bottom: 1px solid #999;

    background: #ddd9d1;

}


.toolbar-button:active {

    border-top: 1px solid #777;
    border-left: 1px solid #777;

    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;

    background: #c8c4bc;

}


.toolbar-button.disabled {

    color: #999;

}


.toolbar-button.disabled .toolbar-icon {

    color: #aaa;

}


/* =========================================
   TOOLBAR ICONS
   ========================================= */

.toolbar-icon {

    height: 30px;

    display: block;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 27px;

    font-weight: normal;

    line-height: 29px;

    text-shadow:
        1px 1px 0 #fff;
}


.toolbar-icon.back {

    font-size: 30px;

    font-weight: bold;

}


.toolbar-icon.forward {

    font-size: 30px;

    font-weight: bold;

}


.toolbar-icon.stop {

    font-size: 28px;

}


.toolbar-icon.refresh {

    font-size: 25px;

}


.toolbar-icon.home {

    font-size: 29px;

}


.toolbar-icon.search {

    font-size: 26px;

}


.toolbar-icon.favorites {

    font-size: 28px;

}


.toolbar-icon.history {

    font-size: 28px;

}


.toolbar-icon.mail {

    font-size: 27px;

}


.toolbar-icon.print {

    font-size: 26px;

}


.toolbar-icon.edit {

    font-size: 26px;

}


.toolbar-label {

    display: inline-block;

    font-size: 11px;

    white-space: nowrap;
}


.small-arrow {

    position: absolute;

    right: 3px;

    top: 20px;

    font-size: 7px;

    color: #222;
}


.toolbar-end {

    margin-left: auto;

    padding: 6px 7px;

    font-size: 19px;

    font-weight: bold;
}


/* =========================================
   ADDRESS BAR
   ========================================= */

.address-row {

    height: 31px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 5px;

    padding: 3px 5px;

    background: #e8e5df;

    border-bottom: 1px solid #999;
}


.address-label {

    font-size: 12px;

    text-decoration: underline;

    color: #222;

    width: 59px;
}


.address-container {

    height: 23px;

    flex: 1;

    display: flex;
    align-items: center;

    background: #fff;

    border-top: 1px solid #777;
    border-left: 1px solid #777;

    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;

}


.address-icon {

    width: 25px;

    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 2px;

    background: #eee;

    border: 1px solid #aaa;

    color: #15558b;

    font-family: Georgia, serif;

    font-size: 15px;

    font-weight: bold;

    font-style: italic;
}


#address {

    flex: 1;

    height: 20px;

    border: none;

    outline: none;

    padding: 1px 5px;

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    color: #111;

    background: white;
}


.address-dropdown {

    width: 25px;

    height: 21px;

    border: none;

    border-left: 1px solid #aaa;

    background: #eee;

    font-size: 9px;
}


.go-button {

    width: 54px;

    height: 23px;

    background: #e7e4de;

    border-top: 1px solid #fff;
    border-left: 1px solid #fff;

    border-right: 1px solid #777;
    border-bottom: 1px solid #777;

    font-family:
        Tahoma,
        Arial,
        sans-serif;

    font-size: 11px;
}


.go-button:active {

    border-top: 1px solid #777;
    border-left: 1px solid #777;

    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;

}


.links-container {

    width: 65px;

    height: 23px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6px;

    border-left: 1px solid #aaa;

    font-size: 11px;
}


.links-container span:first-child {

    text-decoration: none;

}


.links-arrow {

    font-size: 16px;

    font-weight: bold;
}


/* =========================================
   WEBPAGE AREA
   ========================================= */

.browser-content {

    flex: 1;

    min-height: 0;

    overflow: auto;

    background: #fff;

    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;

    border-top: 2px solid #888;
}


#webpage {

    width: 100%;

    min-height: 100%;

    background: #fff;
}


/* =========================================
   STATUS BAR
   ========================================= */

.status-bar {

    height: 25px;

    flex-shrink: 0;

    display: flex;

    background: #e8e5df;

    border-top: 1px solid #888;

    font-size: 11px;
}


.status-message {

    flex: 1;

    display: flex;

    align-items: center;

    gap: 7px;

    padding-left: 5px;

    border-right: 1px solid #aaa;
}


.status-icon {

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #777;

    background: #eee;

    color: #15558b;

    font-family: Georgia, serif;

    font-size: 13px;

    font-style: italic;

    font-weight: bold;
}


.status-zone {

    width: 250px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding-left: 8px;

    border-left: 1px solid #fff;
}


.computer-icon {

    font-size: 15px;

    color: #222;
}


/* =========================================
   SMALL SCREEN ADJUSTMENT
   ========================================= */

@media (max-width: 900px) {

    .toolbar-button {

        width: 58px;

    }

    .toolbar-section:nth-child(3) {

        display: none;

    }

    .status-zone {

        width: 160px;

    }

}