@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');


/* https://www.driver-online-help.uk/renewal-old# */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: #f8fafc !important;
    font-family: 'Inter', sans-serif;
}

#navbar{
    background-color: #263040;
    color: white;
}

#navbar .nav{
    padding: 20px 80px;
}

#navbar .header-h2{
    font-size: 23px;
}

#navbar .login-h2{
    font-size: 17px;
}

#heading{
    margin-top: 4rem;
    margin-bottom: 3rem;
}

#heading span{
    font-size: 23px;
    font-weight: bold;
    line-height: 22px;
}

#step-holder .steps-nav{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 4rem 3rem 2rem;
    padding: 0;
}


.form{
    width: 1280px;
}

.test-con{
    height: 300px;
    background-color: yellow;
}

#step-holder .steps-nav .active a{
    background-color: #3b5e3b;
    color: white;
}

#step-holder .steps-nav li{
    position: relative;
    width: calc(33% + 1.2rem);
    padding-right: 2.8rem;
    margin-right: -2.8rem;
    overflow: hidden;
    margin-bottom: 3px;
    flex: 1 1;
    font-size: 1rem;
}


#step-holder .steps-nav li a{
    font-size: 1rem;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: default;
    color: #464c4e;
    padding: 5px 0 5px 30px;
    background-color: #e0e4e9;
    overflow: hidden;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    list-style: decimal;
}

#step-holder .steps-nav li::before{
    content: "";
    position: absolute;
    z-index: 1;
    border-left: 35px solid #fff;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    right: 9px;
    top: -4px;
}
#step-holder .steps-nav li::after{
    content: "";
    position: absolute;
    z-index: 2;
    border-left: 30px solid #e0e4e9;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    right: 15px;
    top: 0;
}
#step-holder .steps-nav li a::before{
    content: "";
    position: absolute;
    z-index: 1;
    border-left: 35px solid #fff;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    right: 9px;
    top: -4px;
}
#step-holder .steps-nav li a::after{
    content: "";
    display: block;
    width: 0;
    min-height: 50px;
}
#step-holder .steps-nav li.active a::before{
    content: "";
    position: absolute;
    z-index: 1;
    border-left: 35px solid transparent;
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    right: 9px;
    top: -4px;
}
#step-holder .steps-nav li.active::after{
    content: "";
    position: absolute;
    z-index: 2;
    border-left: 30px solid #3b5e3b;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    right: 15px;
    top: 0;
}

.marker-numbers{
    display: none;
}

@media only screen and (max-width: 1030px){
    .marker-numbers{
        display: inline;
    }

    ul.steps-form{
        list-style: decimal !important;
    }

    .steps-nav li{
        width: calc(33.33% - 0px) !important;
        flex: none !important;
    }

    #step-holder .steps-nav li br{
        display: inline;
        content: '';
        margin-left: 3px;
    }

    #step-holder .steps-nav li::before,
    #step-holder .steps-nav li::after,
    #step-holder .steps-nav li a::before,
    #step-holder .steps-nav li a::after,
    #step-holder .steps-nav li.active a::before,
    #step-holder .steps-nav li.active::after{
        content: none;
    }

    #step-holder .steps-nav .active a{
        background-color: transparent;
        color: #171717;
    }

    #step-holder .steps-nav .active a{
        font-weight: bold;
    }

    #step-holder .steps-nav li a{
        background-color: transparent;
        color: #000;
        margin: 0;
        padding: 0;
        display: block;
        text-align: start;
        line-height: 25px;
    }

    form#form{
        width: calc(100% - 2rem) !important;
    }
}

@media only screen and (max-width: 700px){

    #navbar .nav{
        padding: 20px 20px;
    }

    .header-h2{
        font-size: 18px !important;
    }

    .steps-nav li{
        width: calc(50%) !important;
        padding-right: 0rem !important;
        margin-right: 0rem !important;
    }

    #step-holder .steps-nav li br{
        display: none;
        content: '';
        margin-left: 3px;
    }

    #step-holder .steps-nav li a{
        font-size: 13px;
    }

    form#form{
        width: calc(100% - 1rem) !important;
    }

    #step-holder .steps-nav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 0 1rem 2rem 1rem;
    }

    .responsive-select{
        flex-direction: column;
    }

    .postcode-btn{
        font-size: 12px;
    }

    .footer-nav ul{
        flex-direction: column;
        align-items: center;
        gap: 5px !important;
    }

    p.bottom-par{
        font-size: 10px;
        padding: 0 10px;
    }

    #heading{
        margin-top: 2rem;
        margin-bottom: 20px;
    }

     .steps-form .payment-details-infos{
        padding: 0 20px;
    }

     .steps-form .card-img-1,
     .steps-form .card-img-2{
        width: 100px;
    }

     .step3 .btn.btn-primary{
        font-size: 10px;
    }
}

@media only screen and (max-width: 290px){
    .steps-nav li a{
        font-size: 10px !important;
    }
}

/* Form */


.steps-form{
    width: calc(100% - 4rem) !important;
    margin: 0 auto;
}

