/* lite-monitoring.ru */
:root {
	--r-text:    #2c333d;
	--r-muted:   #78828f;
	--r-border:  #e9edf2;
	--r-line:    #f1f4f8;
	--r-hover:   #f7f9fc;
	--r-accent:  #2f80ed;
	--r-radius:  10px;
}

body {
	line-height: 1.5;
	color: var(--r-text);
}

h1, h2, h3, h4 {
	font-weight: 600;
	letter-spacing: -.01em;
	color: #222a33;
}

.page-header h1 { font-size: 22px; }

a { color: var(--r-accent); }
a:hover { color: #1b63c4; }

.uk-table {
	
	font-size: 14px;
}

.uk-table th {
	padding: 10px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--r-muted);
	border-bottom: 1px solid var(--r-border);
}

.uk-table td {
	padding: 9px 8px;
	border-top: 1px solid var(--r-line);
	vertical-align: middle;
}

.uk-table-hover tbody tr:hover { background: var(--r-hover); }

.uk-button {
	border-radius: 8px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid var(--r-border);
	transition: background .15s ease, border-color .15s ease, transform .1s ease;
}

.uk-button:hover { border-color: #cbd5e1; }
.uk-button:active { transform: translateY(1px); }

.uk-button-primary,
.uk-button-success {
	border-color: transparent;
	color: #fff;
}

input[type="text"], input[type="password"], input[type="email"],
input[type="number"], select, textarea, .uk-form input {
	border-radius: 8px;
	border: 1px solid var(--r-border);
	padding: 7px 11px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: #b9d0f0;
	box-shadow: 0 0 0 3px rgba(47, 128, 237, .12);
}

.uk-alert {
	border-radius: var(--r-radius);
	border: 1px solid var(--r-border);
	padding: 12px 16px;
}

.tm-navbar .uk-navbar-nav > li > a {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .01em;
	transition: background .15s ease;
}

.tm-footer { font-size: 13px; }

.tm-article {
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(15, 30, 55, .10);
}

#all_servers tbody tr[style*="ccfcd4"] { background-color: #e9f8ed !important; }
#all_servers tbody tr[style*="ff99ca"] { background-color: #fdeaf2 !important; }
#all_servers tbody tr[style*="251,255,0"] { background-color: #fdf6d8 !important; }

#all_servers tbody tr[style] :hover { background-color: transparent; }

#all_servers tbody td:nth-child(5) {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: #2f3945;
}

.tm-navbar .uk-navbar-nav > li > a { transition: background .15s ease, color .15s ease; }
.tm-navbar .uk-navbar-nav > li.uk-active > a { font-weight: 600; }

.tm-navbar input[type="search"], .uk-search-field { border-radius: 8px; }

.mnav-burger { display: none; }

.uk-pagination { margin: 18px 0 4px; }

.uk-pagination > li { display: inline-block; margin: 0 3px 6px; }

.uk-pagination > li > a,
.uk-pagination > li > span {
	display: inline-block;
	min-width: 34px;
	height: 34px;
	padding: 0 9px;
	border: 1px solid var(--r-border);
	border-radius: 8px;
	line-height: 32px;
	text-align: center;
	font-size: 14px;
	color: #3c4654;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.uk-pagination > li > a:hover {
	background: #f4f8ff;
	border-color: #a9c7ef;
	color: #1b63c4;
	text-decoration: none;
}

.uk-pagination > li.uk-active > span,
.uk-pagination > li.uk-active > a {
	background: #2f80ed;
	border-color: #2f80ed;
	color: #fff;
}

.uk-pagination > li.uk-disabled > span {
	border-color: transparent;
	color: var(--r-muted);
}

.tm-footer {
	border-top: 1px solid rgba(255, 255, 255, .06);
	padding-top: 14px;
}

#all_servers tbody td:nth-child(2) a,
#my_servers tbody td:nth-child(2) a {
	color: #2c333d;
	font-weight: 500;
	text-decoration: none;
}

#all_servers tbody td:nth-child(2) a:hover,
#my_servers tbody td:nth-child(2) a:hover {
	color: #2f80ed;
	text-decoration: none;
}

.uk-table-condensed tbody td:nth-child(1) a,
.uk-table-condensed tbody td:nth-child(2) a {
	color: #2c333d;
	font-weight: 500;
	text-decoration: none;
}

.uk-table-condensed tbody td:nth-child(1) a:hover,
.uk-table-condensed tbody td:nth-child(2) a:hover {
	color: #2f80ed;
}

.login .form-validate,
.registration .form-validate {
	max-width: 400px;
	margin: 0 auto;
	padding: 24px 26px;
	background: #fff;
	border: 1px solid var(--r-border);
	border-radius: 12px;
	box-shadow: 0 2px 14px rgba(15, 30, 55, .06);
}

.login .control-group,
.registration .control-group {
	margin-bottom: 15px;
}

.login .control-label,
.registration .control-label {
	display: block;
	float: none;
	width: auto;
	margin-bottom: 6px;
	padding: 0;
	text-align: left;
	font-size: 13.5px;
	font-weight: 500;
	color: #3c4654;
}

