/*
    #28A27A <- Old green color
*/

/* BOX SIZING */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body, button, input, select, option, textarea {
    font-family: "Clear Sans", sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #767676;
    font-size: 0.875rem;
    line-height: 1.5rem;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, p, ul, ol {
    padding: 0;
    margin: 0;
}
sup {
    line-height: 0;
}

a:link, a:visited {
    text-decoration: none;
    color: #28A27A;
}
a:hover {
    text-decoration: underline;
}

#top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: #28A27A;
    background: #114232;
    overflow: hidden;
    z-index: 50;
    transition: left 0.6s;
}
#top h1 {
    display: inline-block;
    color: rgba(255,255,255, 0.87);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 4rem;
    padding: 0rem 0rem 0rem 3rem!important;
    text-shadow: none;
    text-transform: uppercase;
    text-align: left;
    width: 16rem;
}
#topnav {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}
#topnav .button {
    border: none;
    border-radius: 2px;
    color: #FFF;
    margin-left: .25rem;
    padding: 0;
    text-align: center;
    width: 3rem;
    position: relative;
}
#topnav .button:hover {
    background-color: rgba(255,255,255, 0.2);
    color: #FFF;
}
#topnav .button i {
    line-height: 3rem;
}

#wrapper {
    padding-left: 16rem;
    transition: padding-left 0.6s ease-in-out;
}
#wrapper.no-sidebar {
    padding-left: 3rem;
}

#sidebar {
    position: fixed;
    top: 4rem;
    left: 0;
    bottom: 0;
    width: 16rem;
    background-color: #272727;
    padding-top: 1rem;
    transition: width 0.6s ease-in-out;
    z-index: 66;
}
.no-sidebar #sidebar {
    width: 3rem;
}
#sidebar nav {
    position: relative;
}
#sidebar nav a {
    display: block;
    color: rgba(255, 255, 255, .87);
    letter-spacing: 1px;
    text-decoration: none;
    padding: 0.5rem 0rem 0.5rem 3rem;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
#sidebar nav a i {
    position: absolute;
    font-size: 1.5rem;
    left: 0.75rem;
    top: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    text-transform: none;
}
#sidebar nav a span {
    position: relative;
    transition: color 1s;
}
.no-sidebar #sidebar nav a span {
    color: inherit;
    display: none;
    color: transparent;
}
#sidebar nav a:hover, #sidebar nav a.open {
    color: #FFF;
    background: #28A27A;
}
.subnav-parent {
    position: relative;
    display: none;
}
.subnav-parent.show {
    display: block;
}
#sidebar nav.subnav {
    overflow: hidden;
    background: #303030;
    width: 16rem;
}
#sidebar nav.subnav.show {
    z-index: 50;
}
.no-sidebar #sidebar nav.subnav {
    position: absolute;
    left: 3rem;
    top: -2.5rem;
    overflow: visible;
}


#sidebar nav.subnav a {
    font-size: .75rem;
    font-weight: 500;
    padding: .5rem 1.5rem .5rem 3rem;
}
.no-sidebar #sidebar nav.subnav a {
    padding-left: 1.5rem;
}
#sidebar nav.subnav a:hover {
    background: #28A27A;
}

#sidebar nav a.current, #sidebar nav a.current:hover {
    color: #28A27A;
    background: #f7f7f7;
}
.no-sidebar #sidebar nav.subnav a.current, .no-sidebar #sidebar nav.subnav a.current:hover {
    color: #FFF;
    background: #28A27A;

}

#content {
    position: relative;
    margin: 4rem auto;
    padding: 1rem 2rem;
    transition: padding 300ms ease-in-out;
    will-change: padding;
}
#content.filtering {
}
#content:after {
  content: "";
  display: table;
  clear: both;
}


#breadcrumbs {
    position: fixed;
    left: 16rem;
    top: 0.75rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem 0 0;
    letter-spacing: 1px;
    z-index: 51;
    margin-right: 7rem;
}
#breadcrumbs a, #breadcrumbs span {
    color: rgba(255, 255, 255, 0.75);
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 0 0.25rem 0 1rem;
    position: relative;
    line-height: 1;
}
#breadcrumbs a:not(:first-child):before, #breadcrumbs span:before {
    content: '/';
    position: absolute;
    left: 0;
}
#breadcrumbs > a {
    color: #fff!important;
}


#content .widget {
    margin-bottom: 1rem;
    background-color: #28A27A;
    color: #fff;
    border-radius: 3px;
}
#content .widget h3 {
    padding: 1.5rem 2rem 0 2rem;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: none;
    color: #fff;
}
#content .widget .number {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 2.75rem;
    line-height: 3rem;
}
#content .widget .number span {
    position: relative;
    top: -1rem;
    font-size: 0.8rem;
    line-height: 1rem;
    color: #c7c7c7;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#content .widget .foot {
    font-size: 0.7rem;
    padding: 0.2rem 0.75rem 0.2rem 0.75rem;
    letter-spacing: 1px;
}

