/* Common styles used on zequenze themes (homer, hyper, velzon). */

/* Zequenze logo font-icons. */
@font-face {
	font-family: "zequenze";
	src: url("../fonts/zequenze.eot?5u85e3"),
		url("../fonts/zequenze.eot?5u85e3#iefix") format("embedded-opentype"),
		url("../fonts/zequenze.ttf?5u85e3") format("truetype"),
		url("../fonts/zequenze.woff?5u85e3") format("woff"),
		url("../fonts/zequenze.svg?5u85e3#icomoon") format("svg");
	font-weight: normal;
	font-style: normal;
}

[class^="zqz-"],
[class*=" zqz-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: "zequenze" !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.zqz-letters:before {
	content: "\e901";
}
.zqz-logo-color .path1:before {
	content: "\e902";
	color: rgb(91, 112, 151);
}
.zqz-logo-color .path2:before {
	content: "\e903";
	margin-left: -2.5595703125em;
	color: rgb(50, 79, 124);
}
.zqz-logo-color .path3:before {
	content: "\e904";
	margin-left: -2.5595703125em;
	color: rgb(237, 101, 42);
}
.zqz-logo-color .path4:before {
	content: "\e905";
	margin-left: -2.5595703125em;
	color: rgb(8, 56, 103);
}
.zqz-logo-color .path5:before {
	content: "\e906";
	margin-left: -2.5595703125em;
	color: rgb(8, 56, 103);
}
.zqz-logo:before {
	content: "\e907";
}
.zqz-circle-color .path1:before {
	content: "\e908";
	color: rgb(91, 112, 151);
}
.zqz-circle-color .path2:before {
	content: "\e909";
	margin-left: -1em;
	color: rgb(50, 79, 124);
}
.zqz-circle-color .path3:before {
	content: "\e90a";
	margin-left: -1em;
	color: rgb(237, 101, 42);
}
.zqz-circle-color .path4:before {
	content: "\e90b";
	margin-left: -1em;
	color: rgb(8, 56, 103);
}
.zqz-circle:before {
	content: "\e90c";
}

/* Loading-bars web component styles. */
.loading-blue {
	fill: #4388e0;
}

.loading-tooltip {
	color: #000000d1;
}
.loading-spark {
	position: absolute !important;
	bottom: 0px !important;
}

.chart-div .report-notification,
.chart-div .mini-reloading {
	background: var(--vz-light);
	border-radius: 5px;
	border-width: 1px;
	border-color: #a4a7aba3;
	border-style: solid;
}

.panel-reloading {
	height: 100%;
	width: 100%;
	background-color: white;
	position: absolute;
	opacity: 0.7;
	display: none;
	z-index: 10;
}

.panel-reload-text {
	display: flex;
	height: 100%;
	width: 100%;
	justify-content: center;
	align-items: center;
	padding: 0.1rem;
}

.reloadingWidgetInline.panel-reloading {
	margin-top: 0px !important;
}

.widget_inline {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 0.5rem 0.9rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	/*color: var(--vz-body-color);*/
	text-align: center;
	white-space: nowrap;
	/*background-color: var(--vz-input-group-addon-bg);*/
	/*border: 1px solid var(--vz-input-border);*/
	border-radius: 0.25rem;
}

/* Sparkline chart styles*/
.chart-tools-spark {
	position: absolute;
	top: -10px;
	right: 15px;
}

.select2-container--default .select2-selection--single.update-color,
.select2-container--default .select2-selection--multiple.update-color {
  border: 2px solid #3498db !important;
}

.update-color {
	color: #3498db !important;
}

.form-control.update-color {
	border-color: #3498db !important;
}

report-notification {
	left: 135px;
	cursor: pointer;
}

report-notification:hover {
	color: var(--vz-dark);
	background-color: var(--vz-light-hover) !important;
}

#map-panel {
	overflow: hidden;
	padding: 0px !important;
}

.map-panel {
	overflow: hidden;
	padding: 0px !important;
}

#map-panel.visible {
	opacity: 1;
	max-height: 500px;
	visibility: visible;
}

.map-panel.visible {
	opacity: 1;
	max-height: 500px;
	visibility: visible;
}

.slash-icon {
	border-radius: 50%;
	display: none;
}
.slash-icon-filter {
	border-radius: 50%;
	display: none;
}

#toggle-slash-button:hover .slash-icon {
	transition: all 0s;
}
#toggle-slash-button:focus .slash-icon {
	transition: all 0s;
}
#toggle-slash-button:active .slash-icon {
	transition: all 0s;
}

#toggle-slash-button.map-visible .slash-icon {
	display: inline;
}

