#content {
    width: 100%;
    position: absolute;
    padding: 51px 0 1vh 0;
}

#content .element {
    width: 30vw;
    min-width: 450px;
    float: left;
    min-height: 300px;
    margin: 1vw;
    background-color: white;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

#content .page.sidebar-footer .element {
    width: 25.8vw;
}

#content .footer .button-context {
    width: 90%;
    height: auto;
    font-size: 14px;
    margin: -15px 5% 5px 5%;
    padding: 5px 10px 2px 10px;
    background-color: white;
    box-sizing: border-box;
    border-radius: 0 0 8px 0;
    color: #253262;
    font-family: monospace;
    font-weight: bold;
}

#content .page.sidebar-footer.two-column .element {
    width: 40vw;
}

#content .element.minimal {
    min-height: 163px;
}

#content .element.medium {
    min-height: 205px;
}

#content .element.wide {
    width: 97vw !important;
}

#content .sidebar-footer .element.wide {
    width: 82vw !important;
}

#content .element.wide table .header-column {
    width: 20%;
}

#content .element.wide .divider {
    width: 95%;
}

#content .element.extra {
    min-height: 340px;
}

#content .element.tall {
    min-height: 481px;
}

#content .element.max {
    min-height: 600px;
}

#content .element.filter {
    position: absolute;
    z-index: 50;
    top: 0;
}

#content .element.filter:nth-child(1 of .filter) {
    left: 0;
}

#content .element.filter:nth-child(2 of .filter) {
    left: 32vw;
}

#content .element.filter:nth-child(3 of .filter) {
    left: 64vw;
}

.element .header {
    height: 30px;
    font-weight: bold;
    line-height: 30px;
    padding: 0 0 0 20px;
    border-bottom: 2px solid #F2F2F2;
}

#content .element .piechart, #content .element .linechart, #content .element .chart {
    min-height: 268px;
}

#content .element.tall .chart {
    min-height: 448px;
}

.element .divider {
    width: 85%;
    margin: 0 auto;
    border-bottom: 1px solid #aaaaaa;
}

#content .element button {
    float: right;
    margin: 10px 40px;
    padding: 6px 16px;
    cursor: pointer;
    -webkit-transition: 0.3s; /* Safari */
    transition: 0.3s;
    color: #0059AB;
    border: 1px solid #0059AB;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: white;
}

#content .element .header button {
    font-size: 17px;
    margin: 0;
    padding: 8px 50px;
    color: white;
    border: 1px solid white;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 8px;
    background-color: #4296d3;
}

#content .element .header button.red {
    background-color: #ab0000;
}

#content .element .header button:hover {
    color: #0059AB;
    background-color: white;
}

#content .element .header button.red:hover {
    background-color: red;
    color: #2b2b2b;
    border: 1px solid #2b2b2b;
}

#content .element button:hover {
    color: white;
    background-color: #0059AB;
}

#content .element button.big {
    display: block;
    font-size: 25px;
    float: none;
    margin: 50px auto;
    padding: 8px 25px;
}

#content .element button.text-area-expand {
    position: absolute;
    top: 0;
    right: 10.7%;
    margin: 0;
    padding: 4px 10px;
    color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0;
    border-bottom-left-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

#content .element button.ui-multiselect {
    width: 89% !important;
    float: none;
    margin: 0;
    padding: 0 0 0 10px;
    color: black;
    border-radius: 0;
}

#content .element button.ui-multiselect:hover {
    color: black;
    background-color: white;
}

#content .element button.toggle-switch {
    width: 100%;
    margin: 0 15px 0 0;
    padding: 2px 0;
    border: 0;
    border-radius: 3px;
}

#content .element button.toggle-switch.green:hover {
    color: white;
    background-color: green;
}

#content .element button.toggle-switch.red:hover {
    color: white;
    background-color: darkred;
}

#content .element button.toggle-switch input {
    width: initial;
    margin: 0 4px 0 0;
}

#content .element.folded {
    overflow: hidden;
    min-height: 30px;
    max-height: 30px;
}

#content .element .fold-toggle {
    margin: 0;
    border: 0;
    border-radius: 0;
}

#content .element.folded .fold-toggle .fold {
    display: none;
}

#content .element:not(.folded) .fold-toggle .expand {
    display: none;
}

#content .element select.multi-table-filter {
    display: none;
}

