html, body {
    color: #575656;
    height: 100%;
    padding-top: 0;
    margin: 0;
}

#page {
    min-height: calc(100% - 160px);
    padding-top: 60px;
}

footer {
    padding-top: 70px;
}

/* region Menu */
.navbar-brand {
    padding: 7px 15px;
}

/* multi-level dropdown menu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-width: 0;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* endregion */
/* endregion */

.label-fixed-width-sm {
    width: 60px;
    display: inline-flex;
}

.label-fixed-width-lg {
    width: 180px;
    display: inline-flex;
}

.form-group-small {
    width: 200px;
}

/*region fontawesome*/
a.fa:hover {
    text-decoration: none;
}

/*region custom checkboxes */
.custom-checkbox {
    display: none;
}

.custom-checkbox-label {
    margin: 0;
    border-right-width: 0;
    cursor: pointer;
}

.custom-checkbox-icons {
    position: relative;
    top: 4px;
    cursor: pointer;
}

.custom-checkbox-icon-unchecked,
.custom-checkbox-icon-checked {
    display: none;
}

.custom-checkbox:not(:checked) + .custom-checkbox-icons > .custom-checkbox-icon-unchecked {
    display: block;
}

.custom-checkbox:checked + .custom-checkbox-icons > .custom-checkbox-icon-checked {
    display: block;
}

/*endregion*/

/* region labeled buttons */
.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px 0 0 3px;
}

.btn-xs > .btn-label {
    position: relative;
    left: -6px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px 0 0 3px;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}

.btn-group > .btn-label:first-of-type {
    border-radius: 0 0 0 0;
}

/* endregion */

/**region push notifications*/
a.ticket {
    font-size: smaller;
    color: #009fe3;
}

span.user {
    font-weight: bold;
    display: inline-block;
}

span.message {
    display: inline-block;
}

/*added*/
a.message {
    color: black;
    display: inline-block;
}

a.message:hover {
    color: #0000EE;
}

li.content {
    padding: 1px 2px 1px 5px;
}

div.card {
    padding: 4px 1px 4px 6px;
}

.date {
    font-size: smaller;
    color: lightgrey;
}

.notification-custom {
    font-size: smaller;
}

.nothing {
    display: inline;
    padding: 4px 1px 4px 4px;
}

li.urgent {
    color: lightcoral;
}

span.urgent {
    font-size: smaller;
    color: lightcoral;
    display: inline-block;
}

span.badge {
    cursor: pointer;
}

span.badge {
    cursor: pointer;
}

span.bell {
    cursor: pointer;
}

span.message {
    cursor: pointer;
}

#push-notification-list {
    width: 380px !important;
}

#push-notification-list.dropdown-menu {
    max-width: 400px !important;
    max-height: 400px;
    height: auto;
    overflow-y: scroll;
}

.bs-callout {
    padding: 3px;
    margin: 2px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    /*fixed*/
    width: 340px;
    max-width: 340px;
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    border-radius: 3px;
}

.bs-callout + .bs-callout {
    margin-top: -5px;
}

.bs-callout-default {
    border-left-color: #777;
}

.bs-callout-default h4 {
    color: #777;
}

.bs-callout-primary {
    border-left-color: #428bca;
}

.bs-callout-primary h4 {
    color: #428bca;
}

.bs-callout-success {
    border-left-color: #5cb85c;
}

.bs-callout-success h4 {
    color: #5cb85c;
}

.bs-callout-danger {
    border-left-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

.bs-callout {
    padding: 5px;
    margin: 3px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    display: inline-block;
}

/*.bs-callout:hover{
    cursor: pointer;
    background: lightgrey;
}*/
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.bs-callout p:last-child {
    margin-bottom: 0;
}

.bs-callout code {
    border-radius: 3px;
}

.bs-callout + .bs-callout {
    margin-top: -5px;
}

.bs-callout-default {
    border-left-color: #777;
}

.bs-callout-default h4 {
    color: #777;
}

.bs-callout-primary {
    border-left-color: #428bca;
}

.bs-callout-primary h4 {
    color: #428bca;
}

.bs-callout-success {
    border-left-color: #5cb85c;
}

.bs-callout-success h4 {
    color: #5cb85c;
}

.bs-callout-danger {
    border-left-color: #d9534f;
}

.bs-callout-danger h4 {
    color: #d9534f;
}

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
    color: #f0ad4e;
}

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

.bs-border {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 8px;
}

/**endregion*/

/* fieldsets */
.formset {
    border: 1px solid #ccc;
    padding: 2em;
    margin: 2em 0;
}

.formset legend {
    width: auto;
    padding: 0 1em;
    margin: 0 0 0 -1em;
    border: 0;
}

/* news box */
.news-panel ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-item {
    padding: 4px 4px;
    margin: 0;
    border-bottom: 1px dotted #555;
}

.news-item:last-child {
    border-bottom: none;
}