/* Calculator */
:root {
    --primary-color: #30416d;
    --secondary-color: #E6873C;
    --text-color: #1B1A1C;
    --gray-color: #F5F7F9;
}
.not-active {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}
.pl-0 {
    padding-left: 0;
}
.pr-0 {
    padding-right: 0;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--text-color);
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--text-color);
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--text-color);
}

#trilogy-calculator-holder {
    margin-bottom: 30px;
}
#trilogy-calculator-holder label {
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: var(--primary-color);
    margin-bottom: 5px;
}
#trilogy-calculator-holder p {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.01em;
    color: var(--primary-color);
    margin: 12px;
}
#trilogy-calculator-holder .tc-header {
    background-color: var(--primary-color);
    padding: 15px;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    /*text-transform: uppercase;*/
    color: #fff;
}
.tc-selection-inner {
    position: relative;
}

#tc-quote {
    background-color: var(--primary-color);
    border: 9px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
}
#tc-quote .tc-quote-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 15px;
}
#tc-quote .tc-quote-service-prices {
    background: rgba(41, 31, 58, 0.7);
    padding: 4px 17px;
    margin: 0 0 5px 0;
}
#tc-quote .tc-quote-service {
    font-size: 14px;
    line-height: 21px;
    color: #fff;
    letter-spacing: 0.01em;
    padding: 0;
}
#tc-quote .tc-quote-price {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 21px;
    text-align: right;
    letter-spacing: 0.01em;
    padding: 0;
}
#tc-quote .tc-quote-final-price {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding: 15px 15px 0;
    margin: 15px 15px 0;
    text-align: center;
}
.tc-quote-final-price div {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 30px;
    line-height: 25px;
    letter-spacing: 0.01em;
}
.tc-quote-final-price div span {
    color: #fff;
    display: block;
    margin-top: 10px;
}
#tc-final-price-excl-fs {
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    line-height: 25px;
    letter-spacing: 0.01em;
}

#tc-quote .tc-quote-user-selection {
    text-align: center;
    margin-top: 10px;
    display: block;
    color: #fff;
}

#trilogy-calculator-holder .tc-body {
    background-color: var(--gray-color);
    padding: 15px;
    margin: 0;
    text-align: center;
}
#trilogy-calculator-holder .tc-btn {
    display: inline-block;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px;
    margin: 0 5px;
    width: 185px;
}
#trilogy-calculator-holder .tc-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder .tc-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

#trilogy-calculator-holder input[type=text], #trilogy-calculator-holder input[type=email] {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    font-size: 14px;
    line-height: 20px;
    background-color: #fff;
    color: var(--text-color);
}
#trilogy-calculator-holder .select2 {
    width: 100% !important;
}
#trilogy-calculator-holder .select2-selection {
    width: 100% !important;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    font-size: 14px;
    text-align: left;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-color);
}
/*.select2-dropdown {
    top: 32px;
}*/
.select2-selection__rendered {
    line-height: 48px !important;
}
.select2-container .select2-selection--single {
    height: 48px !important;
}
.select2-selection__arrow {
    height: 44px !important;
}
.select2-search__field {
    border-radius: 0 !important;
}
@media screen and (max-width: 782px) {
    .select2-dropdown {
        top: 0px;
    }
}

#trilogy-calculator-holder .tc-boxed {
    background-color: #fff;
    padding: 15px;
}
p#tc-fuel-surcharge {
    font-weight: 600;
    font-size: 16px;
}

#calc-steps {
    text-align: center;
    margin: 30px auto;
}
#calc-steps .tc-step {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-weight: 700;
    font-size: 10px;
    line-height: 13px;
    color: var(--primary-color);
    padding: 8px;
    margin: 15px 0px;
    background-color: var(--gray-color);
    border-radius: 50%;
    z-index: 2;
    position: relative;
}
#calc-steps .tc-step2 {
    margin: 15px 150px;
}
#calc-steps .tc-step2:before {
    content: " ";
    position: absolute;
    width: 154px;
    height: 2px;
    background-color: var(--gray-color);
    left: -154px;
    top: 13px;
}
#calc-steps .tc-step2:after {
    content: " ";
    position: absolute;
    width: 154px;
    height: 2px;
    background-color: var(--gray-color);
    left: 28px;
    top: 13px;
}
#calc-steps .tc-steps-line {
    color: var(--gray-color);
    width: 372px;
    top: -49px;
    display: block;
    position: relative;
    z-index: 1;
}

