:root {
    --primary: #013FA3;
    --secondary: #00A2E2;
    --orange: #FFA212;
    --success: #2bd42b;
    --grey: #F7F7F7;
    --fontBody: #646b82;
    --fontTitle: #29375e;
    --borderColor: #e4e5ec;
    --stepsBorderColor: #b8b0b0;
}

/*
SETUP
--------------------------------------------------------------------------------------------- */

/*
Divi Overwrites
----------------------------------------------- */

#post-140567 .main_title {
    display: none;
} 

#post-140567 .et_pb_row_0,
#post-140567 .et_pb_section_0 {
    padding-top: 0;
    padding-bottom: 0;
}

#post-140567 .et_pb_row_0 {
    width: 100%;
    max-width: 100%;
}

/*
Formatting
----------------------------------------------- */

.relative {
    position: relative;
}

/*
Flex
----------------------------------------------- */

.flex,
.step-fields .et_pb_row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.flex.space-between {
    justify-content: space-between;
}

.flex.center {
    align-items: center;
}

.flex-1-1 {
    flex: 1 1;
}

/*
Buttons
----------------------------------------------- */

.dr_button {
    position: relative;
    background-color: var(--orange);
    border: solid 1px var(--orange);
    padding: 12px 30px;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.dr_button.has-icon {
    padding-right: 55px;
}

.dr_button.has-icon svg {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 15px;
    height: auto;
    transform: translateY(-50%);
}

.dr_button.has-icon.icon-left {
    padding-left: 55px;
    padding-right: 30px;
}

.dr_button.has-icon.icon-left svg {
    right: auto;
    left: 30px;
    transform: rotateY(180deg) translateY(-50%);
}

.dr_button.outline {
    background: transparent;
    color: var(--orange);
    border: solid 1px var(--orange);
}

.dr_button.outline:hover {
    background: var(--orange);
    color: #fff;
}

.dr_button.small {
    padding: 6px 14px;
    font-size: 13px;
}

/*
Typography
----------------------------------------------- */

.txt-center {
    text-align: center;
}

.txt-right {
    text-align: right;
}

/*
QUOTE LINKS ( CTAS )
--------------------------------------------------------------------------------------------- */
    
.calculator-cta-box {
    display: block;
    padding: 30px;
    background: #fff;
    border-radius: 7px;
    color: var(--orange);
    border-top: solid 7px var(--primary);
    height: 100%;
}

.calculator-cta-box svg {
    display: block;
    height: 30px;
    width: auto;
    margin-right: 20px;
}

.calculator-cta-box p {
    color: var(--fontBody);
    font-size: 14px;
}

.calculator-cta-box:hover {
    background: var(--primary);
    color: #fff;
    border-top-color: var(--orange);
}

.calculator-cta-box:hover h4,
.calculator-cta-box:hover p {
    color: #fff;
}

/*
CALCULATOR BAR
--------------------------------------------------------------------------------------------- */

/*
Setup
----------------------------------------------- */

.calculator-bar {
    position: relative;
    margin-bottom: 60px;
    z-index: 10;
    background: #f7f7f7;
    padding: 30px;
    border-radius: 10px;
}

/*
Lines
----------------------------------------------- */

.calculator-bar .bar-step:not(:first-child):before,
.calculator-bar .bar-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 25px;
    height: 2px;
    width: calc(100% - 50px);
    margin-top: -1px;
    margin-right: 25px;
    right: 50%;
    background: var(--stepsBorderColor);
    z-index: -1;
}

/*
Icons
----------------------------------------------- */

.calculator-bar .bar-step .icon {
    position: relative;
    display: block;
    height: 50px;
    width: 50px;
    margin: 0 auto 15px;
    color: var(--stepsBorderColor);
    padding: 15px 0;
    background: #f7f7f7;
}

.calculator-bar .bar-step .icon:before,
.calculator-bar .bar-step .icon:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    border-radius: 50%;
}

.calculator-bar .bar-step .icon:before {
    box-shadow: inset 0 0 0 2px var(--stepsBorderColor);
    border-radius: 50%;
    width: 100%;
}

.calculator-bar .bar-step .icon:after {
    background: var(--primary);
}

