/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.con-tooltip {

  position: relative;
  background: #F2D1C9;
  
  border-radius: 9px;
  padding: 0 20px;
  margin: 10px;
  
  display: inline-block;
  
  -webkit-transition: all 0.3s ease-in-out;
  
  -o-transition: all 0.3s ease-in-out;
  
  transition: all 0.3s ease-in-out;
  cursor: default;

}

/*tooltip */
.tooltip {
  visibility: hidden;
  z-index: 1;
  opacity: .40;
  
  width: -webkit-max-content;
  
  width: -moz-max-content;
  
  width: max-content;
  text-align: center;
  padding: 0px 20px;

  background: #333;
  color: #E086D3;
  
  position: absolute;
  top:-140%;
  left: -25%;
  

  border-radius: 9px;
  font: 16px;

  /* transform: translateY(9px); */
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  
  -webkit-box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
  
          box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);

  padding: 4px 9px;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  line-height: 13px;
  text-align: center;
  color: rgba(17, 17, 17, 0.8);
  background: #FFFFFF;
  opacity: 0.95;
  -webkit-box-shadow: 0px 0px 17px rgba(60, 71, 86, 0.21);
          box-shadow: 0px 0px 17px rgba(60, 71, 86, 0.21);
  border-radius: 5px;
}


.con-tooltip:hover .tooltip{
  visibility: visible;
  /* transform: translateY(-10px); */
  opacity: 1;
    -webkit-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
  -webkit-animation: odsoky 1s ease-in-out infinite  alternate forwards;
          animation: odsoky 1s ease-in-out infinite  alternate forwards;

}

.con-tooltip:focus .tooltip{
  visibility: visible;
  /* transform: translateY(-10px); */
  opacity: 1;
    -webkit-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
  -webkit-animation: odsoky 1s ease-in-out infinite  alternate forwards;
          animation: odsoky 1s ease-in-out infinite  alternate forwards;

}

@-webkit-keyframes odsoky {
  0%{
    -webkit-transform: translateY(6px);
            transform: translateY(6px);	
  }

  100%{
    -webkit-transform: translateY(1px);
            transform: translateY(1px);	
  }

}
@keyframes odsoky {
  0%{
    -webkit-transform: translateY(6px);
            transform: translateY(6px);	
  }

  100%{
    -webkit-transform: translateY(1px);
            transform: translateY(1px);	
  }

}

/*hover ToolTip*/



/*left*/

.left .tooltip{ top:-20%; left:-170%; }

.left .tooltip::after{
  top:40%;
  left:90%;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}




/*bottom*/

.bottom .tooltip { top:115%; left:-20%; }




/*right*/

.right .tooltip { top:-20%; left:115%; }

.right .tooltip::after{
  top:40%;
  left:-12%;
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}