﻿.modal {
    overflow: hidden;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h4 {
    margin: 0;
}

.modal-header-top-middle {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.modal-content {
    width: 90%;
    margin: 50vh 50vw;
    transform: translateY(-50%) translateX(-50%);
}

.modal-body {
    height: auto !important;
    max-height: calc(100vh - 340px) !important;
    overflow: auto;
}

.content-row {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.content-row:last-child {
    border-bottom: none;
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #33b5e5;
    color: #fff;
}

.name {
    padding: 0 10px;
}

.role {
    padding: 0 10px;
    flex: 1;
    text-align: right;
}

/* The Close Button */
.modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
}

.modal-close-top-right {
    position: absolute;
    font-size: 28px;
    top: 8px;
    right: 16px;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.fileTile {
    position: relative;
    text-align: center;
    color: black;
    padding-bottom: 30px;
}

.fileTile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom left text */
.grid-bottom {
    position: absolute;
    bottom: 8px;
    padding: 2px 4px 2px 4px;
    background-color: lightgray;
    border-radius: 4px;
    overflow: hidden;
    max-height: 22px;
    width: 100%;
}