#toggle-slash-button.topology-visible .slash-icon {
	display: inline;
}

#toggle-slash-button[custom-pressed="true"] .slash-icon-filter {
	display: inline;
}

.numberSpinFullWidth {
	width: 92.5%;
}

.btn-mini {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px;
	width: 40px;
}

.btn-medium {
	display: flex !important;
	justify-content: center;
	align-items: center;
	padding: 0px;
	height: 38px;
	width: 38px;
}

.custom-after-style::after {
	margin-left: 18px;
}

.topology-bubble-text {
	font-weight: 500 !important;
	font-size: 0.6rem !important;
}

.new_map > #map_container > .leaflet-control-container > .leaflet-left {
	right: 10px;
	top: 40px;
	left: auto;
}

.new_map_header {
	display: flex;
	flex-direction: column;
	color: black;
}

.new_map > #map_container {
	min-height: 200px;
}

.leaflet-control-layers-toggle {
	width: 30px !important;
  	height: 30px !important;
  	display: block;
  	background-size: 20px 20px;
  	background-position: center;
  	background-repeat: no-repeat;
}

.zequenze-progress {
	--progress-height: 1rem;
	--progress-bg: #e9ecef;
	--progress-radius: .375rem;
	
	position: relative;
	display: flex;
	height: var(--progress-height);
	overflow: hidden;
	background-color: var(--progress-bg);
	border-radius: var(--progress-radius);
  }
  
  .zequenze-progress-bar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
	color: #fff;
	background-color: #0d6efd;
	transition: width .6s ease;
	width: calc(var(--value, 0) * 1%); 
  }
  
  .zequenze-progress-sm { --progress-height: .5rem; }
  .zequenze-progress-lg { --progress-height: 1.5rem; }
  
  .zequenze-bg-primary   { background-color: #0d6efd !important; }
  .zequenze-bg-secondary { background-color: #6c757d !important; }
  .zequenze-bg-success {
	background-color: rgba(98, 203, 49, .8) !important;

  }
  .zequenze-bg-info      { background-color: #0dcaf0 !important; color: #000 !important; }
  .zequenze-bg-warning   { background-color: #ffc107 !important; color: #000 !important; }
  .zequenze-bg-low-danger {
	background-color: #3e3934 !important;
	color: #fff !important; 
  }
  .zequenze-bg-danger {
	background-color: rgba(217, 83, 79, .8) !important;
	color: #fff !important; 
  }
  .zequenze-bg-light     { background-color: #f8f9fa !important; color: #000 !important; }
  .zequenze-bg-dark      { background-color: #212529 !important; }


  .zequenze-progress-tooltip {
	position: relative;
	display: flex; 
  }
  
  .zequenze-progress-tooltip .zequenze-tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	text-align: center;
	border-radius: 4px;
	padding: 4px 8px;
	display: inline;
	position: absolute;
	bottom: 125%; 
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.3s;
  }
  
  .zequenze-progress-tooltip .zequenze-tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%; 
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
  }
  
  .zequenze-progress-tooltip:hover .zequenze-tooltiptext {
	visibility: visible;
	opacity: 1;
  }

  /* Small popover for device stats */
  .popover-sm.popover {
    min-width: 0 !important;
    max-width: fit-content !important;
    width: auto !important;
  }
  .popover-sm .popover-body {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .popover-sm .popover-arrow {
    left: 50% !important;
    transform: translateX(-50%);
  }

/* Status detail bar (admin widget) */
.status-bar-rounded {
	height: 24px;
	min-width: 100px;
	width: 105px;
	display: flex;
	border-radius: 3em;
	overflow: hidden;
}

.status-bar-section {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	border-right: 0;
	height: 100%;
}

.status-bar-percent {
	font-size: 10px;
	font-weight: 600;
	color: #fff;
}

.status-bar-empty {
	border: 1px dashed #b8bdc4;
	background-color: #d3d7dd;
	width: 100%;
	flex: 1 1 100%;
}

.status-bar-total-link {
	font-size: 11px;
}

.status-bar-link {
	text-decoration: underline;
	cursor: pointer;
	color: #0d6efd;
	font-weight: 600;
}

.status-popover-body {
	position: relative;
	white-space: nowrap;
	min-width: 150px;
	row-gap: 4px;
	display: flex;
	flex-direction: column;
	padding: .5rem;
}

.status-popover-row {
	display: grid;
	grid-template-columns: auto auto;
	column-gap: 0.35rem;
	align-items: center;
}

.status-popover-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #f8f9fa;
	color: #6c757d;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 10px;
	border: 0;
	padding: 0;
}

.status-popover-hr {
	margin: 4px 0;
	border-color: #e5e7eb;
}