.exitblock {    
    display: none;    
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}  
.modal.show .modal-dialog {
    transform: none;
}
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

@media only screen and (min-width: 768px) {
	.modal-leave-tg .modal-body img {
		margin-right: 44px;
	}
}

@media only screen and (min-width: 640px) {
	.modal-leave-tg .modal-dialog {
		max-width: 620px;
	}
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 1.75rem auto;
	}
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    color: #000;
    text-align: left;
}
.modal-leave-tg .modal-content {
    border-radius: 10px;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    border: 0;
    border-radius: 0;
}
.modal-leave-tg .close {
    top: 32px;
    right: 32px;
}
.modal-leave-tg .close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #0085ff;
    top: 32px;
    right: 32px;
    display: box;
    display: flex;
    align-items: center;
}
.modal-dialog .close {
    position: absolute;
    top: 17px;
    right: 23px;
    border-radius: 50%;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    padding: 0;
    margin: 0;
    z-index: 2;
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
.modal-leave-tg .modal-body {
    padding: 32px;
    display: box;
    display: flex;
    align-items: center;
    gap: 20px;
}
.modal-leave-tg .modal-body img {
    width: 200px;
    min-width: 200px;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-leave-tg-title {
    font-weight: 700;
    font-size: 31px;
    line-height: 36px;
    margin-bottom: 16px;
}
.modal-leave-tg-description {
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 16px;
}
.modal-leave-tg-button {
    padding: 12px 21px;
    border-radius: 100px;
    display: inline-block;
    vertical-align: top;
    background: #0085ff;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    transition: 0.3s ease;
}
.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 999;
}