.facets-wordcloud-close:hover,
.facets-wordcloud-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.facets-wordcloud-modal-loading{
    position: absolute;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    text-align: center;
}

#facets-wordcloud-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


.facets-wordcloud-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 800px;
    max-height: 90%;
}

/* The Close Button */
.facets-wordcloud-close {
    float: right;
    position: relative;
    background: white;
    color: #aaa;
    line-height: 1;
    font-size: 28px;
    font-weight: bold;
    z-index: 999; /* Sit on top */
}

.facets-wordcloud-area {
    position: relative;
    margin: 10px; /* make sure nothing is overflowing */
    height: calc(100% - 50px)
}

.wordcloud-button-grow { 
    transition: all .1s ease-in-out; 
}
.wordcloud-button-grow:hover { 
    transform: scale(1.5); 
}

.wordcloud-tooltip-available {
    position: relative
}

.wordcloud-tooltip-item { 
    transition: text-shadow 0.1s ease-in-out; 
    cursor: pointer;
}
.wordcloud-tooltip-item:hover { 
    text-shadow: 0 0 10px; 
}


.wordcloud-tooltip-tip{
    display: none;
    position:absolute;
    left:0px;
    z-index: 1;
    border-radius: 10px;
    box-shadow:1px 1px 5px #000;
    background: white;
}

.show-facets-wordcloud {
    margin-left: 1em;
}

.table-wordcloud-tooltip {
    margin: 0;
}

