html,
body {
    height: 100%;
}

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

@media (min-width: 1100px) {
    .modal-lg {
        width: 1130px;
    }
}

.tooltip {
    z-index: 1000;
}
.modal .tooltip {
    z-index: 1070;
}

#compare-modal .modal-content{
    padding: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;
}

.margin-top-10 {
    margin-top: 10px;
}

/* 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 th {
    /*white-space: pre-wrap;*/
}

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

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    cursor: pointer !important;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 768px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .tender-index__search-filters {
        margin-bottom: 0px;
    }
}

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

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

.text-warning {
    color: #f0ad4e;
}

/**
    Цвета неактивных радио кнопок
 */
.text-success.muted {
    color: #8ca28d;
}

.text-warning.muted {
    color: #fdd499;
}

.text-muted.muted {
    color: #cecdcd;
}

.text-muted-new{
    color: #c3c3c3;
}

.text-muted a {
    color: #7a7a7a;
}

.text-danger.muted {
    color: #d79896;
}

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

.text-corrected-line, tr.text-corrected-line td {
    background: #e5d0f5;
}

.navbar-brand {
    padding: 0
}

.navbar-inverse {
    background-color: #29396A;
    border-color: #29396A;
}

.navbar-red {
    background-color: #c24847;
    border-color: #c24847;
}

.navbar-blue {
    background-color: #274FA2;
    border-color: #274FA2;
}

.navbar-blue * {
    color: #ffffff;
}

.navbar-blue *:hover > * {
    color: #23527c;
}

.navbar-blue *:hover > .badge {
    color: #fff;
}

.navbar-red .navbar-nav > li > a:hover,
.navbar-red .navbar-nav > li > a,
.navbar-red .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-red .navbar-nav .dropdown-menu a {
    color: #fff;
}
.navbar-red .navbar-nav .dropdown-menu a:hover,
.navbar-red .navbar-nav .dropdown-menu a:focus {
    background-color: #8b302f;
}

.navbar-red .navbar-nav .dropdown-menu {
    background-color: #c24847;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}

.navbar-inverse .navbar-nav .dropdown > a,
.navbar-inverse .navbar-nav .dropdown > a:hover,
.navbar-inverse .navbar-nav .dropdown > a:focus {
    background-color: #29396A;
}

.navbar-inverse .navbar-nav .dropdown-menu a {
    color: #fff;
}

.navbar-inverse .navbar-nav .dropdown-menu {
    background-color: #29396A;
}
.navbar-inverse.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #fff ;
}

.navbar-inverse.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    background-color: #1a2443 ;
}

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

.nav > li > form > button.logout:focus {
    outline: none;
}

div.required label:after {
    content: " *";
    color: red;
}

ul.profile-menu ul li {
    margin-bottom: 15px;
}

ul.profile-menu ul li.active {
    font-weight: bold;
}

.disabled-fields {
    color: #CCCCCC
}

.container-fluid {
    padding-right: 30px;
    padding-left: 30px;
}

.modal-xl {
    width: 1150px;
}

tr.blocked-row td {
    background: #ef9b9a;
}

tr.updated-row td {
    background: #acce9d;
}

tr.inserted-row td {
    background: #f4fcaa;
}

tr.danger-row td {
    background: #f56d6d;
}

.text-danger {
    color: #d9534f;
}

.text-muted-light {
    color: #b3b3b3 !important;
}

.order-items .label {
    display: block;
    text-align: center;
}

.order-items .col-md-4 i, span {
    text-align: left;
}

.order-items tbody tr td:nth-child(n+4) {/* все числа таблицы выровнять по правому краю */
    text-align: right;
}
.order-items tbody tr td:nth-child(n+7) {/* Последние 3 столбца менее заментным цветом */
    color: #909090;
}

.order-items thead tr th {
    text-align: center !important;
    vertical-align: middle !important;
}

.vaTop {
    vertical-align: top !important;
}

.admin-login-row td {
    background-color: rgba(255, 44, 26, 0.16);
}


.table > tbody > tr > td.vaMiddle {
    vertical-align: middle;
    color: #555;
    padding-top: 13px;
    padding-bottom: 15px;
}

.table > thead > tr > th {
    vertical-align: top;
}

.doc-alert-show {
    display: block !important;
}

.doc-alert {
    position: absolute;
    margin-top: 10px;
    margin-left: -10px;
    display: none;
}

.doc-alert:before {
    position: absolute;
    font: normal 14px/14px 'FontAwesome';
    content: '\f06a';
    color: #f51;
    left: 0;
    top: 50%;
    transform: translate(-121%, -50%);
}

.trw {
    background-color: #fff;
}

.trb {
    background-color: #f0f0f0;
}

.hid {
    display: none;
}
.dd-name {
    font-weight: bold;
    color: #111;
}

.example-file {
    margin-top: 5px;
}