.calculator-bar .bar-step .icon svg {
    position: absolute;
    height: 20px;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/*
Step Number
----------------------------------------------- */

.calculator-bar .step-number {
    font-weight: 600;
    color: var(--secondary);
    font-size: 15px;
    line-height: 1;
}

.calculator-bar .step-name {
    color: var(--fontTitle);
    font-size: 20px;
}

/*
Active
----------------------------------------------- */

.calculator-bar .bar-step.complete .icon:after,
.calculator-bar .bar-step.active .icon:after {
    width: 100%;
    transition: all .3s ease-in-out;
}

.calculator-bar .bar-step.complete .icon svg,
.calculator-bar .bar-step.active .icon svg {
    color: var(--orange);
}

/*
Complete
----------------------------------------------- */

.calculator-bar .bar-step:not(:last-child):after {
    width: 0;
    margin-left: 0;
    left: 50%;
    right: auto;
    z-index: 2;
    background: var(--success);
    transition: all .3s ease-in-out;
}

.calculator-bar .bar-step.complete svg,
.calculator-bar .complete-icon svg {
    display: none;
}

.calculator-bar .bar-step.complete .complete-icon svg {
    display: block;
    color: #fff;
}

.calculator-bar .bar-step.complete .icon:after {
    background: var(--success);
}

.calculator-bar .bar-step.complete:not(:last-child):after {
    width: calc(100% - 50px);
    margin-left: 25px;
}

/*
STEPS
--------------------------------------------------------------------------------------------- */

#dr_calculatorForm {
    min-height: 30vh;
}

.step {
    display: none;
}

.step-active {
    display: block;
}

/*
Step Title
----------------------------------------------- */

.step-title {
    border: solid 1px var(--borderColor);
    padding: 30px;
    border-radius: 7px;
}

.step-title .curr-step-num {
    font-size: 60%;
    color: var(--secondary);
}

.step-title h2,
.step-title .step-numbers {
    padding-bottom: 20px;
}

.step-title .step-numbers {
    font-size: 14px;
    color: var(--orange);
    font-weight: 800;
}

.dr_button.title-back-step {
    display: inline-block;
    padding: 0 0 0 25px !important;
    border: none;
    color: var(--fontBody);
}

.dr_button.title-back-step svg {
    left: 0 !important;
}

.dr_button.title-back-step:hover {
    color: var(--orange) !important;
    background: transparent !important;
}

/*
Step Fields
----------------------------------------------- */

.step-fields {
    padding: 60px 0 0;
}

.step-fields .et_pb_row {
    max-width: 100%;
    width: 100%;
    padding: 0;
    flex-flow: row wrap;
}

.form-animation {
    width: 100%;
}

.step-fields .form-label,
label.form-label {
    display: block;
    margin-bottom: 30px;
    /*padding-bottom: 20px;
    border-bottom: solid 1px var(--borderColor);*/
}

.step-fields .form-label label,
label.form-label {
    display: block;
    font-weight: 600;
    color: var(--fontTitle);
    font-size: 26px;
}

.step-fields .form-label p {
    margin-top: 10px;
}

/*
Form Fields
----------------------------------------------- */

.step-fields .form-field:not(:last-child),
.form-field-margin {
    margin-bottom: 60px;
}

.step-fields .form-field.not-populated {
    opacity: .6;
    pointer-events: none;
}

/*
Prev / Next Steps
----------------------------------------------- */

.next-prev-wrap {
    margin-left: -30px;
    margin-right: -30px;
    padding: 30px;
    display: none;
    border: solid 1px var(--borderColor);
    border-radius: 7px;
}

.next-prev-wrap .bar {
    position: absolute;
    display: block;
    height: 1px;
    width: 100%;
    top: 0;
    left: 0;
}

.step-complete .next-prev-wrap {
    display: block;
}

/*
Field Continue
----------------------------------------------- */

.field-continue {
    color: var(--primary);
    padding: 10px 20px 0;
    font-size: 12px;
    cursor: pointer;
}

.field-complete .field-continue {
    display: none;
}

/*
INPUTS
--------------------------------------------------------------------------------------------- */

.hidden-inputs input {
    position: absolute;
    visibility: hidden;
}

/*
Input Box
----------------------------------------------- */

.input-box {
    display: block;
    padding: 40px 20px;
    border-radius: 7px;
    border: solid 1px var(--borderColor);
    background: #f7f7f7;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.input-box svg {
    display: block;
    height: 100px;
    width: auto;
    color: var(--secondary);
    margin: 0 auto 20px;
}

