.modal-container.slider{height:100dvh;display:flex;flex-direction:column;justify-content:center;padding:20px 0}.carousel{width:100%;margin-left:auto;margin-right:auto}.carousel__slide{background-size:cover;background-position:center}.chat-photo-carousel{max-width:544px;max-height:577px;height:100%;margin-top:24px;margin-bottom:20px}.chat-photo-carousel .carousel__next,.chat-photo-carousel .carousel__prev{width:24px;height:24px}.chat-photo-thumbs{width:100%;box-sizing:border-box}.chat-photo-thumbs .carousel__wrapper{justify-content:center}.chat-photo-thumbs .carousel__slide{max-width:80px;max-height:80px;border-radius:12px!important;opacity:.4;overflow:hidden}.chat-photo-thumbs .carousel__slide--thumb-active{border:2px solid #DBEA8D;opacity:1}.carousel__slide img{display:block;width:100%;height:100%;object-fit:cover}.chat-photo-carousel .photo-carousel__prev:after,.chat-photo-carousel .photo-carousel__next:after{content:none}.chat-photo-carousel .carousel__pagination{bottom:initial;left:initial;top:10px;right:10px;width:max-content;height:max-content;padding:5px 10px;font-family:PT-Bold;font-weight:700;font-size:14px;color:#fff;background:rgba(0,0,0,.4);border-radius:15px}.chat-photo-carousel .carousel__current,.chat-photo-carousel .carousel__total{font-family:PT-Bold;font-weight:700;font-size:14px;color:#fff}@media only screen and (min-width: 319px) and (max-width: 1224px) and (max-width: 767.98px),only screen and (min-width: 768px){.chat-photo-carousel{max-width:536px}@media only screen and (max-width: 600px) and (max-width: 767.98px){.modal-container.slider{padding:0}.modal.modal--photos .sprite--close{width:52px;height:52px;top:24px;left:16px;right:initial;background-repeat:no-repeat;border-radius:28px;background-color:#fefdf8;box-shadow:0 2px 4px #0000000f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23000'%3E%3Cpath d='m297.18-440.39 238.95 238.96L480-145.87 145.87-480 480-814.7l56.13 56.13-238.95 238.96H814.7v79.22H297.18Z'/%3E%3C/svg%3E");background-size:23px;background-position:13.99px 14.75px}.modal.modal--photos .sprite--close{top:16px;left:16px}.chat-photo-carousel{max-width:100%;max-height:417px}.chat-photo-carousel .carousel__slide{width:100%!important}.chat-photo-thumbs .carousel__slide{width:56px!important;height:56px;min-width:56px;min-height:56px;border-radius:12px}}}
