body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
		
		
		 /* Стилі для банера */
        header {
            background-color: #4CAF50;
            color: white;
            padding: 20px;
            text-align: center;
        }

        /* Line box */
		.lw_line_col_box {
    background-color: orange; /* Помаранчевий фон */
    overflow: hidden;
    position: relative;
}

.lw_line_block {
    display: flex;
    white-space: nowrap;
    animation: scrollText 60s linear infinite; /* Анімація рядка, що біжить */
}

.lw_line_box {
    padding: 10px 20px;
}

.lw_line_text {
    color: black; /* Чорний колір тексту */
    font-size: 18px;
}
@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

    /* Стили для навигационного меню */
    nav {
      background-color: #333;
      overflow: hidden;
	  text-align: center;
    }
    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    nav ul li {
      float: left; /* Выравнивание элементов по горизонтали */
    }
    nav ul li a {
      display: block;
      color: #fff;
      text-align: center;
      padding: 14px 16px;
      text-decoration: none;
    }
    nav ul li a:hover {
      background-color: #111;
    }


				.container {
			display: flex;
			min-height: 100vh;
		}

		.sidebar {
			width: 250px;
			background-color: #2c3e50;
			padding: 20px;
		}

		.sidebar nav ul {
			list-style: none;
		}

		.sidebar nav ul li {
			margin-bottom: 15px;
		}

		.sidebar nav ul li a {
			color: #ecf0f1;
			text-decoration: none;
			font-size: 18px;
		}

		.sidebar nav ul li a.active {
			font-weight: bold;
			color: #3498db;
		}
        .profile-container {
            max-width: 500px;
            margin: auto;
            border: 1px solid #ccc;
            padding: 20px;
            border-radius: 10px;
            background-color: #f9f9f9;
        }
        .profile-photo img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            font-weight: bold;
        }
        input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        button {
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
        .edit-button {
            display: <?php echo ($is_admin ? 'block' : 'none'); ?>;
            margin-top: 10px;
        }
		.family-relatives {
			width: 300px;
			padding: 20px;
			background-color: #f0f0f0;
		}
		
		/* Загальний контейнер для розташування профілю та родичів в один рядок */
.profile-wrapper {
    display: flex;
    gap: 20px;
}

/* Стовпчик профілю та родичів */
.profile-container,
.relatives-column {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
}

/* Карта родича */
.relative-card {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

/* Для останньої карти прибираємо нижню рамку */
.relative-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Стилізація зображення родича */
.relative-card img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}
table {
            width: 60%;
            border-collapse: collapse;
        }
        th, td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        a {
            text-decoration: none;
            color: blue;
        }
        a:hover {
            text-decoration: underline;
        }

        /* Стилі для футера */
        footer {
            background-color: #4CAF50;
            color: white;
            text-align: center;
            padding: 10px;
            position: relative;
            bottom: 0;
            width: 100%;
        }