/***********
Posts
*/
.padlet-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.padlet-post {
    flex: 1 1 calc(33% - 16px);
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 4px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .padlet-post {
        flex: 1 1 100%;
    }
}




/***********
Search
*/
#padlet-ajax-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

#padlet-ajax-search-form input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#padlet-ajax-search-form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

#padlet-ajax-search-form button {
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#padlet-ajax-search-form button:hover {
    background-color: #005f8a;
}

#padlet-search-results {
    margin-top: 16px;
}

.padlet-search-result {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.padlet-result-title {
    font-size: 16px;
    color: #0073aa;
    text-decoration: none;
}

.padlet-result-title:hover {
    text-decoration: underline;
    color: #005f8a;
}




/***********
Board Grid
*/
/* Make Grid More Responsive */
.padlet-board-grid,
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Ensures shrinking */
    gap: 16px;
    padding: 0;
    max-width: 100%;
}

/* Two columns on medium screens */
@media (max-width: 1024px) {
    .padlet-board-grid,
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single column on mobile */
@media (max-width: 768px) {
    .padlet-board-grid,
    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* Make Board Fully Responsive */
.padlet-board {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0 solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    box-shadow: 0px 3px 5px #e3e3e3;
}

/* Make Embedded Padlet Boards Responsive */
.padlet-embed {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9; /* Standard aspect ratio */
    min-height: 150px; /* Reduce height for smaller screens */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

/* Ensure iframe fills its container */
.padlet-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Improve Metadata Spacing */
.padlet-board-meta {
    margin-top: 8px;
    padding: 8px;
    background-color: transparent;
    text-align: center;
}

/* Adjust Title & Description on Small Screens */
@media (max-width: 768px) {
    .padlet-board-title {
        font-size: 1rem;
        display: block;
    }

    .padlet-board-description {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}






/***********
Board Individual
*/
.padlet-board {
    padding: 0;
    border: 0 solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.padlet-board-meta {
    margin-top: 0; /* Adds spacing between iframe and metadata */
    padding: 10px 15px 15px 17px;
    background-color: transparent; /* Background for metadata */
    border-top: 0 solid #ddd; /* Optional separator */
    text-align: left; /* Explicitly set left alignment */

}

.padlet-board-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
    text-align: left; /* Ensure left alignment */
    display:none;
}

.padlet-board-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1rem;
    text-align: left; /* Ensure left alignment */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}





/***********
List View Table
*/
.padlet-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    font-size: .85rem; /* Compact font size */
    background-color: transparent;
    border: none; /* No full table border */
    border-radius: 0;
    box-shadow: none; /* No shadow */
    color: #666; /* Medium gray for all text */
}

/* Table Header */
.padlet-list-table thead {
    background-color: transparent;
}

/* Clickable headers with pointer cursor */
.padlet-list-table th {
    text-align: left;
    padding: 6px; /* Compact padding */
    font-weight: bold;
    font-size: .85rem; /* Smaller title */
    border-bottom: 1px solid #ddd; /* Keep row separation */
    color: #c4c4c4; /* Medium gray */
    cursor: pointer; /* Makes headers clickable */
    user-select: none; /* Prevent text selection */
}

/* Sortable Headers */
.padlet-list-table th.sortable-header:hover {
    color: #a8a8a8; /* Slightly darker on hover */
}

/* Sorting arrows */
.padlet-list-table th .sort-arrow {
    margin-left: 5px;
    font-size: .75rem; /* Smaller arrow */
    opacity: 0.6; /* Slight transparency */
}

/* Table Body */
.padlet-list-table td {
    padding: 4px 6px; /* Compact padding */
    border-bottom: 1px solid #ddd; /* Row separator */
    color: #666; /* Medium gray */
}

/* Ensure the first and last row keep their borders */
.padlet-list-table tbody tr:first-child {
    border-top: 1px solid #ddd;
}

.padlet-list-table tbody tr:last-child {
    border-bottom: 1px solid #ddd;
}

/* Remove side borders from table, rows, and cells */
.padlet-list-table,
.padlet-list-table tr,
.padlet-list-table th,
.padlet-list-table td {
    border-left: none;
    border-right: none;
}

/* Links inside table */
.padlet-list-table td a {
    color: #838383; /* Medium gray */
    text-decoration: none; /* No underline */
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    font-size: .9rem; /* Smaller font size for links */
}

.padlet-list-table td a:hover {
    color: #b3b3b3; /* Lighter gray on hover */
}

/* Responsive Table */
@media (max-width: 768px) {
    .padlet-list-table th, .padlet-list-table td {
        padding: 4px; /* Even more compact on mobile */
        font-size: .85rem;
    }
}

/* Ensure all rows remain the same background */
.padlet-list-table tbody tr:nth-child(odd),
.padlet-list-table tbody tr:nth-child(even) {
    background-color: transparent; /* Force all rows to be white */
}





/***********
Quick Link Container
*/
/* Quick Link Container */
#quick-link-results {
    display: none;
    position: relative;
    background-color: transparent;
    padding: 4px 0px 0px 0px;
    border-radius: 8px;
    overflow: hidden;
    margin: 25px 0 0 0;
}

/* Floating Header */
.quick-link-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 200;
    pointer-events: none;
}

