body {
  padding: 5px 20px;
  background-color: rgb(240, 240, 240);
}

.page-header {
  margin-top: 15px;
  border-bottom: 1px solid rgb(210, 210, 210);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-header h1 {
  margin-top: 0;
}

.left h4 {
  cursor: pointer;
  display: inline-block;
}

.mainBody {
  display: flex;
  flex-direction: row;
}

.mainBody .left {
  width: 475px;
  min-width: 475px;
  margin-right: 30px;
}

.mainBody .right {
  width: 100%;
}

.mainBody .section {
  border-bottom: 1px solid rgb(210, 210, 210);
  padding-bottom: 10px;
}

.mainBody .section .group {
  margin: 5px 0;
}

.mainBody .section .group.idTypes .btn {
  text-transform: uppercase;
  font-size: 13.5px;
  padding: 5px 11px;
}

.mainBody .section .group.idTypes .id-group {
  margin: 3px 0;
  display: flex;
  justify-content: center;
}

.mainBody .section.request_history {
  position: relative;
}

.mainBody .section.request_history .clear-history {
  position: absolute;
  top: 9px;
  right: 7.5px;
  font-size: 21px;
  cursor: pointer;
}

.mainBody .section.request_history .requests .btn {
  display: block;
  margin: 1px 0;
  width: 91%;
  white-space: initial;
}

.mainBody .section.request_history .requests .btn.download {
  width: 9%;
  font-size: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2px;
}

.mainBody .section.request_history .requests .btn-group {
  display: flex;
}

.imdb_search .clear .glyphicon {
  position: absolute;
  top: 6px;
  right: 80px;
  font-size: 21px;
  cursor: pointer;
  z-index: 5;
  opacity: 0.4;
}

.imdb_search .clear.active .glyphicon {
  opacity: 0.8;
}


.imdb_search .clear .glyphicon:hover {
  opacity: 1;
}

.imdb_search.section .input-group input.form-control {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.imdb-results {
  opacity: 0;
  transition: opacity 400ms ease-in-out;
  position: absolute;
  width: 80%;
  left: 0;
  top: 41px;
  z-index: 5;
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow: 0px 1px 10px 0px black;
  margin-left: 2%;
  padding: 10px;
}

.imdb-results.show {
  opacity: 1;
}

.imdb-results.loading {
  min-height: 161px;
}

.imdb-results .arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: rgba(0, 0, 0, 0);
  border-style: solid;
  top: -7px;
  left: 50%;
  margin-left: -5px;
  border-width: 0 7px 7px;
  border-bottom-color: rgb(255, 255, 255);
}

.imdb-results .result {
  display: flex;
  transition: background-color 0.1s ease-in-out;
  cursor: pointer;
}

.imdb-results .result:hover {
  background-color: rgb(235, 235, 235);
}

.imdb-results .result img {
  height: 60px;
  min-width: 41px;
  width: 41px;
  background-image: url(http://i.media-imdb.com/images/mobile/film-40x54.png);
  background-size: 100% 100%;
}

.imdb-results .result > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.imdb-results .result > div .name {
  font-weight: bold;
}

.bulk_find textarea {
  font-size: 12px;
}

.devdb {
  display: flex;
  align-items: center;
  padding: 2px 6px;
}

.devdb input {
  cursor: pointer;
  margin: 0;
  margin-right: 8px;
  height: 25px;
  width: 25px;
}

.devdb label {
  cursor: pointer;
  margin: 0;
}

.url-input {
  width: 645px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.url-input label {
  min-width: 52px;
  margin: 0;
  margin-right: 6px;
}

.url-input input {
  width: 100% !important;
}

.no-url-alert {
  max-width: 500;
}

.loader,
.loader:before,
.loader:after {
  background: #00dc89;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #00dc89;
  text-indent: -9999em;
  margin: 42px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0) scale(0.9);
  -ms-transform: translateZ(0) scale(0.9);
  transform: translateZ(0) scale(0.9);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

div.jsoneditor {
  height: calc(100% - 200px) !important;
}

.episodes_list .input-group {
  font-family: monospace;
}

.episodes_list .search-button {
  margin-top: 10px;
  text-align: right;
}

.episodes_list .input-group-addon.btn.dropdown-toggle {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.btn[disabled] {
  opacity: 0.5;
}