.chart-marker {
  opacity: 0.9;
  position: absolute;
}

.chart-icon {
  -webkit-box-shadow: 0 2px 5px 0 #888;
  -moz-box-shadow: 0 2px 5px 0 #888;
  box-shadow: 0 2px 5px 0 #888;
  /*bottom: 13px;*/
  font-weight: 600;
  height: 26px;
  line-height: 26px;
  position: relative;
  text-align: center;
  width: 26px; }
  .chart-icon.earnings {
    background: #FFFFFF; }
    .chart-icon.earnings:before {
      content: "E"; }
  .chart-icon.dividends {
    background: #FFFFFF; }
    .chart-icon.dividends:before {
      content: "D"; }
  .chart-icon.heavyvolume {
    background: #FFFFFF; }
    .chart-icon.heavyvolume:before {
      content: "V"; }
  .chart-icon.split {
    background: #FFFFFF; }
    .chart-icon.split:before {
      content: "S"; }
  .chart-icon.nearhigh52week, .chart-icon.nearlow52week {
    opacity: 0.6; }
  .chart-icon.nearhigh52week, .chart-icon.high52week {
    background: #0ABBA4;
    line-height: 0;
    top: 20px; }
    .chart-icon.nearhigh52week:before, .chart-icon.high52week:before {
      content: "";
      height: 0;
      position: relative;
      top: 3px;
      width: 0;
      border-left: 0.35rem solid transparent;
      border-right: 0.35rem solid transparent;
      border-bottom: 0.35rem solid #FFFFFF; }
  .chart-icon.nearlow52week, .chart-icon.low52week {
    background: #F06E65;
    line-height: 0; }
    .chart-icon.nearlow52week:before, .chart-icon.low52week:before {
      top: 23px;
      content: "";
      height: 0;
      position: relative;
      width: 0;
      border-left: 0.35rem solid transparent;
      border-right: 0.35rem solid transparent;
      border-top: 0.35rem solid #FFFFFF; }

.myEvents {
	position:absolute;
	text-align:center;
	width:20px;
	height:20px;
	line-height:20px;
	color:white;
}


/*style dividents to be a blue circle*/
.myEvents.dividend{    
	background-color:blue;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%; 
}

/*style news to be a small red square*/
.myEvents.news{
	background-color:red;
	width:15px;
	height:15px;
	line-height:15px;
}

.myEvents.earnings{
	background-color:purple;
}

/*style to be a brown Rhombus*/
.myEvents.rhombus .shape{
    position:absolute;
	width:20px;
	height:20px;
    left:0px;
	background-color:yellow;
    border: 2px solid black;

    color:black;
    -webkit-transform: rotate(45deg);
    /* Saf3.1+, Chrome */
    -moz-transform: rotate(45deg);
    /* FF3.5+ */
    -ms-transform: rotate(45deg);
    /* IE9 */
    -o-transform: rotate(45deg);
    /* Opera 10.5 */
    transform: rotate(45deg);
}

.myEvents.rhombus .label{
    position:absolute;
    width:20px;
	height:20px;
    left:2px; /* offset to center the label */
}

.myEvents.hoverMarker{
	background-color:pink;
    border: 2px solid black;
}

.tooltip {
    background: #333;
    background: rgba(0,0,0,.8);
    border-radius: 5px;
    bottom: 140%;
    color: #fff;
    display: none;
    left: 20%;
    line-height: normal;
    padding: 5px 15px;
    position: absolute;
    z-index: 98;
    width: auto;
    white-space: nowrap;
}

.rightJustify .tooltip {
  left: auto;
  right: 0%;
}

.hoverMarker:hover .tooltip {
  display: inline-block;
}

/*.hoverMarker.rightJustify {
  left: -100px;
}*/

.hoverMarker:hover .tooltip:before {
    border: solid;
    border-color: #333 transparent;
    border-width: 11px 6px 0 6px;
    content: "";
    left: 10px;
    position: absolute;
    top: 100%;
    z-index: 99;
}

.rightJustify.hoverMarker:hover .tooltip:before {
  left: auto;
  right: 10px;
} 