textarea,
input,
button,
select,
html {
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
}

.flex-wrapper {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.flex-item.reversed {
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}

.flex-item.reversed label {
    flex: 1 0 auto;
    text-align: left;
}
.flex-item.reversed input {
    flex: 0 1 180px !important;
    text-align: right;
}

.focused-content {
    padding: 0;
}

.main-container {
    flex: 1 0 auto;
}

.main-content {
    padding: 18px 12px 18px 12px;
}

.main-header-content {
    padding: 10px 0px;
}

.title-text {
    color: #333333;
    font-size: 20pt;
}

.medium-text {
    color: #333333;
    font-size: 16pt;
}

#main-graphic-container {
    width: 100%;
}

#main-graphic {
    width: 100%;
}

.red-button,
.green-button,
.blue-button {
    margin: auto;
    font-size: 11pt;
    border: none;
    border-radius: 5px;
    padding: 6px 12px 6px 12px;
    margin: 0;
    text-decoration: none;
    transition: background 150ms ease;
    -webkit-appearance: none;
}

.less-padding {
    padding: 4px 6px 4px 6px !important;
}

.red-button {
    background: #ce2929;
    color: #fefefe;
}

.green-button {
    background: #0ba124;
    color: #fefefe;
}

.blue-button {
    background: #2d30d4;
    color: #fefefe;
}

.red-button:hover,
.red-button:focus {
    cursor: pointer;
    background: #ff7070;
    color: #ffffff;
}

.green-button:hover,
.green-button:focus {
    cursor: pointer;
    background: #3fb953;
    color: #ffffff;
}

.blue-button:hover,
.blue-button:focus {
    cursor: pointer;
    background: #316dee;
    color: #ffffff;
}

.red-button:disabled,
.green-button:disabled,
.blue-button:disabled {
    background: #747474;
    color: #ffffff;
    cursor: default;
}

.no-decoration {
    text-decoration: inherit;
    color: inherit;
}

.margin-right-20px {
    margin-right: 20px;
}

.margin-top-25px {
    margin-top: 25px;
}

.standard-table {
    text-align: left;
    font-size: 11pt;
}

.standard-table th,
.standard-table td {
    padding: 5px;
}

.standard-table tr:nth-child(odd) {
    background-color: #eee;
}


/**
 * Fix dropzone error tooltip from obscuring the "Remove file" link
 */
.dropzone .dz-preview .dz-error-message {
    top: 150px !important;
}

/**
 * Responsive design section
 */
@media (min-width: 1200px) {
    .main-header-content,
    .main-content {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1199px) {
    .main-header-content,
    .main-content {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

/**
 * Messages styles
 */

.alert,
.messagelist {
    position: unset;
    display: flex;
    width: 100%;
    padding: 7px;
    margin: 5px 0px;
    border-radius: 10px;
    justify-content: center;
    flex-direction: row;
    list-style-type: none;
}

.alert > button {
    margin: 0px 4px;
}

.alert-success {
    border: 1px #080 solid;
    background-color: #0d0;
}

.alert-error {
    border: 1px #800 solid;
    background-color: #d00;
}

.messagelist li {
    padding: 0.2em;
}
.messagelist li.info {
    border: 1px darkgray solid;
    background-color: lightgray;
}
.messagelist li.warning {
    border: 1px #880 solid;
    background-color: #d80;
}
.messagelist li.success {
    border: 1px #080 solid;
    background-color: #0d0;
}

.storage.critical {
    font-weight: bold;
    border-bottom: 2px #d00 solid;
}
.storage.warning {
    font-weight: bold;
    border-bottom: 2px #d80 solid;
}
