html,
body {
    height: 100%;
}

footer {
    width: 100%;
    position: relative;
    bottom: 0px;
    background: #fff;
}

p {
    font-size: 14px !important;
    font-family: inherit !important;
    color: inherit !important;
}

.underline {
    text-decoration: underline;
}

.bg-red-light {
    background-color: #ffb9b9;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

.no-wrap {
    white-space: nowrap !important;
}

.sortable {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.expand-text {
    margin-top: 10px;
}

ul.sortable li.placeholder {
    position: relative;
    height: 40px;
    border: dashed 1px grey;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /** More li styles **/
}

ul.sortable li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
}

.handle {
    background-color: rgb(0, 138, 204);
    cursor: move;
}

.handle-v {
    height: 100%;
    width: 15px;
    float: left;
}

.handle-h {
    height: 15px;
    width: 100%;
}

.form-row-smaller input[type=text] {
    width: 90%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.right-panel {
    min-height: 90vh;
    margin-bottom: -20px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.login-logo {
    max-width: 250px;
    margin: 0px auto;
}

.logo-small {
    height: 30px;
}

.text-blue-konver {
    color: rgb(0, 138, 204);
}

.text-secondary td {
    color: #a0a0a0 !important;
}

.background-blue-konver {
    color: #fff;
    background-color: rgb(0, 138, 204);
}

.text-cancelled td {
    color: #a0a0a0 !important;
    text-decoration: line-through;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.pagination {
    margin-left: 20px;
}

.tasks .row {
    line-height: 40px;
}

.task-button {
    border-left: solid 5px;
    border-color: transparent;
}

.task-complete {
    color: #fff;
    cursor: pointer;
}

.task-complete.task-hover {
    color: #a0a0a0;
}

.task-overdue, .task-overdue a {
    color: #ff0000 !important;
}

.task-button.priority-1 {
    border-color: #e2220d;
}

.task-button.priority-2 {
    border-color: #d36d00;
}

.task-button.priority-3 {
    border-color: #f78e04;
}

.task-button.priority-4 {
    border-color: #f7d604;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view table.col-top td {
    vertical-align: top !important;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-check-input {
    margin-top: 0px;
}

.foto-upload-button {
    position: relative;
    border: none !important;
    border-radius: 0 !important;
    margin: 0px auto;
}

.foto-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0px auto;
    margin-bottom: 20px;
}

.foto-wrapper img {
    position: absolute;
    width: 100%;
}

.form-check input {
    margin-top: 5px;
}

.loader-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 30;
}

.loader {
    position: absolute;
    border: 3px solid #c0c0c0; /* Light grey */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    z-index: 40;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

.avatar-small {
    max-width: 45px;
}

.is-breakable {
    word-break: break-word;
    white-space: normal !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.table-clickable tr, .table-clickable td, .cursor-pointer {
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .right-panel {
        margin: 0px !important;
    }
}

.algolia-autocomplete {
    width: 100%;
}

.algolia-autocomplete .aa-input, .algolia-autocomplete .aa-hint {
    width: 100%;
}

.algolia-autocomplete .aa-hint {
    color: #999;
}

.algolia-autocomplete .aa-dropdown-menu {
    width: 100%;
    background-color: #fff;
    border: 1px solid #999;
    border-top: none;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
    cursor: pointer;
    padding: 5px 4px;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
    background-color: #B2D7FF;
}

.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em {
    font-weight: bold;
    font-style: normal;
}

.dropdown-item {
    white-space: normal;
}

.divider {
    width: 100%;
    height: 4px;
    margin: 30px 0px;
}

.list-group-item {
    user-select: none;
}

.list-group input[type="checkbox"],
.list-group input[type="radio"] {
    display: none;
}

.list-group input[type="checkbox"] + .list-group-item,
.list-group input[type="radio"] + .list-group-item {
    cursor: pointer;
}

.list-group input[type="checkbox"] + .list-group-item:before,
.list-group input[type="radio"] + .list-group-item:before {
    content: "\2713";
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}

.list-group input[type="checkbox"]:checked + .list-group-item,
.list-group input[type="radio"]:checked + .list-group-item {
    background-color: #0275D8;
    color: #FFF;
}

.list-group input[type="checkbox"]:checked + .list-group-item:before,
.list-group input[type="radio"]:checked + .list-group-item:before {
    color: inherit;
}

.grid-view
a.asc:after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0de";
}

.grid-view
.desc:after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0dd";
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome and Opera */
}

.toggle-row {
    text-align: center;
}

.lead ol, .lead ul {
    list-style-position: inside;
    margin-top: 15px;
}