﻿html, body {
    height: 100%;
}

:focus {
    outline: none;
}

.header {
    margin-bottom: 10px;
}

.caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: left;
}

.lighter {
    color: #666;
}

.sub-header {
    display: block;
    line-height: 32px;
    margin: 0;
    padding: 1px 0;
    text-align: left;
    width: 100%;
    color: rgba(79, 79, 79, 0.54);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .010em;
}

.table-box {
    margin-right: 10px;
    padding: 2px;
    border: 1px solid #999999;
    border-radius: 3.01px;
    background-color: #FFF;
    display: block;
    float: left;
}

.table-box-lg {
    padding: 5px;
}

.list-tag {
    margin-left: 2px;
    margin-right: 2px;
    border: 1px solid #999999;
    padding: 2px;
    border-radius: 3.01px;
    background-color: #FFF;
    display: block;
    float: left;
    line-height: 12px;
    opacity: 0.7;
}

.input-xs {
    height: 22px;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.remove {
    display: none;
    cursor: pointer;
}

.activeItem {
    background-color: #F2F2F2;
    border: 1px solid #CCCCCC;
}

.readOnly {
    color: #949494;
    font-style: italic;
}

.visible {
    display: inline-block !important;
}

.im-centered {
    margin: 0 auto;
    max-width: 900px;
}

.hover {
    cursor: pointer;
}

.nopadding {
    padding: 0 !important;
}

.nomargin {
    margin: 0 !important;
}

.force-save-button {
    background-color: red;
    color: white;
}

.force-save-text {
    margin-top: 4px;
    font-weight: bold;
}

sl-carrier-products-view, sl-carrier-zones-view, sl-carrier-agreements-view {
    padding: 20px;
}

.customer-dropdown {
    width: 250px;
}

.typahead-result {
    margin-top: 7px;
    margin-left: 0;
    padding: 0;
}

.back-btn {
    margin-top: 2px;
    padding: 10px 15px;
    display: block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .3;
    cursor: pointer;
}

    .back-btn:before {
        font-family: FontAwesome;
        content: "\f053";
        margin-right: 5px;
    }

    .back-btn:hover {
        color: #969696;
        opacity: 1;
    }

.list-button {
    padding: 10px 15px;
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 15px;
    margin-top: 10px;


}

.new-agreement {
    margin-bottom: 100px !important;
}

.list-group-header {
    background: #1e2129;
    color: white;
}

.spinner {
    display: block;
    width: 100px;
    height: 100px;
    margin: 300px auto;
}

.spinner-backdrop {
    opacity: 0.5;
}

.circle {
    display: block;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    margin-left: auto;
    margin-right: auto;
}

/**/
.paste-container {
    /*border: 2px dotted black;*/
    font-size: 18px;
    margin-top: 20px;
}

#paste-result table tr td {
    padding: 7px;
    border: 1px solid #D8D8D8;
}

.number {
    text-align: right;
}

.capitalize::first-letter {
    text-transform: uppercase;
}

/* Column type and row type */
.font-red {
    color: red;
}


/*Parse lookup data*/
.errorParse {
    color: red;
    font-weight: bolder;
}

.selected-carriers {
    float: left;
    display: block;
    width: 100%;
}

    .selected-carriers label {
        float: left;
    }

/* SEARCH */
.searchfield {
    border: 1px solid #5F9EA0;
    background-color: #EBF3F3;
    padding: 10px;
    border-radius: 5px;
    height: 40px;
    width: 300px;
    margin-bottom: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* PAGINATION */
.pagination button {
    border-left: 1px solid #5F9EA0;
    border-top: 1px solid #5F9EA0;
    border-bottom: 1px solid #5F9EA0;
    border-right: 0;
    background-color: #EBF3F3;
    height: 30px;
    width: 30px;
    padding: 5px;
}

.pagination button:first-child {
    border-radius: 5px 0 0 5px;
}

.pagination button:last-child {
    border-right: 1px solid #5F9EA0;
    border-radius: 0 5px 5px 0;
}

.pagination .selected {
    font-weight: bold;
    background-color: #87B6B8;
    color: #fff;
}


/*Address styles*/
#address-view {
    background-color: #f5f5f5;
    border-radius: 2px;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

    #address-view ul {
        width: 100%;
        display: block;
        clear: both;
        float: left;
        list-style-type: none;
        margin: 20px 0 0 0;
        padding: 0;
    }

        #address-view ul li {
            float: left;
            width: 150px;
            height: 25px;
            margin-bottom: 20px;
            margin-left: 10px;
            background: #f5f5f5;
            border: 1px solid #cccccc;
            border-radius: 3.01px;
            font-size: 14px;
            text-align: center;
        }

            #address-view ul li .active {
                background: #e9e9e9;
                border-color: #999999;
                color: #000000;
                text-decoration: none;
            }

    #address-view form {
        width: 100%;
    }

