/* add starts */
.gg-add {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid;
    transform: scale(var(--ggs, 1));
    border-radius: 1rem;
    color: #9799a7;
}

.gg-add::after,
.gg-add::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 2px;
    background: currentColor;
    border-radius: 5px;
    top: 8px;
    left: 4px
}

.gg-add::after {
    width: 2px;
    height: 10px;
    top: 4px;
    left: 8px
}

/* code below needs to be fixed when hovering to make both icon and border change color at the same time */
.icon-div:hover,
.gg-add:hover {
    color: #017FFE;
    border-color: #017FFE !important;
    cursor: pointer;
}

/* add ends */

/* Close (X) button of the modal */
.gg-close {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 40px
}

.gg-close:hover {
    cursor: pointer;
}

.gg-close::after,
.gg-close::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: 1px
}

.gg-close::after {
    transform: rotate(-45deg)
}

/* Close (x) button of the modal ends here */

/* edit icon starts here*/

.gg-edit-markup {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid;
    border-radius: 22px;
    overflow: hidden;
    perspective: 20px
}

.gg-edit-markup::after,
.gg-edit-markup::before {
    content: "";
    display: block;
    position: absolute;
    box-sizing: border-box
}

.gg-edit-markup::before {
    width: 0;
    height: 6px;
    border-bottom: 6px solid;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    bottom: 9px;
    left: 6px
}

.gg-edit-markup::after {
    width: 10px;
    height: 12px;
    border: 2px solid;
    border-top: 4px solid;
    border-bottom: 0;
    bottom: 0;
    left: 4px;
    transform: rotateX(60deg)
}

/* edit icon ends here */

/* delete icon starts here */

.gg-trash {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 10px;
    height: 12px;
    border: 2px solid transparent;
    box-shadow:
        0 0 0 2px,
        inset -2px 0 0,
        inset 2px 0 0;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    margin-top: 4px
}

.gg-trash::after,
.gg-trash::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute
}

.gg-trash::after {
    background: currentColor;
    border-radius: 3px;
    width: 16px;
    height: 2px;
    top: -4px;
    left: -5px
}

.gg-trash::before {
    width: 10px;
    height: 4px;
    border: 2px solid;
    border-bottom: transparent;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    top: -7px;
    left: -2px
}

/* delete icon ends here */