@media only screen and (min-width: 768px) and (max-width: 992px) {
    .pull-right-sm {
        float: right !important;
    }
}
.no-padding-left {
  padding-left: 0 !important;
}
.no-padding-right {
  padding-right: 0 !important;
}

.suggestions-wrapper {
  display: block !important;
}
.location-input {
    margin-bottom: 7px;
}

.filter-form {
  /* display: none; */
}
.filter-toggle {
    border-bottom: 1px dashed #158cba;
    display: none;
}
.filter-toggle:hover {
    border-bottom: 0;
    text-decoration: none;
}

/* bootstrap-combobox.css */
@media (min-width: 768px) {
    .lot-navigation {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    .filter-toggle-container {
        text-align: right;
        position: relative;
    }
    .filter-toggle {
        position: absolute;
        bottom: 6px;
        right: 0;
    }

    .form-search .combobox-container,
    .form-inline .combobox-container {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: top;
    }
    .form-search .combobox-container .input-group-addon,
    .form-inline .combobox-container .input-group-addon {
        width: auto;
    }
}
.combobox-selected .caret {
  display: none;
}
.combobox-container:not(.combobox-selected) .glyphicon-remove {
  display: none;
}
.typeahead-long {
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
}
.control-group.error .combobox-container .add-on {
  color: #B94A48;
  border-color: #B94A48;
}
.control-group.error .combobox-container .caret {
  border-top-color: #B94A48;
}
.control-group.warning .combobox-container .add-on {
  color: #C09853;
  border-color: #C09853;
}
.control-group.warning .combobox-container .caret {
  border-top-color: #C09853;
}
.control-group.success .combobox-container .add-on {
  color: #468847;
  border-color: #468847;
}
.control-group.success .combobox-container .caret {
  border-top-color: #468847;
}

.dropdown-menu > li > a {
    color: #333;
}
/* end bootstrap-combobox.css */

#notify_area {
    position: fixed;
    right: 0; top: 0;
    width: 500px;
    max-width: 100%;
    padding: 10px;
    z-index: 9999;
}

.report-table thead th{
    text-align: center;
}
.report-table td.center{
    text-align: center;
}
.report-table .report-summary-row{
    cursor: pointer;
}
.report-table .report-summary-row .collapse-link{
    cursor: pointer;
    color: #c4c4c4;
}

.report-centered tbody td{
    text-align: center;
}

.report-numbers tbody td{
    text-align: right;
}
.report-numbers tbody td:first-child{
    text-align: left;
}

.report-centered tfoot td{
    text-align: center;
}

.report-additional-price {
    color: #aaa;
}
.report-vat-types .vat-type-toggle {
    margin-bottom: 3px;
}
.report-ibox {
    padding-bottom: 0px;
    padding-top: 20px;
}
.report-ibox .dataTables_wrapper {
    padding-bottom: 20px;
}

.required::after {
    content: ' *';
    color: red;
}

.list-operations {
    text-align: right;
    display: none;
}

.list-operations .legend{
    max-width: 300px;
    margin: .5em 0;
}
.list-operations .legend td{
    min-width: 12em;
}
.operations-group .btn, .show-page-buttons .btn{
    margin-top: 5px;
    margin-bottom: 5px;
}

/* lotList table scrollbar */
.lot-list-container {
    overflow-x: auto;
}
.lot-list tbody {
    cursor: pointer;
}

@media only screen and (max-width: 992px) {
    footer>.container>.row>div {
        margin-bottom: 1em;
    }

    table.responsive-table,
    .responsive-table>thead,
    .responsive-table>tbody,
    .responsive-table>thead>tr,
    .responsive-table>thead>tr>th,
    .responsive-table>tbody>tr,
    .responsive-table>tbody>tr>td {
        display: block;
    }

    .responsive-table>thead>tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive-table>tbody>tr {
        border: 1px solid #ccc;
        border-top: 3px solid #ccc;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .responsive-table>tbody>tr>td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        text-align: left;
        min-height: 2.3em;
    }

    .responsive-table>tbody>tr>td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 32%;
        padding-right: 10px;
        white-space: pre;
        font-weight: bold;
        text-align: left;
        content: attr(data-label); /* #559 */
    }

    .lot-list {
        margin-top: 1em;
        margin-bottom: 1em;
    }

    /*
        .lot-list td:nth-of-type(1) { padding-left: 0 }
    .lot-list td:nth-of-type(1):before { content: ""; width: 0; }
    */

    .lot-list td.no-info, .responsive-table td.has-breaks {
        min-height: 3.5em;
    }

    .responsive-table.lot-list td:first-child {
        text-align: left;
    }
}

