/* =========================================================
   OSV UI — единое оформление интерфейса CRM
   Накладывается поверх SmartAdmin (smart-style-3) и style.css.
   Подключается последним в inc/header.php, разметку страниц
   не требует менять.
   ========================================================= */

.smart-style-3 {
	--osv-bg: #f4f6f9;
	--osv-surface: #ffffff;
	--osv-border: #e4e8ee;
	--osv-border-strong: #d3d9e2;
	--osv-text: #1f2733;
	--osv-text-muted: #6b7684;
	--osv-text-soft: #93a0b0;
	--osv-primary: #1f5fd0;
	--osv-primary-dark: #174cab;
	--osv-primary-soft: #eef3fc;
	--osv-green: #1aa06d;
	--osv-amber: #e8a33d;
	--osv-violet: #7a5cf0;
	--osv-teal: #1596a8;
	--osv-red: #d8453f;
	--osv-radius: 8px;
	--osv-radius-sm: 6px;
	--osv-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	--osv-shadow-md: 0 4px 16px rgba(23, 38, 64, .10);
}

/* ---------- Фон и типографика ---------- */

/* фон страницы: сетка из квадратов + тонкие диагональные полосы + световая
   заливка сверху. Задаётся корневому элементу, поэтому закрывает всё окно. */
.smart-style-3 {
	background-color: #f4f6f9 !important;
	background-image:
		linear-gradient(rgba(31, 95, 208, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 95, 208, .05) 1px, transparent 1px),
		repeating-linear-gradient(135deg, rgba(31, 95, 208, .014) 0, rgba(31, 95, 208, .014) 2px, transparent 2px, transparent 13px),
		linear-gradient(180deg, rgba(31, 95, 208, .07) 0, rgba(244, 246, 249, 0) 260px) !important;
	background-size: 26px 26px, 26px 26px, auto, auto !important;
	background-position: -1px -1px, -1px -1px, 0 0, 0 0 !important;
	background-repeat: repeat, repeat, repeat, no-repeat !important;
}

.smart-style-3 body {
	background: transparent !important;
	color: #1f2733;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", segoeui, Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
}

.smart-style-3 h1,
.smart-style-3 h2,
.smart-style-3 h3,
.smart-style-3 h4,
.smart-style-3 h5 {
	font-family: inherit;
}

/* иконки по умолчанию — акцентного цвета, но в кнопках/шапках наследуют цвет фона */
.smart-style-3 .fa {
	color: #1f5fd0;
}

.smart-style-3 .btn .fa,
.smart-style-3 button .fa,
.smart-style-3 #header .fa,
.smart-style-3 .page-footer .fa,
.smart-style-3 .jarviswidget > header .fa,
.smart-style-3 .modal .block-header .fa,
.smart-style-3 .modal-header .fa,
.smart-style-3 nav > ul > li.active > a > i,
.smart-style-3 nav > ul > li.active > a > i.fa,
.smart-style-3 a.close_link .fa,
.smart-style-3 .pagination .fa {
	color: inherit;
}

/* =========================================================
   Шапка
   ========================================================= */

.smart-style-3 #header {
	height: 52px;
	padding: 0 12px 0 0;
	border-bottom: 1px solid rgba(9, 26, 61, .45);
	background-color: #17408f !important;
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .055) 0, rgba(255, 255, 255, .055) 1px, transparent 1px, transparent 10px),
		radial-gradient(260px 150px at 84% -45%, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0)),
		linear-gradient(90deg, #0e2c68 0%, #1a4aa0 55%, #2160c4 100%) !important;
	background-repeat: repeat, no-repeat, no-repeat !important;
	-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .10), 0 2px 12px rgba(14, 44, 104, .22);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .10), 0 2px 12px rgba(14, 44, 104, .22);
	text-align: left;
}

.smart-style-3 #header #logo-group {
	width: 240px !important;
	height: 52px;
	float: left;
}

.smart-style-3 #header .osv-logo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 52px;
	width: auto !important;
	margin: 0 !important;
	float: left;
}

.smart-style-3 #header .osv-logo img,
.smart-style-3 #header #logo img {
	display: block;
	width: auto !important;
	height: 28px !important;
	margin: 0 0 0 16px !important;
	padding: 0 !important;
}

/* кнопки в шапке: свернуть меню, полный экран, выход */

.smart-style-3 #header .btn-header > :first-child > a {
	width: 34px;
	min-width: 34px;
	height: 34px;
	margin: 9px 0 0 6px;
	padding: 0;
	line-height: 34px;
	border: 0 !important;
	border-radius: 8px;
	background: rgba(255, 255, 255, .14) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 15px;
	text-shadow: none;
	cursor: pointer !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	-webkit-transition: background-color .15s ease;
	transition: background-color .15s ease;
}

.smart-style-3 #header .btn-header > :first-child > a:hover,
.smart-style-3 #header .btn-header > :first-child > a:active {
	background: rgba(255, 255, 255, .26) !important;
	color: #fff !important;
	border: 0 !important;
}

.smart-style-3 #header #hide-menu i,
.smart-style-3 #header #hide-menu i:hover,
.smart-style-3 #header #logout i,
.smart-style-3 #header #fullscreen i {
	color: #fff !important;
}

.smart-style-3 #header .header-dropdown-list > li > .dropdown-toggle {
	margin-top: 9px;
	padding: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, .14);
}

