@import url("../../vendor/scrivo/highlight.php/styles/obsidian.css");
@import url("./no-unsafe-inline-spinner.css");

/**
 * Ciprian on Monday, April 19, 2021
 * Checkbox Toggle UI
 *
 * https://getbutterfly.com/on-off-toggle-replacement-for-wordpress-checkboxes/
 */
input[type="checkbox"].nunil-ui-toggle {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	width: auto;
	height: auto;
	vertical-align: middle;
	position: relative;
	border: 0;
	outline: 0;
	cursor: pointer;
	margin: 0 4px;
	background: none;
	box-shadow: none;
}

input[type="checkbox"].nunil-ui-toggle:focus {
	box-shadow: none;
}

input[type="checkbox"].nunil-ui-toggle:after {
	content: '';
	font-size: 8px;
	font-weight: 400;
	line-height: 18px;
	text-indent: -14px;
	color: #ffffff;
	width: 36px;
	height: 18px;
	display: inline-block;
	background-color: #a7aaad;
	border-radius: 72px;
	box-shadow: 0 0 12px rgb(0 0 0 / 15%) inset;
}

input[type="checkbox"].nunil-ui-toggle:before {
	content: '';
	width: 14px;
	height: 14px;
	display: block;
	position: absolute;
	top: 2px;
	left: 2px;
	margin: 0;
	border-radius: 50%;
	background-color: #ffffff;
}

input[type="checkbox"].nunil-ui-toggle:checked:before {
	left: 20px;
	margin: 0;
	background-color: #ffffff;
}

input[type="checkbox"].nunil-ui-toggle,
input[type="checkbox"].nunil-ui-toggle:before,
input[type="checkbox"].nunil-ui-toggle:after,
input[type="checkbox"].nunil-ui-toggle:checked:before,
input[type="checkbox"].nunil-ui-toggle:checked:after {
	transition: ease .15s;
}

input[type="checkbox"].nunil-ui-toggle:checked:after {
	content: 'ON';
	background-color: #2271b1;
}

/**
 * Author: Aaron Iker
 * July 9, 2018
 *
 * RADIO INPUT
 * https://codepen.io/aaroniker/pen/yqBVJY
 */
.nunil-l-radio {
	margin: 8px 0;
	display: block;
	cursor: pointer;
}

.nunil-l-radio input {
	display: none;
}

.nunil-l-radio input+span {
	line-height: 16px;
	height: 16px;
	padding-left: 16px;
	display: block;
	position: relative;
}

.nunil-l-radio input+span:not(:empty) {
	padding-left: 30px;
}

.nunil-l-radio input+span:before,
.nunil-l-radio input+span:after {
	content: "";
	width: 16px;
	height: 16px;
	display: block;
	border-radius: 50%;
	left: 0;
	top: 0;
	position: absolute;
}

.nunil-l-radio input+span:before {
	background: #D1D7E3;
	transition: background 0.2s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2);
}

.nunil-l-radio input+span:after {
	background: #fff;
	transform: scale(0.78);
	transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
}

.nunil-l-radio input:checked+span:before {
	transform: scale(1.04);
	background: #2271b1;
}

.nunil-l-radio input:checked+span:after {
	transform: scale(0.4);
	transition: transform 0.3s ease;
}

.nunil-l-radio:hover input+span:before {
	transform: scale(0.92);
}

.nunil-l-radio:hover input+span:after {
	transform: scale(0.74);
}

.nunil-l-radio:hover input:checked+span:after {
	transform: scale(0.4);
}

.nunil-radio-div {
	justify-content: start;
	display: flex;
	flex-direction: column;
	align-items: start;
	box-sizing: border-box;
}

.nunil-radio-div-horiz {
	padding-left: 10px;
	justify-content: flex-start;
	display: flex;
	flex-direction: row;
	align-items: baseline;
	box-sizing: border-box;
	gap: 1.5em;
}



/**
 * styling admin tables
 */
.wp-list-table .column-nunil-ext-directive {
	width: 10%;
}

.wp-list-table .column-nunil-ext-sources {
	width: 30%;
}