.tbl-data-important th {
    color: #777;
    font-weight: normal;
}

.dt-doc {
    color: #777;
}

.dt-doc span {
    display: inline-block;
    font-size: 85%;
}

.dt-doc_old span + span {
    padding-left: 3px;
    color: #333;
}

.table-bordered > tbody > tr > td.b-right-none {
    border-right-color: transparent;
    vertical-align: middle;
}
.table-cleared > tbody > tr > td {
    border-top-width: 0px;
}

.table-cleared > tbody > tr > td {
    border-top-width: 0px;
}

.tender-edit-object-required {
    /*position: relative;*/
    /*margin-top: 8px;*/
}

input[type="checkbox"][readonly] {
    cursor: not-allowed;
}
.icon__container-user{
    display:flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.icon__container-user .glyphicon{
    transform:scale(1.5);
}
.organization-search {
    padding: 14px;
}

.organization-index .organization-search .thumbnail{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.organization-index .organization-search .thumbnail > div:nth-child(1) {
    margin-right: 10px;
}

.organization-index .organization-search .thumbnail > div:nth-child(2) {
    margin-right: 30px;
}

@media (max-width: 500px) {
    .organization-index .organization-search .thumbnail > div:nth-child(3) > div > button {
        margin-bottom: 20px;
    }
}



.styles-like-detail-view {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

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

.tender-order_view-column {
    width: 60%;
}

/** Размеры 30\70 для DetailView */
.detail-view-30 {
    width: 30%;
}
detail-view-70 {
    width: 70%;
}

.btn-create-user{
    margin-top: -60px;
    float: right;
}

@media (max-width: 600px) {
    .btn-create-user{
        margin-top: 0px;
        float: none;
    }

}

.badge-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.badge-primary {
    color: #fff;
    border-color: #337ab7;
    background-color: #337ab7;
}

.badge-success {
    color: #fff;
    border-color: #5cb85c;
    background-color: #5cb85c;
}

.badge-danger {
    color: #fff;
    border-color: #d9534f;
    background-color: #d9534f;
}

.tender-positions-table__note-icon, .basic-materials-table__note-icon {
    min-height: 20px;
    min-width: 20px;
    margin-top: 6px;
    margin-left: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #C24847;
}

.basic-materials-table__note-icon {
    order: 2;
}

.tender-positions-table__note > div {
    width: 100%;
}

.basic-materials-table__note > div {
    width: 100%;
}

.navbar-grey {
    background-color: #969696;
    border-color: #969696;
}
.navbar-grey .navbar-nav > li > a:hover,
.navbar-grey .navbar-nav > li > a,
.navbar-grey .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
}
.hide-info{
    display:none;
    width: auto;
    position: absolute;
    z-index: 1000;
    margin-left: 40px;
    margin-top: -44px;
    border: 1px solid #b9b9b9;
    background: #f7f7f7;
    padding: 5px;
}
.value-item{
    cursor:pointer;
}

.filterObjectBlock a {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}

.filterByObjectItem {
    white-space: nowrap;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 1000;
}

.sogl-date{
    margin-top:5px;
    font-size:12px;
}

.tree-icon{
    cursor: pointer;
    position:relative;
    top:-2px;
    color:#868686;
}

.label-default-not-active {
    background-color: #dadada !important;
}
.label-warning-not-active {
    background-color: #ffe1b5 !important;
}

.label-success-not-active{
    background-color: #5cb85c9c !important;
}

.btn-status-log {
    /*display: inline-block;*/
    /*margin-top: -8px;*/
    /*margin-bottom: 5px;*/
    /*float: right;*/
    /*margin-right: 3px;*/
}

.table > thead > tr > th {
    vertical-align: top !important;
}

.icon-exist-in-sp-contract {
    color: #00a500;
}

.icon-exist-in-sp-contract:hover {
    cursor: pointer;
}

.organization-view .glyphicon-minus{
    color:#d9534f !important;float:right;
}

.organization-view .glyphicon-plus{
    color: #5cb85c;
    float: right;
}

@media (max-width: 1000px) {
    .counterparty-glyphicon {
        margin-right: 20px;
        margin-top: 20px;
    }
}

.tender-search label {
    font-weight: bold;
}

.contract-search label {
    font-weight: 100 !important;
}

.contract__btn--my-projects {
    margin-right: 10px;
}

.contract__btn--my-projects, .contract__btn--create-contract {
    float: right;
}

@media (max-width: 1000px) {
    .contract__btn--my-projects, .contract__btn--create-contract {
        float: none;
    }

}

.active-pill-order{
    background: #aeaeae;
    padding: 4px;
}

.active-pill-order a{
    color: #FFF;
}
a.default-link {

    text-decoration: none;
}

a.default-link:hover {
    text-decoration: underline !important;
}

.toggletip-container {
    position: relative;
    display: none;
}

.toggletip-bubble {
    display: inline-block;
    position: absolute;
    right: 100%;
    top: 0;
    width: 10em;
    padding: 0.5rem;
    background: #337ab7;
    color: #fff;
    border-radius:3px;
    font-size:12px;
}

.admin-icon{
    position:relative;
    top:2px;
}

.admin-list__list-item-icon {
    margin-bottom: 10px;
}

@media (max-width: 1500px) {

    .navbar-brand {
        transform: scale(0.7);
    }

    .my-main-menu .main-bar, .logout li {
        font-size: 12px;
    }
}

@media (max-width: 1307px) {
    .right-bar {
        border-left: 1px solid #cecece;
    }

    .administration-block, .menu__help-block {
        display: none;
    }

    .administration-block {
        position: absolute;

    }

    .user__name-menu {
        display: none;
    }
}

@media (max-width: 1350px) {
    .navbar-right > li > a {
        padding: 15px 10px;
    }
    .main-bar > li > a {
        padding: 15px 15px;
    }
}

@media (max-width: 1307px) {
    .navbar-right > li > a {
        padding: 15px 10px;
    }

    .main-bar > li > a {
        padding: 15px 10px;
    }
}

@media (max-width: 1140px) {
    .navbar-right > li > a {
        padding: 15px 10px;
    }

    .main-bar > li > a {
        padding: 15px 10px;
    }
}

@media (max-width: 1141px) {
    .my-main-menu .container-fluid, .my-main-menu .container-fluid .collapse {
        /*padding:0px !important;*/
        /*margin:0px 5px !important;*/
    }

    .my-main-menu .main-bar, .logout li {
        font-size: 12px;
    }

    .navbar-brand {
        transform: scale(0.5);
    }


}

@media (max-width: 1135px) {
    .my-main-menu .main-bar, .logout li{
        font-size: 10px;
    }

    .org-title-menu {
        display: none;
    }

    .org-menu-icon {
        display: inline-block !important;
    }
}

@media (max-width: 1025px) {
    .short__description-text {
        display: none;
    }

    .short__description-header {
        width: 2% !important;
    }

    .short__description-cell {
        text-align: center !important;
        vertical-align: middle !important;
        width: 2% !important;
    }

    .toggletip-container {
        display: inline-block;
    }
}

@media (max-width: 940px) {
    .navbar-header {
        width: 55px;
    }

    .navbar-header {
        width: 100px;
    }

    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand{
        margin-left:-34px !important;
    }

    .navbar-nav > li{
        margin-left:-10px;
    }

    .navbar-right > li{
        margin-left:0px !important;
    }
}

@media (max-width: 815px) {
    .navbar-nav > li{
        margin-left:-14px;
    }
}

@media (max-width: 767px) {
    .my-main-menu .container-fluid {
        padding: 0 30px !important;
        margin: auto !important;
    }

    .my-main-menu .main-bar {
        font-size: 14px;
    }

    .navbar-header {
        width: auto;
    }

    .navbar-blue .navbar-toggle {
        background-color: #2149a7;
        border-color: #fff;
    }

    .navbar-blue .navbar-toggle > .icon-bar {
        background-color: #fff;
    }

    .navbar-blue .navbar-nav > .dropdown .dropdown-toggle:focus > * {
        color: #23527c;
    }
    .navbar-blue .dropdown > .dropdown-menu > li > a {
        color: #ffffff;
    }

    .navbar-blue .dropdown > .dropdown-menu > li > a:hover {
        color: #23527c;
    }

}

@media (max-width: 600px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.btn-wrapper-fixed{
    background: #fff;
    text-align: right;
    border-radius: 5px;
    margin-bottom: 10px;
    justify-content: space-between;
}
@media (max-width: 400px) {

    .tender-index > ul.nav {
        display: flex;
        flex-direction: column;
    }

}

@media (max-width: 313px) {
    body {
        min-width: 313px;
    }
}


.file-template-descr {
    font-size: 12px;
    color: #656363;
}

#ext-circle {
    fill: red;
}

.ticket-body .nav-tabs > .active > a{
    background-color:#4bae4d !important;
    color:#FFF !important;
    margin:0px;
}
.ticket-body .nav-tabs > .nav-item{
    margin:0px;
}

.ticket-body .tab-content h4{
    display:inline-block;
}

.ticket-body .modal-content{
    padding:15px;
}

.gray-cursive a{
    font-style: italic !important;
    color:#777 !important;
    text-decoration: underline;
}

/* bootstrap customization */

@media (max-width: 1200px) {
    .col-md-4 > p > .btn {
        white-space: normal;
    }
}

@media (max-width: 570px) {
    .col-xs-6 > p > .btn {
        font-size: 12px;
    }
}

@media (max-width: 510px) {
    .col-xs-6 > p > .btn {
        white-space: normal;
    }
}
.ticket-status{
    float:right;
    min-height:42px;
    align-items: center;
    display: flex;
    margin-right:20px;
}

.ticket-file{
    display:inline-block;
}

.ticket-status > .alert{
    margin-bottom:0px !important;
    margin-right:20px;
}

.cat-ticket-view{
    position: relative !important;
    top:3px;
}

.tender__more-info {
    display: none;
}

.tender__buttons-bar > * {
    margin: 0px 5px 5px 0px;
}

.more-info__arrow {
    display: none;
}

.icons-container {
    padding-left: 0;
    padding-right: 8px;
    text-align: right;
}

.tender-index > #p0 > .grid-view > .summary {
    margin-bottom: 5px;
}

.tender-index__search-filters {
    padding-left: 15px;
    margin-bottom: 10px;
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.tender-index__search-filters > div {
    display: flex;
    flex-direction: column;

    margin-right: 20px;
}

.tender-index__search-filters > div > div {
    display: flex;
    flex-direction: column;
    width: 350px;
}

.tender-index__search-filters > div:last-child {
    width: 622px;
}

.tender-index__search-filters > div:nth-child(3) {
    width: 330px;
}

.tender-search > form > .row > .no-gutters > div:nth-child(3) {
    /*margin-bottom: 10px;*/
}

.tender-search > form > .row > .no-gutters > div .control-label {
    margin-bottom: 10px;
}

.tender-index__search-filter--work-type {
    display: flex;
    flex-direction: column;
    width: 400px;

}


@media screen and (max-width: 1000px) {

    .tender-index > #p0 > .grid-view > .summary {
        margin-bottom: 15px;
    }



    .tender-index .pull-right {
        margin: 20px 0px;

        float: none !important;
    }

    .tender-index > ul {
        display: flex;
    }




    .tender-index__search-filters > div {
        width: 70%;
        margin-right: 0px;
    }

    .tender-index__search-filters > div:nth-child(3) {
        width: 70%;
    }

    .tender-index__search-filters > div:last-child {
        width: 70%;
    }

    .tender__more-info {
        display: block;
        height: 40px;

        position: relative;
    }

    .more-info__arrow {
        width: 40px;
        height: auto;
        margin: auto;

        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;

    }

    .collapse__arrow {
        display: none;
        width: 40px;
        height: auto;
        margin: auto;

        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;

    }

    .tender-index .active {
        display: block;
    }

    .icons-container {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        width: 100%;
        padding-left: 12px;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .tender-index__search-filters {
        margin-bottom: 0px;
    }

    .tender-index__search-filters .form-group {
        margin-bottom: 5px;
    }

    .tender-index__search-filter--work-type {
        width: 100%;
    }

    .tender-index__search-filter--hide-inactive #tendersearch-showactive{
        margin-left: 0px !important;
    }
}

@media (max-width: 550px) {
    .tender-index__search-filter--work-type {
        width: 100%;
    }

    .tender-index__search-filters > div > div {
        width: auto;
    }

    .tender-index__search-filters > div {
        width: 100%;
    }
}

.element-center {
    margin-left: auto;
    margin-right: auto;
}

.orange-border {
    border: 1px solid orange;
    margin: 2px 0;
    border-bottom:1px solid orange!important;
    border-right:1px solid orange!important;
}

.tender-items__green-border {
    border: 1px solid #5CB85C;
    border-bottom:1px solid #5CB85C !important;
    border-right:1px solid #5CB85C !important;
}

.orange-font {
    color: #FFB839;
    font-weight: 800 !important;
}
@media (max-width: 400px) {
    .col-xs-6 {
        width: 100%;
    }

    .col-xs-6 > p > .btn {
        white-space: nowrap;
    }
}

.removed-file a{
    text-decoration: underline;
    -webkit-text-decoration-color: #f0ad4e !important;
    text-decoration-color: #f0ad4e !important;
    color:#f0ad4e !important;
}

.ticket-head{
    display:grid;
    grid-template-columns: 1fr 320px;
}

.header-wrapper-org{
    display: grid;
    grid-template-columns: 1fr 320px;
}

.gpcontract__create-project {
    float: right;
}

@media (max-width: 490px) {
    .gpcontract__create-project {
        float: left;
        margin-bottom: 20px;
    }
}

.compare-checkbox{
    margin-top:20px;
}

.compare-checkbox label{
    font-weight:normal;
    font-size: 15px;
}

.compare-checkbox button{
    position: relative;
    top:-20px;
}

.compare-checkbox input{
    position: relative;
    top:2px;
    margin-right:10px;
}

.compare-wrapper{
    padding:40px;
}
.object_item_price{
    font-size:13px;
}

.my-requests__hide-unavailable .form-group:nth-child(3) .checkbox {
    margin-left: 20px;
}

@media (max-width: 767px) {
    .my-requests__hide-unavailable .form-group:nth-child(3) .checkbox {
        margin-left: 0px;
    }
}

.partners__table-sm-name {
    width: 400px;
}

.partners__table-telephone {
    width: 250px;
    white-space: nowrap;
}

.partners__table-type {
    width: 150px;
}

.customers__table-roles {
    width: 250px;
}

.nav-tabs > li {
    margin-bottom: -4px !important;
    padding: 2px;
}

.tender-search__filters--hide-inactive {
   margin-left: 10px;
}

.summary {
    margin-bottom: 10px;
    /*margin-left: 8px;*/
}

.gp-contracts__table--price {

}

.gp-contracts__table--name {

}

@media (max-width:1000px) {
    .partners__table-sm-name {
        width: auto;
    }

    .partners__table-telephone {
        width: auto;
    }

    .partners__table-type {
        width: auto;
    }

    .customers__table-roles {
        width: auto;
    }
}

@media (max-width: 767px) {
    .tender-search__filters--hide-inactive {
        margin-left: 0px;
    }
}

@media (max-width: 1450px) {
    .main-menu__right-side span {
        display: none;
    }
}

@media (max-width: 930px) {
    .main-menu__right-side li {
        width: 30px;
        height: 50px;
    }
}

@media (max-width: 810px) {
    .main-menu__right-side li {
        width: 25px;
        height: 50px;
    }
}

@media (max-width: 767px) {
    .main-menu__right-side span {
        display: inline-block;
    }
    .main-menu__right-side li {
        width: auto;
        height: auto;
    }
}

.contragents__right-buttons {
    float: right;
}

.contragents-filters__filters-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.contragents-filters__category-filter {
    margin-right: 20px;
}

.contragents-filters__unread-messages-filter {
    margin-right: 20px;
}

.contragents-filters__work-type-filter {
    display: flex;
    flex-direction: row;
}

.contragents-filters__submit{
    margin-top: 25px;
    margin-left: 10px;
}

@media (max-width: 900px) {
    .contragents__right-buttons {
        float: none;
        margin-bottom: 15px;
        margin-top: 30px;
    }
    .contragents__right-buttons button {
        margin-bottom: 10px;
    }
}

@media (max-width: 340px) {
    .contragents-filters__work-type-filter {
        flex-direction: column;
    }
    .contragents-filters__submit{
        margin-top: 0px;
        margin-left: 0px;
    }
}

.warning-td {
    border: 2px solid orange !important;
}

.mr-1{
    margin-right:10px;
}

.border-none-table>tbody>tr>td,
.border-none-table>tbody>tr>th,.border-none-table>thead>tr>td, .border-none-table>thead>tr>th {
  border: none;
  border-top: 1px solid #ddd;
}

.border-none-table{
    border: none;
}




.select2-container--krajee .select2-selection--single .select2-selection__clear:hover {
    cursor: pointer;
}

.filters > td {
    padding: 15px 8px 8px !important;
    height: 70px;
}

.mr-1 {
    margin-right: 10px;
}

.cookie-modal {
    width: 100%;
    height: 25%;


    background-color: aliceblue;
}

.modal-open {
    position: relative;
}

.cookie-modal {
    position: absolute;
    top: auto;
    bottom: 0;

    height: auto;
}

.cookie-modal__button {
    border: 1px solid gray;
}

.modal-container > h3 {
    margin-top: 5px;
    margin-bottom: 13px;

    font-weight: 600;
}

.modal-container > p {
    margin-bottom: 15px;
}

@media (max-width: 800px) {
    .modal-container > h3 {
        font-size: 15px;
    }

    .modal-container > p {
        margin-bottom: 10px;
    }
}

#open-object-modal {
    /*padding-left: 28px;*/
}