.smart-style-3 #header #mobile-profile-img a.userdropdown img {
	width: 28px;
	margin: 3px;
	border: 0 !important;
	border-radius: 6px;
}

/* выпадающие меню в шапке */

.smart-style-3 #header .dropdown-menu {
	margin-top: 6px;
	padding: 6px;
	border: 1px solid #e4e8ee;
	border-radius: 8px;
	background: #fff;
	-webkit-box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
	box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
}

.smart-style-3 .dropdown-menu > li > a {
	padding: 7px 12px;
	border-radius: 6px;
	color: #1f2733;
	font-size: 13px;
}

.smart-style-3 .dropdown-menu > li > a:hover,
.smart-style-3 .dropdown-menu > li > a:focus,
.smart-style-3 .dropdown-menu > .active > a,
.smart-style-3 .dropdown-menu > .active > a:hover {
	background-color: #eef3fc;
	color: #1f5fd0;
}

.smart-style-3 .dropdown-menu .divider {
	margin: 5px 4px;
	background-color: #e4e8ee;
}

/* =========================================================
   Левое меню
   ========================================================= */

.smart-style-3 aside#left-panel {
	padding-top: 52px;
	border-right: 1px solid #e1e6ee;
	background-color: #ffffff;
	background-image:
		repeating-linear-gradient(135deg, rgba(31, 95, 208, .028) 0, rgba(31, 95, 208, .028) 1px, transparent 1px, transparent 9px),
		linear-gradient(180deg, #ffffff 0%, #f7f9fc 340px, #f7f9fc 100%);
	-webkit-box-shadow: 1px 0 8px rgba(23, 38, 64, .05);
	box-shadow: 1px 0 8px rgba(23, 38, 64, .05);
}

/* блок с ФИО пользователя */

.smart-style-3 .login-info {
	height: auto;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e4e8ee;
	background: transparent !important;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.smart-style-3 .login-info > span {
	height: auto;
	padding: 11px 14px;
	border-bottom: 0;
}

.smart-style-3 .login-info a {
	margin-top: 0;
	color: #1f2733 !important;
}

.smart-style-3 .login-info a span {
	max-width: 100%;
	color: #1f2733 !important;
	text-transform: none;
}

.smart-style-3 .login-info a > span > span {
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.35;
	white-space: normal;
}

/* выбор города */

.smart-style-3 aside#left-panel nav > .form-control,
.smart-style-3 aside#left-panel nav > select.form-control {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: calc(100% - 24px) !important;
	max-width: none;
	height: 32px !important;
	margin: 10px 12px !important;
	padding: 0 8px !important;
	border: 1px solid #d3d9e2 !important;
	border-radius: 6px;
	background-color: #fff !important;
	color: #1f2733;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-align: left !important;
	text-align-last: left;
}

.smart-style-3 aside#left-panel nav > div {
	padding: 0 14px !important;
	color: var(--osv-text-muted);
	font-size: 13px !important;
	font-weight: 600 !important;
}

/* пункты меню */

.smart-style-3 nav > ul {
	padding: 8px 8px 16px;
}

.smart-style-3 nav > ul > li {
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
}

.smart-style-3 nav > ul > li > a {
	margin: 2px 0;
	padding: 9px 12px 9px 11px !important;
	border-radius: 8px;
	color: #46536b !important;
	font-size: 13px;
	font-weight: 600;
	-webkit-transition: background-color .15s ease, color .15s ease;
	transition: background-color .15s ease, color .15s ease;
}

.smart-style-3 nav > ul > li > a > i {
	width: 20px;
	margin-right: 9px;
	color: #93a0b0 !important;
	font-size: 16px !important;
	-webkit-transition: color .15s ease;
	transition: color .15s ease;
}

.smart-style-3 nav ul li a:hover,
.smart-style-3 nav > ul > li > a:hover {
	background: #eef3fc !important;
	color: #1f5fd0 !important;
}

.smart-style-3 nav > ul > li > a:hover > i {
	color: #1f5fd0 !important;
}

.smart-style-3 nav ul li a:active {
	background: #eef3fc !important;
}

/* активный раздел */

.smart-style-3 nav > ul > li.active > a,
.smart-style-3 nav ul li.active > a,
.smart-style-3 nav > ul > li.active > a:hover {
	background: #1f5fd0 !important;
	color: #fff !important;
	font-weight: 700;
	-webkit-box-shadow: 0 3px 10px rgba(31, 95, 208, .28);
	box-shadow: 0 3px 10px rgba(31, 95, 208, .28);
}

.smart-style-3 nav > ul > li.active > a > i,
.smart-style-3 nav > ul > li.active > a:hover > i {
	color: #fff !important;
}

.smart-style-3 nav ul li.active > a:before,
.smart-style-3 nav > ul > li.active > a:before {
	content: "" !important;
}

/* раскрытая группа с подпунктами */

.smart-style-3 nav > ul > li.open {
	border-left: 0 !important;
}

.smart-style-3 nav > ul > li.open > a {
	padding-left: 11px !important;
	background: #f0f3f8 !important;
	color: #1f2733 !important;
}

.smart-style-3 nav > ul > li.open > a > i {
	color: #1f5fd0 !important;
}

.smart-style-3 nav > ul > li > a b {
	right: 12px;
	top: 11px;
	color: #93a0b0 !important;
	font-size: 11px;
}

.smart-style-3 nav ul ul {
	padding: 2px 0 4px;
	background: transparent !important;
}

