/* --------- CSS Overrides for Canvas --------- */

/* center background image on login page */

body.ic-Login-Body {
    background-position: center;
}

.list-view a.active {
    border-left: 2px solid #c94d02;
    color: #c94d02;
}

/* --------- End CSS Overrides for Canvas --------- */
/* --------- Custom CSS --------- */

/* Image styles */

.img-fluid {
    max-width: 100% !important;
    width: 100%;
    height: auto;
}

.img-thumbnail {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    max-width: 100%;
    height: auto;
}

/* Set vertical height to average for grid layout */

.flex-height {
    flex-grow: 1;
    flex-shrink: 1;
}

/* Grid Row Cards styles */

.grid-row-card {
    padding: 1rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    flex-shrink: 1;
    border: 1px solid #ccc;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/* Extended length of crosslist course input field TB */
#crosslist_course_form .formtable input#course_id {
	width: 275px !important;
}

#edit_section_form .course_form #course_section_sis_source_id, #edit_section_form #course_section_name {
	width: 300px !important;
}

#course_form .coursesettings #course_course_code, #course_form .coursesettings #course_name {
	width: 250px !important;
}

#copy_course_form .control-group .controls #course_name, #copy_course_form .control-group .controls #course_course_code {
	width: 500px;
}

@media (min-width: 992px) and (max-width: 1366px) {

    .grid-row-card {
        padding: .5rem;
    }

    div.grid-row-card h1,
    div.grid-row-card h2 {
        font-size: .7em;
        line-height: 1;
    }

    div.grid-row-card h3 {
        font-size: 1.1em;
        font-weight: bold;
    }
}

/* prevent display of 'un-enroll in this course' button on self-enroll courses */
a.btn.button-sidebar-wide.self_unenrollment_link {
    display: none !important;
}


/* --------- End Custom CSS --------- */