/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23-feb-2021, 23.45.49
    Author     : Zucco
*/



.numberCircle {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    padding: 2px;
    background: #fff;
    border: 2px solid #666;
    color: #666;
    text-align: center;
    font: 16px Arial, sans-serif;
}

.icona_verde {
    
background-color: green;
color: white;

}

.card-header .fa {
  transition: .3s transform ease-in-out;
}
.card-header .collapsed .fa {
  transform: rotate(90deg);
}


#ui-id-1 {
    
  background-color: white;
max-width: 500px;
border: 1px solid gray;
}

#ui-id-1 .ui-menu-item {list-style: none}

.sfondo_login {
    
    background: rgb(2,0,36);
background: -moz-linear-gradient(204deg, rgba(2,0,36,1) 0%, rgba(0,93,166,1) 49%, rgba(0,212,255,1) 100%);
background: -webkit-linear-gradient(204deg, rgba(2,0,36,1) 0%, rgba(0,93,166,1) 49%, rgba(0,212,255,1) 100%);
background: linear-gradient(204deg, rgba(2,0,36,1) 0%, rgba(0,93,166,1) 49%, rgba(0,212,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#00d4ff",GradientType=1);
    
}

.sfondo_grigio {
    background-color: #DCDCDC; 
}

.sfondo_bianco {
    background-color: white; 
}


.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.macchinari_spazio_dx {margin-right: 16px}


#prezzo_base_modale_parametri { margin-bottom: 8px}

#righe_caratteristiche_base > tr > td {
	padding: 0.5rem;
}

.btn-circle.btn-sm {
            width: 30px;
            height: 30px;
            padding: 6px 0px;
            border-radius: 15px;
            font-size: 8px;
            text-align: center;
        }
        .btn-circle.btn-md {
            width: 50px;
            height: 50px;
            padding: 7px 10px;
            border-radius: 25px;
            font-size: 10px;
            text-align: center;
        }
        .btn-circle.btn-xl {
            width: 70px;
            height: 70px;
            padding: 10px 16px;
            border-radius: 35px;
            font-size: 12px;
            text-align: center;
        }

        
       ol#lista_macchine  {
  list-style: none;
  counter-reset: steps;
}
 ol#lista_macchine li {
  counter-increment: steps;
}
 ol#lista_macchine li::before {
  content: counter(steps);
  margin-right: 0.5rem;
  background: lightgray;
  color: white;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  line-height: 1.2em;
  float:left;
}
 #lista_macchine ol ol li::before {
  background: darkorchid;
}


.testo_rosso { color: red; font-weight: bold;}




ul.tagcloud03 {
	margin: 0;
	padding: 0;
	list-style: none;
}

li.tagcloud03  {
	margin: 4px;
	padding: 0;
	list-style: none;
}



.tagcloud03 ul li a {
	position: relative;
	display: inline-block;
	max-width: 100px;
	height: 28px;
	line-height: 28px;
	padding: 0 2.5em 0 1em;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 3px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	color: #333;
	font-size: 13px;
	text-decoration: none;
	-webkit-transition: .2s;
	transition: .2s;
}
.tagcloud03 li span {
	position: absolute;
	top: 3px;
	right: 3px;
	z-index: 2;
	width: 22px;
	height: 22px;
	line-height: 22px;
	background-color: #3498db;
	border-radius: 100%;
	color: #fff;
	font-size: 12px;
	text-align: center;
	-webkit-transition: .2s;
	transition: .2s;
}
.tagcloud03 ul li a:hover {
	background-color: #3498db;
	border: 1px solid #3498db;
	color: #fff;
}
.tagcloud03 ul li a:hover span {
	background-color: #fff;
	color: #3498db;
}


.card.draggable {
    margin-bottom: 1rem;
    cursor: grab;
}

.droppable {
    background-color: green;
    min-height: 120px;
    margin-bottom: 1rem;
}



.breadcrumb {
	/*centering*/
	display: inline-block;
	/*box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);*/
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	counter-reset: flag; 
        margin: 0;
        padding: 0;
        background-color: none;
}

.breadcrumb a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 36px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 10px 0 60px;
	background: #666;
	background: linear-gradient(#666, #333);
	position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumb a:first-child {
	padding-left: 46px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb a:first-child:before {
	left: 14px;
}
.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*hover/active styles*/
.breadcrumb a.active, .breadcrumb a:hover{
	background: #333;
	background: linear-gradient(#333, #000);
}
.breadcrumb a.active:after, .breadcrumb a:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 36px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}
/*we dont need an arrow after the last link*/
.breadcrumb a:last-child:after {
	content: none;
}
/*we will use the :before element to show numbers*/
.breadcrumb a:before {
	content: counter(flag);
	counter-increment: flag;
	/*some styles now*/
	border-radius: 100%;
	width: 20px;
	height: 20px;
	line-height: 20px;
	margin: 8px 0;
	position: absolute;
	top: 0;
	left: 30px;
	background: #444;
	background: linear-gradient(#444, #222);
	font-weight: bold;
}


.flat a, .flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
}
.flat a:before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.flat a:hover, .flat a.active, 
.flat a:hover:after, .flat a.active:after{
	background: #2780d8;
}

.bordino_testi_hb {
border: 1px solid grey;
}



/* animazioni da poco */

.sidebar {
  /* for the animation */
  transition: margin 0.3s ease;
}


.dataTables_paginate  {
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  justify-content: flex-end;
}

.paginate_button  {margin:8px; border: 1px solid grey; cursor: pointer;}



/* calendario */

.myclassname { background-color: rgb(0,0,0,0); min-height: 20px}

.fc-daygrid-dot-event:hover,
  .fc-daygrid-dot-event.fc-event-mirror {
    background: rgb(255 255 255 / 10%);
  }


.bianco {color: white}

a.fc-daygrid-event {color: white !important; cursor: pointer}
a:hover.fc-daygrid-event {color: white !important; cursor: pointer}
a:visited.fc-daygrid-event {color: white !important; cursor: pointer}



/* form */

.card_larghezza {
    width: 100%;
   word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid rgba(0, 0, 0, 0.125);
border-radius: 0.25rem; 
    
}


.scroll_bar {
    
min-height: 90px;
overflow-y: scroll;
    
} 

.sfondo_opaco { background-color: rgb(176, 176, 176); }

.box_permessi_file {  margin: 8px;
	border: 1px dotted grey;
	padding: 8px;
	background-color: #f9f9f9;}  


/* chat sistem */


#chatbox {
	border: 1px solid grey;
	padding: 16px;
	max-width: 400px;
	background-color: rgb(224, 224, 224);
	height: 300px;
	overflow-y: scroll;
  }





  #lista_msg { list-style: none;}

  .messaggio {
	background-color: #11d1a8;
	color: white;
	border-radius: 10px;
	padding: 8px;
	margin-bottom: 10px;
	max-width: 90%;
  }
  

  /* Stili per i messaggi pari */
  .messaggio:nth-child(even) {
	color: black;
     margin-left: 30px ;
  }
  
  /* Stili per i messaggi dispari */
  .messaggio:nth-child(odd) {
	color: black;
	margin-right: 30px;
  }

  .nome-utente {
	font-weight: bold;
	display: block;
  }

  .orario {
	font-size: 0.8em;
	display: block;
  }

  .corpomsg {
	font-size: 0.8em;
	display: block;
  }