html,
body {
    height: 100%;
}

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

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

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

.navbar-default {
    border-color: #CCCCCC;
}

.navbar-brand .badge {
    padding-top: 4px;
    padding-bottom: 4px;
}
.navbar-collapse #app-notification-counter {
    padding: 15px 5px;
}
.select2-container--krajee .select2-selection--multiple {
    line-height: .7;
}


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

:active, :hover, :focus {
    outline: 0 !important;
    outline-offset: 0 !important;
}

.ui-button-text-only .ui-button-text {
    padding: 7px 12px;
    background: #FFF !important;
}

::placeholder {
    color: #a9a9a9;
}

select.fc-empty {
    color: #a9a9a9;
}

select.fc-empty > option {
    color: #000;
}

select.fc-empty > option:first-child {
    color: #a9a9a9;
}

.cr-block {
    position: absolute;
    z-index: 1;
    right: 0;
}

.d-block {
    display: block;
}

@media (max-width: 768px) {
    .pagination > li > a, .pagination > li > span {
        padding: 5px 7px;
    }
}


.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #CCCCCC;
}

/* 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 > 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;
}

label {
    margin: 0 15px 5px 0;
}

.kv-date-remove {
    border-right: none;
}

label[data-toggle=popover],
label[data-toggle=tooltip] {
    /*border-bottom: 1px dashed #888;*/
    cursor: help;
}

#hidden-target-button {
    cursor: pointer;
}

#form-field_delete {
    cursor: pointer;
}

.empty-label {
    height: 16px;
}

.input-group .form-control:first-child {
    border-right: 0;
}

.input-group table .form-control:first-child {
    border: 1px solid #ccc;
}

/*.checkbox-column {*/
/*display: block;*/
/*padding: 15px 15px 0 15px;*/
/*margin: 0 0 15px;*/
/*font-size: 13px;*/
/*color: #333;*/
/*word-break: break-all;*/
/*word-wrap: break-word;*/
/*background-color: #f5f5f5;*/
/*border: 1px solid #ccc;*/
/*border-radius: 4px;*/
/*}*/
/*.checkbox-column .form-group {*/
/*margin: 0;*/
/*}*/
/*.checkbox-column>div>div>label {*/
/*display: block;*/
/*padding: 0 0 5px 0;*/
/*}*/
/*.сс-over {*/
/*max-height: 300px;*/
/*overflow: auto;*/
/*}*/
.header {
}

.h-authorization,
.h-logo {
    padding: 5px 15px;
}

.h-logo {
    line-height: 34px;
    font-size: 18px;
}

.h-logo a {
    text-decoration: none;
}

.h-authorization {
    text-align: right;
}

#filter-value_all .form-group {
}

.form-inline .control-label {
    margin: 0 15px 5px 0;
}

#hidden-search {
    display: none;
}

.table > thead > tr > th {
    border-bottom: none;
}

.table tr a {
    display: block;
}

.table tr.ui-sortable-handle {
    cursor: move
}

.table tr.ui-sortable-handle a {
    display: inline;
}

.model-navigation {
    margin-top: 20px;
}

.model-navigation > div {
    margin-bottom: 30px;
}

.model-navigation h1 {
    margin: 0;
}

.model-navigation h1 small {
    font-size: 16px;
}

.mn-buttons {
    text-align: right;
}

.mn-text {
    margin-top: -15px;
}

@media (max-width: 768px) {
    .model-navigation h1 small {
        font-size: 14px;
    }

    .mn-buttons {
        margin-top: -15px;
        text-align: left;
    }

    .mn-buttons > * {
        margin-bottom: 5px;
    }
}


#filter-value_all > div.row {
    padding-bottom: 30px;
}


.table-responsive {
    margin-bottom: 20px;
}

.table-responsive .table {
    margin: 0;
}

.table-contract td,
.table-contract th {
    overflow: hidden;
    white-space: nowrap;
}


.tc-fix {
    position: relative;
}

.tc-fix td:first-child,
.tc-fix th:first-child {
    text-align: center;
    width: 50px;
    position: fixed;
    background: #FFF;
}

.tc-fix td:nth-child(2),
.tc-fix th:nth-child(2) {
    padding-left: 58px;
}

.checkbox_tree ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.checkbox_tree > ul:first-child {
    padding: 0 0 15px 0;
}

.checkbox_tree > ul > li ul label {
    display: block;
    padding-left: 20px;
    font-weight: normal;
    margin: 0;
}

.checkbox_tree > ul > li ul input {
    position: absolute;
}

.checkbox_tree > ul > li ul {
    display: none;
    background: #FFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    min-width: 250px;
}

.checkbox_tree > ul > li ul > li {
    padding: 3px 20px;
}

.checkbox_tree > ul > li ul > li:hover {
    background-color: #f5f5f5;
}