.steps-form p.top-title{
    background-color: #263040;
    padding: 12.5px;
    color: white;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

 .steps-form .step{
    display: none;
    background-color: #e5e7eb;
    border: 2px solid #26304020;
}

 .steps-form .payment-box .bg{
    background-color: #e5e7eb;
    border: 1px solid #26304020;
    border-radius: 10px;
    padding: 30px;
}

 .steps-form .payment-box .payment-input input,
 .steps-form .payment-box .payment-input select{
    width: 100%;
    height: 45px;
    border: 1px solid #ccced0;
    padding: 12px;
}

 .steps-form .responsive-select > div{
    width: 100%;
}

 .steps-form input[type='radio'],
 .steps-form input[type='checkbox']{
    flex-shrink: 0;
}

 .steps-form input[type='checkbox']{
    width: 15px !important;
    height: 15px !important;
}

 .steps-form .payment-box .payment-btn button{
    width: 100%;
    height: 45px;
    border: none;
    cursor: pointer;
    background: #3b5e3b;
    color: white;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: bold;
}

 .steps-form .payment-details-box{
    padding: 30px;
    background-color: #FFFFFF;
    border: 1px solid #26304020;
    border-radius: 10px;
}

 .steps-form .payment-details-box h5{
    font-size: 17px;
    line-height: 24px;
    color: #4b5563;
}

 .steps-form .payment-details-infos p{
    font-size: 17px;
    font-weight: 400;
    color: #4b5563;
}

 .steps-form .payment-details-infos span{
    color: #4b5563;
    font-size: 12px;
    display: block;
    line-height: 18px;
}

 .steps-form .payment-details-box .preview-infos span{
    color: #9fa6b2;
    font-weight: bold;
    font-size: 1rem;
}

 .steps-form .payment-details-box .preview-infos span.not-paid{
    color: #c41313;
}

 .steps-form .sm-dn-red{
    font-size: 13px;
    color: #e02424;
}

 .steps-form .sm-dn-green{
    font-size: 12px;
    color: #3b5e3b;
}


 .steps-form .inf-class span{
    font-size: 14px;
    color: #4b5563;
}

 .steps-form input.err,
 .steps-form select.err{
    border: 1px solid #e02424;
}

.done-btn{
    width: 150px;
    height: 40px;
    background: #0d440d;
    font-weight: 500;
    text-transform: capitalize;
    color: white;
}

 .steps-form .step.active{
    display: block;
}

 .steps-form .step.payment.active{
    background: transparent;
    border: none;
}

 .steps-form .mainform > div{
    margin-bottom: 15px;
}

 .steps-form .mainform > div > div p{
    font-size: 14px !important;
    color: #161e2e;
    font-family: 'Inter', sans-serif;
    font-weight: 100 !important;
}

 .steps-form .mainform > div > div:last-child{
    font-size: 13px !important;
    color: #161e2e;
    font-family: 'Inter', sans-serif;
    font-weight: 100 !important;
}
 .steps-form .mainform select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 0.875rem !important;
    font-family: 'Inter', sans-serif;
}

 input.radio-form{
    width: 17.5px;
    height: 17.5px;
}

 input[type='checkbox']{
    width: 17.5px;
    height: 17.5px;
}

 input.radio-form:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill…vg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
}

 .steps-form .input-title p{
    color: rgba(22, 30, 46);
    font-size: 15px;
}

 .steps-form .input-title p span{
    color: red;
    margin-left: 5px;
}

 .steps-form .row label{
    font-size: 14px;
}

 .steps-form .row .sm-dn{
    font-size: 13px;
    color: red;
}

 .steps-form .row .postcode-btn{
    background: #3b5e3b !important;
    border: 2px solid #3b5e3b !important;
    transition: all 0.3s ease-in-out;
}

 .steps-form .row .postcode-btn:hover{
    background: #FFF !important;
    color: #3b5e3b;
    border: 2px solid #3b5e3b !important;
}

 .steps-form .remove-address-btn{
    max-width: 150px;
    width: auto;
    padding: 5px;
    background: #2d333f;
    color: white;
    font-size: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/*nothing just making sure the website is working*/

.expire{
    display: flex;
}

.expire select{
    flex: 1;
    height: 40px;
}

.next-btn button{
    padding: 0.5rem 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background-color: #3b5e3b;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
}

.next-btn button:hover{
    background-color: #0d440d;
}

#btn-step-back-2, #btn-step-back-3, #btn-step-back-4, #btn-step-back-5{
    background: transparent !important;
    color: #9fa6b2;
}

#btn-step-back-2:hover, #btn-step-back-3:hover, #btn-step-back-4:hover, #btn-step-back-5:hover{
    color: #7b818a;
}

p.bottom-par{
    margin: 0 auto;
    width: calc(100% - 20px);
    font-size: 13px;
    text-align: center;
    color: rgba(22,30,46);
}

.payments{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.payments .payment{
    background-color: white;
    width: 75px;
    height: 50px;
    border: 2px solid rgba(128, 128, 128, 0.6);
    border-radius: 5px;
}

.payments .payment img{
    width: 100%;
    height: 100%;
}


/* Popup */

#postcode-popup{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9fa6b2AA;
    z-index: 999;
    display: none;
}
#postcode-popup.show{
    display: block !important;
}


#postcode-popup .postcode-holder{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#postcode-popup .postcode-holder .postcode-wrapper{
    width: 400px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#btn-postcode{
    background: #3b5e3b !important;
    color: white;
    transition: all 0.3s ease-in-out;
    width: 100%;
    border: 0;
    height: 40px;
    border-radius: 5px;
}

#btn-postcode:hover{
    background: #0d440d !important;
}


.footer-nav{
    margin: 30px 0;
}

.footer-nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav ul li a{
    text-decoration: none;
    color: #263040;
}

.footer-nav ul li a:hover{
    text-decoration: underline;
}
