/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

:root {
    --size-agregate: 0.10;
    --size-agregate-init: 0.10;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
}

.office-contacts {
    background: var(--mud-palette-primary) !important;
    color: #fff !important;
    padding: 22px;
    width: 100%;
}

.btn {
    font-family: oswald,sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    background-color: #00000000 !important;
}

    .btn.b-white {
        color: #fff !important;
        border-color: #fff !important;
    }
        .btn.b-white:hover {
            color: var(--main-bg-color) !important;
            background-color: #fff !important;
        }

    .btn.b-green {
        color: var(--main-bg-color) !important;
        border-color: var(--main-bg-color) !important;
    }
        .btn.b-green:hover {
            color: #fff !important;
            background-color: var(--main-bg-color) !important;
        }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

h1:focus {
    outline: none;
}

.side-btn {
    cursor: pointer !important;
    position: fixed !important;
    font-family: oswald,sans-serif !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    line-height: 1.2em !important;
    height: 80px !important;
    width: 80px !important;
    color: #fff !important;
    background-color: var(--main-bg-color) !important;
    bottom: 140px !important;
    right: 1em !important;
    z-index: 9 !important;
    border-radius: 50% !important;
    border: 0 !important;
    box-shadow: 0 0 12px 0 rgba(0,0,0,.4) !important;
    padding: 1.4em .4em !important;
    -webkit-transition: -webkit-transform .2s !important;
    transition: -webkit-transform .2s !important;
    transition: transform .2s !important;
    transition: transform .2s,-webkit-transform .2s !important;
    -webkit-tap-highlight-color: transparent !important;
}

    .side-btn:hover {
        -webkit-transform: scale(1.1) !important;
        -ms-transform: scale(1.1) !important;
        transform: scale(1.1) !important
    }

    .side-btn.small {
        font-size: 13px !important
    }

ul {
    list-style-type: "- ";
}

li {
    padding: 4px;
}

.text-justify {
    text-align: justify !important;
}

.content {
    padding-top: 0.5rem;
    position: relative;
    width: 100%;
    height: 100vh;
}

.divider-text {
    width: 85px;
    border: 0.5px solid !important;
    background-color: white;
}

.font-60 {
    font-size: 60px !important;
    font-weight: 500 !important;
}

.font-w-500 {
    font-weight: 500 !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 0.5rem 0.7rem 0.5rem;
    position: fixed;
    width: 100%;
    z-index: 100000; /*RPS 1000*/
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.reconnect-modal {
    height: var(--mud-appbar-height);
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-surface);
    font-size: 1.3em;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container {
    z-index: 999999;
    background: rgba(0,0,0,.7);
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    border-collapse: collapse;
    border: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

#main {
    width: 100%;
    height: auto;
}

.border-top {
    font-size: clamp(28px, 2.5vw) !important;
    padding-top: 8px;
    border-top: 1px solid #ccc;
}

.animate-container {
    padding: 0 !important;
    animation: fadeIn .8s forwards;
}
@media (min-width: 641px) {
    .tab-image {
        display: none;
    }
}

@media (max-width: 641px) {
    .tab-text {
        display: none;
    }
}

.table-head {
    color: var(--main-bg-color);
    font-weight: 700 !important;
    border-bottom: 1px solid var(--main-bg-color) !important;
}

.table-border-bottom {
    border-bottom: 1px solid var(--mud-palette-table-lines) !important;
}

#pic_to_cam {
    position: absolute;
    left: 5%;
    top: calc(100vw * 0.27);
    width: 0;
    height: 0;
    animation: pic_to_cam 2s ease 1;
    animation-delay: 0s;
    z-index: 2;
}

@keyframes pic_to_cam {
    0% {
        left: 5%;
        top: calc(100vw * 0.33);
        width: calc(100vw * 0.10);
        height: calc(100vw * (0.10 * 1.10));
    }

    100% {
        left: 71%;
        top: calc(100vw * 0.32);
        width: calc(100vw * 0.02);
        height: calc(100vw * (0.02 * 1.10));
    }
}

#agregate_spin {
    left: calc(100vw * 0.70);
    top: calc(100vw * 0.40);
    width: 0; /*calc(100vw * var(--size-agregate-init));*/
    height: 0; /*calc(100vw * var(--size-agregate-init));*/
    position: absolute;
    animation: agregate_spin 2s 1;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-delay: 2s;
}
@keyframes agregate_spin {
    0% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
    }
    100% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
    }
}

#agregate_0 {
    left: calc(100vw * 0.65);
    top: calc(100vw * 0.40);
    width: 0; /*calc(100vw * var(--size-agregate-init));*/
    height: 0; /*calc(100vw * var(--size-agregate-init));*/
    position: absolute;
    animation: agregate_0 2s 1;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-delay: 2s;
}

