/* Templates */
* {
    font-size: 1vmax;
    font-family: 'Noto Sans Display', sans-serif;
    text-align: justify;
    user-select: none;
}

#synopticTable_filter input {
    user-select: text;
}

body {
    background-color: rgba(243, 243, 243, 1);
}

.loader {
    z-index: 9999;
    background-color: rgba(243, 243, 243, 1);
    cursor: wait;
}

.loaderContent {
    transform: translate(-50%, -50%);
}

.btnConnect {
    --bs-btn-padding-x: 0rem;
}

.btnConnect:hover {
    color: var(--bs-navbar-color);
}

.btnConnect:focus {
    color: var(--bs-navbar-color);
}

.control-group {
    margin-bottom: 0.5rem;
}

h1, h2 {
    font-weight: bold;
}

h2 {
    color: rgba(94, 94, 94, 1);
}

i {
    font-size: inherit;
}

.scrollUp {
    display: none;
    left: 95%;
    bottom: 10%;
    right: -100%;
    z-index: 999;
    opacity: 0.5;
    cursor: pointer;
}

.scrollUp i {
    font-size: 3vmax;
}

.currentPage .nav-link {
    color: rgba(243, 243, 243, 1);
}

.currentPageDrIt .dropdown-item {
    color: var(--bs-dropdown-link-hover-color);
    background-color: var(--bs-dropdown-link-hover-bg);
}

/* Index */
#offcanvasOpenBtn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 999;
}

.offcanvas {
    max-width: 50%;
}

.offcanvas-body .checkbox {
    font-weight: bold;
}

.indexTable td {
    width: 33%;
}

.dataTables_scrollHeadInner, .dataTables_scrollFootInner {
    margin: 0 auto;
}

.dataTables_filter, .dataTables_length {
    font-weight: bold;
}

/* Accueil */
p:not(:first-of-type) {
    text-indent: 1.5vmax;
}

#synopticTable th, #synopticTable td {
    width: 10%;
}

/* Recherche */
#tableQueryResults td {
    width: 25%;
}

/* Galerie photographique */
.slideImg {
    height: 97%;
    width: auto;
}

.slideId {
    height: 3%;
    width: auto;
    text-decoration: none;
    /*color: rgba(243, 243, 243, 1);*/
}

.gallery .galleryImg {
    max-height: 95%;
    width: auto;
    max-width: 100%;
}

.imgContainer {
    height: 100%;
    width: 100%;
}

.swiperGallery1 {
    height: 80%;
    background-color: rgba(0,0,0,1);
    padding: 1% !important;
}

.swiperGallery2 {
    height: 20%;
    background-color: rgba(0,0,0,1);
    padding: 1% !important;
}

.swiper-wrapper {
    height: 100%;
}

.swiperGallery1 .swiper-wrapper {
    height: 95%;
}

.swiper-pagination {
    height: 5%;
    color: rgba(243, 243, 243, 1);
}

/* Fiches de présentation des statues */
/* Liens vers les pages suivantes et précédentes */
.previousPage {
    left: 1%;
}

.nextPage {
    right: 1%;
}

.previousPage, .nextPage {
    color: rgba(94, 94, 94, 1);
    text-decoration: none;
    z-index: 999;
}

.previousPage .bi, .nextPage .bi {
    font-size: 3vmax;
} 

/* Logo(s) de téléchargement du titre */
.imgDL {
    display: inline;
    vertical-align: baseline;
    height: 2vmax;
    margin-left: 1%;
}

/* Description */
.dataImg {
    max-height: 500px;
    object-fit: contain;
}

dl ul {
    margin: 0;
    padding: 0;
}

dt, dd {
    margin-bottom: 1%;
}

#generalDescription dt {
    width: 29%;
    margin-right: 1%;
}

#generalDescription dd {
    width: 70%;
}

/* Description des fragments */
.fragment {
    width: 48%;
}

#fragmentDescription dt {
    width: 40%;
    margin-right: 10%;
}

#fragmentDescription dd {
    width: 50%;
}

/* Traduction */
#translation ul {
    list-style: none;
}

#translationTable td {
    width: 50%;
}

.layoutTr {
    height: 80px;
    font-weight: bold;
}

.transliteration {
    padding-right: 20px;
    border-right: 1px solid rgba(0,0,0,0.6);
    font-style: italic;
}

.transliterationNoItalic {
    font-style: normal;
}

.translationTD {
    padding-left: 20px;
}

#sumResults {
    text-align: center;
}

/* Photographies */
.galleryItem .galleryImg {
    max-height: 90%;
    width: auto;
    max-width: 100%;
}

.galleryItem .swiper-wrapper {
    height: 97%;
}

.galleryItem .swiper-pagination {
    height: 3%;
    color: rgba(243, 243, 243, 1);
}

.caption {
    height: 10%;
    width: auto;
    color: rgba(243, 243, 243, 1);
}

.loupe {
    z-index: 9999;
}

/* Modèle 3D */
.model-container {
    background-color: rgba(0,0,0,1);
}

.model-caption {
    color: rgba(243, 243, 243, 1);
}

#modele {
    width: 100%;
    min-height: 700px;
}

/* Bibliographie */
.biblEntry {
    font-variant: small-caps;
}

.bibl a {
    text-decoration: none;
}

.iframeBibl {
    display: block;
    width: auto;
    min-width: 37rem;
    height: auto;
    max-height: 12rem;
    position: absolute;
    z-index: 9999;
    border: 2px solid rgba(94, 94, 94, 1);
    border-radius: 4px;
    background-color: rgba(243, 243, 243, 1);
    overflow: scroll;
}

.codeExample {
    color: #C5C8C6;
    background-color: #1D1F21;
    border: solid 4px rgba(85, 85, 85, 1);
    border-radius: 4px;
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
    user-select: none;
}

.codeTag {
    color: rgba(89, 199, 255, 1);
}

.codeAttribute {
    color: rgba(240, 130, 70, 1);
}

.codeFunction {
    color: rgba(139, 214, 139, 1);
}

.codeVariables {
    color: rgba(232, 146, 232, 1);
}

.codeAxes {
    color: rgba(0, 198, 198, 1);
}

.codeXQuery {
    color: rgba(0, 196, 255, 1);
}

.codeValue {
    color: rgba(163, 163, 255, 1);
}

.codeResult {
    display: none;
}