/* Стандартный стиль кнопки (когда НЕ fullscreen) */
.catalog-fullscreen {
    position: absolute;
    right: calc(50% - 22.5px);
    z-index: 10;
    width: 43px;
    height: 43px;
    line-height: 1;
    transition: 0.5s;
    top: 0px;
    opacity: 0;
    cursor: auto;
}

/* Ховер, когда не в полноэкранном режиме */
.macroframecontainer:hover .catalog-fullscreen {
    transition: 0.5s;
    top: 9px;
    opacity: 1;
    cursor: pointer;
}

.catalog-fullscreen.fullscreen-active {
    position: fixed !important;
    z-index: 9999 !important;
    top: 9px !important;
    opacity: .4 !important;
    cursor: pointer !important;
    transition: 0.5s !important;
}

.catalog-fullscreen.fullscreen-active:hover {
    opacity: 1 !important;
}