.nunil-inl-scripts td.column-cb, .nunil-evh-scripts td.column-cb, .nunil-ext-scripts td.column-cb {
	width: 4%;
}

.nunil-inl-scripts th.column-script, .nunil-evh-scripts th.column-script {
	width: 30%;
}

.nunil-ext-scripts th.column-src_attrib {
	width: 62%;
}

.nunil-ext-scripts th.column-sha256, .nunil-ext-scripts th.column-sha384, .nunil-ext-scripts th.column-sha512 {
	width: 5%;
}

td.column-script div.ui-accordion div.ui-accordion-content {
	padding: 0px !important;
}

td.column-script div.ui-widget-content {
	background: unset;
}

.nunil-script-code {
	margin: 1px 0px 1px 0px;
}

.nunil-inl-scripts th.column-directive, .nunil-evh-scripts th.column-tagid, .nunil-ext-scripts th.column-directive {
	width: 7%;
}

.nunil-inl-scripts th.column-tagname, .nunil-evh-scripts th.column-tagname, .nunil-ext-scripts th.column-tagname {
	width: 7%;
}

.nunil-evh-scripts th.column-event_attribute {
	width: 7%;
}

.nunil-inl-scripts th.column-clustername, .nunil-evh-scripts th.column-clustername {
	width: 7%;
}

.nunil-inl-scripts th.column-whitelist, .nunil-evh-scripts th.column-whitelist, .nunil-ext-scripts th.column-whitelist {
	width: 5%;
}

.nunil-inl-scripts td.column-whitelist p.whitelist,
.nunil-evh-scripts td.column-whitelist p.whitelist,
.nunil-ext-scripts td.column-whitelist p.whitelist {
	background-color: #cfffd7;
	text-align: center;
	font-weight: bold;
}

.nunil-inl-scripts td.column-whitelist p.blacklist,
.nunil-evh-scripts td.column-whitelist p.blacklist,
.nunil-ext-scripts td.column-whitelist p.blacklist {
	background-color: #e8b756;
	text-align: center;
}

.nunil-inl-scripts th.column-pages, .nunil-evh-scripts th.column-pages {
	width: 19%;
}

td.column-pages div.ui-accordion div.ui-accordion-content {
	padding: 0px !important;
}

.nunil-pages-code {
	margin: 1px 0px 1px 0px;
}

.nunil-inl-scripts th.column-lastseen, .nunil-evh-scripts th.column-lastseen {
	width: 7%;
}

.nunil-inl-scripts th.column-occurences, .nunil-evh-scripts th.column-occurences {
	width: 7%;
}

td.column-script div.ui-accordion div.ui-accordion-content {
	padding: 0px !important;
}


/* smartphones
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	 .wp-list-table .column-nunil-ext-directive { width: 100px; }
	 .wp-list-table .column-nunil-ext-sources { width: 200px }

}
*/

.nunil-base-rule-container, .nunil-trusted-types-container {
	float: left;
	margin-right: 20px;
	width: 100%;
}

input.nunil-base-rule,
label.nunil-base-rule,
input.nunil-trusted-types,
label.nunil-trusted-types
{
	display: block;
}

input.nunil-base-rule, input.nunil-trusted-types {
	width: 100%;
}


/**
 * styling Json response temporary div
 */
div.nunil_temp_div {
	border: 1px solid;
	border-radius: 5px;
	padding: 10px;
	margin: 10px 0;
	width: 300px;
}

.type1 {
	border-color: #E76F51;
	background-color: rgba(231, 111, 81, 0.1);
}

.type2 {
	border-color: #2A9D8F;
	background-color: rgba(42, 157, 143, 0.1);
}

.type3 {
	border-color: #0096C7;
	background-color: rgba(0, 150, 199, 0.1);
}

.type4 {
	border-color: #00B353;
	background-color: rgba(0, 179, 83, 0.1);
}

/**
 * The table used to monitor inline scripts
 * Made by Geoff Yuen
 * March 25, 2014
 * https://codepen.io/geoffyuen/pen/FCBEg
 */
.rwd-table {
	margin: 1em 0;
	min-width: 250px;
	border-collapse: collapse;
}

