/********** Media Catalogue **********/
body {
    font-family: Arial, Helvetica, sans-serif;
}

.mediaButtonsContainer {
    width: 100%;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

tr {
    text-align: center;
}

th,
td {
    text-align: center;
    padding: 8px;
    vertical-align: middle;
}

th {
    background-color: #f2f2f2;
}

.mediaButtonImage {
    display: block;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    transition: opacity 0.5s ease;
    backface-visibility: hidden;
    cursor: pointer;
}

    .mediaButtonImage:hover {
        opacity: 0.3;
    }

/* The Modal (background) */
.modal-background {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 60px;
    background-color: rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

    /* Optional class for opening modal via JS */
    .modal-background.is-open {
        display: block;
    }

/* Modal Content */
.modal-content {
    background-color: #000000;
    color: #aaaaaa;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    box-sizing: border-box;
    position: relative;
}

/* Iframe */
#contentFrame {
    display: block;
    width: 100%;
    height: 315px;
    border: 0;
}

/* The Close Button */
.close-btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    .close-btn:hover,
    .close-btn:focus {
        color: #444;
        text-decoration: none;
    }

