html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.container {
    display: flex;
    height: 100%;
}
.menu {
    width: 10%;
    background: darkgreen;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
}
.table-tasks {
    width: 90%;
    margin-left: 10%;
}

#tasks-container {
    display: flex;
}
.tasks-status {
    width: 66.6%;
    position: relative;
}
.tasks-status h4 {
    position: absolute;
    padding: 10px 15px;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    width: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    box-sizing: border-box;
}
.status-tasks-container {
    margin: 60px 15px 15px;
    box-sizing: border-box;
    padding-bottom: 100%;
}

#inizio {
    background: #e0f7fa;
}
#bozza {
    background: #ffe082;
}
#revisione {
    background: #ffb74d;
}
#attesa-cliente {
    background: #03a9f4;
}
#chiusura {
    background: darkblue;
}
#conclusione {
    background: #4caf50;
}

.task {
    box-shadow: 4px 4px 10px 0px #555;
    background: #eee;
    margin: 10px 0 30px;
    border-radius: 7px;
    border: 1px solid #aaa;
    font-size: 13px;
    line-height: 17px;
}

.task-header {
    padding: 10px;
    padding-bottom: 3px;
    cursor: grab;
    position: relative;
}

button.delete-task {
    position: absolute;
    top: 8px;
    right: 6px;
    cursor: pointer;
    border: none;
    color: mediumvioletred;
    outline: none;
}

.task-header-content {
    width: 90%;
    outline: none;
    font-weight: bold;
}

.task:active, .task:active .task-header {
    cursor: grabbing;
}

.task-section {
    padding: 10px;
    padding-top: 3px;
    outline: none;
    max-height: 250px;
    overflow: auto;
}

.menu nav {
    padding: 15px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    color: #fff;
    padding: 5px;
    border-bottom: 1px solid;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.menu ul li:hover {
    background: #368236;
    color: #fff;
    transition: all 0.3s ease;
}

.task-section::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  .task-section::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Handle */
  .task-section::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  .task-section::-webkit-scrollbar-thumb:hover {
    background: #555;
  }


.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    transition: all 0.3s ease;
}
.layer.active {
    display: block;
    transition: all 0.3s ease;
}

.layer-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 10px;
}

.layer-header {
    background: green;
    color: #fff;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.layer-header h4 {
    margin: 0;
}

.close-layer {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    width: 22px;
    height: 22px;
    text-align: center;
}

.close-layer:focus {
    outline: none;
}

.layer-body {
    padding: 10px 15px;
}

#context-menu {
    position: absolute;
    top: 200px;
    left: 200px;
    background: #ccc;
    padding: 5px;
    display: none;
    box-shadow: 4px 4px 7px 2px #444;
}
#context-menu.active {
    display: block;
}
#context-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#context-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#context-menu ul li {
    font-size: 12px;
    padding: 5px 7px;
    cursor: pointer;
    border-bottom: 1px solid #aaa;
}
#context-menu ul li:last-child {
    border-bottom: none;
}
#context-menu ul li:hover {
    background: #aaa;
}

.layer-body label {
    font-weight: bold;
    font-size: 12px;
}
.layer-body input, .layer-body textarea, .layer-body select {
    display: block;
    width: 100%;
    border: 1px solid #aaa;
    padding: 5px;
    font-family: sans-serif;
    line-height: 16px;
    outline: none;
}

.layer-field {
    margin-bottom: 20px;
}

.layer-footer {
    padding: 15px;
    text-align: right;
    background: #eee;
}
.layer-footer button {
    border: none;
    background: green;
    padding: 7px 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}
.layer-footer button:hover {
    background: #368236;
    transition: all 0.3s ease;
}