.adr-input {
    width: 150px;
    float: left;
    margin-left: 20px;
}

.input {
    width: 150px;
    margin-left: 20px;
}

.adr-btn {
    margin-left: 10px;
    margin-top: 24px;
}

/**
*
* SIMULATION RESULT
*
*/
#simulation-result {
    background-color: #737373;
    color: #fff;
    border: 1px solid #404040;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

/*
* DARK OVERLAY
*/
.darkOverlay {
    position: absolute;
    /* color with alpha transparency */
    background-color: rgba(0, 0, 0, 0.7);
    /* stretch to screen edges */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/*
* Override of boostrap styles
*/
.breadcrumb {
    background-color: transparent !important;
    padding: 0px !important;
    margin: 0 !important;
    margin-bottom: 6px !important;
}

.navbar {
    margin-bottom: 0 !important;
}

.list-group {
    padding-left: 0;
    margin: 0;
}

.list-group-item:focus {
    outline: none;
}

.form-horizontal {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 5px;
}

.form-inline .form-control-dropdown {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-control-dropdown {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/*
* Charges
*/
.charge-detail {
    overflow: auto;
    height: 500px;
    border-left: 1px solid #D8D8D8;
    position: relative;
}

/*NAVIGATION INSIDE DETAIL VIEW*/
.detail-view {
    height: 100%;
}

.detail-nav {
    border-right: 1px solid #ccc;
    height: 100%;
    width: 100px;
    float: left;
    padding: 0 5px !important;
}

    .detail-nav .icon {
        position: relative;
        width: 35px;
        height: 35px;
        text-align: center;
        color: #fff;
        float: left;
        margin-left: 10px;
    }

        .detail-nav .icon i {
            top: 8px;
            position: relative;
        }

    .detail-nav ul {
        margin: 0px;
        padding: 0px;
        list-style-type: none;
    }

        .detail-nav ul li {
            position: relative;
            height: 35px;
            margin-bottom: 1px;
            background-color: #ccc;
            border-radius: 2px;
        }

            .detail-nav ul li a {
                display: block;
                position: absolute;
                float: left;
                color: #fff;
                text-decoration: none;
                width: 100%;
                height: 35px;
                font-size: 16px;
            }

                .detail-nav ul li a:hover {
                    background-color: none !important;
                }

.selected {
    background-color: #F5F5F5;
}

.detail-nav ul li span {
    margin-left: 50px;
    margin-top: 8px;
    display: block;
}

.item-color {
    width: 10px;
    height: 35px;
    float: left;
    display: block;
    padding: 0;
    margin-right: 10px;
}

.list-group-item {
    float: left;
    width: 100%;
}

.item-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    font-size: 13px;
    width: 100%;
}

    .item-content .item-body {
        -webkit-flex: 1 0 0;
        flex: 1 0 0;
        padding: 6px 5px 6px 16px;
    }

    .item-content .item-footer {
        margin: 0;
        padding: 0;
        height: 30px;
    }

/*
* Multiple Lookups View
*/
.condition-wrapper {
    display: block;
    float: left;
    width: 150px;
}

.condition-value-wrapper {
    display: block;
    padding-left: 20px;
}

.condition-value-input {
    width: 150px;
    margin-right: 10px;
}

.condition-value-wrapper label {
    font-weight: normal;
}

/* Edit table modal*/
.modal.edit-table-modal-wide .modal-dialog {
    width: 90%;
    min-width: 800px;
}

.edit-table-modal-wide .modal-body {
    overflow: auto;
    max-height: 800px;
}

/*Resisable elements*/
.resizable-wrapper {
    display: flex;
    width: 100%;
    padding-bottom: 70px;
    background: #fff;
}

.row-flex {
    flex: 1;
    display: flex;
    flex-flow: row nowrap;
    padding: 7px;
}

section {
    box-sizing: border-box;
    border-radius: 10px;
    border: 15px solid transparent;
    flex: 1;
    min-width: 30px;
}

    section.resizable {
        flex: 0 0 300px;
    }

#charge-list, #agreement-list, #carrier-charge-list {
    background: #fff;
    flex-basis: 401px;
    min-width: 200px;
    max-width: 600px;
}

#agreement-list {
    flex-basis: 635px;
    min-width: 475px;
    max-width: 800px;
}