/* step 1 */
#trilogy-calculator-holder.calc-step1 .tc-step1 {
    background-color: var(--primary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step1 .tc-step2 {
    background-color: rgba(52,40,75,0.1);
}
#trilogy-calculator-holder.calc-step1 .tc-step3 {
    background-color: rgba(52,40,75,0.1);
}
/* step 2 */
#trilogy-calculator-holder.calc-step2 .tc-step1 {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step2 .tc-step2 {
    background-color: var(--primary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step2 .tc-step3 {
    background-color: rgba(52,40,75,0.1);
}
/* step 3 */
#trilogy-calculator-holder.calc-step3 .tc-step1 {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step3 .tc-step2 {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step3 .tc-step3 {
    background-color: var(--primary-color);
    color: #fff;
}
/* step 4 */
#trilogy-calculator-holder.calc-step4 .tc-step1 {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step4 .tc-step2 {
    background-color: var(--secondary-color);
    color: #fff;
}
#trilogy-calculator-holder.calc-step4 .tc-step3 {
    background-color: var(--secondary-color);
    color: #fff;
}

#trilogy-calculator-holder .tc-navigation {
    text-align: center;
    margin: 30px 0;
}
#trilogy-calculator-holder .tc-backnext {
    text-align: center;
    width: auto;
    /*border-color: #fff;*/
}
/*#trilogy-calculator-holder .tc-backnext:hover {
    background-color: #fff;
    color: var(--secondary-color);
}*/
#trilogy-calculator-holder .tc-newcalculation {
    width: auto;
}
#trilogy-calculator-holder .tc-makeanorder {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    width: auto;
}
#trilogy-calculator-holder .tc-makeanorder:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

/* hide navigation buttons per steps */
#trilogy-calculator-holder.calc-step1 #tc-back,
#trilogy-calculator-holder.calc-step1 .tc-newcalculation,
#trilogy-calculator-holder.calc-step1 .tc-makeanorder,
#trilogy-calculator-holder.calc-step2 .tc-newcalculation,
#trilogy-calculator-holder.calc-step2 .tc-makeanorder,
#trilogy-calculator-holder.calc-step3 #tc-next,
#trilogy-calculator-holder.calc-step4 #tc-next {
    display: none;
}

/* hide content per steps */
#trilogy-calculator-holder.calc-step1 #tc-step2,
#trilogy-calculator-holder.calc-step1 #tc-step3,
#trilogy-calculator-holder.calc-step2 #tc-step1,
#trilogy-calculator-holder.calc-step2 #tc-step3,
#trilogy-calculator-holder.calc-step3 #tc-step1,
#trilogy-calculator-holder.calc-step3 #tc-step2 {
    display: none;
}

/* if depot not selected disable elements */
/*#trilogy-calculator-holder.depot-0 #postalcode-selection,*/
#trilogy-calculator-holder.depot-0 #cargodetails-selection,
#trilogy-calculator-holder.depot-0 .tc-navigation,
#trilogy-calculator-holder.depot-0 #tc-make_an_offer {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

/* if postal code not selected disable elements */
#trilogy-calculator-holder.postalcode-none #cargodetails-selection,
#trilogy-calculator-holder.postalcode-none .tc-navigation,
#trilogy-calculator-holder.postalcode-none #tc-make_an_offer {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

/* if weight not set disable elements */
#trilogy-calculator-holder.weight-0 .tc-navigation,
#trilogy-calculator-holder.weight-0 #tc-make_an_offer {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

/* show import or export data */
#trilogy-calculator-holder.transfertype-export .tc-import,
#trilogy-calculator-holder.transfertype-import .tc-export {
    display: none;
}

