
.menu-right {
    position: absolute;
    right: 0;
}

.mode-switch {
    display: inline-block;
    text-align: center;
    color: white;
    background: rgb(108, 117, 125);
    width: 80px;
    line-height: 30px;
    margin-right: 10px;
    border-radius: 3px;
}

.mode-switch-active {
    background: rgb(78, 196, 78) !important;
}

.mode-switch:hover {
    background: rgb(128, 205, 128) !important;
    color: white;
    text-decoration: none;
}

/* ------------------------------- */
/*             Overview
/* ------------------------------- */
table.overview-month {
    width: 100%;
}
table.overview-month tr td {
    padding-top: 8px;
    padding-bottom: 8px;
}
table.overview-month tr td:first-child {
}
table.overview-month tr td:last-child {
    text-align: right;
}

/* ------------------------------- */
/*              Forms
/* ------------------------------- */

/* Full-width inputs */
input[type=text], input[type=password], input[type=number], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    background: white;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Bigger checkbox and radio */
input[type=checkbox] {
    transform: scale(1.5);
    margin: 20px 10px;
}
input[type=radio] {
    transform: scale(1.5);
    margin: 10px 10px 20px;
}

label {
    font-weight: bold;
}

/* normal font weight for labels*/
label.normal {
    font-weight: normal;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
    opacity: 0.8;
}

form .help {
    color: gray;
    margin-top: 5px;
}

/* ------------ errors ------------ */

.errors_red {
    color: #ac0000;
}

.errors_green {
    color: #008700;
}

.errors_grey {
    color: gray;
}