@charset "UTF-8";
/*  == RESET CSS == */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

:root {
  --primary: #ffc107;
  --primary-light: #ffc10796;
  --primary-dark: #d2aa30;
  --secondary: #2196f3;
  --secondary-light: #2196f396;
  --secondary-dark: #05445e;
  --important: #f44336;
  --text-color: #333232d1;
  --header-color: #333232;
}

/*  == HELPER CSS == */
.container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.m-0 {
  margin: 0 !important;
}

.fw-bold {
  font-weight: bold !important;
}

.d-none {
  display: none !important;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
  display: inline-block;
}

.display-h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.d-flex {
  display: flex !important;
}

.flex-gap {
  gap: 5%;
}

.d-flex.justify-content-center {
  justify-content: center !important;
}

.w-50 {
  width: 50% !important;
}

.w-15 {
  width: 15% !important;
}

.important {
  color: var(--secondary);
}

/*  == CUSTOM CSS == */
html {
  font-size: 24px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--header-color);
}

.coloc-title {
  padding: 1rem;
  color: whitesmoke;
  background-color: var(--primary);
  text-align: center;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  font-weight: 100;
}

.coloc-infos {
  font-size: 1.3rem;
  color: var(--primary-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.coloc-description {
  text-align: justify;
  font-size: 1.25rem;
}

.commerces {
  padding: 1rem;
  font-size: 0.9rem;
}

.pieces-dossier {
  background-color: var(--primary-light);
  padding: 3rem;
  margin-bottom: 1rem;
}
.pieces-dossier .pieces-dossier-inner {
  display: flex;
  gap: 1rem;
}
.pieces-dossier .pieces-locataire {
  width: 50%;
}
.pieces-dossier .pieces-garant {
  width: 50%;
}

.coloc-rooms .coloc-rooms-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.coloc-rooms .coloc-room {
  background-color: var(--secondary);
  color: white;
  padding: 1rem;
}
.coloc-rooms .coloc-room h3 {
  font-size: 1.4rem;
  color: var(--bice-blue-light);
}
.coloc-rooms .coloc-room.pas-dispo {
  filter: blur(2px);
}

.coloc-equipment {
  margin-top: 3rem;
}
.coloc-equipment .coloc-equipment-inner {
  margin-left: 3rem;
}

.visite-virtuelle,
.back {
  margin-left: 3rem;
  color: var(--polynesian-blue);
  text-decoration: none;
}

.visite-virtuelle:hover {
  text-decoration: underline;
}

.gallery {
  margin-top: 3rem;
}
.gallery h2 {
  margin-left: 3rem;
  color: var(--primary-dark);
}
.gallery .gallery-inner {
  background-color: var(--primary-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gallery .gallery-inner .illustration {
  position: relative;
  padding: 0.5rem;
}
.gallery .gallery-inner .illustration .description {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  background-color: var(--primary-dark);
  color: whitesmoke;
  padding: 0.15rem;
}

.localisation {
  width: 100%;
  padding: 1rem;
  margin-bottom: 4rem;
}

#panorama {
  width: 70%;
  height: 80vh;
  margin: auto;
}

.custom-hotspot {
  height: 50px;
  width: 50px;
  background: #f00;
}

div.custom-tooltip span {
  visibility: hidden;
  position: absolute;
  border-radius: 3px;
  background-color: #fff;
  color: #000;
  text-align: center;
  max-width: 200px;
  padding: 5px 10px;
  margin-left: -220px;
  cursor: default;
}

div.custom-tooltip:hover span {
  visibility: visible;
}

div.custom-tooltip:hover span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  bottom: -20px;
  left: -10px;
  margin: 0 50%;
}

/* boutons de contrôle */
#controls {
  display: none;
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding-bottom: 3px;
}

.ctrl {
  padding: 8px 5px;
  width: 30px;
  text-align: center;
  background: rgba(200, 200, 200, 0.8);
  display: inline-block;
  cursor: pointer;
}

.ctrl:hover {
  background: rgb(200, 200, 200);
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
  .coloc-description {
    font-size: 1rem;
  }
  .coloc-infos {
    font-size: 1.2rem;
    grid-template-columns: 1fr;
  }
  .pieces-dossier {
    padding: 0.25rem;
    font-size: 0.9rem;
  }
  .pieces-dossier .pieces-dossier-inner {
    flex-direction: column;
  }
  .pieces-dossier .pieces-dossier-inner .pieces-locataire,
  .pieces-dossier .pieces-dossier-inner .pieces-garant {
    width: 100%;
  }
  .coloc-rooms .coloc-rooms-inner {
    grid-template-columns: 1fr;
  }
  .coloc-rooms .coloc-room {
    padding: 0.5rem;
  }
  .coloc-rooms .coloc-room h3 {
    font-size: 1.3rem;
  }
  .gallery {
    margin-top: 2rem;
  }
  .gallery h2 {
    margin-left: 3rem;
  }
  .gallery .gallery-inner {
    grid-template-columns: 1fr;
  }
  .gallery .gallery-inner .illustration {
    position: relative;
    padding: 0.5rem;
  }
  .gallery .gallery-inner .illustration .description {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.15rem;
  }
}
