:root {
  --border-subtle: rgba(45, 82, 51, 0.1);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Outfit', sans-serif !important;
  background-color: var(--background, #f8faf9) !important;
  color: var(--text-main, #1a201e) !important;
}

.page-wrapper .page-main-header {
  background-color: rgba(240, 244, 243, 0.8) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.card {
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--card-shadow) !important;
  border-radius: 12px !important;
  background-color: #ffffff;
}

.card .card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 0.5rem 1.25rem !important;
}

.card .card-header.bg-primary {
  background-color: var(--primary) !important;
  padding: 0.4rem 1.25rem !important;
}

.card .card-header.bg-primary .btn-link {
  color: #ffffff !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #ffffff !important;
}

.page-main-header .main-header-right .main-header-left {
  padding: 1px 40px !important;
}

#schermo {
  background-color: var(--light) !important;
  border-color: var(--secondary) !important;
}

#sezione_experiences > div > div.row {
  background-color: transparent !important;
}

#collapseJson pre {
  background-color: var(--light) !important;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-main);
}

.alert-danger.dark {
  background-color: #f87171 !important;
  border-color: #ef4444 !important;
}

.alert-primary.dark {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

div.dt-info {
	text-align: center;
}

div.dt-length {
	float: right;
}


/*tooltip Box*/
.con-tooltip {
  display: inline-block;
  
}

/*tooltip */
.tooltip-custom {
  visibility: hidden;
  z-index: 1;
  opacity: .40;
  
  width: auto;
  padding: 0px 10px;

  background: #f4f0f0;
  color: #2f2b2b;
  
  position: absolute;
  top:-140%;
  left: -25%;
  

  border-radius: 9px;
  font-size: 12px !important;
  box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
}


/* tooltip  after*/
/*.tooltip-custom::after {
  content: " ";
  width: 0;
  height: 0;
  
  border-style: solid;
  border-width: 8px 10.5px 0 10.5px;
  border-color: rgba(56, 54, 54, 0.86) transparent transparent transparent;

  position: absolute;
  left: 40%;

}*/

.con-tooltip:hover .tooltip-custom{
  visibility: visible;
  opacity: 1;

}

/*hover ToolTip*/
.left:hover {transform: translateX(0px); }
.top:hover {transform: translateY(0px);  }
.bottom:hover {transform: translateY(0px);}
.right:hover {transform: translateX(0px); }



/*left*/

.left .tooltip-custom{ top:-20%; left:-170%; }

.left .tooltip-custom::after{
  top:40%;
  left:90%;
  transform: rotate(-90deg);
}




/*bottom*/

.bottom .tooltip-custom { top:120%; left:-20%; }

.bottom .tooltip-custom::after{
  top:-23%;
  left:40%;
  transform: rotate(180deg);
}



/*right*/

.right .tooltip-custom { top:-20%; left:115%; }

.right .tooltip-custom::after{
  top:40%;
  left:-12%;
  transform: rotate(90deg);
}

a.refresh {
  position: absolute;
  right: 10px;
  top: 0px;
}

.header-info {
  font-size: 12px;
  padding-top: 10px;
}

.status .badge {
	height: 20px;
	width: 20px;
}

#frmRegister {
	width: 60%;
	max-height: 95%;
	overflow: auto;
}

#cy {
  width: 100%;
  height: 600px;
  display: block;
	/*background: transparent;*/
	border: 1px solid #cac5c5;
}

.tabbed-card .select2 ul {
	position: inherit !important; 
	right: inherit !important; 
	top: inherit !important; 
}
/*
.gateway {
	background-color: black; 
	width: 40px; 
	height: 40px; 
	border-radius: 50%;
}

.node {
	background-color: rgb(42, 194, 22); 
	width: 25px; 
	height: 25px; 
	border-radius: 50%;
}*/

.gatewayText {
	font-size: 14px;
	color: #000;
	margin-top: 5px;
}

.nodeText {
	font-size: 10px;
	margin-top: 5px;
}

.sensorText {
	font-size: 8px;
	font-style: italic;
}

#informationDiv .text {
	padding-left: 10px;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  padding: 12px;
}

.btn-white:hover {
  background-color: var(--primary);
  color: #ffffff
}

.b-center.bg-size {
	background-repeat: no-repeat;
}

@media (min-width: 992px) {
	.page-wrapper.horizontal-wrapper .page-body-wrapper.horizontal-menu header .main-navbar .nav-menu > li .nav-submenu {
			width: 300px;
	}
}

.leaflet-popup-content .access {
	position: absolute;
	right: 5px;
	top: 20px;
}

.status.status_1 .badge {
	background-color: green;
}

.status.status_0 .badge {
	background-color: yellow;
}

.status.status_2 .badge {
	background-color: #3c85f1;
}

.status.status_3 .badge {
	background-color: red;
}

.home .top-dealerbox {
	min-height: 80px;
}

.page-wrapper .page-main-header {
	background-color: var(--background, #FFF);
}

#listGateway {
	max-height: 500px;
	overflow-y: auto;
}

#newGateway, #listGateway {
	font-size: 12px;
}

.iconBtn {
	font-size: 14px;
}

.card.sensor {
	padding: 0px;
  margin-bottom: 5px;
}

.card.sensor .card-header{
	padding: 5px 10px;
}

.card.sensor .card-body {
	padding: 10px;
}

.login-form {
	width: 50%;
    border-radius: 20px;
}

.login-form .btn {
	margin: auto;
}

.is-invalid {
  border-color: red;
  background-color: #ffe6e6;
}

.stepBtn {
	width: 250px !important;
}

.search_results {
	position: absolute;
	z-index: 8;
	background-color: #fff;
	border: 1px solid var(--background, #f5f7fb);
	-webkit-transition: all linear 0.3s;
	transition: all linear 0.3s;
}

.search_results li {
	display: block !important;
	border-top: 1px solid var(--light, #e6edef);
	padding: 15px !important
}	