*{
    padding: 0;
    margin: 0;   
}
html{
    width: 100%;
    height: 100%;
}
body{
    padding: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    min-width: 400px;
    min-height: 640px;
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
}

.body-box{
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
}
.tab-box{
    width: 100%;
    height: 55%;
}
.tab-container{
    width: 100%;
    height: 100%;
}
.table-container{
    width: 100%;
    height: 100%;
    padding: 2px;
}
.time-bar,.daily-bar{
    width: 100%;
    height: 50px;
    display: flex;
    padding-left: 100px;
    align-items: center;
}
.time-bar > div:nth-child(1),
.daily-bar > div:nth-child(1),
.daily-bar > div:nth-child(2),
.daily-bar > div:nth-child(3),
.daily-bar > div:nth-child(4){
    margin-right: 5px;
}
.time-bar > div:nth-child(2),
.daily-bar > div:nth-child(5){
    margin-right: 15px;
}
.dx-texteditor-input{
    text-align: center;
}
.time-table-box{
    width: 100%;
}
.padding-ctrl{
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.chart-box{
    width: 100%;
    height: 45%;
    display: flex;
}
.chart-box > div:nth-child(1){
    width: 322px;
    height: calc(100% - 4px);
    padding: 2px;
}
.chart-box > div:nth-child(1) > div:nth-child(1){
    width: calc( 100% - 2px );
    height: calc( 100% - 3px );
}
.chart-box > div:nth-child(2){
    width: calc(100% - 334px);
    height: calc(100% - 4px);
    padding: 2px;
}
.chart-box > div:nth-child(2) > div:nth-child(1){
    width: 100%;
    height: 100%;
}
.chart-box > div:nth-child(2) > div:nth-child(1) > div:nth-child(2){
    width: calc(100% - 4px);
    height: calc(100% - 44px);
    padding: 2px;
}
.chart-title{
    width: calc(100% - 10px);
    padding-right: 10px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: right;
}
.chart-title > div:nth-child(1){
    margin-right: 10px;
}
#time-chart,
#day-chart{
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}


.legend-title{
    width: 100%;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-box{
    border:1px solid #fff; 
    width: 9px;
    height: 9px;
}
.time-legend-content, 
.day-legend-content{
    overflow: auto;
    width: calc(100% - 6px);
    height: calc(100% - 86px);
    padding: 3px;
}

.dp-none{
    display: none;
}

.flex-content{
    display: flex; 
    align-items: center;
    width: 100%;
    height: 20px;
}
.flex-content > div:nth-child(1),
.flex-content > div:nth-child(2),
.flex-content > div:nth-child(3){
    margin-right: 5px;
    display: flex;
    align-items: center;
}
.legend-btn{
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    justify-content: right;
}
.legend-btn > div:nth-child(1),
.legend-btn > div:nth-child(2),
.legend-btn > div:nth-child(3){
    margin-right: 5px;
}
.flex-content:hover{
    cursor: pointer;
}

.modal-screen{
    z-index: 5;
    position: relative;
    width: 450px;
    height: 280px;
    display: flex;
    flex-direction: column;
}
.modal-background{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(75, 73, 73, 0.4);
}
.color-modal-background{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(75, 73, 73, 0.4);
}
.color-modal{
    z-index: 6;
    background: #363640;
    position: relative;
    width: 300px;
    height: 370px;
    display: flex;
    flex-direction: column;
}
.modal-title{
    width: calc(100% - 10px); 
    height: 30px;
    display: flex; 
    align-items: center; 
    padding-left: 10px;
}
.color-modal-content{
    display: flex;
    cursor: pointer;
}
.color-modal-content div{
    margin-left: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 1px 1px;
}
.modal-content{
    width: 100%;
    height: calc(100% - 73px);
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-direction: column;
}
.content-size{
    width: 100%;
    height: 40px;
    display: flex;
}
.content-size > div:nth-child(1){
    width: 100px;
    display: flex;
    justify-content: right;
    align-items: center;
    height: 100%;
}
.content-size > div:nth-child(2){
    width: 300px;
    margin-left: 10px;
    display: flex;
    height: 100%;
    align-items: center;
}
.modal-button{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: right;
}
.modal-button > div{
    margin-right: 10px;
}
.modal-color{
    background-color:red;
    width   : 300px;
    height  : 30px;
    cursor:pointer; 
}