#get-tender-work-types-pjax {
    /*padding-left: 27.7%;*/
    /*padding-right: 10%;*/
}

.get-tender-work-types {
    /*margin-left: 15px;*/
    /*margin-bottom: 10px;*/
}

.field-tender-object_id {
    margin-bottom: 0px !important;
}

@media (max-width: 767px) {
    #get-tender-work-types-pjax {
        padding-left: 2%;
        padding-right: 2%;
    }
}


div.item-btn-block a.btn {
    display: inline-block;
    margin: 0px !important;
    margin-bottom: 10px !important;
}

div.btn-padding a.btn {
    margin-right: 5px;
}

.tender-request-edit__header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;

    margin-bottom: 20px;
}

.tender-positions__export {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;

    margin-bottom: 20px;
}

.tender-positions__export > .btn:last-child {
    margin-left: 10px;
}

.tender-positions__header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.cost-on-request__container {
    display: flex;
    flex-direction: column;

    padding: 10px;
}

.cost-on-request__row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cost-on-request__key {
    width: 270px;

    margin-right: 30px;
}

.positions-legend__container {
    display: flex;
    flex-direction: column;

    padding: 10px 10px 20px 50px;
}

.positions-legend__row {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-bottom: 10px;
}

.positions-legend__row:last-child {
    margin-bottom: 0px;
}

