@charset "utf-8";
/*SMALL*/
.small_img_ckde {
	max-height: 150px;
	border: 1px solid #D4D4D4;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
                rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	border-radius: 5px;
	padding: 3px;
	display: inline-block;
	cursor: pointer;
	/*margin-bottom: 5vh;*/
}
.small_img_ckde img {
    max-height: 100%; 
    border-radius: 5px; 
    display: block; 
}
/*SMALL*/
/*BIG*/
.big_wrapper_ckde {
	float: left;
	width: 100%;
	text-align: center;
}
.big_img_ckde {
	max-width: 100% !important;
	max-height: 80vh;
	display: inline-block;
	border-radius: 5px;
	border: 1px solid #D4D4D4;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
                rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	margin: 5px;
	z-index: 1;
	pointer-events: auto;
	cursor: pointer;
}
/*BIG*/
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 18, 27, 0.4);
  backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zoomed-img {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
    will-change: transform;
    position: relative;
    z-index: 10000;
    touch-action: none;
}
.zoom-close-btn {
    position: absolute;
    top: 15px;
    right: 15px; /* ← сюда */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    user-select: none;
}
.zoom-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
/*CKEditor два размера фото*/
