body,
canvas,
div,
form,
input {
    margin: 0;
    padding: 0;
}

#wrapper {
    width: 90%;
    padding: 1px;
    padding-left: 15px;
}

canvas {
    position: relative;
    margin: 1px;
    margin-left: 0px;
    border: 2px solid #000;
}

.signatureDIV {
    width: 30%;
    position: relative;
    text-align: left;
    float: left;
}
#regForm .step {
    width: unset;
    padding: 10px;
}
.inputFULL{
    margin-bottom: 20px;
}
@media only screen and (max-width: 414px) {
    .signatureDIV {
        width: 100%;
        position: relative;
        text-align: center;
    }
}

.ortp-form-checkbox {
    margin-top: 2%;
    margin-bottom: 2%;
    color: gray;
}
/*----------------- Register Form  -------------*/
.registerForm #succPayment{
    background: #00800030;display: none;
    padding: 3px 0px;
    text-align: center;
    color: green;
    font-size: 18px;
    border: 1px dashed green;
    margin-bottom: 20px;
    border-radius: 15px;
}
.registerForm #failPayment{
    background: #ff00002b;display: none;
    padding: 3px 0px;
    text-align: center;
    color: red;
    font-size: 18px;
    border: 1px dashed red;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: auto;
}
#site-header-inner {
    height: unset;
}

#site-logo {
    float: left;
    height: unset;
    display: unset;
}

#stopDiv_1 {
    margin-top: 30px;
}

#stopDiv_2 {
    margin-top: 40px;
}

#stopDiv_3 {
    margin-top: 40px;
}

#stopDiv_4 {
    margin-top: 40px;
}

#stopDiv_5 {
    margin-top: 40px;
}

#stopDiv_6 {
    margin-top: 40px;
}

#stopDiv_7 {
    margin-top: 40px;
}

#stopDiv_8 {
    margin-top: 40px;
}

#stopDiv_9 {
    margin-top: 40px;
}

#stopDiv_10 {
    margin-top: 40px;
}

.stopInput {
    width: 100% !important;
    float: left !important;
}

.routeContAll {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.printoutPanel {
    background-color: #dcecf8;
    font-size: 18px;
    padding: 12px;
    width: unset;
    height: unset;
}

.routeText {
    position: unset;
}

input[type="text"] {
    font-size: 16px;
}

/*     CUSTOM CSS*/
#regForm .progress-bar {
    width: 100%;
}

.step {
    width: unset;
    padding: 10px;
}

#regForm input[type="number"] {
    max-width: 100%;
}

#regForm input[type="number"]::-webkit-inner-spin-button,
#regForm input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media only screen and (max-width: 1380px) {
    #regForm {
        width: 100% !important;
    }
}


