/* inspector tooltips */
.tip--container {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 800px;
    margin: 25px auto auto auto;
}
.tip--cell::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    animation: pulse 3s infinite;
}
.tip--cell--under {
    position: absolute;
    z-index: 0;
}
.tip--cell--under::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    left: -9px;
    top: -9px;
    z-index: 1;
    border-radius: 100px;
    background: radial-gradient(ellipse at center, rgb(0 0 0 / 59%) 0%,rgb(0 0 0 / 0%) 70%,rgb(0 0 0) 100%);
}
.tip--cell {
    position: absolute;
    color: black;
    background: white;
    width: 25px;
    height: 25px;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 50%;
    transition-duration: 0.8s;
    transition-property: transform;
    user-select: none;
    cursor: pointer;
}
.tip--image {
    width: 100%;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.tip--cellactive {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* tooltip */
.tip--tooltip {
    position: absolute;
    background: white;
    z-index: 1000;
    transform: translate(-175px, -300px);
    min-width: 150px;
    border-radius: 10px;
    filter: drop-shadow(2px 4px 6px black);
    z-index: 10000;
    width: 350px;
}
.image--cover {
    width: 100%;
    height: 100%;
    background: #0000001a;
    position: absolute;
}
.tip--cover {
    width: 100vw;
    height: 100vh;
    background: #00000052;
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
}
.tip--tooltipimagebox {
    width: 350px;
    height: 200px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
}
.tip--tooltipimage {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
}
.tip--tooltiptext {
    white-space: pre-line;
    text-align: left;
    padding: 10px 20px 20px;
}
.tip--tooltip .tip--tooltiptext h3 {
    font-size: 1.2rem !important;
    color: black;
    font-style: normal;
    text-align: center;
    margin-top: 0px !important;
}
.tip--slideshow {
    display: none;
}
@keyframes pulse {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
    }
    
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
    }
}
@media only screen and (max-width: 600px) {
    .tip--container {
        display: none;
    }
    .tip--slideshow {
        display: inline-block;
    }
}

/* inspector slideshow */
.tip--slide--image {
    width: 450px;
    height: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: auto;
    max-width: 100%;
}
.tip--slide .tip--slide-text h3 {
    color: black;
    font-style: normal;
    text-align: center;
}
.tip--slideshow {
    position: relative;
    width: 100%;
    padding-top: 20px;
}
.tip--slidecontainer {
    display: block;
    position: relative;
}
.tip--slide {
    margin: auto;
}
.tip--slidenext {
    right: 0px;
}
.tip--arrow {
    color: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 1;
    cursor: pointer;
    position: absolute;
    top: 180px;
    margin-top: -22px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 2rem;
    text-align: center;
    height: 1.5em;
    width: 1.5em;
    background: rgba(0, 0, 0, 0.5);
    padding: 0px 2px;
    line-height: 29px;
}
.tip--imagecontainer {
    width: 450px;
    height: 300px;
    margin: auto;
}
.tip--slide img.tip--slideimage {
    margin: auto;
    max-width: 450px;
    max-height: 300px;
}
.tip--slide div.tip--slide-text {
    white-space: pre-line;
    max-width: 550px;
    margin: auto;
    line-height: 1.5rem;
    font-size: 1rem;
    margin-top: 10px;
    min-height: 50px;
}
.tip--fade {
    opacity:0;
    width: 100%;
    top: 0px;
    left: 0px;
    position:absolute
}
.tip--slidebuttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.tip--btn {
    width: 8px;
    height: 8px;
    border: solid;
    border-radius: 10px;
    margin: 10px;
    background: #424242;
}
.tip--active {
    background: transparent;
}
@media only screen and (max-width: 475px) {
    .tip--slide--image {
        width: 400px;
        height: 220px;
    }
    .tip--arrow {
        margin-top: -60px;
    }
}
@media only screen and (max-width: 360px) {
    .tip--slide--image {
        width: 320px;
        height: 160px;
    }
    .tip--arrow {
        margin-top: -90px;
    }
}