@keyframes agregate_0 {
    0% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
        transform: rotate(0deg);
    }

    100% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
        transform: rotate(360deg);
    }
}

#agregate_1 {
    left: calc(100vw * 0.73);
    top: calc(100vw * 0.40);
    width: 0; /*calc(100vw * var(--size-agregate-init));*/
    height: 0; /*calc(100vw * var(--size-agregate-init));*/
    position: absolute;
    transform: rotate(-22.5deg);
    animation: agregate_1 2s 1;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-delay: 2s;
}

@keyframes agregate_1 {
    0% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
        transform: rotate(-22.5deg);
    }

    100% {
        width: calc(100vw * var(--size-agregate));
        height: calc(100vw * var(--size-agregate));
        transform: rotate(-382.5deg);
    }
}

#dat_to_sys {
    position: absolute;
    left: 75%;
    top: calc(100vw * 0.35);
    width: 0;
    height: 0;
    padding-top: 0px;
    padding-bottom: 0px;
    /*font-family: Courier New, Courier, monospace;*/
    /*font-size: 0;*/
    background: #fff; /*var(--product-bg-color);*/
    border-radius: 5%;
    animation: dat_to_sys 2s ease 1;
    animation-delay: 4s;
    z-index: 2;
}

@keyframes dat_to_sys {
    0% {
        font-size: 0;
        left: 75%;
        top: calc(100vw * 0.35);
        width: 0;
        height: 0;
    }

    100% {
        font-size: 16px;
        left: 74%;
        top: calc(100vw * 0.05);
        width: calc(100vw * 0.10);
        height: calc(100vw * 0.10);
        padding-top: 1vw;
        padding-bottom: 1vw;
    }
}


.spin-area .spin > div {
    width: 0;
    height: 0;
    background-color: var(--foot-bg-color);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: spinDelay 2s 1 ease-in-out both;
    animation:         spinDelay 2s 1 ease-in-out both
}
.spin-area .spin .bounce1 {
    -webkit-animation-delay: calc(2s - .32s);
    animation-delay: calc(2s - .32s);
}
.spin-area .spin .bounce2 {
    -webkit-animation-delay: calc(2s - .16s);
    animation-delay: calc(2s - .16s);
}
.spin-area .spin .bounce3 {
    -webkit-animation-delay: 2s;
    animation-delay: 2s
}
@-webkit-keyframes spinDelay {
    0%,80%,100% {
        -webkit-transform: scale(0);
        width: calc(calc(100vw * var(--size-agregate)) / 4);
        height: calc(calc(100vw * var(--size-agregate)) / 4);
    }

    40% {
        -webkit-transform: scale(1);
        width: calc(calc(100vw * var(--size-agregate)) / 4);
        height: calc(calc(100vw * var(--size-agregate)) / 4);
    }
}
@keyframes spinDelay {
    0%,80%,100% {
        -webkit-transform: scale(0);
        transform: scale(0);
        width: calc(calc(100vw * var(--size-agregate)) / 4);
        height: calc(calc(100vw * var(--size-agregate)) / 4);
    }

    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
        width: calc(calc(100vw * var(--size-agregate)) / 4);
        height: calc(calc(100vw * var(--size-agregate)) / 4);
    }
}


#triangle {
    position: absolute;
    left: 78%;
    top: 52%;
    width: calc(100vw * 0.122);
    height: calc(100vw * 0.122);
    transform: rotate(-65deg);
    filter: blur(0.15em);
    overflow: visible;
    z-index: 0;
}
@media screen and (max-width: 640px) {
    #main {
        content: url("/img/anim/main_vert.png");
    }
    #triangle,
    #circle,
    #clock,
    #camera
    {
        display: none;
    }

    @keyframes pic_to_cam {
        0% {
            left: 8%;
            top: calc(100vw * 0.10);
            width: calc(100vw * 0.30);
            height: calc(100vw * (0.30 * 1.10));
        }

        100% {
            left: 83%;
            top: calc(100vw * 0.76);
            width: calc(100vw * 0.02);
            height: calc(100vw * (0.02 * 1.10));
        }
    }
    @keyframes dat_to_sys {
        0% {
            left: 95%;
            top: calc(100vw * 0.80);
            width: 0;
            height: 0;
        }

        100% {
            font-size: 16px;
            left: 36%;
            top: calc(100vw * 1.17);
            width: calc(100vw * 0.30);
            height: calc(100vw * 0.30);
            padding-top: 1vw;
            padding-bottom: 1vw;
        }
    }
    #agregate_0 {
        left: calc(100vw * 0.60);
        top: calc(100vw * 0.75);
        width: 0;
        height: 0;
    }
    #agregate_1 {
        left: calc(100vw * 0.68);
        top: calc(100vw * 0.75);
        width: 0;
        height: 0;
    }
}