#carrier-charge-detail-view {
    background-color: #F7F7F7;
    flex-basis: 300px;
    min-width: 550px;
}

#charge-detail-view {
    flex-basis: 300px;
    margin-top: 39px;
    min-width: 550px;
    background-color: #f8f8f8;
}

#agreement-detail-view {
    flex-basis: 800px;
    margin-top: 39px;
    height: 720px;
}

#carrier-charge-detail-view {
    background-color: #F7F7F7;
    flex-basis: 300px;
    height: 450px;
}

/***********************************************************************
/Resiable directive styles
***********************************************************************/
.resizable {
    position: relative;
}

    .resizable.no-transition {
        transition: none !important;
    }

.rg-right, .rg-left, .rg-top, .rg-bottom {
    display: block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    position: absolute;
    z-index: 1;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    background: transparent;
}

    .rg-right span, .rg-left span, .rg-top span, .rg-bottom span {
        position: absolute;
        box-sizing: border-box;
        display: block;
        border: 1px solid #ccc;
    }

    .rg-right span, .rg-left span {
        border-width: 0 1px;
        top: 50%;
        margin-top: -10px;
        margin: -10px 0 0 3.5px;
        height: 20px;
        width: 7px;
    }

    .rg-top span, .rg-bottom span {
        border-width: 1px 0;
        left: 50%;
        margin: 3.5px 0 0 -10px;
        width: 20px;
        height: 7px;
    }

.rg-top {
    cursor: row-resize;
    width: 100%;
    top: 0;
    left: 0;
    margin-top: -14px;
}

.rg-right {
    cursor: col-resize;
    height: 100%;
    right: 0;
    top: 0;
    margin-right: -14px;
}

.rg-bottom {
    cursor: row-resize;
    width: 100%;
    bottom: 0;
    left: 0;
    margin-bottom: -14px;
}

.rg-left {
    cursor: col-resize;
    height: 100%;
    left: 0;
    top: 0;
    margin-left: -14px;
}

/***********************************************************************
/Drag and drop styles
***********************************************************************/
.dndPlaceholder {
    background-color: #D8D8D8;
    min-height: 35px;
    min-width: 30px;
    display: block;
    position: relative;
}

.nav-tabs .dndPlaceholder {
    margin: 0;
    padding: 0;
    background-color: #D8D8D8;
    min-width: 75px;
    display: block;
    position: relative;
}

ul[dnd-list] {
    min-height: 35px;
}

/***********************************************************************
/Xeditable override
**********************************************************************/
.editable-click {
    border-bottom: none;
}
/*
.editable-click:hover {
  color: inherit;
  background-color: white;
  border: 1px solid #cccccc;
  cursor: pointer;
}

.editable-click {
  display: inline-block;
  color: inherit;
  width: 168px;
  vertical-align: middle;
  border: 1px solid transparent;
  -webkit-transition: border-color ease-in-out 0.15s, background-color ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, background-color ease-in-out 0.15s;
}*/

/***********************************************************************
/ Detail views VERTICAL MENU
**********************************************************************/



/***********************************************************************
/* sl-Lookuptable-view
/**********************************************************************/
.selectedRow, .rowHover {
    background-color: #45A6CC;
}

.selectedColumn, .columnHover {
    background-color: #D1685A;
}

.cellHover {
    background-color: #30A65E;
}

/***********************************************************************
/* sl-agreements
/**********************************************************************/
.filter-form {
    padding-left: 13px;
}

/***********************************************************************
/* main customer statistics
/**********************************************************************/
.economy-info {
    padding-bottom: 20px;
    clear: both;
}

