
.image-preview{
    height: 150px;
	overflow: hidden;
}

.negative,.positive{
    cursor: pointer;
}

@media all and (max-width: 375px) {
	.image-preview{
		height: 200px;
	}
}
.box-area{
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 5px;
	text-align: center;
	width: 100%;
	/* min-height: 200px; */
	}
@media (min-width: 376px) and (max-width: 575.98px) {
	.image-preview{
		height: 150px;		
	}
	.box-area{
		width: 50%;
	}
}
/*---------------------input number upDOWn arrow rermove--------------*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* For Firefox */
}
/*---------------------input number end--------------*/
/*---------------------input password start--------------*/
.password-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.my-btn-bordered{
    /* Border for top and bottom sides */
    border-width: 1px 4px 4px 1px;
    /* Border color */
    border-color: #000000;
    /* Border style (solid, dashed, etc.) */
    border-style: solid;
    border-radius: 3px 3px 3px 3px;
    width: 30px;
    cursor: pointer;
}

.my-btn-bordered:hover{
    width: calc(30px + 1px);
    border: 1px solid #000;
}

.password-wrapper .fa-eye-slash, 
.password-wrapper .fa-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* .password-wrapper input[type="password"] {
    padding-right: 30px;
} */
/*---------------------input password end--------------*/
/*------drag element-----*/
.dragELM{ 
    height: auto; background-color: #0084ff; padding:10px;
}
.dragELM a{
    color: #fff;
}
.nav2{
    display: flex;
}
/*------drag element end-----*/
/*------------------------------- animations------------------- */
.w3-animate-fading{animation:fading 10s infinite}@keyframes fading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}
.w3-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
.w3-animate-input{transition:width 0.4s ease-in-out}.w3-animate-input:focus{width:100%!important}
/*------------------------------- animations end------------------- */

/* ---------------------------- ON OFF toggle ---------------------------- */
.toggle-button {
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.2s;
    font-size: 10px;
}

.toggle-button::after {
    content: '';
    position: absolute;
    top: 9.87%;
    left: 6%;
    width: 38%;
    height: 77%;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s, left 0.3s; /* This will provide the smooth sliding effect */
}

.toggle-button.ON {
    background-color: #4CAF50;
}

.toggle-button.ON::after {
    left: 55%;  /* Adjusted to the correct position */
}
.ON span{
    margin-left: -50%;
    transition: transform 0.3s;
    color:#fff;
}
.OFF span{
    margin-left: 45%;
    transition: transform 0.3s;
}


/* ---------------------------- ON OFF toggle ---------------------------- */
/* ------------------------------   TABLE section   ------------------------------ */
/* .table-container{
    width: 100%;
} */
/* Webkit browsers */
.table-container::-webkit-scrollbar { width: 8px;  height: 10px; }
.table-container::-webkit-scrollbar-thumb { background-color: darkgrey; border-radius: 10px;}
.table-container::-webkit-scrollbar-thumb:hover { background-color: #000; }
.table-container::-webkit-scrollbar-track { background-color: lightgrey; border-radius: 10px;}

/* Firefox */
/* .table-container {
    scrollbar-width: thin;
    scrollbar-color: darkgrey lightgrey;
}

.table-container {
    overflow: auto; 
    max-width: 100%; 
    height: 500px;
    padding: 0;
    border: 1px solid;
}

.table-container table {
    width: 100%; 
    border: 1px solid #000;
    padding: 0;
}

.table-container th, td {
    padding: 8px 15px;
    border: 1px solid black;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #9e2626;
}

th.sticky-col.sticky-header {
    z-index: 3;
} */
/* ------------------------------   TABLE section end  ------------------------------ */
.text-bold{
    font-weight: bold !important;
}
.shade{
    background-color: #00ff7371;
}
.shade1{
    background-color: #00000075 !important;
}
.bg-trans-w{
    background: #ffffffa4 !important;
}















/* -------------------------------- */
.upload-container {
    margin-bottom: 20px;
}
.upload-box {
    width: 100%;
    height: 100px;
    border: 2px dashed #727272;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.upload-box input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.preview-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px;
}
.preview-container .img-wrap {
    position: relative;
    display: inline-block;
}
.preview-container img {
    height: 50px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.remove-img-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    display: none;
    z-index: 2;
}
.img-wrap:hover .remove-img-btn {
    display: block;
}
.file-list {
    position: relative;
    margin-top: 10px;
    max-height: 100px;
    overflow-y: auto;
    font-size: 12px;
}
.file-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 5px;
    margin-bottom: 4px;
    border: 1px solid #727272;
    border-radius: 3px;
}
.file-list div div {
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.remove-file-btn {
    margin-left: 5px;
    color: #fff;
    background: red;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    cursor: pointer;
}



.txt-sm{
    font-size: 8px !important;
}

.checkbox-container {
    position: absolute;
    top: 5px;
    right: 8px;
    display: block; /* hidden by default */
    z-index: 10;
}

/* Style the checkbox */
.img-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Show checkbox only when hovering over element-item */
.element-item:hover .checkbox-container {
    display: block;
}

/* Make sure element-item is relatively positioned */
.element-item {
    position: relative;
}

.img-check:checked {
    display: block;
}


.accordion-body {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .v-scroll{
    max-height: 700px;
    overflow-y: auto;
}

/* -------------------------------- */