#content .tabs {
    border-bottom: 1px solid #c6c6c6;
    position: relative;
}
#content .tabs a {
    color: #666;
    display: inline-block;
    padding: .375rem .75rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: 1px 1px #fff;
    letter-spacing: 1px;
    position: relative;
    bottom :-2px;
    margin-right: 1rem;
    font-size: .75rem;
}
#content .tabs a:hover {
    text-decoration: underline;
    background-color: #f7f7f7;
}
#content .tabs a.current, #content .tabs a:hover.current {
    text-decoration: none;
    border-bottom: 3px solid #28A27A;
    color: #28A27A;
    font-weight: 500;
}

.tab {
    display: none;
}
.tab.show {
    display: block;
}

#content .master-card {
    background-color: #FFF;
    border-radius: 4px;
    display: inline-block;
    float: left;
    letter-spacing: 1px;
    margin: 0 0.5rem 0.5rem 0.5rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
}

#content .pagination {
    text-align: right;
    padding-top: 0.25rem;
}
#content .pagination a {
    border-radius: 2px;
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.1rem 1rem;
    line-height: 2rem;
    position: relative;
    text-align: center;
}
#content .pagination a:hover {
    text-decoration: none;
    background-color: #fff;
}
#content .pagination .current {
    background-color: #fff;
    border-radius: 2px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: 1px;
    padding: 0.1rem 1rem;
    position: relative;
    text-align: center;
}
#content .pagination a i {
    font-size: 1.5rem;
    position: relative;
    top: 7px;
    margin: -3px -8px;
}

#content .pagination input {
    display: inline-block;
    width: 5rem;
}

h1 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem .75rem;
    position: relative;
    text-shadow: 1px 1px 0px #FFF;
}
h1 span {
    font-size: 1rem;
    line-height: 0.8rem;
    color: #777;
    position: relative;
    top: -0.25rem;
    left: 0.25rem;
}
h3 {
    font-weight: 500;
    padding: 1.5rem .75rem 0 .75rem;
    text-transform: uppercase;
    text-shadow: 1px 1px #FFF;
    letter-spacing: 1px;
    font-size: 1.0625rem;
    line-height: 1.5rem;
    color: #676767
}
h4 {
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1rem .75rem .25rem .75rem;
    text-transform: uppercase;
    text-shadow: 1px 1px #FFF;
}
p {
    padding: .5rem .75rem;
}
ul, ol {
    padding-left: 2rem;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    margin-top: 0.5rem;
}
table.bordered tbody {
    border-bottom: 2px solid #333;
}

table tbody tr:nth-child(2n+1) {
    background-color: #efefef;
}


table th {
    background-color: #333;
    color: #e5e5e5;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: top;
    position: relative;
}
table th a {
    color: #fff!important;
}


table th::after {
    font-family: "Material Icons";
    position: relative;
    left: .125rem;
    top: .1875rem;
    line-height: 0rem;
    font-size: 1rem;
    font-weight: 700;
}
table th.DESC::after {
    content: '\E313';
}
table th.ASC::after {
    content: '\E316';
}

table tbody tr:hover {
    background-color: #fff!important;
}
table tbody tr.overtime {
    background: #e25856!important;
}
table tbody tr.overtime td, table tr.overtime td a:not(.button) {
    color: #fff!important;
}
table td {
    padding: 0.375rem 0.75rem;
}
table td.label {
    text-align: center;
    color: rgba(255,255,255, 0.8);
    text-transform: uppercase;
}
table .no-wrap {
    white-space: nowrap;
}

table.data {
    margin-bottom: 1rem;
}
table.data tbody tr {
    background-color: transparent;
}
table.data tbody tr:hover {
    background-color: #fff!important;
}
table.data th {
    width: 12rem;
    max-width: 12rem;
    background: transparent;
    color: #777;
    padding: .3125rem .75rem;
}
table.data td {
    padding: .3125rem .75rem;
}

.progress {
    background-color: #f7f7f7;
    padding: 0rem 1rem;
}
.progress-item {
    padding: 0.25rem 0.5rem;
    position: relative;
    border-bottom: 2px solid #f7f7f7;
}
.progress .progress-item:last-child {
    border-bottom: none;
}
.progress-item-edit {
    display: none;
    position: absolute;
    right: 0rem;
    top: 0.4rem;
}
.progress-item-edit i {
    font-size: 1.25rem;
    color: #e7e7e7;
}
.progress-item-edit:hover i {
    color: #1190c6;
}
.progress-item:hover .progress-item-edit {
    display: inline-block;
}

td a > i {
    position: relative;
    top: 4px;
    font-size: 20px!important;
    font-size: 1.5rem!important;
    color: #d7d7d7;
    padding-left: .25rem;
    padding-right: .25rem;
}
td > i {
    position: relative;
    top: 4px;
    font-size: 20px!important;
    font-size: 1.25rem;

}
td a:hover > i {
    color: #1190c6;
}
td a:hover > i.delete {
    color: #d14530;
}