.smart-style-3 nav ul ul li > a,
.smart-style-3 nav > ul > li.open ul li > a,
.smart-style-3 nav > ul > li.open > ul > li > a {
	margin: 1px 0;
	padding: 7px 12px 7px 34px !important;
	border-radius: 8px;
	color: #6b7684 !important;
	font-size: 13px;
	font-weight: 500;
}

.smart-style-3 nav ul ul li > a:before {
	content: "";
	position: absolute;
	left: 18px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2px;
	border-radius: 50%;
	background: #c6cfdd;
}

.smart-style-3 nav ul ul li.active > a {
	background: #eef3fc !important;
	color: #1f5fd0 !important;
	font-weight: 700;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.smart-style-3 nav ul ul li.active > a:before {
	background: #1f5fd0;
}

/* кнопка «свернуть меню» внизу панели */

.smart-style-3 .minifyme {
	margin-top: 10px;
	border: 1px solid #dbe5f7;
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: #eef3fc;
	color: #1f5fd0;
	font-size: 16px;
	line-height: 28px;
}

.smart-style-3 .minifyme:hover {
	background: #dfe9fb;
	color: #174cab;
}

.smart-style-3 .minifyme .fa {
	color: inherit !important;
}

/* свёрнутое меню */

.smart-style-3.minified nav > ul {
	padding: 6px 4px;
}

/* выбор города и подпись города не помещаются в свёрнутое меню */
.smart-style-3.minified aside#left-panel nav > .form-control,
.smart-style-3 .minified aside#left-panel nav > .form-control,
.smart-style-3.minified aside#left-panel nav > div,
.smart-style-3 .minified aside#left-panel nav > div {
	display: none !important;
}

.smart-style-3.minified nav > ul > li,
.smart-style-3 .minified nav > ul > li {
	border: 0 !important;
}

.smart-style-3.minified nav > ul > li > a {
	padding: 10px 4px !important;
	text-align: center;
}

.smart-style-3.minified nav > ul > li > a > i {
	width: auto;
	margin: 0;
}

.smart-style-3.minified nav > ul > li > ul,
.smart-style-3 .minified nav > ul > li > ul {
	margin-top: 0;
	border-radius: 0 8px 8px 0;
	background: #ffffff !important;
	-webkit-box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
	box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
}

.smart-style-3.minified nav ul li a,
.smart-style-3 .minified nav ul li a,
.smart-style-3.minified nav ul li.open > a,
.smart-style-3 .minified nav ul li.open > a {
	color: #46536b !important;
}

.smart-style-3.minified nav > ul > li > a > .menu-item-parent {
	border: 0;
	border-radius: 0 8px 8px 0;
	background-color: #ffffff;
	color: #1f2733;
	-webkit-box-shadow: 0 8px 20px rgba(23, 38, 64, .16);
	box-shadow: 0 8px 20px rgba(23, 38, 64, .16);
}

/* =========================================================
   Каркас контента
   ========================================================= */

.smart-style-3 #main {
	padding-bottom: 56px;
}

.smart-style-3 #content {
	padding: 18px 18px 10px;
}

.smart-style-3 #ribbon {
	background: transparent !important;
	border: 0;
}

.smart-style-3 #ribbon .breadcrumb {
	padding: 8px 0 !important;
	background: transparent;
	font-size: 12px;
}

.smart-style-3 #ribbon .breadcrumb,
.smart-style-3 #ribbon .breadcrumb a {
	color: #6b7684 !important;
}

/* заголовок раздела; в разметке он обёрнут в <nobr> и лежит в узкой
   колонке — разрешаем перенос, иначе заголовок уезжает под счётчики */

.smart-style-3 #content nobr {
	white-space: normal;
}

.smart-style-3 #content nobr h1.page-title {
	font-size: 17px;
}

.smart-style-3 #content nobr h1.page-title > i,
.smart-style-3 #content nobr h1.page-title > i.fa {
	margin-right: 4px;
	font-size: 15px;
}

.smart-style-3 #content .page-title,
.smart-style-3 #content h1.page-title {
	margin: 0 0 14px;
	color: #1f2733 !important;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -.2px;
	line-height: 1.25;
}

.smart-style-3 #content .page-title > i,
.smart-style-3 #content .page-title > i.fa {
	margin-right: 6px;
	color: #1f5fd0 !important;
	font-size: 19px;
}

.smart-style-3 #content .page-title span {
	color: #6b7684;
	font-weight: 600;
}

/* =========================================================
   Счётчики (#sparks)
   ========================================================= */

.smart-style-3 #sparks {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-around;
	margin-bottom: 16px;
	padding: 10px 6px;
	border: 1px solid #e4e8ee;
	border-radius: 8px;
	background: #ffffff !important;
	-webkit-box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	text-align: center;
}

.smart-style-3 #sparks li {
	-webkit-box-flex: 0;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	padding: 2px 14px !important;
	border-left: 1px solid #edf0f5 !important;
	vertical-align: top;
}

.smart-style-3 #sparks li:first-child {
	border-left: 0 !important;
}

/* размеры перебиваем через !important: в разметке разделов у h5 и у span
   со значением заданы инлайновые font-size */
.smart-style-3 #sparks li h5 {
	margin: 0;
	color: #6b7684;
	font-size: 11px !important;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
}

.smart-style-3 #sparks li h5 > span,
.smart-style-3 #sparks li h5 > b {
	display: block;
	margin-top: 3px;
	font-size: 18px !important;
	font-weight: 700;
	letter-spacing: -.3px;
	line-height: 1.2;
}

