.popover-block {
    display: none;
    position: fixed;
    background-color: #fff;
    border: 1px solid #222;
    border-radius: 10px;
    z-index: 10000;
}

.popover-content {
    padding: 10px;
}

.popover-title {
    font-weight: bold;
    text-align: center;
    background-color: #ddd;
    border-bottom: 1px solid #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
}

.popover-close {
    display: inline-block;
    position: absolute;
    right: 10px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    padding: 5px;
    text-align: center;
    vertical-align: center;
}

.popover-close-x {
    position: relative;
    top: -6px;
}
.popover-arrow {
    /* Border */
    border: 1px solid #000;

    /* Used to position the arrow */
    position: relative;
}

.popover-arrow__arrow {
    /* Size */
    height: 0.8rem;
    width: 0.8rem;

    background-color: #fff;
    position: absolute;
}

.popover-arrow__arrow--tl {
    /* Position at the top left corner */
    left: 1rem;
    top: 0;

    /* Border */
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--tc {
    /* Position at the top center */
    left: 50%;
    top: 0;

    /* Border */
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--tr {
    /* Position at the top right corner */
    right: 1rem;
    top: 0;

    /* Border */
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--rt {
    /* Position at the right top corner */
    right: 0;
    top: 1rem;

    /* Border */
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(50%, 50%) rotate(45deg);
}

.popover-arrow__arrow--rc {
    /* Position at the right center */
    right: 0;
    top: 50%;

    /* Border */
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--rb {
    /* Position at the right bottom corner */
    bottom: 1rem;
    right: 0;

    /* Border */
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    transform: translate(50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--bl {
    /* Position at the bottom left corner */
    bottom: -0.8rem;
    left: 1rem;

    /* Border */
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: translate(50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--bc {
    /* Position at the bottom center */
    bottom: -0.8rem;
    left: 50%;

    /* Border */
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--br {
    /* Position at the bottom right corner */
    bottom: -0.8rem;
    right: 1rem;

    /* Border */
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--lt {
    /* Position at the left top corner */
    left: 0;
    top: 1rem;

    /* Border */
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: translate(-50%, 50%) rotate(45deg);
}

.popover-arrow__arrow--lc {
    /* Position at the left center */
    left: 0;
    top: 50%;

    /* Border */
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.popover-arrow__arrow--lb {
    /* Position at the left bottom corner */
    bottom: 1rem;
    left: 0;

    /* Border */
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: translate(-50%, -50%) rotate(45deg);
}
