/*!
 * Percent-Preloader CSS - v1
 * @author JDM Digital - https://jdmdigital.co
 * Copyright (c) 2022
 */


.percentageWrapper {
    text-align: center;
}

img.loader_img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 30px;
}


.progressWrap {
    width: 300px;
    height: 5px;
    background: #000;
    z-index: 99999;
    position: relative;
    bottom: 20%;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
}

div#loader-progress {
    background-color: #aa67f5;
    width: 100%;
    height: 10px;
    right: 0;
    position: absolute;
    border-radius: 0px;
    transition: .5s !important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0px;
    margin: auto;
    z-index: 9999 !important;
    width: 100vw;
    height: 100vh;
    background: #fff;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.86,0,0.07,1);
    -webkit-transition-timing-function: cubic-bezier(0.86,0,0.07,1);
    transition-delay: 0.65s
}

.preloader .inner {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    overflow: hidden
}

.preloader:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 200px 100vh 0;
    border-color: transparent #797979 transparent transparent;
    position: absolute;
    left: -200px;
    top: 0
}

.preloader:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 100vh 0 0 200px;
    border-color: transparent transparent transparent #000;
    position: absolute;
    right: -200px;
    top: 0
}

.preloader * {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.86,0,0.07,1);
    -webkit-transition-timing-function: cubic-bezier(0.86,0,0.07,1)
}

.transition-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    right: calc(-100% - 200px);
    bottom: 0;
    background: #797979;
    z-index: 9999;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.86,0,0.07,1);
    -webkit-transition-timing-function: cubic-bezier(0.86,0,0.07,1);
    visibility: hidden
}

.preloader .inner .percentage {
    width: 100%;
    font-size: 30px;
    /* line-height: 1; */
    font-weight: 800;
    color: var(--white);
    /* position: absolute; */
    top: 45%;
    /* transform: translateY(0%); */
    /* text-align: center; */
    /* opacity: 1; */
    transition-delay: 0.10s;
}

.navigation__transparent.navbar {
    visibility: hidden
}

.page-loaded .preloader .percentage {
    margin-left: 100px;
    opacity: 0
}

.page-loaded .preloader {
    left: calc(-100% - 200px);
    visibility: hidden
}



@media(max-width: 991px){
    img.loader_img {
        height: 120px;
    }
}