.input-box .text-icon {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
}

.input-box p {
    font-weight: 600;
    color: var(--fontTitle);
    font-size: 20px;
}

.input-box p.type-small {
    font-size: 14px;
    font-weight: 400;
}

.flex .input-box {
    height: 100%;
}

/*
Checked
-------------- */

input:checked + .input-box {
    background: var(--secondary);
    border-color: var(--secondary);
}

input:checked + .input-box .text-icon,
input:checked + .input-box svg,
input:checked + .input-box p {
    color: #fff;
}

/*
Hover
-------------- */

.input-box:hover {
    /*transform: scale(1.05);
    box-shadow: 0 0 10px -2px rgba(0,0,0,.15);*/
    border-color: var(--secondary);
}

/*
Default Inputs
----------------------------------------------- */

.form-field input:not([type="radio"]),
.form-field select,
.form-field textarea {
    display: block;
    border: solid 1px var(--borderColor);
    width: 100%;
    padding: 0 20px;
    color: #3e3e3e;
    border-radius: 4px;
    height: 50px;
}

.form-field textarea {
    padding: 20px;
    height: auto;
}

/*
Input Animation
----------------------------------------------- */

.form-field.not-populated {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 100%;
}

.form-field .et_pb_column,
.form-field .form-animation {
    position: relative;
    top: 10px;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.form-field.start-anim {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.form-field.start-anim .et_pb_column,
.form-field.start-anim .form-animation {
    top: 0;
    opacity: 1;
}

/*
Field Error
----------------------------------------------- */

.form-field .error {
    font-size: 12px;
    color: #db0202;
    padding: 10px 20px;
}

/*
Map
----------------------------------------------- */

#mapWrap {
    background: #F7F7F7;
    border-radius: 7px;
    overflow: hidden;
}

#mapWrap #mapCanvas {
    width: 30%;
}

#mapWrap #info {
    padding: 60px 60px 30px;
}

/*
DATEPICKER
--------------------------------------------------------------------------------------------- */

/*
Setup
----------------------------------------------- */

#ui-datepicker-div {
    width: 300px;
    margin: 0;
    padding: 0;
    background: #fff;
}

/*
Header
----------------------------------------------- */

#ui-datepicker-div .ui-datepicker-header {
    position: relative;
    margin: 0;
    padding: 10px 0;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 30px -9px rgba(0,0,0,.3);
}

#ui-datepicker-div .ui-datepicker-header .ui-corner-all {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 15px;
}

#ui-datepicker-div .ui-datepicker-header .ui-datepicker-next {
    right: 0;
}

#ui-datepicker-div .ui-datepicker-title {
    text-align: center;
}

/*
Table
----------------------------------------------- */

#ui-datepicker-div .ui-datepicker-calendar {
    width: 100%;
    text-align: center;
}

#ui-datepicker-div .ui-datepicker-calendar th {
    padding-top: 10px;
}

#ui-datepicker-div .ui-datepicker-calendar th,
#ui-datepicker-div .ui-datepicker-calendar td {
    width: 14.2857143%;
}

#ui-datepicker-div .ui-datepicker-calendar tr:last-child td {
    padding-bottom: 10px;
}

#ui-datepicker-div .ui-datepicker-calendar .ui-state-default:hover,
#ui-datepicker-div .ui-datepicker-calendar .ui-state-active {
    background: transparent;
    color: var(--secondary);
}

/*
VIEWING QUOTE
--------------------------------------------------------------------------------------------- */

/*
Quote Total
----------------------------------------------- */

.quote-total,
.move-details {
    background: var(--secondary);
    color: #fff;
    padding: 60px 40px;
    border-radius: 7px 0 0 7px;
}

.quote-total .price {
    display: block;
    font-size: 70px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 20px;
}

/*
Move Details
----------------------------------------------- */

.move-details {
    background: #f7f7f7;
    flex-direction: column;
    justify-content: space-between;
    color: var(--fontTitle);
    border-radius: 0 7px 7px 0;
}

.move-details p {
    font-size: 12px;
    line-height: 1.4;
    padding: 0;
}

