/* Layout fixes for archived AR.Drone.cz pages */

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  background-color: #CCCCCC !important;
  background-image: url(/templates/beez/images/contour_ombre.png) !important;
  background-position: center top !important;
  background-repeat: repeat-y !important;
}

/* Bulletproof centered 980px shell (replaces broken <center>+table) */
#ardrone-shell {
  width: 980px;
  max-width: 100%;
  margin: 0 auto !important;
  text-align: left;
  background: #fff;
  position: relative;
  box-sizing: border-box;
}

#ardrone-shell > table {
  width: 100% !important;
  margin: 0 !important;
}

/* Top menu: fit 4 columns inside 679px header graphic */
#menu_haut table[width="670"],
#menu_haut table[width="100%"] {
  width: 100% !important;
  max-width: 670px;
  table-layout: fixed;
}

#menu_haut table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 4px !important;
  font-size: 11px !important;
  line-height: 1.25;
}

#menu_haut table td a {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

#menu_haut table td[width="175"] {
  width: 22% !important;
}

/* Support page layout */
.support_ardrone_encadre {
  position: relative;
  overflow: visible;
  padding: 10px 16px 24px;
  box-sizing: border-box;
}

.support_ardrone_encadre_titre {
  margin-bottom: 12px;
}

.support_ardrone_liste_fleche {
  font-size: 13px !important;
  line-height: 1.45 !important;
  list-style: disc;
  margin: 0 0 8px 18px;
}

.support_titre8,
.support_titre9,
.support_titre10,
.support_titre33,
.support_titre34 {
  position: static !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 0 14px;
}

.support-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  max-width: 960px;
  text-align: left;
}

.support-layout__main {
  flex: 1 1 480px;
  min-width: 0;
}

.support-layout__side {
  flex: 0 1 360px;
  min-width: 260px;
  background: #f7f7f7;
  padding: 12px 14px;
  box-sizing: border-box;
}

.support-layout__side table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.support-layout__side td {
  padding: 4px 6px;
  vertical-align: top;
}

.adresy {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: 280px;
}

.site-footer {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

#article-main {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}
