#preloader {
    width: 100vw;
    height: 100vh;
    transform: scale(1);
    z-index: 2450;
}

.preloaderBackground #splash-screen {
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: contain;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.animationInClass {
    animation: fadeIn 1s forwards;
}

.animationOutClass {
    animation: fadeOut 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* --- Loading bar--- */

.meter-wrap {
    position: absolute;
    height: 6px;
    top: 10vh;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto auto;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.meter-wrap-bg-container,
.meter-bg-container {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.meter-bg-container {
    position: relative;
}

.meter-bg-container::after {
    content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    left: -3px;
    right: 0;
    bottom: 0;
    background: grey;
    border-radius: 3px;
    -webkit-animation: gradient-anim 1s ease infinite;
    -moz-animation: gradient-anim 1s ease infinite;
    -o-animation: gradient-anim 1s ease infinite;
    animation: gradient-anim 1s ease infinite;
}

.meter-wrap-bg-left,
.meter-wrap-bg-bar,
.meter-wrap-bg-right {
    background-color: grey;
    border-bottom: 0px solid #FFF;
    border-top: 0px solid #FFF;
    position: relative;
    float: left;
    height: 100%;
    top: -100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.meter-wrap-bg-left {
    border-left: 0px solid #FFF;
    width: 3px;
    right: 3px;
    -moz-border-radius: 12px 0px 0px 12px;
    -webkit-border-radius: 12px 0px 0px 12px;
    border-radius: 12px 0px 0px 12px;
    height: 100%;
    top: 0px;
}

.meter-wrap-bg-bar {
    position: relative;
    float: left;
    width: 100%;
}

.meter-wrap-bg-right {
    -moz-border-radius: 0px 12px 12px 0px;
    -webkit-border-radius: 0px 12px 12px 0px;
    border-radius: 0px 12px 12px 0px;
    border-right: 0px solid #FFF;
    width: 3px;
    margin-right: -3px;
    height: 100%;
    top: -6px;
}

.meter-value {
    height: 6px;
    overflow: visible;
    margin: 0;
    width: 0;
}

.meter-bg-left,
.meter-bg-bar,
.meter-bg-right {
    background-color: #FFF;
    position: relative;
    float: left;
    height: 100%;
    top: -100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.meter-bg-left {
    width: 3px;
    right: 3px;
    height: 100%;
    top: 0px;
    -webkit-border-radius: 3px 0px 0px 3px;
    border-radius: 3px 0px 0px 3px;
}

.meter-bg-right {
    width: 3px;
    height: 100%;
    margin-right: -3px;
    -webkit-border-radius: 0px 3px 3px 0px;
    border-radius: 0px 3px 3px 0px;
}

.meter-bg-bar {
    position: relative;
    float: left;
    width: 100%;
}

.meter-text-value {
    display: none;
    visibility: hidden;
}

#preLoaderProgress {
    width: 1%;
}

.disclaimer {
    bottom: 0px;
    top: 68vh;
}


/* --- Orientation overrides --- */

@media (orientation: portrait) {
    #preloaderBackground {
        background-size: 60vw;
        background-position-y: calc(50% - 10vw);
    }
    .meter-wrap {
        top: 30vh;
        width: 70vw;
    }
}

@media (orientation: landscape) {
    #preloaderBackground {
        background-size: cover;
        background-position-y: calc(50% - 10vh);
        height: 100%;
        overflow: hidden;
    }
    .meter-wrap {
        top: 30vh;
        width: 70vh;
    }
    .preloaderBackground #splash-screen {
        top: -70px;
    }
}


/* iPhone 5 and SE */

@media screen and (device-aspect-ratio: 40/71) {
    .meter-wrap {
        top: 26vh;
        width: 70%;
    }
    .disclaimer {
        bottom: 0px;
        top: 64vh;
    }
}

@keyframes gradient-anim {
    0% {
        opacity: 0.6;
        width: 0
    }
    100% {
        opacity: 0.1;
        width: 100%
    }
}

/* CTS Custom */
.rotate {
    /* animation:  rotation 3s linear infinite, fadeIn 1s forwards */
    animation:  rotation 3s linear infinite, fadeIn 1s forwards
  }

@keyframes rotation {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }
    to {
        transform: translate(-50%,-50%) rotate(359deg);
    }
}