*{
    margin: 0;
    padding: 0;
}

html{
    width: 100%;
    height: 100%;
}

body{
    padding: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.table-box{
    flex-direction: column;
}
.table-container{
    height: calc(100% - 4px);
    padding: 2px;
    width: calc(100% - 4px);
}
.table-container > div:nth-child(1){
    width: calc(100% - 2px);
    height: calc(100% - 42px);
}
.padding-box{
    width: 100%;
    height: 100%;
    padding: 2px;
}
.CMS0,
.CMS1,
.CMS2{
    display: flex;
    align-items: center;
    justify-content: center;
}

.CMS0{
    background-color: green;
}
.CMS1{
    background-color: red;
}
.CMS2{
    background-color: gray;
}
.btn-box > :nth-child(2){
    margin-left: auto;
    margin-right: 10px;
}