﻿
#menu-toggle {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 5px;
    top: 5px;
    background: #007bff;
    border-radius: 10px;
    padding: 3px;
    box-shadow: -1px 2px 6px 1px grey;
}

#top-right-account-btn {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 65px;
    top: 5px;
    background: #007bff;
    border-radius: 10px;
    padding: 3px;
    box-shadow: -1px 2px 6px 1px grey;
}

.home-info-section-title {
    margin: 15px 0;
    font-size: 17px;
    text-align: left;
    margin-left: 15px;
}

.menu-icon {
    height: 30px;
    width: 30px;
}

.blog-tag {
    background: gainsboro;
    padding: 4px 5px 4px 6px;
    border-radius: 8px;
    font-weight: bold;
    line-height: 15px;
    color: #666
}

.blog-content img {
    max-width: 100%;
    height: auto;
}

.hover-pointer:hover {
    cursor: pointer;
}

.blog-card-info {
    text-align: left;
}

.blog-date {
    font-size: 12px;
    color: gray;
    font-weight: bold;
}

.menu-button {
    margin: 3px;
}

.white-opaque-box {
    background-color: rgba(255,255,255,0.8);
    padding: 16px;
    box-shadow: -2px -1px 14px -6px grey;
}

.background-image {
    padding: 60px 5% 60px 5%;
    background-size: cover;
    position: static;
    height: 100vh;
    top: 0;
    z-index: -1;
    background-position: center;
    overflow: auto;
    width: calc(100vw - 220px);
    left: 220px;
}

.gallery-box {
    text-align: center;
    padding: 4px;
    width: auto;
    margin: 10px;
    align-self: center;
}

    .gallery-box:hover {
        cursor: pointer;
    }

.map-container {
    position: relative;
    width: 100%;
}

.map-frame {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    width: 100%;
    padding-top: calc(100vh - 185px);
}

.map-legend {
    position: absolute;
    width: 120px;
    top: 0;
    right: 0;
    z-index: 400;
    background-color: #ffffff7d;
}

/* MAP LEGEND */
.legend-item {
    text-decoration: underline;
    font-size: 15px;
    font-weight: bold;
}

.gps-route {
    color: #ff1500;
}

.official-route {
    color: #007bff;
}

/* END MAP LEGEND */

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.page-title {
    color: #444444;
}

.about-text {
    font-size: 18px;
}


.peaks-info {
    text-align: center;
    padding: 4px;
    padding-top: 10px;
    max-width: 400px;
    height: auto;
    margin: 10px;
    align-self: center;
}

.peaks-info-table {
    width: 100%;
    text-align: left;
}

.peak-info-label {
    font-weight: bold;
}

.peak-info-text a:hover {
    cursor: pointer;
    color: #0366d6;
}

.peak-info-text a {
    color: #0366d6;
}

.peak-img-div {
    margin: auto;
    max-height: 350px;
    max-width: 350px;
}

#home-page-text-area {
    text-align: center;
}

.home-info-table {
    width: 100%;
    font-size: 15px;
}

.home-info-table-label {
    text-align: left;
    width: 142px;
}

.home-info-table-text {
    text-align: left;
    font-weight: normal;
}

.home-info-table-row {
    height: 35px;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translate(0, -30px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.all-content {
    animation-name: fadein;
    animation-duration: 1000ms;
}

.info-area-min-width {
    min-width: 260px;
}

#why-page-text-area {
    text-align: center;
}

#route-data {
    text-align: center;
}

.mobile-scroller {
    height: calc(100vh - 135px);
    overflow: auto;
    border-bottom: 2px solid grey;
}

.full-page-width {
    width: calc(100vw - 220px);
}

.fully-centred {
    display: flex;
    align-items: inherit;
    justify-content: center;
    flex-direction: column;
}

.hide-on-mobile {
    display: revert;
}

.hide-on-desktop {
    display: none;
}

.mobile-menu-account-btn a {
    margin-top: 30px;
    background-color: dodgerblue;
    border-top: 2px solid cornflowerblue;
    border-bottom: 2px solid cornflowerblue;
}

    .mobile-menu-account-btn a:hover {
        background-color: cornflowerblue;
    }

.leaderboard-row {
    background: #eee;
    border-bottom: 1px solid #999;
}

    .leaderboard-row:hover {
        background: #dad9d9;
        transition: background 250ms
    }

.leaderboard-area {
    height: calc(100vh - 305px);
    overflow: auto;
}

@media screen and (max-width: 767.98px) {

    .all-content {
        animation-name: fadein;
        animation-duration: 1500ms;
    }

    .text-area-general {
        font-size: 14px;
    }

    .white-opaque-box {
        padding: 4px;
    }

    .hide-on-mobile {
        display: none;
    }

    .hide-on-desktop {
        display: revert;
    }

    .background-image {
        width: calc(100vw - 64px);
        left: 64px;
        padding: 60px 2% 60px 2%;
    }

    .full-page-width {
        width: calc(100vw - 64px);
    }

    .map-frame {
        padding-top: calc(100vh - 180px);
    }

    .mobile-scroller {
        height: calc(100vh - 135px);
        overflow: auto;
        border-bottom: 2px solid grey;
    }

    .about-text {
        font-size: 15px;
    }

    .leaderboard-area {
        height: calc(100vh - 280px);
        overflow: auto;
    }
}