.positions-legend__description {
    margin-left: 6px;
}

@media (max-width: 900px) {
    .tender-positions__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .positions-legend__container {
        padding: 10px 10px 10px 10px;
    }

    .tender-positions__export {
        justify-content: flex-start;
    }
}

@media (max-width: 500px) {
    .cost-on-request__row {
        flex-direction: column;
        align-items: flex-start;

        margin-bottom: 10px;
    }

    .cost-on-request__row:last-child {
        margin-bottom: 0px;
    }

    .cost-on-request__key {
        margin-right: 0px;
    }

    .positions-legend__description {
        margin-left: 15px;
    }

}

@media (max-width: 400px) {
    .tender-positions__header {
        align-items: center;
    }

    .cost-on-request__row {
        align-items: center;
    }
}

.customer-feedback__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 15px;

    width: fit-content;

    border: 1px solid #DDDDDD;
    border-radius: 5px;
}

.customer-feedback__container > * {
    margin-bottom: 10px;
}

.customer-feedback__container > *:last-child {
    margin-bottom: 0px;
}

.customer-feedback {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-shrink: 0.5;
}

.customer-feedback__status {
    white-space: nowrap;
}

.customer-feedback__comment {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    margin-left: 30px;
}

.customer-feedback__comment-body {
    max-width: 400px;

    margin-bottom: 15px;
}

