/*
About this. These styles are part of the Canvas project @ LU, CALU.
This file and related information is version controlled @ https://git.lu.se/canvas/layout
In production this file should be named "LU_" followed by the current date. For example LU_20211209.css.
There also is a .js file that is needed in conjunction with this file.

All names with numbers (canvas122 for example) refer to Jira tasks in internal ticketing system.
To find the referenced issue, go to the url https://lundsuniversitetldc.atlassian.net/browse/CANVAS-XYZ where XYZ is the task number. In Jira tasks are named in a slightly different format than here. canvas122 => CANVAS-122
So in that example the link to the task is: https://lundsuniversitetldc.atlassian.net/browse/CANVAS-122
*/
@media all and (min-width: 901px) {
    .card__container {
        display: flex;
        flex-direction: row;
        margin: 1rem auto;
    }

    .col {
        flex-direction: column;
    }

    .col {
        padding: 0 15px;
    }
}

@media all and (max-width: 900px) {
    .col {
        flex-direction: column;
    }

    .card__container {
        margin: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
    }

    .col {
        padding: 15px 0;
    }
}

.card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.card__image {
    margin: .5rem;
}

.card__image img {
    width: 100%;
}

.card__body {
    margin: 1.25rem;
}

.card__body .body__header {
    color: #875e29;
}

.card__body .body__header h1,
.card__body .body__header h2,
.card__body .body__header h3,
.card__body .body__header h4 {
    font-family: Georgia, serif;
}

.card__wrapper {
    background-color: #f2f1f0;
    width: 100%;
    display: flex;
}

/*# Canvas-100 */
body.ic-framed-lti-tool .ic-Layout-contentMain {
    padding-top: 1px;
}

/*# Canvas-145 */
.lu-custom-gradebook-msg {
    width: 350px;
    height: 45px;
    background-image: url("https://shared.canvas.education.lu.se/images/Canvas-145-preliminary.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}




/*# Canvas-157 2020 */

/*When event details are shown after click hides buttons for edit and delete. If not an TimeEdit-event, reads buttons via .js that appends .notATimeEditEvent 
.event-details-footer
{
    min-height: 47px;
}
*/

.event-details-footer.timeEditEvent button {
    display: none;
}

/*calendar events below hides edit/delete bottons on reservations from TimeEdit */
.timeEditEvent a[href*="/calendar_events/"][href*="edit"],
.timeEditEvent a.delete_event_link[href*="/calendar_events/"] {
    display: none;
}


/*# End of Canvas-157 */


/*# Canvas-239 */
div.module_dnd {
    display: none;
}

/*# Canvas-251 */
.user_content,
.user_content img {
    max-width: 80ch;
}

/*# CALU-576 */
span:has(> a[href='https://lti-originality.inspera.com/production/eula']) {
    display: none;
}
