
/* video editor */
/*body { padding: 20px 0; background: url("../img/bg.png") rgb( 204, 209, 217); }*/
@font-face {
  font-family: "allison";
  src: url("/assets/fonts/Allison-Regular.ttf");
}

@font-face {
  font-family: "futura";
  src: url("/assets/fonts/futura-normal.ttf");
}

@font-face {
  font-family: "indieflower";
  src: url("/assets/fonts/IndieFlower-Regular.ttf");
}

@font-face {
  font-family: "roboto";
  src: url("/assets/fonts/Roboto-Regular.ttf");
}

body {
    background: #151a30;
    color: #fff;
}
@media screen and (max-width: 568px) {
    body { padding: 0; }
    body > .container { margin: 0; padding: 0; }
    body > .container > .card { border: 0; border-radius: 0; }
}
.big { font-size: 120%; }
.small { font-size: 80%; }
.code { max-height: 500px; padding: 5px; overflow: auto; background-color: #eee; }
.btn[disabled] { cursor: not-allowed; color: #fff; background-color: #6c757d; border-color: #6c757d; }
.shadow-1 { box-shadow: 0 0 10px rgba(0,0,0,0.5); }

video,
audio {  width: 100%; background-color: #ddd; box-sizing: content-box; }

/* logo */
.logo { color: #0046ae; font-size: 20px; }
.logo img { width: auto; height: 35px; }
.logo a { text-decoration: none; }

/* colors */
.bg-white { background-color: #fff; }
.color-blue { color: #236bf1; }
.color-red { color: #f13d2a; }

/* common */
.no-margin { margin: 0 !important; }
.no-wrap { white-space: nowrap; }
.show-on-hover-parent { position: relative; }
.show-on-hover { position: absolute; top: 10px; right: 10px; display: none; }
.show-on-hover-parent:hover .show-on-hover { display: block; }
.card-default { background-color: #F5F5F5; }
.display-inline-block { display: inline-block; }
.btn { cursor: pointer; }
.text-ellipsis { display: block; text-align: left; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.max-height300 { max-height: 300px; overflow: auto; }
.relative { position: relative; }
.position-absolute { position: absolute; }
.pos-absolute-left { left: 15px; top: 15px; }
.pos-absolute-right { right: 15px; top: 15px; }
.pos-absolute-bottom-left { left: 15px; bottom: 15px; }

/* login */
.card-login { margin-top: 150px; }
.card-login form { margin-bottom: 0; }

/* margins */
.margin-top { margin-top: 1rem; }
.margin-bottom { margin-bottom: 1rem; }
.margin-vert { margin-top: 1rem; margin-bottom: 1rem; }
@media screen and (max-width: 768px) {
    .margin-bottom-md { margin-bottom: 1rem; }
}

/* button */
.btn:not(.btn-link) { transition: box-shadow 0.3s ease; }
.btn:not(.btn-link):hover { box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.btn[class*="-outline"] { transition: background-color 0.3s ease; }
.btn-icon [class^="icon-"] { line-height: 1.4rem; }
.btn-smp { padding: 0.6rem 1.5rem; }

/* form fields */
.form-control[type="text"],
.form-control[type="email"],
.form-control[type="number"],
.form-control[type="password"],
textarea.form-control { background-color: #f1f1f1; box-shadow: inset 0 0 5px rgba(0,0,0,0.1); }
textarea.form-control:focus { background-color: #f1f1f1; }
input[type="range"] { width: 100%; padding: 0; }
.input-range { padding: 7px; border: 1px solid #ddd; border-radius: 4px; }

/* dropdown-menu */
.dropdown-menu { box-shadow: 0 0 10px rgba(0,0,0,0.3); }

/* editor-player */
.wve-editor-player { position: relative; background-color: #000; }
.wve-editor-player video { width: 100%; height: 360px; }
.wve-editor-player-panel { position: absolute; left: 0; bottom: 0; width: 100%; padding: 5px 20px; background-color: rgba(0,0,0,0.5); color: rgba(255,255,255,0.7); opacity: 1; transition: opacity 300ms; }
.wve-editor-player .time { float: right; }
.wve-editor-player .time-current { float: left; }
.wve-editor-player:hover .wve-editor-player-panel { opacity: 0; }

/* list-group */
.list-group {  }
.list-group .list-group-item.active .btn-link { color: #fff; }
.list-group .list-group-item .btn-link { max-width: 100%; padding: 0; overflow: hidden; text-overflow: ellipsis; }
.list-group-item a,
.list-group-item .btn-link { text-decoration: none; }

/* editor-timeline */
.editor-timeline-wrapper { position: relative; margin-top: 30px; }
#wve-timeline { position: relative; width: 100%; height: 8px; z-index: 11; overflow: hidden; background: none transparent; border: 0; }
#wve-timeline .ui-slider-handle { z-index: 12; width: 12px; height: 20px; top: 0; margin-left: -6px; margin-top: 0; background: none transparent; border: 0; outline: none; }
#wve-timeline .ui-slider-handle:before { content: ''; display: block; position: absolute; top: 0; left: 50%; margin-left: -5px; width: 0; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: #000000 transparent transparent transparent; }
#wve-timeline .ui-slider-handle:after { content: ''; display: block; position: absolute; bottom: 0; left: 50%; margin-left: -5px; width: 0; height: 0; border-style: solid; border-width: 0 5px 6px 5px; border-color: transparent transparent #000000 transparent; }

#wve-timeline-range { position: absolute; left: 0; top: 5px; width: 100%; height: 8px; z-index: 12; border: 1px solid rgba(0,0,0,0.2); background: none #eee; border-radius: 0; box-shadow: none !important; }
.noUi-base {
    background: white;
}
#wve-timeline-range .noUi-connect { background: green; }
.noUi-horizontal .noUi-origin { z-index: 10 !important; }
.noUi-horizontal .noUi-connects:first-child + .noUi-origin { z-index: 5 !important; }
.noUi-horizontal .noUi-handle.noUi-handle-lower { height: 20px; border: 0; top: -6px !important; background: none transparent; box-shadow: none; }
.noUi-horizontal .noUi-handle.noUi-handle-lower:before { content: ''; display: block; position: absolute; top: 0; left: 50%; margin-left: -5px; width: 0; height: 0; border-style: solid; border-width: 6px 5px 0 5px; border-color: #000000 transparent transparent transparent; background-color: transparent; }
.noUi-horizontal .noUi-handle.noUi-handle-lower:after { content: ''; display: block; position: absolute; bottom: 0; top: auto; left: 50%; margin-left: -5px; width: 0; height: 0; border-style: solid; border-width: 0 5px 6px 5px; border-color: transparent transparent #000000 transparent; background-color: transparent; }

/* btn-group-justified */
.btn-group-justified { display: flex; width: 100%; }
.btn-group-justified .btn,
.btn-group-justified .btn-group { flex: 1; }
.btn-group-justified .btn { width: 100%; }

/* progress bar */
.progress { border: 1px solid rgba(0,0,0,0.2); }

/* preloader */
.wve-preloader { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1111; background-color: rgba(0,0,0,0.5); }
.wve-preloader-inner { position: absolute; top: 50%; left: 50%; margin: -70px 0 0 -150px; width: 300px; max-width: 100%; z-index: 1112; padding: 15px; background-color: #fff; border-radius: 6px; }
.wve-preloader-caption { padding: 0 0 15px 0; text-align: center; }
.wve-preloader-content { height: 20px; background: url("../img/preloader.gif") center center no-repeat; }
.wve-preloader-progress {  }
.wve-preloader-progress .progress { border: 1px solid #b1b1b1; }
.wve-preloader-progress .progress-bar { width: 0; height: auto; overflow: hidden; padding: 2px 0 0 0; }
.wve-preloader-progress .progress-bar-empty { padding-top: 20px; }

/* bottom-list-container */
.bottom-list-container { max-height: 338px; overflow: auto; }
.bottom-list-container td { min-width: 150px; }

/* episode-item */
.wve-episode-container { margin: 0; padding: 0; min-height: 150px; }
.episode-item { float: left; margin-top: 15px; padding: 15px 5px; background: url("../img/bg_film2.png") repeat-x; }
.episode-item > .card { border-color: rgba(0,0,0,.7); background: url("../img/preloader_circle.gif") no-repeat center center transparent; opacity: 1; overflow: hidden; }
.episode-item .card-block { min-height: 80px; background: none no-repeat center center transparent; background-size: cover; }
.episode-item > .card:hover { background-image: none; }
.episode-item > .card:hover .card-block { opacity: 0.3; }

/* video-thumbnail */
.video-thumbnail { min-height: 150px; background: #eee url("../img/icon_film.png") center center no-repeat; }

/* wve-time-selected-inputs */
#wve-time-selected-inputs { width: 340px; position: absolute; left: 0; top: -56px; display: none; }
#wve-time-selected-inputs .card-block { background-color: #b6b6b6; }
#wve-time-selected-inputs .card-block input.form-control { background-color: #a5a5a5; color: #fff; }
#wve-time-selected-inputs .card-block input.form-control:focus,
#wve-time-selected-inputs .card-block input.form-control:active { border-color: #6f6f6f; }

#wve-list_output .overlay {
    transition: transform .5s;
    width: 320px;
    height: 180px;
}

#wve-list_output .video-overlay:hover .overlay {
  transform: scale(1.2);
  opacity: 0.2;
}

.video-overlay .playWrapper {
  opacity: 0;
  position: absolute; z-index: 1;
  top: 0;
  width: 90%; height: 80%;
  background: rgba(0,0,0,0) url("http://wptf.com/wp-content/uploads/2014/05/play-button.png") no-repeat scroll center center / 50px 50px;
  cursor: pointer;
}

.playWrapper .playBtn {
  position: absolute; z-index: 2;
  width: 75px; height: 75px;
  left: 0; right: 0; top: 0; bottom: 0; margin: auto; /* center */
}

.video-overlay:hover .playWrapper {
  opacity: 1;
}

.playBtn:hover {
  cursor: pointer;
}

.main-content {
    margin-top: 100px;
}


.header {
    height: 75px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid #f4f4f4;
    background: #fff;
    padding: 0 10px;
    z-index: 1000;
    background-color: #222b45;
    border-bottom-color: #323a5f;
    -webkit-transition: margin-left .25s,opacity .25s,-webkit-transform .25s;
    -o-transition: margin-left .25s,opacity .25s,-o-transform .25s;
    transition: margin-left .25s,opacity .25s,transform .25s;
}

.header .logo {
    text-align: center;
    padding: 3px 15px;
    float: left;
}

.header .topbar {
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.shadow {
    background: #222b45;
}

.navbar.fixed-bottom {
    background: #1e3799 !important;
}

#navbarToggle .navbar-nav {
    width: 100%;
}

#navbarToggle .navbar-nav > .nav-item {
    margin: 0 20px;
}

#navbarToggle .menu-icon {
    text-align: center;
    color: white;
    margin-right: 15px;
}

#navbarToggle .menu-desc {
    font-size: 0.75rem;
    color: white;
}

.overlay .time {
    display: block;
    position: absolute;
    margin-top: -28px;
    float: right;
    z-index: 999;
    background: red;
    padding: 2px 10px;
    font-size: 0.8rem;
    background: #ffc107;
}

.video-title {
    font-size: 1.5rem;
    display: block;
    overflow: none;
}

.video-date {
    font-size: 0.8rem;
}

#controls button[disabled] {
    opacity: 0.3;
}

.noUi-horizontal .noUi-handle {
    width: 15px;
    height: 15px;
    right: -4px;
    top: -4px;
    border-radius: 50%;
    background: green;
    cursor: pointer;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.noUi-handle:after, .noUi-handle:before {
    content: none;
}

.slider-time {
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 100%;
    font-family: monospace;
    margin-bottom: 4px;
    white-space: nowrap;
    background-color: #20b426;
    color: #fff;
    right: -48px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.slider-time::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -4px;
    border: 4px solid transparent;
    border-top-color: #20b426;
}

.modal-content, .wve-preloader-caption {
    color: black;
}

#wve-episode-container-inner label, #wve-list_input label {
  padding: 0px;
  display: block;
  position: relative;
  margin: 0px;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#wve-list_input span.active label {
    border: 1px solid #fff;
}

#wve-episode-container-inner label {
    border: none;
}

#wve-episode-container-inner label::before, #wve-list_input label::before {
  background-color: white;
  color: white;
  content: " ";
  display: block;
  border-radius: 50%;
  border: 1px solid grey;
  position: absolute;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 28px;
  transition-duration: 0.4s;
  transform: scale(0);
  z-index: 999;
}

#wve-episode-container-inner label img, #wve-list_input label img {
  height: 94px;
  width: 168px;
  transition-duration: 0.2s;
  transform-origin: 50% 50%;
}

#wve-episode-container-inner label img {
    height: 80px;
}

#wve-episode-container-inner span.active label, #wve-list_input span.active label {
  border-color: #0062cc;
}

#wve-episode-container-inner span.active label::before, #wve-list_input span.active label::before {
  content: "✓";
  background-color: #0062cc;
  transform: scale(1);
}

#wve-episode-container-inner span.active label img, #wve-list_input span.active label img {
  transform: scale(0.9);
  box-shadow: 0 0 5px #0062cc;
  z-index: -1;
}

#wve-list_input {
    padding: 0;
    max-height: 370px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-footer {
    border-top: none;
}

.modal-footer .js-button-submit {
    width: 100%;
}

.modal-header .close {
    padding: 0.5rem;
}

.modal-title {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    font-weight: bold;
}

.modal-header {
    border-bottom: none;
}

#rotate_slider, #crop_div {
    display: none;
    position: absolute;
    top: 44px;
    height: 80px;
    width: 301px;
    background: #212529;
    padding: 10px;
}

#rotate_range {
    cursor: pointer;
}

@media (max-width: 576px){.modal-dialog.modal-dialog-slideout {width: 80%}}
.modal-dialog-slideout {min-height: 100%; margin: 0 auto 0 0 ;background: #fff;}
.modal.fade .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(-100%,0);transform: translate(-100%,0);}
.modal.fade.show .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(0,0);transform: translate(0,0);flex-flow: column;}
.modal-dialog-slideout .modal-content{border: 0; background: #2f3640; color: white;}

span.filter-title {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.modal-btn-section {
    padding: 40px;
}

.modal-btn-section .btn-success {
    width: 100%;
}


#filtermodal .input-hidden, #fontmodal .input-hidden {
  position: absolute;
  left: -9999px;
}

#filtermodal input[type=radio]:checked + label>img, #fontmodal input[type=radio]:checked + label>.font_cls {
  border: 1px solid #fff;
  box-shadow: 0 0 3px 3px #090;
}

/* Stuff after this is only to make things more pretty */
#filtermodal input[type=radio] + label>img {
  border: 1px dashed #444;
  width: 200px;
  height: 200px;
  transition: 500ms all;
  cursor: pointer;
}

#fontmodal input[type=radio] + label, #episode_text {
    width: 100%;
}

#fontmodal input[type=radio] + label>.font_cls {
  border: 1px dashed #444;
  transition: 500ms all;
  cursor: pointer;
  padding: 10px;
  font-size: 36px;
  display: block;
}

#filtermodal input[type=radio]:checked + label>img, #fontmodal input[type=radio]:checked + label>.font_cls {
  transform: 
    rotateZ(-10deg) 
    rotateX(10deg);
}