/* акцентные цвета счётчиков приводим к общей палитре */
.smart-style-3 #sparks .txt-color-blue,
.smart-style-3 #sparks .txt-color-blueDark { color: #1f5fd0 !important; }
.smart-style-3 #sparks .txt-color-green,
.smart-style-3 #sparks .txt-color-greenDark { color: #1aa06d !important; }
.smart-style-3 #sparks .txt-color-red { color: #d8453f !important; }
.smart-style-3 #sparks .txt-color-orange,
.smart-style-3 #sparks .txt-color-yellow { color: #d9911f !important; }
.smart-style-3 #sparks .txt-color-purple { color: #7a5cf0 !important; }
.smart-style-3 #sparks .txt-color-magenta,
.smart-style-3 #sparks .txt-color-pink { color: #c2559b !important; }
.smart-style-3 #sparks .txt-color-teal { color: #1596a8 !important; }

/* =========================================================
   Карточки (jarviswidget) и .well
   ========================================================= */

.smart-style-3 .jarviswidget {
	margin: 0 0 18px;
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
}

.smart-style-3 .jarviswidget > header,
.smart-style-3 .jarviswidget-color-darken > header,
.smart-style-3 .jarviswidget-color-blueDark > header,
.smart-style-3 .jarviswidget-color-blue > header,
.smart-style-3 .jarviswidget-color-teal > header,
.smart-style-3 .jarviswidget-color-green > header,
.smart-style-3 .jarviswidget-color-red > header,
.smart-style-3 .jarviswidget-color-purple > header,
.smart-style-3 .jarviswidget-color-orange > header,
.smart-style-3 .jarviswidget-color-white > header {
	height: 44px;
	padding: 0 4px;
	border: 1px solid #e4e8ee !important;
	border-bottom: 0 !important;
	border-radius: 8px 8px 0 0;
	background: #ffffff !important;
	color: #1f2733 !important;
	line-height: 44px;
}

.smart-style-3 .jarviswidget > header > h2 {
	margin-left: 4px;
	color: #1f2733;
	font-size: 14px;
	font-weight: 700;
	line-height: 44px;
}

.smart-style-3 .jarviswidget > header > .widget-icon {
	width: 30px;
	height: 44px;
	margin-right: -4px;
	color: #1f5fd0;
	font-size: 15px;
	line-height: 44px;
}

.smart-style-3 .jarviswidget > header > .widget-icon .fa {
	color: #1f5fd0;
}

.smart-style-3 .jarviswidget-color-darken > .nav-tabs > li:not(.active) > a,
.smart-style-3 .jarviswidget-color-darken > header > .jarviswidget-ctrls a,
.smart-style-3 .jarviswidget > header > .jarviswidget-ctrls a {
	color: #93a0b0 !important;
}

.smart-style-3 .jarviswidget-ctrls .button-icon {
	height: 44px;
	border-left: 1px solid #edf0f5;
	line-height: 44px;
}

.smart-style-3 .jarviswidget-ctrls .button-icon:hover {
	background-color: #f4f7fc;
}

.smart-style-3 .jarviswidget > div {
	padding: 14px 14px 0;
	border-width: 1px !important;
	border-style: solid !important;
	border-top: 1px solid #e4e8ee !important;
	border-color: #e4e8ee !important;
	border-radius: 0 0 8px 8px;
	background-color: #fff !important;
}

/* карточка без заголовка (формы редактирования) */
.smart-style-3 .jarviswidget > div:first-child {
	border-radius: 8px;
}

.smart-style-3 .jarviswidget-editbox {
	margin: -14px -14px 14px;
	border-bottom: 1px solid #e4e8ee;
}

.smart-style-3 .well {
	border: 1px solid #e4e8ee;
	border-radius: 8px;
	background-color: #fff;
	-webkit-box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
}

.smart-style-3 .panel {
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
	box-shadow: 0 1px 2px rgba(23, 38, 64, .06), 0 1px 10px rgba(23, 38, 64, .04);
}

/* =========================================================
   Таблицы
   ========================================================= */

.smart-style-3 .table {
	margin-bottom: 12px;
	border-color: #e8ecf3;
	color: #1f2733;
}

/* background-color, а не background: у DataTables в th лежат иконки сортировки */
.smart-style-3 .table > thead > tr > th,
.smart-style-3 .table > thead > tr > td {
	border-bottom: 1px solid #d3d9e2;
	border-color: #e8ecf3;
	background-color: #f7f9fc;
	color: #46536b;
	font-weight: 700;
	vertical-align: middle;
}

.smart-style-3 table.dataTable thead .sorting_asc,
.smart-style-3 table.dataTable thead .sorting_desc {
	background-color: #e8effb;
}

.smart-style-3 .table > tbody > tr > td,
.smart-style-3 .table > tbody > tr > th,
.smart-style-3 .table > tfoot > tr > td {
	border-color: #eceff5;
	vertical-align: middle;
}

.smart-style-3 .table-bordered,
.smart-style-3 .table-bordered > thead > tr > th,
.smart-style-3 .table-bordered > thead > tr > td,
.smart-style-3 .table-bordered > tbody > tr > th,
.smart-style-3 .table-bordered > tbody > tr > td,
.smart-style-3 .table-bordered > tfoot > tr > th,
.smart-style-3 .table-bordered > tfoot > tr > td {
	border-color: #e8ecf3;
}