label {
    cursor: pointer;
    display: block;
    letter-spacing: 1px;
    padding: .25rem 0.5rem 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #363636;
    font-weight: 500;
}
label > span {
    color: #767676;
    font-weight: 400;
    letter-spacing: 0;
    font-size: .875rem;
}
label.required:after {
    content: "*";
    font-weight: bold;
    color: #900;
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

input[type="text"], input[type="password"], input[type="number"], select, textarea {
    background-color: #fff;
    border: 2px solid #c7c7c7;
    border-radius: 2px;
    color: #272727;
    display: block;
    font-weight: 500;
    line-height: 1.25rem;
    margin: 0 0 0.5rem 0;
    outline: none;
    padding: 0.5rem 0.75rem;
    width: 100%;
}
select {
    cursor: pointer;
}
.static-form-element {
    display: block;
    padding: .25rem 0.5rem 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #363636;
}

input:focus, select:focus, textarea:focus {
    border-color: #757575!important;
}

div.form-help {
    font-size: 12px;
    padding: 0rem 0.75rem;
    margin-top: -0.5rem;
}

.ajax-form input[type="text"], .ajax-form input[type="password"], .ajax-form input[type="number"], .ajax-form select {
    background: #fff;
    border: 2px solid #c6c6c6;
}

td input {
    margin-bottom: 0!important;
}


.filter-block {
    border-left: 2px solid #ccc;
    z-index: 120!important;
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
    will-change: transform;
}
.filter-block.active {
    transform: translateX(0);
}


.filter {
    position: fixed;
    right: -20rem;
    top: 4rem;
    bottom: 0;
    width: 20rem;
    background: #FFF;
    padding: 1rem 2rem;
    transition: all .66s ease-in-out;
    z-index: 1;

}
.filter.filtering {
    right: 0;
}
.filter .close-filter {
    position: absolute;
    right: 2rem;
    top: 2rem;
}

.foldout {
    position: fixed;
    top: 4rem;
    right: 0;
    bottom: 0;
    width: 20rem;
    padding: 2rem 2rem 1rem 2rem;
    z-index: 100;
    border-left: 2px solid #e7e7e7;
    background: #fff;
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
    will-change: transform;
}
.foldout.open {
    transform: translateX(0);
}
.foldout .button {
    margin: .5rem 0;
}
.foldout-button-container {
    min-width: 3rem;
    padding: 0;
    position: relative;
}
.toggle-foldout {
    outline: none;
    display: block;
    border: 0;
    width: 100%;
    max-height: 100%;
    line-height: 1rem;
    padding: .375rem;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    background: #28A27A;
    color: rgba(255, 255, 255, .87);
}
.toggle-foldout:hover, .toggle-foldout.active {
    background: #114232;
    color: #FFF;
}
.toggle-foldout i {
    height: 1.5rem;
    line-height: 1.5rem;
    width: 1.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -.75rem;
    margin-top: -.75rem;

    transform-origin: center center;
    transform-style: preserve-3d;
    transition: transform .33s linear;
}
.toggle-foldout.active i {
    transform: rotate(-180deg);
}


/* CUSTOM CHECKBOX */
.checkbox {
    position: relative;
    margin-bottom: 2px;
}
.checkbox.check-only {
    margin-bottom: 0;
}
.checkbox input {
    display: none;
}
.checkbox label {
    display: block;
    padding: 4px 8px 5px 38px!important;
    cursor: pointer;
    border-radius: 3px;
}
.checkbox.check-only label {
    padding: 0px 0px 0px 28px!important;
}
.checkbox input + label > span.custom_checkbox {
    background-color: transparent;
    border: 2px solid #b5b5b5;
    border-radius: 2px;
    display: block;
    width: 23px;
    height: 23px;
    position: absolute;
    left: 5px;
    top: 5px;
    transition: background-color 0.5s;
}
.checkbox input + label.center-checkbox > span.custom_checkbox {
    position: absolute;
    left: 50%;
    top: 5px;
    margin-left: -11px;
}
.checkbox input:checked + label > span.custom_checkbox {
    background-color: #658db3;;
    border-color: #658db3;
}
.checkbox input:checked + label {
    background-color: #e7e7e7;
}
th .checkbox input:checked + label {
    background-color: transparent;
}
.checkbox input:checked + label > span.custom_checkbox:after {
    content: "";
    display: inline-block;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 6px;
    height: 12px;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 7px;
}

td.checkbox-container {
    position: relative;
    padding: 0px;
    margin: 0px;
}
td.checkbox-container .checkbox {
    top: -14px;
    left: 0px;
    margin: 0 auto;
}
td .checkbox input:checked + label {
    background-color: transparent;
}

td.checkbox-container .checkbox label, th .checkbox label {
    padding: 0px 8px 1px 24px!important;
}
td .checkbox input + label > span.custom_checkbox, th .checkbox input + label > span.custom_checkbox {
    width: 21px;
    height: 21px;
    top: 1px
}
td .checkbox input:checked + label > span.custom_checkbox:after, th .checkbox input:checked + label > span.custom_checkbox:after {
    top: 1px;
    left: 6px;
}

/* CUSTOM RADIO */

.radio {
    position: relative;
    margin-bottom: 2px;
}
.radio input {
    display: none;
}
.radio label {
    display: block;
    padding: 5px 8px 6px 38px!important;
    cursor: pointer;
    border-radius: 3px;
}
.radio input + label > span.custom_radio {
    background-color: transparent;
    border: 2px solid #b5b5b5;
    border-radius: 100%;
    display: block;
    width: 23px;
    height: 23px;
    position: absolute;
    left: 5px;
    top: 5px;
    transition: background-color 0.5s;
}
.radio input + label.center-radio > span.custom_radio {
    position: absolute;
    left: 50%;
    top: 5px;
    margin-left: -11px;
}
.radio input:checked + label > span.custom_radio {
    background-color: #658db3;;
    border-color: #658db3;
}
.radio input:checked + label {
    background-color: #e7e7e7;
}
.radio input:checked + label > span.custom_radio:after {
    content: "";
    display: inline-block;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 6px;
    height: 12px;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 4px;
}

td.radio-container {
    position: relative;
    padding: 0px;
    margin: 0px;
}
td.radio-container .radio {
    top: -14px;
    left: 0px;
    margin: 0 auto;
}
td .radio input:checked + label {
    background-color: transparent;
}

td.radio-container .radio label, th .radio label {
    padding: 0px 8px 1px 24px!important;
}
td .radio input + label > span.custom_radio, th .radio input + label > span.custom_radio {
    width: 21px;
    height: 21px;
    top: 0px
}
td .radio input:checked + label > span.custom_radio:after, th .radio input:checked + label > span.custom_radio:after {
    top: 1px;
    left: 6px;
}


/* TOGGLE */
.toggle-label {
    padding: 0 .5rem;
    position: relative;
    top: 0rem;
}
.switch {
    display: inline-block;
    position: relative;
    width: 5rem;
    height: 2rem;
    margin-bottom: .5rem;
}
.switch input {
    width: 0;
    height: 0;
    opacity: 0;
}
.slider {
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
    background-color: #efefef;
    background: #e25856;
    transition: .4s;
}
.slider::before {
    border-radius: 1px;
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    left: .25rem;
    top: .25rem;
    background: #658db3;
    background: #e25856;
    background: #fff;
    transition: .4s;
}
input:checked + .slider {
    background: #658db3;
    background: #94b86e;
}
input:checked + .slider::before {
    background: #fff;
    left: 3.25rem;
}



.vertical-tab-link {
    padding: .5rem 3rem .5rem .75rem;
    cursor: pointer;
    background: #FFF;
    margin-bottom: 0.25rem;
    margin-top: 1px;
    position: relative;
}
.vertical-tab-link::after {
    position: absolute;
    font-family: "Material Icons";
    content: '';
    right: .75rem;
    top: .5rem;
    font-size: 1.5rem;
}

.vertical-tab-link.numbers-missing::after {
    content: 'warning';
}
.vertical-tab-link.numbers-complete::after {
    content: 'check';
}
.vertical-tab-link:hover {
    background-color: #e7e7e7;
}
.vertical-tab-link.active {
    background-color: #28A27A;
    color: #FFF;
}
.vertical-tab-content {
    border-left: 4px solid #e7e7e7;
    display: none;
    height: 100%;
    padding-left: 1rem;
}
.vertical-tab-content.active {
    display: block;
}

.vertical-tab-content h3 {
    padding-left: 1rem;
    padding-top: 0.5rem;
}


.slide-toggle {
    cursor: pointer;
    background: #28A27A;
    color: #fff;
    text-shadow: none;
    padding: .5rem 1rem;
    position: relative;
    margin-top: .5rem;
}
.slide-toggle.open {
    background: #114232;
    margin-bottom: 0;
}
.slide-toggle:hover {
    background: #474747!important;
}
.slide-toggle:after {
    display: block;
    font-family: "Material Icons";
    position: absolute;
    right: .75rem;
    top: 50%;
    margin-top: -.75rem;
    line-height: 1.5rem;
    font-size: 1.5rem;
    font-weight: normal;
    content: '\E313';
}
.slide-toggle.open:after {
    margin-top: -.75rem;
    content: '\E316';
}
.slide {
    display: none;
}
.slide.visible {
    display: block;
    margin-bottom: 1rem;
}





div.input-icon {
    position: relative;
}
div.input-icon:before {
    display: block;
    width: 2.5rem;
    line-height: 2.25rem;
    text-align: center;
    position: absolute;
    left: 1px;
    top: 2px;
    font-family: 'Material Icons';
    font-size: 1.5rem;
}
div.input-icon > input {
    padding-left: 2.5rem;
}

/* .form-error {
    border-bottom: 2px solid #d14530!important;
} */
.form-error-message {
    width: 100%;
    background-color: #d14530;
    color: rgba(255,255,255, 0.87);
    margin-top: -0.625rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0 0 2px 2px;
    text-transform: uppercase;
}
/* .form-error-message:before {
    content: "";
    display: block;
    position: absolute;
    left: 1rem;
    top: -0.7rem;
    width: 0;
    height: 0;
    border-left: 0.8rem solid transparent;
    border-right: 0.8rem solid transparent;
    border-bottom: 0.8rem solid #d14530;
} */

#list-search {
    padding: 0.1rem 0 0 0;
    position: relative;
}
#list-search:after {
    color: #28A27A;
    content: '\E8B6';
    font-family: 'Material Icons';
    font-size: 1.5rem;
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
}
input[type="text"].quick-filter {
    border: 2px solid #28A27A;
    background-color: #FFF;
    padding-left: 2.5rem;
    margin-bottom: 0;
}
.clear-search {
    position: absolute;
    right: .625rem;
    top: .625rem;
    cursor: pointer;
    color: #333;
}