@media (max-width: 1100px) {
    .tender-request-edit__header {
        flex-wrap: wrap;
    }

    .customer-feedback {
        flex-wrap: wrap;

        margin-left: 0px;
    }
}

@media (max-width: 550px) {
    .customer-feedback {
        min-width: fit-content;
    }
}
.b-right-none .dt-doc{
    width:280px;
}

span.indicator-low {
    color: #be2214;
}

span.indicator-medium {
    color: #e6be10;
}

span.indicator-high {
    color: #5db910;
}

/* блок поиска по таблицам, появляющийся при адаптиве */

/* блок поиска по таблицам, появляющийся при адаптиве */



.field-organizationprojects-cancel_reason{
    display:none;
}

.order-form .field-order-projects_complete .control-label{
    display:block !important;
}

.order-form .field-order-projects_current .control-label{
    display:block !important;
}

.order-form .field-order-equipment_used .control-label{
    display:block !important;
}




.orders-list-menu a:hover{
    text-decoration:none;
}



.status {
    padding: 1px 6px;

    color: #fff;

    border-radius: 2px;
    white-space: nowrap;
}

.status--green {
    background-color: #5CB85C;
}

.status--orange {
    background-color: #F0AD4E;
}

.status--grey {
    background-color: #BABABA;
}

