.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.pt10 {
    padding-top: 10px;
}

.panel-heading h5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

/*.panel-body .panel-item {*/
/*padding: 5px 0 5px;*/
/*!*border-bottom: 1px solid #eee;*!*/
/*}*/

.panel-body .subtotal {
    color: #333;
    font-weight: bold;
}

.navbar-static-top {
    background-color: #0C4DA2;
}

.navbar-fixed-top {
    background-color: #0C4DA2;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: #00abf2;
    border-color: #337ab7;
}

.navbar-top-links>li>a:focus,
.navbar-top-links>li>a:hover {
    background-color: #00abf2;
    border-color: #337ab7;
}

.navbar-top-links>li>a {
    color: #FFFFFF;
}

.navbar-left-custom>li>a:focus,
.navbar-left-custom>li>a:hover {
    background-color: #00abf2 !important;
    border-color: #337ab7 !important;
}

.navbar-left-custom>li>a {
    color: #FFFFFF !important;
}

/*.sidebar ul li a.active {*/
/*background-color: #00abf2;*/
/*border-color: #337ab7;*/
/*}*/

/***** RESET STYLES *****/

body {
    font-size: 13px;
}

/* Custom, iPhone Retina */
@media (min-width: 320px) {
    .fixed-top #page-wrapper {
        margin-top: 102px;
    }
    .navbar-right {
        display: flex;
        justify-content: end;
    }
}

/* Extra Small Devices, Phones */
@media (min-width: 480px) {
    .fixed-top #page-wrapper {
        margin-top: 102px;
    }
}

@media (min-width: 768px) {
    .fixed-top #page-wrapper {
        margin-top: 51px;
    }
}

@media (max-width: 767px) {
    .navbar-ad {
        display: none;
    }
    .navbar-left-custom {
        display: none;
    }
    .sidebar {
        margin-top: 5px !important;
    }
}

@media (max-width: 991px) {}

/***** SIDEBAR STYLES *****/

.sidebar {
    background-color: #ffffff;
    margin-top: 51px;
}

.sidebar ul li a {
    color: #0C4DA2;
}

.navbar-brand {
    color: #FFFFFF !important;
    font-weight: bold;
    line-height: 14px;
    padding-left: 6px;
    padding-top: 18px;
    /*padding-bottom: 10px;*/
}

.navbar-brand small {
    display: block;
    font-size: 12px;
}

.profile-left {
    padding: 10px;
    /*min-height: 90px;*/
    /*background-color: #fff;*/
    border-bottom: 1px solid #eee;
    /*-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);*/
    /*box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);*/
    margin-right: 1px;
}

/***** RIGHT PANEL STYLES *****/

.rightpanel {
    z-index: 999;
    position: fixed;
    top: 51px;
    right: 120px;
    width: 120px;
    height: 100%;
    margin-right: -120px;
    overflow-y: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*background: #535353;*/
    background-color: #222d32;
    color: #b8c7ce;
}

.rightpanel-nav {
    position: absolute;
    top: 20px;
    width: 120px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rightpanel-nav li {
    /*text-indent: 28px;*/
    line-height: 24px;
    text-align: left;
}

.rightpanel-nav li a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
}

.rightpanel-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.rightpanel-nav li a:active,
.rightpanel-nav li a:focus {
    text-decoration: none;
}

.rightpanel-nav>.rightpanel-brand {
    /*height: 55px;*/
    font-size: 14px;
    line-height: 24px;
    text-align: left;
}

.rightpanel-nav>.rightpanel-brand a {
    /*color: #999999;*/
    color: #BFBFBF;
    font-weight: bold;
    text-indent: 10px;
}

.rightpanel-nav>.rightpanel-brand a:hover {
    /*color: #fff;*/
    color: #bfbfbf;
    font-weight: bold;
    background: none;
}

/***** BUTTON STYLES *****/

.btn-ecu {
    color: #000;
    background-color: #ffde0b;
    border-color: #ffde0b;
}

.btn-ecu:hover {
    color: #000;
    background-color: #fce300;
}

/***** ICON STYLES *****/

a.add_fav {
    background: url("/static/images/heart.jpg") no-repeat;
    width: 17px;
    text-indent: -9999em;
    display: block;
}

a.remove_fav {
    background: url("/static/images/heart-grey.jpg") no-repeat;
    width: 17px;
    text-indent: -9999em;
    display: block;
}

/***** SEARCH TAB STYLES *****/

.nav-pills>li.success>a,
.nav-pills>li.success>a:hover,
.nav-pills>li.success>a:focus {
    color: #5cb85c;
}

.nav-pills>li.success.active>a,
.nav-pills>li.success.active>a:hover,
.nav-pills>li.success.active>a:focus {
    color: #ffffff;
    background-color: #5cb85c;
}