@media screen and (max-width: 768px) {
    * {
        outline: none;
    }

    .ui-autocomplete {
        z-index: 99999 !important;
    }

    #regForm {
        margin-top: 0;
        padding: 20px;
    }

    #regForm input {
        font-size: 16px !important;
    }

    #regForm .calcDistansDIV {
        max-height: unset !important;
    }

    #regForm > h1 {
        font-size: 18px;
    }

    #regForm > h3 {
        font-size: 16px;
    }

    #regForm .progress-bar {
        display: flex;
        flex-direction: column;
        gap: 1px;
        width: 100%;
        margin-top: 0;
        margin-bottom: 30px;
    }

    #regForm .progress-bar .step {
        padding: 5px;
        width: 100%;
    }

    #regForm .form-fields {
        margin-bottom: 0;
    }

    #regForm .form-fields .inputFULL {
        width: 100% !important;
        margin-left: 0 !important;
    }

    /*    SECOND STEP */
    #regForm #secondSTEP .yearTruck,
    #regForm #secondSTEP .makeTruck {
        width: calc(50% - 5px);
    }

    #regForm #secondSTEP .clearSpaceClass {
        display: none;
    }

    #regForm #secondSTEP .truckInfo {
        margin-top: 0;
    }

    #regForm .form-fields .makeTruck {
        margin-right: 0;
    }

    /*    THIRD STEP  */
    #regForm #thirdSTEP .calcDistansDIV {
        margin-bottom: 20px;
    }

    #regForm #thirdSTEP .eachStopBlock {
        height: 60px;
        margin-bottom: 0;
    }

    #regForm #thirdSTEP #stopDiv_1 {
        margin-top: 0px;
    }

    #regForm #thirdSTEP .eachStopBlock input {
        margin-top: 5px;
    }

    #regForm #thirdSTEP #div_endAdd {
        float: unset;
        position: initial !important;
        width: fit-content;
    }

    #regForm #thirdSTEP .addmorec {
        bottom: -100px !important;
        left: 0;
        width: fit-content;
        z-index: 999;
    }

    #regForm #thirdSTEP .removeDIV {
        right: 0;
        bottom: 25px;
    }

    #regForm #thirdSTEP #div_endRemove {
        right: 0;
    }

    #regForm #thirdSTEP #Divtabledistance {
        width: 100%;
    }

    #regForm #thirdSTEP #tabledistance {
        width: 100%;
    }

    #regForm #thirdSTEP #pickalocation {
        position: absolute;
        top: -20px;
        left: 0;
    }

    /* FORTH STEP */
    #regForm #fourthStep .paymentDIV {
        min-width: 35%;
    }

    #regForm #fourthStep .billingTitle .inputFULL {
        margin-bottom: 0;
        margin-top: 15px;
        text-align: center;
        font-size: 16px;
    }

    /* FIFTH STEP */
    #regForm #fifthSTEP .initialDDIV {
        width: 80px;
        margin-right: 15px;
    }

    #regForm #fifthSTEP .initialTextDDIV {
        width: unset !important;
        float: initial !important;
    }

}

/*    END  CUSTOM CSS*/

@media only screen and (max-width: 450px) {
    #regForm #thirdSTEP .eachStopBlock {
        width: 100% !important;
    }

    .permitAppPage {
        width: 100% !important;
        margin: 0;
        max-width: 100% !important;
        padding-bottom: 10px !important;
    }

    .addmorec {
        position: absolute !important;
        bottom: -70px !important;
    }
}

.agreeTermsBox {
    width: 100%;
    float: left;
    padding: 15px;
}

.input__checkbox {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.input__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #14213d;
}

.valign {
    display: table-cell;
    vertical-align: middle;
}

/*.page-header.background-image-page-header {*/
/*    height: 150px !important;*/
/*    background-color: #123955 !important;*/
/*    background-image: none !important;*/
/*    display: block !important;*/
/*}*/

.page-header-title {
    display: none !important;
}

/*---------------- 2nd -----------------*/
.registerForm #LCPapportioned {
    display: none;
}

.registerForm .VINloader {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 30px;
    display: none;
}

.full-vin-field {
    position: relative;
}

.field-info {
    font-size: 12px;
}

.registerForm #secondSTEP #fullvin {
    text-transform: uppercase;
}
.info-details{
    display: flex;
    justify-content: space-between;
}
.info-details .yearTruck, .info-details .makeTruck{
    position: relative;
    flex: 1;
}
/*.registerForm input.error, .registerForm select.error, .registerForm textarea.error {*/
/*    background-color: #ffdddd !important;*/
/*}*/

/*------------------ 3rd step -----------------*/

.reset-btn{
    font-size:18px;
}
.registerForm #thirdSTEP .selecttrip-error{
    color:#ff0000
}
.triptype-container{
    width:50%;
    float:left;
}
.registerForm #thirdSTEP input[name="triptype"]{
    padding-top:9px;
}
.registerForm #thirdSTEP .radio input[type='radio'] {
    display: none;
    /*removes original button*/
}

.registerForm #thirdSTEP .radio label:before {
    /*styles outer circle*/
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 2px solid #133A54;
    background-color: transparent;
}

.registerForm #thirdSTEP .radio label {
    position: relative;
}