.status--small {
    padding: 0px 5px;
}


.stickers {
    display: flex;
    flex-direction: row;

    padding: 20px 33px;

    font-family: 'Roboto';
}

.stickers__block {
    display: flex;
    flex-direction: column;

    height: fit-content;

    padding: 20px;
    margin-right: 30px;

    border-radius: 8px;

    box-shadow: 0px 1px 12px 0px rgba(202,201,201,0.75);
    -webkit-box-shadow: 0px 1px 12px 0px rgba(202,201,201,0.75);
    -moz-box-shadow: 0px 1px 12px 0px rgba(202,201,201,0.75);
}

.stickers__block:last-child {
    margin-right: 0px;
}

.stickers__project {
    display: flex;
    flex-direction: column;

    max-width: 780px;

    padding: 15px;
    margin-bottom: 10px;

    background-color: #FAFAFA;
    border: 1px solid #EDEDED;
}

.stickers__project--selected {
    background-color: #e8e8e8;
}


.stickers__project:last-child {
    margin-bottom: 0px;
}

.stickers__project-header {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-bottom: 10px;
}

.stickers__project-info {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-left: auto;
}

.stickers__project-name {
    font-size: 18px;
    font-weight: 300;

    margin-right: 10px;
}

.stickers__stickers-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    position: relative;

    padding: 22px 22px;
    margin-left: auto;

    border-radius: 50%;
    font-size: 24px;
}

.stickers__stickers-sum {
    position: absolute;
}

.stickers__project-lead {
    float: right;
}

.stickers__project-plan {
    padding: 5px 20px;
    margin-left: 20px;

    white-space: nowrap;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
}

.stickers__sticker--yellow {
    color: #333333;
    background-color: #F6E75D;
    border: 1px solid #CEC251;
}

.stickers__sticker--red {
    color: #ffffff;
    background-color: #D9534F;
    border: 1px solid #B0413E;
}

.stickers__sticker--orange {
    color: #ffffff;
    background-color: #f0ad4e;
    border: 1px solid #ce8318;
}

.stickers-hint {
    width: 11px;
    height: 13px;
}

.stickers-hint:hover {
    cursor: pointer;
}

/* stickers-table */