.nav-pills>li.danger>a,
.nav-pills>li.danger>a:hover,
.nav-pills>li.danger>a:focus {
    color: #d9534f;
}

.nav-pills>li.danger.active>a,
.nav-pills>li.danger.active>a:hover,
.nav-pills>li.danger.active>a:focus {
    color: #FFFFFF;
    background-color: #d9534f;
}

.nav-pills>li.warning>a,
.nav-pills>li.warning>a:hover,
.nav-pills>li.warning>a:focus {
    color: #f0ad4e;
}

.nav-pills>li.warning.active>a,
.nav-pills>li.warning.active>a:hover,
.nav-pills>li.warning.active>a:focus {
    color: #ffffff;
    background-color: #f0ad4e;
}

.nav-pills>li.info>a,
.nav-pills>li.info>a:hover,
.nav-pills>li.info>a:focus {
    color: #5bc0de;
}

.nav-pills>li.info.active>a,
.nav-pills>li.info.active>a:hover,
.nav-pills>li.info.active>a:focus {
    color: #ffffff;
    background-color: #5bc0de;
}

#searchTab>li>a {
    padding: 5px 10px;
    margin-top: 15px;
}

/* NAV TABS */
.nav-tabs-custom {
    padding-top: 15px;
    margin-bottom: 2px;
    background: #fff;
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/
    border-radius: 3px;
}

.nav-tabs-custom>.nav-tabs {
    margin: 0;
    /*border-bottom-color: #f4f4f4;*/
    border-bottom: 0;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.nav-tabs-custom>.nav-tabs>li {
    border-top: 3px solid transparent;
    margin-bottom: -2px;
    margin-right: 5px;
}

.nav-tabs-custom>.nav-tabs>li>a {
    color: #444;
    border-radius: 0;
}

/*.nav-tabs-custom > .nav-tabs > li > a.export-link {*/
/*color: #2cc0f3;*/
/*border-radius: 0;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li > a.import-link {*/
/*color: #7838ee;*/
/*border-radius: 0;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li > a.rail-link {*/
/*color: #EAD132;*/
/*border-radius: 0;*/
/*}*/

.nav-tabs-custom>.nav-tabs>li>a.text-muted {
    color: #999;
}

.nav-tabs-custom>.nav-tabs>li>a,
.nav-tabs-custom>.nav-tabs>li>a:hover {
    background: transparent;
    margin: 0;
}

.nav-tabs-custom>.nav-tabs>li>a:hover {
    color: #999;
}

/*.nav-tabs-custom > .nav-tabs > li > a.export-link:hover {*/
/*color: #2bb4e4;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li > a.import-link:hover {*/
/*color: #622aca;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li > a.rail-link:hover {*/
/*color: #CEB724;*/
/*}*/

.nav-tabs-custom>.nav-tabs>li:not(.active)>a:hover,
.nav-tabs-custom>.nav-tabs>li:not(.active)>a:focus,
.nav-tabs-custom>.nav-tabs>li:not(.active)>a:active {
    border-color: transparent;
}

.nav-tabs-custom>.nav-tabs>li.active {
    border-top-color: #fce300;
    /*border-top-color: #fce300;*/
}

.nav-tabs-custom>.nav-tabs>li.active>a,
.nav-tabs-custom>.nav-tabs>li.active:hover>a {
    background-color: #fff;
    color: #444;
}

/*.nav-tabs-custom > .nav-tabs > li.active > a.export-link,*/
/*.nav-tabs-custom > .nav-tabs > li.active:hover > a.export-link {*/
/*background-color: #2cc0f3;*/
/*color: #ffffff;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li.active > a.import-link,*/
/*.nav-tabs-custom > .nav-tabs > li.active:hover > a.import-link {*/
/*background-color: #7838ee;*/
/*color: #ffffff;*/
/*}*/

/*.nav-tabs-custom > .nav-tabs > li.active > a.rail-link,*/
/*.nav-tabs-custom > .nav-tabs > li.active:hover > a.rail-link {*/
/*background-color: #EAD132;*/
/*color: #ffffff;*/
/*}*/

.nav-tabs-custom>.nav-tabs>li.active>a {
    border-top-color: transparent;
    border-left-color: #f4f4f4;
    border-right-color: #f4f4f4;
}

.nav-tabs-custom>.nav-tabs>li:first-of-type {
    margin-left: 0;
}

/*.nav-tabs-custom > .nav-tabs > li:first-of-type.active > a {*/
/*border-left-color: transparent;*/
/*}*/

.nav-tabs-custom>.nav-tabs.pull-right {
    float: none !important;
}

.nav-tabs-custom>.nav-tabs.pull-right>li {
    float: right;
}

.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type {
    margin-right: 0;
}

.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type>a {
    border-left-width: 1px;
}

.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type.active>a {
    border-left-color: #f4f4f4;
    border-right-color: transparent;
}

.nav-tabs-custom>.nav-tabs>li.header {
    line-height: 35px;
    padding: 0 10px;
    font-size: 20px;
    color: #444;
}

.nav-tabs-custom>.nav-tabs>li.header>.fa,
.nav-tabs-custom>.nav-tabs>li.header>.glyphicon,
.nav-tabs-custom>.nav-tabs>li.header>.ion {
    margin-right: 5px;
}

.nav-tabs-custom>.tab-content {
    background: #fff;
    padding: 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.nav-tabs-custom .dropdown.open>a:active,
.nav-tabs-custom .dropdown.open>a:focus {
    background: transparent;
    color: #999;
}

/***** SMALL TAG STYLES *****/

.small-tags li {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0;
}

.small-tags li a {
    display: block;
    padding: 5px 7px;
    font-size: 11px;
    background: #ddd;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #666;
}

.small-tags li a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #F0AD4E;
}

.small-tags>li.active>a,
.small-tags>li.active>a:focus,
.small-tags>li.active>a:hover {
    color: #fff;
    background-color: #F0AD4E;
}

#tl_opts {
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

/***** TABLE STYLES *****/

.table.dataTable thead>tr>th {
    padding-right: 8px;
    padding-left: 8px;
}

table.table-bordered th:last-child,
table.table-bordered td:last-child {
    border-right-width: 1px;
}

.table-success2 thead tr th {
    background-color: #0C4DA2;
    color: #FFFFFF;
    /*border: 2px solid #103e8f;*/
}

.table-complex tr th {
    background-color: #0C4DA2;
    border: 2px solid #0C4DA2;
    color: #FFFFFF;
}

.table-total-freight tr th {
    background-color: #fce300;
    border: 2px solid #fce300;
    color: #000033;
}

.td-surcharge-remarks {
    font-weight: bold;
    color: #ac2925;
    text-shadow: -1px 1px 1px #fff;
    background-color: #f5e79e;
}

.table tbody tr td.warning2 {
    background-color: #FF0;
}

.table tbody tr:hover td.warning2 {
    background-color: #FF9;
}

.table tbody tr td.negnum {
    color: #D9534F;
}

.table tbody tr td span.negnum {
    color: #D9534F;
}

.text-freight-default {
    background-color: #C6C6C6 !important;
    color: #000 !important;
}

#table-stats thead th {
    background-color: #f0f0f0;
    border-right: 1px dotted #999;
    text-shadow: -1px 1px 1px #fff;
    text-transform: uppercase;
    color: #1D81B6;
    font-size: 24px;
}

