﻿
app {
    animation: AppAnimation 2s ease-in;
}

.logo {
    animation: LogoAnimation 2s cubic-bezier(0.71, 0, 0.26, 1.01);
    animation-fill-mode: forwards;
}

html {
    /*background-color: var(--header-footer-bg);*/
    --space-0: 4px;
    --space-1: 7px;
    --space-2: 12px;
    --space-3: 19px;
    --space-4: 30px;
    --space-5: 49px;
    --logo-height: 4rem;
    --logo-width: var(--logo-height) * 710 / 260;
    --header-height: calc(var(--logo-height) + var(--space-4));
    --footer-height: 5rem;
    --outer-padding: var(--space-4);
    --header-footer-bg: #006b41;
}

.logo {
    position: fixed;
    width: var(--logo-width);
    height: var(--logo-height);
    z-index: 1;
    margin: calc((var(--header-height) - var(--logo-height)) / 2) var(--outer-padding);
}

@keyframes LogoAnimation {
    0% {
        transform: translate3d(calc(50vw - var(--logo-width)/2 - var(--outer-padding)), calc(30vh + 2rem), 0) scale(1);
        animation-timing-function: ease-out;
        opacity: 0;
    }

    50% {
        transform: translate3d(calc(50vw - var(--logo-width)/2 - var(--outer-padding)), 30vh, 0) scale(2);
        opacity: 1;
    }

    70% {
        transform: translate3d(calc(50vw - var(--logo-width)/2 - var(--outer-padding)), 30vh, 0) scale(2);
    }

    100% {
        /*transform: translate3d(0,0,0) scale(1);*/
        transform: translate3d(calc(50vw - var(--logo-width)/2 - var(--outer-padding)), 30vh, 0) scale(2);
    }
}

@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;
    }
}


.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;
}