﻿/*#region Marquee*/
.marquee-image-animation {
    animation: marquee 40s linear infinite;
    will-change: auto;
}

@keyframes marquee {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

/*#endregion*/

/*#region SVG Outline*/
.animate-outline {
    animation: line-animation 4s ease forwards;
    animation-duration: 4s;
    animation-timing-function: ease;
    animation-name: line-animation;
    animation-fill-mode: forwards;
}

@keyframes line-animation {
    to {
        stroke-dashoffset: 0px;
    }
}

/*#endregion*/

/*#region Shrink Grow*/
.shrink-grow {
    -webkit-animation-name: shrink-grow;
    -webkit-animation-timing-function: ease;
    animation: shrink-grow 5s infinite;
    animation-direction: alternate;
    animation-duration: 2s;
    -webkit-animation-duration: 2s;
}

@keyframes shrink-grow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

/*#endregion*/

/*#region Scale Down*/
.scale-down {
    animation-name: scale-down;
    -webkit-animation-name: scale-down;
    -webkit-animation-timing-function: ease;
    animation-duration: 0.45s;
    -webkit-animation-duration: 0.45s;
    opacity: 0;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes scale-down {
    from {
        transform: scale(1.06);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/*#endregion*/

/*#region Fade In*/
.fade-in {
    animation-name: fade-in;
    -webkit-animation-name: fade-in;
    -webkit-animation-timing-function: ease;
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*#endregion*/

/*#region Fade Out*/
.fade-out {
    animation-name: fade-out;
    -webkit-animation-name: fade-out;
    -webkit-animation-timing-function: ease;
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none !important;
        visibility: hidden;
    }
}

/*#endregion*/

/*#region Slide Bottom Up*/
.slide-bottom-up-text {
    opacity: 0;
    will-change: transform;
}

.slide-bottom-up {
    animation-name: slide-bottom-up;
    -webkit-animation-name: slide-bottom-up;
    animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-animation-duration: 0.75s;
    animation-duration: 0.75s;
    animation-fill-mode: forwards;
    -webkit-font-smoothing: antialiased;
}

@keyframes slide-bottom-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*#endregion*/

/*#region Grow From Center*/

.grow-from-center {
    animation-name: grow-from-center;
    -webkit-animation-name: grow-from-center;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
}

@keyframes grow-from-center {
    0% {
        opacity: 0;
        width: 0;
    }

    100% {
        opacity: 1;
        width: 100%;
    }
}

/*#endregion*/

/*#region Loading Animation*/

@keyframes loading-animation {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.1;
    }
}

.smooth-hide {
    transform: translateY(150px) !important;
}

.smooth-show {
    transform: translateY(0) !important;
    visibility: visible !important;
}

.smooth-hide, .smooth-show {
    transition: all .5s ease-in-out !important;
}

.will-fade-in {
    opacity: 0;
}

#loadingParentContainer {
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top:0;
    margin: 0 auto;
    z-index: 2000;
    background-color: rgba(255, 255, 255, 0.75);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    display: none;
}

.loading-animation{
    animation: loading-animation 1.5s linear infinite;
}

#loadingContainer{
    transition: all 0.3s ease-in-out;
}

#loadingShield {
    height: 75px;
    width: 75px;
}

    #loadingShield .light-green-shield-section {
        fill: #bcd331;
    }

    #loadingShield .light-blue-shield-section {
        fill: #00add7;
    }

    #loadingShield .blue-shield-section {
        fill: #005792;
    }

/*#endregion*/

/*#region Loading Spinner*/

.loading-spinner {
    animation: loading-rotate 1s linear infinte;
    -webkit-animation: loading-rotate 1s linear infinite;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    color: #000;
    bottom: 0;
    height: 16px;
    width: 16px;
    font-size: 16px;
    margin: auto;
}

.loading-rotate {
    animation-name: loading-rotate;
    -webkit-animation-name: loading-rotate;
    -webkit-animation-timing-function: linear;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: none;
}

@keyframes loading-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.rotate {
    transform: rotate(180deg);
}

/*#endregion*/