:root {
	--border1: #e6e0d8;
	--border2: #cec8be;
	--border3: rgba(54,44,125,0.22);
	--ai-noticeborder: #f6e2a3;
	
	--bg1: #f9f7f3;
	--bg2: #f8fbfd;
	--bg3: #f5f3ef;
	--bg4: #fcfafc;
	--bg5: #f7f7f5;
	--bg6: #f0efec;
	--bg7: #fae9b0;
	--bg8: #f4f0ee;
	--page-bg: #eeedf5;
	
	--indigo: #362c7d;
	--indigo-mid: #534AB7;
	--indigo-light: #eae8f5;
	--ruby: #C81256;
	--ruby-deep: #a00c45;
	--ruby-l: #fce8f0;
	--ruby-mid: #c01050;
	--coral-deep:#cc2020;
	--coral-l:#fff0f0;
	--cats-deep: #4a6030;
	--cats-l: #eef3e8;
	--emer-deep: #2d7a48;
	--emer-l: #e6f8ee;
	--blue: #0067a5;
	--blue-deep: #004f7d;
	--blue-l: #e0f0f8;
	--yellow: #fada5e;
	--yell-deep: #8a7010;
	--yell-l: #fefae6;
	--hessonite: #cbb36d;
	--hess-deep: #7a6830;
	--hess-l: #f8f2e2;
	--hess-mid: #b89a50;
	--pearl: #eae0c8;
	--pearl-deep:#8a7850;
	--pearl-l:#faf6ee;
	--diamond: #f1f7fb;
	--diam-deep: #5080a0;
	--diam-l: #f8fbfd;
	--white: #ffffff;
	--text-muted: #888;
	--text-primary: #1a1a2e;
	--indigo-tint: #ecebf5;
	--ai-gold-l: #9a7611;
	--ai-gold-light: #fef6dd;
	--hess-l1: rgba(193, 158, 77, 0.1);
	
	--fm1: 'IBM Plex Mono', monospace;
	--fm2: Poppins, sans-serif;
	--fm3: 'Gabarito', sans-serif;
	
	--r20: 20px;
	--r10: 10px;
	--r6: 6px;
	--r4: 4px;
	
	--txt1: #121010;
	--txt2: #504c48;
	--txt3: #908880;
	--txt4: #666666;
	--txt5: #333333;
	--txt6: rgba(255,255,255,0.72);
	--ai-noticetext: #7a5e12;
	--ai-noticetext1:#5c460d;
	--ai-noticetext2: #f8e4a0;
	
	--spring: cubic-bezier(0.34, 1.26, 0.64, 1);
	--ai-shadow: 0 1px 2px rgba(33,29,58,.05);
	--shadow1: 0 6px 24px -12px rgba(54,44,125,.28);
	--shadow2: 0 1px 2px rgba(33, 29, 58, .05);
	--rubby-shadow: 0 8px 18px -8px rgba(200,18,86,.6);
}
html, body {
	background: var(--page-bg) !important;
}
p, ul, label {
	margin: 0;
}
.rubby {
	color: var(--rdr-ruby);
}
.mobile-panel-label {
	display: none;
}
.ellp {
	overflow: hidden;
	display: block;
	display: box;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	white-space: normal;
}
.ellp1 {
	-webkit-line-clamp: 1;
}
.ellp2 {
	-webkit-line-clamp: 2;
}
.ellp3 {
	-webkit-line-clamp: 3;
}
.ellp4 {
	-webkit-line-clamp: 4;
}
.ellp5 {
	-webkit-line-clamp: 5;
}
.ellp6 {
	-webkit-line-clamp: 6;
}
.ellp7 {
	-webkit-line-clamp: 7;
}
.ellp8 {
	-webkit-line-clamp: 8;
}
.ellp9 {
	-webkit-line-clamp: 9;
}
.ellp10 {
	-webkit-line-clamp: 10;
}
.wrapper {
	height: 100vh;
}
.noData {
	width: 100%;
	text-align: left;
	color: var(--txt5);
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
	
	strong {
		cursor: pointer;
		font-weight: 500;
		color: var(--rdr-blue-sapphire);
	}
}
.content form {
    margin-right: 0 !important;
}
.form-horizontal .form-group {
	margin-left: 0 !important;
    margin-right: 0 !important;
}
.notice {
	border: 1px solid var(--ai-noticeborder);
	box-shadow: var(--ai-shadow);
	position: relative;
	line-height: normal;
	background: var(--ai-gold-light);
	display: flex;
	align-items: center;
	justify-content: unset;
	gap: 15px;
	padding: 8px 15px;
	font-family: 'Poppins', sans-serif;
	text-transform: unset;
	border-radius: var(--r10);

	.ico {
		flex: none;
		width: 34px;
		height: 34px;
		border-radius: 9px;
		display: grid;
		place-items: center;
		background: var(--bg7);
		color: var(--ai-gold-l);
		
		i {
			font-size: 18px;
		}
	}
	p {
		color: var(--ai-noticetext);
		text-align: left;
		padding: 0;
		font-size: 14px;
		font-weight: 500;
		margin: 0;
		
		b {
			font-weight: 600;
			color: var(--ai-noticetext1);
		}
	}
	.close-notice {
		position: absolute;
		top: 50%;
		right: 15px;
		width: 28px;
		height: 28px;
		border-radius: 7px;
		border: 1px solid var(--border1);
		background: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--ai-gold-l);
		font-size: 14px;
		transition: background 0.13s;
		font-family: var(--fm2);
		background: var(--white);
		transform: translateY(-50%);
		
		i {
			transition: transform 0.22s cubic-bezier(0.34, 1.26, 0.64, 1);
			display: inline-block;
		}
	}
	.close-notice:hover {
		background: var(--bg3);
		border: 1px solid var(--rdr-coral);
		
		i {
			transform: rotate(90deg);
			color: var(--rdr-coral);
		}
	}
}
.btn1 {
	color: #fff !important;
	outline: none;
	font-size: 16px;
	font-weight: 500;
	min-width: 100px;
	padding: 6px 12px !important;
	border-radius: var(--r6) !important;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	vertical-align: middle;
	box-sizing: border-box;
	
	height: 40px;
	min-height: auto;
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	font-family: var(--fm2);
	border: 1px solid transparent;
	border-color: transparent !important;
	transition: background .15s, border-color .15s;
	
	i {
		font-size: 18px;
		color: inherit !important;
	}
}
.btn1.minheight {
	height: auto;
}
.wt-lightbtn {
	background: var(--white);
	border-color:var(--border1) !important;
	color: var(--rdr-cosmic-cobalt) !important;
}
.wt-lightbtn:hover {
	background: var(--page-bg);
	border-color: var(--rdr-cosmic-cobalt) !important;
}
.yellowbtn {
	background: var(--rdr-yellow-sapphire);
	border-color: transparent !important;
	color: var(--text1) !important;
}
.yellowbtn:hover,
.yellowbtn:focus {
	outline: none;
	background: var(--rdr-yellow-sapphire);
	border-color: var(--rdr-yellow-sapphire) !important;
}
.form-maincontent {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 1;
	gap: 15px;
	min-height: 0;
	
	.wt-tabcontent {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		display: flex;
        flex-direction: column;
        gap: 15px;
		
		.width-control {
			display: flex;
			flex-direction: column;
			border-radius: 4px;
			-webkit-box-shadow: 0 0 0 1px rgb(112 128 131 / 10%), 0 2px 3px rgb(182 209 209 / 10%);
			box-shadow: 0 0 0 1px rgb(112 128 131 / 10%), 0 2px 3px rgb(182 209 209 / 10%);
			-webkit-transition: -webkit-box-shadow 83ms;
			transition: -webkit-box-shadow 83ms;
			-o-transition: box-shadow 83ms;
			transition: box-shadow 83ms;
			transition: box-shadow 83ms, -webkit-box-shadow 83ms;
			width: 95%;
			margin: 0 auto;
			background: #fff;
			border-radius: var(--r10);
			border: 1px solid var(--border1);
			box-shadow: none;
		}
		.width-control.no-style {
			background: transparent;
			box-shadow: none;
			border: none;
		}
	}
	.wt-boxfooter {
		flex-shrink: 0;
		
		.width-controlcta {
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			width: 100%;
			margin: 0 auto;
			background: #fff;
			transition: box-shadow .2s ease;
			border: 1px solid var(--border1);
			padding: 15px;
			gap: 5px;
			border-radius: var(--r6);
            overflow: hidden;
			box-shadow: 0 -4px 16px rgba(54, 44, 125, 0.08);
			box-shadow: 0 3px 16px rgba(54, 44, 125, 0.28);
			box-shadow: 0 0 0 1px rgb(112 128 131 / 10%), 0 2px 3px rgb(182 209 209 / 10%);
		}
	}
	.wt-cardscontainer {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 15px;
		padding: 15px;
		background: var(--page-bg);
		
		.contentMediaViewCls {
			margin: 0;
			width: auto;
			height: auto;
			box-shadow: none;
			border-radius: var(--r10);
			border: 1px solid var(--border1);
			
			.topbanner {
				position: relative;
				margin: 0;
				padding: 10px 15px;
				display: flex;
				flex-direction: column;
				gap: 0;
				align-items: flex-start;
				width: 100%;
				
				.TName {
					padding: 0;
					color: var(--rdr-cosmic-cobalt);
					font-size: 16px;
					font-weight: 500;
					width: 100%;
					line-height: normal;
					height: auto;
					cursor: pointer;
					text-align: left;
					
					a {
						color: inherit;
						font-size: inherit;
						font-weight: inherit;
						line-height: inherit;
						overflow: hidden;
						word-break: break-all;
						-webkit-line-clamp: 1;
						display: box;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						text-overflow: ellipsis;
						white-space: normal;
					}
				}
				.TDate,
				.TTag  {
					font-size: 12px;
					font-weight: normal;
					color: var(--txt3);
					
					span {
						color: inherit;
						font-size: inherit;
						font-weight: inherit;
					}
				}
				.TDate {
					font-size: 13px;
					margin-bottom: 2px;
				}
			}
			.attachedContent {
				height: 100px;
				width: 100%;
				display: flex;
				align-items: center;
				margin: 0;
				justify-content: center !important;
				padding: 0 15px;
				
				.media-doc {
					height: 100%;
					width: 100%;
					max-width: 100%;
					max-height: 100px;
					border-radius: 6px;
					object-fit: cover;
				}
				.media-doc.audiodiv {
					height: 50px;
				}
			}
			.file-actions {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 20px;
				padding: 10px 0;
				border-top: 1px solid var(--border1);
				margin-top: 6px;
				opacity: 0;
				transform: translateY(4px);
				transition: opacity .22s ease, transform .22s ease;
				pointer-events: none;
				transform: translateY(6px);
				transition: opacity .25s ease-out, transform .25s ease-out;
				will-change: transform, opacity;
				
				.file-action-btn {
					background: none;
					border: none;
					cursor: pointer;
					color: var(--txt3);
					display: flex;
					align-items: center;
					gap: 5px;
					padding: 4px;
					font-size: 15px;
					border-radius: 4px;
					transition: color .15s;
					width: 100%;
					justify-content: center;
					
					i {
						font-size: 20px;
					}
				}
				.mediapreview:hover {
					color: var(--rdr-blue-sapphire);
				}
				.mediadownload:hover {
					color: var(--background-gray-dark);
				}
			}
		}
		.contentMediaViewCls:hover {
			.file-actions {
		        opacity: 1;
		        transform: translateY(0);
		        pointer-events: auto;
		    }
		}
	}
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
	border: 1px solid var(--border1);
}
.rcardcontent input[type=text],
input.cust-formcontrol,
select.cust-formcontrol,
textarea.cust-formcontrol {
    flex: 1;
    border: 1px solid var(--border1);
    border-radius: var(--r4);
    background: var(--bg1);
    font-family: var(--fm2);
    color: var(--txt1);
    padding: 5px 10px;
    outline: none;
    font-size: 16px !important;
    font-weight: normal;
    max-width: 100%;
    transition: border-color .15s;
    height: auto !important;
    min-height: 30px;
    margin: 0 !important;
    background: var(--white);
    width: 100%;
	min-height: 40px;
}
.rcardcontent .input-group.date input {
	border-radius: var(--r4);
}
.cust-formcontrol[disabled] {
	cursor: not-allowed;
}
input.cust-formcontrol::placeholder,
select.cust-formcontrol::placeholder,
textarea.cust-formcontrol::placeholder  {
	color: var(--txt3);
	opacity: 0.7;
	font-style: italic;
	font-size: 16px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple:hover,
.select2-container--default .select2-selection--multiple:hover,
.rcardcontent input[type=text]:focus,
.rcardcontent input[type=text]:hover,
input.cust-formcontrol:focus,
input.cust-formcontrol:hover,
select.cust-formcontrol:focus,
select.cust-formcontrol:hover,
textarea.cust-formcontrol:focus,
textarea.cust-formcontrol:hover {
	border-color: var(--rdr-hessonite);
	background: var(--white);
}
.cust-formcontrol[disabled]:focus,
.cust-formcontrol[disabled]:hover {
	border-color: var(--border1) !important;
	background: var(--white);
}
::-webkit-scrollbar {
	height: 5px;
	width: 5px;
}
::-webkit-scrollbar-thumb {
	background: var(--background-b-gray);
	border-radius: var(--r4);
	opacity: .4;
	cursor: pointer;
}
.form-group .rcardcontent {
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	font-size: 15px;
	flex-wrap: wrap;
	min-height: 20px;
}
.cust-formgroup {
	position: relative;
	background: transparent;
	min-height: 30px;
	margin: 0 !important;
	padding: 0;
    
	.rcardcontent {
		padding: 12px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		flex-wrap: wrap;
		min-height: 20px;
		position: relative;
		line-height: normal;
		transition: background .1s;
		
		.field-label {
			font-size: 17px;
			font-weight: normal;
			line-height: normal;
			color: var(--txt4);
			font-family: var(--fm2);
		}
		div,
		.field-value {
			font-size: 17px;
			font-weight: normal;
			line-height: normal;
			color: var(--txt5);
			
			span,
			a {
				font-size: inherit;
				font-weight: inherit;
				line-height: inherit;
				color: inherit;
			}
			a {
				color: var(--rdr-blue);
			}
		}
	}
	.rcardcontent:hover {
		background: var(--pearl);
	}
}
.cust-actions {
	flex-shrink: 0;
	border-top: 1px solid var(--border2);
	padding: 10px 14px;
	display: flex;
	gap: 7px;
	align-items: center;
	background: var(--pearl);
	flex-wrap: wrap;
}
.cust-btn {
	font-family: var(--fm2);
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--r6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    transition: all .12s;
    border: 0.5px solid transparent;
    white-space: nowrap;
}
.cust-bluebtn,
.cust-bluebtn:hover {
	color: var(--white);
	border-color: var(--rdr-blue-sapphire);
	background-color: var(--rdr-blue-sapphire);
}
.cust-emgrnbtn,
.cust-emgrnbtn:hover {
	color: var(--white);
	border-color: var(--rdr-emerald);
	background-color: var(--rdr-emerald);
}
.cust-hessbtn,
.cust-hessbtn:hover {
    color: var(--hess-deep);
	background: var(--hess-l);
    border-color: rgba(203, 179, 109, .4);
}
.btn-icon-only {
	padding: 6px 7px;
	background: none;
    color: var(--txt2);
    border-color: var(--border2);
}
.btn-icon-only:hover {
    background: var(--white);
    color: var(--txt1);
}
.attachmentslist_span {
	display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    
    .eachattachment_main {
    		background: var(--bg4);
	    border: 1px solid var(--border1);
	    border-radius: 10px;
	    padding: 15px 15px 10px;
	    display: flex;
	    flex-direction: column;
	    gap: 3px;
	    transition: border-color .2s;
	    cursor: pointer;
	    position: relative;
	    
	    .title-box {
			margin-bottom: 5px;
	    }
	    .title-box .mediatitle {
			font-size: 13px;
		    font-weight: 500;
		    color: var(--indigo);
		    white-space: nowrap;
		    overflow: hidden;
		    max-width: 100%;
            text-overflow: ellipsis;
            display: block;
            font-style: normal;
		}
		.eachattachment {
			padding: 0;
			border: 0;
			width: 100%;
			box-shadow: none;
			margin: 0;
			background: transparent;
			border-radius: 0;
			transition: none;
			
			.image-box {
				height: 100px;
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.media-doc {
				height: 100%;
				width: 100%;
				max-width: 100%;
				max-height: 100px;
				border-radius: 6px;
				object-fit: cover;
			}
			.file-actions {
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 20px;
				padding: 10px 0;
				border-top: 1px solid var(--border1);
				margin-top: 6px;
				opacity: 0;
				transform: translateY(4px);
				transition: opacity .22s ease, transform .22s ease;
				pointer-events: none;
				
				transform: translateY(6px);
				transition: opacity .25s ease-out, transform .25s ease-out;
				will-change: transform, opacity;
			}
			.file-action-btn {
				background: none;
				border: none;
				cursor: pointer;
				color: var(--txt3);
				display: flex;
				align-items: center;
				gap: 5px;
				padding: 4px;
				font-size: 15px;
				border-radius: 4px;
				transition: color .15s;
				width: 100%;
				justify-content: center;
			    
			    i {
			    		font-size: 20px;
			    }
			}
			.mediapreview:hover {
				color: var(--rdr-blue-sapphire);
			}
			.mediadelete:hover {
				color: var(--rdr-coral);
			}
		}
    }
    .eachattachment_main:hover .file-actions {
	    opacity: 1;
	    transform: translateY(0);
	    pointer-events: auto;
	}
}
.multiPreview {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 15px;

	.preview-box {
		padding: 0;
		border-radius: var(--r10);
		border: 1px solid var(--border1);
		width: 281px;
	}
	.media-box {
		height: 110px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #efefef;
		padding: 0;
		
		.doc-preview {
			object-fit: contain;
			text-align: center;
			height: auto;
			width: 180px;
			width: 100%;
			max-width: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 12px;
			font-weight: normal;
			max-height: 180px;
			flex-direction: column;
			gap: 5px;
			color: var(--background-b-gray);
			line-height: normal;
			word-break: break-word;
               
			i {
				font-size: 36px;
				color: var(--background-b-gray);
			}
		}
		img, video, audio,
		.preview-img {
			max-height: 110px;
			display: flex;
			border-radius: 3px;
			width: 100%;
			min-height: 85px;
			align-items: center;
			justify-content: center;
			object-fit: cover;
			max-width: 100%;
			height: 100%;
		}
		.svg-img {
			min-width: auto;
			width: auto;
			height: auto;
			object-fit: contain;
			max-width: 100%;
			min-height: auto;
		}
		.preview-audio {
			max-width: 100%;
			max-height: 100px;
			border: 1px solid #ccc;
			height: auto;
			display: flex;
			border-radius: 25px !important;
			width: 90%;
			margin: 0 auto;
			min-height: 50px;
			align-items: center;
			justify-content: center;
			object-fit: contain;
			height: auto;
		}
	}
    .desc-box {
		padding: 5px;
		display: flex;
		flex-direction: column;
		gap: 5px;	

    		.rdrimagetitle,
	    .rdrimagetags {
			margin: 0;
	    	
		    	.form-control {
				font-size: 14px !important;
				height: auto !important;
				min-height: 32px;
		    	}
	    }
	    .text-red {
			font-size: 12px;
	    }
    }
    .image-container-auto {
		width: auto;
		height: auto;
		object-fit: contain;
		display: block;
		
		.doc-preview {
			max-width: 215px;
			width: 100%;
			padding: 10px;
		}
	}
}

/* ══════════════════════════════════════════════════════════════
	Common table css
══════════════════════════════════════════════════════════════ */




@media (min-width: 1500px) {
	.form-maincontent {
		.wt-tabcontent {
			.width-control {
				width: 100%;
			}
		}
	}
}

@media (max-width: 768px) {
	.wt-mainContainer {
		overflow: hidden;
		overflow-y: auto;
	}
	.form-maincontent {
		.wt-tabcontent {
			overflow: visible;
		}
		.wt-cardscontainer {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}
	.attachmentslist_span {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}
@media only screen and (min-width: 729px) {
    .scroll-50 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .attachmentslist_span {
        grid-template-columns: minmax(0, 1fr);
    }
	.form-maincontent {
		.wt-cardscontainer {
			grid-template-columns: minmax(0, 1fr);
		}
	}
}