/*
 * site-wide styles
 */

html, body {
    background-color: #fefefe;
    height: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.highlight {
    background-color: rgba(243,243,21,0.5);
    padding: 2px;
}

.text-muted {
    color: #6c757d !important /* from bootstrap */
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-toolbar #icon {
    width: 25px;
    position: relative;
    top: 5px;
}

.v-card {
    border:1px solid #ccc !important;
}

#support-link {
    color: white;
    text-decoration: none;
}

/*
 * page overrides
 */

#locations-wrapper .v-card.selected {
    border-left: 3px solid navy !important;
}

.location-card .v-card__title {
    /* so that we can add .truncate class */
    width: 100%;
    display: inline-block;
}

.location-card .v-list-item__icon {
    /* copied from .mr-2 vuetify rule */
    margin-right: 8px !important;
}
.location-card .v-list-item {
    /* copied from .px-1 vuetify rule */
    padding-right: 4px !important;
    padding-left: 4px !important;
}
.location-card .v-list {
    /* copied from .py-1 vuetify rule */
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.marker {
    background-size: cover;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#too_many_locations {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    background: rgba(0,0,0,0.5);

    /* center text */
    padding-top: 45vh;
    text-align: center;

    /*
        pass through mouse events to map underneath
        via: https://stackoverflow.com/a/6441884/625840
    */
    pointer-events: none;
}

#style-selector .v-card .v-image,
#icon-selector .v-card .v-image {
    cursor: pointer;
}
#style-selector .v-card .v-image.selected,
#icon-selector .v-card .v-image.selected {
    border: 2px solid navy;
}


/*
 * Error Pages
 */
#error_page h1 {
    font-size: 5.0em;
}


/*
 * Mobile Styles
 */
@media (max-width: 600px){
    #homepage section {
        padding: 20px 0;
    }
    #homepage #hero {
        padding: 80px 0 20px;
    }
    #homepage #hero h1 {
        font-size: 4.0em;
    }
    #homepage #features .col-md-4 {
        margin-bottom: 40px;
    }
}