.buttons {
    padding-top: 1rem;
    text-align: right;
}
.button {
    background: transparent;
    border: 2px solid #676767;
    border-radius: 2px;
    color: #676767;
    cursor: pointer;
    display: inline-block;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4375rem;
    outline: none;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    transition: color .4s, background .4s;
}
.button:hover {
    background: #676767;
    color: rgba(255, 255, 255, .87)
}
a.button {
    color: #676767;
    text-decoration: none;
}
.button:disabled, .button[disabled] {
    background-color: rgba(0,0,0,0.2);
    color: #272727;
}
.button.full {
    text-align: center;
    width: 100%;
}

.header-button, .header-button-alt {
    background-color: transparent;
    border: 2px solid #28A27A;
    border-radius: 2px;
    color: #28A27A;
    cursor: pointer;
    display: inline-block!important;
    float: right;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 23px;
    margin: 0 0 0 .5rem;
    outline: none;
    padding: 0.2rem 1rem;
    position: relative;
    right: 0px;
    bottom: -.75rem;
    text-transform: uppercase;
    transition: background-color .4s, color .4s;
    z-index: 40;
}
.h3-button {
    bottom: -1.25rem;
}
.label-button {
    text-transform: uppercase;
    position: absolute;
    right: .5rem;
    bottom: .25rem;
}
.header-button:hover, .header-button-alt:hover, .header-button.active {
    background-color: #28A27A;
    color: #FFF;
    text-decoration: none;
}

