html,
body {
    height: 100%;
    font-style: normal;
}

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

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

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

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

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

nav.navbar-warning {
    background: linear-gradient(90grad, red, black);
}

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

.popover-lg textarea {
    height: 150px;
}

.variation-save {
    padding: 5px 10px;
    position: absolute;
    top: 0;
    right: 45px;
}

.variation-save .glyphicon {
    padding: 0;
}

.param-select-item .btn-danger {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 10px;
}

.param-select-item {
    display: flex;
    position: relative;
    flex-basis: 200px;
    margin-left: 5px;
}

.container-items-rel .param-select-item {
    flex-basis: 350px;
}

.container-items-rel .control-label {
    display: none;
}

    /*.dynamicform_wrapper_select select,*/
/*.dynamicform_wrapper_select input {*/
    /*width: 50%;*/
    /*display: inline-block;*/
/*}*/

.dynamicform_wrapper_select label {
    width: 45%;
    display: inline-block;
}

.panel-heading h4 {
    display: inline-block;
}

.variation-block {
    display: inline-block;
    /*width: 19%;*/
    padding: 1%;
}

.small-input{
    display: inline-block;
    margin-bottom: 2px;
}

label.small-input {
    width: 25%;
}

.field-profile-managers_share_list input.small-input {
    width: 22%;
}

input.small-input {
    width: 29%;
    padding: 6px 6px;
}

.btn-remove-range {
    width: 1%;
}

.prices-list {
    max-height: 25px;
    overflow: hidden;
    transition-duration: 0.7s;
}

.prices-list.active {
    max-height: 2000px
}

.prices-list-header {
    height: 25px;
    font-size: 16px;
    font-weight: bold;
    background-color: #5d91ae;
    border-radius: 3px;
    padding: 2px;
    color: white;
    text-align: center;
}

.json-parts-table input {
    width: 40px;
}
.json-parts-table select {
    width: 160px;
}

.add-row {
    font-weight: bold;
    cursor: pointer;
}

.remove-row {
    cursor: pointer;
}

.json-parts-table {
    border: solid 1px #5d91ae;
    border-radius: 3px;
    padding: 5px;
}

.container-items,
.container-items-select,
.container-items-rel{
    display: flex;
    flex-wrap: wrap;
}

.btn-block .btn {
    margin-top: 2px;
}

.input-row input {
    max-width: 100px;
}

#order-reserve-table td[data-place-id='4'] {
    background: green;
    color: white;
}

#order-reserve-table td[data-place-id='4'] select {
    color: black;
}

#order-reserve-table td[data-place-id='5'] {
    background: lightgreen;
}

#order-reserve-table input {
    max-width: 50px;
}

th#test {
    width: 75px !important;
}

tr.hidden-order {
    opacity: 0.3;
}

.warehouse-code {
    font-weight: bold;
}

.warehouse-items {
    height: 300px;
    overflow-y: scroll;
}

.warehouse-set {
    margin-left: 5px;
    border-bottom: 1px solid #eeeeee;
    padding: 0.5rem 0;
}

.w-100 {
    width: 100%;
}

div#ui-datepicker-div {
    z-index: 1000!important;
}

.drp-container.form-group {
    display: flex;
    height: 24px;
}

.drp-container.form-group.custom{
    display: flex;
    height: 34px;
}

.drp-container input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.drp-container label {
    margin-right: 15px;
}
.drp-container img {
    border: 1px solid #aaa;
    border-left: none;
    padding: 0 10px;
    background-color: #ededed;
}

td[data-place-id='2'] {
    background: lightcoral;
}
td[data-place-id='4'] {
    background: green;
    color: white;
}

td[data-place-id='4'] select {
    color: black;
}

td[data-place-id='5'] {
    background: lightgoldenrodyellow;
}
td[data-place-id='6'] {
    background: lightgoldenrodyellow;
}
td[data-place-id='7'] {
    background: lightgreen;
}
td[data-place-id='8'] {
    background: green;
}