#content .element.wide-headers button.text-area-expand.wide {
    right: 5.4%;
}

#content .element button.text-area-expand.wide {
    right: 6.8%;
}

#content .element button.text-area-expand:hover {
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}


#content .element .button-container {
    float: right;
}

#content .element .button-container button {
    display: block;
    float: none;
    margin: 5px 40px;
}

#content .element .overlay {
    width: 100%;
    display: inline-block;
    font-style: italic;
    text-align: center;
}

#content .element .overlay span {
    display: inline-block;
    line-height: 200px;
    vertical-align: middle;
}

    #content .element .overlay span.hidden {
        display: none;
    }

#content .element .overlay span .second-line {
    display: block;
    line-height: 0;
    margin-top: -50px;
}

#content .element .overlay span button {
    font-size: 20px;
    margin-top: 90px;
    padding: 10px 50px;
}

#content .element span.digital {
    display: table;
    font-style: italic;
    margin: 45px auto;
}

#content .element table, .popup.elemental .element table {
    width: 96%;
    margin: 15px 25px;
}

#content .element table.inline-table {
    width: 91.7%;
    margin: -3px 0 0 0;
    border-collapse: collapse;
}

#content .element table.inline-table.four-columns {
    width: 90.8%;
}

#content .element table.inline-table tr {
    width: 100% !important;
}

#content .element table.inline-table.three-column td {
    width: 32.75%;
}

#content .element table.inline-table.four-columns td {
    width: 25%;
}

#content .element table.inline-table.four-columns.header-row td {
    width: 30%;
}

#content .element table.tiered-table {
    width: 90%;
}

#content .element table .header-column {
    width: 40%;
    font-weight: bold;
}

#content .element table.tiered-table .header-column {
    width: 43%;
}

#content .element table td {
    min-width: 50px;
    position: relative;
}

#content .element.wide-headers table .header-column {
    width: 50%;
}

#content .element.small-headers table .header-column {
    width: 25%;
}

#content .element table .header-seperator {
    font-weight: normal;
    font-style: italic;
    padding: 0 0 0 25px;
}

.header-column-nospacing {
    font-weight: bold;
}

table .header-column .fixed-height {
    height: 26px;
    display: block;
    overflow: visible;
}

#content .element table input {
    width: 88%;
    box-sizing: content-box;
    padding: 0 0 0 4px;
}

#content .element table.tiered-table input {
    width: 96%;
}

#content .element table input.unit {
    width: 70%;
}

#content .element table input.medium {
    width: 50%;
}

#content .element table input.small {
    width: 20%;
}

#content .element table span.input-unit {
    margin: 0 13px 0 5px;
}

#content .element table span.input-context {
    margin: 0 0 0 20px;
}

#content .element table span.asleftpass, #content .element table span.asfoundpass {
    margin: 0 0 0 20px;
}

#content .element table select {
    width: 88%;
    box-sizing: content-box;
    padding: 0 4.8px 0 0.8px;
}

#content .element table.tiered-table select {
    width: 96%;
}

#content .element table select.medium {
    width: 51%;
}

#content .element table .output {
    font-size: 13.33px;
}

#content .element table.text-only {
    margin: 0;
    padding: 10px 20px;
}

#content .element table.text-only td {
    padding: 5px;
}

#content .element table td.unit {
    width: 150px;
}

#content .element table.compact button.row-delete {
    font-weight: bold;
    margin: 0;
    padding: 1px 16px;
    color: white;
    border: 1px solid black;
    background-color: #ab0000;
}

#content .element table.compact button.row-delete:hover {
    color: white;
    background-color: red;
}

#content .element .dataTable {
    margin: 0;
}

#content .element ul {
    width: 96%;
    margin: 15px 45px;
}

#content .element .loading-bar {
    width: 90%;
    height: 40px;
    margin: 40px 5%;
    border: 1px solid black;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: white;
}

#content .element .loading-bar .progress-bar {
    width: 0%;
    height: 40px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: rgb(37, 50, 98);
}

.element.extra textarea.fullwidth {
    height: 282px;
}

.approval .element.extra textarea.fullwidth {
    height: 308px;
}

.element.extra textarea.fullwidth.one-less {
    height: 252px;
}

.header .preview {
    font-style: italic;
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 0 10px;
}

.header .preview i {
    margin: 0 10px 0 0;
}

.element h4 {
    padding-left: 40px;
}