:root {
    --main-background-color: #EEF6FB
}
.page-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
    justify-content: space-between;
}
#headerArea {
    flex: 0;
    border-left: solid 2px #E0E0E0;
    border-right: solid 2px #E0E0E0;
}
#headerArea .main-toolbar {
    position: relative;
    background-color: var(--main-background-color);
    border-bottom: solid 1px #F0F0F0;
    height: 56px;
    user-select: none;
    display: flex;
    align-items: center;
}
#mainArea {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}
@media (max-width: 500px) {
    #logo {
        display: none;
    }
    #toolbarFile {
        position: absolute; 
        left:0px;
    }
}
@media (min-width: 501px){
    #logo {
        position: absolute; 
        left:20px; 
        padding: 8px;
        display: flex;
        align-items: center;
    }
    #toolbarFile {
        position: absolute; 
        left: 240px;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 800px) {
    #workArea {
        position: absolute;
        left: 0px;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
    #dataArea {
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 0px;
        border-right: solid 1px #ccc;
        background-color: white;
        box-shadow: 2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
    #graphArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 100%;
        background-color: white;
        box-shadow: 0px 4px 8px 4px rgb(218, 208, 208);
    }
    #moreArea {
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        width: 0px;
        border-left: solid 1px #CCC;
        background-color: white;
        box-shadow: -2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
    #toolbarLeft {
        display: none;
        left: 260px;
        top: 20px;
    }
    #toolbarRight {
        display: none;
        right: 262px;
        top: 20px;
    }
    #toolbarSearch {
        display: none;
    }
    #toolbarMain {
        position: absolute;
        left: 800px;
    }
}
@media (min-width: 801px) and (max-width: 1200px) {
    #workArea {
        position: absolute;
        left: 0px;
        width: 100%;
        top: 0px;
        bottom: 0px;
    }
    #dataArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 256px;
        border-right: solid 1px #ccc;
        background-color: white;
        box-shadow: 2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
    #graphArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 258px;
        width: calc(100% - 258px);
        background-color: white;
        box-shadow: 0px 4px 8px 4px rgb(218, 208, 208);
    }
    #moreArea {
        display: none;
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        width: 0px;
        border-left: solid 1px #CCC;
        background-color: white;
        box-shadow: -2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
    #toolbarLeft {
        left: 260px;
        top: 20px;
    }
    #toolbarRight {
        display: none;
        right: 262px;
        top: 20px;
    }
    #toolbarSearch {
        display: none;
    }
    #toolbarMain {
        position: absolute;
        right: 10px;
    }
}
@media (min-width: 1201px) {
    #workArea {
        position: absolute;
        left: 0px;
        width: calc(100% - 256px);
        top: 0px;
        bottom: 0px;
    }
    #dataArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        width: 256px;
        border-right: solid 1px #ccc;
        background-color: white;
        box-shadow: 2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
    }
    #graphArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 258px;
        width: calc(100% - 258px);
        background-color: white;
        box-shadow: 0px 4px 8px 4px rgb(218, 208, 208);
    }
    #moreArea {
        position: absolute;
        top: 0px;
        bottom: 0px;
        right: 0px;
        width: 256px;
        border-left: solid 1px #CCC;
        background-color: white;
        box-shadow: -2px 2px 8px rgb(218, 208, 208);
        z-index: 10;
        user-select: none;
    }
    #toolbarLeft {
        left: 260px;
        top: 20px;
    }
    #toolbarRight {
        right: 262px;
        top: 20px;
    }
    #toolbarSearch {
        display: none;
    }
    #toolbarMain {
        position: absolute;
        left: 800px;
    }
}
@media (min-width: 1400px) {
    #toolbarSearch {
        position: absolute;
        right: 0px;
        display: flex;
        align-items: center;
    }
}
#dataArea .content {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: white;
}
#dataArea .content textarea {
    height: 100%;
    width: 100%;
    padding: 10px 5px;
    line-height: 24px;
    resize: none;
    border: none;
    outline: solid 0px #CCC;
}
#footerArea {
    position: absolute;
    display: none;
    height: 22px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eee;
    border: solid 1px #ccc;
    z-index: 30;
}
.statusToolbar {
    position: absolute;
    right: 0px;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    border: #CCC solid 1px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #454545;
    z-index: 15;
    user-select: none;
    display: flex;
    align-items: center;
}
.statusToolbar checkbox {
    margin: 2px 2px;
}
.cu-checkbox:hover {
    background-color: var(--main-background-color);;
}
#txtMessage {
    position: absolute;
    bottom: 10px;
    z-index: 10;
    left: 270px;
    min-width: 400px;
    font-size: 12px;
    color: #A2A2A2;
    background-color: white;
    border-radius: 4px;
    border: solid 1px #E7E7E7;
    padding: 2px 4px;
    opacity: 0.7;
}
@media (min-width: 1201px) {
    .statusToolbar {
        right: 270px;
    }
}
@media (max-width: 1200px) {
    #txtMessage {
        display: none;
        left: 270px;
    }
}
.txtEditbox {
    height: 120px;
    width: 100%;
    resize: none;
    border: solid 1px #CCC;
    outline: solid 0px #CCC;
}
.additionalButton {
    border: none;
    background-color: transparent;
}
.additionalButton:hover {
    background-color: var(--main-background-color);;
}
.main-button {
    width: 124px;
    height: 41px;
    font-size: 14px;
    margin: 6px 10px;
    border: solid 2px transparent;
    border-radius: 6px;
    color: #FFFFFF;
}
.btn_beauty {
    background: url(./toolbar-imgs/btnbeauty-1.png) no-repeat;
}
.btn_beauty:hover {
    background: url(./toolbar-imgs/btnbeauty-2.png) no-repeat;
}
.btn_beauty:active {
    background: url(./toolbar-imgs/btnbeauty-3.png) no-repeat;
}
.btn_layout {
    background: url(./toolbar-imgs/btnlayout-1.png) no-repeat;
}
.btn_layout:hover {
    background: url(./toolbar-imgs/btnlayout-2.png) no-repeat;
}
.btn_layout:active {
    background: url(./toolbar-imgs/btnlayout-3.png) no-repeat;
}
.btn_generate {
    width: 236px;
    height: 48px;
    border-radius: 22px;
    background: url(./toolbar-imgs/bg_btn_generate.png) no-repeat;
    display: flex;
    align-items: center;
}
.btn_generate:hover {
    border: solid 2px rgb(243, 71, 71);
}
.btn_generate:active {
    opacity: 0.3;
    font-weight: bold;
}
.btn_generate span {
    color: white;
    font-size: 18px;
    font-weight: 500;
}
#dataArea .toolbar {
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
}
