#toolTipGenerator {
  background: #fff;
  border: 1px solid #ccc; 
  padding: 1em;
  font-size: .9em;
  overflow: hidden;
}

#toolTipGenerator .properties div {
  padding: .5em 0;
}
#toolTipGenerator .properties div input[type="text"], #toolTipGenerator .properties div select, #toolTipGenerator .properties div textarea {
  border: 1px solid #ccc;
  padding: .3em;
  margin: 0;
}
#toolTipGenerator .properties div label {
  display: inline-block;
  width: 130px;
  white-space: nowrap;
}
#toolTipGenerator .properties div label[for="t_toolTipWidthAuto"], #toolTipGenerator .properties div label[for="t_toolTipVisible"] {
  display: inline;
}
#toolTipGenerator .properties div #t_toolTipWidthAuto, #toolTipGenerator .properties div #t_toolTipVisible {
  margin-left: 140px;
  margin-top: 10px;
}
#toolTipGenerator .properties div #t_toolTipWidth {
  width: 50px;
}
#toolTipGenerator .properties div #t_content {
  height: 150px;
  width: 100%;
}
#toolDisplay .image, #toolTipGenerator .image{
  position: relative;
  
}

#toolTipGenerator .image {
  cursor: crosshair;
  border: 5px dotted gray;
  min-height: 25vw;
}
#toolTipGenerator .image img.target, #toolDisplay .image img {
  width: 100%;
  height: auto;
}
#toolTipGenerator .t_hotSpot.selected:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 6px;
  top: -7px;
  left: -7px;
  border: 1px dashed #000;
  box-sizing: content-box; /* aggiunto per correggere bug grafico con sovrapposizioni di css */
  
}
#toolTipGenerator .t_hotSpot.selected:hover:after {
  content: 'drag me';
  position: absolute;
  bottom: -30px;
  right: -55px;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(24, 24, 24, 0.9);
  color: #fff;
  padding: 0 4px 2px;
  border-radius: 3px;
}

.t_hotSpot {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
}
#toolDisplay .t_hotSpot:after {
  content: "\2b";
  top:50%;
  left:50%;
  color: #fff;
  position: absolute;
  transform: translate(-50%, -53%);
  font-weight: 700;
  font-size: 25px;
}

.t_hotSpot.red {
  background: #DC143C;
}
.t_hotSpot.green {
  background: #228B22;
}
.t_hotSpot.blue {
  background: #0000CD;
}
.t_hotSpot.purple {
  background: #4B0082;
}
.t_hotSpot.pink {
  background: #FF69B4;
}
.t_hotSpot.orange {
  background: #FF8C00;
}
.t_hotSpot.medium {
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
}
.t_hotSpot.large {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
}
.t_hotSpot.red {
  background: #DC143C;
}
.t_hotSpot.green {
  background: #228B22;
}
.t_hotSpot.blue {
  background: #0000CD;
}
.t_hotSpot.purple {
  background: #4B0082;
}
.t_hotSpot.pink {
  background: #FF69B4;
}
.t_hotSpot.orange {
  background: #FF8C00;
}
.t_hotSpot.square {
  border-radius: 0;
}
.t_hotSpot.circleOutline {
  background: transparent;
}
.t_hotSpot.circleOutline.red {
  border-color: #DC143C;
}
.t_hotSpot.circleOutline.green {
  border-color: #228B22;
}
.t_hotSpot.circleOutline.blue {
  border-color: #0000CD;
}
.t_hotSpot.circleOutline.purple {
  border-color: #4B0082;
}
.t_hotSpot.circleOutline.pink {
  border-color: #FF69B4;
}
.t_hotSpot.circleOutline.orange {
  border-color: #FF8C00;
}
.t_hotSpot.squareOutline {
  background: transparent;
  border-radius: 0;
}
.t_hotSpot.squareOutline.red {
  border-color: #DC143C;
}
.t_hotSpot.squareOutline.green {
  border-color: #228B22;
}
.t_hotSpot.squareOutline.blue {
  border-color: #0000CD;
}
.t_hotSpot.squareOutline.purple {
  border-color: #4B0082;
}
.t_hotSpot.squareOutline.pink {
  border-color: #FF69B4;
}
.t_hotSpot.squareOutline.orange {
  border-color: #FF8C00;
}
.t_hotSpot.clicked .t_tooltip_content_wrap {
  opacity: 1;
  z-index: 1;
}
.t_hotSpot .t_tooltip_content_wrap {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  position: absolute;
  padding: 8px;
  color: black;
  font-size: .85rem;
  border-radius: 5px;
  background: #fff;
  /* border:1px solid #024296; */
  min-width: 20px;
  min-height: 20px;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: auto auto auto auto;
  top: -6px;
  right: 100%;
  margin-right: 19px;
  z-index: -1;
  box-shadow: 0px 0px 5px #024296;
}