.tab .header-button:first-child, .tab .header-button-alt:first-child {
    bottom: -1.25rem;
}

#content .card {
    background-color: #FFF;
    padding: 0.25rem 1rem;
    margin-bottom: 1rem;
}
#content .card h4 {
    padding: 0.5rem 0 0.25rem 0;
    font-weight: 700;
    border-bottom: 2px solid #f7f7f7;
}
#content .card-actions {
    display: none;
    float: right;
    position: relative;
    top: 0.65rem;
}
#content .card:hover .card-actions {
    display: block;
}
#content .card-actions .action-button {
    padding: 0 0.25rem;
    margin-left: 0.25rem;
    color: #e7e7e7;
    display: inline-block;
}
#content .card-actions .action-button:hover {
    color: #28A27A;
    color: #1190c6;
}
#content .card-actions .action-button i {
    font-size: 1.25rem;
}

.action-links .action-button {
    margin-left: .5rem;
}

#content .box {
    padding: 0.5rem;
    margin-bottom: 1rem;
}
#content .box h3, #content .box p, #content .card p {
    padding-left: 0rem;
    padding-right: 0rem;
    margin-left: 0rem;
    margin-right: 0rem;
}
#content .box-full {
    height: 100%;
}

.debug {
    font-family: "Consolas", monospace;
    font-size: 0.8rem;
    padding: 0.8rem 1.2rem;
}

#modal {
    position: relative;
    background-color: #FFF;
    border: 4px solid #272727;
    padding: 1rem 2rem 2rem 2rem;
    z-index: 120;
    overflow-y: auto;
    margin: 2rem auto;
    max-height: calc(100vh - 4rem);
    width: 50%;
    max-width: 50%;
    min-width: 30rem;
}
.modal-loading {
    display: none;
    text-align: center;
    padding: 5rem 0;
}
#dimmer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.75);
    z-index: 110;
}


