html,
body {
    height: 100%;
}

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

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

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

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

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

.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 .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;
}


div.iti {
    display: block;
}
.custom-control-label a {
    color: #277bc3;
}

.form-group.required label::after {
    content: " *";
    color: #277bc3;
}

/* Loading progressbar for all kind of bootstrap elements */
.loading,
.ui-autocomplete-loading,
.loading > td,
.loading > th,
.nav li.loading.active > a,
.pagination li.loading,
.pagination > li.active.loading > a,
.pager > li.loading > a {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.65) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.65) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
    background-size: 40px 40px;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: 2s linear 0s normal none infinite progress-bar-stripes;
}
.btn.btn-default.loading,
input[type="text"].loading,
input[type="text"].ui-autocomplete-loading,
select.loading,
textarea.loading,
.well.loading,
.list-group-item.loading,
.pagination > li.active.loading > a,
.pager > li.loading > a {
    background-image: linear-gradient(45deg, rgba(235, 235, 235, 0.65) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(235, 235, 235, 0.65) 50%, rgba(235, 235, 235, 0.65) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
}
input[type="text"][readonly].loading,
input[type="text"][readonly].ui-autocomplete-loading,
select[readonly].loading,
textarea[readonly].loading,
input[type="text"][disabled].loading,
input[type="text"][disabled].ui-autocomplete-loading,
select[disabled].loading,
textarea[disabled].loading, {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
}

input.tt-input.loading {
    background: none !important;
}
input.tt-input:not([readonly]):not([disabled]) {
    background-color: #fff !important;
}
input.form-control.tt-input.loading {
    background-image: linear-gradient(45deg, rgba(235, 235, 235, 0.65) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(235, 235, 235, 0.65) 50%, rgba(235, 235, 235, 0.65) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0)) !important;
    background-size: 40px 40px !important;
}
input.form-control.tt-input[readonly].loading,
input.form-control.tt-input[disabled].loading {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0)) !important;
}

.tt-menu .tt-suggestion {
    white-space: normal;
    word-break: break-word;
}

.table-sm {
    font-size: .8em;
}


/* Rating */
.rating {
    display: flex;
    align-items: center;
    margin-left: -.2px;
    margin-right: -.2px;
    color: #ccc;
}
.rating__item {
    font-size: 18px;
    position: relative;
    width: 2em;
    height: 2em;
    background-image: url(../img/star-off.svg);
    background-size: 2em auto;
    background-repeat: repeat-x;
    margin-left: -.2em;
    margin-right: -.2em;
}
.rating--sm .rating__item {
    font-size: 12px;
}
.rating--1 .rating__item:nth-child(1),
.rating--2 .rating__item:nth-child(1),
.rating--3 .rating__item:nth-child(1),
.rating--4 .rating__item:nth-child(1),
.rating--5 .rating__item:nth-child(1) {
    background-image: url(../img/star-on.svg);
}
.rating--2 .rating__item:nth-child(2),
.rating--3 .rating__item:nth-child(2),
.rating--4 .rating__item:nth-child(2),
.rating--5 .rating__item:nth-child(2) {
    background-image: url(../img/star-on.svg);
}
.rating--3 .rating__item:nth-child(3),
.rating--4 .rating__item:nth-child(3),
.rating--5 .rating__item:nth-child(3) {
    background-image: url(../img/star-on.svg);
}
.rating--4 .rating__item:nth-child(4),
.rating--5 .rating__item:nth-child(4) {
    background-image: url(../img/star-on.svg);
}
.rating--5 .rating__item:nth-child(5) {
    background-image: url(../img/star-on.svg);
}

.rating-control {
    font-size: 18px;
    position: relative;
    width: 10em;
    height: 2em;
    background-image: url(../img/star-off.svg);
    background-size: 2em auto;
    background-repeat: repeat-x;
    margin-left: -.2em;
    margin-right: -.2em;
}
.rating-control:focus-within {
    outline: .1em solid #ccc;
}
.rating-control__item {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    height: 2em;
    font-size: inherit;
    appearance: none;
    background-size: 2em auto;
    background-repeat: repeat-x;
    border: none;
}
.rating-control__item:focus {
    outline: none;
}
.rating-control__item:hover,
.rating-control__item:checked {
    background-image: url(../img/star-on.svg);
}
.rating-control__item:hover ~ .rating-control__item {
    background-image: url(../img/star-off.svg);
}
.rating-control__item:nth-of-type(1) {
    z-index: 5;
    width: 2em;
}
.rating-control__item:nth-of-type(2) {
    z-index: 4;
    width: 4em;
}
.rating-control__item:nth-of-type(3) {
    z-index: 3;
    width: 6em;
}
.rating-control__item:nth-of-type(4) {
    z-index: 2;
    width: 8em;
}
.rating-control__item:nth-of-type(5) {
    z-index: 1;
    width: 10em;
}