@media (min-width: 993px) and (max-width: 1099px) {
  .lot-list .btn {
    margin-bottom: 3px;
  }
}
@media (min-width: 1100px) {
  .lot-list td:nth-of-type(12) {
    white-space: nowrap;
  }
}

@media only screen and (min-width: 993px) {
  .table.lot-list > thead > tr > th, .table.lot-list  > tbody > tr > th, .table.lot-list  > tfoot > tr > th, .table.lot-list  > thead > tr > td, .table.lot-list  > tbody > tr > td, .table.lot-list  > tfoot > tr > td {
      /*border-top: 1px solid #e7eaec;*/
      border: 1px solid #e7eaec;
      line-height: 1.42857;
      padding: 8px 5px;
      vertical-align: top;
  }
    .table.lot-list > thead > tr > th {
        border: none;
        vertical-align: bottom;
    }
    .table.lot-list > tbody > tr.success > td {
        border: 1px solid lightgray;
    }
    /* убираем внешние границы таблицы */
    .table.lot-list  > tbody > tr > td:first-child, .table.lot-list  > thead > tr > th:first-child, .table.lot-list  > tbody > tr.success > td:first-child {
        border-left:none;
    }
    .table.lot-list  > tbody > tr > td:last-child, .table.lot-list  > thead > tr > th:last-child, .table.lot-list  > tbody > tr.success > td:last-child {
        border-right:none;
    }
    .table.lot-list  > tbody > tr:last-child td{
        /*border-bottom:none;*/
    }
}
.lot-navigation .btn-toolbar{
    margin-top: 1em;
}
.lot-navigation .btn-toolbar.btn-toolbar-empty{
    margin-top: 0;
}
.lot-navigation .change-amount{
    font-size: 90%;
    color: #777;
}
@media (min-width: 768px) {
    .lot-navigation .change-amount{
        text-align: right;
    }
}
.lot-navigation .update-dt{
    margin-bottom: 0.5em;
}
.lot-navigation .btn-toolbar{
    min-height: 2.7em;
}
.lot-navigation .btn-toolbar.btn-toolbar-empty{
    min-height: inherit;
}

.lot-list hr {
    margin: 2px 0;
    border-color: #dedede;
}

.lot-list th,
.lot-list td {
    text-align: center;
}
.lot-list td:first-child {
    text-align: center;
}
.lot-list>tbody>tr>td {
    border-bottom: 1px solid #ddd;
}
.lot-list .countdown:before,
.lot-list .datetime:before {
    display: block;
    content: '';
}
.lot-list .countdown,
.lot-list .datetime {
    border-bottom: 1px dashed #999;
    display: inline;
}
.lot-list .nowrap br+.btn,
.lot-list .nowrap br+.btn+.btn {
    margin-top: 4px;
}
.lot-list .btn.makebid {
    min-width: 9em;
}

ul.bids-list {
    padding-left: 15px;
}
.chosen-bid,
.bids-list .best{
    font-weight: bold;
    font-size: 110%;
    color: green;
}

.table-contacts {
    width: auto;
}

.yours {
    color: green;
}
.missed {
    color: #900;
}
.help-text {
    color: #777;
    font-size: 90%;
}

.content-header {
    margin-bottom: 0.5em;
}

.copyright {
    text-align: center;
    color: #bbb;
}

.copyright a {
    color: #bbb;
}

