/* Alerts */
.alert {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: .75rem;

    .alert-dismissible .close {
        padding: 1.5rem;
    }

    .close:not(:disabled):not(.disabled):focus,
    .close:not(:disabled):not(.disabled):hover {
        opacity: unset;
    }

    .close {
        text-shadow: unset;
        opacity: unset;
        color: #8D9559;
        border-top-right-radius: .75rem;
        border-bottom-left-radius: .75rem;

        &:hover {
            background-color: #3B5933;
        }
    }

    h3 {
        font-weight: 600;
        margin-bottom: .375rem;
        margin-right: 1.5rem;
        font-size: 1.6rem;
        line-height: normal;
    }

    p {
        margin-bottom: 1.5rem;
        line-height: normal;
    }

    .btn-secondary {
        background-color: #8D9559;
        border: none;
        border-radius: .375rem;
        font-size: calc(1.4rem * .8);

        &:not(:disabled):not(.disabled):active,
        &:focus {
            background-color: #8D9559;
            border-color: #3B5933;
            box-shadow: 0 0 0 .15rem #3B5933;
        }
    }
}

.alert-primary {
    color: white;
    background-color: #44643B;
    border-color: transparent;
    border: none;
}


.row .col {
    padding-right: .75rem;
    padding-left: .75rem;
}

/* Filter */
.filter-icon i {
    font-size: 1.5rem;
    /*color: #44643B;*/
    color: #8D9559;
}

.close-icon {
    i {
        font-size: 1.5rem;
    }

    a {
        color: #44643B;
        /*color: #9C2C16;*/

        &:hover {
            color: #3B5933;
            /*color: #5C1A1B;*/
        }
    }
}

.form-select {
    display: block;
    width: 100%;
    padding: 0 .75rem;
    height: 3rem;
    -moz-padding-start: calc(0.75rem - 3px);
    border: unset;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #44643B;
    font-weight: 600;
    font-size: 1.2rem;
    background-color: white;

    &:focus-visible {
        outline-color: #8D9559 !important;
    }
}

.panel-filter {
    /*background-color: #8D9559;*/
    /* background-color: white; */
    padding: 0 1.5rem 1.5rem 1.5rem;
    /*margin-bottom:  -3rem;*/
    color: #333333;

    /*z-index: 10;*/
    /*position: relative;*/
    /*border-bottom: solid 3rem white;*/

    label {
        font-weight: 600;
        font-size: 1.2rem;
        /*color: #44643B;*/
        color: white;
    }
}

/* Form */
.form-control {
    font-size: 1.4rem;
    color: #333333;
    height: unset;
    line-height: 1;
    padding: .75rem;
    border: 1px solid #E9EAF2;

    &:focus {
        color: #333333;
        border-color: #8D9559;
        box-shadow: 0 0 0 .1rem #8D955940;
    }
}

.content .log-in {
    /*height: calc(100vh - 60px);*/
    /*margin-bottom: unset !important;*/
    background-color: white;
    background-image: url(../images/hero-log-in.jpg);
    /*background-size: cover;*/
    background-repeat: no-repeat;
    background-position: top right;
    padding: 16.5rem 0 0 0 !important;
    position: relative;

    .panel {
        /*width: 50%;*/
        background-color: white;
        border-bottom-left-radius: 3rem;
        border-bottom-right-radius: 3rem;
        padding: 3rem;
    }
}

.content .log-in::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 16.5rem;
    width: 100%;
    background-color: #3B5933;
    opacity: .75;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;

    label {
        font-size: 1.4rem;
        color: #44643B;
        font-weight: 600;
        margin-bottom: .75rem;
    }
}

.input-group-prepend .input-group-text {
    width: 3rem !important;
    padding: 0 !important;
    background-color: #E9EAF2;
    border: 1px solid #E9EAF2;
    color: #44643B;
    border-radius: .375rem;
}

input:focus {
    /*outline: 0 0 0 0 !important;*/
    /*box-shadow: 0 0 0 0 !important;*/
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #5064AB;
    border-color: transparent;
}

