﻿/* App */

@import url("/css/snackbar.css");

html {
    background: rgb(6,36,70);
    background: linear-gradient(34deg, rgba(6,36,70,1) 16%, rgba(17,76,143,1) 100%);
    color: #FFF;
    font-family: Helvetica, sans-serif;
    height: 100vh;
    width: 100vw;
    padding: 0;
}

body {
    height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.icon{
    
}

button {
    /*background-color: #18b6c3;*/
    outline: none;
}

.overlay {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgb(6,36,70);
    background: linear-gradient(34deg, rgba(6,36,70,1) 16%, rgba(17,76,143,1) 100%);
}

.loading-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
}

/* Header */

.header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    z-index: 1;
}

.location-selector {
    text-align: left;
    flex: 1;
}

.logo-small {
    padding: 1.5rem 0px;
}

    .logo-small img{
        width: 200px;
        opacity: .5;
    }

.current-user {
    flex: 1;
    text-align: right;
}

.ddl {
    color: #FFF;
    padding: 1rem;
}

    .ddl .icon {
        border: 2px solid #FFF;
        color: rgba(255,255,255,.5);
        background: none;
        outline: none;
        cursor: pointer;
        border-radius: 50%;
        min-width: 3rem;
        min-height: 3rem;
        padding: 1rem;
        margin: .5rem 1rem;
        float: left;
        position: relative;
    }

        .ddl .icon img {
            width: 1rem;
            height: 1rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

    .ddl .primary {
        font-size: 1.4rem;
        padding: .6rem 0 0 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ddl .single {
        font-size: 1.4rem;
        padding: 1.2rem 0 0 0;
    }

    .ddl .secondary {
        text-transform: uppercase;
        font-size: .7rem;
        color: rgba(255,255,255,.5);
        margin-top: .2rem;
    }

    .ddl.right {
        
    }

    .ddl.right .icon {
        float: right;
    }

/* Login */

.big-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
}

    .big-logo img {
        width: 100%;
    }

.login-side {
    height: 100vh;
}

/* Change user */

.change-user {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

    .change-user button {
        display: block;
        border: none;
        font-size: 2.4rem;
        color: rgba(255,255,255,.5);
        background: none;
        outline: none;
        cursor: pointer;
        border-radius: 50%;
        min-width: 6rem;
        min-height: 6rem;
        padding: 1rem;
        margin: .5rem 1rem;
    }

        .change-user button:hover, .change-user button:active {
            color: rgba(255,255,255,1);
        }

/* Login form */

.login-form {
    height: 100vh;
    text-align: center;
    position: relative;
}

.login-form .centre{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .login-form input {
        background-color: #FFF;
        border-radius: 2rem;
        font-size: 1.4rem;
        padding: 1rem;
        margin: 1rem auto;
        color: #555;
        display: block;
        
        border: 2px solid transparent;
        
    }

    .login-form [type=button] {
        background-color: rgba(255,255,255,.1);
        color: #FFF;
        text-transform: uppercase;
        font-size: 1.2rem;
        text-align: center;
        font-weight: bold;
        text-align: center;
        border: 2px solid #FFF;
        cursor: pointer;
        transition: all;
        margin-top: 3rem;
    }

    .login-form [type=submit]:hover {
        background-color: rgba(255,255,255,.2);
    }

/* Keypad */
.keypad {
    text-align: center;
}

    .keypad .title {
        padding: 4rem 0 2rem 0;
    }

    .keypad .user {
        color: rgba(255,255,255,0.3);
        font-size: .8rem;
    }

    .keypad .text {
        font-weight: bold;
        color: rgba(255,255,255,0.7);
        font-size: 1.2rem;
    }

    .keypad .pass-input {
        padding-bottom: 2rem;
        clear: both;
    }

        .keypad .pass-input .circles {
            margin: auto;
            width: 100%;
        }

    .keypad .pass-input .circle{
        width: 2.0rem;
        height: 2.0rem;
        display: inline-block;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.1);
        margin: .7rem;
    }

        .keypad .pass-input .circle.full {
            background-color: rgba(255,255,255,1);
        }

    .keypad .keyboard {
        
    }

        .keypad .keyboard button {
            border: 2px solid #FFF;
            font-size: 2.4rem;
            color: #FFF;
            background: none;
            outline: none;
            cursor: pointer;
            border-radius: 50%;
            min-width: 6rem;
            min-height: 6rem;
            padding: 1rem;
            margin: .5rem 1rem;
        }

            .keypad .keyboard button:hover {
                background-color: rgba(255,255,255,0.1);
            }

            .keypad .keyboard button:active {
                background-color: rgba(255,255,255,0.3);
            }

                .keypad .keyboard button:disabled{
                    opacity: 0.25;
                    background-color: none!important;
                    cursor: default;
                }


/* Categories */

.categories {
    position: absolute;
    top: 100px;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 1;
 }

.category {
    width: 30%;
    height: 350px;
    max-height: 35vh;
    display: inline-block;
    float: left;
    position: relative;
    cursor: pointer;
    margin: 1rem;
    border-radius: 14px;
    transition: all .5s;
}

    .category .picture {
        position: absolute;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        border-radius: 14px;
    }

        .category:hover, .category:focus {
            transform: scale(1.05);
        }

    .category .title {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.3);
        display: inline-block;
        border-radius: 14px;
    }

            .category .title span {
                text-align: center;
                position: absolute;
                top: 50%;
                transform: translate(-50%, -50%);
                left: 50%;
                display: inline-block;
                max-width: 70%;
                font-size: 1.6rem;
                font-weight: bold;
                text-transform: uppercase;
                line-height: 1.9rem;
            }

/* Cover */
.bg {
    background: rgb(0,0,0);
    z-index: -2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
    z-index: -1;
    filter: blur(6px);
}

    .cover:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 100%;
        background-image: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 100%);
    }