.smart-style-3 .table-hover > tbody > tr:hover,
.smart-style-3 .table-hover > tbody > tr:hover > td {
	background-color: #f4f8ff;
}

.smart-style-3 .table-striped > tbody > tr:nth-of-type(odd),
.smart-style-3 .table-stripped > tbody > tr:nth-of-type(odd) {
	background-color: #fafbfd;
}

/* строки-акценты, которые уже используются в системе */

.smart-style-3 tr.tr_bg1,
.smart-style-3 tr.tr_bg1 > td {
	background-color: #eef3fc !important;
}

.smart-style-3 tr.tr_bg_bottom > td {
	border-top: 2px solid #c3cfe2 !important;
	font-weight: 700;
}

.smart-style-3 .table tfoot > tr > td {
	background-color: #f7f9fc;
	font-weight: 700;
}

/* прокручиваемые обёртки */

.smart-style-3 .table-responsive {
	border-color: #e8ecf3;
}

.smart-style-3 .dataTables_wrapper {
	padding-bottom: 4px;
}

/* =========================================================
   Формы
   ========================================================= */

.smart-style-3 input:not([type]),
.smart-style-3 input[type=color],
.smart-style-3 input[type=email],
.smart-style-3 input[type=number],
.smart-style-3 input[type=password],
.smart-style-3 input[type=tel],
.smart-style-3 input[type=text],
.smart-style-3 input[type=url],
.smart-style-3 input[type=date],
.smart-style-3 textarea,
.smart-style-3 select {
	border: 1px solid #d3d9e2;
	border-radius: 6px;
	color: #1f2733;
}