.move-details .tag {
    background: var(--orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.move-details .address {
    display: block;
    font-weight: 600;
    font-size: 24px;
}

.move-details-arrow svg {
    display: block;
    height: 30px;
    width: auto;
    transform: rotate(90deg);
    margin: 10px 0;
    color: var(--secondary);
}

/*
Move Details
----------------------------------------------- */

.form-data-confirmation {
    padding: 40px;
    border: solid 1px var(--borderColor);
    border-radius: 7px;
}

.form-data-confirmation .field-group {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 7px;
    margin-bottom: 30px;
}

.form-data-confirmation .fields {
    padding-top: 30px;
}

.form-data-confirmation .fields label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--fontTitle);
}

.form-data-confirmation .fields p {
    font-size: 14px;
}

.form-data-confirmation .fields label.sub-label {
    font-size: 10px;
    font-style: italic;
    margin: 0;
}

/*
MAN & VAN CTA
--------------------------------------------------------------------------------------------- */

.man-van-cta {
    padding: 30px;
    border-radius: 7px;
    border: solid 1px var(--orange);
    margin-bottom: 60px;
}

.man-van-cta .flex {
    gap: 20px;
}

.man-van-cta .pill {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    padding: 0px 6px;
    vertical-align: bottom;
    border-radius: 3px;
    margin-right: 3px;
}

.man-van-cta .dr_button {
    display: inline-block;
    white-space: nowrap;
}

@media ( max-width: 991px ) {

    .man-van-cta .flex {
        align-items: flex-start;
        flex-direction: column;
    }

}

/*
RESPONSIVE
--------------------------------------------------------------------------------------------- */

/*
MISC INPUTS
----------------------------------------------- */

@media ( max-width: 1200px ) {
    
    /*
    Icons
    ----------------------------------------------- */
    
    .input-box svg {
        height: 60px;
    }
    
    /*.input-box .text-icon {
        font-size: 20px;
    }*/
    
    .input-box p {
        font-size: 18px;
    }
    
    /*
    6 Columns
    ----------------------------------------------- */
    
    #dr_calculator .et_pb_column_1_6 {
        width: 30.3333333%;
        margin-bottom: 3%;
    }
    
    #dr_calculator .et_pb_row_6col {
        margin-bottom: -3%;
    }
    
    /*
    Thank You 
    ----------------------------------------------- */
    
    .quote-total .price {
        font-size: 60px;
    }
    
}

/*
iPAD PORTRAIT
----------------------------------------------- */

@media ( max-width: 991px ) {
    
    /*
    Calculator Bar
    ----------------------------------------------- */
    
    .calculator-bar .step-name {
        font-size: 17px;
    }
    
    #mapWrap > .flex {
        display: block;
    }
    
    #mapWrap #mapCanvas {
        width: 100% !important;
        height: 200px;
    }
    
    #mapWrap #info {
        padding: 30px 30px 0;
    }
    
    /*
    Thank You
    ----------------------------------------------- */
        
    .thank-you-wrap > .flex,
    .thank-you-wrap .field-group .flex {
        display: block;
    }
    
    .quote-total, .move-details {
        padding: 30px;
    }
    
    .quote-total {
        border-radius: 7px 7px 0 0;
    }
    
    .move-details {
        border-radius: 0 0 7px 7px;
        text-align: center
    }
    
    .move-details-arrow svg {
        margin: 10px auto;
    }
    
    .thank-you-wrap .field-group .flex .et_pb_column {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
    
    .thank-you-wrap .field-group .flex .et_pb_column:last-child {
        margin-bottom: 0;
    }
    
}

/*
iPHONE PORTRAIT
----------------------------------------------- */

@media ( max-width: 800px ) {
    
    .calculator-bar {
        padding: 30px 0;
    }
    
    .calculator-bar .step-number,
    .calculator-bar .step-name,
    .step-title .step-numbers{
        display: none;
    }
    
    .calculator-bar .icon {
        margin-bottom: 0;
    }
    
    .step-title .flex {
        display: block;
    }
    
    #dr_calculator .et_pb_column_1_6 {
        width: 48.5% !important;
        margin-right: 3%;
    }
    
    #dr_calculator .et_pb_column_1_6:nth-child(2n) {
        margin-right: 0;
    }
    
}

/*
SUPER SMALL DEVICES
----------------------------------------------- */

@media ( max-width: 400px ) {
    
    .calculator-bar {
        display: none;
    }
    
    #dr_calculator .et_pb_column_1_6 {
        width: 100% !important;
        margin-right: 0%;
    }
    
}