﻿/* Prices */
.list.__prices {
    background: #fbfdfe;
    height: 100%;
    line-height: 1.4;
    padding: 0 20px;
    text-align: left;
}

.list.__prices .list-item {
    font-size: 14px;
    padding: 4px 0;
    position: inherit;
    text-align: left;

    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}

.list.__prices .list-item.__total {
    border-top: 1px solid #dee9f0;
    color: #43b0e6;
    padding: 5px 0 0;
}

.list.__prices .list-price {
    float: right;
    font-weight: 500;
    margin: 0 0 0 10px;
}

/* Order info */
.vc-order .order-info,
.vc-order .__order-info {
    float: right;
    margin: 0 10px 0 0;
    min-width: inherit;
    width: 45%;
}

.vc-order .order-info .table {
    margin: 0 0 15px;
}

.vc-order .table.__collapsed .table-col {
    padding: 5px;
}

.table-col.__price {
    text-align: right;
    width: 40%;
}

.vc-order .table .table-item.__total .table-col {
    border-bottom: none;
    font-size: 20px;
}

.vc-order .form-group.__order-currency .form-input {
    display: inline-block;
    margin: 0 0 0 5px;
    width: 100px;
}

.table .table-col.__total {
    max-width: 58px;
    min-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Order status */
.vc-order .order-status {
    background: #43b0e6;
    border-bottom: 1px solid #dedede;
    color: #fff;
    margin: 0 -20px;
    padding: 10px 20px;
}

.vc-order .order-status .status {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px;
}

.vc-order .order-status .reason {
    font-size: 12px;
}

.vc-order .order-brand {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    overflow: hidden;
}

.order-brand .brand-image {
    border: 1px solid #ccc;
    float: left;
    height: 60px;
    line-height: 60px;
    margin: 0 20px 10px 0;
    padding: 5px;
    text-align: center;
    width: 60px;
}

.brand-image .brand-logo {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.order-brand .brand-t {
    font-size: 14px;
    margin: 0 0 5px;
}

.order-brand .brand-descr {
    color: #999;
    font-size: 12px;
}

/* Tree */
.order-tree .tree {
    font-size: 0;
    text-align: center;
}

.order-tree.tree-view {
    overflow-x: auto;
    overflow-y: auto;
    height: 100%;
}

.order-tree.tree-view ul {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.order-tree .tree-scroll {
    padding: 20px 0;
    text-align: center;
}

.order-tree .tree,
.order-tree .tree-item {
    display: inline-block;
    padding: 0;
    position: relative;
    vertical-align: top;
}

.order-tree .tree.__horizontal .tree-item {
    display: block;
}

.order-tree .tree.__horizontal .tree-item:first-child::before {
    background: #fff;
    content: "";
    height: 50%;
    left: -1px;
    position: absolute;
    top: -1px;
    width: 2px;
    z-index: 5;
}

.order-tree .tree.__horizontal .tree-item:last-child::after {
    background: #fff;
    content: "";
    height: 50%;
    left: -1px;
    position: absolute;
    top: 51%;
    width: 2px;
    z-index: 5;
}

.order-tree .tree.__horizontal .tree-item .tree-block {
    vertical-align: middle;
}

.order-tree .tree.__horizontal .tree-item .tree-block::before {
    background: #a1c0d4;
    content: "";
    height: 2px;
    left: -14px;
    position: absolute;
    top: 50%;
    width: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.order-tree .tree-item:first-child::before {
    background: #fff;
    content: '';
    height: 2px;
    left: -1px;
    position: absolute;
    top: 0;
    width: 50%;
    z-index: 5;
}

.order-tree .tree-item:last-child::before {
    background: #fff;
    content: '';
    height: 2px;
    right: -1px;
    position: absolute;
    top: 0;
    width: 50%;
    z-index: 5;
}

.order-tree .tree-block {
    border: 2px solid #a1c0d4;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    margin: 10px 11px;
    padding: 5px 0;
    position: relative;
    vertical-align: top;
    width: 160px;
}

.order-tree .tree-block:hover {
    background: #ecf7fc;
}

.order-tree .tree-block::before {
    background: #a1c0d4;
    content: '';
    height: 10px;
    left: 50%;
    position: absolute;
    top: -12px;
    width: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.order-tree .tree-block.__canceled:hover {
    background: #faf1f1;
}

.order-tree .tree-block.__selected {
    background: #d9effa;
    border-color: #a1c0d4;
}

.order-tree .tree-block .inner {
    height: 100%;
    margin: 0 10px;
    text-align: left;
}

.order-tree .tree-item.last .tree-block .inner::after {
    background: #fff;
    content: '';
    height: 2px;
    left: -1px;
    position: absolute;
    top: -12px;
    width: 50%;
    z-index: 5;
}

.order-tree .tree-item.last .tree-block .inner::before {
    background: #fff;
    content: '';
    height: 2px;
    position: absolute;
    right: -1px;
    top: -12px;
    width: 50%;
    z-index: 10;
}

.first> :first-child::before {
    display: none;
}

.order-tree .tree-node {
    position: relative;
}

.order-tree .tree-node::after {
    background: #a1c0d4;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    right: 7px;
    top: 0;
}

.order-tree .tree-node::before {
    background: #a1c0d4;
    content: '';
    height: 12px;
    left: 50%;
    position: absolute;
    top: -10px;
    width: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.order-tree .tree-node.__one-el {
    margin: -10px 0 0;
}

.order-tree .tree-node.__one-el::after,
.order-tree .tree-node.__one-el::before {
    display: none;
}

.order-tree .tree.__horizontal .tree-node.__one-el {
    margin: 0 0 0 -10px;
}

.order-tree .tree.__horizontal .tree-node {
    display: inline-block;
    vertical-align: middle;
}

.order-tree .tree.__horizontal .tree-node .tree-item {
    text-align: left;
}

.order-tree .tree.__horizontal .tree-node::after {
    background: #a1c0d4;
    bottom: 0;
    content: "";
    height: auto;
    left: -1px;
    position: absolute;
    top: 1px;
    width: 2px;
}

.order-tree .tree.__horizontal .tree-node::before {
    background: #a1c0d4;
    content: "";
    height: 2px;
    left: -12px;
    position: absolute;
    top: 50%;
    width: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.order-tree .tree-node.__empty::after {
    display: none;
}

.order-tree .tree-el {
    color: #4c4c4c;
    display: block;
    font-size: 12px;
    line-height: 1;
    margin: 0;
    padding: 5px 0 5px 20px;
    position: relative;
    white-space: normal;
}

.order-tree .tree-el .tree-ico {
    color: #4c4c4c;
    font-size: 14px;
    left: 0;
    position: absolute;
    width: 20px;
}

.order-tree .tree-el.__canceled {
    background: #43b0e6;
    color: #fff;
    margin: 5px -10px -5px;
    padding: 5px 0;
    text-align: center;
}

.order-tree .tree-el.__title {
    color: #43b0e6;
    height: 24px;
}
