/*********** top placement - with arrow **************/
.tooltip-top-arrow {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-top-arrow a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-top-arrow .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-top-arrow .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip-top-arrow:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** right placement - with arrow**************/
.tooltip-right-arrow {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-right-arrow a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-right-arrow .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 110%;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-right-arrow .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}
.tooltip-right-arrow:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** bottom placement - with arrow **************/
.tooltip-bottom {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-bottom a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


.tooltip-bottom .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-bottom .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.tooltip-bottom:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** left placement - with arrow **************/
.tooltip-left-arrow {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-left-arrow a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-left-arrow .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 110%;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-left-arrow .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
}
.tooltip-left-arrow:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** top placement - no arrow **************/
.tooltip-top {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-top a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-top .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-top:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** right placement - no arrow **************/
.tooltip-right {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-right a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-right .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: left
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -15px;
    left: 101%;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-right:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** bottom placement - no arrow **************/
.tooltip-bottom {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-bottom a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-bottom .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -60px;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-bottom :hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*********** left placement - no arrow **************/
.tooltip-left {
    position: relative;
    display: inline-block;
}

/* force long urls to wrap */
.tooltip-left a {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tooltip-left .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    //padding: 5px 0;
    padding: 7px 10px 7px 10px;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 105%;

 /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-left:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
