body {
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: #fafafa; 
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #007BFF;
}

nav select {
    padding: 5px;
}

h1, h2, h3 {
    color: #333;
    text-align: center;
}

footer {
    margin-top: 20px;
    text-align: center;
    color: #555;
}
p {
  text-indent: 1em; 
  text-align: justify; 
  margin: 0; 
}

.warning {
  background-color: #fff3cd; 
  color: #856404; 
  border: 1px solid #ffeeba; 
  padding: 10px; 
  margin: 10px 0; 
  border-radius: 5px; 
  font-weight: bold; 
  font-size: 1em; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.warning::before {
  content: "!"; 
  font-size: 1.5em; 
  color: #856404; 
}

.warning2 {
  color: #ff0000; 
}






img {
  max-width: 100%; 
  height: auto; 
  display: block; 
  margin: 10px auto; 
}

#logo-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0; 
}

#logo {
    max-width: 200px; 
    height: auto;
}

.pinout-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 20px 0;
}

.pinout-table th, .pinout-table td {
    border: 1px solid #000;
    padding: 8px;
}

.pinout-table thead th {
    background-color: #d1ecf1; /* Цвет фона заголовка */
    font-weight: bold;
}

.pinout-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.bold-text {
    font-weight: bold;
}




.section.kits table {
    margin: 20px auto; 
    border-spacing: 20px 10px; 
}

.section.kits td {
    text-align: center; 
}

.section.kits img {
    max-width: 100px; 
    height: auto;
}

.section.kits p {
    margin: 10px 0 0; 
    font-size: 14px; 
}




.center-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%; 
}

.equipment-table {
    border-collapse: collapse; 
    margin: 0 auto; 
    width: 80%; 
    max-width: 800px; 
    text-align: left; 
}

.equipment-table th, .equipment-table td {
    border: 1px solid #ccc; 
    padding: 8px 12px; 
}

.equipment-table th {
    background-color: #f5f5f5; 
    text-align: center; 
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}


.slogan {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 16px;
    font-style: italic;
    color: #777; 
    text-align: right;
    font-weight: 500; 
}

.disclaimer {
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.disclaimer h2 {
    margin-top: 0;
    font-size: 18px;
    color: #d9534f; 
    text-align: center;
}

.disclaimer a {
    color: #007bff;
    text-decoration: underline;
}

.disclaimer a:hover {
    color: #0056b3;
    text-decoration: none;
}

.set {
    color: #000000;
    font-style: italic;
    font-weight: bold;
}

.prot{
  color: #00cccc;
    font-style: italic;
}

.at{
  color: #cc0000;
  font-weight: bold;
    
}




.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.top-bar {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;          
  padding: 0px 24px;
  background: #f2f2f2;
  border-bottom: 1px solid #ddd;
  row-gap: 10px;
}

.language-switcher {
  order: -1;                
  margin-right: auto;       
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; 
  gap: 12px;
}


.news-box h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #444;
}

.news-content {
  max-height: 90px;
  overflow-y: auto;
  padding-right: 5px;
  font-size: 0.95em;
  color: #333;
  background: #eeeeee;
 
}

.news-content p {
  margin: 4px 0;
}

.ali-button {
  display: inline-block;
  background-color: #ff4747;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s;
}

.ali-button:hover {
  background-color: #e03c3c;
}
.d-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: #fff;
        }
.d-table th, 
.d-table td {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: left;
        }
.d-table th {
            background-color: #007BFF;
            color: white;
        }