#footer {
    background-color: #f7f7f7;
    color: #4D5359;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.5;
    padding: 1rem 2rem;
    margin-left: 13rem;
    text-align: right;
    text-transform: uppercase;
    position: relative;
    right: 0;
    transition: right 0.66s ease-in-out;
}
#footer.filtering {
    right: 20rem;
}

.actionblock {
    background: #efefef;
    width: 18rem;
    list-style: none;
    padding: 1rem;
    z-index: 25;
    position: fixed;
    right: 0;
    bottom: 0;
    top: 4rem;
}
.actionblock + div {
    padding-right: 18rem;
}
.actionblock h3 {
    padding: .5rem 1rem;
}
.filter-block.actionblock h3 {
    padding-left: .25rem;
}
.actionblock a i.material-icons {
    position: absolute;
    right: .75rem;
    top: .3125rem;
    font-size: 1.25rem;
}
.actionblock li.sub i.material-icons {
    top: .5625rem;
    right: .875rem;
}
.actionblock li {
    position: relative;
    margin-bottom: .25rem;
}
.actionblock .regel {
    content: '';
    height: .375rem!important;
}
.actionblock .regel::before {
    content: "";
    display: block!important;
    width: 100%;
    height: .125rem;
    background: #28A27A;
    position: absolute;
    top: .125rem;
}


