#livechatButton img{
    display: block;
    position: relative;
    width: 90%;
    height: 90%;
    object-fit: contain;
    margin: auto;
}

#livechatButton{
    display: block; 
    position: fixed; 
    width: 70px; 
    height: 70px; 
    border-radius: 100%; 
    right: 15px; 
    bottom: 54px; 
    background: #007bff;
    cursor: pointer;
    z-index: 5;
}

#livechat{
    display: block; 
    position: fixed; 
    right: 2px; 
    bottom: 0; 
    z-index: 10;
    height: auto;
    background: white;
    min-height: 500px;
    max-width: 350px;
}
#livechatone > div{
    display: block;
    width: 25px;
    height: 25px;
    color: white;
    padding: 0;
    text-align: center;
    font-size: 16px; 
    cursor: pointer;
}

#livechatButton:before {
    border-radius: 100%; 
	content: '';
	position: absolute;
	left: -2px;
	top: -2px;
    background: linear-gradient(45deg, #fb0094, #0034ff, #4dceb0, #009dfb, #00f, #63ea63);
	background-size: 400%;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	animation: steam 25s linear infinite;
}
#livechatButton:hover{
    transform: scale(105%);
}

#livechatLoadingScreen{
    display: none;
    background-color: white;
    height: 100%;
    z-index: 3;
    position: absolute;
    width: 100%;
}

#livechatLoadingScreen > div{
    background-color: transparent;
    border: solid 5px lightgray;
    border-radius: 100%;
    border-bottom-color: transparent;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.15s linear;
    animation: loading 2s linear infinite;
    transform: rotate(0);
}

#livechatButton:before {
	filter: blur(8px);
}

#livechatLoadingScreen.animation{
    display: block;
}

@keyframes steam {
	0% {
		background-position: 0 0;
	}
	50% {
		background-position: 400% 0;
	}
	100% {
		background-position: 0 0;
	}
}

@keyframes loading {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media  (max-width: 500px) {

    #livechat{
        height: 97%;
        z-index: 2000;
        width: 100%;
        right: 0;
    }
    #livechatWindow{
        height: 100%;
    }
    #livechatone > div{
        width: 35px;
        height: 35px;
        font-size: 22px;
    }

}