.copyright .api-icon {
    height: 20px;
    margin-left: 20px;
}

.copyright .social-icons {
    height: 20px;
    margin-right: 10px;
}

.form-group .errorlist {
    list-style: none;
    color: #ce4844;
    font-size: 90%;
    padding: 0;
}
.form-group .errorlist li {
    display: block;
}
.nowrap {
    white-space: nowrap;
}
/* Partners */
.partners-info,
.settings-index {
    margin-top: 2em;
}
.partners-item {
    min-height: 182px;
}
.partners-item,
.customer-index .col-md-2,
.settings-index .col-md-2,
.carrier-index .col-md-2 {
    text-align: center;
}
@media (max-width: 767px) {
  .container .main-buttons {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 767px) {
    .partners-item,
    .customer-index .col-md-2,
    .settings-index .col-md-2,
    .carrier-index .col-md-2 {
        margin-bottom: 3em;
    }
}
@media (min-width: 767px) {
    .partners-item {
        margin-bottom: 1em;
    }
}
.partners-item .favorite {
    display: block;
    position: absolute;
    right: 5px;
    top: 3px;
}
.partners-item .favorite.noactive {
  color: gray;
}
.partners-item .favorite.active {
  color: gold;
}
.partners-item .favorite.noactive:hover .fa-star-o, .partners-item .favorite.active:hover .fa-star{
    display: none;
}
.partners-item .favorite.noactive:hover .fa-star, .partners-item .favorite.active:hover .fa-star-o{
    display: inline-block;
}
.partners-item .favorite .fa{
    font-size: 20px;
}
.partners-item .favorite.noactive .fa-star, .partners-item .favorite.active .fa-star-o {
    display: none;
}
.partners-item .img-letter-logo .favorite{
    line-height: 0px;
}

.partners-info .name {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #555;
    height: 24px;

    /* обрезаем текст, запрещаем перенос на новую строку и ставим многоточие */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.partners-info {
    margin-bottom: 2em;
}
.partners-info .buttons {
    margin-top: 0.5em;
}

.img-userpic,
.img-partner {
    display: inline-block;
    width: 128px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 95%;
}

.img-userpic:before,
.img-logo:before,
.img-partner:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}

.img-noimage {
    background: #fff url("../images/no-image.c2d123ec34c8.png") center no-repeat;
    background-size: contain;
    width: 128px;
}

.img-letter-logo {
    width: 128px;
    height: 128px;
    line-height: 128px;
    font-size: 60px;
    margin-bottom: 5px;
    text-align: center;
    color: #158cba;
}
.contact-info .img-letter-logo {
    width: 100px;
    height: 80px;
    line-height: 70px;
    font-size: 50px;
    margin-bottom: 0px;
}
.contact-info dd{
  word-wrap: break-word;
}
.img-logo {
    width: 300px;
}

.list-operations {
    margin-bottom: 10px;
}
.group-operations {
    display: none;
    float: left;
    margin:0 10px 10px;
}

.group-operations .btn,
.select-operations .btn {
    margin: 0 0 3px 0;
}

@media (max-width: 992px) {
    .group-operations {
        margin-right: 0;
    }
}

/* групповые операции надо выделенными галочками лотами (отображаем в правом нижнем углу фиксированно)*/
.group-operations-fixed {
    position: fixed;
    float: none;
    right: 0;
    bottom: 30px;
    width: 267px;
    background-color: #fff;
    padding: 15px 30px 15px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    z-index: 10;
}
.group-operations-toggle {
    cursor: pointer;
}
.group-operations-fixed .group-operations-toggle {
    right: 7px;
    position: absolute;
}

.lot-history .lot-documents {
    margin-bottom: 25px;
    margin-top: -15px;
}
.lot-documents-list {
    text-align: left;
}
.lot-history .file-upload.row-btn {
    margin-bottom: 0;
}
.history-toggle {
    color: red;
    border-bottom: 1px dotted red;
}
.show-requisite, .toggle-link {
    border-bottom: 1px dotted #000;
}
.history-toggle:hover {
    color: red;
}
.history-toggle:hover,
.show-requisite:hover,
.toggle-link:hover{
    border: none;
    text-decoration: none;
}
.open-chat-link {
    text-decoration: underline;
}
.requisite-info {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    display: none;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}
.row-btn{
    margin-bottom: 0.5em;
}
.row-btn .control-label{
    line-height: 2.5em;
}
.inline-form {
    display: inline;
}
.icon-flipped-h {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

/* Messages */
.user-letter,
.messages-sidebar .img-userpic {
    border: 1px solid #ccc;
    background-color: #fff;
    background-size: 100%;
}
.user-letter {
    text-align: center;
    color: #000;
    display: inline-block;
    max-width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}
.img-userpic,
.user-letter {
    border-radius: 50%;
}
.messages-recipient {
    font-weight: bold;
    font-size: small;
    margin-bottom: 0.5em;
    margin-top: 1em;
}
.messages-sidebar>.wrap {
    border-color: #ccc;
    border-radius: 5px;
    background: #fafafa;
    padding: 10px;
    overflow: auto;
    margin-bottom: 1em;
}
.messages-sidebar .img-userpic {
    border-radius: 50%;
    border: 1px solid #ccc;
    background-size: 100%;
}
.messages-sidebar .search-group {
}
.messages-sidebar .user-name,
.messages-sidebar .user-company {
    line-height: 24px;
}

.messages-sidebar .user-label {
    display: block;
    height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    color: #333;
    height: 35px;
    padding: 5px 3px;
    border-radius: 3px;
    border: 1px solid transparent;
    position: relative;
}
.messages-sidebar .user-label>* {
    vertical-align: top;
}
.messages-sidebar:not(.touch) .user-label:hover,
.messages-sidebar .user-label.active {
    background: #fff;
    text-decoration: none;
    border-color: #ddd;
    position: relative;
    z-index: 1;
}
.messages-sidebar.touch .user-label:hover {
    text-decoration: none;
}
.messages-sidebar .user-label.active .user-name {
    font-weight: bold;
}

.messages-sidebar .user-company { color: #888; }
.messages-sidebar .user-company::before { content: '('; }
.messages-sidebar .user-company::after { content: ')'; }
.messages-sidebar .user-unreaded {
    float: right;
    margin: 2px 0 0 3px;
}
.messages-sidebar .user-unreaded:empty { display: none; }

.messages-sidebar .user-letter {
    font-size: 12px;
    color: #158cba;
    line-height: 25px;
}
.messages-sidebar .img-userpic,
.messages-sidebar .user-letter {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}
.online-status-filter {
    font-size: 17px;
}
.online-status-filter.inactive {
    color: #bbb;
}
.online-status-filter.online {
    color: #28b62c;
}
.online-status-filter.offline {
    color: #aaa;
}
.search-group .glyphicon {
    color: #8e8e8e;
}
.messages-userlist,
.messages-text {
    padding: 10px 0;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
}
@media (min-width: 992px) {
    .messages-text {
        min-height: 350px;
    }
}
.messages-text .messages-date-row {
    position: relative;
    text-align: center;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    margin: 1em 0;
}
.messages-text .messages-date-row span {
    padding: 0 10px;
    position: relative;
    z-index: 1;
    background: #fff;
    color: #888;
}
.messages-text .messages-date-row::after {
    display: block;
    z-index: 0;
    content: '';
    position: absolute;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #e5e5e5;
    left: 20px; right: 20px;
    top: 9px;
}
.messages-text .message-group {
    margin-bottom: 0.5em;
}
.messages-text .message:hover {
    background: #fafafa;
}
.messages-text .message .author {
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.messages-text .message .author:after {
    display: inline;
    content: ':';
}
.messages-text .message .date {
    color: #ccc;
    font-size: 90%;
}
.messages-text .message .author,
.messages-text .message .date {
    visibility: hidden;
    color: #bbb;
    padding-top: 5px;
}

.messages-text .message .date {
    visibility: hidden;
    color: #bbb;
}

@media (min-width: 992px) {
    .messages-text .message .author {
        text-align: right;
    }
}
@media (max-width: 992px) {
    .messages-text .message .date {
        text-align: right;
    }
    .messages-text .message .author {
        display: none;
    }
    .messages-text .message:first-child .author {
        display: inline-block;
        text-align: left;
    }
    .messages-text .message .text {
        padding-left: 25px;
    }
}

.messages-text .message:first-child .author,
.messages-text .message:hover .author,
.messages-text .message:first-child .date,
.messages-text .message:hover .date {
    visibility: visible;
}
.messages-text .message:first-child .author {
    color: #000;
}
.messages-text .message:first-child .date {
    color: #ccc;
}

.messages-text .message .text {
    background: #eef2f4;
    border-bottom: 1px solid #deecf2;
    padding-top: 5px;
    padding-bottom: 5px;
    word-break: keep-all;
    line-height: 1.5em;
    hyphens: auto;

}
.messages-text .message.unreaded {
    background: #f9f9f9;
}
.messages-text .message-group.own .message .text {
    background: #e8f7fe;
}
.messages-text .message-group.own .message .text .readed {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    background-image: url("../images/connect/readed.e8059a41d974.png");
}

.messages-text .message:first-child .text {
    border-radius: 5px 5px 0 0;
}
.messages-text .message:last-child .text {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: none;
}
.messages-addform .help-text {
    padding: 3px 0;
    text-align: right;
}
.mass-message-text {
    margin-bottom: 1em;
}
.messages-text .message{
    border: none;
    padding: 5px 20px;
}


.notification-list .time {
    color: #909090;
}
.notification-list .date::after {
    content: ': ';
}

.template-list,
.items-list {
    list-style-position: inside;
    padding-left: 5px;
}

.template-list .template-author {
    padding-left: 17px;
    color: #000;
    opacity: 0.55;
}

.list-columns {
    -webkit-columns: 3 200px;
    -moz-columns: 3 200px;
    columns: 3 200px;
}

.directory {
    margin-bottom: 3em;
}

.directory .search{
    margin-bottom: 1em;
}

.directory .items-list .inactive{
    text-decoration: line-through;
    color: #aaa;
}
.directory .items-list .inactive a{
    color: #aaa;
}

.truck-number, .trailer-number {
    text-transform: uppercase;
}

.customer-index .widget h3, .carrier-index .widget h3 {
    margin-top: 15px;
    margin-bottom: 0;
}

.customer-index .widget .list-unstyled, .carrier-index .widget .list-unstyled{
    margin-top: 38px;
}

a.navy-bg:hover, a.navy-bg:focus {
    color: #444;
}
.customer-index .info-buttons .btn, .carrier-index .info-buttons .btn{
    cursor: inherit;
}

/* Redefine bootstrap container */
.container {
    width: 100%;
}

.sweet-alert .help-text li {
    text-align: left;
}

/* Telegram */
a.btn.btn-telegram {
  color: #fff;
  border-color: #357ebd;
  font-size: 15px;
  background-color: #1d98dc;
  border-radius: 5px;
  font-weight: bold;
}

a.btn.btn-telegram:active,
a.btn.btn-telegram:focus,
a.btn.btn-telegram:hover {
  outline: 0px;
  text-decoration: none;
  color: #fff;
  background-color: #0e8ed4;
}

/* Guide */
a.btn.btn-guide {
    color: #fff;
    border-color: #1a8a29;
    font-size: 15px;
    background-color: #1ab394;
    border-radius: 5px;
    font-weight: bold;
  }

  a.btn.btn-guide:active,
  a.btn.btn-guide:focus,
  a.btn.btn-guide:hover {
    outline: 0px;
    text-decoration: none;
    color: #fff;
    background-color: #10af8a;
  }

  .pointer {
    cursor: pointer;
}

.pointer_with_hover {
    cursor: pointer;
}

.pointer-with-hover:hover {
    cursor: pointer;
    color: red;
}

/* Template list */
.template-list .view-template {
    opacity: 0.55;
}
.template-list .view-template:hover {
    opacity: 1;
}
.template-list > li {
    list-style-type: none;
    break-inside: avoid-column;
    column-break-inside: avoid;
    page-break-inside: avoid;
}
.template-list > li.active > a {
    color: #1ab394;
    font-weight: bold;
}
.templates .show_all {
    margin-top: 5px;
}
.template-list li:last-of-type {
    margin-bottom: 5px;
}

.table > thead > tr.bid-comment > th,
.table > tbody > tr.bid-comment > th,
.table > thead > tr.bid-comment > td,
.table > tbody > tr.bid-comment > td {
    border-top: none;
    padding-top: 0px;
}
.bid-comment{
    word-break: break-all;
}

.table > thead > tr.has-comment > th,
.table > tbody > tr.has-comment > th,
.table > tfoot > tr.has-comment > th,
.table > thead > tr.has-comment > td,
.table > tbody > tr.has-comment > td,
.table > tfoot > tr.has-comment > td {
    padding-bottom: 0px;
}

/* jQuery-Autocomplete */
.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }

.autocomplete-grp .js-clear {
    cursor: pointer;
}


/* Fields */
.fields-group {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
}
.fields-group legend {
    border-bottom: none;
    color: #999;
    font-size: inherit;
    margin: 0;
    width: auto;
}
.fields-group /*~ .fields-group*/ { /* all elements after a preceding element */
    margin-top: 10px;
}

@media (max-width: 767px) {
    .fields-group {
        border-bottom: none;
        border-left: none;
        border-right: none;
        margin-top: 5px;
        padding: 0px;
    }
    .fields-group legend {
        border-bottom: 1px solid #eee;
        color: #b03d17;
        margin-bottom: 5px;
        text-align: left;
        width: 100%;
    }
}

hr.small {
    margin-top: 4px;
    margin-bottom: 4px;
}

.history-table .js-history-toggle{
    cursor: pointer;
}
.history-table .event, .history-table .help-text{
    text-align: left;
}

.modal-body.modal-map{
    padding: 0px;
}
#modal_map .modal-body {
    padding: 0px
}
#modal_map #modal_map_content {
    min-height: 400px
}
#modal_map .modal-dialog {
    width: 75%; height: 75%
}
#modal_map .modal-content,#modal_map .modal-body,#modal_map .form-horizontal, #modal_map #modal_map_content {
    height: 100%
}
@media (max-width: 767px) {
    #modal_map .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0px;
    }
    #modal_map .modal-header .close {
        font-size: 50px;
    }
}

