html,
body {
    height: 100%;
}

.container {
    width: 98%;
    overflow-x: hidden;
}

.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: 10px;
}
.footer .copyright {
    margin-top: 10px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
    padding-top: 10px;
}

.display-4 {
    font-size: 1.5rem;
    font-weight: 200;
}

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

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

h1 {
    font-size: 22px;
}
h2 {
    font-size: 18px;
}
h3 {
    font-size: 16px;
    font-weight: bold;
}
h4 {
    font-size: 14px;
    font-weight: bold;
}

/* 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 td {
    white-space: nowrap;
}

.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 {
    padding: 8px;
}

@media(max-width:768px) {
    .nav li > form {
        padding: 3px;
    }
}

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

.nav > li > .info {
    padding: 6px;
    margin: 8px;
    border-radius: 3px;
    border: 1px solid #FFFFFF;
}
.nav .informer {
    padding: 8px;
}

.single-line-preview {
    width: 100%;
    overflow: hidden;
    height: 14px;
}
.break-word {
    display: inline-block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.no-margin {
    margin: 0 !important;
}

.bg-light-green {
    background: #daffe0;
}

.bg-dark-green {
    background: #81a377;
}

.bg-light-gray {
    background: #BCBCBC;
}
.bg-light-red {
    background: #FFDEDE;
}
.panel-padding {
    padding: 4px 10px;
}
.panel-header-padding {
    padding: 4px 10px;
}

table.header-padding-sm th {
    padding: 2px 4px !important;
}
table.table-highlight tr:hover {
    background-color: rgba(200,255,200, 0.1) !important;
}

table.detail-view th {
    width: 30%;
    background-color: rgba(120,120,120, 0.1) !important;
}

.mi {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 0;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.mi::after {
    content: attr(data-ico);
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.icon-preview {
    margin-top: 21px;
}

.light-blue-background {
    background-color: #d0eff1 !important;
}

.fix-width > tbody > tr > th {
    width: 30%;
}

/* Paddings */
.padding-large { padding: 22px !important; }

.table-bordered .border-right {border-right: 2px solid #999999;}
[class^="bl__unit"] {
    max-width: 100%;
}

.bl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.bl > [class^="bl__unit"] {
    padding-right: 5px;
    padding-left: 5px;
}

.bl--nowrap-xs {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.bl--middle-xs {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.bl__unit-xs {
    -ms-flex-negative: 1;
    flex-shrink: 1;
    -ms-flex-preferred-size: initial;
    flex-basis: initial;
    max-width: initial;
}

form div.required label.control-label:after {
    content:" * ";
    color:red;
}
.table-hover > tbody > tr:hover {
    background-color: rgba(200,255,200, 0.1) !important;
}

.text-bold {
    font-weight: bold;
}
.text-italic {
    font-style: italic;
}
.text-red {
    color: #dd4b39 !important;
}
.text-yellow {
    color: #f39c12 !important;
}
.text-aqua {
    color: #00c0ef !important;
}
.text-blue {
    color: #0073b7 !important;
}
.text-black {
    color: #111111 !important;
}
.text-light-blue {
    color: #3c8dbc !important;
}
.text-green {
    color: #00a65a !important;
}
.text-gray {
    color: #d2d6de !important;
}
.text-navy {
    color: #001f3f !important;
}
.text-teal {
    color: #39cccc !important;
}
.text-olive {
    color: #3d9970 !important;
}
.text-lime {
    color: #01ff70 !important;
}
.text-orange {
    color: #ff851b !important;
}
.text-fuchsia {
    color: #f012be !important;
}
.text-purple {
    color: #605ca8 !important;
}
.text-maroon {
    color: #d81b60 !important;
}
img.grid-preview {
    max-height: 24px;
}
.list-group-item-placeholder {
    padding: 4px 4px 4px 4px;
}


.kv-center-loading {
    background:url(/img/loading-plugin.gif) center left no-repeat !important;
}
.kv-plugin-loading {
    background:url(/img/loading-plugin.gif) center left no-repeat !important;
}
.kv-panel-pager {
    height: auto;
}

.text-wrap {
    overflow: scroll;
    word-wrap: break-word;
    white-space:pre-line !important;
}

#main-grid .kv-grid-table tbody tr:hover {
    background-color: rgba(120,120,120, 0.1) !important;
}

.grid-view .column-serial-header {
    width: 55px;
}
.grid-view .column-serial-content {
    text-align: right;
    color: #00c0ef;
    background: rgba(125,125,125, 0.5);
    font-weight: bold;
}

.grid-view .column-id-header {
    width: 70px;
}

.grid-view .column-id-content {
    text-align: right;
}

.no-background {
    background: none !important;
}

.mb-5 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-15 {margin-bottom: 15px;}
.mb-20 {margin-bottom: 20px;}
.mb-25 {margin-bottom: 25px;}
.mb-30 {margin-bottom: 30px;}
.mb-35 {margin-bottom: 35px;}
.mb-40 {margin-bottom: 40px;}
.mb-45 {margin-bottom: 45px;}
.mb-50 {margin-bottom: 50px;}
.border-left {border-left: 1px solid #ddd;}
.border-right {border-right: 1px solid #ddd;}
.border-top {border-top: 1px solid #ddd;}
.border-bottom {border-bottom: 1px solid #ddd;}


.select2-container--disabled {
    opacity: 0.5;
}