.stickers-table {
    display: none;
    border-collapse: collapse !important;
    border-spacing: 0;
    table-layout: fixed;
}

.stickers-table--visible {
    display: table;
}

.stickers-table__heading-row {
    background-color: #ffffff;
    border-bottom: 1px solid #EDEDED;
    border-collapse: collapse;
}

.stickers-table__heading-row:last-child {
    font-size: 16px;
    border-bottom: 3px solid #d0d0d0;
}

.stickers-table th, .stickers-table td {
    padding: 17px 10px;
    padding-left: 1em;

    text-align: left;
    vertical-align: top;
}

.stickers-table__num-cell {
    text-align: right !important;
}

.stickers-table__row {
    border-bottom: 1px solid #EDEDED;
}

.stickers-table__row:nth-child(odd) {
    background-color: #F9F9F9;
}

.stickers-table__row:hover {
    background-color: #dcdcdc;
}

/* Модификаторы */

.nowrap-cell {
    white-space: nowrap;
}

.stickers-hint__wrapper {
    margin-left: 5px;
    position:relative;
}
.stickers-hint__description {
    display:none;
    margin-left:-350px;
    padding:10px;
    margin-top:17px;
    background:#f3f3f3;
    -moz-box-shadow:0 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow:0 5px 5px rgba(0,0,0,0.3);
    box-shadow:0 5px 5px rgba(0,0,0,0.3);
}

.stickers-hint__wrapper:hover .stickers-hint__description{
    display: block;

    width: 360px;

    position: absolute;
    top: 0;
    left: 20px;
    z-index: 9999;
}

.stickers-hint__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;

    margin-bottom: 20px;
}

.stickers-hint__row:last-child {
    margin-bottom: 0px;
}

.form-horizontal .form-group {
    margin-right: 0px !important;
    margin-left: 0px !important;
}


#approving-status-map-modal {
    padding-right: 40px !important;
    padding-left: 40px !important;
}

#approving-status-map-modal .modal-dialog {
    width: auto;
}

.decision-wrapper {
    width: 100%;
    height: 100%;
    padding: 40px 50px;
    font-family: 'Roboto', sans-serif;
}

.status-changing-row {
    display: flex;
    flex-direction: row;
    align-items: center;

    margin-top: 10px;
    padding: 10px 0 10px 130px;
    min-width: fit-content;

    background-color: #F5F5F5;
    border-radius: 4px;
}

.status-changing-row .iteration__name {
    flex-shrink: 0;

    max-width: inherit;
    margin-left: 40px;

    white-space: nowrap;
}

.status-changing-row .iteration__comment {
    width: auto;

    padding: 0px;
    margin-right: 20px;

    background-color: transparent;
}

.iterations-container {
    display: flex;
    flex-direction: column;
}

.iteration__row {
    padding: 20px 0 20px 130px;

    display: flex;
    flex-direction: row;
    align-items: center;

    position: relative;
}

.iteration__date {
    position: relative;

    margin-right: 20px;

    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;

    color: #333333;
}

.iteration__time {
    margin-left: 5px;
}

.iteration__name {
    display: flex;
    flex-direction: row;
    align-content: center;

    margin-left: 20px;
    margin-right: 20px;

    min-width: 155px;
    max-width: 155px;
}

.iteration__name-icon {
    width: 13px;
    height: 16px;

    margin-left: 5px;
    margin-top: 3px;
}

.iteration__comment {
    padding: 5px 8px;

    width: 320px;

    background-color: #F5F5F5;
    color: #333333;
    border-radius: 7px 7px 7px 0px;
}

/* status item */

.iteration__status {
    max-width: 200px;

    padding: 2px 5px;
    margin-right: 20px;

    white-space: nowrap;
    overflow: hidden;
    border-radius: 3px;
    color: #ffffff;
}

.iteration__left-status-wrapper {
    min-width: 136px;

    position: relative;
}

