/* eslint-disable */

/* *,
*::before,
*::after {
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
} */
* {
  /* margin: 0; */
  /* padding: 0; */
  /* font-display: auto; */
}

#__next {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 650px) {
  #__next {
    height: auto;
  }
}

html {
  margin-right: 0;
}

body {
  height: 100%;
}

input[type=file], /* FF, IE7+, chrome (except button) */
input[type=file]::-webkit-file-upload-button {
  /* chromes and blink button */
  cursor: pointer;
}

input::-webkit-credentials-auto-fill-button {
  background-color: #a9a9a8;
  transform: translateY(-8px);
}
input::-webkit-contacts-auto-fill-button {
  background-color: #a9a9a8;
  transform: translateY(-8px);
}

.flex-justify {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* REACT CROP STYLES */
.ReactCrop__image {
  display: block;
  max-width: 100%;
  max-height: fill-available;
  min-width: 126px;
  width: 100%;
}
.ReactCrop {
  margin: 0 auto;
}
.ReactCrop--circular-crop .ReactCrop__crop-selection {
  box-shadow: 0px 0px 1px 1px #fff, 0 0 0 9999em rgba(0, 0, 0, 0.7) !important;
}

/* SORTABLEJS STYLES */
.draggable-item {
  z-index: 99999;
}
.sortable-fallback {
  opacity: 0 !important;
}

/* OTHER STYLES */
.MuiCircularProgress-circleDeterminate {
  transition: stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1) 0ms !important;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* PROGRESS BAR */
#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #32e388;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

/* Fancy blur effect */
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #32e388, 0 0 5px #32e388;
  opacity: 1;

  -webkit-transform: rotate(3deg) translate(0px, -4px);
  -ms-transform: rotate(3deg) translate(0px, -4px);
  transform: rotate(3deg) translate(0px, -4px);
}

/* Remove these to get rid of the spinner */
#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

.spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;

  border: solid 2px transparent;
  border-top-color: #32e388;
  border-left-color: #32e388;
  border-radius: 50%;

  -webkit-animation: nprogress-spinner 400ms linear infinite;
  animation: nprogress-spinner 400ms linear infinite;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;

  border: solid 2px transparent;
  border-top-color: #32e388;
  border-left-color: #32e388;
  border-radius: 50%;

  -webkit-animation: nprogress-spinner 400ms linear infinite;
  animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
  position: absolute;
}

@-webkit-keyframes nprogress-spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes nprogress-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.MuiPickersYearSelection-container {
  height: auto !important;
  max-height: 300px;
}

/* https://github.com/ckeditor/ckeditor5/issues/7328 */
.ck-rounded-corners .ck.ck-balloon-panel,
.ck.ck-balloon-panel.ck-rounded-corners {
  z-index: 10000000000000 !important;
}

.ck.ck-responsive-form {
  padding: 8px !important;
}
.ck-rounded-corners .ck.ck-balloon-panel,
.ck.ck-balloon-panel.ck-rounded-corners {
  border: none;
  border-radius: 8px !important;
}
.ck-rounded-corners .ck.ck-input-text,
.ck.ck-input-text.ck-rounded-corners {
  box-shadow: none;
}
.ck.ck-balloon-panel[class*='arrow_n']:before {
  border-bottom-color: transparent !important;
}

.lesson-animation {
  -webkit-animation: lesson-animation 200ms linear;
  animation: lesson-animation 200ms linear;
}

@keyframes lesson-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}

.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 80%
  );

  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  from {
    transform: scale(1);
  }
  to {
    transform: translateX(100%);
  }
}

.spinnerLeft {
  animation: scaleLeft 1s infinite linear;
}

@keyframes scaleLeft {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.spinnerRight {
  animation: scaleLeft 1s 0.5s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateFast {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.rotate {
  transform-origin: center;
  animation: rotate 3.5s infinite cubic-bezier(0.2, 0.6, 0.7, 1);
}

.rotateFast {
  transform-origin: center;
  animation: rotateFast 1s infinite cubic-bezier(0.2, 0.6, 0.7, 1);
}

@keyframes colorWhite {
  0% {
    fill: #fff;
  }
  50% {
    fill: #9d70ff;
  }
  100% {
    fill: #fff;
  }
}

.colorWhite path {
  animation: colorWhite 0.5s infinite linear;
}

@keyframes colorPurple {
  0% {
    fill: #9d70ff;
  }
  50% {
    fill: #fff;
  }
  100% {
    fill: #9d70ff;
  }
}

.colorPurple path {
  animation: colorPurple 0.5s infinite linear;
}
