﻿app {
    animation: AppAnimation 2s ease-in;
}

:root {
    --logo-slide-duration: 26s;
}

.logo {
    position: fixed;
    top: 50%;
    left: 0;
    width: var(--logo-width);
    height: var(--logo-height);
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
    transform: translateY(-50%) translateX(calc(-1 * var(--logo-width)));
    animation: LogoStart var(--logo-slide-duration) linear 1, LogoSlide var(--logo-slide-duration) linear infinite;
    animation-delay: 0s, calc(var(--logo-slide-duration) / 2);
}

@keyframes LogoStart {
    0% {
        transform: translateY(-50%) translateX(calc(50vw - var(--logo-width) / 2)); 
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) translateX(calc(100vw + var(--logo-width))); 
        opacity: 1;
    }
}

@keyframes LogoSlide {
    0% {
        transform: translateY(-50%) translateX(calc(-1 * var(--logo-width) / 2)); 
        opacity: 1;
    }

    50% {
        transform: translateY(-50%) translateX(calc(50vw - var(--logo-width) / 2)); 
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) translateX(calc(100vw + var(--logo-width))); 
        opacity: 1;
    }
}

html {
    --space-0: 4px;
    --space-1: 7px;
    --space-2: 12px;
    --space-3: 19px;
    --space-4: 30px;
    --space-5: 49px;
    --logo-height: 10rem;
    --logo-width: calc(var(--logo-height) * 16 / 14);
    --header-height: calc(var(--logo-height) + var(--space-4));
    --footer-height: 5rem;
    --outer-padding: var(--space-4);
    --header-footer-bg: #006b41;
}

@keyframes AppAnimation {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    html, body {
        font-size: 12px;
        line-height: 20px;
        --space-0: 2.5px;
        --space-1: 4px;
        --space-2: 7px;
        --space-3: 12px;
        --space-4: 19px;
        --space-5: 30px;
        --logo-width: 130px;
    }

    :root {
        --logo-slide-duration: 6s;
    }
}

.link-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    color: currentColor;
    display: inline-block; /* For IE11/ MS Edge bug */
    pointer-events: none;
    text-decoration: none;
}

.batuta-primary {
    color: #ffffff;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: none;
}

    .batuta-primary:hover {
        color: #ffffff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

.batuta-danger {
    color: #ffffff;
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: none;
}

    .batuta-danger:hover {
        color: #ffffff;
        background-color: #c82333;
        border-color: #bd2130;
    }

.batuta-primary:disabled {
    color: #d3c9cb;
}

.form-control:focus,
.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-search--inline .select2-search__field:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #4218b8;
}