#modalFilter .modal-content {
    padding: 0 20px;
}

.episode-font {
    width: 100%;
    height: 60px;
    margin: 20px;
    display: block;
    text-align: center;
}

#fontmodal .modal-dialog-slideout .modal-content {
    padding: 0 20px;
}

#page_videomaker .card, #page_useredit .card {
    background: #2f3640;
}

.card {
    border: none;
}

#fontmodal  textarea {
    width: 100%;
}

#page_videomaker .btn, #page_videomaker .btn:hover {
    color: white;
}

.plyr--video {
    width: 800px;
}

.wve-editor-player .plyr--video {
    position: absolute;
    height: 360px;
    z-index: 999;
}

#wve-list_input > div.col-md-3 > span > label {
    width: 170px;
    height: 96px;
}

#wve-list_input > div.col-md-3 {
    margin-bottom: 15px;
}

#canvas-container {
    position: absolute;
    height: 360px;
    width: calc(100% - 40px);
    z-index: 1000;
    display: none;
}


#annotation_div {
    display: none;
    background: white;
    padding: 10px 30px;
    height: 190px;
    position: absolute;
    color: black;
    top: 35px;
}

.alert.alert-danger, .alert-info {
    z-index: 1000;
    color: #000;
}

#table_pagination {
    margin: 20px auto 10px;
}

#episode-tools, #episode_undo, #episode_redo, #btn_create_video, #media_delete, #take-episode {
    display: none;
}

#wve-list_input span.audio {
      line-height: 96px;
    text-align: center;
    font-size: 40px;
    display: block;
}

#wve-list_input span.title {
    margin-top: -18px;
    position: absolute;
}