.actionblock li.sub a {
    border-radius: 2px;
    display: block;
    text-transform: uppercase;
    font-size: .75rem;
    padding: .75rem 1rem;
    line-height: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.actionblock li.sub a:hover {
    text-decoration: none;
    background-color: rgba(114, 193, 44, 0.33);
    background-color: #fff  ;
    color: #242424;
}

.close-button {
    border: none;
    border-radius: 2px;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
}
.modal-header .close-button {
    right: 2rem;
    top: 2rem;
}
.close-button i.material-icons {
    font-size: 1rem;
    line-height: 1rem;
    margin-top: .25rem;
    font-weight: 700;
}

.dropdown {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 16rem;
    list-style: none;
    padding: 0;
    z-index: 25;
    background: #fff;
    border: 2px solid #28A27A;
    transition: all .4s;
}
.dropdown:hover, .dropdown.active {
    border-color: #114232;
}
.dropdown i.material-icons {
    position: absolute;
    right: .75rem;
    top: .3125rem;
    font-size: 1.25rem;
}
.dropdown li.sub i.material-icons {
    top: .5625rem;
    right: .875rem;
}
.dropdown li {
    position: relative;
}
.dropdown li.toggle {
    background-color: #28A27A;
    border: 2px solid transparent;
    cursor: pointer;
    color: #28A27A;
    color: #fff;
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 23px;
    margin: 0;
    outline: none;
    padding: 0.2rem 1rem;
    text-transform: uppercase;
    z-index: 100;
    transition: background-color .4s, color .4s;
}
.dropdown li.toggle:hover, .dropdown li.toggle.active {
    cursor: pointer;
    background-color: #114232;
    color: #FFF;
    text-decoration: none;
}
.dropdown li.toggle.active {
    border-bottom: 4px solid #114232;
}
.dropdown li.toggle.active i {
    transform: rotate(180deg);
}

.dropdown li.sub {
    display: none;
}
.dropdown .regel {
    content: '';
    height: .375rem!important;
}
.dropdown .regel::before {
    content: "";
    display: block!important;
    width: 90%;
    height: .125rem;
    background: #28A27A;
    position: absolute;
    left: 5%;
    top: .125rem;
}


.dropdown li.sub a {
    display: block;
    text-transform: uppercase;
    font-size: .75rem;
    padding: .75rem 1rem;
    line-height: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.dropdown li.sub a:hover {
    text-decoration: none;
    background-color: rgba(114, 193, 44, 0.33);
    color: #242424;
}



.alert {
    border-radius: 2px;
    padding: 0.5rem 1rem 0.5rem 3rem;
    margin-bottom: 1rem;
    position: relative;
}
.alert.large {
    padding: 1rem 2rem 1rem 4rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.alert:before {
    content: 'comment';
    font-family: "Material Icons";
    font-size: 1.5rem;
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
}
.alert.large:before {
    left: 1.25rem;
    top: 1rem;
    font-weight: normal;
}
.alert.success:before { content: 'done_all'; }
.alert.warning:before { content: 'warning'; }
.alert.danger:before { content: 'report'; }
.alert.info:before { content: 'info'; }

.alert .close-alert {
    background: transparent;
    border: none;
    color: rgba(255,255,255, 0.66);
    padding: 0.25rem;
    margin: 0;
    outline: none;
    cursor: pointer;
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
    line-height: 1.25rem;
    height: 1.75rem;
}
.alert .close-alert i {
    font-size: 1.25rem;
    line-height: 1.25rem;
    padding: 0;
    margin: 0;
}
.alert .close-alert:hover {
    color: #fff;
}

.changelog h4 {
    font-family: 'consolas', monospace;
    font-size: .75rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 0;
}
.changelog ul {
    margin-top: 0;
    list-style: none;
}
.changelog li {
    font-size: .75rem;
    position: relative;
}
.changelog li::before {
    border-radius: 2px;
    content: '';
    display: block;
    height: .5rem;
    position: absolute;
    top: .5625rem;
    left: -1rem;
    width: .5rem;
    background: #a63b40;
}

.tag {
    background-color: #e7e7e7;
    border-radius: 2px;
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1rem;
    text-transform: uppercase;
    padding: 0.125rem 0.5rem;
    position: relative;
    text-align: center;
    top: -1px;
    white-space: nowrap;
}
.tag.full {
    width: 100%;
    text-align: center;
}

.success, .tag-1, .tag-7, .changelog li.A::before {
    background-color: #94b86e;
    color: rgba(255,255,255, 0.87);
}
.button.success {
    color: #94b86e;
    border-color: #94b86e;
    background: transparent;
}
.button.success:hover {
    background-color: #94b86e;
    color: rgba(255, 255, 255, .87);
}
.warning, .tag-2, .changelog li.F::before {
    background-color: #ffb848;
    color: rgba(255,255,255, 0.87);
}
.button.warning {
    color: #ffb848;
    border-color: #ffb848;
    background: transparent;
}
.button.warning:hover {
    background-color: #ffb848;
    color: rgba(255, 255, 255, .87);
}
.danger, .tag-0, .changelog li.R::before {
    background-color: #e25856;
    color: rgba(255,255,255, 0.87);
}
.button.danger {
    color: #e25856;
    border-color: #e25856;
    background: transparent;
}
.button.danger:hover {
    background-color: #e25856;
    color: rgba(255, 255, 255, .87);
}
.info, .tag-3, .changelog li.E::before {
    background-color: #658db3;
    color: rgba(255,255,255, 0.87);
}
.button.info {
    color: #658db3;
    border-color: #658db3;
    background: transparent;
}
.button.info:hover {
    background-color: #658db3;
    color: rgba(255, 255, 255, .87);
}

.tag-5 {
    background: #B49286;
    color: rgba(255, 255, 255, .87);
}
.tag-6 {
    background: #744253;
    color: rgba(255, 255, 255, .87);
}
.tag-9 {
    background: #17a0a4;
    color: rgba(255, 255, 255, .87);
}
.tag-10 {
    background: #8e67aa;
    color: rgba(255, 255, 255, .87);
}


.text-danger { color: #e25856; }
.text-info { color: #658db3; }
.text-warning { color: #ffb848; }
.text-success { color: #94b86e; }
.text-special { color: #000; }
.text-medium { font-weight: 500; }
.text-bold { font-weight: 700; }

.padded { padding: 32px; }
.padded-horizontal { padding: inherit 2rem; }
.padded-vertical { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.text-left { text-align: left!important; }
.text-right { text-align: right!important; }
.text-center { text-align: center!important; }

.pull-right { float: right; }
.pull-left { float: left; }

.rel {
    position: relative;
}

#splash {
    margin: 2rem auto;
    max-width: 420px;
    min-width: 360px;
    padding: 1rem;
}
#splash h1 {
    padding: 0.5rem 0 0 0;
    text-align: center;
    margin-bottom: 1rem;
}
#splash h3 {
    padding: 0rem 0.5rem 0.25rem 0.5rem;
}
#splash p {
    padding: 0rem 0.5rem 0.5rem 0.5rem;
}
#splash form {
    padding-top: 0.5rem;
}
#splash input {
    background: #FFF;
}
#splash .buttons {
    padding-top: 0;
}
div.input-icon.username:before { content: 'person'; }
div.input-icon.password:before { content: '\E90D'; }
div.input-icon.email:before { content: '\E0BE'; }

.trumbowyg-box {
    margin-top: .125rem;
}
.trumbowyg-editor {
    background: #fff;
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}
#page-loader {
    visibility: hidden;
    opacity: 0;
    background: #efefef;
    position: fixed;
    left: 0;
    top: 4rem;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: all .5s linear;
}
#page-loader.visible {
    visibility: visible;
    opacity: 1;
}
#page-loader .loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5rem 0 0 -5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 100%;
    border: 4px solid transparent;
    border-top-color: #28A27A;
    animation: spin 2s linear infinite;
}
#page-loader .loader::before {
    position: absolute;
    left: .25rem;
    top: .25rem;
    bottom: .25rem;
    right: .25rem;
    content: '';
    display: block;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #114232;
    animation: spin 3s linear infinite;
}
#page-loader .loader::after {
    position: absolute;
    left: .75rem;
    top: .75rem;
    bottom: .75rem;
    right: .75rem;
    content: '';
    display: block;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #14e29e;
    animation: spin 1.5s linear infinite;
}



.seach-results {
    padding: .25rem;
}
.search-result {
    background: #fff;
    padding: .5rem .75rem;
    cursor: pointer;
    margin-bottom: .25rem;
}
.search-result:hover {
    color: #fff;
    background: #28A27A;
}