.smart-style-3 .form-control {
	border: 1px solid #d3d9e2;
	border-radius: 6px;
	background-color: #fff;
	color: #1f2733;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.smart-style-3 .form-control:focus,
.smart-style-3 input:focus,
.smart-style-3 select:focus,
.smart-style-3 textarea:focus {
	border-color: #1f5fd0 !important;
	outline: 0;
	-webkit-box-shadow: 0 0 0 3px rgba(31, 95, 208, .13) !important;
	box-shadow: 0 0 0 3px rgba(31, 95, 208, .13) !important;
}

.smart-style-3 .form-control[readonly],
.smart-style-3 .form-control[disabled] {
	background-color: #f7f9fc;
	color: #46536b;
}

.smart-style-3 .form-control.view {
	background-color: transparent;
}

.smart-style-3 label,
.smart-style-3 .control-label {
	color: #46536b;
	font-weight: 600;
}

.smart-style-3 legend {
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e4e8ee;
	color: #1f2733;
	font-size: 15px;
}

.smart-style-3 legend span.font-weight {
	font-weight: 700;
}

.smart-style-3 label.error {
	color: #d8453f;
	font-size: 12px;
	font-weight: 600;
}

.smart-style-3 .note-color,
.smart-style-3 .note {
	color: #6b7684;
}

/* группы «поле + кнопка»: скругления только по внешним краям */

.smart-style-3 .input-group-addon {
	border-color: #d3d9e2;
	background-color: #f4f7fc;
	color: #6b7684;
}

.smart-style-3 .input-group > .form-control:first-child,
.smart-style-3 .input-group > .input-group-addon:first-child,
.smart-style-3 .input-group > .input-group-btn:first-child > .btn {
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.smart-style-3 .input-group > .form-control:last-child,
.smart-style-3 .input-group > .input-group-addon:last-child,
.smart-style-3 .input-group > .input-group-btn:last-child > .btn {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.smart-style-3 a.close_link {
	border-color: #d3d9e2;
	color: #6b7684;
}

.smart-style-3 a.close_link:hover {
	border-color: #1f5fd0;
	color: #1f5fd0;
}

/* =========================================================
   Кнопки
   ========================================================= */

.smart-style-3 .btn {
	border-radius: 6px;
	font-weight: 600;
	-webkit-transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.smart-style-3 .btn-default {
	border: 1px solid #d3d9e2;
	background-color: #fff;
	background-image: none;
	color: #46536b;
	font-weight: 600;
	text-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.smart-style-3 .btn-default:hover,
.smart-style-3 .btn-default:focus,
.smart-style-3 .btn-default:active,
.smart-style-3 .btn-default.active,
.smart-style-3 .open > .dropdown-toggle.btn-default {
	border-color: #b9c8e6;
	background-color: #f2f7ff;
	background-image: none;
	color: #1f5fd0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.smart-style-3 .btn-primary,
.smart-style-3 .btn-primary.focus,
.smart-style-3 .btn-primary:focus {
	border: 1px solid #1f5fd0;
	background-color: #1f5fd0;
	background-image: none;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-shadow: none;
}

.smart-style-3 .btn-primary:hover,
.smart-style-3 .btn-primary:active,
.smart-style-3 .btn-primary.active,
.smart-style-3 .open > .dropdown-toggle.btn-primary {
	border-color: #174cab;
	background-color: #174cab;
	color: #fff;
}

.smart-style-3 .btn-success {
	border-color: #1aa06d;
	background-color: #1aa06d;
	background-image: none;
	color: #fff;
}

.smart-style-3 .btn-success:hover,
.smart-style-3 .btn-success:active {
	border-color: #158759;
	background-color: #158759;
}

.smart-style-3 .btn-danger {
	border-color: #d8453f;
	background-color: #d8453f;
	background-image: none;
	color: #fff;
}

.smart-style-3 .btn-danger:hover,
.smart-style-3 .btn-danger:active {
	border-color: #bb332e;
	background-color: #bb332e;
}

.smart-style-3 .btn-link {
	color: #1f5fd0;
}

.smart-style-3 p.block-btn {
	margin: 4px 0 14px;
}

/* =========================================================
   Метки и счётчики
   ========================================================= */

.smart-style-3 .label,
.smart-style-3 .badge {
	padding: 3px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .01em;
}

.smart-style-3 .badge {
	background-color: #93a0b0;
}

.smart-style-3 .label-default {
	background-color: #eef1f6;
	color: #46536b;
}

.smart-style-3 .label-primary,
.smart-style-3 .label-info,
.smart-style-3 .badge-info {
	background-color: #1f5fd0;
}

.smart-style-3 .label-success,
.smart-style-3 .badge-success {
	background-color: #1aa06d;
}

.smart-style-3 .label-warning,
.smart-style-3 .badge-warning {
	background-color: #d98a1a;
}

.smart-style-3 .label-danger,
.smart-style-3 .badge-danger {
	background-color: #d8453f;
}

/* =========================================================
   DataTables: фильтры, длина, пагинация
   ========================================================= */

.smart-style-3 .dataTables_wrapper .dataTables_filter input,
.smart-style-3 #dt_basic_filter .form-control,
.smart-style-3 #dt_basic_length .form-control,
.smart-style-3 #dt_basic2_filter .form-control,
.smart-style-3 #dt_basic2_length .form-control {
	border: 1px solid #d3d9e2;
	border-radius: 6px;
}

.smart-style-3 .dataTables_wrapper .dataTables_info,
.smart-style-3 .dataTables_wrapper .dataTables_length,
.smart-style-3 .dataTables_wrapper .dataTables_filter {
	color: #6b7684;
	font-size: 12px;
}

.smart-style-3 .pagination > li > a,
.smart-style-3 .pagination > li > span {
	border-color: #e4e8ee;
	color: #46536b;
}

.smart-style-3 .pagination > li:first-child > a,
.smart-style-3 .pagination > li:first-child > span {
	border-radius: 6px 0 0 6px;
}

.smart-style-3 .pagination > li:last-child > a,
.smart-style-3 .pagination > li:last-child > span {
	border-radius: 0 6px 6px 0;
}

.smart-style-3 .pagination > li > a:hover {
	background-color: #eef3fc;
	color: #1f5fd0;
}

.smart-style-3 .pagination > .active > a,
.smart-style-3 .pagination > .active > a:focus,
.smart-style-3 .pagination > .active > a:hover,
.smart-style-3 .pagination > .active > span,
.smart-style-3 .pagination > .active > span:focus,
.smart-style-3 .pagination > .active > span:hover {
	border-color: #1f5fd0;
	background-color: #1f5fd0;
	color: #fff;
}

/* строка фильтров в шапке таблицы */

.smart-style-3 table.dataTable thead > tr > th.hasinput > input,
.smart-style-3 table.dataTable thead > tr > th.hasinput > select,
.smart-style-3 table thead > tr > th.hasinput > input,
.smart-style-3 table thead > tr > th.hasinput > select {
	height: 26px;
	padding: 0 6px;
	border: 1px solid #dde3ec !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 11px;
	font-weight: 400;
}

.smart-style-3 table thead > tr > th.hasinput > input:focus,
.smart-style-3 table thead > tr > th.hasinput > select:focus {
	border-color: #1f5fd0 !important;
	-webkit-box-shadow: 0 0 0 2px rgba(31, 95, 208, .12) !important;
	box-shadow: 0 0 0 2px rgba(31, 95, 208, .12) !important;
}

.smart-style-3 .dt-toolbar,
.smart-style-3 .dt-toolbar-footer {
	border-color: #e8ecf3 !important;
	background: #fbfcfe !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* =========================================================
   Select2 (v4)
   в сборке плагинов лежит css от select2 v3, поэтому разметку v4
   (в т.ч. мультиселект) описываем целиком здесь
   ========================================================= */

.smart-style-3 .select2-container .select2-selection--single,
.smart-style-3 .select2-container .select2-selection--multiple {
	border: 1px solid #d3d9e2 !important;
	border-radius: 6px !important;
	background: #fff !important;
}

.smart-style-3 .select2-container .select2-selection--single {
	height: 32px !important;
}

.smart-style-3 .select2-container--open .select2-selection--single,
.smart-style-3 .select2-container--open .select2-selection--multiple {
	border-color: #1f5fd0 !important;
}

.smart-style-3 .select2-selection--single .select2-selection__rendered {
	color: #1f2733;
	line-height: 30px;
}

/* ---------- мультиселект ---------- */

.smart-style-3 .select2-container .select2-selection--multiple {
	height: auto !important;
	min-height: 32px;
	padding: 0 6px 4px !important;
	cursor: text;
	line-height: normal !important;
}

.smart-style-3 .select2-selection--multiple .select2-selection__rendered {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	line-height: normal;
}

.smart-style-3 .select2-selection--multiple .select2-selection__rendered:after {
	display: block;
	clear: both;
	content: '';
}

.smart-style-3 .select2-selection__choice {
	position: relative;
	float: left;
	margin: 4px 4px 0 0 !important;
	padding: 2px 9px 2px 23px !important;
	border: 1px solid #cddcf7 !important;
	border-radius: 5px !important;
	background-color: #eef3fc !important;
	color: #1f5fd0;
	font-size: 12px;
	line-height: 17px;
	list-style: none;
}

/* крестик в теме — иконка FontAwesome в :before, у самого элемента
   font-size:0, чтобы спрятать текстовый «×» из разметки select2 */
.smart-style-3 .select2-selection__choice__remove {
	position: absolute !important;
	top: 3px !important;
	right: auto !important;
	bottom: auto !important;
	left: 5px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: none !important;
	cursor: pointer;
}

.smart-style-3 .select2-selection__choice__remove:before {
	font-size: 12px !important;
	color: #7d9ad6;
}

.smart-style-3 .select2-selection__choice__remove:hover {
	background: none !important;
}

.smart-style-3 .select2-selection__choice__remove:hover:before {
	color: #d13c3c;
}

.smart-style-3 .select2-search--inline {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smart-style-3 .select2-search--inline .select2-search__field {
	height: 25px !important;
	margin: 4px 0 0 !important;
	padding: 0 2px !important;
	border: 0 !important;
	background: transparent !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 13px;
	outline: 0;
}

/* ---------- выпадающий список (вынесен в body) ---------- */

.select2-dropdown {
	border-color: #d3d9e2 !important;
	border-radius: 6px !important;
	-webkit-box-shadow: 0 8px 20px rgba(23, 38, 64, .12);
	box-shadow: 0 8px 20px rgba(23, 38, 64, .12);
}

.select2-dropdown .select2-results__option {
	padding: 7px 11px !important;
	font-size: 13px;
	line-height: 1.4;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted {
	background-color: #1f5fd0 !important;
	color: #fff !important;
}

.select2-search--dropdown {
	padding: 6px !important;
}

.select2-search--dropdown .select2-search__field {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	height: 32px;
	padding: 0 9px;
	border: 1px solid #d3d9e2 !important;
	border-radius: 6px;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-size: 13px;
	outline: 0;
}

.select2-search--dropdown .select2-search__field:focus {
	border-color: #1f5fd0 !important;
}

/* =========================================================
   Календарь (jQuery UI datepicker)
   ========================================================= */

#ui-datepicker-div {
	border: 1px solid #d3d9e2 !important;
	border-radius: 8px !important;
	overflow: hidden;
	-webkit-box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
	box-shadow: 0 10px 24px rgba(23, 38, 64, .16);
}

#ui-datepicker-div .ui-datepicker-header,
#ui-datepicker-div .ui-widget-header {
	border: 0 !important;
	background-color: #f4f7fc !important;
	color: #1f2733 !important;
}

#ui-datepicker-div table.ui-datepicker-calendar thead th {
	color: #93a0b0;
	font-size: 11px;
	text-transform: uppercase;
}

#ui-datepicker-div .ui-state-default {
	border-radius: 4px;
	color: #1f2733;
}

#ui-datepicker-div .ui-state-active,
#ui-datepicker-div .ui-state-highlight {
	background: #1f5fd0 !important;
	border-color: #1f5fd0 !important;
	color: #fff !important;
}

/* =========================================================
   Модальные окна
   ========================================================= */

.smart-style-3 .modal-content {
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	-webkit-box-shadow: 0 20px 50px rgba(9, 26, 61, .30);
	box-shadow: 0 20px 50px rgba(9, 26, 61, .30);
}

.smart-style-3 .modal .block-header,
.smart-style-3 .modal .bg-primary-dark,
.smart-style-3 #del_modal .bg-primary-dark,
.smart-style-3 #del_modal_all .bg-primary-dark,
.smart-style-3 #view_group_modal .bg-primary-dark,
.smart-style-3 #view_stat_modal .bg-primary-dark {
	background: #17233b;
	color: #fff;
}

.smart-style-3 .modal .block-header {
	padding: 12px 18px !important;
}

.smart-style-3 .modal .block-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
}

.smart-style-3 .modal .block-options > li > a,
.smart-style-3 .modal .block-options > li > button {
	margin-top: 0 !important;
	color: rgba(255, 255, 255, .75);
}

.smart-style-3 .modal .block-options > li > a:hover,
.smart-style-3 .modal .block-options > li > button:hover {
	color: #fff;
}

.smart-style-3 .modal .block-content {
	padding: 18px 18px 4px !important;
	color: #1f2733;
}

.smart-style-3 .modal-footer {
	border-top: 1px solid #e4e8ee;
	background: #fbfcfe;
}

.smart-style-3 .modal-header {
	border-bottom: 1px solid #e4e8ee;
}

.smart-style-3 .modal-backdrop.in {
	opacity: .45;
}

/* =========================================================
   Подвал
   ========================================================= */

.smart-style-3 .page-footer {
	/* padding-left задаётся темой (233px под меню) — не переопределяем */
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 44px;
	padding-top: 13px;
	padding-right: 16px;
	padding-bottom: 0;
	border-top: 1px solid rgba(255, 255, 255, .10);
	background-color: #14294f !important;
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0, rgba(255, 255, 255, .035) 1px, transparent 1px, transparent 10px),
		linear-gradient(90deg, #102243 0%, #1c3a6e 100%) !important;
}

.smart-style-3 .page-footer .txt-color-white,
.smart-style-3 .page-footer .txt-color-white a {
	color: rgba(255, 255, 255, .74) !important;
	font-size: 12px;
}

.smart-style-3 .page-footer .copy-link {
	border-bottom-color: rgba(255, 255, 255, .35);
}

.smart-style-3 .page-footer .copy-link:hover {
	color: #fff !important;
}

/* =========================================================
   Уведомления и прочие мелочи
   ========================================================= */

.smart-style-3 .SmallBox,
.smart-style-3 .bigBox {
	border-radius: 8px;
}

.smart-style-3 .empty-message {
	padding: 26px 10px;
	color: #93a0b0;
	font-size: 16px;
	font-weight: 600;
}

.smart-style-3 .alert {
	border-radius: 8px;
}

.smart-style-3 #tblarrow .tblarrow-span {
	opacity: .85;
}

