﻿.customers {
    direction: rtl;
/*    padding-right: 20px;
    padding-left: 20px;*/
    padding-top: 5px;
    height: 100%;
}

    .programs-customers .filters .icons,
    .customers .filters .icons {
        padding-top: 20px;
        text-align: left;
        direction: ltr;
    }

        .programs-customers .filters .icons a.btn,
        .programs-customers .filters .icons span.btn,
        .programs-customers .filters .icons .caret,
        .customers .filters .icons a.btn,
        .customers .filters .icons span.btn,
        .customers .filters .icons .caret {
            background-color: #118dcf;
            box-shadow: 0px 0px 5px silver;
            text-align: center;
            display: inline-block;
            outline: none;
            border-radius: 2px;
        }

        .programs-customers .filters .icons a.btn,
        .programs-customers .filters .icons span.btn,
        .customers .filters .icons a.btn,
        .customers .filters .icons span.btn {
            border: none;
            padding: 7px 8px 5px 8px;
            margin-left: 5px;
        }

            .programs-customers .filters .icons a.btn i,
            .programs-customers .filters .icons span.btn i,
            .customers .filters .icons a.btn i,
            .customers .filters .icons span.btn i {
                font-size: 1.2em;
                line-height: initial;
                color: white;
            }

        .programs-customers .filters .icons .caret,
        .customers .filters .icons .caret {
            color: white;
            width: 10px;
            margin-left: 5px;
        }

        .programs-customers .filters .icons .dropdown-menu,
        .customers .filters .icons .dropdown-menu {
            font-size: 1em;
        }

            .programs-customers .filters .icons .dropdown-menu .menuitem a,
            .customers .filters .icons .dropdown-menu .menuitem a {
                padding: 3px 13px;
            }

                .programs-customers .filters .icons .dropdown-menu .menuitem a i,
                .customers .filters .icons .dropdown-menu .menuitem a i {
                    margin-left: 5px;
                    font-size: 1.2em;
                    color: #7D7D7D;
                }

    .programs-customers .icons .dropdown-menu-left,
    .customers .icons .dropdown-menu-left {
        right: auto;
        left: 0;
    }

    .customers .filters .ui-checkbox input[type=checkbox]:checked + span:after {
        right: 3px;
    }

    .customers .ui-checkbox {
        display: block;
    }

    .customers .table-control ul {
        list-style-type: none;
        margin-right: 0;
        padding: 0;
    }

    .customers .header-border {
        border-bottom: 1px solid silver;
        overflow: hidden;
        height: 45px;
    }

        .customers .header-border .icons > a {
            margin: 0 4px 0 0;
            color: white;
            font-size: .9em;
            width: 120px;
        }

        .customers .header-border .icons a i {
            padding-left: 5px;
            font-size: 1.1em;
        }

        .customers .header-border span {
            font-size: .8em;
            display: block;
            padding-top: 10px;
        }

    .customers ul li,
    .customers ul li a {
        cursor: pointer;
    }

    .customers .customer-reference {
        padding-right: 80px;
        color: black;
    }

        .customers .customer-reference:last-of-type {
            margin-bottom: 10px;
        }

        .customers .customer-reference > span {
            font-size: 1.3em;
            font-weight: bold;
        }

    .customers .customer-reference-item {
        border-bottom: 1px solid silver;
        background-color: #f9f9f9;
    }

        .customers .customer-reference-item .avatar {
            width: 25px;
            vertical-align: middle;
            display: inline-block;
        }

    .customers .customer-reference > div > div.reference {
        font-size: .9em;
        color: black;
        padding: 5px;
        overflow: hidden;
    }

    .customers .customer-reference > div:hover {
        background-color: #eef6ff;
        cursor: pointer;
    }

    .customers .table-control div.menu,
    .load-customer-table .table-control div.menu {
        top: 3px;
    }

    .customers .table-control .list .row-body {
        background-color: white;
    }

        .customers .table-control .list .row-body .avatar {
            display: inline-block;
            text-align: center;
            width: 30px;
            vertical-align: middle;
            font-size: 1.2em;
        }

            .customers .table-control .list .row-body .avatar i {
                vertical-align: text-bottom;
            }

    .customers .ui-textbox.full-width input[type=text],
    .customers .ui-textbox.full-width,
    .customers .ui-select {
        width: 100%;
        font-weight: normal;
    }

    .customers .customer-reference-item:before {
        content: '';
        position: absolute;
        width: 20px;
        height: 36px;
        border: 2px solid rgb(17, 141, 207);
        border-left: none;
        border-top: none;
        right: -35px;
        z-index: -1;
        top: -18px;
    }

    .customers .customer-reference-item:after {
        content: '';
        width: 8px;
        height: 8px;
        position: absolute;
        border-radius: 50%;
        top: 13px;
        right: -15px;
        background-color: rgb(17, 141, 207);
    }

.customer-wrapper .tab-content {
    max-height: inherit;
    border-right: 1px solid #ddd;
    margin-right: -2px;
}

    .customer-wrapper .tab-content .tab-pane {
        padding: 20px 15px;
    }

.customer-wrapper .nav-tabs .uib-tab,
.customer-wrapper .nav-tabs .uib-tab i {
    color: #118dcf;
}

    .customer-wrapper .nav-tabs .uib-tab.active,
    .customer-wrapper .nav-tabs .uib-tab.active i {
        color: #555;
    }

.customer-type-modal .modal-body > div {
    width: 100%;
    text-align: center;
}

.customer-type-modal .modal-body div.inline {
    margin: 0 auto;
}

.customer-type-modal .modal-body div.inline button {
    width: 200px;
    font-size: 2em;
    color: #118dcf;
    background-color: white;
    padding: 3px 0;
    margin: 10px 15px;
    border: 1px solid #118dcf;
    border-radius: 3px;
}

.customer-type-modal .modal-body div.inline button:hover {
    color: white;
    background-color: #118dcf;
}

.modal .customers-import .help-img {
    margin: 5px 10px;
    border: 1px solid grey;
}

.type-customer {
   display: flex;
}
.person-type-btn {
    border-left: none;
    background-color: white;
    border: 1px solid grey;
    width: 50%;
}
.company-type-btn {
    border-right: none;
    background-color: white;
    border: 1px solid grey;
    width: 50%;
}
    .company-type-btn.active,
    .person-type-btn.active {
        color: white;
        background-color: #118dcf;
    }
