﻿/* www.menucool.com/tooltip/javascript-tooltip */

/*For tooltip target element that has set class="tooltip" */
.tooltip {
    display: block !important;
    opacity: 1;
    background: #6bc4a3;
    border-radius: 100%;
    position: absolute;
    z-index: 9;
    cursor: pointer;
    color: #fff;
    line-height: 20px;
    text-align: center;
    font-family: 'MarkPro';
    width: 30px;
    height: 30px;
    padding: 6px;
    font-size: 15px;
}

/*For tooltip box*/
#mcTooltip {
    width: auto !important;
    line-height: 1; 
    color: #000;
    border: none !important;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: #ffffff;
    height: 30px !important;
    text-align: center;
    display: flex;
    min-width: 150px;
}

#mcTooltip h3 {
    font-size: 13px;
    margin: 0;
    line-height: 1.35;
    font-family: 'MarkPro';
    align-items: center;
    justify-content: center;
    display: flex;
    height: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

#mcTooltip.no-padding
{
    padding:0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

#mcTooltip, #mcttCo b {
    box-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* For hyperlink within tooltip */
#mcTooltip a { color:#069; }

/*Close button. Available when sticky or overlay has been set to true, or is on touch-enabled devices. */
#mcttCloseButton
{ 
/*    border-radius:4px;
    width:18px;
    height:18px;
    margin-right:2px;
    margin-top:2px;
    background:black;*/    
    display: none !important;
}

/*Close button X symbol*/
#mcttCloseButton:after {
    font:normal 38px/18px arial, sans-serif;
    color:white;
    top:0;left:-2px;
    display: none !important;
}

#mcttCo {
    left: 40% !important;
    bottom: -14px !important;
    top: auto !important;
    transform: rotate(-90deg);
}

/*Give the close button a bigger size on smaller devices*/
@media only screen and (max-width: 736px) {
    #mcttCloseButton {
        width:28px;
        height:28px;
    }
    #mcttCloseButton:after {
        font-size:48px;
        line-height:28px;
    }    
} 

/* Useful when overlay has been set to true or 1 in JS */
#mcOverlay 
{
    background-color: rgba(0,0,0,0.5);
    display:none;top:0;left:0;width:100%;height: 100%;overflow:visible;z-index:4; 
}
#mcTooltip img {border:0;vertical-align:middle;}

/*The settings below should remain unchanged*/
#mcTooltipWrapper {position:absolute;visibility:hidden;overflow:visible;z-index:9999999999;top:-2000px;}
#mcTooltip {float:left;border-style:solid;position:relative;overflow:hidden;}
.mcTooltipInner {float:left;position:relative;width:auto;height:auto;}
#mcttCo,  #mcttCo b{position:absolute;overflow:hidden;}

/*compatible with bootstrap*/
#mcTooltip, #mcTooltip div {box-sizing:content-box;}