.drp-container label {
    margin-right: 15px;
}
.drp-container img {
    border: 1px solid #aaa;
    border-left: none;
    padding: 0 10px;
    background-color: #ededed;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

span.new-shop-item-preview:hover {
    color: #337ab7;
    cursor: pointer;
}
select.wh-place {
    margin-top: 5px;
}

.order-suppliers-form .table > tbody > tr.info > td {
    background-color: #f5f5f5!important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.drp-container label {
    margin-right: 15px;
}
div#ui-datepicker-div {
    margin-top: 3px;
}

.detail-table td {
    white-space: normal;
}
#calls_lists {
    margin-bottom: 15px;
}
.comment-block {
    max-height: 165px;
    overflow-y: scroll;
}

table.table.new-attributes {
    width: 100%;
}
table.table.new-attributes td {
    white-space: normal;
}
.dvizh-field textarea {
    overflow-y: scroll!important;
}
.new-attributes-text {
    max-height: 300px;
}
.block-unit .select2-container {
    width: auto!important;
}
.form-group.field-shopitem-type_produced > span,
.form-group.field-shopitem-unit_id > span {
    padding-left: 1rem;
    width: auto!important;
}
.popover-lg {
    max-width: 400px;
    min-width: 300px!important;
}
ul.pagination {
    padding-left: 2rem;
}
.shop-item-update select#shopitem-cat_id ~ span {
    width: 100%!important;
}
/* Manager widget */

.block-widget-manager {
    position: fixed;
    background: #135878;
    height: 40px;
    width: 450px;
    bottom: 0;
    left: 0;
    border-radius: 5px 5px 0 0;
    z-index: 100;
    padding: 0.8rem 1rem;
}
.block-widget-manager.show {
    height: 77px;
    padding: 0 1rem;
}
.widget-text {
    height: 40px;
    color: white;
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0.7rem 0.7rem;
}
.widget-data {
    background: white;
    width: 100%;
    border-radius: 20px;
    padding: 0 1rem 0 0.5rem;
    font-size: 1.8rem;
    display: flex;
}
.widget-data span {
    width: 100%;
    text-align: right;
}
.widget-data .in-process {
    color: #999999;
}
.widget-data .checked {
    color: #CC9933;
}
.widget-data .total {
    color: #009933;
}
.block-widget-manager .tooltip-inner {
    max-width: 400px;
    min-width: 400px;
    background: white!important;
    color: black!important;
    text-align: left;
    border: 1px solid #7397a7;
    padding: 1rem!important;
    font-size: 1.3rem;
    border-radius: 4px!important;
}
.block-widget-manager .tooltip-arrow {
    border-top-color: white!important;
}

.block-widget-manager .tooltip-arrow:before, .block-widget-manager .tooltip-arrow:after {
    content: "";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: 100%;
    left: 50%;
    margin-left: -10px;
}
.block-widget-manager .tooltip-arrow:before {
    border-top: 1.1rem solid #7397a7;
    margin-top: -5px;
}
.block-widget-manager .tooltip-arrow:after {
    border-top: 10px solid white;
    margin-top: -6px;
    z-index: 1;
}
.block-widget-manager .tooltip.top {
    padding: 5px 0;
    margin-top: -10px;
}
.col-widget {
    width: 12.5rem;
    position: relative;
    float: left;
}
.widget-arrow {
    position: relative;
    float: left;
    padding-left: 0.95rem;
    cursor: pointer;
}
.col-widget.center {
    margin: 0 1rem;
}
.block-widget-manager .widget-text-block, .block-widget-manager.show .widget-arrow.down {
    display: none;
}
.block-widget-manager.show  .widget-text-block {
    display: block;
}
.widget-arrow.top {
    padding-top: 0.5rem;
}

.hidden-select-item {
    display: none;
}
span.select2.select2-container {
    width: 100%!important;
    min-width: 92px;
}

.item.panel.panel-default.param-select-item select {
    padding: 0 20px 0 8px;
    height: 28px;
}
input.thVal {
    border: none;
}

.table > tbody .row_delivery td.delivery_time_to {
    padding-left: 1rem!important;
    height: 30px;
}
.table > tbody tr.row_delivery.grey .delivery_time_to{
    background-color: #f2f2f2;
}