.login .controls,
.registration .controls {
	margin-left: 0;
	width: 100%;
}

.login .controls input[type="text"],
.login .controls input[type="password"],
.registration .controls input[type="text"],
.registration .controls input[type="password"],
.registration .controls input[type="email"] {
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	font-size: 14px;
}

.login .btn-primary,
.registration .btn-primary {
	width: 100%;
	height: 42px;
	background: #52a9ca;
	border: none;
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background .15s ease;
}

.login .btn-primary:hover,
.registration .btn-primary:hover { background: #3f93b4; }

.login .inputbox { margin-right: 7px; vertical-align: -1px; }

.login .tm-article-content > a,
.registration .tm-article-content > a {
	display: inline-block;
	margin-top: 12px;
}

.login .control-group:has(input[type="checkbox"]) {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.login .control-group:has(input[type="checkbox"]) .control-label { margin-bottom: 0; }
.login .control-group:has(input[type="checkbox"]) .controls { width: auto; }

.login .nav-tabs.nav-stacked,
.registration .nav-tabs.nav-stacked {
	max-width: 400px;
	margin: 14px auto 0;
	border: none;
	text-align: center;
}

.login .nav-tabs.nav-stacked > li,
.registration .nav-tabs.nav-stacked > li { border: none; }

.login .nav-tabs.nav-stacked > li > a,
.registration .nav-tabs.nav-stacked > li > a {
	border: none;
	border-radius: 0;
	padding: 5px 0;
	background: transparent;
	color: #3f93b4;
}

.login .nav-tabs.nav-stacked > li > a:hover,
.registration .nav-tabs.nav-stacked > li > a:hover {
	background: transparent;
	text-decoration: underline;
}

.tm-toolbar .uk-subnav > li > a[href="/account/reg/"],
.tm-toolbar .uk-subnav > li > a[href="/cabinet/"] {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 7px;
	background: #52a9ca;
	color: #fff;
	font-weight: 500;
	transition: background .15s ease;
}

.tm-toolbar .uk-subnav > li > a[href="/account/reg/"]:hover,
.tm-toolbar .uk-subnav > li > a[href="/cabinet/"]:hover {
	background: #3f93b4;
	color: #fff;
	text-decoration: none;
}

.tm-toolbar .uk-subnav > li > a[href="/account/auth/"],
.tm-toolbar .uk-subnav > li > a[href="/account/logout/"] {
	display: inline-block;
	padding: 4px 13px;
	border: 1px solid #d3dae3;
	border-radius: 7px;
	color: #4a5462;
	transition: border-color .15s ease, color .15s ease;
}

.tm-toolbar .uk-subnav > li > a[href="/account/auth/"]:hover,
.tm-toolbar .uk-subnav > li > a[href="/account/logout/"]:hover {
	border-color: #52a9ca;
	color: #3f93b4;
	text-decoration: none;
}

.tm-toolbar .uk-subnav-line > li::before { display: none; }

.tm-toolbar .uk-subnav > li { padding-left: 8px; }

.uk-thumbnail {
	position: relative;
	display: block;
	padding: 0;
	border: 1px solid var(--r-border);
	border-radius: 10px;
	overflow: hidden;

	max-width: 250px;
}

.uk-thumbnail .uk-overlay { display: block; margin: 0; }

.uk-thumbnail img[src*="/maps/"] {
	width: 100% !important;
	height: auto !important;
	display: block;
}

.uk-thumbnail .uk-thumbnail-caption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: auto !important;
	margin: 0;
	padding: 3px 10px;
	background: rgba(0, 0, 0, .6);
	border-radius: 6px;
	color: #fff;
	font-size: 12.5px;
	line-height: 1.4;
}

.uk-progress {
	height: 18px;
	margin: 8px 0 12px;
	border-radius: 9px;
	background: #eef1f5;
	box-shadow: none;
	overflow: hidden;
}

.uk-progress .uk-progress-bar {
	background: #52a9ca;
	font-size: 11.5px;
	line-height: 18px;
	color: #fff;
}

body,
input, select, textarea, button,
.uk-table, .tm-content, .uk-navbar-nav > li > a {
	font-family: 'Rubik', 'Roboto Condensed', -apple-system, "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, .page-header h1 { font-weight: 500; }

#all_servers tbody td:nth-child(2) a,
#my_servers tbody td:nth-child(2) a { font-weight: 500; }

.uk-table { font-size: 13.5px; }

.tm-article { overflow-x: auto; }

.uk-table {
	width: 100% !important;
	max-width: 100%;
	font-size: 13px;
	table-layout: auto;
}

.uk-table td,
.uk-table th {
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.uk-table th {
	overflow-wrap: normal;
	white-space: nowrap;
}

.uk-table td:nth-child(1) { white-space: nowrap; }

.uk-table-condensed { font-size: 12.5px; }

.uk-table-condensed td,
.uk-table-condensed th { padding: 8px 5px; }

.uk-table-condensed tbody td:nth-child(6),
.uk-table-condensed tbody td:nth-child(7),
.uk-table-condensed tbody td:nth-child(8) { white-space: nowrap; }

.tm-article,
.tm-article-content { max-width: 100%; }

.tm-article table,
.tm-article-content table {
	max-width: 100% !important;
	width: 100% !important;
}

.tm-article-content > div,
.tm-article > div {
	max-width: 100%;
	overflow-x: auto;
}

.ls-table {
	table-layout: fixed;
	width: 100%;
}

.ls-table:has(th:nth-child(8)) th:nth-child(1),
.ls-table:has(th:nth-child(8)) td:nth-child(1) { width: 4%; }
.ls-table:has(th:nth-child(8)) th:nth-child(2),
.ls-table:has(th:nth-child(8)) td:nth-child(2) { width: 22%; }
.ls-table:has(th:nth-child(8)) th:nth-child(3),
.ls-table:has(th:nth-child(8)) td:nth-child(3) { width: 21%; }
.ls-table:has(th:nth-child(8)) th:nth-child(4),
.ls-table:has(th:nth-child(8)) td:nth-child(4) { width: 11%; }
.ls-table:has(th:nth-child(8)) th:nth-child(5),
.ls-table:has(th:nth-child(8)) td:nth-child(5) { width: 13%; }
.ls-table:has(th:nth-child(8)) th:nth-child(6),
.ls-table:has(th:nth-child(8)) td:nth-child(6) { width: 6%; }
.ls-table:has(th:nth-child(8)) th:nth-child(7),
.ls-table:has(th:nth-child(8)) td:nth-child(7) { width: 13%; }
.ls-table:has(th:nth-child(8)) th:nth-child(8),
.ls-table:has(th:nth-child(8)) td:nth-child(8) { width: 14%; }

.ls-table:not(:has(th:nth-child(8))) th:nth-child(1),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(1) { width: 4%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(2),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(2) { width: 23%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(3),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(3) { width: 21%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(4),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(4) { width: 11%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(5),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(5) { width: 14%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(6),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(6) { width: 17%; }
.ls-table:not(:has(th:nth-child(8))) th:nth-child(7),
.ls-table:not(:has(th:nth-child(8))) td:nth-child(7) { width: 14%; }

.uk-table-condensed td:nth-child(3) { white-space: nowrap; }

.uk-table-condensed td:last-child { white-space: normal; }
.uk-table-condensed td:last-child .uk-badge,
.uk-table-condensed td:last-child .uk-button { margin: 1px; }

.uk-table-condensed td { overflow: hidden; }

.uk-table-condensed td:nth-child(8) .uk-badge,
.uk-table-condensed td:nth-child(8) .uk-button { margin: 1px; }

.uk-table-condensed td:last-child .uk-badge,
.uk-table-condensed td:last-child .uk-button {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	box-sizing: border-box;
}

.ls-table thead th:first-child,
.ls-table tbody td:first-child { display: none; }

.ls-free, .ls-next { text-align: center; white-space: nowrap; }

.ls-count { display: none; }

.ls-mark {
	display: inline-block;
	margin-left: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	vertical-align: -1px;
}

.ls-mark-yes { color: #34a853; }
.ls-mark-no  { color: #d64545; }

.ls-available,
.ls-always {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	color: #34a853;
}

.ls-order {
	display: inline-block;
	padding: 5px 16px;
	border: 1px solid #52a9ca;
	border-radius: 7px;
	background: #fff;
	color: #3f93b4;
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.ls-order:hover {
	background: #52a9ca;
	color: #fff;
	text-decoration: none;
}

.ls-date { color: #616b78; }

.ls-name { font-weight: 500; color: #2c333d; width: 18%; }
.ls-info { color: #4a5462; }

#all_servers thead th:first-child,
#all_servers tbody td:first-child,
#my_servers thead th:first-child,
#my_servers tbody td:first-child { display: none; }

.svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin: 0 0 22px;
}

.svc-card {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 14px;
	border: 1px solid var(--r-border);
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.svc-card:hover {
	border-color: #a9c7ef;
	box-shadow: 0 2px 12px rgba(30, 80, 160, .10);
	text-decoration: none;
}

.svc-name {
	font-size: 15px;
	font-weight: 600;
	color: #2c333d;
}

.svc-desc {
	margin-top: 5px;
	font-size: 12.5px;
	line-height: 1.45;
	color: #6b7480;
	flex: 1 1 auto;
}

.svc-price {
	margin-top: 12px;
	font-size: 20px;
	font-weight: 600;
	color: #2c333d;
}

.svc-cur {
	font-size: 12.5px;
	font-weight: 400;
	color: #6b7480;
}

.svc-btn {
	margin-top: 12px;
	padding: 8px 0;
	border-radius: 8px;
	background: #52a9ca;
	color: #fff;
	font-size: 13.5px;
	font-weight: 500;
	text-align: center;
	transition: background .15s ease;
}

.svc-card:hover .svc-btn { background: #3f93b4; }

