html, body {
  width:        100%;
  height:       100%;
  margin:       0px;
  padding:      0px;

  font:         italic 14px georgia;
  line-heigth:  18px;
}

#canvas {
  width:    1300px; 
  height:   800px; 
  position: relative; 
  margin:   auto;
  isolation: isolate;
}

/* Dorothée's site plan behind everything. A real <img>, not a CSS background,
   so browsers that drop background images still show it. */
#plan {
  position:       absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index:        -1;
  overflow:       hidden;
  pointer-events: none;
}
#plan img {
  position: absolute;
  top:      10px;
  left:     10px;
}

h1, .h1 {
  font-weight:  bold;
  font-variant: italic;
  font-size:    26px;
}

h2, .h2 {
  font-variant: italic;
  font-size:    24px;
  color:        #000000!important;
}

a {
  text-decoration: none;
  color: #000000;
}

a img {
  border: 0px;
}

a:hover {
  color: #999999;
}

ul {
  margin-top:           0;
  list-style-type:      disc;
  list-style-position:  outside;
  padding-left:         20px;
}

ul.bracked {
  list-style-type:      none;
  padding-left:         0px;
}

p {
  margin-bottom: 0;
}

td {
  vertical-align: top;
}


#navitable {
  position:         absolute;
  top:              30px;
  left:             -1000px;
  border-collapse:  collapse;
}

#navitable td {
  border-top:     1px solid black;
  border-bottom:  1px solid black;
  line-height:    22px;
  color:          #999999;
  padding-left:   20px;
  padding-right:  20px;
  vertical-align: bottom;
}

#maintable {
  position: absolute;
  top:      530px;
  left:     25px;
}

#maintable td {
  padding-left:   10px;
  padding-right:  10px;
  white-space: nowrap;
}

#footer {
  height:       40px;
  position: relative;
  padding-left: 50px;
}

#langnav {
  position: relative;
  top:      -60px;
}

#popup {
  position: absolute; 
  border:   1px solid black; 
  width:    400px; 
  background-color: #fff; 
  z-index:  10; 
  padding:  0px 10px 10px 10px;
  max-height: 500px;
  overflow: auto;
}

.main_menu {
  position: absolute;
  top: 200px;
  background-color: #fff; 
  padding: 10px;
  min-width: 60px; 
  max-width: 300px; 
}

#project_info {
  position: absolute; 
  top:      350px; 
  left:     600px;
  width:    438px; 
  border:   1px solid black; 
  background-color: #fff; 
  z-index:  5; 
}

#login_form {
  position: absolute; 
  top:      30px; 
  left:     30px;
  width:    400px; 
  border:   1px solid black; 
  background-color: #fff; 
  padding:  10px 10px 10px 10px;
}

/* admin: change password — a sheet like #login_form, with room to breathe */
#password_form {
  position:         absolute;
  top:              30px;
  left:             30px;
  width:            380px;
  border:           1px solid black;
  background-color: #fff;
  padding:          28px 32px 32px;
}

#password_form h2 {
  margin:      0;
  font-size:   24px;
  line-height: 30px;
}

#password_form .error {
  margin:      20px 0 0;
  padding:     8px 0;
  border-top:    1px solid #a00;
  border-bottom: 1px solid #a00;
  color:       #a00;
}

#password_form form {
  display:        flex;
  flex-direction: column;
  gap:            18px;
  margin-top:     28px;
}

#password_form .field {
  display:        flex;
  flex-direction: column;
  gap:            6px;
}

#password_form label { color: #555; }
#password_form label small { font-size: 13px; color: #767676; }

#password_form input[type=password] {
  box-sizing:       border-box;
  width:            100%;
  height:           34px;
  padding:          0 10px;
  border:           1px solid #bbb;
  border-radius:    0;
  background-color: #f6f6f6;
  font:             16px georgia;
  -webkit-appearance: none;
}
#password_form input[type=password]:focus {
  outline:          none;
  border-color:     #000;
  background-color: #fff;
}

#password_form .actions {
  display:     flex;
  align-items: baseline;
  gap:         20px;
  margin-top:  10px;
  padding-top: 22px;
  border-top:  1px solid black;
}

#password_form input[type=submit] {
  padding:          7px 20px;
  border:           1px solid black;
  border-radius:    0;
  background-color: #fff;
  color:            #000;
  font:             italic 15px georgia;
  cursor:           pointer;
  -webkit-appearance: none;
}
#password_form input[type=submit]:hover,
#password_form input[type=submit]:focus-visible {
  background-color: #000;
  color:            #fff;
  outline:          none;
}

#password_form .actions a { color: #767676; }
#password_form .actions a:hover { color: #000; }

.infotext {
  padding:  10px;
  margin:   0;
}

#logo img {
  position: absolute;
  top:      60px;
  left:     240px;
  z-index:  10;
}

#navitable a.tel {
  color: inherit;
}

/* change password on a phone: the sheet joins the page instead of floating */
@media (max-width: 960px) {
  #password_form {
    position: static;
    width:    auto;
    margin:   0 16px;
    padding:  24px 20px 28px;
  }
}
.maisons, .maisons a.active {
  color: #ff9933;
}

td.maisons:hover, td.maisons.h1:hover a, td.maisons.active, td.maisons.active a  {
  color:            #ffffff;
  background-color: #ff9933;
}

.residences, .residences a.active {
  color: #cc3366;
}

td.residences:hover, td.residences:hover a, td.residences.active, td.residences.active a  {
  color: #ffffff;
  background-color: #cc3366;
}

.social, .social a.active {
  color: #cc33cc;
}

td.social:hover, td.social:hover a, td.social.active, td.social.active a    {
  color: #ffffff;
  background-color: #cc33cc;
}

.urbanisme, .urbanisme a.active {
  color: #6600cc;
}

td.urbanisme:hover, td.urbanisme:hover a, td.urbanisme.active, td.urbanisme.active a    {
  color: #ffffff;
  background-color: #6600cc;
}

.resort, .resort a.active {
  color: #3366cc;
}

td.resort:hover, td.resort:hover a, td.resort.active, td.resort.active a  {
  color: #ffffff;
  background-color: #3366cc;
}

.activite, .activite a.active {
  color: #336600;
}

td.activite:hover, td.activite:hover a, td.activite.active, td.activite.active a    {
  color: #ffffff;
  background-color: #336600;
}

.art, .art a.active {
  color: #99cc33;
}

td.art:hover, td.art:hover a, td.art.active, td.art.active a    {
  color: #ffffff;
  background-color: #99cc33;
}

.esquisses, .esquisses a.active {
  color: #ffcc00;
}

td.esquisses:hover, td.esquisses:hover a, td.esquisses.active, td.esquisses.active a    {
  color: #ffffff;
  background-color: #ffcc00;
}