/* Detail */

.pdf-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

    .pdf-wrapper .close {
        position: absolute;
        right: 24px;
        top: 64px;
        background-color: rgba(0,0,0,.5);
        color: #FFF;
        border-radius: 50%;
        padding: 1rem;
        font-size: 1.8rem;
        width: 2rem;
        height: 2rem;
        z-index: 9999999;
        text-align: center;
        cursor: pointer;
    }

    .pdf-wrapper .document {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .pdf-wrapper .pdf-document {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        border-radius: 1rem;
        width: 100%;
        height: 100%;
    }

.detail {
    position: absolute;
    top: 100px;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 1;
}

    .detail .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 30%;
        display: flex;
    }

    .detail .contents {
        width: 25%;
        padding-left: 2rem;
        position: relative;
    }

        .detail .contents ul {
            list-style: none;
            padding: 0;
            margin: 0 0 40px 0;
        }

            .detail .contents ul li{
                padding: 0;
                margin: 0 0 .5rem 0;
                
            }

                .detail .contents ul li a {
                    background-color: none;
                    padding: .8rem;
                    border-radius: .3rem;
                    color: rgba(255,255,255,.7);
                    text-decoration: none;
                    display: block;
                    font-size: 1.1rem;
                    cursor: pointer;
                }

                .detail .contents ul li a:hover, .detail .contents ul li a:focus {
                    background-color: rgba(255,255,255,0.1);
                }
        .detail .contents .full-doc {
            
            margin-top: 20px;
            margin-bottom: 20px;
        }

            .detail .contents .full-doc a {
                background-color: none;
                padding: .8rem 2rem;
                border-radius: 3rem;
                border: 1px solid rgba(255,255,255,.2);
                color: rgba(255,255,255,.7);
                text-decoration: none;
                display: block;
                font-size: 1.1rem;
                cursor: pointer;
                display: block;
            }

                .detail .contents .full-doc a:hover, .detail .contents .full-doc a:focus {
                    background-color: rgba(255,255,255,0.1);
                }

    .detail .text {
        line-height: 2.2rem;
        font-size: 1.1rem;
        flex: 1;
        padding: 0 1rem 1rem 2rem;
        margin: 0 1rem 1rem 0;
        position: relative;
    }

        .detail .text p {
            margin: 0;
            padding: 0 0 2rem 0;
        }

        .detail .text h2 {
            padding: 1rem 1rem 1rem 2.5rem;
            background-color: rgba(0,0,0,.7);
            border-radius: 14px;
            position: relative;
            margin-top: 0;
        }

            .detail .text h2:before {
                content: "";
                width: 14px;
                top: .5rem;
                bottom: .5rem;
                left: .5rem;
                background-color: rgba(255,255,255,.5);
                border-radius: 5px;
                position: absolute;
            }

    .detail .widgets {
        width: 25%;
        padding-right: 2rem;
    }

        .detail .widgets .widget {
            border-radius: 14px;
            background-color: rgba(0,0,0,0.8);
            display: block;
            padding: 1.5rem;
            color: rgba(255,255,255,.8);
        }

            .detail .widgets .widget .title {
                padding: 0 0 1rem 0;
                border-bottom: 1px solid rgba(6,36,70,1);
                margin: 0 0 1rem 0;
                display: block;
                clear: both;
                font-size: 1.2rem;
                font-weight: bold;
                text-transform: uppercase;
                text-align: center;
            }

            .detail .widgets .widget ol {
                margin: 0;
                display: block;
                padding: 0 1rem 0 2rem;
            }

            .detail .widgets .widget li {
                padding: 0 0 1rem 0;
                margin: 0;
            }
/* Gallery */