.registerForm #thirdSTEP .containerPOINT{
    width:100%;
}
.registerForm #thirdSTEP .containerPOINT .stopInput{
    width:100%;
    float:left;
    margin-left:0px;
    position:relative;
    z-index:9999
}
.registerForm #thirdSTEP .containerPOINT  #addVehicleLinkdkt i{
    color:#397D3F;
}
.pick-location{
    width:100%;
    float:right;
    position:relative;
    height:50px;
    margin-top:20px;
}
.pick-location .toggle-endpoint{
    color:#000;
}
.pick-location #div_endRemove{
    display: none;
}
.pick-location #div_endRemove i {
    color:#ff0000
}
.pick-location #div_endAdd i {
    color:#397D3F
}
.endpoint-container{
    width:100%;
    height:50px;
}
.check-distance{
    height:60px;
}
.route-loading{
    position:relative;
}
.registerForm #thirdSTEP #distanceinmileDISPLAY{
    width:auto;
    height:auto;
    font-size:16px;
    font-weight:bold;
    color:#133A54;
}

.registerForm #thirdSTEP .radio label input[type='radio']:checked + span {
    /*styles inside circle*/
    border-radius: 11px;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    background-color: #2C9520;
}

.registerForm #thirdSTEP #tripoption {
    width: 100%;
    height: auto;
    float: left;
    margin-top: -40px;
}

@media only screen and (max-width: 768px) {
    .registerForm #thirdSTEP #tripoption {
        width: 100%;
        height: auto;
        float: left;
        margin-top: 0px;
    }
}

.registerForm #thirdSTEP #selecttrip,
.registerForm #thirdSTEP #distancemoneyerror,
.registerForm #thirdSTEP #pickalocation {
    font-size: 12px;
    font-style: italic;
    color: #ff0000;
    font-weight: bold;
}
.iAgree{
     display: flex;
     flex-direction: column;
     gap: 10px;
     padding: 10px;
     margin-bottom: 10px;
 }
.iAgree label{
    display: inline;
}
/*-------------- 4th step -----------*/
.registerForm #fourthStep .card-number-wrapper, .registerForm #fourthStep .name-wrapper, .registerForm #fourthStep .expiry-container,
.registerForm #fourthStep .expiry-container {
    margin-bottom: 25px;
}
#code-error {
    display: flex;
    flex-direction: column;
    color: rgb(255, 0, 0);
}

#vin_error {
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
}

#inputMiddlesmall_authorize {
    width: 100%;
    float: left;
    padding: 15px;
}

.initialDDIV {
    width: 10%;
    float: left;
    height: auto;
    font-weight: bold;
}

.initialTextDDIV {
    width: 89%;
    float: right;
    height: auto;
}

.initialTextDDIV label {
    font-weight: normal;
}

.enterINIT {
    text-transform: uppercase;
}

@media only screen and (max-width: 414px) {
    .initialDDIV {
        width: 35%;
        float: left;
        height: auto;
    }

    .initialTextDDIV {
        width: 65%;
        float: left;
        height: auto;
    }
}

#regForm .form-fields .inputFULL {
    position: relative;
}

#regForm .form-fields .error {
    position: absolute;
    bottom: -25px;
    left: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #ff3333;
}

/*---------------- 5th step ---------------*/

.registerForm  #fifthSTEP #clearBTN{
    margin:auto;
    padding:5px 15px;
    background-color:#000000;
    color:#fff;font-size:12px;
    margin-top:15px;
    border-radius:3px
}
.permit-app-page-content{
    padding-bottom:150px;
}
.not-available-msg{
    padding:50px 25px;
    margin-bottom:250px;
    font-size:16px;
    font-weight:600;
}
.not-available-msg h4{
    margin-top:-10px;
}
.not-available-msg ul{
    margin-top:-13px;
}
#registerForm .alert-success{
    background: #00800030;display: none;
    padding: 3px 0px;
    text-align: center;
    color: green;
    font-size: 18px;
    border: 1px dashed green;
    margin-bottom: 20px;
    border-radius: 15px;
}
#registerForm #loadingImgDone{
    text-align:center;
}
.btns-container{
    float:right;
}