/* =========================================================
   Страница входа
   ========================================================= */

#extr-page {
	background-color: #12306b !important;
	background-image:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0, rgba(255, 255, 255, .045) 1px, transparent 1px, transparent 11px),
		linear-gradient(180deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
		radial-gradient(900px 520px at 50% -10%, rgba(84, 143, 240, .55), rgba(18, 48, 107, 0)),
		linear-gradient(160deg, #0d2454 0%, #143a86 55%, #1b4ba6 100%) !important;
	background-size: auto, 30px 30px, 30px 30px, auto, auto !important;
	background-repeat: repeat, repeat, repeat, no-repeat, no-repeat !important;
	background-attachment: fixed !important;
}

#extr-page body {
	background: transparent !important;
}

#extr-page #main,
#extr-page #content {
	background: transparent !important;
}

#extr-page #header {
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 44px 15px 0 !important;
	border: 0 !important;
	background: transparent !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	text-align: center !important;
	overflow: visible !important;
}

#extr-page #header img,
#extr-page #header .osv-login-logo {
	display: inline-block;
	width: auto !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
}

#extr-page #main {
	padding-top: 10px !important;
}

#extr-page .osv-login-lead {
	clear: both;
	float: none !important;
	width: 100%;
	margin: 16px auto 0;
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	text-align: center;
}

