@charset "utf-8";

/*html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, img, fieldset, form, label, legend, ul, ol { margin:0px; padding:0px; border:0px; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline }*/

* {
	box-sizing: border-box;
}
        
body {
	margin: 0 auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif; /* Системные шрифты iOS */
	font-size: clamp(14px, 4vw, 16px);
	overscroll-behavior: none; /* Предотвращает bounce-эффект */
	/*width: auto;*/
	/*max-width: 960px;*/
	/*font-size: 16px;*/
}

img, video {
	max-width: 100%;
	height: auto;
}

table.mystyle {
	/*font-size:10px !important;*/
	text-align:center !important;
}

table.mystyle a.icons i {
	font-size: 1.5em !important;
	color: #6B894D !important;
}

table.mystyle a:hover i { color: #ced4da !important; }

table.mystyle tbody td {
    color: #adb5bd !important;
}

.hide-from-m {
    width:20% !important;
    vertical-align: middle;
}

.grey	{ color: #6c757d !important; }
.grey2	{ color: #495057 !important; }
.grey3	{ background-color: #ced4da !important; }
.red	{ color: #de5c9d !important; }
.red2	{ color: #e685b5 !important; }
.red3	{ color: #d63384 !important; }
.red4	{ background-color: #FFE5F2 !important; }
.orange { color: #fd7e14 !important; }
.green	{ color: #198754 !important; }
.green2	{ color: #6B894D !important; }
.green3 { background-color: #D7E9C0 !important; }
.blue	{ color: #6ea8fe !important; }
.blue2	{ color: #8c68cd !important; }

.container { max-width: 960px; }

@media only screen and (max-width: 402px) and (-webkit-min-device-pixel-ratio: 3) {
    /* Стили для iPhone 17 Pro */
    .container { max-width: 402px; }
    .mystyle { font-size: 10px !important }
    .hide-from-m { display: none; }
}

@media only screen and (min-width: 440px) and (max-width: 440px) and (-webkit-min-device-pixel-ratio: 3) {
    /* Стили для iPhone 17 Pro Max */
    .container { max-width: 440px; }
    .mystyle { font-size: 10px !important }
    .hide-from-m { display: none; }
}

:root {
--bs-primary: #6B894D !important;
--bs-primary-rgb: 107,137,77;
--bs-primary-bg-subtle: #3C4835 !important;
--bs-primary-border-subtle: #5D7345 !important;
--bs-primary-text-emphasis: #6B894D !important;
}

/* Для primary кнопок */
.btn-primary {
  --bs-btn-bg: #6B894D !important;
  --bs-btn-border-color: #5D7345 !important;
  --bs-btn-hover-bg: #5D7345 !important;
  --bs-btn-hover-border-color: #3C4835 !important;
  --bs-btn-active-bg: #6B894D !important;
  --bs-btn-active-border-color: #5D7345 !important;
}

.nav-item .nav-link {
  color: #6c757d !important;
}

.nav-item .nav-link:hover {
  color: #6B894D !important;
}

.nav-item .nav-link.active,
.nav-pills .nav-item.show .nav-link {
  color: white !important;
  background-color: #6B894D !important;
  border-color: #5D7345 !important;
}

/* dropdown-item базовый стиль */
.dropdown-item {
  color: #6c757d !important;
  background-color: transparent;
}

/* hover состояние */
.dropdown-item:hover,
.dropdown-item:focus {
  color: #6B894D !important;
}

/* активный dropdown-item */
.dropdown-item.active,
.dropdown-item:active {
  color: white !important;
  background-color: #6B894D !important;
  border-color: #3C4835 !important;
}

/* Для темного dropdown-menu */
.dropdown-menu-dark .dropdown-item {
  color: #dee2e6 !important;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  color: #6B894D !important; /* светлее для dark */
}

.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active {
  color: white !important;
  background-color: #6B894D !important;
}

.list-group {
  width: 100%;
  max-width: 460px;
  margin-inline: 1.5rem;
}

.list-group-item,
.list-group-item-action {
  border-top-width: 1px !important;
}

/* hover состояние */
.list-group-item:hover {
  color:white !important;
}

/* активный list-group-item */
.list-group-item.active {
  color: white !important;
  background-color: #6B894D !important;
  border-color: #3C4835 !important;
}

/* отключенный */
.list-group-item.disabled,
.list-group-item:disabled {
  color: #6c757d !important;
}

/* action вариант (кликабельный) */
.list-group-item-action:hover {
  color:white !important;
  background-color:#6B894D !important;
}

.list-group-item-action.active {
  color: white !important;
  background-color: #6B894D !important;
  border-color: #3C4835 !important;
}

.progress-bar {
  background-color: #6B894D;
}

/* Для bg-primary */
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

/* text-primary */
.text-primary {
  color: #6B894D !important;
}

/* border-primary */
.border-primary {
  border-color: #5D7345 !important;
}