#toolTipGenerator .t_hotSpot .t_tooltip_content_wrap {
  white-space: nowrap;
}

body.ricerca .t_hotSpot .t_tooltip_content_wrap{
  box-shadow: 0px 0px 5px #347C98;
}
body.tesi .t_hotSpot .t_tooltip_content_wrap{
  box-shadow: 0px 0px 5px #A898B0;
}
body.archivio .t_hotSpot .t_tooltip_content_wrap{
  box-shadow: 0px 0px 5px #98B09E;
}

#toolDisplay .t_hotSpot .t_tooltip_content_wrap.multi_card{
  right: unset;
  white-space: normal;
  z-index: -1;
  padding: 0;
  /* min-height: 200px; */
}

#toolDisplay .t_hotSpot .t_tooltip_content_wrap.multi_card .multi_inner{
  position: relative;
  
} 
#toolDisplay .t_tooltip_content .multi_inner .card{
  position: absolute;
}
#toolDisplay .t_tooltip_content .card-body{
  padding: 10px;
}


#toolDisplay .t_hotSpot.clicked .t_tooltip_content_wrap.multi_card{
  z-index: 1;
}

#toolDisplay .t_hotSpot.clicked .t_tooltip_content_wrap.multi_card:hover{
  z-index: 2000 !important;
}

#toolDisplay .t_hotSpot .t_tooltip_content_wrap .card{
  border: 0 none;
}
#toolDisplay .t_hotSpot .t_tooltip_content_wrap .card .card-footer{
  padding: 10px;
}
/* .t_hotSpot .t_tooltip_content_wrap a {
  color: #fff;
}
.t_hotSpot .t_tooltip_content_wrap a:hover {
  color: rgba(255, 255, 255, 0.5);
} */
.t_hotSpot .t_tooltip_content_wrap.alwaysVisible {
  opacity: 1;
}
.t_hotSpot .t_tooltip_content_wrap.specificWidth img {
  max-width: 100%;
}
#toolDisplay .t_hotSpot .t_tooltip_content_wrap.multi_card:after {
  display: none;
}

.t_hotSpot .t_tooltip_content_wrap:after {
  content: '';
  border: 6px solid transparent;
  position: absolute;
}
.t_hotSpot .t_tooltip_content_wrap:after {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  border-color: transparent;
}
.t_hotSpot .t_tooltip_content_wrap:after {
  border-left-color: #fff;
  right: -12px;
  top: 6px;
}
.t_hotSpot .t_tooltip_content_wrap.right {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: auto auto auto auto;
  top: -6px;
  left: 100%;
  margin-left: 19px;
}
.t_hotSpot .t_tooltip_content_wrap.right:after {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  border-color: transparent;
}
.t_hotSpot .t_tooltip_content_wrap.right:after {
  border-right-color: #fff;
  left: -12px;
  top: 6px;
}
.t_hotSpot .t_tooltip_content_wrap.top {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: auto auto auto auto;
  left: -6px;
  bottom: 100%;
  margin-bottom: 19px;
}
.t_hotSpot .t_tooltip_content_wrap.top:after {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  border-color: transparent;
}
.t_hotSpot .t_tooltip_content_wrap.top:after {
  left: 6px;
  border-top-color:#fff;
  bottom: -12px;
}
.t_hotSpot .t_tooltip_content_wrap.bottom {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: auto auto auto auto;
  left: -6px;
  top: 100%;
  margin-top: 19px;
}
.t_hotSpot .t_tooltip_content_wrap.bottom:after {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  border-color: transparent;
}
.t_hotSpot .t_tooltip_content_wrap.bottom:after {
  left: 6px;
  border-bottom-color: rgba(24, 24, 24, 0.9);
  top: -12px;
}
.t_hotSpot.medium .t_tooltip_content_wrap.left, .t_hotSpot.medium .t_tooltip_content_wrap.right {
  top: -2px;
}
.t_hotSpot.medium .t_tooltip_content_wrap.top, .t_hotSpot.medium .t_tooltip_content_wrap.bottom {
  left: 0;
}
.t_hotSpot.large .t_tooltip_content_wrap.left, .t_hotSpot.large .t_tooltip_content_wrap.right {
  top: 0;
}
.t_hotSpot.large .t_tooltip_content_wrap.top, .t_hotSpot.large .t_tooltip_content_wrap.bottom {
  left: 3px;
}

#toolDisplay .t_tooltip_content h3{
 font-size: 1.1rem;
}
