/* responsive tables after .is-responsive */

@media(max-width: 679px)
{
	table.is-responsive td, table.is-responsive th
	{
		background: white;
		background-color: white;
		padding: 0.4rem;
		box-shadow: none;
		font-size: 13px;
		border-color: #ececec;
	}
	
	table.is-responsive tr
	{
		background: white;
		background-color: white;
		box-shadow: none;
	}
	
	table.is-responsive tr:last-child td, table.is-responsive tr:last-child th
	{
		padding-bottom: 20px;
        border-color: #d3d3d3 !important;
        border-bottom-width: 3px !important;
	}
	
	table.is-responsive tr:first-child td, table.is-responsive tr:first-child th
	{
		padding-top: 20px;
	}
}

/* end responsive tables */


.input-has-error
{
	border-color: var(--bs-form-invalid-border-color);
}

label.required
{
	position:relative;
}

label.required:after
{
	content: "*";
	position:absolute;
	color:red;
	right: -11px;
	top:0px;
}


.avatar-image
{
	border: thin solid #ececec;
    border-radius: 100%;
    padding: 2px;
    width: 40px;
    height: 40px;
}

.avatar-image img
{
	max-width:100%;
	width:100%;
}

.choices__inner
{
	padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 8px !important;
    background: #ffffff !important;
    border-color: #dee2e6 !important;
}

.dropzone.dz-clickable
{
	display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #237d9d;
    background: #f8f8f8;
    border-radius: 3px;
    overflow: auto;
}

.dropzone.dz-clickable:hover
{
    background: #f2f2f2;
}

.galery-image
{
	display: inline-block;
    width: 100%;
    padding: 1px;
    border: thin solid #ececec;
    border-radius: 2px;
    overflow: hidden;
    box-sizing: border-box;
    background: #f8f8f8;
}

.masonry-grid {
	column-count: 8; /* Number of columns */
	column-gap: 10px; /* Gap between columns */
}

.masonry-item {
	break-inside: avoid; /* Prevent breaking images inside columns */
	margin-bottom: 16px; /* Gap between images */
}

.masonry-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

@media (max-width: 1024px) {
	.masonry-grid {
		column-count: 4; /* Fewer columns for smaller screens */
	}
}

@media (max-width: 768px) {
	.masonry-grid {
		column-count: 3; /* Fewer columns for smaller screens */
	}
}

@media (max-width: 576px) {
	.masonry-grid {
		column-count: 2; /* Single column for very small screens */
	}
}

.masonry-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}



.translate-item
{
	border-top: thin solid transparent;
	border-left: thin solid transparent;
	border-right: thin solid transparent;
	border-bottom: thin dashed #ececec;
	display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.translate-item  svg
{
	display:none;
}


.translate-item:hover
{
	border: thin dashed #ececec;
	border-radius: 4px;
    padding: 0px 3px;
}

.translate-item:hover svg
{
	cursor:pointer;
	display:inline-block;
	margin-right: 0px;
    margin-left: 5px;
    width: 12px;
    height: 12px;
}

.input-group-text img
{
	    max-width: 25px;
}

.single-image-uploader {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 6px;
}

.single-image-upload-controls
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}


.status-d td, .status-d td a, .status-d td span
{
	color:gray;
}

.status-d .form-check-input:checked {
    background-color: #d7d7d7;
    border-color: #c4c4c4;
}

.form-label
{
	font-weight: 600;
}


.sortable-image
{
	border: thin solid #ececec;
    background: white;
    cursor: grab;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 1px 11px -3px #000000a3;
    width: 150px;
    height:150px;
}

.ui-sortable-placeholder
{
	background-color: #f0f0f0;
    border: 2px dashed #ccc;
    width: 150px;
    height: 150px;
}

.edit-on-hover:not(:hover) input[type="text"], .edit-on-hover:not(:hover) input[type="number"]
{
	border: 0px;
    background: #f5f5f5;
}

.edit-on-hover input[type="text"], .edit-on-hover input[type="number"]
{
	    transition: none;
}

.delete-image
{
	position: absolute;
    width: 100%;
    bottom: 0px;
    /* text-align: center; */
    font-size: 11px;
    background: #0000009c;
    color: #ff4a4a;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    padding-bottom: 3px;
    text-decoration: none !important;
}

.image-control:hover .delete-image
{
	display:flex;
}
.delete-image svg
{
	width: 14px;
    height: 14px;
}

.delete-image:hover
{	
	font-size: 13px;
}	


.choices__input
{
	background-color:white !important;
}	

.choices__list--multiple .choices__item
{
	border-radius: 5px !important;
	background-color: #3b7ddd !important;
    border: 1px solid #2e6dc8 !important;
}

.choices__list--single
{
   height: 32px !important;
	line-height: 32px;
	padding:0px
	!important;
}

.choices__inner
{
	padding-left: .85rem !important;
	padding-right:.85rem !important;
}	