@media (max-width: 480px) {
	.rwd-table {
		width: 100%;
	}
}

.rwd-table tr {
	border-top: 0px;
}

.rwd-table th {
	display: none;
}

.rwd-table td {
	display: block;
}

.rwd-table td:first-child {
	padding-top: .5em;
}

.rwd-table td:last-child {
	padding-bottom: .5em;
}

.rwd-table td:before {
	content: attr(data-th) ": ";
	font-weight: bold;
	width: 6.5em;
	display: inline-block;
}

@media (min-width: 480px) {
	.rwd-table td:before {
		display: none;
	}
}

.rwd-table th,
.rwd-table td {
	text-align: left;
}

@media (min-width: 480px) {

	.rwd-table th,
	.rwd-table td {
		display: table-cell;
		padding: .25em .5em;
	}

	.rwd-table th:first-child,
	.rwd-table td:first-child {
		padding-left: 0;
	}

	.rwd-table th:last-child,
	.rwd-table td:last-child {
		padding-right: 0;
	}
}

.rwd-table {
	background: #01263a;
	color: #fff;
	border-radius: .4em;
	overflow: hidden;
}

.rwd-table tr {
	border-color: #46637f;
	border-bottom: 1px dotted;
}

.rwd-table th,
.rwd-table td {
	margin: .5em 1em;
}

@media (min-width: 480px) {

	.rwd-table th,
	.rwd-table td {
		padding: 1em !important;
	}
}

@media (max-width: 480px) {
	.rwd-table th,
	.rwd-table td {
		font-size: 0.8em !important;
	}
}

.rwd-table th,
.rwd-table td:before {
	color: #dd5;
}

.nunil-tools-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 15px;
	grid-template-rows: 1fr;
	/* grid-auto-rows: 1fr; */
	/* text-align: center; */
	justify-content: space-between;
	align-items: start;
}

@media (max-width: 480px) {
	.nunil-tools-wrapper {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr 1fr;
		row-gap: 15px;
	}
}

.nunil-tools-hr {
	width: 100%;
	text-align: center;
	margin-left: 0;
}

.nunil-tools-box {
	flex-basis: 30%;
	border: 2px solid #3582ca;
}

.nunil-tools-button-wrapper {
	margin: 5px;
	border: 0px;
	text-align: center;
}

.nunil-tools-button-container {
	padding: 5px 5px 0px 5px;
	text-align: center;
	background-color: #ffffff;
}