.table-details tbody td:nth-child(odd) {
    background-color: #f0f0f0;
    border-right: 1px dotted #999;
    text-shadow: -1px 1px 1px #fff;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    vertical-align: middle;
}

.table-details tbody td:nth-child(even) {
    text-align: center;
    vertical-align: middle;
}

/* .table-striped > tbody > tr:nth-child(even) > td, .table-striped > tbody > tr:nth-child(even) > th {
    background-color: #f1f1f1;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #ffffff;
} */

/***** PAGINATION STYLES *****/

.pagination>.active>a {
    background-color: #0C4DA2 !important;
    border-color: #0C4DA2 !important;
}

/***** SCROLLBOX STYLES *****/

.scroll-text {
    /*border: 1px solid red;*/
    width: 140px;
    height: 8.0em;
    overflow: hidden;
}

.scroll-text ul {
    /*width: 800px;*/
    width: 140px;
    height: 200px;
    overflow: hidden;
    margin: 0;
}

.scroll-text ul li {
    /*height: 2.0em;*/
    padding-bottom: 5px;
}

.scroll-img ul {
    width: 700px;
    height: 600px;
    margin: 0;
}

.scroll-img ul li {
    display: inline-block;
    margin: 10px 0 10px 10px;
}

/***** AUTO-COMPLETE STYLES *****/

.ui-autocomplete-loading {
    background: white url(/static/images/ui-anim_basic_16x16.gif) right center no-repeat;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    /* prevent horizontal scrollbar */
    z-index: 2147483647;
    position: absolute;
    top: 100%;
    left: 0;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;

    .ui-menu-item>a.ui-corner-all {
        display: block;
        padding: 3px 15px;
        clear: both;
        font-weight: normal;
        line-height: 18px;
        color: #555555;
        white-space: nowrap;
    }

}

.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
    background-color: #EEEEEE;
}

