@charset "utf-8";
/* CSS Document */
.navbar {
	border-bottom: 1px solid #878787;
	padding: 0;
	background-color: #d7e4f5;
}
.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2px 20px;
	background-color: #d7e4f5;
	width: 100%;
	box-sizing: border-box;
	flex-wrap: nowrap;
}
.logo {
	display: flex;
	align-items: center;
}
.logo-image {
	background-image: url("../image/logo-160x36.b47e4ef277c0.png");
	margin-right: 14px;
	width: 160px;
	height: 36px;
	background-size: cover;
	background-position: center;
}
.logo-text {
	line-height: 1;
}
.logo-text .title {
	font-weight: bold;
	font-size: 20px;
}
.logo-text .subtitle {
	font-size: 15px;
	color: #414141;
}
.right-block {
	display: flex;
	align-items: center;
}
/*.premium-badge {
            background-color: #00c6ff;
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-weight: bold;
            margin-right: 15px;
        }*/
.star-rating, .sidebar .star-rating {
	color: orange;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
}
.star-rating:hover {
	color: #F60;
}
.star-rating {
	margin-right: 15px;
}
.sidebar .star-rating {
    margin-right: 0;
}
.profile-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #f0f0f0;
	background-image: url("../image/avatar/60/f20.fc1b6f7f6004.png"); /* Add your placeholder image */
	background-size: cover;
	background-position: center;
}
.nav-link {
	color: #000;
	font-size: 16px;
}
.dropdown-menu, .dropdown-menu.show {
	padding: 5px 0 0;
	border: 1px solid #CCC;
	line-height: 10px;
	background-color: #fffefa;
	min-width: 11rem;
	box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, .2);
	margin-top: -2px;
	z-index:9999 !important;
}
.dropdown:hover .dropdown-menu {
	display: block; /* Показываем меню при наведении */
}
.dropdown-footer-text {
	margin-bottom: 10px;
}
.dropdown-item {
	padding: 8px;
	margin-bottom: 5px;
	line-height: 1;
}
.dropdown-item:hover {
	background-color:#e8e8e8;
}
.sidebar {
	position: fixed;
	top: 0;
	left: -300px; /* начальная позиция */
	width: 250px;
	height: 100%;
	background-color: #f8f9fa;
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
	transition: left 0.3s ease-in-out;
	z-index: 9999;
	overflow: auto;
}
.sidebar-content {
	padding: 10px;
}
.sidebar-content .menu {
	padding: 10px;
}
.sidebar .menu {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 10px;
}
.sidebar .menu li {
	margin: 10px 0;
}
.sidebar .menu a {
	text-decoration: none;
	color: #000;
	font-size: 16px;
	display: block;
	padding: 10px 0;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	z-index: 999;
	transition: opacity 0.3s ease-in-out;
}
.navbar-light .navbar-nav .nav-link {
	color: #313030;
}
.navbar-light .navbar-nav .nav-link:hover {
	color: #be0017;
}
.navbar-nav li {
	/*margin-top: 10px;*/
}
button.menu-button {
	margin: 5px;
	border: 0;
	font-size: 28px;
	background-color: #ffffff;
	font-weight: 600;
}
.dropdown-footer {
	line-height: 20px;
	font-size: 14px;
	font-weight: 500;
	padding: 10px;
	letter-spacing: 0.4px;
	border-radius: 5px;
}
.dropdown-footer a {
	text-decoration: none;
	color: #fff;
}
.submenu{
            display: block; /* Подменю всегда открыто на мобильных устройствах */
            position: static;
            box-shadow: none;
            padding-left: 10px;
}
.submenu li{
	line-height: 2px;
}
.submenu li a:before {
    content: url("../image/dot-8x10.2e7aab1e6682.png");
    line-height: 0;
    position: relative;
    padding-right: 4px;
    cursor: pointer;
    white-space: nowrap;
}
			
 @media(max-width:991.98px) {
.profile-icon {
    margin-left: 10px;
}		 
.dropdown-menu {
        display: block !important; /* Принудительное отображение подменю */
        position: static !important; /* Убираем всплывающее поведение */
        box-shadow: none; /* Убираем тень для мобильной версии */
        padding-left: 10px; /* Настройка отступа */
    }

    .dropdown-item {
        margin-bottom: 10px; /* Добавляем отступы для мобильной версии */
    }

    .dropdown:hover .dropdown-menu {
        display: block; /* Убедитесь, что подменю не скрывается */
    }
.nav-item .nav-link{
	background-color:#ffcccc30;
	font-weight: 500;
}
}

@media(max-width:767.98px) {
.navbar .right-block .crown-white {
    padding: 0.15rem;
    font-size: 0.845rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}	
.logo-image {
	background-image: url("../image/logo-100x22.7ab74c125020.png");
	margin-right: 4px;
	width: 100px;
	height: 22px;
}
.logo-text .title {
	font-size: 14px;
}
	  
} 
 @media(max-width:575.98px) {
.navbar .right-block .crown-white {
    padding: 0.13rem;
    font-size: 0.8rem;
    line-height: 1;
    border-radius: 0.2rem;
}	 

.logo-text .subtitle {
	font-size: 10px;
}
.logo {
	margin-left: -2px;
}
.top-bar {
	padding: 4px 8px;
}
button.menu-button {
	margin: 0px 4px;
	font-size: 26px;
}
.profile-icon {
	width: 40px;
	height: 40px;
}
}