/* Lot Edit Form */
h2.form-column-title {
    background-color: #f9f9f9;
    border-bottom: 1px solid #dfeddf;
    border-radius: 2px;
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 8px;
}
form.lot .checkbox, form.template .checkbox {
    margin-top: 0px;
    margin-bottom: 0px;
}
form.lot .form-horizontal .checkbox, form.template .form-horizontal .checkbox {
    min-height: 20px;
    padding-top: 0px;
}
form.lot label.control-label, form.template label.control-label {
    margin-bottom: 0px;
}

.vertical-input-groups .input-group:last-child{
    margin-top: 5px;
}

.multi-text .location + .location {
    margin-top: 10px;
}

.location {
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 5px 15px;
}

.location .btn-add-location {
    display: none;
}
.location.location-last .btn-add-location {
    display: block;
}
.location.location-first .btn-up {
    display: none;
}
.location.location-last .btn-down {
    display: none;
}
.location .location-hidden-element {
    display: none;
}
.location .location-types {

}
.location .location-type {
    margin-bottom: 5px;
    background-color: #fcfcfc;
    border: 1px solid #efefef;
    border-radius: 1px;
    /*padding-left: 7px;*/
}
/* диапазоны дат */
.location .date-range-end, .location .time-range-end {
    display: none;
}
.location-with-range .location-range-input {
    width: 50%;
}
.location.location-with-range .date-range-end, .location.location-with-range .time-range-end {
    display: block;
}
.location .btn-toggle-date-range,
.location .btn-toggle-range-slot {
    margin-top: 10px;
}
.location .btn-toggle-date-range,
.location .btn-add-location,
.location .btn-toggle-range-slot .btn{
    border-width: 2px;
}
.location .location-additional-fields {
    margin-top: 10px;
}

