/* head table */

.search-documents {
	display: flex;
	gap: 0.4rem;
	align-items: center;
	flex-wrap: wrap;
}

.search-pagination,
.search-datatable {
	padding-left: 2rem;
}

.label-search_arr_doc {
	position: relative;
	display: flex;
	width: 350px;
}

.label-search_arr_doc input[type="text"]
{
	border-radius: 8px;
}

.icon-delete-left {
	position: absolute;
	right: 8px;
	top: 10px;
	cursor: pointer;
}

.icon-search_arr_doc {
	position: absolute;
	left: 10px;
}

/* head table */

/* columns */

#table thead th:last-child {
	min-width: 150px !important;
}
#table thead th:nth-child(2) {
	max-width: 130px !important;
	min-width: 130px !important;
}
#table thead th:nth-child(4) {
	max-width: 80px !important;
	min-width: 80px !important;
}
/* #table thead th:nth-child(9),
#table thead th:nth-child(10) {
	min-width: 80px !important;
}
#table thead th:nth-child(8) {
	min-width:137px !important;
}
#table thead th:nth-child(11) {
	min-width: 223px;
} */
/* #table thead th:nth-child(6) {
	max-width:100px !important;
} */

/* columns */


/* info contract */
.information-contract, 
.information-subcontract,
.information {
	display: flex;
    flex-direction: column;
    /* border: 1px solid; */
    border-radius: 8px;
    padding: 8px;
    gap: 2px;
	box-shadow: var(--boxshadow-1);
	background-color: var(--neutral50);
}

.information-contract .information-contract-title,
.information .information-contract-title,
.information-subcontract .information-contract-title{
	font-size: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-neutral300);
}

.information-item{
	font-size: 14px;
    color: var(--color-neutral300);
}

.ctn-btn-filter{
	display: flex;
	align-items: center;
	gap: 4px;
}

/* info contract */


textarea#observations {
    min-height: 150px;
}
.ctn-btns-add-minutes{
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

#btn_chat_reception{
	position: relative;
}
.icon-new-message{
	width: 12px;
	height: 12px;
	background: red;
	border-radius: 50%;
	position: absolute;
	top: 10px;
	left: 22px;
}
.m-0{
	margin: 0;
}
.fnt-20{
	font-size: 20px;
}
.ctn-content-all{
	/* background-color: aliceblue;*/
	padding: 12px 0px;
	border-radius: 12px;
}
.ctn-chat-content{
	margin: 0 auto;
	width: 60%;
	box-shadow: 0px 2px 8px 0px rgba(21, 30, 40, 0.08);
	padding: 12px 24px 0px 24px;
	display: grid;
	grid-template-rows: 1fr 5.5fr auto;
	background-color: white;
	border-radius: 16px;
}
.ctn-messages {
	display: flex;
	flex-direction: column-reverse;
	justify-content: end;
	padding: 4px 8px 4px 8px;
	gap: 20px;
	position: relative;
	overflow-y: auto;
	height: calc(100vh - 360px);
	margin: 8px 0px;
	overflow-x: hidden;
}
.ctn-messages::-webkit-scrollbar{
	width: 4px;
}
/* Añade un pseudo-elemento para la opacidad solo en el fondo, sin afectar el contenido */
.ctn-messages::before {
	content: "";
	position: fixed;
	top: 37%;
	left: 40%;
	right: 0;
	bottom: 0;
	background-image: url(https://www.cohoriente.co/public/img/website/svgs/logo_ns.svg);
	background-size: 439px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.1;
	z-index: 1;
	max-width: 464px;
	max-height: 400px;
}
.item-messagge {
	width: 462px;
	z-index: 1;
}
.ctn-hd-chat{
	display: grid;
	grid-template-columns: auto 5fr auto;
	column-gap: 32px;
	outline: 1px solid #D5DFEC;
	border-radius: 16px;
	padding: 12px;
}
.ctn-filter-group{
	display: flex;
	gap: 12px;
	align-items: center;
}
.section-tools-group{
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.btn-group-chat{
	max-height: 32px;
}
.btn-gropu--adjust{
	max-height: 38px;
}
.view-empty-msj{
	font-size: 24px;
	font-weight: 600;
}
.prev-img , .prev-pdf{
	cursor: pointer;
}
.prev-modal_image{
	object-fit: contain;
	width: 100%;
}
.sec-inp-send{
	padding-bottom: 16px;
}
.modal-custom {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.modal-content-chat {
	margin: auto;
	display: block;
	width: 100%;
	max-width: 900px;
	max-height: calc(100vh - 250px);
}
.modal-content-chat{ 
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
	from {
		-webkit-transform:scale(0)
	} 
	to {
		-webkit-transform:scale(1)
	}
}
@keyframes zoom {
	from {
		transform:scale(0)
	} 
	to {
		transform:scale(1)
	}
}
.close {
	position: absolute;
	bottom: 5%;
	left: 50%;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
}
.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
.highlight {
	background-color: #ff9632; /* Resaltado */
	color: #000;
}
.btn-gropu--adjust{
	display: none;
}
.date-group-header{
	margin: 0 auto;
	width: auto;
	background-color: #d6e6f5;
	padding: 4px 6px;
	border-radius: 12px;
	font-size: 12px;
}
.line-sep-new-msj{
	margin: 0 auto;
	width: auto;
	padding: 4px 6px;
	border-radius: 12px;
	font-size: 14px;
	background-color: #1b262fde;
}
.txt-line-sep-new-msj{
	color: white;

}

@media (max-width:1280px){
	.ctn-chat-content{
		width: 100%;
		margin: unset;
		grid-template-rows: 1fr auto auto;
	}
	.ctn-messages::before {
		left: 32%;
	}

}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
	.modal-content-chat {
		width: 100%;
	}
	.ctn-messages::before {
		left: 16%;
	}
}
@media (max-width:560px){
	.ctn-messages::before {
		display: none;
	}
}