/* Header Title */
.quick-link-title {
    font-size: 2rem;
    color: #dfdfdf;
    font-weight: 600;
    pointer-events: auto;
    letter-spacing: -0.5px;
}

/* Close Button */
.quick-link-close {
    font-size: 1.2rem;
    color: #dfdfdf;
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.2s ease-in-out;
    font-weight: 600;
}

/* Hover Effect on Close */
.quick-link-close:hover {
    color: #bbbbbb;
}

/* Content Area */
.quick-link-content {
    margin-top: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* SpinKit Loader */
.sk-spinner {
    margin: 40px auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    z-index: 300;
}

.sk-bounce1, .sk-bounce2, .sk-bounce3 {
    width: 10px;
    height: 10px;
    background-color: #bbbbbb;
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.sk-bounce1 {
    animation-delay: -0.32s;
}

.sk-bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/***********
Native Card View
*/
.native-card-container {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0 0;
}

/* Loading indicator and spinner for the native card view */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* SpinKit spinner styles for the native card view */
.loading .sk-spinner {
    margin: 10px auto 20px;
    width: 70px;
    height: 20px;
    text-align: center;
}

.loading .sk-bounce1,
.loading .sk-bounce2,
.loading .sk-bounce3 {
    width: 14px;
    height: 14px;
    background-color: #666;
    border-radius: 100%;
    display: inline-block;
    margin: 0 4px;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.loading .sk-bounce1 {
    animation-delay: -0.32s;
}

.loading .sk-bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.native-thumbnail {
    width: 100%;
    height: 65px;
    background-color: #e0e0e0;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Filter bar styling */
.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 0 0 10px 0;
    /*background-color: transparent;*/
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px 8px 15px 15px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
}

.primary-filters {
    padding-bottom: 2px;
    border-bottom: 0px solid #eee;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    flex: 1;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display:none
}

.filter-group select,
.filter-group input {
    padding: 7px 45px 6px 15px;
    border: 0px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: -.5px;
}

.view-boards-group {
    flex: 0 0 auto;
    min-width: auto;
    align-self: flex-end;
}

.view-boards-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    background-color: #0066cc;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin-top: auto;
}

.view-boards-btn:hover {
    background-color: #0055aa;
}

.sort-group {
    min-width: 200px;
    flex: 0 0 auto;
}

.sort-controls {
    display: flex;
    gap: 8px;
}

.sort-controls select {
    flex: 1;
}

.filter-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
}

.filter-apply,
.filter-reset {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    display:none;
}

.filter-apply {
    background-color: #0066cc;
    color: white;
}

.filter-apply:hover {
    background-color: #0055aa;
}

.filter-reset {
    background-color: #f1f1f1;
    color: #333;
}

.filter-reset:hover {
    background-color: #e5e5e5;
}

/* Responsive filter adjustments */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }
    
    .filter-apply,
    .filter-reset {
        flex: 1;
    }
    
    .view-boards-group {
        width: 100%;
    }
    
    .view-boards-btn {
        width: 100%;
    }
}

/* Individual board card */
.board {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    background-color: white;
    cursor: pointer;
    position: relative;
}

.board:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.board-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Board metadata section */
.board-meta {
    /*padding: 8px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;*/
    padding: 8px 25px 23px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: -35px 0 0px 0;
}

/* Grade, subject, type tag line */
.meta-tag {
    /*font-size: 0.75rem;
    color: #666;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
    text-align: left;*/
    font-size: 0.8rem;
    color: #0000005c;
    margin: 0px 0 22px 0;
    letter-spacing: 0.5px;
    text-align: left;
    z-index: 999;
}

/* Board title */
.board-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #484848;
    margin: 0 0 7px 0;
    line-height: 1;
    letter-spacing: -.4px;
}

/* Board description */
.board-description {
    font-size: 0.85rem;
    color: #7e7e7e;
    line-height: 1.1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-options-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #fff !important;
    color: #333 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    line-height: 1;
    text-align: center;
    padding: 0 !important;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    transition: background-color 0.2s ease-in-out;
}

.card-options-button:hover {
    background-color: #f0f0f0 !important;
}


/* Empty state */
.no-results {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}
#keyword-filter {
    background-color: #fff;
    height: 36px;
    /*padding: 10px 15px 10px 15px;*/
    border: 0px solid #ccc;
    border-radius: 6px;
}
.filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20140%20140%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M35%2050l35%2040%2035-40%27%20stroke%3D%27%23999999%27%20stroke-width%3D%2715%27%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E")
        no-repeat right 15px center;
    background-color: #fff;
    background-size: 15px 15px;
    /*padding: 10px 45px 10px 15px;*/

    /*padding-right: 36px;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 4px;*/
}
.debug-search-container {
    display: none;
}

/***********
Modal Fullscreen Preview - Compressed Native Card Style
***********/

#modal-board-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: inherit;
}

#modal-board-preview.visible {
    display: block;
}

