/* GENERIC LAYOUT */
.myie-column-flex {
    display: flex;
    flex-direction: column;
}
.myie-row-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.myie-flex-end {
    justify-content: flex-end;
}

/* LISTS */
.myie-headings {
    font-weight: bold;
    background-color: lightgrey;
}

.myie-user-item {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 0.5rem;
}
.myie-user-item:nth-child(2n+3) {
    background-color: aliceblue;
}

.myie-item-focus {
    cursor: pointer;
}
.myie-item-focus:hover,
.myie-item-focus:focus {
    background-color: whitesmoke;
}

/* IMAGE LAYOUT */
@media screen and (max-width: 959px) {
    .myie-image-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr));
        grid-auto-rows: 6.6rem;
        grid-gap: 0.1rem;
        width: 100vw;
        position: absolute;
        left: 0;
    }
}
@media screen and (min-width: 960px) {
    .myie-image-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(14.6rem, 1fr));
        grid-auto-rows: 14.6rem;
        grid-gap: 0.2rem;
    }
}
.myie-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.myie-full-image {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* WIDGETS */
.myie-uploader-container {
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    border: 4px solid lightgrey;
    background-color: white;
}

.myie-uploader-label {
    font-size: 5rem;
}

.myie-uploader-input {
    display: none;
}

.myie-img-focus:hover,
.myie-img-focus:focus {
    transform: scale(1.02);
    transition-duration: 0.2s;
}

/* BUTTONS */
.myie-round-button {
    display: block;
    height: 3rem;
    width: 3rem;
    border: 4px solid lightgrey;
    border-radius: 1.5rem;
    padding: 0.5rem;
    background-color: white;
}
.myie-round-button i {
    display: block;
}

/* PROGRESS */
.progress {
    width: 6rem;
}

.fa-spinner:before {
    display: block;
    animation: spin linear 3s infinite;
}

@keyframes spin {
	0% {
		transform: rotate(-60deg);
	}
	100% {
		transform: rotate(300deg);
	}
}