/*

Copyright (c) 2018 - 2021 Michael Mayer <hello@photoprism.org>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

    PhotoPrism® is a registered trademark of Michael Mayer.  You may use it as required
    to describe our software, run your own server, for educational purposes, but not for
    offering commercial goods, products, or services without prior written permission.
    In other words, please ask.

Feel free to send an e-mail to hello@photoprism.org if you have questions,
want to support our work, or just want to say hello.

Additional information can be found in our Developer Guide:
https://docs.photoprism.org/developer-guide/

*/

@import url("../../node_modules/material-design-icons-iconfont/dist/material-design-icons.css");
@import url("../../node_modules/vuetify/dist/vuetify.min.css");
@import url("../../node_modules/mapbox-gl/dist/mapbox-gl.css");
@import url("animate.css");
@import url("navigation.css");
@import url("logs.css");
@import url("visibility.css");
@import url("tables.css");
@import url("video.css");
@import url("maps.css");
@import url("viewer.css");
@import url("search.css");
@import url("labels.css");
@import url("files.css");
@import url("help.css");

@media (min-width: 1750px) {
    .flex.xlg2 {
        flex-basis: 16.666666666666664%;
        flex-grow: 0;
        max-width: 16.666666666666664%;
    }
}

@media (min-width: 2400px) {
    .flex.xxl1 {
        flex-basis: 8.333333333333332%;
        flex-grow: 0;
        max-width: 8.333333333333332%;
    }
}

@media (min-width: 2550px) {
    .flex.xxxl1 {
        flex-basis: 8.333333333333332%;
        flex-grow: 0;
        max-width: 8.333333333333332%;
    }
}

html,
body {
    overscroll-behavior-y: contain;
}

body {
    background-color: #fafafa;
    color: #333333;
    font-family: Roboto, sans-serif;
}

footer {
    clear: both;
    padding: 1rem 2rem;
}

main {
    padding: 0;
    margin: 0;
    z-index: 1;
}

#busy-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.2);
}

#photoprism div.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#photoprism div.logo-large {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

#photoprism div.loading-logo {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

#photoprism div.loading-bar {
    position: fixed;
    bottom: 15%;
    right: 10%;
    left: 10%;
}

#photoprism .v-badge__badge {
    font-size: 12px;
    height: 19px;
    width: 19px;
    right: -20px;
    top: -8px;
}

#photoprism .clickable {
    cursor: pointer;
}

#photoprism button:focus {
    outline: none;
}

#photoprism .p-scroll-top {
    top: 64px;
    right: 8px;
}

#photoprism .float-left {
    float: left;
}

#photoprism .float-right {
    float: right;
}

#photoprism .p-page pre {
    overflow: auto;
}

#photoprism .v-card button,
#photoprism .v-card .caption {
    overflow-wrap: anywhere;
}

#photoprism .body-1,
#photoprism .body-2 {
    word-wrap: break-word;
}
