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;
    margin-top: 20px;
}

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

#admin-login-panel {
    margin-top: 100px;
}

#admin-menu-left li {
    margin-top: 0;
}

.button-row {
    padding: 20px 0;
}

img.pictogram {
    width: 100px;
}

#pictograms-table tr td {
    vertical-align: middle;
}

.pictogram-preview {
    max-width: 100%;
}

ul.image_picker_selector div.thumbnail {
    margin: 3px;
}
ul.thumbnails.image_picker_selector li {
    margin: 0;
}

.image_picker_selector img {
    height: 50px;
}

#message-categories-grid-view img, #joms-grid-view img, #pictograms-table img, #application-categories-grid-view img {
    max-height: 55px;
    width: auto;
}

.panel.panel-primary .panel-heading a {
    color: #fff;
}

.image-attachment {
    max-width: 100%;
}
.admin-attachment img {
    margin: 10px auto;
}
.remove-attachment {
    border:none;
    background:url('/administrator/web/images/icons/delete.png') no-repeat center;
    width:20px;
    height: 20px;
}

.remove-stage-attachment {
    border:none;
    background:url('/administrator/web/images/icons/delete.png') no-repeat center;
    width:20px;
    height: 20px;
}

@media (min-width: 768px) {
    .navbar {
        border-radius: 0;
    }
}
.inputFileButton {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.field-uploadform-uploadedfile label {
    color:#fff!important;
}
.notice-description[data-from="executor"]:hover {
    cursor:pointer;
}
.attachment-container {
    position:relative;
    height: 120px;
    border: solid 2px #f3f3f3;
    padding: 0px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
.attachment-container .image-attachment{
    height: 100px;
}
.loader {
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    opacity: 0.4;
    position: fixed;
}
.loader p {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    transform: translate(-50%, -50%);
    font-size: 20px;
}
.kv-preview-data {
    max-width:100%;
}
#raport-table tr td:last-child{
    font-weight:bold;
}
.raport-table {
    color:#fff!important;
}
.raport-default {

}
.raport-rejected {
    background:red!important;
}
.raport-rejected td {
    border-color:#e20000!important;
}
.raport-accepted {
    background:orange!important;
}
.raport-accepted td {
    border-color:darkorange!important;
}
.raport-finished {
    background:green!important;
}
.raport-finished td {
    border-color:#016501!important;
}
.fc-content span {
    color:#fff;
    text-decoration:none;
}
#storage-items-table, #storage-places-table, #storage-table {
    width:100%;
}
.treeview {
    font-size:16px;
    margin-top:20px;
}
.tree-header {
    display:none;
}
.treeview span.icon {
    width:20px!important;
}
.tree-tags-section {
    font-size: 12px;
    display: block;
    padding-top: 10px;
}
.tree-tags-section .label {
    font-size: 100%;
    margin-left: 5px;
}
.knowledge-content {
    font-size:16px;
}
.mce-panel {
    border-radius:5px;
}
.icon {
    margin-right:0!important;
}
#applications-table tr[data-key]:hover, #map-objects-table tr[data-key]:hover{
    background-color: #5cb85c;
    color: #fff!important;
}
#pager {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
#pager label {
    margin-right: 10px;
}
.remove-message-attachment {
    display: block;
    margin: 10px auto;
}
.alert {
    word-wrap: break-word;
}
.margin-right10 {
    margin-right: 10px;
}
.margin-left10 {
    margin-left: 10px;
}
.margin-top25 {
    margin-top: 25px;
}
.margin-top5 {
    margin-top: 5px;
}
.margin-bottom5 {
    margin-bottom: 5px;
}
.padding-top15 {
    padding-top: 15px;
}
.margin-top10 {
    margin-top: 10px;
}
.margin-bottom10 {
    margin-bottom: 10px;
}
#map-layer-form .thumbnail {
    margin-bottom: 0;
}
#map-layers-table img {
    max-width:40px;
}
.map-buttons {
    margin-top: 10px;
}
.map-buttons button {
    margin-right: 10px;
}
.custom-leaflet-marker-icon {
    width: 20px!important;
    height: 20px!important;
    background: #fff;
    border-radius: 50%;
    padding: 2px 6px!important;
}
.custom-leaflet-active-marker-icon {
    width: 20px!important;
    height: 20px!important;
    color: #fff;
    background: #5cb85c!important;
    border-radius: 50%;
    padding: 2px 6px!important;
}
.leaflet-popup-content-wrapper p {
    margin: 5px 0;
}
#answer-edit-content {
    padding-top: 15px;
}
@media (min-width: 768px) {
    #consultation-question-edit .modal-dialog {
        width: 1000px;
    }
}
@media (min-width: 768px) {
    #answers-consultation-question-edit .modal-dialog {
        width: 1000px;
    }
}
.question-loader {
    position: absolute;
    top: 30%;
    left: 35%;
    color: #fff;
    z-index: 999;
    width: 299px;
    background-color: rgba(0, 0, 0, 0.56);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}
.tab-pane {
    padding-top: 10px;
}
.consultation-answer-table {
    display: block;
    max-height: 250px;
    overflow-y: scroll;
}
.post-ctrl {
    padding-top: 15px;
    padding-bottom: 15px;
}
.post-type {
    font-size: 10px;
    margin-bottom: 5px!important;
}
.type-rejected {
    color: darkred;
}
.type-approved {
    color: darkgreen;
}
.signatures input[type="checkbox"] {
    transform: translateY(2px);
    margin-right: 5px;
}
.conditions-container {
    display:flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.conditions-container span {
    padding-top: 7px;
    margin-left: 10px;
    margin-right: 10px;
}
#consultation-question-form code {
    line-height: 30px;
}
#operation-service-visits-form .select2-selection {
    min-height: 34px;
    height: auto;
}
#operation-service-visits-form .select2-selection__arrow {
    height: 100%;
}

.questions-actions .form-group{
    margin-bottom: 0;
}
.disabled {
    pointer-events: none;
    cursor: default;
}
.custom-id-marker {
    background: #e63737;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    text-align: center;
    padding-top: 7px;
    color: #fff;
    font-weight: bold;
}

.map-buttons {
    height: 45px;
}

@media (min-width: 1170px){
    .modal-xl {
        width: 1140px;
    }
}

#forms-categories-grid-view .tooltip-inner {
    font-size: 20px;
    min-width: 500px;
}

.text-bold {
    font-weight: bold;
}

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

.btn-increment, .btn-decrement {
    width: 20px;
    height: 20px;
    padding: 0;
}