.multi-text[count="1"] .btn-remove-location,
.multi-text[count="1"] .btn-up,
.multi-text[count="1"] .btn-down {
    display: none;
}
.multi-text[count="2"] .btn-remove-location {
    display: none;
}

form .required_title {
    color: #8c0000;
}
@media only screen and (min-width: 993px) {
    form .border-right-md{
        border-right: 1px solid #ccc;
    }
}
/* BAD IDEA */
form .field__end-date .radio-inline {
    min-width: 71px;
}

/* STANDART TEXT FIELD STYLE */
input[type='number'] {
   -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
   -webkit-appearance: none;
}

.control-label.normal-label {
    font-weight: normal;
}
.normal-label label:not(.control-label){
    font-weight: normal;
}

@media (min-width: 768px) {
    .text-right-sm {
        text-align: right;
    }
}

/* READONLY */
select[readonly] {
    pointer-events: none;
}

/* CUSTOM red button (on hover)*/
.btn-default-danger:hover {
    color: #fff;
}

.btn-default-danger:hover, .btn-default-danger:focus, .btn-default-danger:active, .btn-default-danger.active, .open .dropdown-toggle.btn-default-danger, .btn-default-danger:active:focus, .btn-default-danger:active:hover, .btn-default-danger.active:hover, .btn-default-danger.active:focus {
    background-color: #ec4758;
    border-color: #ec4758;
    color: #FFFFFF;
}