.economy-info-table th {
    background-color: #1e2129;
    color: white;
}

.statistics-header {
    display: block;
    position: relative;
    float: left;
    padding: 10px;
    border: 1px solid #55518a;
    border-radius: 5px;
    margin-right: 10px;
    width: 130px;
    height: 140px;
}

/*GREEN*/
.statistics-header-green {
    border: 1px solid #aedcc0;
}

/*RED*/
.statistics-header-red {
    border: 1px solid #E89C92;
}

/*YELLOW*/
.statistics-header-yellow {
    border: 1px solid #EDEC91;
}

.statistics-header h1 {
    font-size: 3em;
    margin-top: 3px;
}


.statistics-header h2 {
    margin-top: 0;
    font-size: 15px;
    height: 30px;
}

.statistics-header h3 {
    margin-top: 0;
    font-size: 15px;
}

/***********************************************************************
/* SIMULATION RESULT VIEW
/**********************************************************************/
.exact-match {
    border: 1px solid green;
    padding: 5px;
}

.wildcard-match {
    border: 1px dotted green;
    padding: 5px;
}

.not-matched {
    border: 1px solid red;
    padding: 5px;
}

/***********************************************************************
/* RECEIVER VIEW
/**********************************************************************/
.add-receiver-form {
    margin: 20px 0;
    background-color: #eee;
    padding: 11px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-float-left .dropdown, .form-float-left .input-search {
    float: left;
}

.form-float-left label {
    float: left;
    line-height: 30px;
    margin-right: 5px;
}

/***********************************************************************
/* CLIENT VIEW
/**********************************************************************/
#client-table tr td:nth-child(1) {
    width: 30%;
}