.modal-inner {
    background-color: #fff;
    max-width: 750px;
    margin: 0 auto;
    border-radius: 8px;
    padding: 40px 25px 20px 25px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Close Button */
.modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    z-index: 100;
}

.modal-close-button:hover {
    color: #666;
}

/* Modal Title and Meta */
.modal-meta {
    margin: 0px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.modal-meta-content {
    flex: 1;
    min-width: 0; /* Prevents content overflow */
}

.modal-meta-actions {
    width: 200px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: transparent;
    margin: 0;
}

/* Move the View Board button away from top */
.modal-meta-actions .modal-link {
    margin: 20px 0 0 0;
    background: #808080;
    color: #ffffff;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem !important;
    text-transform: uppercase;
}

.modal-meta-title {
    font-size: 2rem;
    font-weight: 600;
    color: #484848;
    margin: 0px;
    line-height: 1;
    letter-spacing: -.5px;
    padding: 0 0 0 0;
}

.modal-meta-sub {
    font-size: .9rem;
    color: #909090;
    margin: 0px;
    letter-spacing: 0px;
}

.modal-meta-desc {
    font-size: 1rem;
    color: #6a6a6a;
    line-height: 1.2;
    margin: 6px 0 10px 0;
    padding: 0px 0 0 0;
    letter-spacing: -.4px;
}

/* Board Link */
.modal-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.modal-link:hover {
    background-color: #00a0d2;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Post and Media Cards */
.modal-posts {
    margin: 0px 0 10px 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #e0e0e0;
}

.modal-media {
    margin: 15px 0 0 0;
    padding-top: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    display:none;
}

.modal-post {
    background-color: #ffffff;
    padding: 15px 15px 15px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-post .post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #484848;
    margin-bottom: 6px;
    line-height: 1.1;
    letter-spacing: -.3px;
}

.modal-post .post-body {
    font-size: 0.85rem;
    color: #6a6a6a;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Media Item */
.modal-media-item {
    margin-bottom: 10px;
    padding: 12px;
    background-color: #f1f1f1;
    border-radius: 4px;
}

.modal-media-item a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
}

.modal-media-item a:hover {
    color: #004c99;
}

/* Post Attachments */
.post-attachments {
    margin: 0px;
    padding: 0px;
    border-top: 0px solid #e0e0e0;
}

.attachment-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 0;
    background-color: #b0c9d6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem !important;
    text-transform: uppercase;
}

.attachment-link:hover {
    background-color: #a2a2a2;
    color: #fff;
}

/* Loading and Error States */
.modal-loading {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-loading .sk-spinner {
    margin: 20px auto 10px;
    width: 70px;
    height: 20px;
}

.modal-error {
    color: #cc0000;
    font-weight: bold;
    text-align: center;
    padding: 30px 20px;
}

/* Lock scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 960px) {
    .modal-inner {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 600px) {
    #modal-board-preview {
        padding: 10px;
    }
    
    .modal-meta-desc,
    .modal-post .post-body,
    .modal-media-item a {
        font-size: 0.8rem;
    }
    
    .modal-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Loading spinner styles for native card view */
.loading-spinner {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner .sk-spinner {
    margin: 15px auto 10px;
    width: 70px;
    height: 20px;
}

.loading-spinner .sk-bounce1,
.loading-spinner .sk-bounce2,
.loading-spinner .sk-bounce3 {
    width: 16px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    margin: 0 3px;
}

.loading-spinner .sk-bounce1 {
    animation-delay: -0.32s;
}

.loading-spinner .sk-bounce2 {
    animation-delay: -0.16s;
}

.loading-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Gray dots loading spinner */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px auto;
}

.loading-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #aaa;
    animation: dots-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0s;
}

.modal-loading .loading-dots {
    margin-top: 20px;
    margin-bottom: 10px;
}

@keyframes dots-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content-wrapper {
        flex-direction: column;
    }
    
    .modal-right-container {
        width: 100%;
        padding: 15px;
    }
    
    .modal-link {
        width: 100%;
        text-align: center;
    }
    
    .modal-meta {
        flex-direction: column;
    }
    
    .modal-meta-actions {
        width: 100%;
        align-items: flex-start;
        margin-top: 15px;
    }
}

/* Section Titles for Posts and Media */
.modal-posts-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0px 0 0px 0;
    border-bottom: 0px solid #ddd;
    padding: 0 0 0 10px;
    letter-spacing: -.5px;
    text-align: right;
}

.modal-posts-subtitle {
    font-size: .8rem;
    color: #666;
    margin: -6px 0 10px 0;
    font-style: italic;
    letter-spacing: -.3px;
    padding: 0 0 0 8px;
    text-align: right;
}

.modal-media-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0px 0 0px 0;
    border-bottom: 0px solid #ddd;
    padding: 0 0 0 10px;
    letter-spacing: -.5px;
    text-align: right;
}

.modal-media-subtitle {
    font-size: .8rem;
    color: #666;
    margin: -6px 0 10px 0;
    font-style: italic;
    letter-spacing: -.3px;
    padding: 0 0 0 8px;
    text-align: right;
}
