body {
    color: #333333 !important;
    background-color: #f3f3f3 !important;
    font-size: 12px;
}


#root {
    max-width: 1600px;
    margin: 0 auto;
}

html,
body,
text,
:host,
._buttons_bnw9n_9,
.mapboxgl-map {
    font-family: Outfit, Microsoft YaHei, Helvetica Neue, Arial, sans-serif !important;
    font-style: normal;
}

.leading-relaxed {
    color: #646464;
}

.text-2xl {
    font-weight: normal;
    color: #b5b5b5;
}

.italic {
    font-style: normal !important;
}

.font-extrabold {
    font-family: Outfit !important;
    font-weight: 600
}

.font-bold {
    font-family: Outfit !important;
    font-weight: 600
}

.text-5xl {
    font-size: 32px !important;
}

.text-2xl {
    font-size: 16px !important;
}

.pb-2 {
    color: #404040 !important;
}

hr {
    border-color: #a6a6a6 !important;
    /* color: #b9b9b9 !important; */
}

h1.my-12 a {
    color: #333333 !important;
}

div a {
    /* color: #f6821f; */
}

table[class*=_runTable] {
    background-color: transparent;
}

table[class*=_runTable] :is(thead) {
    color: #b5b5b5;
    line-height: 26px;
}

tr[class*="_runRow"]:first-child {
    border-top: 2px solid #b5b5b5;
}

tr[class*="_runRow"] {
    border-bottom: 1px solid #b5b5b5;
    line-height: 24px
}

div[class*=_tableContainer] {
    overflow: visible !important;
}

.w-full.lg\:w-1\/4 {
    background-color: #e7e7e7;
    padding: 0 40px;
    background: linear-gradient(to right, #e7e7e7, #d7d7d7);
}

.w-full.lg\:w-4\/5 {
    margin-left: 30px;
}


@media (min-width: 1024px) {
    .w-full.lg\:w-1\/4 {
        width: 28%;
    }

    .w-full.lg\:w-4\/5 {
        width: 72%;
    }

    .lg\:pr-16 {
        padding-right: 0 !important;
    }
}


.mapboxgl-map {
    position: sticky !important;
    top: 30px;
    background: #6e6e6e;
}


tr[class*="_selected"] {
    background-color: #dbdbdb;
    color: #515151 !important;
    font-family: Outfit !important;
    font-weight: 600;
    position: sticky;
    top: 630px;
    bottom: 0;
}

tr[class*="_selected"] td {
    color: #515151 !important;
}


td[class*=_runDate] {
    color: #8a8a8a;
}

span[class*=_runTitle] {
    color: #f6821f;
}

li[class*=_selected] {
    color: #f6821f;
}

/* avatar */
picture .rounded-full {
    border-radius: 0;
    width: 60px;
    margin: 0 !important;
    object-fit: cover;
    cursor: pointer !important;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMTAwIDBDMjAgMCAwIDIwIDAgMTAwczIwIDEwMCAxMDAgMTAwIDEwMC0yMCAxMDAtMTAwUzE4MCAwIDEwMCAwIi8+PC9zdmc+);
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNMTAwIDBDMjAgMCAwIDIwIDAgMTAwczIwIDEwMCAxMDAgMTAwIDEwMC0yMCAxMDAtMTAwUzE4MCAwIDEwMCAwIi8+PC9zdmc+);
}

/* Chart  */
svg.w-4\/6 {
    width: 100% !important;
    height: 100% !important;
}


path[fill*="#1a1a1a"] {
    fill: #838383 !important;
}
path[fill*="#222"] {
    fill: #d1d1d1 !important;
}

text[fill*="#FFF"] {
    fill: #676767 !important;
}



/* Runs */
tr[style*="rgb(224, 237, 94)"] {
    color: #5c789d !important;
}

/* VirtualRides */
tr[style*="rgb(105, 106, 173)"] {
    color: #927362 !important;
}

/* Rides */
tr[style*="rgb(0, 237, 94)"] {
    color: #d1820d !important;
}

/* Hikes */
tr[style*="rgb(237, 85, 219)"] {

    color: #646E78 !important;
}

/* summary */

[class*=_smallHomeButton] {
    background-color: #f6821f !important;
}

[class*=_activityList] {
    background-color: transparent !important;
}

[class*=_summaryContainer] {


    [class*=recharts-tooltip] {
        color: #f6821f;
    }

    [class*=_activityName] {
        color: #f6821f;
        font-size: 26px;
    }

    [class*=recharts-layer] path {
        fill: #f6821f;
    }

    [class*=_activityCard] {
        border: none;
        box-shadow: none;
        background-color: #fdfdfd;
        border-radius: 12px
    }

    [class*=_activityDetails] p {
        margin: 0;
        font-size: 14px;
        color: #3f3f3f;
    }

    [class*=_activityDetails] strong {
        color: #b7b7b7;
        font-size: 10.5px;
        font-weight: normal;
        display: inline-block;
        width: 60px;
        margin-left: 3px;
    }

    [class*=_chart] {
        border: 1px solid #f3f3f3;
        border-radius: 6px;
        background-color: #fdfdfd;
        margin-top: 20px;
    }

    tspan {
        fill: #b7b7b7;
    }
}

