/*
 * Copyright (C) 2013 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import 'base/environment';

.form-inline label {
  margin: 0;
}
.form-inline input, .form-inline button {
  margin-#{direction(left)}: 0.5em;
}
#course_summaries {
  margin: 0;
}
.course_summary {
  display: inline-block;
  height: 190px;
  overflow: hidden;
  margin: 0.5em;
  position: relative;
}
.course_text {
  display: block;
  position: absolute;
  top: 0; #{direction(left)}: 0; bottom: 0; #{direction(right)}: 0;
  color: #333;
}
.course_text:hover {
  background-color: #cde;
}
h3 {
  font-size: 1.2em;
  line-height: normal;
  margin: 0;
  a, a:hover {color: #fff; text-decoration: none;}
}
p {
  margin: 0.25em 0;
}
.course_enrollment_link {
  position: absolute;
  bottom: 3px;
  #{direction(right)}: 3px;
}
