﻿.bundle-configurator .link-product {
    color: #a6a6a6;
}
.bundle-configurator .link-product.link-included {
    color: #5cb85c;
}
.bundle-configurator .link-product.link-optional {
    color: #f0ad4e;
}
.bundle-configurator .link-product.link-conditional {
    color: #000;
}


.bundle-configurator {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    margin: 0 -20px;
    background: #f9f9f9;
}

.bundle-configurator .left-top-corner {
    width: 300px;
    height: 78px;
    position: absolute;
    border: 1px solid #dee9f0;
    box-sizing: border-box;
}

.bundle-configurator .product-list {
    min-width: 300px;
    width: 300px;
    overflow: hidden;
    margin-top: 78px;
}
.bundle-configurator .product-item {
    min-height: 55px;
}

.bundle-configurator .bundles {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -webkit-flex-grow: 1;
    -moz-flex-grow: 1;
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
}

.bundle-configurator .bundle-list {
    display: flex;
    min-height: 78px;
    height: 78px;
    overflow: hidden;
}

.bundle-configurator .bundle-item {
    border: 1px solid #dee9f0;
    padding: 10px;
    text-align: left;
    text-shadow: 1px 1px #fff;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}
.bundle-configurator .bundle-item.__sorted {
    background: #eee;
}

.bundle-configurator .bundle-name {
    position: relative;
}
.bundle-configurator .bundle-name.cutted-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bundle-configurator .bundle-class {
    color: #9c9c9c;
    font-size: 12px;
}

.bundle-configurator .ui-grid-actions.table-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
}

.bundle-configurator .bundle-sort {
    position: absolute;
    right: 0;
    font-size: 14px;
}
.bundle-configurator .bundle-sort.fa-sort-up {
    top: 5px;
}


.bundle-configurator .connections {
    -webkit-flex-grow: 1;
    -moz-flex-grow: 1;
    flex-grow: 1;
    overflow: auto;
    background: white;
}
.bundle-configurator .connections-row {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.bundle-configurator .connections-item,
.bundle-configurator .bundle-item {
    min-width: 200px;
    width: 200px;
}

.bundle-configurator .connection-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 180px;
    height: 34px;
}
.bundle-configurator .connection-inner.conn-with-count .conn-type {
    display: inline-block;
}
.bundle-configurator .conn-count {
    float: right;
    width: 60px;
}
.bundle-configurator .conn-count:before {
    content: 'x';
    position: absolute;
    left: -10px;
    bottom: 8px;
}

.bundle-configurator .product-item,
.bundle-configurator .connections-item {
    border: 1px solid;
}


.bundle-configurator .connections-row > .connections-item:last-child:after,
.bundle-configurator .bundle-list > .bundle-item:last-child:after {
    width: 422px;
    height: 1px;
    display: block;
    content: '';
    position: relative;
    left: 200px;
}
.bundle-configurator .product-list > .product-item:last-child {
    margin-bottom: 100px;
}
.bundle-configurator .bundle-list > .bundle-item:last-child:after {
    width: 520px;
}


.bundle-configurator .product-item,
.bundle-configurator .connections-item {
    border: 1px solid #dee9f0;
    font-size: 14px;
    text-align: left;
    text-shadow: 1px 1px #fff;
    box-sizing: border-box;
}
.bundle-configurator .product-item {
    padding: 15px;
}
.bundle-configurator .connections-item {
    position: relative;
}

.bundle-configurator .list-name,
.bundle-configurator .link-product-option {
    text-shadow: none;
}

.bundle-configurator-paggination .pagination .menu-link {
    transition: none;
}
