/*.inner {
    max-width: none;
}*/

.page-title, .show-vehicle {
    padding-top: 1.5rem
}

.price-box a {
    color: #fff !important;
}

.price-box a:hover {
    color: #fff !important;
}

#insurance-calculator-container {
    margin-top: 3rem;
}

.price-title:before, .total-price:before, .van-price:before, .learner-price:before {
    content: "\00A3";
}

.sub-page-title-description {
    color: #fff;
    padding: 0 5rem 1rem;
    text-align: center;
}

.bg-blue {
    /* background: #3a86ff;*/
    display: block;
}

.calculator-wrapper {
    position: relative;
    /*padding: 1rem;*/
    max-width: 768px;
    width: 100%;
}

    .calculator-wrapper::before {
        content: "";
        width: 136px;
        height: 113px;
        position: absolute;
        background-image: url(../images/icons/Icons.webp),url(../images/icons/Icons.png);
        background-position: -1px -173px;
        bottom: calc(100% - 20px);
        z-index: 10;
        top: -105px;
        margin-right: auto;
        margin-left: auto;
        left: 0;
        right: 0;
    }

.show-vehicle {
    display: inline;
    padding-right: 0.5rem;
}

.calculator-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}



/* Style the tab */
.calculator-container {
    border: 1px solid #686666;
    margin: 0 auto;
    border-radius: 5px;
    background: #7a7a7a;
    padding: 0rem;
}

.tab {
    padding: 0rem;
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .tab .button:last-child {
        margin-right: 0;
    }

    /* Style the buttons that are used to open the tab content */
    .tab .button {
        border: none;
        outline: none;
        cursor: pointer;
        padding: 10px;
        transition: 0.3s;
        background: #e5efff;
        text-align: center;
    }

.tablinks {
    flex: 1;
    font-size: 1.2rem;
}

/* Change background color of buttons on hover */
.tab .button:hover, .li-btn:hover {
    background-color: #ffb9b9;
}

/* Create an active/current tablink class */
.tab .button.active-link {
    background-color: #ff2e2e;
    color: #fff !important;
}

.active-link {
    background-color: #E2B659 !important;
    color: #fff !important;
    text-shadow: 2px 1px 2px black;
}


/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
    width: 100%;
}

.tabcontent-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.insuranceDuration, .insuranceHour {
    list-style: none;
    margin-bottom: .5rem;
    padding: 0;
    width: 60%;
}

.insuranceDuration, .insuranceHour {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
    width: 50%;
}

.insuranceHour {
    margin-top: 0;
}

    .insuranceDuration li, .insuranceHour li {
        list-style: none;
        flex: 1;
        margin: 0.5rem;
        text-align: center;
    }

.li-btn {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    background-color: #e5efff;
    font-weight: 900;
    color: #001e4d;
}

.price-box {
    text-align: center;
    border-radius: 2px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem;
    background-color: #fff;
    margin-bottom: 1rem;
}

.prices-from {
    color: #fff;
}

.price-title {
    margin-right: 1rem;
    display: block;
}

.page-title, .van-price, .learner-price, .show-vehicle {
    color: #fff;
}


.total-price, .van-price, .learner-price {
    margin: 0;
}

/*h3.total-price {
    font-weight: 900;
}*/

/*.price-title, .total-price, .van-price, .learner-price {
    font-weight: 400;
    margin: 0px 19px;
}*/

.price-title, .total-price, .van-price, .learner-price {
    font-weight: 900;
    margin: 0px 20px;
    color: black;
    font-size: 2rem;
}

.tab .button {
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 900;
    border-radius: 10px;
    margin-right: 1rem;
    color: #333 !important;
}

.get-quote-now-btn {
    background: linear-gradient(#77c309, #559d00);
    padding: 1rem 3rem;
    font-weight: 500;
    color: #fff !important;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #fff;
    margin: 1rem 0;
}

    .get-quote-now-btn:hover {
        background: #77c309;
    }


@media screen and (max-width: 768px) {
    .tab {
        padding: 0rem;
    }

    .calculator-wrapper {
        padding: 0rem;
    }

    .page-title, .sub-page-title-description {
        text-align: center;
    }

    .sub-page-title-description {
        color: #fff;
    }
}


@media screen and (max-width: 425px) {

    .page-title, .sub-page-title-description {
        text-align: center;
    }

    .sub-page-title-description {
        color: #fff;
        font-size: 1rem;
        padding: .5rem;
    }

    .bg-blue {
        display: block;
    }

    .tab .button {
        padding: 10px 26px;
    }

    .calculator-wrapper {
        padding: 0rem;
    }

    .price-box {
        width: 90%;
    }

    .insuranceDuration, .insuranceHour {
        width: 100%;
    }

    .get-quote-now-btn {
        display: none;
    }
}

@media screen and (max-width: 425px) {
    .tab .button:last-child {
        margin-right: 0;
    }

    .li-btn {
        padding: 0.7rem 0.5rem;
    }

    .price-title, .total-price, .van-price, .learner-price {
        margin: 0px 19px;
    }
}

@media screen and (max-width: 375px) {

    .tab {
        padding: 0rem;
        width: 95%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

        .tab .button {
            padding: 10px 10px;
        }

    .tablinks {
        flex: 1;
        font-size: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 320px) {
    .calculator-container {
        padding: 0.5rem;
    }

    .tab {
        padding: 0rem;
        width: 95%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }


    .tablinks {
        flex: 1;
        font-size: 1rem;
    }

    .tab .button {
        padding: 10px 10px;
    }

    .insuranceDuration, .insuranceHour {
        flex-wrap: nowrap;
    }

    .price-title, .total-price, .van-price, .learner-price {
        margin: 0px 10px;
    }
}
