﻿/* Tabs with Nav */
.tabs-with-nav {
    width: 100%;
    overflow: hidden;
    margin-bottom: 77px;
}

    .tabs-with-nav nav {
        margin-bottom: 30px;
    }

        .tabs-with-nav nav ul {
            height: 50px;
            overflow-y: hidden;
            width: 100%;
            display: flex;
            column-gap: 38px;
            padding: 0 14px;
            overflow-x: scroll;
            border: 0;
            border-bottom: 1px solid #DDDDDD;
        }

            .tabs-with-nav nav ul li {
                display: inline-flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                padding: 0;
                padding-bottom: 20px;
                margin: 0;
                white-space: nowrap;
                font-family: "Roboto", sans-serif;
                font-size: 24px;
                font-weight: 400;
                line-height: 29px;
                cursor: pointer;
            }

                .tabs-with-nav nav ul li::before {
                    content: attr(data-text);
                    content: attr(data-text) / "";
                    height: 0;
                    visibility: hidden;
                    overflow: hidden;
                    user-select: none;
                    pointer-events: none;
                    font-weight: bold;
                    padding: 0 1px;
                }

                .tabs-with-nav nav ul li::marker {
                    color: transparent;
                }

                .tabs-with-nav nav ul li.selected {
                    color: #c30000;
                    font-weight: 500;
                    margin-bottom: -1px;
                    padding-bottom: 16px;
                    border-bottom: 5px solid #c30000;
                }

                .tabs-with-nav nav ul li:hover {
                    color: #c30000;
                    font-weight: 500;
                    margin-bottom: -1px;
                    padding-bottom: 16px;
                    border-bottom: 5px solid transparent;
                }

                .tabs-with-nav nav ul li.selected:hover {
                    border-bottom: 5px solid #c30000;
                }

    .tabs-with-nav .tabs {
        padding: 0 14px;
    }

        .tabs-with-nav .tabs .tab {
            display: none;
        }

            .tabs-with-nav .tabs .tab.selected {
                display: block;
            }

            .tabs-with-nav .tabs .tab p {
                font-family: Roboto, sans-serif;
                font-size: 16px;
                line-height: 24px;
            }

                .tabs-with-nav .tabs .tab p a,
                .tabs-with-nav .tabs .tab p a:hover {
                    color: #242424;
                    font-family: Roboto, sans-serif;
                    font-size: 18px;
                    font-weight: bold;
                    line-height: 22px;
                    text-decoration: none;
                    cursor: pointer;
                }

                .tabs-with-nav .tabs .tab p.link {
                    margin-top: 30px;
                }

                    .tabs-with-nav .tabs .tab p.link svg {
                        stroke: #242424;
                    }

@media (min-width: 768px) {
    .tabs-with-nav {
        min-height: 230px;
        padding: 0 40px;
        margin-bottom: 71px;
    }

        .tabs-with-nav nav {
            margin-bottom: 50px;
        }

            .tabs-with-nav nav ul {
                column-gap: 68px;
                padding: 0;
            }

        .tabs-with-nav .tabs {
            padding: 0;
        }

            .tabs-with-nav .tabs .tab p {
                font-size: 20px;
                line-height: 28px;
            }
}

/* 
This target only mobile devices 
Used to remove sticky hover states after clicks
*/
@media only screen and (hover: none) and (pointer: coarse) {
    .tabs-with-nav nav ul li:not(.selected):hover {
        color: #242424;
        font-weight: 400;
        margin-bottom: 0;
        padding-bottom: 20px;
        border-bottom: 0;
    }
}

/* END of Tabs with Nav */