.no-unsafe-inline-tools-button-form > p.submit {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

.nunil-tools-button-description {
	padding: 0px 5px 5px 5px;
	background-color: #ffffff;
	color: #01263a;
	font-weight: 600;
}

.no-unsafe-inline-clean-database,
.no-unsafe-inline-test-classifier,
.no-unsafe-inline-clustering,
.no-unsafe-inline-prune-database {
	background-color: #ffffff;
}

.nunil_tools_operation_report_title {
	color: #dd5;
	padding: 1em !important;
	border-color: #46637f;
	border-bottom: 1px dotted;
	border-top: 1px dotted;
	font-size: 1.1em;
	font-weight: bold;
}

.nunil_tools_operation_report_container {
	height: 380px;
	padding: 0px 1em 1em 1em;
	background: #01263a;
	position: relative;
	border-radius: .4em;
	display: flex;
	flex-direction: column;
}

.nunil_tools_operation_report {
	height: 290px;
	max-height: fit-content;
	overflow: auto;
	background: #01263a;
	color: #fff;
}

@media (max-width: 1260px) {
	.nunil-new-endpoint-container {
		flex-direction: column;
	}
}

.nunil-new-endpoint-container {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: normal;
	border-top: 1px solid;
	border-bottom: 1px solid;
	padding: 5px;
}

.nunil-new-endpoint-button-wrapper {
	flex-grow: 1;
	flex-shrink: 2;
	flex-basis: auto;
	margin-top: 16px;
}

.nunil-new-endpoint-url-wrapper {
	flex-grow: 2;
	flex-shrink: 1;
	flex-basis: auto;
	position: relative;
}

.nunil-new-endpoint-name-wrapper {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: auto;
	position: relative;
}

.nunil_label_left {
	bottom: 100%;
	left: 0;
}

.nunil-btn {
	background-color: #4CAF50;
	border: 2px solid #4CAF50;
	border-radius: 4px;
	color: white;
	padding: 2px 2px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	margin: 2px 2px;
	box-sizing: border-box;
	transition-duration: 0.4s;
	cursor: pointer;
}

.nunil-btn-endpoint-list {
	cursor: default;
	background-color: white;
	color: #4CAF50;
}

.nunil-new-endpoint {
	width: 60%;
	min-width: 15em;
	max-width: 19em;
}

.nunil-new-endpoint-name {
	width: 40%;
	min-width: 10em;
	max-width: 14em;
}

.nunil-btn-addnew {
	background-color: white;
	color: black;
	border: 2px solid #4CAF50;
	min-width: 10em;
	padding: 12px !important;
	font-size: 14px;
	line-height: 20px !important;
}

.nunil-btn-addnew:hover:enabled {
	background-color: #4CAF50;
	color: white;
}

.nunil-btn-del-endpoint {
	background-color: white;
	color: #f44336;
	border: 2px solid #f44336;
}

.nunil-btn-del-endpoint:hover:enabled {
	background-color: #f44336;
	color: white;
}

.nunil-endpoint-string, .nunil-endpoint-string-unsaved {
	display: inline-block;
	padding: 5px 10px;
	font-size: 1em;
	margin: 2px 2px;
	min-width: 15em;
	transition-duration: 0.4s;
}

.nunil-endpoint-string-unsaved-disabled {
	display: inline-block;
	padding: 5px 10px;
	font-size: 1em;
	margin: 2px 2px;
	min-width: 15em;
	transition-duration: 0.4s;
	background-color: #a7aaad;
	color: white;
	cursor: not-allowed;
}


.txt-active {
	background-color: #6699FF;
	color: black;
}

.txt-active-unsaved {
	background-color: #ccccff;
	color: black;
}

.txt-inactive, .txt-inactive-unsaved {
	background-color: #a7aaad;
	color: white;
}

.txt-newly {
	font-style: italic;
}

.nunil-endpoints-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.nunil-endpoints-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: row;
	columns: 3;
}

.nunil-error-input {
	background-color: #ff9696!important;
}

.nunil-text-field{
	position: relative;
	margin-top: 20px;
}

.nunil-text-field__input {
	appearance: none;
	width: 100%;
	padding: 12px !important;
	border: solid 1px grey;
	outline: none;
	font-size: 14px;
	line-height: 20px !important;
}

.nunil-text-field__input:not(:placeholder-shown) + .nunil-text-field__label {
	transform: translate3d(0, -100%, 0) scale(0.875);
}

.nunil-text-field__label {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	transform-origin: 0 0;
	transform: translate3d(12px, 12px, 0);
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
	transition: transform .2s;
}

.nunil-text-field__input:focus + .nunil-text-field__label {
	transform: translate3d(0, -100%, 0) scale(0.875);
}

.nunil-text-field__input::placeholder {
	color: transparent !important;
	user-select: none !important;
}

.nunil-text-field__input:focus::placeholder {
	color: rgb(93, 93, 150) !important;
	user-select: none !important;
}

.nunil-text-field__input:not(:-ms-input-placeholder) + .nunil-text-field__label {
	transform: translate3d(0, -100%, 0) scale(0.875);
}

.nunil-text-field__input:-ms-input-placeholder {
	color: transparent !important;
	-ms-user-select: none !important;
}

.nunil-text-group, .nunil-text-maxage {
	min-width: 15em;
	max-width: 19em;
}

.nunil-text-group:focus, .nunil-new-endpoint-name:focus, .nunil-text-maxage:focus, .nunil-new-endpoint:focus {
	background-color: LightCyan;
}

.nunil-db-sum-tabs-5 {
	position: relative;
}

.nunil_tools_operation_report_buttons, .nunil_admin_support_box_buttons {
	position: absolute;
	bottom: 0.5em;
	right: 1.4em;
	display: flex;
	flex-direction: row;
}

