/* Only the material gallery on the balcony repair page. */
#repair-materials-gallery .content .slider .carousel{display:flex;flex-direction:column;isolation:isolate}
#repair-materials-gallery .content .slider .carousel>.carousel-inner{order:1;border-radius:12px;background:#f2f5f1;overflow:hidden;box-shadow:0 6px 24px rgba(47,70,60,.04)}
#repair-materials-gallery .rm-photo{position:relative;height:430px;overflow:hidden;background:#f2f5f1}
#repair-materials-gallery .rm-photo>img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;transform:scale(1)!important;transition:transform 1.3s cubic-bezier(.22,1,.36,1)!important;border-radius:0}
#repair-materials-gallery .rm-photo-label{position:absolute;left:9px;bottom:9px;z-index:2;max-width:calc(100% - 18px);padding:5px 8px;border-radius:5px;background:rgba(255,255,255,.93);color:#344d43;font-size:10px;line-height:1.35;letter-spacing:.01em;pointer-events:none}
#repair-materials-gallery .rm-photo-label.rm-visualization{background:#fff1e6;color:#855134}
#repair-materials-gallery .rm-watermarks{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);align-items:center;justify-items:center;pointer-events:none;overflow:hidden}
#repair-materials-gallery .rm-watermarks span{color:rgba(40,55,50,.065);text-shadow:0 1px 1px rgba(255,255,255,.1);font:9px Arial,sans-serif;transform:rotate(-30deg);white-space:nowrap}
#repair-materials-gallery .content .slider .carousel>.carousel-indicators{order:2;position:static;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;height:auto;max-width:none;left:auto;bottom:auto;transform:none;margin:12px 0 0;padding:0;background:none;overflow:visible}
#repair-materials-gallery .content .slider .carousel>.carousel-indicators>li{display:block;float:none;flex:none;width:100%;height:auto;aspect-ratio:3/4;margin:0;padding:0;border:2px solid #e3e9e4;border-radius:7px;background:#f2f5f1;overflow:hidden;text-indent:0;cursor:pointer;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
#repair-materials-gallery .content .slider .carousel>.carousel-indicators>li.active{border-color:#f7a67e;box-shadow:0 0 0 2px rgba(247,166,126,.16)}
#repair-materials-gallery .content .slider .carousel>.carousel-indicators>li>img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1)!important;transition:transform 1.3s cubic-bezier(.22,1,.36,1)!important;border-radius:0}
#repair-materials-gallery .carousel-control{height:42px!important;width:34px!important;top:calc(215px - 21px)!important;bottom:auto!important;opacity:1!important;background:#ffa77f!important;color:white;box-shadow:0 3px 10px #0002;border-radius:7px;z-index:3;text-shadow:none}
#repair-materials-gallery .carousel-control.left{left:6px!important}#repair-materials-gallery .carousel-control.right{right:6px!important}
#repair-materials-gallery .carousel-control span{font-size:23px!important}
#repair-materials-gallery .rm-gallery-note{font-size:11px;line-height:1.7;max-width:800px;margin:24px auto 0;padding:0 16px;text-align:center;color:#68796f}
#repair-materials-gallery .carousel-indicators>li:focus-visible,#repair-materials-gallery .carousel-control:focus-visible{outline:2px solid #344d43;outline-offset:3px}
@media(min-width:992px){#repair-materials-gallery .content .slider .carousel>.carousel-indicators>li:hover>img{transform:scale(1.1)!important}#repair-materials-gallery .rm-photo:hover>img{transform:scale(1.08)!important}}
@media(max-width:767px){#repair-materials-gallery .rm-photo{height:420px}#repair-materials-gallery .carousel-control{top:189px!important}#repair-materials-gallery .content .slider .carousel>.carousel-indicators{gap:6px}}
@media(max-width:359px){#repair-materials-gallery .rm-photo{height:370px}#repair-materials-gallery .carousel-control{top:164px!important}#repair-materials-gallery .content .slider .carousel>.carousel-indicators{gap:4px}}