.checkbox_tree.ct_down > ul > li ul {
    margin-left: -20px;
}
.checkbox_tree.ct_left > ul > li ul,
.checkbox_tree.ct_right > ul > li ul
{
    position: absolute;
}
.checkbox_tree.ct_left > ul > li > ul > li ul {
    left: 100%;
    top: 0;
}
.checkbox_tree.ct_right > ul > li > ul > li ul {
    right: 100%;
    top: 0;
}


.checkbox_list ul,
.checkbox_children ul {
    list-style-type: none;
    margin: 0;
    padding-left: 15px;
    padding-top: 5px;
}

.checkbox_list ul {
    padding-top: 15px;
}

.checkbox_list > ul > li ul {
    padding-left: 30px;
}

.checkbox_list li {
    margin-bottom: 15px;
}

/*.checkbox_tree ul>li:hover>ul {*/
/*display: block;*/
/*}*/


.contract-cost-data {
    margin-top: 20px;
    margin-bottom: 10px;
}

.contract-cost-data h3,
.contract-cost-data p {
    margin: 0;
}

.contract-cost-data p {
    margin-top: 6px;
}

.contract-cost-data ul {
    margin: 15px 0 0 0;
    padding: 0 0 0 20px;
}


.select2-container--krajee .select2-selection--single .select2-selection__arrow {
    border-left: none;
}

.select2-container .select2-selection.select2-selection--multiple .select2-search.select2-search--inline .select2-search__field:not([placeholder='']) {
    width: 100% !important;
    margin-right: 100000px;
}


dt > span {
    font-weight: normal;
    opacity: 0.5;
}

.call-board {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    overflow: auto;
    z-index: 9;
}

.call-notification {
    position: relative;
    background: #FFF;
    padding: 10px;
    margin: 10px;
    border: 1px solid #eeeeee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.call-notification > div:first-child {
    font-size: 16px;
    padding-right: 20px;
}

.cn-hide {
    position: absolute;
    right: 10px;
    top: 10px;
}


#jui-sortable {
    list-style-type: none;
    padding: 0;
}

#jui-sortable .checkbox {
    margin: 0;
}

#jui-sortable li {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 2px;
    background: #FFF;
}

#jui-sortable li:hover {
    cursor: move;
}

@media (max-width: 768px) {
    #yii-debug-toolbar {
        display: none !important;
    }

    .nav-tabs > li > a {
        padding: 10px 5px;
    }
}

.breadcrumb {
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 12px;
    }

}


.pv-small {
}

.pvs-show {
}

.pvs-hidden {
    display: none;
}


.table-td-50 td {
    width: 50%;
}


.message {
    margin-bottom: 15px;
}

.message > h5 {
    font-weight: bold;
    margin-bottom: 0;
}

.message-files {
    clear: both;
    overflow: hidden;
}
.ms-hidden {
    display: none;
}
.ms-send {
    display: inline;
}
.ms-received {
    display: inline;
    color: #337ab7;
}
.ms-read {
    display: inline;
    color: #337ab7;
    margin-left: -5px;
}

.message-files a.thumbnail {
    display: block;
    float: left;
    max-width: 100px;
    height: 50px;
    overflow: hidden;
    margin: 0 5px 5px 0;
}

.pills-contract {
}

.pageSize-control {
    margin: 15px 0 20px 0;
}


#chat {
    padding-top: 10px;
}

.nf-text-block {
    padding-right: 36px;
}

.nf-text-block .btn {
    padding: 6px 9px;
    position: absolute;
    right: 15px;
}

.nf-text-block .nf-btn-send {
    top: 0;
}

.nf-text-block .nf-btn-dst {
    top: 36px;
}

.nf-text-block textarea {
    height: 70px;
}

.nf-destination {
    display: none;
    padding-top: 2px;
}

.tabs-contract li a {
    overflow: hidden;
    white-space: nowrap;
    margin-right: 0;
    padding: 10px;
    text-align: center;
    border-right: 1px solid #f5f5f5;
}

.tabs-task-stage li a {
    overflow: hidden;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tabs-contract li a {
        text-align: center;
    }

    .tabs-task-stage li a span {
        display: block;
    }
}

.nf-files-upload {
    /*display: none;
    padding-top: 2px;*/
}

.nf-files-block {
    padding-top: 5px;
}


#contract-product {
    margin-bottom: 30px;
}

#contract-product_post option:disabled {
    display: none;
}

#contract-task {
}

#ct-all > div > div:first-child {
    text-align: right;
}

@media (max-width: 768px) {
    #ct-all > div > div:first-child {
        text-align: left;
    }
}

.notification-badge {
    background-color: #337ab7;
}

.nav-contract-messages {
    margin-bottom: 10px;
}

.status-index-ul a {
    text-shadow: 0px 0px 2px #ffffff, 0px 0px 5px #ffffff;
}


.list-inline.li-wide > li {
    padding-right: 15px;
    padding-left: 15px;
}


.task-ajax-overdueCount {
    background: #d9534f;
}



select option:disabled {
    color: #dadada;
}

.contract-messages {

}