.iteration__left-status-wrapper > .iteration__status {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.iteration__right-status-wrapper {
    min-width: 250px;

    position: relative;
}

.iteration__right-status-wrapper > .iteration__status {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* //status item */


.timeline {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: stretch;

    position: relative;
}

.timeline__circle {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    border-width: 1px;
    border-style: solid;

    color: #ffffff;

    z-index: 10;
}

.timeline__line {
    position: absolute;
    height: calc(50% + 20px);
    width: 10px;
}

.timeline__line--top {
    top: -20px;
}

.timeline__line--bottom {
    bottom: -20px;
}

.iterations-container > .iteration__row:last-child {
    margin-bottom: 30px;
}

.iteration__row:first-child >
.timeline > .timeline__line--top {
    height: 10px;

    margin-top: -14px;

    top: 50%;
    transform: translateY(-50%);

    background-color: #777;
}

.iteration__row:last-child >
.timeline > .timeline__line--bottom {
    height: 20px;

    margin-top: 19px;

    top: 50%;
    transform: translateY(-50%);

    background-color: #777;
}

.timeline__iteration-num {
    padding: 5px 8px;
    margin-top: 43px;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    border-radius: 3px;
    background-color: #F5F5F5;
    color: #333;
    white-space: nowrap;
}

.timeline__iteration-direction {
    width: 16px;
    height: 14px;

    margin-top: -25px;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);


}

/* color settings */

.decision-wrapper .green {
    background-color: #5cb85c;
}

.decision-wrapper .red {
    background-color: #d9534f;
}

.decision-wrapper .grey {
    background-color: #777;
}

.decision-wrapper .orange {
    background-color: #f0ad4e;
}


.timeline__circle--green {
    border: 1px solid #589E63;
    background-color: #5cb85c;
}

.timeline__circle--grey {
    border: 1px solid #5f5f5f;
    background-color: #777;
}

.timeline__circle--red {
    border: 1px solid #C5605A;
    background-color: #d9534f;
}

.timeline__circle--orange {
    border: 1px solid #D88539;
    background-color: #f0ad4e;
}

.cursor{
    cursor:pointer;
}


.no-hover-link:hover{
    color:#333;
    text-decoration:none;
}

.no-hover-link{
    color:#333;
}

#link-item-modal .save-form {
    display: none !important;
}

.price-search-filter label {
    font-weight: 100;
}

.requests-list__buttons-bar > * {
    margin: 2px;
}

.row-gray {
    background: #d8d8d8 !important;
}

.correct-order-icon {
    cursor: pointer;
    display: inline-block;
}

.wrap-form-group {
    width: 80%;
    display: inline-block;
}

.contracts-filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

    width: 100%;

    padding: 10px 10px !important;
    margin-bottom: 10px;

    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contracts-filters__selects {
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 70%
}

.contracts-filters__project-select {
    margin-right: 20px;
    width: 200px;
}

.variant-selector{
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .contracts-filters__selects {
        width: 100%
    }

    .contracts-filters__project-select {
        width: 400px;
    }
}

.contract-by-request {
    display: flex;
    flex-direction: column;

    padding: 20px 15px;
    margin: 10px 0px;

    background-color: #f5f5f5;
    border-radius: 8px;
}

.contract-by-request__info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.contract-by-request__contract, .contract-by-request__executer {
    margin-right: 10px;

    white-space: nowrap;
    cursor: pointer;
}

.contract-by-request__status-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contract-by-request__status-wrapper > span {
    margin-right: 10px
}

.contract-by-request__links {
    display:flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.contract-by-request__links > a:first-child {
    margin-right: 10px;
}

span.parent-label{
    display: block;
}

.static-pos-load .cost-nds{
 text-decoration: underline;
 text-decoration-style: dashed;
 cursor:pointer;
}
.label {
    font-weight: inherit !important;
}

.page-short-description p, .full_description p {
    margin-bottom: 15px;
}

.help-page {
    padding: 25px;
}

.help-page p {
    margin-bottom: 15px;
}

.help-page ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.help__contacts p {
    margin-left: 15px;
}

.help__contacts blockquote {
    margin-bottom: 15px;
}

.help__video iframe{
    width: 100%;
}


.dict-page-index .btn{
    margin-bottom: 10px;
}

.contract__buttons-vertical-bar .btn,
#tender-criterias-ajaxed-grid .btn,
#approvers-list-ajaxed-grid .btn,
#invite-organization-ajaxed-grid .btn,
.price-list__table-container .btn {
    margin-bottom: 10px !important;
}

.tender-form h4 {
    margin-bottom: 10px;
}

.comments-icon label:before {
    font-family: FontAwesome;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    content: "\f10c";
    font-size: 20px;
    color:#4cb74e;
}

.comments-icon label.active:before, .comments-icon label.blocked:before{
    content: "\f192";
}

.muted-green{
    color:#4cb74ebf !important;
}

.text-success-green{
    color: #4cb74e;
}

.docs-all+.text-success{
    color: #4cb74e;
}

.muted-half{
    opacity:0.7 !important;
}

.mtop5{
    margin-top:5px;
}

.green-ok{
    color:#248315 !important;
}

.red-ok{
    color:#ff1d1d !important;
}
.arrow-blue {
    font-size: 33px;
    position: absolute;
    right: 15px;
    top: 2px;
}

/*Акцент на строке изменений*/
td.cell-warning {
    border: 2px solid #FFB839 !important;
}

td.cell-success {
    border: 2px solid #398903 !important;
}

tr.item-marked td {
    background-color: #d4f5a2 !important;
}

#modal-gp-profit .select2-search__field{
    width:200px !important;
}

.ks-report .input-daterange{
    margin-left: 29px;
}
#accountant-pjax .empty, #accountant-pjax .empty, #engineer_pto-pjax .empty, #estimator-pjax .empty {
    position: relative;
    top:30px;
}