/***********************************************************************
/* RECEIVER LIST MODAL
/**********************************************************************/
.available-accounts ul, .selected-accounts ul {
    margin: 0 auto;
    padding: 0;
    max-height: 390px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 5px 0 5px;
    border-left: none;
    border-right: none;
}

    .available-accounts ul li.list-group-item, .selected-accounts ul li.list-group-item {
        list-style: none;
        background-color: rgba(0, 0, 0, 0.05);
        padding: 10px 15px 10px 25px;
        border: 1px solid #CCC;
        box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5);
        margin-bottom: 5px;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer;
        border-radius: 3px;
    }

    .available-accounts ul li.list-group-item {
        background-image: linear-gradient( 90deg, #92D3E8 10px, #EEE 10px, #EEE 11px, transparent 11px);
    }

    .selected-accounts ul li.list-group-item {
        background-image: linear-gradient( 90deg, #aedcc0 10px, #EEE 10px, #EEE 11px, transparent 11px);
    }

/***********************************
 * MODAL WIZARD
 ***********************************/
.wizard[data-steps="3"] li {
    width: 33%;
}

.wizard[data-steps="4"] li {
    width: 25%;
}

.wizard[data-steps="5"] li {
    width: 20%;
}

.wizard[data-steps="6"] li {
    width: 17.5%;
}

.wizard {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    .wizard li {
        list-style-type: none;
        display: inline-block;
        position: relative;
        margin: 0;
        padding: 0;
        text-align: center;
        line-height: 30px;
        height: 30px;
        background-color: #f0f0f0;
    }

        .wizard li > span {
            display: block;
            color: #999;
            font-weight: bold;
            text-transform: uppercase;
        }

        .wizard li.completed > span {
            color: #666;
            background-color: #ccc;
        }

        .wizard li.active > span {
            color: white;
            background-color: #9C9C9C;
        }

        .wizard li > span:after,
        .wizard li > span:before {
            content: "";
            display: block;
            width: 0px;
            height: 0px;
            position: absolute;
            top: 0;
            left: 0;
            border: solid transparent;
            border-left-color: #f0f0f0;
            border-width: 15px;
        }

        .wizard li > span:after {
            top: -5px;
            z-index: 1;
            border-left-color: white;
            border-width: 20px;
        }

        .wizard li > span:before {
            z-index: 2;
        }

        .wizard li.completed + li > span:before {
            border-left-color: #ccc;
        }

        .wizard li.active + li > span:before {
            border-left-color: #9C9C9C;
        }

        .wizard li:first-child > span:after,
        .wizard li:first-child > span:before {
            display: none;
        }

.wizard-header {
    display: block;
    line-height: 32px;
    margin: 0;
    padding: 1px 0;
    text-align: left;
    width: 100%;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .010em;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

/*DRILLDOWN LIST*/
.just-padding {
    padding: 15px;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

    .list-group.list-group-root .list-group {
        margin-bottom: 0;
    }

    .list-group.list-group-root .list-group-item {
        border-radius: 0;
        border-width: 1px 0 0 0;
    }

    .list-group.list-group-root > .list-group-item:first-child {
        border-top-width: 0;
    }

    .list-group.list-group-root > .list-group > .list-group-item {
        padding-left: 30px;
    }

    .list-group.list-group-root > .list-group > .list-group > .list-group-item {
        padding-left: 45px;
    }

.list-group-item .glyphicon {
    margin-right: 5px;
}

/*STICKY TABLE HEADER*/
.sticky-wrapper {
    position: relative;
    border: 1px solid #ccc;
    padding-top: 37px;
    background: #286090;
}

.sticky-table-container {
    overflow-y: auto;
    height: 500px;
}

.sticky-table {
    border-spacing: 0;
    width: 100%;
}

    .sticky-table td + td {
        border-left: 1px solid #eee;
    }

    .sticky-table td, .sticky-table th {
        border-bottom: 1px solid #eee;
        background: #fff;
        color: #000;
        padding: 10px 25px;
    }

    .sticky-table th {
        height: 0;
        line-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        color: transparent;
        border: none;
        white-space: nowrap;
    }

        .sticky-table th div {
            position: absolute;
            background: transparent;
            color: #fff;
            padding: 9px 25px;
            top: 0;
            margin-left: -25px;
            line-height: normal;
            border-left: 1px solid #fff;
        }

        .sticky-table th:first-child div {
            border: none;
        }

/*
 * AGREEMENT DOCUMENTS
 */
.dndfileupload {
    /*padding: -17px !important; */
    font-size: 24px;
    text-align: center;
    /* position: absolute; */
    z-index: 9999;
    /* bottom: 0; */
    left: 0;
    width: 100%;
    color: #ffffff;
    /* height: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    color: #ffffff;
}

    .dndfileupload p {
        padding: 50px;
    }

/*Button file*/
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.file {
    visibility: hidden;
    position: absolute;
}

/*
 * UPLOAD INVOICE VIEW
 */
.main-validation-info{
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main-validation-info.active{
    background-color: #D8D8D8;
}

.main-validation-info h4{
    margin-bottom: 20px;
}

.table-drilldown{
    padding: 0; 
    display: table;
}

.table-drilldown>thead>tr:first-child
{
    border-bottom: 1px solid #DDD;
}

.table-drilldown>thead>tr:first-child>th
{
    border-right: 1px solid #DDD;
}

.table-drilldown>thead>tr:first-child>th:last-child
{
    border: none;
}

.table-drilldown>tbody>tr:last-child>td{
    border-bottom: none;
    border-right: 1px solid #DDD;
}

.table-drilldown>tbody>tr>td
{
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
}

/*PADDING FIRST CELLS*/
.table-drilldown>thead>tr>th:first-child,
.table-drilldown>tbody>tr>td:first-child
{
    padding-left: 19px;
}

/*
.table-drilldown>thead>tr>th:last-child
{
    border-bottom: 1px solid #DDD;
}

.table-drilldown>thead>tr>th,
.table-drilldown>thead>tr>td
{
    border: 1px solid #DDD;
}
*/

/*Client allocation*/
panel-clientallocation {
    border-color: #c2e1f0;
}

.panel-clientallocation > .panel-heading {
    color: #2a68a2;
    background-color: #d6e6f5;
    border-color: #c2e1f0;
}

/*SEARCH INPUT*/
.search-input-group .input-group-addon{
    background: white !important; 
}
.search-input-group .form-control{
	border-right:0; 
	box-shadow:0 0 0; 
	border-color:#ccc;
}
.search-input-group button{
    border:0;
    background:transparent;
}

/* AgreementTest */

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.autocomplete-items div:hover {
    background-color: #ddd;
}

.autocomplete-items .active {
    background-color: #ddd;
}

/* End AgreementTest */