/* Color variables - from brand colors in Figma */
:root {
    --tmBlue: #084C8D;
    --tmRiver: #0077CD;
    --tmLake: #62B6F3;
    --tmFXGreen: #3A840B;
    --tmForest: #1E6F32;
    --tmAlertRed: #C63C3F;
    --tmOrange: #D1441E;
    --tmYellow: #F1C400;
    --tmBlackText: #333;
}

.mainheader {
    background-color: #073e73;
    text-align: center;
}
    .mainheader h1, .mainheader p {
        color: #fff;
    }


.feedback {
    position: fixed;
    z-index: 999;
    bottom: .5em;
    right: .5em;
    width: auto;
    height: auto;

/*        display: none;*/
}
    .feedback p {
        padding: 0;
    }
    .feedback p a.button {
        line-height: 1.125;
        padding: .5em .75em;
        border-radius: .5em;
        font-size: .75em;
        margin: 0;
        min-width: 0;
    }
@media only screen and (min-width: 768px) { /* sm screens and up */
    .feedback {
        bottom: 1em;
        right: 1em;
    }
        .feedback p a.button {
            font-size: inherit;
        }
}

.bus-icon, .max-icon {
    background: #084c8d;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    line-height: 1.5;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 500;
    text-align: center;
    width: 1.75em;
    height: 1.75em;
    padding-top: .125em;
}
    .bus-icon.fx {
        background: #3a840b;
    }
    .max-icon.blueline {
        background: #004c9d;
    }
    .max-icon.greenline {
        background: #008540;
    }
    .max-icon.orangeline {
        background: #cc6118;
    }
    .max-icon.redline {
        background: #c00d44;
    }
    .max-icon.yellowline {
        background: #ffc836;
        color: #333;
    }





.box.white ul {
    margin-left: 0;
}
    .box.white h2 {
        font-size: 2em;
        padding-bottom: .5em;
    }
    .box.white ul li h3, .box.white ul li h4 {
        display: inline-block;
        font-size: 32px;
        font-weight: 400;
        padding: 0 .25em .25em 0;
    }
    .box.white ul li .line-info {
        display: inline-block;
        font-size: 20px;
        line-height: 1.3;
        padding-top: 8px;
    }
    .box.white ul li::marker {
        /* This prevents NVDA from reading "white bullet" */
        content: "•";
        font-size: 0 !important;
    }
    .box .tmfa-email {
        margin-right: 10px;
    } 


.box.white h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.75em;
    padding: .5em 1em 1em;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
}
.box.white h4 {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
}



h4.feature-header {
    display: inline-block;
    padding-right: .25em;
}

/* Features edits */
.feature {
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    font-size: 60%;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 500;
    border-radius: 18px;
    line-height: 0;
    margin: 0 0 .75em;
    padding: 1em;
    max-width: fit-content;
    vertical-align: middle;
}
    /* Service change pill colors */
    .feature.blue-pill {
        background-color: var(--tmRiver);
    }
    .feature.cyan-pill {
        background-color: var(--tmLake);
        color: var(--tmBlackText);
    }
    .feature.green-pill {
        background-color: var(--tmFXGreen);
    }
    .feature.red-pill {
        background-color: var(--tmAlertRed);
    }    
    .feature.yellow-pill {
        background-color: var(--tmYellow);
        color: var(--tmBlackText);
    }

.row .links a {
    display: block;
    border: 1px solid #eee;
    border-radius: 5px;
    font-weight: 300;
    padding: 7px 15px;
    text-decoration: none;
}
    .row .links a:hover {
        background-color: #d3e9ff;
    }

.schedule-link-wrapper .links a {
    margin-bottom: 1em;
}

.img-link {
    position: relative;
    padding-bottom: 1em;
}
    .img-link img {
        margin: 0;
    }
    .img-link a {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border: none;
    }





p.tight {
    line-height: 1.25;
}

span.improvement {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 300;
    font-size: 24px;
    /* margin-top: -.5em; */
    text-align: center;
}
        
