@CHARSET "UTF-8";

* {margin: 0;padding: 0;box-sizing: border-box;}
html {height: 100%;}
body {font-family: "Arial", "Tahoma", "MS Sans Serif", sans-serif;font-size: 16px;min-width: 1000px;height: 100%;}

input[type=button] {
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    border: 0px;    
    cursor: pointer;
    background-color: #d3d7cf;
}
input[type=button]:hover {
    background-color: white;
}

.header {
    background-color: #555753;
    display: flex;
    align-items: stretch;
}
.header h3 {
    font-weight: normal;
    color: white;
}

.menu {
    display: flex;
}
.menu label {
    flex-grow: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;  
}
.menu:hover {
    background-color: #eeeeec;
}
.menu:hover h3 {
    color: #555753;
}
.menu:hover label {
    color: #555753;
}
.menu input[type=checkbox] {
    display: none;
}
.menu input[type=checkbox] ~ div {
    display: none;
    position: absolute;
    top: 40px;
    background-color: #eeeeec;
    padding: 10px; 
}
.menu input[type=checkbox]:checked ~ label {
    background-color: #eeeeec;
    color: #555753;
}
.menu input[type=checkbox]:checked ~ label h3 {
    color: #555753;
}
.menu input[type=checkbox]:checked ~ div {
    display: block;
}
.menu input[type=button] {
    width: 100%;      
}

.menu.usermenu label {
    justify-content: flex-end;
    width: 250px;
    padding: 0 10px;    
}
.menu.usermenu input[type=checkbox] ~ div {
    right: 0;
    width: 250px;
    border-radius: 0 0 0 10px; 
}

.menu.boxmenu input[type=checkbox] ~ div {
    left: 0;
    width: 100%;
}


a.box {
    display: inline-flex;
    background-color: #d3d7cf;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    width: 150px;
    height: 150px;
    text-decoration: none;
    color: #555753;
    justify-content: center;
    align-items: center;
    text-align: center;
}
a.box:hover {
    background-color: #eeeeec; 
}
.menu a.box:hover {
    background-color: white;
}


#logon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#logon .content {
    text-align: center;
    padding: 20px;
    background-color: #555753;
    border-radius: 10px;
    width: 400px;
}
#logon .content label {
    color: white;
    display: block;
    margin-bottom: 5px;    
}
#logon .content input {
    width: 180px;
    display: block;
    margin: auto;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    border: 0px;
    margin-bottom: 15px;
}


#boxes {
    display: flex;
    height: 100%;
    flex-direction: column;   
}
#boxes .header h3 {  
    padding: 10px;    
    flex-grow: 1;
}
#boxes .content {
    flex-grow: 1;
    padding: 10px;
}

#box {
    display: flex;
    height: 100%;
    flex-direction: column;     
}
#box .header .boxmenu {      
    flex-grow: 1;
}
#box .header h3 {
    flex-grow: 1;
    padding: 10px;
}
#box .content {
    flex-grow: 1;
    display: flex;
}
#box .content .list {
    min-width: 150px;
    flex-basis: 150px;
    background-color: #eeeeec;
}
#box .content .list .item{
    text-decoration: none;
    color: #555753;
    padding: 10px;
    display: block;
    border-bottom: 1px dotted white;
    text-transform: capitalize;
    cursor: pointer;
}
#box .content .list .item:hover {
    background-color: white;
}
#box .content .list .item.selected {
    background-color: white;
    font-weight: bold;
}
#box .content .detail {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}