.course_name {
  line-height: 30px;
  padding-left: 30px;
}
.course_name:first-child {
  margin-top: 10px;
  padding-left: 30px;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
}
.course_name .checkbox-pretty {
  margin-left: -30px;
}
input.course_check {
  margin: 0 5px 0 5px;
}
.course_name .glyphicons:before {
  padding: 6px;
}
.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}
.badge-success {
  background-color: #5cb85c;
}
.badge-danger {
  background-color: #d9534f;
}

.badge-dark {
  background-color: #747474;
  color: #FFFFFF
}
.pages .question-show {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  margin: 0;
  padding: 5px 10px 15px 5px;
}
.page-options .question-show:not(:last-child) {
  border-bottom: 1px solid #ddd !important;
  margin-bottom: 5px !important;
}

.question-show {
  background-color: #f0f0f0;
  border: 1px solid #dddddd;
  border-radius: 4px;
}
.course_name_edit { width: calc(100% - 30px); }
.course_name_edit input { width: calc(100% - 60px); }
.course_name_edit .editable-field {
  width: 100%;
  display: block;
}
.editable-field {
  display: inline-block;
  position: relative;
}
.course_name [name$="[places_enabled]"] { display: none; }
.places_enabled_false .places_enabled { background-color: grey; }
.places_enabled_false .places_enabled:after,
.places_enabled_true .places_enabled:after {
  font-family: "Glyphicons Regular";
  font-size: 12px;
  margin-left: 2px;
}
.places_enabled_false .places_enabled:after { content: "\E433"; }
.places_enabled_true .places_enabled:after { content: "\E207"; }
.editable-field select,
.editable-field input {
  font: inherit;
  color: inherit !important;
  margin: 0 !important;
}
input.datepicker { width: 100px }
.page-filters { display: none; }
input.invalid { border: 1px solid red !important; }
.course_name.flex{
  display: flex;
}
.course_name .course_nummber{
  width: 180px;
}

.course_name.text_enrolment{
  color: #ff0000;
}
.course_name .flex_auto{
  flex: 1 1 auto;
  width: 1px;
}
.second-line{
  display: flex;
  align-items: center;
}
.second-line .glyphicons{
  margin-top: 2px;
}
.second-line .location{
  position: relative;
  padding-right: 30px;
  flex: 1 1 auto;
  margin-right: 12px;
}
.second-line .location select{
  width: 100%;
}
.second-line .location .glyphicons{
  position: absolute;
  top: 0px;
  right: 0px;
}

.disallowed-enrollment-course{
  background-color: #F0F0F0 !important;
  border-radius: 4px;
  background: rgba(225, 0, 0, 0.8);
  border-style: groove;
  color: grey;
  border: 1px solid grey !important;
}
