.em-infobox {
float: right;
clear: right;
width: 300px;
max-width: 100%;
margin: 0 0 1.25rem 1.5rem;
border: 1px solid #8ebfe8;
border-radius: 10px;
border-spacing: 0;
overflow: hidden;
background: rgba(247, 251, 255, 0.98);
color: #173652;
box-shadow:
0 10px 28px rgba(10, 53, 99, 0.14);
}
/* Ячейки */
.em-infobox th,
.em-infobox td {
padding: 8px 10px;
border-bottom: 1px solid #d6e7f4;
vertical-align: top;
}
/* Название параметра */
.em-infobox th {
width: 42%;
background: rgba(225, 241, 253, 0.55);
color: #345774;
font-weight: 600;
text-align: left;
}
/* Значение */
.em-infobox td {
background: rgba(250, 253, 255, 0.9);
}
/* Главный заголовок */
.em-infobox__title {
padding: 11px !important;
background:
linear-gradient(
135deg,
#0b4f9d,
#168bf0
) !important;
color: white !important;
font-size: 1.2rem;
font-weight: 700 !important;
text-align: center !important;
text-shadow:
0 1px 2px rgba(0, 0, 0, 0.25);
}
/* Изображение */
.em-infobox__image {
padding: 12px !important;
background: #eef7fe !important;
text-align: center;
}
.em-infobox__image img {
display: block;
max-width: 100%;
height: auto;
margin: 0 auto;
}
/* Подзаголовок внутри инфобокса */
.em-infobox__section {
background: #dceefa !important;
color: #214b70 !important;
font-weight: 700 !important;
text-align: center !important;
}
/* Текст на всю ширину */
.em-infobox__full {
background: rgba(245, 251, 255, 0.95) !important;
text-align: center;
}
/* Небольшой статус */
.em-infobox__status {
display: inline-block;
padding: 2px 7px;
border: 1px solid #9bc8e8;
border-radius: 999px;
background: #e8f6ff;
color: #145991;
font-size: 0.9em;
font-weight: 600;
}
/* Нижняя строка без дополнительной границы */
.em-infobox tr:last-child th,
.em-infobox tr:last-child td {
border-bottom: 0;
}
/* Ссылки */
.em-infobox a {
color: #0967c8;
}
.em-infobox a:hover {
color: #008ed8;
}
/* Мобильная версия */
@media (max-width: 700px) {
.em-infobox {
float: none;
width: 100%;
margin:
1rem
0;
}
}