* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

body{
  font-size: 14px;
}

.area {
    margin: 30px auto;
    position: relative;
    border: 1px solid #0D7B94;
	border-radius: 30px;
	 overflow: hidden;
}

#loadingSpinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050; /* Ensure it's above other elements */
}

.spinner-overlay {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.main_image{
	 overflow: scroll;
}

.main_image::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
	height: 6px;
}

.main_image::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

.main_image::-webkit-scrollbar-thumb {
    background: #888; /* Handle color */
    border-radius: 4px; /* Rounded corners */
}

.area::-webkit-scrollbar-thumb:hover {
    background: #555; /* Handle color on hover */
}


.img {
  max-width: 100%;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.comment {
  position: absolute;
  z-index: 2;
}

.comment .comment-model {
  top: 95%;
  position: absolute;
  min-width: 220px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px #00000030;
  opacity: 0;
  visibility: hidden;
}
.comment.comment-active .comment-model {
  opacity: 1;
  visibility: visible;
}

.comment-replay .comment-replay-icon{
  flex: 0 0 auto;
}

.comment-replay .comment-replay-icon img{
  width: 40px;
}

.comment-replay-list{
  display: flex;
  padding: 10px;
  align-items: center;
  border-bottom: 1px solid #EEE;
}

.comment-replay-icon{
  margin-inline-end: 10px;
}

.editable {
  padding: 10px;
  font-size: 16px;
  color: #000;
}

.editable:empty:before {
  content: attr(data-placeholder); 
}

.controls {
    text-align: center;
    display: flex;
    align-items: center;
    border: 1px solid #0D7B94;
    padding: 10px;
    border-radius: 10px;
	    justify-content: space-evenly;
}

canvas {
  position: absolute;
  z-index: 1;
  width: 99% !important;
  height: 99% !important;
}

.events-none {
  pointer-events: none;
}

.drawpad-eraser {
  border: 1px solid;
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin: 10px;
}

.toolbar {
  transition: all 0.2s ease-in-out;
  display: none;
}

.toolbar.active {
  display: block;
}

.toolbar-row-left,
.button-group {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-options-container {
    position: relative;
}

.toolbar.hide {
  opacity: 0;
  visibility: hidden;
}

.toolbar .button {
  background-color: #fff;
  cursor: pointer;
  border-top: 0px solid #d4d4d4;
  text-align: center;
	margin: 0px 20px 0 80px;
}



.write-mode {
  position: absolute;
  z-index: 2;
}


.write-mode .editable {
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 0px;
    border: 1px solid #0c7991;
}


.text-highlighting .editable {
  background-color: #0000003e;
}


/*
	Colorpicker for Bootstrap
	Copyright 2012 Stefan Petre 
	Licensed under the Apache License v2.0
	http://www.apache.org/licenses/LICENSE-2.0
*/

.colorpicker-saturation i {
  display: block;
  height: 5px;
  width: 5px;
  border: 1px solid #000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  margin: -4px 0 0 -4px;
}
.colorpicker-saturation i b {
  display: block;
  height: 5px;
  width: 5px;
  border: 1px solid #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.colorpicker-hue,
.colorpicker-alpha {
  width: 60px;
  height: 200px;
  float: left;
  cursor: row-resize;
  margin-left: 4px;
  margin-bottom: 4px;
}

.colorpicker-hue i,
.colorpicker-alpha i {
  display: block;
  height: 1px;
  background: #000;
  border-top: 1px solid #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: -1px;
}

.colorpicker {
  position: absolute;
  zoom: 1;
  top: 0;
  left: 0;
  padding: 4px;
  min-width: 120px;
  margin-top: 1px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: rgb(150, 150, 150);
  z-index: 2;
}

.colorpicker div {
  position: relative;
}
.colorpicker.alpha {
  min-width: 140px;
}
.colorpicker.alpha .colorpicker-alpha {
  display: block;
}


.colorpicker-color div {
  height: 20px;
}
.input-append.color .add-on i,
.input-prepend.color .add-on i {
  display: block;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.toolbar .clear-button{
  color: white;
  background-color: #F37873;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F37873), to(#CB0500));
  background-image: -moz-linear-gradient(#dc5f59, #b33630);
  background-image: -ms-linear-gradient(#dc5f59, #b33630);
  background-image: -o-linear-gradient(#dc5f59, #b33630);
  background-image: linear-gradient(#dc5f59, #b33630);
  display: inline-block;
  padding: 5px 7px 5px 5px;
  text-align: center;
  margin: 7px 0 2px 0;
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
  border-radius: 4px;
}

.tool-rectangle,
.tool-pan,
.tool-eye-dropper,
.toolbar-row-right .button-group,
.toolbar-row-right .zoom-display{
  display: none;
}

img {
  max-width: 100%;
}

.swiper {
  overflow: hidden;
  /* position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0; */
}
.swiper-slide:not(.swiper-slide-active) {
  /* visibility: hidden; */
}

.swiper-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.swiper-action .swiper-pagination-bullet {
    width: 23px;
    height: 22px;
    background: transparent;
    opacity: 1;
    color: #000;
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.swiper-action .swiper-pagination-bullet-active {
    background: #2AD3E0;
    color: #FFF;
}

.pagination {
  width: auto;
  color: #0C7B93;
  margin: 0px 25px;
	flex-wrap: wrap;
}

.swiper-action .swiper-prev,.swiper-action .swiper-next {
    width: 25px;
    height: 25px;
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
    display: inline-flex;
    align-items: center;
	flex: 0 0 auto;
    justify-content: center;
}

.swiper-prev img,
.swiper-next img {
  max-width: 14px;
}

.swiper-next img {
  transform: rotate(180deg);
}
.replay-comment-btn {
  color: white !important;
  width: 8%;
}



/* .swiper-pagination-total {
  background-color: #000;
  padding: 4px 20px;
} */



@media (max-width: 1024px) {
  .area-active-mobile.area {
    overflow-x: scroll;
  }
  .area-active-mobile .img {
    max-width: unset;
    width: unset;
  }
  .area {
    width: 90%;
  }
  .block-area {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100000;
  }
  .main_image {
    padding-top: 95%;
  }
}
#overlay_image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.main_image {
  position: relative;
  height: 0;
  padding-top: 95%;
}

.main_image img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left:0;
}

.comment-section {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.comment-input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  width: 80%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-input:focus {
  border-color: #80bdff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: #333;
}
.user-box{
  position: relative;
    border-color: #0377f4;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
    border: 1px solid;
    outline: none;
    margin-top: 6px;
    border-radius: 5px;
    height: 10%;
    width: 100%;
}

  .time {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
}

.image{
  padding-top: 10px;
  padding-right: 10px;
}

.comment-item{
  width: 80%;
  margin: 0%;
}

.print {
  color: red !important;
  text-align: center !important;
}
.print button {
  background-color: red !important;
  color: white; 
}

.general-btn {
    padding: 10px 20px;
    background: #0C7B93;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    color: #FFF;
    border: 0;
    font-size: 18px;
}
.general-btn-outline{
   padding: 10px 20px;
    background: #fff;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    color: #0C7B93;
    border: 1px solid #0C7B93;
    font-size: 18px;
}


.tool-options-pencil{
  position: relative;
}

.tool-options-container-input{
  	display: none;
	position: absolute;
    top: 173%;
    min-width: 100px;
    z-index: 10;
    border: 1px solid #0c7b93;
    padding: 20px 20px 14px;
    border-radius: 10px;
    background-color: #FFF;
}

.toolbar-row{
	display:flex;
	align-items:center
}

.toolbar-row-right{
	display:none
}


.color-square.stroke-picker{
	background-color: transparent !important;
}
.tool-options-container-btn {
    cursor: pointer;
}

.toolbar img,.controls img{
	    max-width: 25px;
}

@media(max-width:991px){
	.controls{
	    justify-content: center;	
	}
	.controls button{
		margin: 0px 20px 0 20px!important;
		
	}
	.toolbar .button {
		margin: 0px 20px 0 20px!important;
	}
}

@media(max-width:500px){
	.tool-options-container-input{
	left:0
	}
}

.comment-action,
.write-action{
    display: flex;
    align-items: center;
    position: absolute;
    top: -22px;
    width: max-content;
}

.comment-action img,
.write-action img{
	cursor: pointer;
    margin: 0px 5px;
    width: 17px;
}
.draggable.ui-draggable-handle img {
    cursor: move;
}

@media(min-width:1024px){
  .comment-action .icon-delete,.comment-action .draggable, .write-action {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
  }
  .comment-mode:hover .icon-delete , .comment-mode:hover .draggable,.write-mode:hover .write-action{
    opacity: 1;
    visibility: visible;
  }
}