#app {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: -1000000000;
}
#header {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #eee;
    z-index: -1000000001;
}
#playground, #manage, #viewmap {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    z-index: -1000000002;
}
#playground { flex-direction: row; }
#manage, #viewmap { flex-direction: column; }

#selections {
    position: absolute;
    left: -450px; width: 500px;
    height: 100%;
    transition: left .25s linear;
    /*box-shadow: 0 2px 8px rgba(26, 30, 41, .2);*/
    z-index: -1000000003;
}
#map {
    position: absolute;
    left: 0; right: 0;
    height: 100%;
    transition: left .25s linear, right .25s linear;
    z-index: -1000000005;
}
#tools {
    position: absolute;
    right: -450px; width: 500px;
    height: 100%;
    transition: right .25s linear;
    /*box-shadow: 0 2px 8px rgba(26, 30, 41, .2);*/
    z-index: -1000000004;
}

#header-manage {
    width: 50px;
    margin: 4px 10px 0px 20px;
    text-align: center;
}
#header-logo {
    width: 130px;
    margin: 4px 50px 0px 0px;
}
#header-logo img {
    width: 130px;
}
#header-pages {
    width: 100%;
    margin: 4px 50px 0px 0px;
    text-align: right;
}
#header-pages .header-page {
    display: inline-block;
    padding-left: 28px;
}
#header-pages .header-page-link, #header-pages .header-page-link-selected {
    position: relative;
    font-size: 14px;
    font-weight: 700;
}
#header-pages .header-page-link {
    cursor: pointer;
}
#header-pages .header-page-link:after, #header-pages .header-page-link-selected:after {
    content: "";
    position: absolute;
    left: 0px; bottom: -4px;
    width: 0px; height: 3px;
    background-color: #0073c0;
    transition: width .25s ease;
}
#header-pages .header-page-link:hover:after, #header-pages .header-page-link-selected:after {
    width: 32px;
}
#header-user {
    width: 50px;
    margin: 4px 20px 0px 0px;
    text-align: center;
}
#header-user .openmenu, #header-manage .openmenu {
    width: 36px; height: 36px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity .25s ease, background .25s ease;
}
#header-user .openmenu:hover, #header-manage .openmenu:hover {
    opacity: 0.9;
}
#header-user .openmenu { background: url('index/header-user.png') center center no-repeat; }
#header-manage .openmenu { background: url('index/header-manage-open.png') center center no-repeat; }
#header-manage .openmenu.closemenu { background: url('index/header-manage-close.png') center center no-repeat; }

#menu-user, #menu-manage {
    display: none;
    position: absolute;
    top: 47px;
    border: solid 1px #eee;
    padding: 0px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(26, 30, 41, .2);
    z-index: 1000000001;
    visibility: hidden; opacity: 0;
    transition: visibility 300ms, opacity 300ms;
    min-height: 55px; max-height: calc(100% - 67px); overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dbb #f8f8f8;
}
#menu-user { right: 20px; }
#menu-manage { left: 20px; }
#menu-user .menu-user-name, #menu-manage .menu-manage-group {
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    padding: 8px 16px 6px 10px;
    margin-bottom: 5px;
    border-bottom: solid 1px #eee;
    background-color: #f8f8f8;
}
#menu-user .menu-user-entry, #menu-user .menu-user-entry-group, #menu-manage .menu-manage-entry, #menu-manage .menu-manage-entry-group {
    font-size: 13px;
    font-weight: 400;
    padding: 0px 16px 7px 10px;
    cursor: pointer;
    transition: color .25s ease;
}
#menu-user .menu-user-entry-group, #menu-manage .menu-manage-entry-group {
    border-top: solid 1px #eee;
    padding-top: 7px;
}
#menu-user .menu-user-entry:before, #menu-user .menu-user-entry-group:before, #menu-manage .menu-manage-entry:before, #menu-manage .menu-manage-entry-group:before {
    content: " »  ";
}
#menu-user .menu-user-entry:hover, #menu-user .menu-user-entry-group:hover, #menu-manage .menu-manage-entry:hover, #menu-manage .menu-manage-entry-group:hover {
    color: #00a4e4;
}
#menu-manage .menu-manage-entry.pending, #menu-user .menu-user-entry.pending, #menu-user .menu-user-entry-group.pending {
    color: #ccc;
}

#manage-title, #viewmap-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    background-color: #f8f8f8;
    border-bottom: solid 1px #eee;
}
#manage-title .manage-title, #viewmap-title .viewmap-title {
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    padding: 6px 10px 0px 10px;
}
#manage-title .manage-close, #viewmap-title .viewmap-close {
    width: 20px; height: 20px;
    padding: 8px 10px 0px 10px;
    background: url('index/manage-close.png') center center no-repeat;
    cursor: pointer;
}
#manage-frame, #viewmap-frame {
    width: 100%;
    height: 100%;
}
