:root {
    /*
    --source-primary: #A4C8BF;
    --source-secondary: #0D1D2B;
    */
}

.container {
    max-width: 768px;
}

header {
    color: white;
    background-color: var(--source-secondary);
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

header .container {
    
}

header #logo-wrapper {
    min-height: 60px;
}

header #logo {
    min-height: 60px;
    background-image:url('sourceinsurancelogo-white.png');
}

header h1, header h5, header h6 {
    color: white;
}

.gray {
    margin-top: -1rem;
    padding-top: 1rem;
}

.gray .bordered {
    background-color: white;
}

.sourceSays {
    background-color: var(--source-primary);
}

.sourceDark {
    background-color: var(--source-secondary);
    color: white;
    padding-top: 1rem;
    margin-top: -1rem;
}

.sourceDark h1, .sourceDark h5, .sourceDark h6, 
.sourceDark .btn-transparent {
    color: white;
}

.sourceDark .btn-source {
    background-color: var(--source-primary);
    color: var(--source-secondary);
    font-weight: 700;
}

.sourceStaff {
    padding:0px;
    margin:0px;
    font-size:12px;
    text-align: center;
}

.btn {
    border-radius: 54px;
}
.btn-sm {
    border-radius: 54px;
}
.btn-white {
    border-color: var(--source-secondary);
}
.btn-contactus {
    display: inline-block;
    width: 78px;
    padding:0px;
    margin:0px;
    font-size:0px;
    text-align: center;
}
.btn-options {
    display: inline-block;
    width: 100px;
    padding:0px;
    margin:0px;
    font-size:0px;
    text-align: center;
}

.bordered-contactus {
    border: 1px solid var(--source-grey);
    border-radius: 12px;
}

.bg-danger {
    background-color: var(--source-danger) !important;
    color: white;
}

.form-switch .form-check-input {
    height: 24px;
    width: 60px;
    margin-right: 20px;
    background-color: gainsboro;
    
}

.form-switch .form-check-input:checked {
    background-color: var(--source-secondary);
}

.form-check-label {
    padding-top: 5px;
}

hr {
    margin: 8px auto;
    width: 80%;
}

.circle {
    background-color: var(--source-secondary);
    border-radius: 50%;
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    width: 100px; 
    height: 100px;
    color: white; 
    border-radius: 50%; 
    text-align: center;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 165px;
    margin-top: -10px;
    margin-bottom: 10px;
}

#renewalBar {
    position: relative;
}
#renewalBar::after {
    position: absolute;
    content: '';
    background-color: var(--source-grey);
    width:95%;
    height:0.5em;
    z-index: 1;
    align-self: center;
    border-radius: 5px;
}

#renewalNode{
    position:relative;
    height: 1em;
    width: 1em;
    background-color: var(--source-secondary);
    shape-outside: circle();
    clip-path: circle();
    transform: translateX(-0.5rem);
    z-index: 3;
}
#policyPercentage {
    height: 0.5rem;
    max-width: 100%;
    min-width: 5%;
    z-index: 2;
}

.customerUX_NavButton {
    font-size: 30px;
    padding-top: 20px;
    cursor: pointer;
    color: white;
}

#customerUX_NavMenu {
    background-color: var(--source-secondary);
    padding-top: 20px;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    width: auto;
    min-width: 320px;
    max-width: 768px;
    overflow-y: scroll;
}

#customerUX_NavMenu h5 { 
    color: white;
}

#customerUX_NavMenu .bordered h5 { 
    color: inherit;
}

#customerUX_NavMenu #logo {
    background-image:url('sourceinsurancelogo-white.png');
    height: 60px;
}

#customerUXFooter {
    display: block;
    height: 4rem;
    width: 100%;
    background-image: url(Customer/UX/footer.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position-y: bottom;
}

#bronBox {
    z-index: 1000;
    position: fixed;
    top: 3rem;
    width: 100%;
}

#bronBox hr {
    background-color: white;
    margin-left: 0;
    width: 100%
}

#fullWidthHr hr {
    background-color: var(--source-grey);
    height: 2px;
    width: 100%;
    opacity:1
}

/* PAYMENT TIMELINE */
.timeline-container {
    display: flex;
    margin: 20px;
    height: 400px;
}

.payment-timeline {
    position: relative;
    width: 45px;
    height: 100%;
    margin: 0 20px;
}

.static-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 100%;
    background-color: var(--source-primary);
}

.progress-timeline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    background-color: var(--source-secondary);
    z-index: 1;
}

.dots {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.dots div {
    width: 45px;
    height: 45px;
    background-color: var(--source-primary);
    border: 2px solid var(--source-primary);
    border-radius: 50%;
}

.dots div.active {
    background-color: var(--source-secondary);
}

.payment-dates {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.payment-dates div {
    text-align: left;
}


#yourPremiumComplianceWarning {
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Horizontal Layout for Payment progress bar*/
@media (min-width: 768px) {
    .timeline-container {
        flex-direction: column;
        height: auto;
        margin: 40px 20px;
    }

    .payment-timeline {
        width: 100%;
        height: 45px;
        margin: 20px 0;
    }

    .static-line {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        height: 7px;
    }

    .progress-timeline {
        position: absolute;
        left: 40px; 
        top: 50%;
        transform: translateY(-50%);
        height: 7px !important;
        transition: width 0.3s ease;
    }

    .dots {
        flex-direction: row;
        height: 100%;
    }

    .payment-dates {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        margin-top: 20px;
    }

    .payment-dates div {
        text-align: center;
        width: 200px;
    }
}
/* END OF PAYMENT TIMELINE */

/* MTA */
#mta_overlay {
    width: 100%;
    height: 50vh;
    z-index: 1000;
}

/* Source styled tables */
.tableSource {
    overflow: hidden;
    border: 1px solid gainsboro;
    border-radius: 8px;
}

.tableSource table.table {
    border-collapse: collapse;
    border-spacing: 0;
}

.tableSource table.table th,
.tableSource table.table td {
    font-size: 0.8rem;
    padding: 0.5rem;
    white-space: wrap;
}

.tableSource table.table th {
    background-color: var(--source-secondary);
    color: white;
    font-weight: 500;
}