/* ----------------------------------
         GENERIC DEFAULTS
---------------------------------- */
.loading_no_scrolling {
  overflow-y: hidden !important;
  height: 100vh;
  max-height: 100vh;
}

@media only screen and (max-width: 1024px) {
    #course_wrapper {
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }
}



/* ----------------------------------
            PRELOADER
---------------------------------- */
#preloader {
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 600;
}

@keyframes loader {
  0%, 10%, 100% {
    width: 5em;
    height: 5em;
  }
  65% {
    width: 9.375em;
    height: 9.375em;
  }
}
@keyframes loaderBlock {
  0%, 30% {transform: rotate(0);}
  55% {background-color: var(--main-color-dark);}
  100% {transform: rotate(90deg);}
}
@keyframes loaderBlockInverse {
  0%, 20% {transform: rotate(0);}
  55% {background-color: var(--main-color-light);}
  100% {transform: rotate(-90deg);}
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5em;
    height: 5em;
    transform: translate(-50%, -50%) rotate(45deg) translate3d(0, 0, 0);
    animation: loader 1.2s infinite ease-in-out;
}
.loader span {
    position: absolute;
    display: block;
    width: 2.53125em;
    height: 2.53125em;
    background-color: var(--accent-color-secondary);
    animation: loaderBlock 1.2s infinite ease-in-out both;
}
.loader span:nth-child(1) {
    top: 0;
    left: 0;
}
.loader span:nth-child(2) {
    top: 0;
    right: 0;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
}
.loader span:nth-child(3) {
    bottom: 0;
    left: 0;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
}
.loader span:nth-child(4) {
    bottom: 0;
    right: 0;
}