/* SIDEBAR */

.sidebar-section.last-empty {
    margin-bottom: 90px;
    border: 0 none;
}

#logo {
    height: 130px;
    background-color: #fff;
    text-align: center;
}

#logo img {
    margin-top: 40px;
}

.sidebar {
    color: #fff;
    background-color: #94151e;
}

.sidebar-title-link,
.sidebar-title-link:visited,
.sidebar-title-link:hover {
    color: #fff;
}

.sidebar-title {
    padding: 0 14px 0 20px;
}

.sidebar-link:hover {
    background-color: #808285;
}

.sidebar-link,
.sidebar-link:visited,
.sidebar-link:active,
.sidebar-link:hover,
.sidebar-right-arrow {
    color: #fff;
}

.sidebar-right-arrow {
    color: #000;
}

.sidebar-section {
    border-color: #fff;
}


/* FORMS, LISTS ETC */

table thead th {
    background-color: #748083;
    padding: 15px 7px;
}

table tbody td, table tbody th {
    padding: 15px 7px;
}

table thead th.sortable:hover {
    background-color: #333;
}

input[type=checkbox]+label:before {
    color: #94151e;
}

#empty-page-indicator {
    width: 250px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
}
#empty-page-indicator .material-icons {
    display: block;
    font-size: 80px;
    margin: 10px 0;
}

/* BUTTONS */

.button {
    cursor: pointer;
}

.button.button-primary,
#toolbar form input[type="submit"],
#toolbar form input[type="submit"]:active,
#changelist .actions .button,
#changelist .actions .button:active,
input[type="submit"].default,
input[type="submit"].default:active {
    background-color: #94151e;
    color: #fff;
}

.button.button-primary:hover,
.button.button-primary:focus,
#toolbar form input[type="submit"]:hover,
#toolbar form input[type="submit"]:focus,
#changelist .actions .button:hover,
#changelist .actions .button:focus,
input[type="submit"].default:hover,
input[type="submit"].default:focus,
.vDateField-link:hover span,
.vTimeField-link:hover span {
    background-color: #5f0f17;
    color: #fff;
}
.button.button-small {
    height: 25px;
    line-height: 25px;
    font-size: 12px;
}
.button.button-extra-small {
    height: 20px;
    line-height: 20px;
    font-size: 10px;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
.segmented-button:hover,
.segmented-button:focus,
.object-tools a:hover,
.object-tools a:focus {
    background-color: #9da6a8;
}

/* TRANSLATIONS TABS */

.ui-widget-header {
    background-color: #9da6a8;
}

.ui-widget.ui-widget-content {
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.45);
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #9da6a8;
    background: #94151e;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
    background: #94151e !important;
    border: 1px solid #9da6a8 !important;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: 0 none;
}

/* TEXT, LINKS ETC */

a,
a:visited{
    color: #94151e;
}

a:hover,
a:focus {
    color: #5f0f17;
}

/* LOGIN */
body.login {
    background-color: #DFDFDF;
}

body.login .submit-row input[type="submit"] {
    background: #94151e;
}

body.login #content {
    background: url("../images/logo.png") no-repeat 50% 30px;
    padding-top: 95px;
}

/* Dashboard */

#stats {

}

#stats .row {
    clear: both;
}

#stats .row .col {
    width: 28%;
    margin: 0.7% 0.4%;
    padding: 20px 15px;
    background-color: #fff;
    display: block;
    float: left;
}

#stats h1.stats-section {
    display: block;
    clear: both;
    padding: 20px 0 0 10px;
}

#stats .row .col h1 {
    font-size: 14px;
}

#stats .row .col h1 .material-icons {
    font-size: 14px;
    margin-right: 5px;
}
#stats .row .col.col-single-stat .stat {
    font-size: 35px;
    font-weight: bold;
}

#stats .col-single-stat .h1 {
    line-height: 20px;
}

#stats .col-single-stat .material-icons {
    font-size: 20px;
    float: left;
    margin-right: 5px;
}

#stats .row .col.col-user-stat {
    /*height: 330px;*/
}
#stats .row .col.col-user-stat:hover {
    -webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.08);
    box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.08);
    cursor: pointer;
}
#stats .row .col.col-user-stat h1 {
    text-align: center;
}
#stats .row .col.col-user-stat h1 .material-icons {
    display: block;
    text-align: center;
    font-size: 70px;
    margin-bottom: 10px;
    font-weight: bold;
}
#stats .row .col.col-user-stat .user-stats-three,
#stats .row .col.col-user-stat .user-stats-one{
    border-bottom: 1px solid #cad0d4;
    padding: 0 0 10px 0;
}
#stats .row .col.col-user-stat .user-stats-three,
#stats .row .col.col-user-stat .user-stats-one,
#stats .row .col.col-user-stat .user-stats-rating {
    display: block;
    width: 100%;
    clear: both;
}
#stats .row .col.col-user-stat .user-stats-three div {
    width: 30%;
    margin: 0.7% 0.4%;
    float: left;
    display: block;
    text-align: center;
}
#stats .row .col.col-user-stat .user-stats-three .num {
    display: block;
    font-size: 24px;
    font-weight: bold;
}
#stats .row .col.col-user-stat .user-stats-three .label,
#stats .row .col.col-user-stat .user-stats-one .label {
    font-size: 11px;
}

#stats .row .col.col-user-stat .user-stats-one {
    margin: 20px 0;
}
#stats .row .col.col-user-stat .user-stats-one .num {
    font-size: 24px;
    font-weight: bold;
    display: block;
    float: left;
    margin: 0 10px;
}
#stats .row .col.col-user-stat .user-stats-one .label {
    display: block;
    float: left;
}
#stats .row .col.col-user-stat .user-stats-rating {
    text-align: center;
    font-size: 11px;
}
#stats .row .col.col-user-stat .user-stats-rating .feedback {
    display: block;
    width: 50%;
    float: left;
}
#stats .row .col.col-user-stat .user-stats-rating .label {
    display: block;
    padding-top: 5px;
}
#stats .row .col.col-user-stat .user-stats-rating .material-icons {
    font-size: 18px;
}

#stats .dashboard-filters {
    border-top: 1px solid #d6d6d6;
}
#stats .dashboard-filters .filter {
    float: left;
}
#stats .dashboard-filters .filter label {
    display: block;
    line-height: 20px;
}
#stats .dashboard-filters .submit input {
    margin-top: 20px;
}
#stats .dashboard-filters .help {
    margin-left: 10px;
    color: #707e95;
}
/**/


.page-refresh {
    display: block;
    position: absolute;
    top: 0.8rem;
    right: 15rem;
}

tr.urgent {
    background-color: rgba(147, 21, 29, 0.3);
}

.ui-tooltip {
    white-space: pre-wrap;
}

.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    float: right;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

#email-form input[type=checkbox] {
    display: unset;
}

.field-ratings span {
    font-size: 14px;
}
.field-ratings .material-icons {
    font-size: 16px;
}
.material-icons.negative {
    color: #ff0000;
}

.change-list .object-tools {
    width: 100%;
}

.change-list .object-tools li {
    float: right;
}