#mail {
    padding: 1rem;
    color: #000;
}
.mail-table {
    border-collapse: collapse;
    border: 1px solid #000;
}
.mail-table tr {
	background-color: #fff;
}
.mail-table th {
    background: #d9d9d9;
    color: #000;
    border: 1px solid #000;
}
.mail-table td {
    color: #000;
    border: 1px solid #000;
}


.tooltip {
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.tooltip:before {
    border-radius: .125rem;
    content: attr(data-tooltip);
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: "Clear Sans", sans-serif;
    font-size: .75rem;
    font-weight: 500;
    padding: .25rem .5rem;
    background: #000;
    color: #fff;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: normal;
}
.tooltip:hover:before,
.tooltip:hover:after {
    opacity: 0.75;
    visibility: visible;
}
.tooltip-b:hover:after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -4px;
    border-width: 5px 5px 4px 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}
.tooltip-b:before {
    left: auto;
    transform: none;
    right: -1rem;
    padding: .25rem .75rem;
}

table.doors {
    border-collapse: separate;
    border-spacing: 0 8px;
}
table.doors thead th {
    background: transparent;
    color: #333;
    font-size: .75rem;
    font-weight: 500;
    padding: 0 .75rem;
}
table.doors tbody tr {
    background-color: #efefef;
}
table.doors tbody tr td:first-child {
    border-radius: 4px 0 0 4px;
}
table.doors tbody tr td:last-child {
    border-radius: 0 4px 4px 0;
}
table.doors tfoot td {
    font-size: 1rem;
    padding: 0 .75rem;
}


.has-notifications {
    -webkit-animation: color_change 1s infinite alternate;
    -moz-animation: color_change 1s infinite alternate;
    -ms-animation: color_change 1s infinite alternate;
    -o-animation: color_change 1s infinite alternate;
    animation: color_change 1s infinite alternate;
}
@-webkit-keyframes color_change {
	from { background-color: rgba(255, 255, 255, 0); }
	to { background-color: rgba(255, 255, 255, 0.45); }
}
@-moz-keyframes color_change {
	from { background-color: rgba(255, 255, 255, 0); }
	to { background-color: rgba(255, 255, 255, 0.45); }
}
@-ms-keyframes color_change {
	from { background-color: rgba(255, 255, 255, 0); }
	to { background-color: rgba(255, 255, 255, 0.45); }
}
@-o-keyframes color_change {
	from { background-color: rgba(255, 255, 255, 0); }
	to { background-color: rgba(255, 255, 255, 0.45); }
}
@keyframes color_change {
	from { background-color: rgba(255, 255, 255, 0); }
	to { background-color: rgba(255, 255, 255, 0.45); }
}
#notifications {
    width: 24rem;
    position: fixed;
    background: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 0 1.25rem;
    transform: translateX(24rem);
    transition: transform .6s ease;
}
#notifications.active {
    transform: translateX(0);
}

ul.notification-list {
    margin: 1rem 0 2rem;
    padding: 0;
    list-style: none;
}
ul.notification-list li.notification-item {
    padding: 0;
    margin-bottom: 1rem;
}
ul.notification-list li.notification-item a.notification-link {
    border-radius: .125rem;
    padding: .5rem 1rem;
    display: block;
    background: #fff;
}
ul.notification-list li.notification-item a.notification-link:hover {
    background: #f5f5f5;
    text-decoration: none;
}


.show-alert::after {
    content: '';
    width: .75rem;
    height: .75rem;
    background: #f00;
    border-radius: 100%;
    border: 2px solid #f7f7f7;

    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -.375rem;
}
.no-sidebar .show-alert::after {
    left: 1.75rem;
    right: auto;
    top: 25%;
}
.no-sidebar .subnav .show-alert::after {
    left: auto;
    right: 1rem;
    top: 50%;
}

.relation-note {
    margin-top: 2rem;
}
.relation-note .meta {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.45rem;
    padding-top: 0;
}
.relation-note .note-content {
    background: #fff;
    padding: .5rem 1rem;
    border-radius: .125rem;
    border-top: .125rem solid #28A27A;
    border-bottom: .125rem solid #28A27A;
}
.relation-note .note-footer {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 .75rem;
    margin: 0;
    border-radius: .125rem;
}
.note-actions {
    float: right;
}


hr {
    border: none;
    overflow: visible;
    position: relative;
    height: .5rem;
    margin: 1rem 0;
}
hr::after {
    display: block;
    width: 25%;
    position: absolute;
    left: 50%;
    margin-left: -12.5%;
    height: .25rem;
    background: #28A27A;
    content: '';
    border-radius: .125rem;
    top: .125rem;
}


.nnote {
    margin-top:  1rem;
    background: rgb(254, 180, 32);
    color: #fff;
    border-radius: .125rem;
}