#extr-page .well,
#extr-page .well.no-padding {
	border: 0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	-webkit-box-shadow: 0 24px 60px rgba(6, 20, 48, .38);
	box-shadow: 0 24px 60px rgba(6, 20, 48, .38);
}

#extr-page .client-form header,
#extr-page .smart-form header {
	margin: 0;
	padding: 16px 22px;
	border-bottom: 1px solid #e4e8ee;
	background-color: #fff;
	color: #1f2733;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

#extr-page .smart-form fieldset {
	padding: 18px 22px 6px;
	background: #fff;
}

#extr-page .smart-form .label {
	margin-bottom: 5px;
	color: #46536b;
	font-size: 12px;
	font-weight: 600;
}

#extr-page .smart-form .input input {
	height: 40px;
	line-height: 40px;
	padding: 5px 12px 5px 38px;
	border: 1px solid #d3d9e2;
	border-radius: 8px;
	background: #fff;
	color: #1f2733;
	font-size: 14px;
}

#extr-page .smart-form .input input:focus {
	border-color: #1f5fd0;
	-webkit-box-shadow: 0 0 0 3px rgba(31, 95, 208, .13) !important;
	box-shadow: 0 0 0 3px rgba(31, 95, 208, .13) !important;
}

#extr-page .smart-form .input .icon-append {
	top: 0;
	right: auto;
	left: 0;
	width: 38px;
	height: 40px;
	border: 0;
	color: #93a0b0;
	font-size: 15px;
	line-height: 40px;
	text-align: center;
}

#extr-page .smart-form .input .icon-append + input {
	padding-right: 12px;
}

#extr-page .smart-form footer {
	padding: 8px 22px 20px;
	border-top: 0;
	background: #fff;
}

#extr-page .smart-form footer .btn,
#extr-page .smart-form footer .btn:focus {
	display: block;
	float: none;
	width: 100% !important;
	height: 42px;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background-color: #1f5fd0;
	color: #fff;
	font: 700 14px/42px inherit;
	letter-spacing: .02em;
}

#extr-page .smart-form footer .btn:hover,
#extr-page .smart-form footer .btn:active {
	background-color: #174cab;
}

#extr-page .osv-login-error {
	margin: 14px 22px -4px;
	padding: 9px 12px;
	border: 1px solid #f2c9c7;
	border-radius: 8px;
	background: #fdf1f0;
	color: #b8332d;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

#extr-page #footer-main-page {
	height: auto;
	padding: 26px 15px 22px;
	background: transparent !important;
}

#extr-page #logo-copy {
	color: rgba(255, 255, 255, .58);
	font-size: 12px;
}

#extr-page #logo-copy a,
#extr-page #footer-main-page .copy-link {
	color: rgba(255, 255, 255, .78);
	border-bottom-color: rgba(255, 255, 255, .3);
}

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 979px) {
	.smart-style-3 #header #logo-group {
		width: 190px !important;
	}

	.smart-style-3 #header .osv-logo img,
	.smart-style-3 #header #logo img {
		height: 24px !important;
		margin-left: 12px !important;
	}

	.smart-style-3 #content {
		padding: 12px 10px 8px;
	}

	.smart-style-3 #content .page-title,
	.smart-style-3 #content h1.page-title {
		font-size: 18px;
	}

	.smart-style-3 #sparks li {
		padding: 4px 10px !important;
		border-left: 0 !important;
	}
}

@media (max-width: 767px) {
	.smart-style-3 .jarviswidget > div {
		padding: 10px 10px 0;
	}

	.smart-style-3 .page-footer {
		height: auto;
		padding-bottom: 10px;
	}
}
