.spot {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
    width: 20px;
    height: 20px;
    
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    
    font-size: 0.9em;
    
    /* border: 1px solid black; */
    border-radius: 90px;
    
    /* margin: 5px; */
    box-sizing: border-box;
}

.spot i.material-icons {
    font-size: 18px;
    background-color: var(--c0);
    color: var(--text-color);
    box-shadow: 0px 0px 2px var(--text-color);
    min-width: 24px;
    max-width: 24px;
    width: 24px;
    height: 24px;
    max-height: 24px;
    min-height: 24px;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.tbnames.selected .spot {
    width: 20px;
    height: 20px;

    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    
    /* border: 1px solid black; */
    border-radius: 90px;

    margin: 5px;
}

.gallery-item .img-container .spots {
    display: flex;
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    
    align-items: flex-start;
    justify-content: space-between;
    /* justify-content: flex-end; */
    
    padding: 5px;
    box-sizing: border-box;
}

.gallery-item .img-container .spots .leftspots,
.gallery-item .img-container .spots .rightspots {
    display: flex;
    flex-direction: row;
    
    gap: 5px;
}

.gallery-item .img-container .spots .spot{
    width: 20px;
    height: 20px;
    
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    
    /* border: 1px solid black; */
    border-radius: 90px;
    background-color: var(--csecondary);
    box-shadow: 1px 1px 2px black;
    color: var(--text-icolor);
    box-sizing: border-box;
}

.gallery-item .img-container .spots > * {
    margin: 0px 2px;
}

.gallery-item .img-container .spots .spot.assoclist {
    display: flex; 
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    /* line-height: 0.8em; */
    
    color: red;
    font-weight: bold;
    background-color: white;
}

.gallery-item .img-container .spots .spot.back {
    color: lightgreen;
}

/* DETAIL VIEW */

.block-detail .gallery-item .spots {
    top: 0;
    bottom: initial;
    
    flex-direction: column;
}

.block-detail .gallery-item .img-container .spots > * {
    /* margin: 2px 0px; */
}

.currentspots.spots {
    display: flex;
    flex-direction: row;

    justify-self: flex-end;
}

.currentspots.spots .spot {
    margin: 0px 1px;
}

.spot.media {
    display: none;
}

.tablelist .spot.media {
    display: flex;
}

.tablelist .spots {
    min-width: 150px;
    max-width: 150px;
    top: 0;
    /* check : position: relative !important; */
}

/* HIGH SPOTS */

.highspots {
    display: flex;
    flex-direction: row;
    justify-content: flex-end !important;
    align-items: center;

    position: absolute;
    top: 0;
    
    font-size: 0.9em;
    
    box-sizing: border-box;
}

.highspots > * {
    width: 20px;
    height: 20px;
    
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;

    color: var(--text-color) !important;
    border: 0;

    border-radius: 3px !important;
}

.spots > button.spot:hover > *,
.highspots > button:hover {
    background-color: #444 !important;
}

.spot.ccdoc {
    
}

.spot.parents,
.spot.children {
    display: none;
}

.spot .material-icons {
    width: 20px;
    
    text-align: center;
}

.spot.locked,
.spot.locked > * {
    background-color: white !important;
    color: black !important;
    
    border-radius: 90px !important;
    border: 1px solid white;
    box-shadow: 0px 0px 2px white !important;
}
