.arcticmodal-overlay,
.arcticmodal-container {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
}
.arcticmodal-container {
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}
*:first-child+html .arcticmodal-container {
    height: 100%
}
.arcticmodal-container_i {
    height: 100%;
    margin: 0 auto;
	border-spacing: 0px;
}
.arcticmodal-container_i2 {
    padding: 45px 0px 30px 0px;
    margin: 0;
    border: 0;
    vertical-align: middle;
}
.arcticmodal-error {
    padding: 20px;
    border-radius: 10px;
    background: #000;
    color: #fff;
}
.arcticmodal-loading {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-color: #000;
    background-image: url(../../uploads/loading.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.box-modal {
    position: relative;
    width: auto;
    padding: 0px 0px 0px 0px;
}
.box-modal-ajax {
    position: relative;
    width: auto;
    padding: 0px 0px 0px 0px;
}
.box-modal_close {
    cursor: pointer;
    z-index: 999;
    width: 23px;
    height: 23px;
    position: absolute;
    top: -30px;
    right: -36px;
}
.box-modal_close:after,
.box-modal_close:before {
    display: block;
    content: "";
    width: 28px;
    height: 2px;
    left: -3px;
    position: relative;
    background-color: #808ea5;
    top: 10px;
    transition: var(--transition-duration);
}
.box-modal_close:before {
    transform: rotate(45deg);
}
.box-modal_close:after {
    margin-top: -2px;
    transform: rotate(-45deg);
}
.box-modal_close:hover:after,
.box-modal_close:hover:before {
    background-color: #fff;
}
@media screen and (max-width: 500px) {
	.box-modal_close {
		top: calc((23px + 10px) * (-1));
		right: calc(25px - 1px);
    }
	.box-modal:has(.modal__lamination) .box-modal_close. 
	.box-modal:has(.modal-designes-zimnie-sady) .box-modal_close {
		right: 0px;
	}
}