﻿/* www.menucool.com/tooltip/javascript-tooltip */

/*For tooltip target element that has set class="tooltip" */
.tooltip {text-decoration: none; border-bottom:1px dotted #069;color: #069; outline: none; }

/*For tooltip box*/
div#mcTooltip 
{
    line-height:16px;
    border-width: 1px;   
    color:#333; 
    border-color:#DDD;
    padding:20px;
    font-size: 12px;
    font-family: "aperculight";
    border-radius:1px;
    background-color:#FFF;
    /*background-color:#EEE;*/
}

/*
div#mcTooltip, div#mcttCo b {
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

*/

h3 {
    margin: 0 0 0.5rem 0;
    color: #9a9a9a;
    text-transform: uppercase;
    font-size: 1.4rem;
    line-height: 2rem;
}

/* For hyperlink within tooltip */
div#mcTooltip a { 
    /*color: #4a4b4a;*/
    color: #23527c;
    outline: none!important;
}

div#mcTooltip a:hover { 
    color: #4a4b4a;
    text-decoration: underline;
    outline: none!important;
}


/*Close button. Available when sticky or overlay has been set to true, or is on touch-enabled devices. */
div#mcttCloseButton
{ 
    border-radius:4px;
    width:18px;
    height:18px;
    margin-right:2px;
    margin-top:2px;
    background:black;    
}

/*Close button X symbol*/
div#mcttCloseButton:after {
    font:normal 38px/18px arial, sans-serif;
    color:white;
    top:0;left:-2px;
}

/*Give the close button a bigger size on smaller devices*/
@media only screen and (max-width: 736px) {
    div#mcttCloseButton {
        width:28px;
        height:28px;
    }
    div#mcttCloseButton:after {
        font-size:48px;
        line-height:28px;
    }    
} 

/* Useful when overlay has been set to true or 1 in JS */
div#mcOverlay 
{
    background-color: rgba(255,255,255,0.8);
    display:none;top:0;left:0;width:100%;height: 100%;overflow:visible;z-index:4; 
}

/*The settings below should remain unchanged*/
div#mcTooltipWrapper {position:absolute;visibility:hidden;overflow:visible;z-index:9999999999;top:-2000px;}
div#mcTooltip {float:left;border-style:solid;position:relative;overflow:hidden;}
div.mcTooltipInner {float:left;position:relative;width:auto;height:auto;}
div#mcttCo,  div#mcttCo b{position:absolute;overflow:hidden;}

/*compatible with bootstrap*/
div#mcTooltip, div#mcTooltip div {box-sizing:content-box;}