/* Shared: Navbar
 –––––––––––––––––––––––––––––––––––––––––––––––––– */

.navbar,
.navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    opacity:0.9;
}
.navbar-spacer {
    margin-bottom: 1.0rem;
}
.navbar > .container {
    width: 100%; }
.navbar-list {
    list-style: none;
    margin-bottom: 0; }
.navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0; }
.navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222; }
.navbar-link.active {
    color: #33C3F0; }
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 2rem;
}
.login {
    float:right;
}


/* Shared: Buttons
 –––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="file"]:hover {
    color: #333;
    border-color: #888;
    outline: 0; }


.button {
    border-radius: 100px;
}


/* Shared: Forms
 –––––––––––––––––––––––––––––––––––––––––––––––––– */

input[type="file"] {
    border: 1px solid #D1D1D1;
    height: 36px;
    padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
    border-radius: 4px;
    box-shadow: none;
    background: #fff;
}

/* Removes awkard default styles on some inputs */
input[type="file"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



/* Intro Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.hero {
    background-image: url('../images/MainPageBackground.jpg');
    background-size: cover;
    color:white;
}

.hero-heading {
    font-weight:bold;
    text-shadow: 0 4px 4px rgba(0,0,0,0.5);
    z-index:99;
}

.section {
  text-align: center;
  border-bottom:dotted 1px black;
  padding: 2rem 0rem 0rem;
}
.section-heading,
.section-description {
  margin-bottom: 1.2rem;
}

.hero {
    padding: 12rem 0;
    text-align: left;
    height: 150px;
}


.phone {
    position: absolute;
    top: 9.5rem;
    right: 0rem;
    max-height: 175px;
    visibility:hidden;
}



@media (min-width: 550px) {
    .hero {
        padding: 12rem 0;
        text-align: left;
        height: 85px;
    }
    .phone {
        position: absolute;
        top: -9.5rem;
        right: 3rem;
        max-height: 300px;
        z-index: 3;
        visibility:visible;
    }
}

@media (min-width: 750px) {
    .hero {
        height: 50px;
    }
    .section {
        padding: 14rem 20 15rem;
    }
    .hero {
        padding: 16rem 0 14rem;
    }
    .section-description {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    .phone {
        top: -17.5rem;
        right: 5rem;
        max-height: 365px;
        visibility:visible;
    }
    .categories {
        padding: 15rem 0 8rem;
    }
    
}



/* Create Hike Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#map {
    position:fixed; top:13rem; left:2rem; bottom:2rem; right:30rem;
}

.title-bar {
    width:initial;
    max-width:initial;
    position:fixed; top:7rem; left:0rem; right:0rem;
    margin-top:0.5rem;
    margin-right:30rem;
    margin-left:2rem;
}


#toolbar {
    position:fixed; top:7rem; right:0rem; bottom:0rem;
    width:25rem;
    margin-top:1rem;
}

#legend {
    list-style:none;
}

.edit-button {
    float:right;
}

#HikeTitle {
    min-width:300px;
}


#PathNameEdit, #PathNameHeading {
    width:100%;
}


@media (max-width: 800px) {
    .hide-on-mobile {
        display: none;
    }

    #map {
        position:fixed; top:13rem; left:0rem; bottom:0rem; right:0rem;
    }

}


/* This fixes a display problem that causes Skeleton to put a margin around the search box */
.leaflet-container .leaflet-control-geosearch input {
    margin-bottom:initial;
}


/* My Hikes Page
 –––––––––––––––––––––––––––––––––––––––––––––––––– */

.hike-row:hover {
    background-color:lightgrey;
}

#hikes-map {
    position:fixed;
    width:50%;
    top:8rem;
    right:2rem;
    bottom:2rem;
}

.my-hikes {
    margin-left:2rem;
    margin-right:2rem;
    max-width:none;
    width:50%;
    overflow-wrap:break-word;
}

@media (max-width: 800px) {
    .my-hikes {
        width:100%;
    }
}