tr.ui-sortable-handle:hover {
    cursor: pointer;
    background-color: #f2dede!important;
}

label.label-tag {
    opacity: 0.9;
    font-weight: normal;
    margin: 0.1rem;
    padding: 0.1rem 0.4rem;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block;
}

.swatches-color_1FBC9C {
    background-color: #1FBC9C!important;
}
.swatches-color_1CA085 {
    background-color: #1CA085!important;
}
.swatches-color_2ECC70 {
    background-color: #2ECC70!important;
}
.swatches-color_27AF60 {
    background-color: #27AF60!important;
}
.swatches-color_3398DB {
    background-color: #3398DB!important;
}
.swatches-color_2980B9 {
    background-color: #2980B9!important;
}
.swatches-color_A463BF {
    background-color: #A463BF!important;
}
.swatches-color_8E43AD {
    background-color: #8E43AD!important;
}
.swatches-color_3D556E {
    background-color: #3D556E!important;
}
.swatches-color_222F3D {
    background-color: #222F3D!important;
}
.swatches-color_F2C511 {
    background-color: #F2C511!important;
}
.swatches-color_F39C19 {
    background-color: #F39C19!important;
}
.swatches-color_E84B3C {
    background-color: #E84B3C!important;
}
.swatches-color_C0382B {
    background-color: #C0382B!important;
}
.swatches-color_DDE6E8 {
    background-color: #DDE6E8!important;
}
.swatches-color_ccc {
    background-color: #ccc!important;
}
.swatches-color_BDC3C8 {
    background-color: #BDC3C8!important;
}

.swatches-color_1FBC9C,
.swatches-color_1CA085,
.swatches-color_2ECC70,
.swatches-color_27AF60,
.swatches-color_F2C511,
.swatches-color_F39C19,
.swatches-color_DDE6E8,
.swatches-color_ccc,
.swatches-color_BDC3C8
{
    color: black!important;
}

.swatches-color_2980B9,
.swatches-color_A463BF,
.swatches-color_8E43AD,
.swatches-color_3D556E,
.swatches-color_222F3D,
.swatches-color_3398DB,
.swatches-color_E84B3C,
.swatches-color_C0382B,
.swatches-color_F2C511
{
    color: white!important;
}

.block-detail {
    padding: 2rem 2rem 1rem 2rem;
    border: 1px solid #497892;
    border-radius: 1rem;
    margin-bottom: 1rem;
    background: #f1f1f1;
}

.block-detail input {
    border-radius: 1rem;
    border: none;
    height: 30px;
    width: 100%;
    padding: 0 1rem;
}

.block-detail .row-detail {
    margin: 1rem 0;
}
.block-detail .row-detail label {
    padding-right: 1rem;
}

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

.no-active-link {
    pointer-events: none;
}

/*.order-view .box-header div.btn {
    margin: 2px 4px;
}*/

#calculator-total .btn.btn-success {
    margin-left: 3px;
    margin-right: 3px;
}

.field-shopitem-item_params .select2-container .select2-selection--single {
    display: none!important;
}

a.delete-edge,
a.delete-surface {
    position: relative;
    cursor: pointer;
    margin-left: 1rem;
}
a.delete-edge:after,
a.delete-surface:after {
    content: "\274c";
    font-size: 1.5rem;
    color: #FFF;
    text-align: center;
}
a.delete-edge:hover,
a.delete-surface:hover {
    opacity: 0.8;
    text-decoration: none;
}
div#phones img,
div#emails img {
    background-color: #00995f;
    border-radius: 1rem;
    width: 2.7rem;
    height: 28px;
    margin: 0.5rem 3px 0.5rem 3px;
    padding: 0.5rem;
}

.btn-whats-app {
    outline: none!important;
    padding: 3px 5px 3px 3px;
    background-color: transparent;
}

.btn-whats-app:active {
    -webkit-box-shadow: 0px 0px 0px 0px!important;
}

img#whats-app-action__icon {
    margin: 0px!important;
}

