/* Copyright (c) 2012-2015 The TagSpaces Authors. All rights reserved. Use of this source code
 * is governed by a AGPL3 license that can be found in the LICENSE file. */

/* LOADING ANIMATION based on https://github.com/tobiasahlin/SpinKit
Licensed under MIT https://github.com/tobiasahlin/SpinKit/blob/master/LICENSE
*/
.loadingAnimation {
  width: 100%;
}

.loadingAnimation .spinner {
  margin: 15px auto 0;
  width: 70px;
  text-align: center;
}

.loadingAnimation .spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.loadingAnimation .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loadingAnimation .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.waitingAnimation {
  width: 100%;
}

.waitingAnimation .spinner {
  margin: 15px auto 0;
  width: 70px;
  text-align: center;
}

.waitingAnimation .spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.waitingAnimation .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.waitingAnimation .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
/* End LOADING ANIMATION */


/* TOGGLE SWITCH */
.onoffswitch {
    position: relative; width: 58px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #2e6da4; border-radius: 3px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    -moz-transition: margin 0.2s ease-in 0s; -webkit-transition: margin 0.2s ease-in 0s;
    -o-transition: margin 0.2s ease-in 0s; transition: margin 0.2s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 20px; padding: 0; line-height: 20px;
    font-size: 16px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #337ab7; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #F8F8F8; color: #666666;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 30px; margin: 0px;
    background: #FFFFFF;
    border: 1px solid #2e6da4; border-radius: 3px;
    position: absolute; top: 0; bottom: 0; right: 24px;
    -moz-transition: all 0.2s ease-in 0s; -webkit-transition: all 0.2s ease-in 0s;
    -o-transition: all 0.2s ease-in 0s; transition: all 0.2s ease-in 0s;
    background-image: -moz-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    background-image: -webkit-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    background-image: -o-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    background-image: linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
/* End TOGGLE SWITCH */

/* SELECT2 customizations */

.select2-results {
    font-size: 14px;
}

.select2-container {
  border: 1px solid #f4f4f4 !important;
}

.select2-search-choice-close {
    background-position: right -11px;
}

.select2-container-multi .select2-choices .select2-search-choice {
    margin: 3px;
    padding: 4px 4px 4px 15px !important;
    background: #008000 !important;
    color: white !important;
    border: 0;
    z-index: 9999;
    border-radius: 5px !important;
    text-decoration: none !important;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* End SELECT2 customizations */

/* bootstrap3xeditable customizations */
.editable-inline {
  margin-top: 5px;
  width: 99% !important;
}

.editable-inline input {
  font-size: 16px !important;
}

.editable-cancel {
  margin-right: 5px;
  margin-left: 0px !important;
  min-width: 50px;
}

.editable-submit {
  margin-left: 0px !important;
  min-width: 50px;
}

.editableform .form-control {
    width: 220px;
}
/* END bootstrap3xeditable customizations */

/* noty customizations */

#noty_bottomCenter_layout_container {
  bottom: 70px !important;
}

/* END noty customizations */
