#objectHover {
    position: fixed;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 4px;
    background: #222;
    color: #fff;
    display: none;
    margin-top: -50px;
    pointer-events: none;
    font-size: 12px;
}

#objectHover span {
    font-size: 16px;
    font-weight: bold;
}

#objectInHand {
    position: fixed;
    z-index: 11;
    display: none;
    pointer-events: none;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
body.objectInHand #objectInHand {
    display: block;
}


#objectPicked {
    position: fixed;
    z-index: 12;
    display: none;
    pointer-events: none;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#athena_hint {
    width: 140px;
    height: 130px;
    background-image: url('../images/button_athena.png');

    margin: 0;
    padding: 0;

    margin-top: -30px;
    margin-left: -48px;
}
#objectsFound {
    position: absolute;
    bottom: 0px;
    left: 50%;
    line-height: 20px;
    text-align: center;
    width: 200px;
    margin-left: -100px;
    font-size: 12px;
    background: #e6e6e6;
    border: 2px solid #ccc;
}
#objectsFound span {
    font-weight: bold;
}
#athena_hint .iconBase {
    display: block;
}
#athena_hint .iconSelected {
    display: none;
}
#athena_hint:hover .iconBase {
    display: none;
}
#athena_hint:hover .iconSelected {
    display: block;
}

#objects {
    display: flex;
    margin-top: 10px;
    margin-left: 40px;
    position: absolute;
    top: 0;
    left: 90px;
}

.object {
    width: 48px;
    height: 48px;
    margin: 10px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 1s;
    padding: 2px;
    cursor: pointer;
    background-image: url('../images/btn_object.png');
    background-size: 100% 100%;
}

.object .icon {
    position: relative;
    width: 100%;
    height: 100%;
}

.object.selected {
    background-image: url('../images/btn_object-selected.png');
}

#athena_hint.object {
    opacity: 1;
}

#athena_hint .icon {
    margin-bottom: -20px;
}

.object.depleting .icon:before {
    content: '';
    position: absolute;
    top: 0%;
    right: 0px;
    width: 4px;
    bottom: 0px;
    background: #b94e3f;
    z-index: 0;
    animation: depleting;
    animation-fill-mode: forwards;
    animation-duration: inherit;
}

@keyframes depleting {
  0%   {top: 0%;}  
  100% {top: 100%;}
}
