/* CSS pulsating button on hover - begin */
.pulsating-button {
}
    .pulsating-button:hover {
        transition: transform 0.5s;
        transform: scale(1.1);
    }

    .pulsating-button:active {
    }
/* CSS pulsating button on hover - end */

/* CSS animated pulsating button - begin */
.animated-pulsating-button {
    animation: pulsate 2s infinite;
}
    .animated-pulsating-button:hover {
        transform: scale(1.1);
    }

    .animated-pulsating-button:active {
        transform: scale(0.9);
    }

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* CSS animated pulsating button - end */

#maica_button {
    position: fixed;
    align-content: center;
    bottom: 38px;
    right: 60px;
    z-index: 999987;
    background-color: @_backgroundColor;
    border: none;
    border-radius: 34px;
    image-rendering: optimizeSpeed;
    overflow: hidden;
    width: 68px;
    height: 68px;
    box-shadow: 2px 2px 2px #888888;
    cursor: pointer;
}

#maica_icon {
    width: 100%;
    height: 100%;
}

#maica_iframe {
    background-size: cover;
    position: fixed;
    bottom: 130px;
    right: 35px;
    width: 400px;
    height: 711px;
    max-height: calc(100dvh - 130px);
    border: none;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09), 0 10px 25px rgba(0, 0, 0, 0.06), 0 20px 40px rgba(0, 0, 0, 0.03);
    z-index: 999990;
    border-radius: 15px;
    transform-origin: bottom right;
    max-width: 100%;
}

.hidden {
    display: none !important;
}

#maica_close {
    position: fixed;
    bottom: 772px;
    right: 35px;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
    margin: 20px;
    cursor: pointer;
    z-index: 999998;
    border:none;
    background-color: transparent;
}

#maica_close_icon {
    width:30px;
    height:30px;
}

@media (max-width: 768px) {
    #maica_iframe {
        bottom: 0 !important;
        right: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        border-radius: 0 !important;
        max-height:100% !important;
    }

    #maica_close {
        top: 0 !important;
        right: 0 !important;
    }

    #maica_button {
        z-index: 999987;
    }
}



@media (min-width: 761px) and (max-height: 195px) {
        #maica_close {
            display: none;
        }
    }

@media (min-width: 761px) and (max-height: 650px) {
    #maica_iframe {
        height: calc(100dvh - 130px);
    }

    #maica_close {
        bottom: calc(100dvh - 70px);
    }
}

@media (min-width: 761px) and (max-height: 730px) {
    #maica_iframe {
        height: calc(100dvh - 130px);
    }

    #maica_close {
        bottom: calc(100dvh - 70px);
    }
}

@media (min-width: 761px) and (max-height: 810px) {
    #maica_iframe {
        height: calc(100dvh - 130px);
    }

    #maica_close {
        bottom: calc(100dvh - 70px);
    }
}