.btn-primary,
.btn-primary:hover {
    color: white;
    background-color: #5064AB;
    border-color: transparent;
    font-weight: 600;
    border-radius: .375rem;
}

.btn-sm {
    padding: .25rem .25rem;
    font-size: .875rem;
    line-height: 1;
    border-radius: .25rem;
}

.btn.watch-video {
    right: 0;
    top: -2.2rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    line-height: 2rem;
    padding: 0 .75rem;
}

button.btn.btn-primary {
    background-color: #5064AB;
    border-color: transparent;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: .75rem;
}

button.btn.btn-primary:hover,
.btn.btn-primary:hover,
button.btn.btn-primary:active,
button.btn-primary.focus,
button.btn-primary:focus {
    background-color: #4A5C9C !important;
    border-color: transparent !important;
}

button.btn.btn-primary:focus,
button.btn.btn-primary.focus,
.btn.btn-primary:focus,
aside .profile-panel .panel-footer button:focus {
    box-shadow: 0 0 0 .1rem #4A5C9C80 !important;
}

div[data-lastpass-icon-root],
div[data-lastpass-infield],
#okta-overlay {
    /*opacity: 0;*/
    /*display: none;*/
}

/* Tooltip */
.tooltip-inner {
    font-size: 1rem;
    line-height: 1.375;
    background-color: #333333;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
    /*border-width: .4rem .4rem 0;*/
    border-top-color: #333333;
}

.tooltip.show {
    opacity: 1;
}

.tooltip-trigger {
    color: #8D9559;
    cursor: pointer;
}

/* Utilities */
b,
strong {
    font-weight: 600;
}

.text-muted {
    color: inherit !important;
    opacity: .75;
}

/* Lightbox */
.lightbox {

    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        width: 33.33%;
    }

    .lb-dataContainer {
        padding-top: 1.5rem;
    }

    .lb-data {
        .lb-caption {
            font-size: 14px;
            font-weight: 600;
            line-height: 1;
        }

        .lb-number {
            padding-top: .5rem;
            display: none !important;
        }

        .lb-close {
            height: 1.5rem;
            width: 1.5rem;
            background-size: contain;
        }
    }
}

a,
.gps {
    transition: 0.3s;
}

/* Moon Phase */
.moon-phase {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;

    img {
        max-width: 100%;
        border-radius: 50%;
        box-shadow: 0px 0px 5px 2.5px #a3aeb5;
        /*border: solid 1px #a3aeb5;*/
    }
}

/* Pagination */
.pagination-container {
    margin-bottom: 3rem;
}

.pagination {
    margin-bottom: unset;
    padding: 0 3rem;
}

.page-link,
.page-link:hover {
    color: #5064AB;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    border: solid 1px #E9EAF2;
    padding: .75rem 1.25rem;
}

.active>.page-link,
.page-link.active,
.page-item.active .page-link {
    background-color: #5064AB;
    border-color: #E9EAF2;
    /*font-weight: 800;*/
    /*color: #7B94BC;*/
}

a.page-link[disabled] {
    color: #7B94BC;
    cursor: not-allowed;

    &:hover {
        background-color: white;
    }

    &:focus {
        box-shadow: none;
    }
}

.active>.page-link:hover,
.page-link.active:hover {
    color: white;
}

