body {
  margin: 0 auto;
  padding: 0;
  background-color: #262627;
  font-family: calibri, verdana, arial, sans-serif;
  text-align: center;
  min-width: 1100px;
}

#top {
  width: 100%;
  padding-top: 10px;
  margin-bottom: 5px;
}

#menubar {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}

#menu table {
  border-collapse: collapse;
}

#content {
  width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 10px;
}

.listingtableStatus {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  margin-top: 10px;
}

.listingtableStatus th {
  height: 22px;
  padding: 1px 4px;
  font-size: 10pt;
  background-color: #111820;
  color: #bff2f7;
  background-image: linear-gradient(to bottom, #000000 0%, #202F40 70%);
  border: 1px solid #111;
  white-space: nowrap;
}

.listingtableStatus td {
  padding: 2px;
  font-size: 10pt;
  text-align: center;
  color: #000;
  border-bottom: 1px solid #444;
}

.listingtable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
  table-layout: auto;
}

.listingtable th {
  height: 26px;
  padding: 2px 4px;
  font-size: 10pt;
  background-color: #262627;
  color: #bff2f7;
  background-image: linear-gradient(to bottom, #000000 0%, #202F40 70%);
  text-shadow: 1px 1px #cb0404;
  white-space: nowrap;
}

.listingtable td {
  padding: 2px;
  font-size: 10pt;
  text-align: center;
  border-bottom: 1px solid #444;
  color: #000;
}

.listingtable tr:hover {
  background-color: #bff2f7 !important;
}

.FilterField, .FilterSubmit {
  font-size: 9pt;
  padding: 2px 4px;
  border: 1px solid #60A1DE;
  height: 22px;
}

.button, .buttonactive {
  font-size: 12pt;
  padding: 2px 4px;
  text-decoration: none;
  color: #FFFFFF;
}

.buttonactive {
  text-decoration: underline;
  text-decoration-color: #cb0404;
  text-underline-offset: 4px;
}

.error {
  font-size: 11pt;
  color: #FF0000;
  background-color: #FFFFFF;
  width: 80%;
  padding: 5px;
  margin: 5px auto;
  border-radius: 5px;
}

.smalllink {
  font-size: 11pt;
  color: #047af9;
  text-decoration: none;
}

a.pl {
  color: #000;
  text-decoration: none;
}

a.pl:hover {
  text-decoration: underline;
}

.listingtableContacts,
.listingtableStatusPage {
  margin-top: 5px;
  border-collapse: collapse;
  font-size: 10pt;
  width: 100%;
}

.listingtableContacts th,
.listingtableStatusPage th {
  background-color: #262627;
  color: #bff2f7;
  background-image: linear-gradient(to bottom, #000000 0%, #202F40 70%);
  padding: 3px;
}

.listingtableContacts td,
.listingtableStatusPage td {
  padding: 2px;
  text-align: center;
  border-bottom: 1px solid #444;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

#content > table,
#content > div,
#content > form {
  width: 100%;
  max-width: 100%;
}

/* Компактное и точное размещение боковых таблиц */
#content table td table {
  width: 100%;
  border-spacing: 0;
  padding: 0;
  margin: 0;
}

#content table td {
  padding: 0 3px;
  vertical-align: top;
}

#content table td table td {
  padding: 1px 3px;
}

/* Гибкость для будущих элементов (дополнительных таблиц) */
.flex-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  margin-top: 20px;
}

.flex-container > div,
.flex-container > table {
  flex: 1;
  width: auto;
}

#iframe {
  width: 100%;
  max-width: 1150px;
  height: 1200px;
}

#iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}
