.mt-wrap, .mtr-table{
    width: 100%;
}

.moving-calculator .tool, .moving-calculator .result, .mtr-table{
    border: 1px solid var(--color-mid-gray);
    box-shadow: 0px 6px 8px -6px #1319271A;
    border-radius: 10px;
    padding: 24px 26px;
}
.moving-calculator .result{
    /* display: none; */
    padding-bottom: 24px;
}
.moving-calculator .result ul li:first-of-type{
    border-top: 1px solid var(--color-mid-gray);
}
.moving-calculator .result ul li{
    border-bottom: 1px solid var(--color-mid-gray);
}
.moving-calculator .result ul .heading5{
    color: var(--color-primary);
}
.moving-calculator .result .methodology{
    font-size: 13px;
    line-height: 15.23px;
    cursor: pointer;
}
.moving-inputs .input-wrapper, .moving-inputs .custom-select{
    width: 48%;
}
.moving-calculator .connection-path{
    top: 55px;
    left: 16px;
    transform: scaleX(1.13);
    transform-origin:left center;
}
.moving-calculator .moving-inputs.radios .ques-icon{
    top: 50%;
    right: -25px;
}
.moving-calculator .moving-inputs.radios .info-icon{
    top: -8px;
    right: -2px;
}
.moving-calculator .moving-inputs.radios .info-text{
    right: calc(100% - 47px);
    top: calc(100% + 10px);
    min-width: 250px;
    max-width: 300px;
}
.moving-calculator .moving-inputs.radios .info-text::before{
    top: -3px;
    right: 44px;
    transform: translateY(-50%) rotate(0deg);
}
.moving-calculator .connection-path path {
    vector-effect: non-scaling-stroke;
    stroke-width: 1px;
    stroke-dasharray: 5px;
    stroke-dashoffset: 0;
    animation: movingLine 4s linear forwards infinite;
}
.moving-calculator .edit-filter{
    padding-left: 30px;
}

.moving-calculator .edit-filter::before{
    content: '';
    position: absolute;
    left: 0;
    width: 19px;
    height: 17px;
    background: url('/images/blueberry/pencil.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mtr-table table td:nth-child(1), .mtr-table table th{  
    font-weight: 600;
}
.mtr-table table td:nth-child(3), .mtr-table table th:nth-child(3){     
    background-color: var(--color-light-gray);
}
.mtr-table table td:nth-child(3){
    text-align: left;
}
.mtr-table table td, .mtr-table table th{  
    text-align: left;
    padding: 6px 3px;
}
.mtr-table table td:nth-child(1){
    text-align: left;
    padding-left: 0px;
}
.mtr-table table tbody tr{
    display: none;
}
.mtr-table table th .arrow, .moving-calculator .m-thead .arrow{
    width: 19px;
    height: 17px;
    background: url(/images/blueberry/back-arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: rotate(125deg);
    display: inline-block;
}
.moving-calculator .m-thead .from-city, .moving-calculator .m-thead .to-city{
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.moving-calculator .m-thead .arrow{
    transform: rotate(180deg);
}
.mtr-table .toggle-group:has(input[data-input="sm-row"]:checked)~table tbody tr.sm-row,
.mtr-table .toggle-group:has(input[data-input="fc-row"]:checked)~table tbody tr.fc-row,
.mtr-table .toggle-group:has(input[data-input="lo-row"]:checked)~table tbody tr.lo-row {
    display: table-row;
}
.mtr-table table tbody tr svg{
    height: 14px;
    width: 15px;
    margin-right: 0px;
    margin-left: 3px;
}
.mtr-table table tbody tr .vs-rate.down svg path{
    stroke: var(--color-error);
}
.mtr-table table tbody tr .vs-rate.up svg{
    margin-right: 0px;
    margin-left: 3px;
}
.mtr-table table tbody tr .vs-rate.down svg path{
    stroke: #34B257;
}
.mtr-table table tbody tr .vs-rate.down svg{    
    margin-right: 4px;
    margin-left: 0px;
    transform: rotate(180deg);
}
.mtr-table table td:nth-child(3){
    padding-left: 2px;
    min-width: 90px;
}
.mtr-table table thead{
    display: none;
}
.moving-calculator .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
}
.moving-calculator .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.moving-calculator .same-annual-premiums{
    display: none;
}
.moving-calculator .keep_hidden {
    display: none !important;
}
.ann-rates-per-year::before {
    position: absolute;
    content: '';
    height: 40px;
    width: 30px;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}
.ann-rates-per-year.arrow-red::before {
    background: url(/images/blueberry/calculators/arrow-up.svg) no-repeat center/contain
}
.ann-rates-per-year.arrow-green::before {
    background: url(/images/blueberry/calculators/arrow-down.svg) no-repeat center/contain;
}
@keyframes movingLine {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -150px;
    }
}
  
@media(max-width:400px) {
    .moving-calculator .connection-path{
        transform: scaleX(0.9);
        top: 53px;
    }    
}
@media(max-width:420px) {
    .mtr-table table tbody tr .vs-rate.up svg {
        margin-right: 1px;
        margin-left: 0px;
    }
    .mtr-table table tbody tr .vs-rate.down svg{    
        margin-right: 3px;
        margin-left: -2px;
        transform: rotate(180deg);
    }
    .moving-calculator .tool, .moving-calculator .result, .mtr-table {        
        padding: 24px 18px;
    }    
}

@media(min-width:768px) {
    .mt-wrap, .mtr-table{
        border: 1px solid var(--color-mid-gray);
    }
    .moving-calculator .tool, .moving-calculator .result{
        border: unset;
        box-shadow: unset;
        border-radius: unset;
    }
    .moving-calculator .tool, .moving-calculator .result, .mtr-table{
        padding: 32px 39px;
    }
    .moving-calculator .result{
        padding-bottom: 24px;
    }
    .moving-calculator .tool{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        border-right: 1px solid var(--color-mid-gray);
    }
    .moving-calculator .result{
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background-color: var(--color-light-gray);
        display: block;
    }
    .mtr-table table td:nth-child(3){
        padding-left: 4px;
        min-width: 110px;
    }
    .mtr-table table td:nth-child(2), .mtr-table table td:nth-child(4){
        width: 170px;
    }
    .mtr-table table td:nth-child(1){
        width: 240px;
    }
    .mtr-table table tbody td.car-i{
        padding-left: 32px;
    }
    .mtr-table table tbody td.car-i::before{
        position: absolute;
        content: '';
        height: 24px;
        width: 24px;
        left: 0px;
        background: url(/images/blueberry/calculators/car.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }
    .mtr-table table td, .mtr-table table th{
        text-align: center; 
        padding: 6px 2px;
    }
    .mtr-table table tbody tr svg{
        height: 17px;
        width: 19px;
    }
    .mtr-table table thead{
        display: table-header-group;
    } 
    .ann-rates-per-year::before {
        right: -12px;
        top: 60%;
    }
}
@media  only screen and (min-device-width: 768px) and (max-device-width: 1024px){
    .moving-calculator .connection-path{
        transform: scaleX(0.94);
    }
}
@media (min-width: 1025px){
    .moving-calculator .connection-path {
        transform: scaleX(1);
    }
}