/*

Copyright (c) 2018 - 2023 PhotoPrism UG. All rights reserved.

    This program is free software: you can redistribute it and/or modify
    it under Version 3 of the GNU Affero General Public License (the "AGPL"):
    <https://docs.photoprism.app/license/agpl>

    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.

    The AGPL is supplemented by our Trademark and Brand Guidelines,
    which describe how our Brand Assets may be used:
    <https://www.photoprism.app/trademark>

Feel free to send an email to hello@photoprism.app 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.app/developer-guide/>

*/

@import url("vendor/icons/material-design-icons.css");
@import url("../../node_modules/vuetify/dist/vuetify.min.css");
@import url("../../node_modules/maplibre-gl/dist/maplibre-gl.css");
@import url("font.css");
@import url("wallpapers.css");
@import url("scrollbar.css");
@import url("themes.css");
@import url("effects.css");
@import url("static.css");
@import url("navigation.css");
@import url("logs.css");
@import url("visibility.css");
@import url("viewer.css");
@import url("tables.css");
@import url("results.css");
@import url("maps.css");
@import url("labels.css");
@import url("files.css");
@import url("pages.css");
@import url("help.css");
@import url("auth.css");
@import url("layout.css");
@import url("rtl.css");

/* Core Element Styles */

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

body {
    background-color: #fafafa;
    min-width: 320px;
    min-height: 500px;
    margin: 0;
    padding: 0;
}

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

/* Page Overlay */

#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);
}

/* General App Styles */

#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 a.float-left,
#photoprism a.float-right {
    display: inline-block;
}

#photoprism .p-page {
    user-select: none !important;
}

#photoprism .text-selectable,
#photoprism .p-page .text-selectable {
    user-select: text !important;
}

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

#photoprism .body-1,
#photoprism .body-2,
#photoprism .break-word,
#photoprism .v-datatable td,
#photoprism .v-card button,
#photoprism .v-card .caption {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
}

#photoprism.is-rtl .v-card .caption {
    text-align: right;
}

#photoprism .v-tabs .v-badge__badge {
    right: -22px;
    font-size: 9px;
    width: auto;
    padding: 0 0.2rem;
    min-width: 1.1rem;
    height: 1.1rem;
}

ol, ul {
    padding-left: 24px;
    padding-right: 24px;
}

#photoprism .search-results.list-view .result {
    padding: 1px 0 1px 8px !important;
}

/* Image Orientation */

.orientation-0 {
    transform: rotate(0deg);
}

.orientation-1 {
    transform: rotate(0deg);
}

.orientation-2 {
    transform: rotate(0deg);
}

.orientation-3 {
    transform: rotate(180deg);
}

.orientation-4 {
    transform: rotate(180deg);
}

.orientation-5 {
    transform: rotate(90deg);
}

.orientation-6 {
    transform: rotate(90deg);
}

.orientation-7 {
    transform: rotate(270deg);
}

.orientation-8 {
    transform: rotate(270deg);
}