/* show proper export/import panel based on depot selected */
#trilogy-calculator-holder.depot-1 #tc-accordion-2-export,
#trilogy-calculator-holder.depot-1 #tc-accordion-3-export,
#trilogy-calculator-holder.depot-2 #tc-accordion-1-export,
#trilogy-calculator-holder.depot-2 #tc-accordion-3-export,
#trilogy-calculator-holder.depot-3 #tc-accordion-1-export,
#trilogy-calculator-holder.depot-3 #tc-accordion-2-export,
#trilogy-calculator-holder.depot-1 #tc-accordion-2-import,
#trilogy-calculator-holder.depot-1 #tc-accordion-3-import,
#trilogy-calculator-holder.depot-2 #tc-accordion-1-import,
#trilogy-calculator-holder.depot-2 #tc-accordion-3-import,
#trilogy-calculator-holder.depot-3 #tc-accordion-1-import,
#trilogy-calculator-holder.depot-3 #tc-accordion-2-import {
    display: none;
}

/* hide extras content on depot should not show */
#trilogy-calculator-holder.depot-1 .depot-3-only, #trilogy-calculator-holder.depot-2 .depot-3-only {
    display: none;
}

/* busy indicator */
#busy-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
}
.busy-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -16px;
    margin-left: -16px;
    color: #fff;
}

/* accordion */
.accordion .card {
    margin-top: 15px !important;
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
}
.accordion .card-header {
    background-color: #E1E0E2;
    border: none;
    padding: 0;
}
.accordion .card-header a:after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 15px;
    background-color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}
.accordion .card-header a[aria-expanded="true"]:after {
    content: "-";
    padding: 4px 12px 6px 12px;
}
.accordion a {
    display: block;
    padding: 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
    color: var(--primary-color) !important;
    cursor: pointer;
}
.accordion .card-body {
    text-align: left;
    font-size: 14px;
    line-height: 21px;
    color: var(--primary-color);
    padding-bottom: 0;
}

/* radio button */
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    color: var(--secondary-color);
    height: 24px;
}
[type="radio"] + label {
    font-size: 14px !important;
    line-height: 21px !important;
    color: var(--text-color) !important;
    padding-top: 2px;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    position: absolute;
    top: 6px;
    left: 6px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/* checkbox */
.checkbox {
    margin: 0;
}
.checkbox label:after {
    content: '';
    display: table;
    clear: both;
}
.checkbox .cr {
    position: relative;
    display: inline-block;
    border: 2px solid var(--secondary-color);
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 1em;
    cursor: pointer;
    background-color: #fff;
}
.checkbox .cr-text {
    font-size: 14px;
    line-height: 21px;
    color: var(--text-color);
    top: 2px;
    position: relative;
    cursor: pointer;
}
.checkbox .cr:focus {
    border-color: var(--secondary-color);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.checkbox .cr .cr-icon {
    position: absolute;
    font-size: 16px;
    line-height: 0;
    top: 50%;
    left: 12%;
    color: #fff;
}
.checkbox label input[type="checkbox"] {
    display: none;
}
.checkbox label input[type="checkbox"]+.cr>.cr-icon {
    opacity: 0;
}
.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
    opacity: 1;
}
.checkbox label input[type="checkbox"]:checked+.cr {
    background-color: var(--secondary-color);
}
.checkbox label input[type="checkbox"]:disabled+.cr {
    opacity: .5;
}
.checkbox label, .radio label {
    padding-left: 0;
}
.checkbox label input[type="checkbox"].has-error + span + span + label.has-error {
    top: 0 !important;
}

#map {
    min-height: 700px;
}

/* additional styles */
#tc-3-import-awb-number, #tc-3-agentdelivery-number {
    width: 50px !important;
    text-align: center !important;
    display: inline-block !important;
    margin-left: 5px !important;
    margin-top: -5px !important;
    height: auto !important;
}

/* phones */
@media (max-width: 767px) {
    #calc-steps .tc-step2 {
        margin: 15px 50px;
    }
    #calc-steps .tc-step2:before {
        width: 54px;
        left: -54px;
    }
    #calc-steps .tc-step2:after {
        width: 54px;
    }
    #trilogy-calculator-holder .tc-btn {
        margin: 5px;
    }
    .pl-0, .pr-0 {
        padding: 0;
    }
    #trilogy-calculator-holder input[type=text] {
        margin: 5px 0;
    }
    #tc-final-price-excl-fs {
        display: block;
    }
}