.lot-navigation .lot_author_choices {
    margin-right: 15px;
}

ul.route {
    -moz-padding-start: 20px;
    -webkit-padding-start: 20px;
    -khtml-padding-start: 20px;
    -o-padding-start: 20px;
    padding-start: 20px;
    padding-left: 20px;
}

.location-info-addon {
    padding-left: 20px;
}

strong span.local_time, strong .location-label {
    font-weight: normal;
}
.location-label .loc-time{
    margin-left: 10px;
}

.fa.mini {
    font-size: 75%;
}

.deferred-input {
    display: none;
}
tr.deferred {
    background-color: #fafad27a !important;
}
tr.deferred.deferred-hidden {
    background-color: rgb(255,249,239) !important;
}

@media (max-width: 767px) {
    .submit-group {
        margin-top: 8px;
    }
}
.charts-row {
    padding-bottom: 25px;
}

.form-group-ex {
    margin-bottom: 15px;
}
.filter-toggle-link {
    line-height: 28px;
}

#reportrange {
    border-radius: 3px;
    width: 230px;
    float: left;
}

/* customize table columns */
.customize-table-columns .checkbox+.checkbox {
    margin-top: -10px;
}
#customize-table {
    margin-left: 5px;
}

/* кнопки поиска и очистки водителя */
.carrier-select-block .input-group-btn-padding {
    padding-left: 6px;
}