.page-item:first-child .page-link {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.wavy,
.wavy:hover {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 1px;
    text-decoration-color: #5064AB;
}

/* Theme */
h3 {
    font-weight: 600;
}

body,
html {
    background-color: #E9D7CB;
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #333333;
    font-weight: 400;
    font-size: 10px;
}

h2 {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #3B5933;
}

figure {
    margin: unset;
}

dl {
    margin-bottom: unset;
    line-height: 1;

    dt {
        /*text-transform: uppercase;*/
        font-size: 1.4rem;
        color: #44643B;
        font-weight: 600;

        i {
            width: 1.5rem;
            text-align: center;
            /*overflow: hidden;*/
            margin-right: 5px;
        }
    }

    dd {
        margin-bottom: unset;
        margin: .75rem 0 1.5rem 0;
    }
}

.container {
    padding-right: 0px;
    padding-left: 0px;
    /*margin-left: unset;*/
    position: relative;
}

.table {
    margin-bottom: unset;
    color: #333333;
    line-height: 1.25;

    thead th {
        /*text-transform: uppercase;*/
        line-height: 1;
        font-size: 1.4rem;
        border-bottom-color: #E9EAF2;
        color: #44643B;
        font-weight: 600;
    }

    td,
    th {
        padding: .75rem;
        /*border-top: none;*/
        border-bottom-color: #E9EAF2;
    }
}

.table-bordered {
    border-top: none;

    thead td,
    thead th {
        border-bottom-width: 1px;
    }

    td,
    th {
        border-color: #E9EAF2;
    }
}

aside {
    width: 240px;
    margin-left: 3rem;
    flex: 0 0 auto;
    position: -webkit-sticky;
    position: sticky;
    top: -60px;

    .profile-panel .panel-heading {
        background-color: #44643B;
        padding: 1.5rem 3rem;
        border-radius: 3rem 3rem 0 0;
        color: white;
        line-height: 1;
        font-size: 1.2rem;
        text-align: center;

        a {
            color: white;
            text-decoration: none;
        }

        .name {
            font-weight: 600;
            font-size: 1.4rem;
            background-color: #44643B;
        }

        figure {
            .img-container {
                width: 89px;
                border-radius: 50%;
                border: solid 3px #8D9559;
                margin-left: auto;
                margin-right: auto;
                margin-top: -3rem;

            }

            img {
                width: 100%;
                border-radius: 50%;
                /*padding: 1px;*/
                /*mix-blend-mode: luminosity;*/
                /*filter: grayscale(25%);*/
            }

            figcaption {
                margin-top: -2rem;
                /*background-color: #44643B;*/
                position: relative;
                z-index: 1;
                padding-top: unset;
            }
        }
    }

    .panel .panel-body {
        padding: 3rem 3rem 0 3rem;
        background-color: white;
        position: relative;
        font-size: 1.4rem;
        text-align: center;
    }

    .panel .panel-footer {
        background-color: white;
        border-radius: 0 0 3rem 3rem;
        padding: 3rem;
        /*height: 60px;*/
        /*line-height: 60px;*/

        button {
            background-color: #5064AB;
            /*background-color: transparent;*/
            width: 100%;
            color: white;
            font-size: 1.4rem;
            font-weight: 600;
            /*text-transform: uppercase;*/
            border-radius: .75rem;
            /*text-align: right;*/
            /*padding: 0;*/
            /*line-height: 1;*/

            &:hover {
                background-color: #4A5C9C;
            }
        }
    }

    dl {
        dt {
            font-size: 32px;
            font-weight: 800;
            color: #8D9559;
            /*-webkit-text-stroke-width: 1px;*/
            /*-webkit-text-stroke-color: #44643B;*/
        }

        dd {
            color: #44643B;
            border-bottom: solid 1px #E9D7CB;
            padding-bottom: 1.5rem;

        }
    }

    dl:last-child dd {
        margin-bottom: 0;
    }
}

/* Map */
.map {
    height: 240px;
    width: 100%;
    margin-top: 1.5rem;

    .leaflet-bottom.leaflet-right {
        display: none;
    }

    .leaflet-popup-content {
        font-size: 1.2rem;
    }

    .leaflet-marker-icon {
        filter: drop-shadow(0px 0px 5px rgb(255 255 255 / 0.75));
    }

    .leaflet-popup-content-wrapper,
    .leaflet-popup-tip {
        box-shadow: 0px 0px 1.5rem rgba(51, 51, 51, 0.125);
    }
}

.gps {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 400;
    color: white;
    background-color: #5064AB80;
    font-size: 1rem;
    padding: 0 .75rem;
    line-height: 2rem;
    border-top-right-radius: .375rem;

    a {
        color: white;
        text-decoration: underline;
    }

    &:hover {
        background-color: #5064AB;
    }
}

.catch-grid {
    /*display: grid;*/
    display: flex;
    justify-content: center;
    /*grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));*/
    /*grid-gap: 3rem;*/
    flex-flow: wrap;
    /*background-color: #333333;*/
    padding: 0;
    margin-top: -45px;
}

.catch-item {
    /*border: 1px solid #ccc;*/
    /*padding: 7.5px;*/
    /*border-radius: 1.5rem;*/
    /*background-color: #E9EAF2;*/
    margin-bottom: unset;
    position: relative;
    /*margin-top: 1.5rem;*/
    margin-top: unset;

    .carousel {
        /*max-width: 480px;*/
        /*margin-left:  -3rem;*/
        /*margin-right:  -3rem;*/
        /*border-radius: 1.5rem;*/
        /*box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;*/
        margin-top: 3rem;
    }

    img {
        width: 100%;
        /*border-radius: 1.5rem;*/
        /*margin-top: 10px;*/
    }

    .table {
        /*margin-top:  -3rem;*/
        position: absolute;
        background-color: white;
        z-index: 5;
        bottom: 1.5rem;
        width: calc(100% - 3rem);
        margin-left: 1.5rem;
        font-size: 1.4rem;
    }
}

.catch-item:first-child {
    margin-top: 0;
}

.catch-item-container {
    margin-top: -1.5rem;
}


.catch-details {
    margin-bottom: 10px;
}

.carousel img {
    /*max-height: 600px;*/
    object-fit: cover;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;

    img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Sidebar styling */
.sidebar {
    /*height: 100vh;*/
    height: calc(100vh - 3rem);
    margin-top: 1.5rem;
    width: 240px;
    position: fixed;
    z-index: 1;
    /*top: 0;*/
    /*left: 0;*/
    background-color: #44643B;
    overflow-x: hidden;
    transition: width 0.3s ease;
    /*border-top-right-radius: 3rem;*/
    /*border-bottom-right-radius: 3rem;*/
    border-radius: 3rem;
    line-height: 1;
    padding-bottom: env(safe-area-inset-bottom);
    float: left;

    .sidebar-bottom {
        padding: 0 60px;
        position: absolute;
        bottom: 1.5rem;
        left: 0px;
        padding-bottom: env(safe-area-inset-bottom);

        .tagline img {
            width: 12rem;
        }

        .links {
            margin-top: 1.5rem;
            font-size: 0;

            .list-inline-item:not(:last-child) {
                /*margin-right: 7.5px;*/
                margin-right: unset;
            }

            a {
                color: #8D9559;
                font-size: 1.6rem;
                padding: 5px;
                border-radius: 5px;

                &:hover {
                    /*color: #E9D7CB;*/
                    background-color: #3B5931;
                }
            }

            .border-right {
                border-right-color: #3B5933 !important;
                border-right-width: .25rem !important;
                margin-right: .5rem !important;
                padding-right: .5rem;
            }
        }
    }

    .logo {
        padding: 1.5rem 0 1.5rem 3rem;
        background-color: #3B5933;
        margin-bottom: unset;

        img {
            max-height: 180px;
            /*margin-bottom: -45px;*/
        }
    }

    nav {
        padding-top: 45px;

        ul li {
            position: relative;

            a {
                padding: 1.5rem 3rem;
                margin-left: 1.5rem;
                text-decoration: none;
                color: white;
                display: block;
                /*transition: 0.3s;*/
                text-transform: uppercase;
                font-weight: 600;
                font-size: 1.6rem;
            }
        }

        ul li.active a {
            background-color: #E9D7CB;
            color: #333333;
            /*margin-left: 1.5rem;*/
            border-top-left-radius: 3rem;
            border-bottom-left-radius: 3rem;
        }

        ul li.active::before {
            content: "";
            position: absolute;
            height: 3rem;
            width: 3rem;
            right: 0px;
            top: -3rem;
            background-image: url(../images/nav-top-right.svg);
        }

        ul li.active::after {
            content: "";
            position: absolute;
            height: 3rem;
            width: 3rem;
            right: 0px;
            bottom: -3rem;
            background-image: url(../images/nav-bottom-right.svg);
        }
    }

    .badge {
        vertical-align: top;
        margin-left: .75rem;
        font-weight: 600;
    }

    .badge-info {
        background-color: #8D9559;
    }

    a {
        span {
            display: inline-block;
            transition: all 0.3s;
        }
    }

    .full-content {
        display: block;
    }

    span.icon {
        color: #8D9559;
        width: 2rem;
        text-align: center;
        margin-right: 1.5rem;
    }
}

.sidebar.minimized {
    width: 8rem;

    a {
        span.full {
            display: none;
        }

        span.icon {
            display: inline-block;
        }
    }
}

/*.sidebar nav ul li.active::after {
content: "";
position: absolute;
background-color: transparent;
height: 60px;
width: 60px;
border-top-right-radius: 3rem;
box-shadow: 0  -3rem 0 0 #E9EAF2;
right: 0;
top: 57px;
}*/

/* Page content styling */
.content {
    margin-left: 24rem;
    transition: margin-left 0.3s;
    padding: 3rem 3rem 0 3rem;
    float: left;
    display: block;
    width: calc(100% - 24rem);
    font-size: 1.4rem;

    .trip {
        background-color: white;
        border-radius: 3rem;
        padding: 3rem;
        margin-bottom: 3rem;
        position: relative;
    }

    .trips-container {
        align-items: flex-start;
    }

    article {
        .grid {
            .g-col {
                /*grid-column: auto / span 6;*/
                border-bottom: solid 1px #E9D7CB;
                position: relative;

                dl dd.alert-secondary {
                    /*font-size: 1.2rem;*/
                    line-height: 1;
                    padding: .75rem;
                    font-style: italic;
                    text-decoration: underline;
                    /*color: #44643B;*/
                    background-color: #E9EAF280;
                    border-color: #E9EAF2;
                    margin-bottom: 1.5rem;
                }
            }

            .g-col:nth-last-child(-n+2) {
                border-bottom-color: transparent;
            }
        }

        .log-grid {
            display: none !important;
        }
    }
}

.content article.trip .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(50% - 3rem), 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    /*flex-grow: 1;*/
}

.minimized+.content {
    margin-left: 8rem;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 1.5rem solid transparent;
    border-right: 1.5rem solid transparent;
    border-top: 1.5rem solid white;
    position: absolute;
    z-index: 10;
    margin-top: -3rem;
    left: calc(50% - 1.5rem);
}

.arrow-down-green {
    border-top-color: #44643B;
}

.filtered-results {
    margin: 0 0 -3rem 0;
    background: #8D9559;
    background: linear-gradient(180deg, rgba(68, 100, 59, 1) 0%, rgba(108, 127, 75, 1) 100%, rgba(141, 149, 89, 1) 50%);
    padding: 3rem;
    border-radius: 3rem 3rem 0 0;
    color: #E9D7CB;
    position: relative;
    z-index: 2;
    border-bottom: solid 3rem white;

    h2 {
        color: white;
        font-weight: 800;
        font-size: 20px;
    }

    h3,
    p {
        line-height: 1;
    }
}

article {
    h3 {
        font-size: 1.6rem
    }

    p {
        margin-bottom: 1.5rem;

        a {
            color: #5064AB;

            &:hover {
                color: #4A5C9C;
            }
        }
    }

    p:last-child {
        margin-bottom: 0;
    }

    .date {
        background-color: #44643B;
        width: 90px;
        height: 90px;
        margin-right: 3rem;
        color: white;
        text-align: center;
        float: left;

        span {
            display: block;
            line-height: 35px;
            text-transform: uppercase;
        }

        span.day {
            line-height: 20px;
            font-size: 32px;
            font-weight: 800;
        }
    }
}

/* Charts */
.tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tabs button {
    padding: .375rem .75rem;
    border: 1px solid #E9EAF2;
    background: #E9EAF280;
    cursor: pointer;
}

.tabs button.active {
    background: #4A5C9C;
    color: #fff;
    font-weight: 600;
}

.tab-content {
    margin-top: 1.5rem;
}

.stats-content {
    margin-bottom: 3rem;
}

article.chart-container .panel .panel-heading,
article.about .panel .panel-heading {
    border-bottom: solid 2px #E9EAF2;
    margin-bottom: 1.5rem;

    h2 {
        font-size: 2rem;
        line-height: 1;
        font-weight: 800;
        /*color: #44643B;*/
        color: #333333;
        margin-bottom: 1.5rem;
        /*display: flex;*/
    }
}

article.chart-container .panel .panel-heading h2 .icon {
    display: none;

    i {
        width: 22.5px;
        text-align: center;
        margin-right: 5px;
    }
}

#chart-container {
    /*max-height: 400px;*/
    overflow-y: auto;
}