.nunil_tools_operation_report_button_clipboard, .nunil_admin_support_box_button_clipboard {
	background-color: white;
	color: #99ccff;
	border: 2px solid #99ccff;
}

.nunil_tools_operation_report_button_clipboard:hover:enabled, .nunil_admin_support_box_button_clipboard:hover:enabled {
	background-color: #99ccff;
	color: white;
}

.nunil_tools_operation_report_button_clear {
	background-color: white;
	color: #f44336;
	border: 2px solid #f44336;
}

.nunil_tools_operation_report_button_clear:hover:enabled {
	background-color: #f44336;
	color: white;
}

.copy-notification {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.no-titlebar .ui-dialog-titlebar {
	display: none;
}

.serialtabs-nav {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 20px;
	border-bottom: 1px solid #c3c4c7;
}

.serialtabs-nav .sub-link-1 {
	display: block;
	padding: 5px 10px;
	border-top: 1px solid #c3c4c7;
	border-left: 1px solid #c3c4c7;
	border-right: 1px solid #c3c4c7;
	border-bottom: 0px;
	background: #dcdcde;
	color: #50575e;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: 400ms;
	margin-bottom: 0px;
	margin-left: 10px;
	margin-right: 10px;

}

.serialtabs-nav .sub-link-1:hover {
	background-color: #fff;
	color: #3c434a;
	text-decoration: none;
}

.serialtabs-nav .sub-link-1.is-current {
	background: #f0f0f1;
	cursor: default;
	color: #000;
	opacity: 1;
	border-bottom: 1px solid #f0f0f1;
	margin-bottom: -1px;
}

.serialtabs-nav[data-serialtabs-mode="tabs"] > li + li {
	margin-left: -2px;
}

.serialtabs-nav[data-serialtabs-mode="accordion"] {
	display: block;
}

.serialtabs-nav[data-serialtabs-mode="accordion"] > li + li {
	margin-top: -2px;
}

.serialtabs-nav[data-serialtabs-mode="accordion"] .serialtabs-nav-content {
	padding: 20px;
	margin-left: 10px;
	margin-right: 10px;
	border: 1px solid #c3c4c7;
	border-top: 0;
}

.nunil-logs th.column-created_at {
	width: 15%;
}

.nunil-logs th.column-level {
	width: 10%;
}

.nunil-logs-search-container{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	border-bottom: 1px solid #c3c4c7;
}

.nunil-logs-search-created_at-div {
	order: 0;
	flex-basis: 15%;
	margin: 11px 0;
}

.nunil-logs-search-log-level-div {
	order: 0;
	flex-basis: 10%;
	margin: 11px 0;
}

.nunil-logs-search-container > .nunil-logs-searchbox-div {
	flex-grow: 1;
	display: flex;
	justify-content: flex-end;
}

.nunil-log-info {
	text-transform: uppercase;
	color: rgb(93, 93, 150);
}

.nunil-log-warning {
	text-transform: uppercase;
	color: rgb(255, 165, 0);
}

.nunil-log-error {
	text-transform: uppercase;
	color: rgb(255, 0, 0);
}

.nunil-log-debug {
	text-transform: uppercase;
	color: rgb(100, 100, 100);
}

.nav-tab-wrapper {
	margin: 10px 20px 0 2px;
}

.nunil_req_ok {
	color: #4BB543;
	font-weight: bold;
}

.nunil_req_fail {
	color: #FF0000;
	font-weight: bold;
}

.nunil_req_unneeded {
	color: #747474;
	font-weight: bold;
}
.nunil_req_unknown {
	color: #FFA500;
	font-weight: bold;
}

.nunil_sys_info_box {
	background-color: #f1f1f1;
	padding: 10px;
	border: 1px solid #ccc;
	overflow-x: auto;
	white-space: pre-wrap;
	word-wrap: break-word;
	font-size: medium;
}

.nunil_sys_info_box_container {
	position: relative;
	/* border-radius: .4em;
	display: flex;
	flex-direction: column; */
}

.nunil-software-versions-table, .nunil-extensions-status-table {
	width: 100%;
}