@media screen and (max-width: 1024px) {
    .mapboxgl-map {
        height: 300px !important;
        top: 0;
    }

    tr[class*="_selected"] {
        top: 300px;
    }

    #root {
        margin: 0 auto;
        width: 95%;
    }

    .w-full.lg\:w-1\/4 {
        padding: 0;
        background-color: transparent;
        background: none;
    }

    .w-full.lg\:w-4\/5 {
        margin: 0;
    }

    .p-4 {
        margin: 0;
        padding: 0 !important;
        width: 100%;
    }

    .pr-16 {
        padding-right: 0 !important;
    }
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/outfit/v11/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/outfit/v11/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

nav.mt-12 {
    padding-right: 90px;
}

.switch-theme {
    margin: 0 auto;
    max-width: 1600px;
    position: relative;
}

.switch-dark {
    padding: 0;
    top: 2.85rem;
    float: right;
    position: relative;
    right: 48px;
}

.switch-dark input[type=checkbox]#switch-dark {
    height: 0;
    width: 0;
    visibility: hidden;
    display: none;
}


.switch-dark label {
    cursor: pointer;
    width: 40px;
    height: 20px;
    background: #f4e4df;
    display: block;
    border-radius: 100px;
    position: relative;
    margin-bottom: 0;
    line-height: 22px;
}

.switch-dark .dark-icon {
    stroke: #333333;
    width: 15px;
    fill: transparent;
    display: inline-block;
    margin-bottom: 6px;   
    &:first-child {margin: 0 0 6px 3px;}
}

.switch-dark:hover .dark-icon {
    stroke: #f6821f;
}

.switch-dark label:after {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #c0c0c0;
    border-radius: 90px;
    transition: 0.3s;
    color: #2a2c30;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-dark input:checked+label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.tooltip {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    border-radius: 2px;
    z-index: 10;
    right: 0;
    top: 35px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 20px;
    font-style: italic;
    background: #b5b5b5;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    /* font-size: 10.5px; */
}

.tooltip:before {
    content: "\23F6";
    position: absolute;
    top: -11px;
    right: 15px;
    color: #b5b5b5;
    font-size: 18px;
    font-style: normal;
}

@media (hover: hover) {
    .switch-dark:hover .tooltip {
        opacity: 1;
    }
}

/* Dark theme*/
html[theme=dark] body {
    color: #c2c2c2 !important;
    background-color: #181818 !important;
}

html[theme=dark] {
    .switch-dark label {
        background: #3a3a3a;
    }

    .switch-dark .dark-icon {
        stroke: #f68220;
    }

    .switch-dark:hover .dark-icon {
        stroke: #c0c0c0;
    }

    .switch-dark label:after {
        background-color: #646464;
    }

    .tooltip {
        background: #3a3a3a;
    }

    .tooltip:before {
        color: #3a3a3a;
    }

    .leading-relaxed {
        color: #646464;
    }

    .text-2xl {
        color: #646464;
    }


    .pb-2 {
        color: #c0c0c0 !important;
    }

    hr {
        border-color: #494949 !important;
        color: #494949 !important;
    }

    h1.my-12 a {
        color: #fff !important;
    }

    div a {
        color: #f6821f;
    }

    .mapboxgl-ctrl-attrib a {
        color: #000000bf;
    }

    table[class*=_runTable] {
        background-color: transparent;
    }

    table[class*=_runTable] :is(thead) {
        color: #646464;
    }

    tr[class*="_runRow"]:first-child,
    tr[class*="_runRow"] {
        border-color: #333;
    }

    .w-full.lg\:w-1\/4 {
        background-color: #1d1d1d;
        background: linear-gradient(to right, #1d1d1d, #141414);
    }



    .mapboxgl-map {
        background: #333
    }


    tr[class*="_selected"] {
        background-color: #333;
        color: #ccc !important;
    }

    tr[class*="_selected"] td {
        color: #ccc !important;
    }


    td[class*=_runDate] {
        color: #646464;
    }

    span[class*=_runTitle] {
        color: #f6821f;
    }

    li[class*=_selected] {
        color: #f6821f;
    }
    
    path[fill*="#1a1a1a"] {
        fill: #494949 !important;
    }

    path[fill*="#222"] {
    fill: #1d1d1d !important;
    }

    text[fill*="#FFF"] {
        fill: #646464 !important;
    }


    /* Runs */
    tr[style*="rgb(224, 237, 94)"] {
        color: #8D98A7 !important;
    }

    /* VirtualRides */
    tr[style*="rgb(105, 106, 173)"] {

        color: #d6a990 !important;
    }

    /* Rides */
    tr[style*="rgb(0, 237, 94)"] {
        color: #e19f3e !important;
    }

    /*  Runs */
    tr[style*="rgb(237, 85, 219)"] {

        color: #646E78 !important;
    }

    /* summary */

    [class*=_smallHomeButton] {
        background-color: #f6821f !important;
    }


    [class*=_summaryContainer] {


        [class*=recharts-tooltip] {
            color: #f6821f;
        }

        [class*=_activityName] {
            color: #f6821f;
        }

        [class*=recharts-layer] path {
            fill: #f6821f;
        }

        [class*=_activityCard] {
            background-color: #1d1d1d;
        }

        [class*=_activityDetails] p {

            color: #ccc;
        }

        [class*=_activityDetails] strong {
            color: #646464;
        }

        [class*=_chart] {
            border-color: #292929;
            background-color: #1d1d1d;

        }

        tspan {
            fill: #646464;
        }
    }

    @media screen and (max-width: 1024px) {
        .w-full.lg\:w-1\/4 {
            background-color: transparent;
            background: none;
        }

    }

}