img#whats-app-action__icon {
    background-color: transparent!important;
    padding: 2px!important;
}

img#whats-app-action__icon:hover {
    cursor: pointer;
    opacity: 0.6;
}

.whats-app-collapse-card {
    position: absolute;
}

.card.card-body-customer,
.card.card-body-additional {
    top: 0px;
    left: 6px;
    margin: 0px!important;
    position: relative;
    background-color: #F2F2F2;
    z-index: 1;
    width: 486px;
}

.card.card-body-recipient {
    top: 0px;
    right: 258px;
    margin: 0px!important;
    position: relative;
    background-color: #F2F2F2;
    z-index: 1;
    width: 300px;
}

.available-whats-app-templates {
    margin: 0 0 4px;
}

.list-whats-app-templates p {
    width: fit-content;
}

.list-whats-app-templates p:hover {
    cursor: pointer;
}

.modal.bootstrap-dialog .modal-footer {
    display: block;
}
.form-group.field-login-form-recaptcha label {
    display: none;
}

.item-select .img-sortable {
    position: absolute;
    top: 5px;
    cursor: pointer;
    left: 0;
}

#show-change-contact,
#show-change-counterpaty {
    max-width: 500px;
    margin: auto;
    margin-top: 100px;
}

select#documents1cfilter-type {
    height: 22px!important;
}

.app-settings-form .d-flex {
    display: flex;
}

.report th, .report td {
    white-space: normal;
}

textarea#appsettings-offer_terms,
textarea#appsettings-offer_header {
    overflow-y: scroll!important;
    height: auto!important;
}

[v-cloak] {
    display: block;
    padding: 50px 0;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

[v-cloak]:before {
     content: '';
     box-sizing: border-box;
     position: absolute;
     top: 50%;
     left: 50%;
     width: 20px;
     height: 20px;
     margin-top: -10px;
     margin-left: -10px;
     border-radius: 50%;
     border: 2px solid #ccc;
     border-top-color: #333;
     animation: spinner .6s linear infinite;
     text-indent: 100%;
     white-space: nowrap;
     overflow: hidden;
 }

[v-cloak] > div {
      display: none;
}

.datetimepicker.datetimepicker-dropdown-bottom-right.dropdown-menu {
    width: calc(258px - 82px)!important;
}

/* modal-duplicate in page create contact  */

.body-content {
    overflow: hidden!important;
}

.duplicate-contact .modal-container {
    height: auto;
    overflow: hidden;
    max-width: 600px;
    width: 70%!important;
    border-radius: 20px;
}

.duplicate-contact .modal-footer {
    justify-content: center;
    display: flex!important;
}

button.modal-default-button {
    border: none;
    height: 30px;
    width: 120px;
    color: white;
    border-radius: 7px;
    background-color: #51BD55;
}

.form-control.description-suppliers {
    resize: none;
}

.disabled {
    color: #6c757d;
    background-color: #f8f9fa;
    pointer-events: none;
    user-select: none;
}

.input-available-ip-address {
    display: block;
    width: 20%;
}

.inline-available-ip-addresses {
    display: flex;
}

a.remove-ip-address {
    display: flex;
    align-items: center;
    margin-left: 10px;
    margin-top: 18px;
}

.btn-add-new-ip-address {
    margin-bottom: 10px;
}

.input-name-available-ip-address {
    margin-left: 10px;
    width: 20%;
}

.is-valid-date-ready {
    margin-bottom: 10px;
    font-size: 14px;
    color: red;
}
.is-valid-date-begin-activity,
.is-valid-date-end-activity {
    margin-bottom: 10px;
    font-size: 14px;
    color: red;
}


.delete-image-shop-item {
    margin-left: 10px;
}

.modal-delete-image {
    max-width: 350px; 
    margin: 200px auto auto;
}

.close-modal-delete-image {
    position: absolute; 
    right: 10px; 
    top: 15px; 
    font-size: 3.5rem;
}

.good-comment-block {
    max-height: 67px;
    overflow-y: scroll;
}

.changes-list {
    max-height: 85vh;
    overflow-y: scroll;
}