.carrier-select-block .input-group-btn-padding:last-child > .btn {
    border-radius: 3px !important;
}
.onoffswitch-inner:before {
    content: "ДА";
}
.onoffswitch-inner:after {
    content: "НЕТ";
}
.carrier-data .onoffswitch-russian .onoffswitch-inner:before {
    content: "РФ";
}
.carrier-data .onoffswitch-russian .onoffswitch-inner:after {
    content: "РФ";
    color: #aaa;
}
.report-russian-switch {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    width: 57px;
}
.report-russian-switch .onoffswitch-russian .onoffswitch-inner:before {
    content: "РФ";
}
.report-russian-switch .onoffswitch-russian .onoffswitch-inner:after {
    content: "INT";
    color: #aaa;
}
.carrier-data .onoffswitch-md .onoffswitch-label,
.report-russian-switch .onoffswitch-md .onoffswitch-label {
    margin-bottom: 0px;
}
.carrier-data .onoffswitch-md .onoffswitch-inner:after,
.report-russian-switch .onoffswitch-md .onoffswitch-inner:after {
    color: #aaa;
}
.carrier-data .onoffswitch-md .onoffswitch-inner:before, .carrier-data .onoffswitch-md .onoffswitch-inner:after,
.report-russian-switch .onoffswitch-md .onoffswitch-inner:before, .report-russian-switch .onoffswitch-md .onoffswitch-inner:after {
    height: 29px;
    line-height: 32px;
}
.carrier-data .switch-padding-top,
.report-russian-switch .switch-padding-top {
    padding-top: 1px;
}

