﻿:root {
    /*Colours used in Sellers pages*/
    --main-blue: #3A79B0;
    --light-blue: #E4F3FF;
    --light-grey: #F1F1F1;
    --dark-grey: #333333;
    --main-red: #AD261F;
    --light-grey-text: #D3D3D3;
    --box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);

    --border-radius-10: 10px;
    --card-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.15);

    --staffing-scroll-delay: 0;
}

/* --------------- General --------------- */
.tpi-pricing ul:has(li .fa) {
    padding-left: 0;
}

.tpi-pricing li {
    list-style-type: none;
    margin-bottom: 5px;
}

.tpi-pricing li .fa {
    color: var(--main-blue);
}

.plans .btn-wrap-centered {
    margin-top: 20px;
}

.plans .btn-wrap-centered a,
.tpi-plan-card .btn-rounded-blue,
.tpi-plan-card .btn-rounded-white,
.overdrive a {
    font-weight: bold;
    font-size: 18px;
}
/* --------------- General --------------- */

/* --------------- Pricing Hero --------------- */

.tpi-pricing .banner h1 {
    color: #333;
}
/* --------------- End Pricing Hero --------------- */

/* --------------- Credits Calculator --------------- */
.credits-calculator h2 {
    margin-bottom: 20px;
}

.range-slider-container {
    border: 1px solid #D3D3D3;
    border-radius: 10px;
    padding: 5%;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.range-slider-container h3 {
    margin: 0 0 20px 0;
    font-weight: 100;
}

.range-slider-container h3 span {
    font-size: inherit;
}

.range-slider-container .rec-plan {
    font-weight: bold;
}

.credit-calc-value,
.plus-credits {
    color: var(--main-blue);
    font-weight: bold;
}

.credit-calculator {
    margin: 30px 0 10px;
}

.credit-calculator .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #D7D5D2;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;

    /*Percentages are calculated from the JS script. Using the default value of 300 out of 350*/
    /*Hardcoding so it won't jump on page load*/
    background: linear-gradient(to right, var(--main-blue) 0%, var(--main-blue) 85.67335243553008%, #D7D5D2 85.67335243553008%, #d3d3d3 100%);
}

.credit-calculator .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--main-blue);
    cursor: pointer;
}

.credit-calculator .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--main-blue);
    cursor: pointer;
}
/* --------------- End Credits Calculator --------------- */

/* --------------- Plans Section --------------- */

.plans .row.d-md-flex {
    align-items: flex-end;
}

div:has(+ .tpi-plan-card) {
    margin: 15px 0;
}

.tpi-plan-card {
    display: flex;
    flex-direction: column;
    background-color: #F9F9F9;
    border: 3px solid #F9F9F9;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    padding: 5%;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.tpi-plan-card.most-pop {
    border: 3px solid var(--main-blue);
    border-radius: 0 0 10px 10px;
}

div:has(>.tpi-plan-card.most-pop):before {
    content: "Most Popular";
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: var(--main-blue);
    padding: 10px;
    border-radius: 10px 10px 0 0;
    line-height: 1;
}

.tpi-plan-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tpi-plan-body {
    width: 100%;
}

.tpi-plan-header > div {
    margin-bottom: 15px;
}

.tpi-plan-header h4 {
    margin: 0;
}


.tpi-plan-footer {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.tpi-plan-credits h4 {
    border-top: 1px solid #D3D3D3;
    padding-top: 20px;
    margin-top: 20px;
}

.tpi-plan-card .btn-rounded-blue,
.tpi-plan-card .btn-rounded-white{
    width: 100%;
}

.tpi-plan-card span.blue-text {
    font-weight: bold;
}
/* --------------- End Plans Section --------------- */

/* --------------- All Plans Section --------------- */
.all-plans .container {
    border: 2px solid #F9F9F9;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 3%;
}

.all-plans h3 {
    font-weight: 100;
}
/* --------------- End All Plans Section --------------- */

/* --------------- Overdrive Section --------------- */
.overdrive img {
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.overdrive .row.d-flex {
    flex-direction: column-reverse;
}

.overdrive ul,
.overdrive p {
    margin-bottom: 20px;
}


/* --------------- End Overdrive Section --------------- */


/* --------------- What You Get In All Plans Section --------------- */
/* --------------- End What You Get In All Plans Section --------------- */

/* --------------- Features Section --------------- */
.features .container-fluid {
    width: 90%;
    max-width: 1570px;
    margin: 0 auto;
}

.features .blue-text {
    font-weight: bold;
}

.features-card-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    justify-content: flex-end;
}

.price-container a {
    margin: 5px 0;
}
/* --------------- End Features Section --------------- */

/* --------------- How Credits Work Section --------------- */

.credits-table {
    box-shadow: var(--box-shadow);
    margin: 2.7rem 0;
    font-size: 1.2em;
}
/* --------------- End How Credits Work Section --------------- */

/* --------------- Our Niche Section --------------- */

.niche h2 {
    font-weight: 100;
}

.niche .blue-text {
    font-weight: bold;
}

.niche h2,
.niche p {
 margin-bottom: 20px;
}
/* --------------- End Our Niche Section --------------- */

/* --------------- FAQ Section --------------- */
.faq h2 {
    margin-bottom: 30px;
    font-weight: 100;
}
.accordion-container h3,
.accordion-container h4{
    margin: 0;
    border-top: 1px solid var(--light-grey);
}

.accordion-container h3 {
    font-size: 18px;
}

.accordion {
    background-color: initial;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion.active, .accordion:hover {
    background-color: #eee;
}


.accordion-icon {
    color: #fff;
    background: var(--main-blue);
    display: block;
    min-width: 35px;
    width: 35px;
    height: 35px;
    border: 0;
    font-size: 1.5em;
    position: relative;
}

.accordion-icon span {
    position: absolute;
    transition: 300ms;
    background: white;
    border-radius: 2px;
}

/* Create the "+" shape by positioning the spans absolutely */
.accordion-icon span:first-child {
    top: 25%;
    bottom: 25%;
    width: 10%;
    left: 45%;
}

.accordion-icon span:last-child {
    left: 25%;
    right: 25%;
    height: 10%;
    top: 45%;
}

.accordion.active .accordion-icon span {
    transform: rotate(90deg);
}

.accordion.active .accordion-icon span:last-child {
    left: 50%;
    right: 50%;
}

.accordion-container .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 0;
    border: none;
}

.accordion-container .panel p {
    padding-top: 15px;
}

/* --------------- End FAQ Section --------------- */

@media only screen and (min-width: 576px) {
    div:has(>.tpi-plan-card.most-pop):before {
        font-size: 20px;
        padding: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .features div:has(> .blue-header-card) {
        padding: 0;
    }
}

@media only screen and (min-width: 768px) {
    .sell-page .features-card-container .blue-header-card p {
        font-size: 16px;
    }
    .tpi-plan-card .btn-rounded-blue,
    .tpi-plan-card .btn-rounded-white{
        font-size: 24px;
    }

    .tpi-plan-body {
        display: grid;
        grid-template-rows: 120px 1fr;
    }

    .tpi-plan-body h4 span.blue-text {
        font-size: 24px;
    }
    .overdrive .row.d-flex {
        flex-direction: row;
    }
    .overdrive img {
        width: 100%;
    }
    .niche h2 {
        font-size: 32px;
    }
}

@media only screen and (min-width: 1200px) {
    .tpi-plan-card h3 {
        font-size: 28px;
    }
    .tpi-plan-body h4 span.blue-text {
        font-size: 32px;
    }
    .niche h2 {
        font-size: 36px;
    }
}
