body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #ffffff;
    color: #333;
    padding: 1em;
    text-align: center;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

nav {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    padding: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #f0f0f0;
}

#catalog {
    float: left;
    width: 10%;
    padding: 20px;
    box-sizing: border-box;
}

#catalog h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

nav ul ul {
    display: none;
    margin-left: 15px;
}

nav ul li:hover > ul {
    display: block;
}

#main-content {
    margin-left: 12%;
    padding: 20px;
    box-sizing: border-box;
}

#main-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

#main-content ul {
    list-style-type: none;
    padding: 0;
}

#main-content li {
    font-size: 16px;
    margin-bottom: 5px;
}

#news {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.news-title {
    font-size: 24px;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #0077cc;
    padding-bottom: 5px;
}

.news-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.news-item ul {
    list-style-type: disc;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
}

.news-item a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.news-item a:hover {
    text-decoration: none;
    color: #005580;
}

footer {
    background-color: #ffffff;
    color: #333;
    text-align: center;
    padding: 1em;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.12), 0 -1px 2px rgba(0, 0, 0, 0.24);
    height: 40px;
}

@media only screen and (max-width: 600px) {
    header {
        padding: 0.5em;
    }

    nav ul {
        text-align: center;
    }

    nav ul li {
        display: inline-block;
        margin-right: 20px;
    }

    nav a {
        padding: 8px;
    }

    #news {
        padding: 10px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-item {
        margin-bottom: 10px;
    }

    footer {
        padding: 0.5em;
    }
}

.logo2 {
    margin-right: 5px;
	display: inline-block;
	float: left
}

.logo2 img {
    max-width: 150px;
	text-align: left;
}

.manufacturer-container {
    text-align: center;
    margin-bottom: 20px;
}

.company-name {
    font-size: 24px;
    margin-bottom: 10px;
	text-align: center;
}

.manufacturer-info {
    display: flex;
}

.manufacturer-info .logo {
    margin-bottom: 10px;
}

.left-text {
    text-align: left;
	margin-bottom: 0;
	margin-top: 0;
	text-indent: 5ch;
}

.model {
	display: flex;
}

.model-name {
	width: 15%;
}

.model-name a {
	text-decoration: none;
	color: black;
}

.model-name a:hover {
	text-decoration: none;
	color: red;
}

.model-name a:visited {
	text-decoration: none;
	color: black;
}

.model-name a:visited:hover {
	text-decoration: none;
	color: red;
}

.model-image img {
	max-height: 310px;
	max-width: 495px;
}

.block {
  position:relative;
  width: 337px;
  height: 56px;
  border: 3px solid #000;
  text-align:center;
}
.wrap {
  
  display:inline-block;
 }
.miniblock {

  float: left;
  height: 50px;
  width: 51px;
  border: 1px solid #000;
  margin: 1.5px;
}