﻿
/*For tooltip target element that has set class="tooltip" */
.tooltip {
    text-decoration: none;
    border-bottom: 1px dotted #36b;
    color: #36b;
    outline: none;
    position: static;
    display: inline;
    opacity: 1;
}

/*For tooltip box*/
#mcTooltip {
    line-height: 16px;
    border: 1px solid rgb(150, 150, 150); /* fallback for IE8 and older that don't support RGBA */
    border: 1px solid rgba(50, 50, 50, 0.5);
    color: #000;
    padding: 25px;
    font-size: 12px;
    font-family: Verdana, Arial;
    border-radius: 1px;
    background-color: white;
}
/* In case you have the {cssClass:'no-padding'}} option */
#mcTooltip.no-padding {
    padding: 0;
}

/* box shadow */
#mcTooltip,
#mcttCo b {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* For hyperlink within tooltip */
#mcTooltip a {
    color: #36b;
}

/*Close button. Available when sticky or overlay has been set to true or 1, or is on touch-enabled devices. */
#mcttCloseButton {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    margin-top: 4px;
}
/*Close button X symbol*/
#mcttCloseButton:after {
    font: normal 38px/18px arial, sans-serif;
    color: black;
    top: 0;
    left: -2px;
}

/*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(255, 255, 255, 0.8);
    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;
    overflow: hidden;
}
/*.mcTooltipInner{overflow: hidden;} and the following ::after clearFix will fix a float height issue */
.mcTooltipInner::after {
    content: '';
    display: block;
    clear: both;
}
#mcttCo,
#mcttCo b {
    position: absolute;
    overflow: hidden;
}
#mcTooltip,
#mcTooltip div {
    box-sizing: content-box;
}