.charts-grid {
    display: grid;
    grid-gap: 3rem;
    grid-auto-flow: row dense;

    aside {
        margin-left: unset;
        margin-bottom: 3rem;

        .profile-panel .panel-body {
            padding: 3rem;
            border-radius: 0 0 3rem 3rem;
        }
    }
}

.charts-grid-top {
    grid-template-columns: auto 240px;
}

.charts-grid-bottom {
    grid-template-columns: 50% 50%;
}

article.chart-container {
    background-color: white;
    border-radius: 3rem;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

article.chart-container.pie-chart {
    padding: 1.5rem;
}

article.chart-container.pie-chart .panel .panel-heading {
    margin: 1.5rem;
}

/* Responsive Breakpoints */
@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 768px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1200px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1240px;
    }

    .map {
        width: 610px;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        height: 100vh;
        margin-top: unset;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;

        .sidebar-bottom {
            position: fixed;
        }
    }

    .content .log-in {
        padding: 15rem 0 0 0 !important;
    }

    .content .log-in::after {
        height: 15rem;
    }
}

@media (max-width: 992px) {
    .content .log-in {
        padding: 12rem 0 0 0 !important;
    }

    .content .log-in::after {
        height: 12rem;
    }

    aside {
        display: none;
    }

    .charts-grid aside {
        display: unset;
        order: -1;
        width: unset;
        position: relative;
        top: unset;
    }

    .charts-grid {
        /*display: unset;*/
        grid-template-columns: 100%;
        grid-gap: inherit;
    }
}

