﻿/* Page-specific styling */

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0 0 40px; /* bottom = footer height */
}

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
    width: 100%;
}

.padding {
    padding: 15px;
}

#notification-popup.MessageBanner {
    position: absolute;
    left: 0px;
    bottom: 0px;
    text-align: left;
    height: inherit;
    min-width: inherit;
}

#notification-popup .MessageBanner-text {
    margin: 0;
    padding: 18px 15px;
    min-width: inherit;
}

.inspiration-item {
    border: 1px solid #d7dae1;
}

.inspiration-item__body {
    height: 200px;
    display: flex;
    background-color: #fff;
    padding: 1em;
}

    .inspiration-item__body img {
        margin: auto;
        max-width: 100%;
        width: auto;
        max-height: 100%;
        height: auto;
    }

        .inspiration-item__body img:hover {
            cursor: pointer;
        }

.inspiration-item__footer {
    padding: 0.2rem 1rem;
    background: #eceeef;
    overflow-wrap: break-word;
}

    .inspiration-item__footer:hover {
        cursor: pointer;
    }

h3 {
    font-family: Avenir LT Std\ 85 Heavy, sans-serif;
}

.img-count {
    float: right;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.image-list {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    right: 0;
    top: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    background-color: #ede6d9;
}

.image-list-content {
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
}

#closeBtn {
    float: left;
    display: inline-block;
    align-items: center;
    font-size: 2em;
}

    #closeBtn:hover {
        cursor: pointer;
    }

#imgListTitle {
    float: left;
    display: inline-block;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden
}

#imageListHeader {
    display: inline-flex;
    background-color: #fff;
    font-family: Avenir LT Std\ 85 Heavy, sans-serif;
    font-size: 2em;
    line-height: 2;
    width: 100%;

}

.image-card-main {
    align-items: stretch;
    background-color: #fff;
    border-radius: 3rem;
    display: flex;
    flex-direction: row;
    line-height: 2;
    padding: .3rem 1.6rem;
    position: absolute;
}

    .image-card-main .material-icons {
        color: #c00;
    }

.inspiration-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(273px, 1fr));
    grid-gap: 1em;
}

#expandedImgGrid {
    padding: 1em;
}