/*** TARIFF SEARCH BAR STYLES ***/
.truck-vector {
    padding: 0 10px;
}

.vessel-vector {
    padding: 0 10px;
}

#adzone {
    margin: 15px 0;
}

.well-custom {
    margin-top: 16px;
    padding: 5px;
}

.nav-custom {
    padding-top: 10px;
}

.form-sb {
    margin-bottom: 15px;
}

/***** TARIFF QUOTE MODAL STYLES *****/

#modal-export .modal-body,
#modal-danger .modal-body,
#modal-import .modal-body,
#modal-import-danger .modal-body,
#modal-fcl-quote .modal-body,
#modal-rfq-quotes .modal-body {
    max-height: 540px;
    overflow-y: auto;
}

.modal-quotes {
    width: 960px;
}

tbody .subtotal {
    font-weight: bold;
}

tbody .freight-total {
    font-weight: bold;
    font-size: 24px;
}

tfoot .subtotal {
    font-weight: bold;
}

/***** TARIFF POPOVER STYLES *****/
.popover {
    max-width: 100%;
    /* Max Width of the popover (depending on the container!) */
}

/***** BOOKING STYLES *****/

.media-wrapper {
    padding: 15px 15px 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.media-wrapper .media-tip {
    margin: 10px 0 0 0;
}

.select2-option-disable {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #ac2925;
    opacity: 0.5;
}

.select2-option-disable span {
    color: #ac2925;
}

.bigdropdown {
    width: 40% !important;
}

.fileinput-button {
    margin-bottom: 0;
}

.map-wrapper {
    text-align: center;
    vertical-align: middle;
}

.row.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.row.no-gutter .form-control-feedback {
    right: 0;
}

.row.no-gutter [class*='col-']:not(:first-child) input {
    /*border-left: none;*/
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.row.no-gutter [class*='col-']:not(:last-child) input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.row.no-gutter [class*='col-']:not(:first-child),
.row.no-gutter [class*='col-']:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
}

.xlerate-link {
    font-weight: bold;
}

.content-header .nav-tariff {
    padding-top: 8px;
    display: flex;
    /* align-items: center; */
    overflow-x: auto;
}

.content-header .nav-tariff li {
    white-space: nowrap;
}

/* .content-header .nav-tariff li a {
    display: inline-block;
} */

.nav-tariff>li>a {
    border-radius: 0 !important;
    color: #000000;
}

.nav-tariff .open>a,
.nav-tariff .open>a:focus,
.nav-tariff .open>a:hover {
    background-color: #f5f5f5;
    /*border-color: #337ab7;*/
}

.nav-tariff>li.highlight>a {
    background-color: #ffdf0b !important;
    font-weight: bold;
}

.nav-tariff>li.active>a {
    border-radius: 0 !important;
    color: #0c4da2;
    background-color: #ffffff;
    border-bottom: 2px solid #0c4da2;
}

.nav-tariff>li.active>a:hover,
.nav-tariff>li.active>a:focus {
    color: #0c4da2;
    background-color: #f5f5f5;
    border-color: #0c4da2;
}

.content-header>.breadcrumb {
    /*float: right;*/
    /*background: transparent;*/
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 12px;
    padding: 7px 5px;
    /*position: absolute;*/
    /*top: 15px;*/
    /*right: 10px;*/
    border-radius: 2px;
}

.content-header>.breadcrumb>li>a {
    color: #444;
    text-decoration: none;
    display: inline-block;
}

.content-header>.breadcrumb>li.active {
    color: #0c4da2;
}

.content-header>.breadcrumb>li>a>.fa,
.content-header>.breadcrumb>li>a>.glyphicon,
.content-header>.breadcrumb>li>a>.ion {
    margin-right: 5px;
}

.content-header>.breadcrumb>li+li:before {
    content: '>\00a0';
}

.content-header>.breadcrumb>li+li:before {
    color: #444;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    /*background-color: #f5f5f5;*/
}

.footer p {
    padding-left: 180px;
    text-align: center;
}

/* Site security cert */
.ssc-wrapper {
    position: fixed;
    left: 39px;
    bottom: 10px;
}

.jctrans-wrapper {
    position: fixed;
    left: 38px;
    bottom: 64px;
}

.panel-heading span.remove {
    cursor: pointer;
    margin-top: -20px;
    font-size: 15px;
}

.panel-heading span.dims-short-desc {
    margin-left: 20px;
    font-size: 14px;
    font-weight: normal;
    display: none;
}

#container-express-info>.panel.active {
    border: #337ab7 solid 2px;
}

#panel-tracking-info .view-more {
    margin-top: 5px;
}

.pre-scrollable-express {
    max-height: 70vh;
    overflow-y: auto;
}