.media-type {
  border: 1px solid transparent;
  position: relative;
}
.media-type.expanded {
  border: 1px solid #bbb;
  box-shadow: 0 2px 6px rgba(3,3,3,.2);
  margin-bottom: 3px;
}

.media-type .header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid #f5f5f5;
}
.media-type .header:hover {
  background-color: #edf8ff;
}
.media-type.expanded .header {
  border-bottom: solid 1px #bbb;
  background-color: #def3ff;
}

.media-type .header .name {
  flex-basis: 22%;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 5px;
}
.media-type .header .name > span {
  font-weight: 600;
  color: #333;
}
.media-type .header .name > span.fa {
  font-weight: normal;
  margin-right: 3px;
}
.media-type .header .name .icon-override {
  font-size: 16px;
  font-weight: normal;
  cursor: help;
  margin-right: 3px;
}

.media-type .header .type {
  flex-basis: 38%;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 15px;
}
.media-type .header .type:hover {
  color: #0088ce;
  cursor: pointer;
}
.media-type .header .examples {
  flex-basis: 38%;
}
.media-type .header .examples:hover {
  color: #0088ce;
  cursor: pointer;
}

.media-type .header .actions {
  flex-basis: 2%;
  text-align: center;
}

.media-type .header .actions .btn-override {
  position: absolute;
  right: 5px;
  top: 6px;
}

.media-type .header .actions > div .fa-ellipsis-v {
  visibility: hidden;
}
.media-type:hover .header .actions > div .fa-ellipsis-v {
  visibility: visible;
}

.media-type .header > .selected {
  margin-bottom: -4px;
  border-bottom: 2px solid #0088ce;
  color: #0088ce;
}

.media-type .body {
  position: relative;
  padding: 15px;
}
.media-type .body .close {
  position: absolute;
  right: 10px;
  top: 5px;
}

.media-type .body .mt-examples .form-label {
  font-weight: 600;
  margin-top: 0px;
}

.media-type .body span.strong {
  font-weight: 600;
}

.media-type .body .mt-type {
  margin-bottom: 10px;
}


.media-type .mt-examples table {
  margin-bottom: 3px;
}
.media-type .mt-examples table td {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-type .mt-examples table td.name {
  width: 30%;
}
.media-type .mt-examples table td.value {
  width: 60%;
}
.media-type .mt-examples table td.actions {
  width: 10%;
}

.media-type .mt-examples a {
  cursor: pointer;
}

.media-type .type > .fa,
.media-type .examples > .fa {
  margin-right: 2px;
}
