/*
 *  This file is part of Adspect anti-fraud software.
 *  Copyright (C) 2019-2025 Adspect.  All rights reserved.
 */

/* {{{ Basic Styles */

.rem {
	font-size: 1rem !important;
}
b, strong {
	font-weight: 600 !important;
}
/* XXX */
.shadow {
	box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%) !important;
}
img.notice {
	margin-left: .25rem;
	vertical-align: baseline;
}
.font-weight-bold {
	font-weight: 600 !important;
}
.text-light {
	color: #999da2 !important;
}
a.text-body:hover {
	color: #295ada !important;
}
a.text-muted:hover {
	color: #000000 !important;
}
a.text-muted.hover-danger:hover {
	color: #f00000 !important;
}
a.text-muted:not(:hover) {
	color: inherit;
}

.marker-xs li::marker {
	color: #999da2;
	font-size: 80% !important;
}

a.text-reset:hover {
	text-decoration: underline;
}

/* TODO: on td level */
.stream-mode {
	text-align: left !important;
}

/* }}} */
/* {{{ Page Layout */

.login-page .error-page {
	color: #fff !important;
}

.container.fe:not(.wide) {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
@media (max-width: 767px) {
	.container.fe {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
@media (min-width: 768px) {
	.container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.container.wide {
		max-width: none !important;
		padding-left: 30px !important;
		padding-right: 30px !important;
	}
}
.content-wrapper {
	margin-top: 52px !important;
}
.site .content-wrapper {
	background-color: #fff;
	margin-top: 51px !important;
}
@media (max-width: 767px) {
	.content-wrapper {
		margin-top: 67px !important;
	}
	.site .content-wrapper {
		margin-top: 66px !important;
	}
	.site .container.wide {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

footer.text-white a {
	color: inherit !important;
	text-decoration: underline !important;
}
a.text-white {
	text-decoration: underline !important;
}

.site .main-footer {
	border: none !important;
	background: #232328 !important;
	color: #fff !important;
}
.site .main-footer h5 {
	font-size: 1.125rem !important;
}
.site .main-footer ul {
	margin-top: 1rem !important;
}
.site .main-footer a {
	color: #999da2 !important;
}
.site .main-footer a:hover {
	color: #fff !important;
}

@media (max-width: 767px) {
	.content-wrapper {
		background-color: #fff !important;
	}
	.sections li {
		font-size: 120%;
		margin: 20px auto;
	}
}

/* }}} */
/* {{{ Banners */

.rounded {
	border-radius: 10px !important;
}
.banner {
	background-size: cover;
	background-position: center;
	border-radius: 10px !important;
	height: 400px;
	text-shadow: 0 0 15px #000, 0 0 15px #000, 0 0 15px #000, 0 0 15px #000, 0 0 15px #000;
}
.banner-sm {
	height: 300px !important;
}
.banner-xs {
	height: 200px !important;
}
.banner h1 {
	font-size: 3.653rem;
	font-weight: 600;
}
.banner p {
	font-size: 1rem;
}

/* }}} */
/* {{{ Plan Cards (XXX) */

.plan:hover {
	border-color: rgba(0, 123, 255, 0.25) !important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.plan:hover hr {
	border-color: #295ada !important;
}
/*XXX*/
a.plan {
	color: rgba(0,0,0,0.847);
}
a.plan, button.plan {
	display: block !important;
	width: 100% !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	cursor: pointer;
}
.plan svg {
	margin: 1px .5rem 0 0;
	height: 18px;
	width: 18px;
	min-height: 18px;
	min-width: 18px;
}

/* }}} */
/* {{{ Navbar */

.dropdown-menu {
	border: 1px solid #ced4da !important;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
	border-radius: 3px !important;
}
.dropdown-item:hover {
	background: rgba(0, 123, 255, 0.25) !important;
}

.login-box, .register-box {
	width: 374px !important;
}

.site .navbar {
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	background-color: rgba(255,255,255,0.86);
}
/* .navbar.navbar-dark { */
	/* color: #ffffff !important; */
	/* background-color: #181818 !important; */
/* } */
.site .main-header {
	border-bottom: none !important;
}


/* }}} */
/* {{{ Cards */

.card {
	border: 1px solid #dee2e6;
	box-shadow: none;
	overflow: hidden;
}
@media (max-width: 767px) {
	.card, .login-box .card-header {
		border: none !important;
	}
}
.accordion .card {
	border-left: none !important;
	border-right: none !important;
	border-top-width: 1px !important;
	border-top-style: solid !important;
	border-top-color: #dee2e6 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin-bottom: 0 !important;
}
.accordion .card:last-of-type {
	border-bottom-width: 1px !important;
	border-bottom-style: solid !important;
	border-bottom-color: #dee2e6 !important;
}
.accordion .card > * {
	border: none !important;
}
.card-header.d-flex::after {
	content: none !important;
}
.card-body {
	overflow: hidden !important;
}
.card-body + div {
	border-top: 1px solid #dee2e6;
}

/* }}} */
/* {{{ Alerts and Callouts */

.info-box .info-box-content .info-box-text {
	white-space: normal !important;
}

.alert-outline-primary {
	border: 1px solid #295ada;
	color: #295ada;
}
.alert-outline-primary a {
	color: #295ada !important;
}
.alert-outline-white {
	border: 1px solid #fff;
	color: #fff;
}
.alert-outline-success {
	border: 1px solid #2bcb96;
	color: #2bcb96;
}
.alert-outline-danger {
	border: 1px solid #dc3545;
	color: #dc3545;
}
.alert-outline-danger a {
	color: #dc3545;
}

/* }}} */
/* {{{ Buttons and Forms */

.btn, .form-control, .select2-selection {
	border-radius: 3px;
	font-size: 14px !important;
}
.form-control:not(:active):not(:focus),
.select2-selection:not(:active):not(:focus) {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}
.form-control[readonly] {
	background-color: #fff !important;
}
.select2-search--inline .select2-search__field:not([placeholder=""]) {
	width: 400px !important;
}

::-webkit-input-placeholder, ::placeholder {
	color: #b1b5ba !important;
}

.btn-outline-light {
	border-color: #fff !important;
	color: #fff;
}
.btn-success {
	background-color: #2bcb96 !important;
	border-color: #2bcb96 !important;
}

.site .card.plan,
.site .btn {
	border-radius: 10px !important;
}

.custom-control-label {
	display: block !important;
}

.custom-radio:hover,
.custom-checkbox:hover {
	background: rgb(15,114,229,0.07);
}

.select2-container--open .select2-selection,
.select2-selection:focus,
.select2-search__field:focus {
	border-color: #ced4da !important;
}
.select2-selection__arrow {
	border-left: none !important;
}
.select2-selection--multiple .select2-selection__choice {
	background-color: #295ada !important;
	border-color: #295ada !important;
	border-radius: 3px !important;
	color: #fff !important;
}
.select2-selection--multiple .select2-selection__choice__remove {
	color: #fff !important;
	opacity: 1 !important;
	text-shadow: none !important;
	font-weight: normal !important;
}
.select2-dropdown {
	border-color: #ced4da !important;
	box-shadow: none !important;
}
.select2-search__field {
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 2px !important;
}
.select2-results__option--highlighted[aria-selected] {
	background-color: #295ada !important;
}
.select2-results__option[aria-selected=true] {
	color: #aaa !important;
	background-color: #fff !important;
}

.daterangepicker.show-ranges .drp-calendar.left {
	border-left: none !important;
}
.daterangepicker .ranges li.active,
.daterangepicker td.active,
.daterangepicker td.active:hover {
	background-color: #295ada !important;
}
.kv-drp-dropdown .range-value {
	padding-left: .75rem !important;
}
.kv-drp-dropdown .right-ind {
	color: #888 !important;
	top: 0.5rem !important;
}
.daterangepicker .drp-selected {
	display: none !important;
}

.kv-plugin-loading {
	display: none !important;
}

/* }}} */
/* {{{ Tables */

.dataTables_wrapper .row:first-child {
	padding: 0.9rem 1.25rem 0 1.25rem;
}
.dataTables_wrapper .row:last-child {
	padding: .75rem 1.25rem;
}
.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_empty,
.dataTables_paginate {
	color: #909090 !important;
	font-size: 13px;
}
.table thead th {
	font-weight: 500 !important;
}
.dataTables_scrollHead th,
.dataTables_scrollFoot th {
	border-bottom: 1px solid #dee2e6 !important;
}
.dataTables_scrollFoot th {
	border-top: none !important;
}
.dataTable th {
	white-space: nowrap;
}
.dataTable td {
	border-top: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}
.table-condensed td:not(.dataTables_empty) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle;
}
.dataTables_empty {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}
div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
	margin-bottom: 0 !important;
}
@media (max-width: 767px) {
	div.dataTables_wrapper div.dataTables_paginate ul.pagination {
		justify-content: center !important;
	}
}

/* }}} */
/* {{{ Actions */

.actions {
	font-weight: 600 !important;
}
.actions li {
	display: inline-block !important;
}
.actions a {
	color: #6c757d !important;
	cursor: pointer !important;
	text-transform: uppercase;
}
.actions a:hover {
	color: #000000 !important;
}
.actions li + li,
.actions a + a {
	margin-left: 0.5rem;
}

/* }}} */
/* {{{ Pagination */

.page-item.active .page-link {
	background-color: #cfcfcf !important;
	border-color: #cfcfcf !important;
}
.page-item.disabled .page-link {
	color: #cfcfcf !important;
}
.page-item:not(.active):not(.disabled) .page-link:hover {
	background-color: #295ada !important;
	border-color: #295ada !important;
	color: #fff !important;
}

/* }}} */
/* {{{ Badges */

span.badge {
	cursor: default !important;
}
.badge {
	border-radius: 2px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
}
.badge-primary {
	background-color: #295ada !important;
}
.badge-secondary {
	background-color: #cfcfcf !important;
}
a.badge-secondary:hover {
	background-color: #295ada !important;
}

/* }}} */
/* {{{ Multiple Input */

.multiple-input-list td {
	vertical-align: middle !important;
}
.multiple-input-list th,
.multiple-input-list td {
	padding: .3rem !important;
}
.multiple-input-list tr th:first-child,
.multiple-input-list tr td:first-child {
	padding-left: 0 !important;
}
.multiple-input-list tr th:last-child,
.multiple-input-list tr td:last-child {
	padding-right: 0 !important;
}
.multiple-input-list th {
	border: none !important;
}
.multiple-input-list tr th:last-child {
	text-align: center !important;
}
.multiple-input-list th .btn {
	border: none !important;
	background: transparent !important;
	padding: initial !important;
}
.multiple-input-list td .btn-danger {
	color: #dc3545 !important;
	background: transparent !important;
}
.multiple-input-list td .btn-danger:hover {
	color: #fff !important;
	background: #dc3545 !important;
}

/* }}} */
/* {{{ Text, Backgrounds, Borders */

.bg-light-tint {
	background: #f7f9fb !important;
	background-image: linear-gradient(to bottom, rgba(241, 235, 255, 0.4), rgba(217, 239, 255, 0.4)) !important;
}

.text-success, .bg-success-light .colored {
	color: #2bcb96 !important;
}
.text-info, .bg-info-light .colored {
	color: #295ada !important;
}
.text-warning, .bg-warning-light .colored {
	color: #f90 !important;
}
.text-danger, .bg-danger-light .colored {
	color: #dc3545 !important;
}

.bg-success, .badge-success {
	background-color: #2bcb96 !important;
}
.bg-info, .badge-info {
	background-color: #295ada !important;
}
.bg-warning, .badge-warning {
	background-color: #f90 !important;
}
.bg-danger, .badge-danger {
	background-color: #dc3545 !important;
}

.bg-warning, .badge-warning,
.bg-warning > a {
	color: #fff !important;
}

a.bg-warning:hover {
	background-color: #ffad4d !important;
}

.bg-info-light {
	background-color: rgba(0,123,255,.15) !important;
}
.bg-success-light {
	background-color: #e8f6ef !important;
}
.bg-warning-light {
	background-color: #ffedd4 !important;
}
.bg-danger-light {
	background-color: #ffe8e8 !important;
}

.border-success {
	border-color: #2bcb96 !important;
}
.border-info {
	border-color: #295ada !important;
}
.border-warning {
	border-color: #f90 !important;
}
.border-danger {
	border-color: #dc3545 !important;
}

.row-margins tr td:first-of-type {
	border-left: 4px solid transparent;
}
.row-margins tr td:last-of-type {
	border-right: 4px solid transparent;
}
.row-margins td {
	border-top: 1px solid transparent !important;
	line-height: 18px;
}
.row-margins .border-success td {
	border-left-color: #2bcb96 !important;
	border-right-color: #2bcb96 !important;
}
.row-margins .border-info td {
	border-left-color: #295ada !important;
	border-right-color: #295ada !important;
}
.row-margins .border-warning td {
	border-left-color: #f90 !important;
	border-right-color: #f90 !important;
}
.row-margins .border-danger td {
	border-left-color: #dc3545 !important;
	border-right-color: #dc3545 !important;
}

.row-margins .border-success .colored {
	color: #2bcb96 !important;
}
.row-margins .border-info .colored {
	color: #295ada !important;
}
.row-margins .border-warning .colored {
	color: #f90 !important;
}
.row-margins .border-danger .colored {
	color: #dc3545 !important;
}

/* }}} */
/* {{{ Text Widgets */

[data-search],
[data-copy] {
	cursor: pointer;
	white-space: nowrap;
}

/* }}} */
/* {{{ Code Snippets */

/* TODO: move to widget */
.snippet {
	border-left: 3px solid rgba(0,0,0,.125);
	cursor: pointer;
	list-style-position: inside;
}
.snippet:hover {
	color: #ddd !important;
}
.snippet code {
	background: #ff9;
}
.snippet code:empty::after {
	content: "<\2026>";
}
.snippet * {
	font-family: "IBM Plex Mono", monospace !important;
	font-size: inherit !important;
}

/* }}} */
/* {{{ Collapse */

.collapse-marker::before {
	margin-right: 0.5rem;
}
.collapse-marker.collapsed::before {
	content: "+";
}
.collapse-marker:not(.collapsed)::before {
	content: "\2212";
}

/* }}} */

/*
 * vim: ts=4 sw=4 noet fdm=marker
 */