body > .container {
    padding: 60px 15px;
}

#content { overflow: hidden; min-height: 100vh; }

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #f5f5f5;
}

.bootstrap-select.show>.dropdown-menu>.dropdown-menu {
    display: block;
}

.bootstrap-select > .dropdown-menu > .dropdown-menu li.hidden{
    display:none;
}

.bootstrap-select > .dropdown-menu > .dropdown-menu li a{
    display: block;
    width: 100%;
    padding: 3px 1.5rem;
    clear: both;
    font-weight: 400;
    color: #292b2c;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
}

.model-header .th { font-size: 100%;  color: #555; line-height: 150% }
.model-header .td { font-weight: bold; }
.model-header .description { font-size: 80%; border: 1px solid #777777; margin-top: 5px; margin-left: 15px; padding: 10px; }
.model-form label { font-weight: bold; font-size: 80%;  color: #555; margin-bottom: 0; }
.model-form .row { margin-top: 10px; }
.col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8, .col-sm-12 { float: left; }

.custom-control { padding-left: 0; display: inline; }
.custom-control-label::before { position: relative; width: 2rem; height: 2rem; }
.custom-control-label::after { top: -0.75rem; width: 2rem; height: 2rem; }
.custom-checkbox .mam:checked ~ .custom-control-label::before {
    background-color: green;
}
.custom-checkbox .dam:checked ~ .custom-control-label::before {
    background-color: red;
}
.custom-checkbox .chcem:checked ~ .custom-control-label::before {
    background-color: orange;
}
.button-column { min-width: 120px; }

input[type="radio"], input[type="checkbox"] {
    margin-right: 10px;
}

.datagrid table thead tr .bootstrap-select:not([class*=col-]):not(.input-group-btn) {
    width: 100%;
}
.datagrid table thead tr .bootstrap-select:not([class*=col-]):not(.input-group-btn) > .btn {
    width: 100%;
    border: 1px solid rgb(222, 226, 230);
    border-radius: 4px;
    font-size: 14px;
    padding: 3px 20px 0 10px;
}