.gallery {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background-color: transparent;
    transition: background .5s;
}

    .gallery.open {
        height: 100%;
        background-color: rgba(0,0,0,.8);
    }

    .gallery.open .gallery-slider {
        display: none;
    }

    .gallery.open .gallery-detail {
        display: flex;
    }

/* Gallery detial */

.gallery-detail {
    padding: 2rem;
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 10;
}

    .gallery-detail .close {
        position: absolute;
        top: 2rem;
        right: 2.5rem;
        background-color: #FFF;
        color: #000;
        font-weight: bold;
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
    }

    .gallery-detail .previous {
        position: absolute;
        top: 50%;
        left: 2.5rem;
        background-color: #FFF;
        color: #000;
        font-weight: bold;
        border-radius: 50%;
        width: 4rem;
        height: 4rem;
        cursor: pointer;
        font-size: 1.9rem;
    }

    .gallery-detail .next {
        position: absolute;
        top: 50%;
        right: 2.5rem;
        background-color: #FFF;
        color: #000;
        font-weight: bold;
        border-radius: 50%;
        width: 4rem;
        height: 4rem;
        cursor: pointer;
        font-size: 1.9rem;
    }

    .gallery-detail .close span, .gallery-detail .previous span, .gallery-detail .next span {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

    .gallery-detail .image {
        flex: 1;
        position: relative;
    }

        .gallery-detail .image img {
            border-radius: 14px;
            margin: auto;
            height: 100%;
            position: absolute;
            transform: translate(-50%,-50%);
            max-width: 80%;
            top: 50%;
            left: 50%;
        }


    .gallery-detail .text {
        padding: 2rem;
        height: 100px;
        flex: 0;
    }

    .gallery-detail .title {
        font-weight: bold;
        font-size: .9rem;
        text-transform: uppercase;
    }

    .gallery-detail .description {
        line-height: 1.8rem;
    }

/* Gallery thumbnails */

.gallery-slider {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 100%;
}

.thumbnails {
    width: 100%;
    height: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    
}

    .gallery .thumbnail {
        width: 300px;
        height: 70%;
        float: left;
        position: relative;
        cursor: pointer;
        padding-top: 2rem;
    }

        .gallery .thumbnail .picture {
            position: absolute;
            width: 94%;
            height: 90%;
            border-radius: 14px;
            background-position: center;
            background-size: cover;
            transition: all .5s;
        }

        .gallery .thumbnail:hover .picture, .gallery .thumbnail:focus .picture {
            transform: scale(1.05);
        }

.scrollable-y {

    overflow-y: scroll;
    overflow-x: hidden;
}

.scrollable-x {
    overflow-x: scroll;
    overflow-y: hidden;
}

    .scrollable-x::-webkit-scrollbar, .scrollable-y::-webkit-scrollbar {
        visibility: hidden; /* for Chrome, Safari, and Opera */
    }

    .scrollable-x::-webkit-scrollbar-thumb, .scrollable-y::-webkit-scrollbar-thumb {
        background: transparent;
    }

    .scrollable-x:hover::-webkit-scrollbar-thumb, .scrollable-y:hover::-webkit-scrollbar-thumb {
        background: rgba(128,128,128,0.6);
    }
    

    .scrollable-x:hover::-webkit-scrollbar, .scrollable-y:hover::-webkit-scrollbar {
        visibility: visible; /* for Chrome, Safari, and Opera */
    }

    .scrollable-x::-webkit-scrollbar {
        height: 6px;
    }

    .scrollable-y::-webkit-scrollbar {
        width: 6px;
    }

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    cursor: pointer;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(128,128,128,0.8);
    }

/* Waves */

.waves {
    position: fixed;
    height: 20vh;
    min-height: 50px;
    max-height: 150px;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

/* Mobile */

@media only screen and (max-width: 900px) {
    .waves {
        height: 10vh;
    }

    .big-logo {
        max-width: 50%;
    }

    .flex {
        flex-direction: column;
    }

    .flex-fill {
        flex: auto;
        min-height: 200px !important;
    }

    .logo-small {
        display: none;
    }

    .keypad .title {
        padding: .5rem 0 1.5rem 0;
    }

    .categories {
        overflow-y: auto;
    }

    .category {
        width: 40%;
    }
}

@media only screen and (max-width: 600px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
    }

    .flex-fill {
        flex: auto;
        min-height: 120px !important;
    }

    .categories {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }

    .category {
        width: 100%;
        height: 50vh;
    }

    .ddl .primary {
        display: none;
    }

    .ddl .single {
        display: none;
    }

    .ddl .secondary {
        display: none;
    }

    .keypad .keyboard button {
        font-size: 1.4rem;
        min-width: 4rem;
        min-height: 4rem;
        margin: .5rem .7rem;
    }

    .keypad .pass-input .circle {
        width: 1.4rem;
        height: 1.4rem;
    }
} 


/* Animations */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}

/* Blazor */

#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 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODM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NGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