@media (max-width: 768px) {
    .sidebar .sidebar-bottom .tagline img {
        width: 9rem;
    }

    .btn.watch-video {
        /*right:  -1.5rem;*/
    }

    .content .log-in {
        padding: 12rem 0 0 0 !important;
    }

    .content .log-in::after {
        height: 12rem;
    }

    .sidebar .sidebar-bottom {
        padding: 0 1.5rem;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .catch-item .table {
        display: none;
    }

    .content article.trip {
        padding-bottom: 1.5rem;
    }

    .content article.about {
        padding-bottom: 3rem;
    }

    .content article.trip .grid {
        grid-template-columns: repeat(auto-fill, minmax(calc(100% - 0px), 1fr));
    }

    .content article.trip .log-grid {
        display: inherit !important;
        background-color: white;
        margin-bottom: 0;
        padding: 0 1.5rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
        font-size: 1.4rem;
        box-shadow: rgba(33, 33, 33, .125) 0px -1.5rem 1.5rem;
        margin-top: -3rem;
        z-index: 10;
        position: relative;
    }

    .content article {
        .log-grid .g-col {
            padding-top: 1.5rem;
        }

        .grid {
            .g-col:nth-last-child(-n+2) {
                border-bottom-color: #E9D7CB;
                /*border-bottom: solid 1px #E9EAF2;*/
            }

            .g-col:last-child {
                border-bottom-color: transparent;
            }
        }
    }

    .catch-item .carousel {
        margin-left: -3rem;
        margin-right: -3rem;
    }

    .sidebar {
        width: 120px;

        .full {
            display: none;
        }

        .icons-only {
            display: block;
        }

        .badge {
            display: none;
        }

        nav {
            padding-top: 3rem;

            ul {
                li a {
                    padding: 1.5rem 0;
                    text-align: center;
                }

                li.active a span.icon {
                    color: #44643B;
                }
            }
        }

        .logo {
            padding: 1.5rem 0 1.5rem 1.5rem;

            img {
                max-height: 90px;
            }
        }
    }

    .content {
        margin-left: 120px;
        width: calc(100% - 120px);
    }

    .map {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 601px) {
    .filtered-results {
        display: block !important;

        h2 {
            margin-bottom: .75rem !important;
        }

        p {
            font-size: 1.2rem;
        }
    }
}

@media (max-width: 576px) {
    .pager-text {
        display: none;
    }
}

@media (max-width: 515px) {
    .content {
        margin-left: 75px;
        padding: 1.5rem 1.5rem 0 1.5rem;
        font-size: 1.4rem;
        width: calc(100% - 75px);

        article.trip {
            border-radius: 1.5rem;

            .date {
                margin-top: -1.5rem;
                margin-right: unset;
                margin-bottom: 1.5rem;
                margin-left: unset;
                width: 100%;
                height: 75px;
                font-size: 1.2rem;
                float: unset;
            }

            .log-grid {
                margin-left: -1.5rem;
                margin-right: -1.5rem;
                margin-top: -1.5rem;
            }

            .top {
                margin-left: -1.5rem;
                margin-right: -1.5rem;
            }
        }

        .log-in {
            padding: 10.45rem 0 0 0 !important;
            /*background-position: top center;*/

            .panel {
                border-bottom-left-radius: 1.5rem;
                border-bottom-right-radius: 1.5rem;
                padding: 1.5rem;
            }
        }

        .log-in::after {
            height: 10.45rem;
            border-top-left-radius: 1.5rem;
            border-top-right-radius: 1.5rem;
        }
    }

    .moon-phase {
        right: 1.5rem;
    }

    .sidebar {
        width: 75px;
        border-radius: 1.5rem;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;

        .logo {
            padding: 7.5px 0 7.5px 7.5px;

            img {
                max-height: 60px;
            }
        }

        nav ul li a {
            margin-left: 7.5px;
        }

        span.icon {
            margin-right: 7.5px;
            position: relative;
            z-index: 1;
        }

        .sidebar-bottom {
            padding: 0;
            padding-bottom: env(safe-area-inset-bottom);
            width: 7.5rem;

            .tagline {
                display: none;
            }

            .links {
                .list-inline-item {
                    display: block;
                    margin-top: 1.5rem;
                }

                .list-inline-item:not(:last-child) {
                    margin-right: unset;
                }
            }
        }
    }

    article .date {
        span {
            line-height: 3rem;
        }

        span.day {
            line-height: 1.5rem;
            font-size: 2.4rem;
        }
    }

    .catch-item .carousel {
        margin-left: -3rem;
        margin-right: -3rem;
    }

    .map {
        width: unset;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-bottom: 0;

        .leaflet-popup-content {
            font-size: 10px;
        }
    }

    .gps {
        left: -1.5rem;
    }

    article.chart-container {
        border-radius: 1.5rem;
        padding: 1.5rem;
        /*margin-bottom: 1.5rem;*/
    }

    aside dl dt {
        font-size: 2.8rem;
    }

    .filtered-results {
        margin: 0 0 -1.5rem 0;
        border-bottom-width: 1.5rem;
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 1.5rem;
        text-align: center;

        h2 {
            font-size: 1.8rem;
        }
    }

    article.chart-container .panel .panel-heading h2,
    article.about .panel .panel-heading h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    article.chart-container .panel .panel-heading span.details {
        text-align: center;
    }

    article.chart-container.pie-chart .panel .panel-heading {
        margin: unset;
        margin-bottom: 1.5rem;
    }

    .pagination {
        padding: 0;

        .page-link {
            font-size: 1.2rem;
        }
    }

    .map .leaflet-popup-content {
        font-size: 1rem;
    }

    aside .profile-panel .panel-heading {
        border-radius: 1.5rem 1.5rem 0 0;

        figure .img-container {
            margin-top: -22.5px;
            width: 66px;
        }
    }

    .charts-grid aside .profile-panel .panel-body {
        padding: 1.5rem;
        padding-top: 3rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .content article.about {
        padding: 1.5rem;
    }

    .arrow-down-green {
        margin-top: -3rem;
    }

    .panel-filter {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-height: 515px) {
    .sidebar .sidebar-bottom {
        display: none;
    }
}