/* Reset для всьогоб включая unicode */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body {
    font-family: Arial, sans-serif !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    background-color: #f4f4f4 !important;
}

/* Header */
html body header {
    background-color: #023f04 !important;
    color: white !important;
    padding-left: 40px !important;
	 padding-right: 40px !important;
    display: flex !important;
	justify-content: space-between;
    align-items: center !important;
    min-height: 120px !important;
    unicode-bidi: plaintext !important; /* Виправлення для тексту */
}

html body header .logo img {
    height: 150px !important;
    max-width: 100% !important;
}

html body header h1 {
	margin: 0 !important;
	padding: 0 !important;
	text-align: center !important;
	flex: 1 !important;
	color: #fff !important;
	display: block !important;
}

/* Меню з високою специфічністю */
html body nav#nav-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    background-color: #023f04 !important;
	color: white !important;
}

html body nav#nav-menu ul li {
    margin: 0 15px !important;
}

html body nav#nav-menu ul li a {
    text-decoration: none !important;
    color: #333333 !important;
    font-weight: bold !important;
    padding: 5px 10px !important;
    transition: color 0.3s !important;
}

html body nav#nav-menu ul li a:hover {
    color: #4CAF50 !important;
}

html body nav#nav-menu .separator {
    color: #333333 !important;
    font-weight: bold !important;
}

/* Line box */
html body .lw_line_col_box {
    display: flex;
	justify-content: center; /* горизонтальне вирівнювання */
	align-items: center;     /* вертикальне вирівнювання */
	background-color: orange !important;
    overflow: hidden !important;
    width: 100% !important;
	height: 5vh;           /* або будь-яка висота контейнера */

}

html body .lw_line_block {
    display: flex !important;
    white-space: nowrap !important;
    animation: scrollText 60s linear infinite !important;
	
}

.clickable-row {
    cursor: pointer; /* Змінює курсор на "руку" */
}

.clickable-row:hover {
    background-color: #bffdac; /* Додає візуальний ефект при наведенні */
}

.relative-card {
    cursor: pointer;
    transition: background-color 0.2s;
}
.relative-card:hover {
    background-color: #cdcdcd; /* Світлий фон при наведенні */
}


/* Форми */
html body main {
    flex: 1 !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

html body form {
    display: flex !important;
    flex-direction: column !important;
    max-width: 400px !important;
}

/* Кнопки та inputs */
html body input, html body select, html body button {
    width: 100% !important;
    padding: 8px !important;
    margin-bottom: 10px !important;
}

/* Футер */
html body footer {
    background-color: #333 !important;
    color: white !important;
    text-align: center !important;
    padding: 10px !important;
}

/* Анімація */
@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Media */
@media (max-width: 768px) {
    html body nav#nav-menu ul {
        flex-direction: column !important;
    }
}

.family-list {
	display: flex;
	flex-direction: column;
	align-items: center;
}