/* disabled input */
.carrier-data .onoffswitch-checkbox:disabled + .onoffswitch-label,
.carrier-data .onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-switch,
.report-russian-switch .onoffswitch-checkbox:disabled + .onoffswitch-label,
.report-russian-switch .onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-switch {
    border-color: #1AB394;
    opacity: 0.6;
}
.carrier-data .onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-inner:before,
.report-russian-switcha .onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-inner:before {
    background-color: #1AB394;
}

/* search */

.search-list .search-action {
    padding-top: 1px;
}
.search-list .search-action a{
    font-size: 13px;;
}
.search-list .project-title a {
    text-decoration: underline;
}

/* mobile buttons */
.template_actions .btn, .new_auction .btn, .templates .btn {
    margin-bottom: 3px;
}


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

.table-modal tr {
    cursor: pointer;
}

.bid-files {
    margin-bottom: 10px;
}

.btn-carrier-disable-offer {
    margin-left: 5px;
}

.allow_additional_load {
    color: #8c0000;
}

/* fancybox button fix */
.fancybox-caption a.btn, .fancybox-caption a.btn:link, .fancybox-caption a.btn:visited {
    color: #333;
}
.fancybox-caption a.btn:hover, .fancybox-caption a.btn:active{
    color: #111;
}
.fancybox-is-open .fancybox-bg.half-opacity {
    opacity: .5;
}

/* Fix errors nowrap */
.btn .errors.alert {
    white-space: normal;
}

/* Datepicker disabled style */

.bootstrap-datetimepicker-widget table th.disabled,.bootstrap-datetimepicker-widget table th.disabled:hover {
    background: lightgray;
}

.bootstrap-datetimepicker-widget table td.disabled,.bootstrap-datetimepicker-widget table td.disabled:hover {
    background: lightgray;
}

.bootstrap-datetimepicker-widget table td span.disabled,.bootstrap-datetimepicker-widget table td span.disabled:hover {
    background: lightgray;
}

.dashboard-wh {
    float: right;
    margin-top: -9px;
}

.dashboard-wh-margin {
    margin-top: 3em;
}

.btn-transparent {
    background-color: transparent;
}

.additional-fields .icon-m-1 {
    margin-right: 1rem;
    margin-left: 1rem;
}

.additional-fields .btn-add-data-field {
    border-width: 2px;
}

.additional-fields .input-group-btn {
    vertical-align: top;
    padding-left: 7px;
    border-radius: 3px;
}

.additional-fields .input-group-btn > .btn {
    border-radius: 3px;
    border: 1px solid transparent;
}

.additional-fields .btn-remove-data-field:hover,
.additional-fields .btn-remove-data-field:active {
    border-radius: 3px;
    border-color: #ec4758;
    color: #ed5565;
    background-color: #ffffff;
}
.additional-field-name {
    word-break: break-all;
}

.btn-delete-lot-file, .btn-download-lot-file, .btn-delete-template-file {
    max-width: 6em;
}

.btn-delete-lot-file, .btn-delete-template-file {
    margin-left: 1em;
}

.btn-upload-lot-file, .btn-upload-template-file {
    width: 100%;
}

.block-btn-upload-file {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-pack:justify!important;
    justify-content:space-between!important;
    padding-top: 2px;
}

.custom-file-name {
    word-wrap: break-word;
    word-break: break-all;
}