.box.white ul {
    margin-left: 0;
}
.box.white h2 {
    font-size: 2em;
    padding-bottom: .5em;
}
.box.white ul li h4 {
    display: inline-block;
    font-size: 30px;
    padding: 0 .25em .25em 0;
}
.box.white ul li .line-info {
    display: inline-block;
    font-size: 20px;
    line-height: 1.3;
    padding-top: 8px;
}
.row .links a {
    display: block;
    border: 1px solid #eee;
    border-radius: 5px;
    font-weight: 300;
    padding: 7px 15px;
    text-decoration: none;
}

        
        
        
        
        
        

/***** OPEN HOUSES *****/
ul.flexbox {
    display: flex;
    flex-flow: row wrap;
    gap: 1em;
    padding: 0;
    margin: 0;
    list-style: none;
}
    ul.flexbox > li {
        flex: 1 0 auto;    /* grow | shrink | basis */
        border-radius: 5px;
        background-color: #fff;
        padding: 1em;
        list-style: none;
    }
@media only screen and (min-width: 480px) { /* ms screens and up */
    ul.flexbox > li {
        flex: 0 1 48%;
    }
}
@media only screen and (min-width: 768px) { /* sm screens and up */
    ul.flexbox > li {
    }
}
@media only screen and (min-width: 992px) { /* md screens and up */
    ul.flexbox > li {
        flex: 0 1 260px;
    }
}


        
        
        
        
        
/***** BEFORE/AFTER TABS *****/
:root {
    --lightestGray: #F5F5F5;
    --lightGray: #CCC;
    --gray: #A6A6A6;
}

[role="tablist"] {
    font-size: 0; /* Removes gap from between tabs. */
    min-width: 100%;
}

[role="tab"] span {
    padding: .25em .75em;
}

[role="tab"],
[role="tab"]:focus,
[role="tab"]:hover {
    display: inline-block;
    position: relative;
    top: 2px;
    z-index: 2;
    cursor: pointer;
    border: 1px solid var(--gray);
    border-radius: 0;
    outline: none;
    background: var(--lightGray);
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    max-width: fit-content;
    margin: 0;
    margin-top: 4px;
    padding-block: 0;
    padding-inline: 0;
    text-align: left;
    overflow: hidden;
}

/* Mobile styling for tabs. */
@media only screen and (max-width: 767px) { /* sm screens only */
    [role="tab"] span,
    [role="tab"]:focus span,
    [role="tab"]:hover span {
        width: 100%;
    }

    [role="tab"],
    [role="tab"]:focus,
    [role="tab"]:hover {
        font-size: 16px;
        min-width: 50%;
        text-align: center;
    }
}

/* Remove double border between tabs. */
.tab-1,
.tab-1[aria-selected="true"] {
    border-right: none;
}

[role="tab"][aria-selected="true"] {
    border-bottom-width: 1px;
    border-bottom-color: var(--lightestGray);
    background: var(--lightestGray);
    margin-top: 0;
}

[role="tab"][aria-selected="false"] {
    border-bottom: 1px solid var(--gray);
}

[role="tab"][aria-selected="false"]:focus,
[role="tab"][aria-selected="false"]:hover,
[role="tab"][aria-selected="false"]:active {
    border-right: none;
}    

[role="tab"] span.focus {
    display: inline-block;
    color: #000;
    margin: 2px;
    padding: .25em .75em;
}

[role="tab"]:focus span.focus,
[role="tab"]:hover span.focus,
[role="tab"]:active span.focus {
    border: 2px solid #000;
    border-radius: 0;
    padding: .25em .75em;
    margin: 0;
}

[role="tabpanel"] {
    border: 1px solid var(--gray);
    border-radius: 0;
    background: var(--lightestGray);;
    min-height: 10em;
    padding: .75em;
    overflow: auto;
    width: 100%;
}

[role="tabpanel"].is-hidden {
    display: none;
}

[role="tabpanel"] p {
    margin: 0;
}

figure figcaption {
/*
    font-size: 1em;
    font-style: italic;
    padding-bottom: .25em;
*/
    font-size: .75em;
    line-height: 1.3;
}

   