/**
 * Media list
 */
.media-action-button {
  display: inline-block;
  vertical-align: middle;
  font-weight: normal;
  cursor: pointer;
  padding: 8px 16px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #000;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #ccc;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none; }
  .media-action-button:hover {
    background-color: #f9423a;
    color: #fff; }

.uploader:first-child .media-action-button {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-right: 0; }
.uploader:last-child .media-action-button {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px; }

.list-wrapper {
  margin: 35px 0; }

.media-list {
  margin: 25px 0;
  padding: 0;
  list-style: none; }

.media-element {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  margin: 6px 0;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .media-element > * {
    max-width: 100%; }
  .media-element .thumbnail {
    width: 20%;
    height: 90px;
    overflow: hidden;
    text-align: center;
    position: relative; }
    .media-element .thumbnail img {
      vertical-align: center;
      max-width: 100%;
      height: auto;
      width: auto;
      position: relative;
      max-height: 100%;
      max-width: 100%; }
    .media-element .thumbnail .refresh-btn,
    .media-element .thumbnail .focus-btn {
      background-color: #444;
      background-image: url("../img/icon_focus.svg");
      background-size: 12px auto;
      background-position: center center;
      background-repeat: no-repeat;
      width: 18px;
      height: 18px;
      position: absolute;
      top: 4px;
      right: 4px;
      opacity: 0.75;
      border-radius: 2px;
      transition: 0.3s opacity; }
      .media-element .thumbnail .refresh-btn:hover,
      .media-element .thumbnail .focus-btn:hover {
        opacity: 1; }
    .media-element .thumbnail .refresh-btn {
      background-image: url("../img/icon_refresh.svg"); }
  .media-element .info {
    width: 70%;
    padding: 15px;
    background-color: #ffffff; }
  .media-element .delete,
  .media-element .drag-handle {
    background-repeat: no-repeat;
    background-position: center; }
  .media-element .delete {
    width: 5%;
    border-left: 1px solid rgba(68, 68, 68, 0.1);
    background-size: 35%;
    background-image: url("../img/icon_delete.svg"); }
  .media-element .delete:hover {
    background-image: url("../img/icon_delete_active.svg"); }
  .media-element .drag-handle {
    width: 5%;
    border-right: 1px solid rgba(68, 68, 68, 0.1);
    background-size: 50%; }
  .media-element.draggable .drag-handle {
    cursor: move;
    cursor: -webkit-grabbing; }
  .media-element.drag-ghost {
    opacity: 0.5;
    overflow: hidden; }
  .media-element.draggable .drag-handle {
    background-image: url("../img/icon_drag.svg"); }

/**
 * Add new
 */
.add-new {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row; }
  .add-new .title {
    width: 100%; }
  .add-new .uploader {
    text-align: center; }
  .add-new .upload-button {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
    padding: 5px 10px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    background-color: rgba(249, 66, 58, 0.7); }
  .add-new .upload-button:hover {
    background-color: #f9423a; }
  .add-new input[type="file"] {
    position: absolute;
    z-index: -1;
    visibility: hidden; }

/**
 * Modal
 */
.modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center; }
  .modal:not(.open) {
    display: none; }

.focus-modal,
.video-modal {
  background-color: #eee;
  padding: 25px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .focus-modal h3,
  .video-modal h3 {
    margin-bottom: 25px; }
  .focus-modal input,
  .video-modal input {
    width: 100%;
    margin-bottom: 15px;
    border: none;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
  .focus-modal input:focus,
  .video-modal input:focus {
    outline: none; }

.focus-modal h3 {
  margin-bottom: 8px; }

/* Image focus picker */
.focus_picker {
  position: relative;
  overflow: hidden;
  margin-bottom: 8px; }
  .focus_picker span {
    position: absolute;
    height: 14px;
    width: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(218, 90, 71, 0.7);
    display: block;
    border-radius: 15px;
    cursor: pointer;
    display: none; }
  .focus_picker img {
    display: block;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none; }

/*# sourceMappingURL=app.css.map */
