/* Added by ramesh at 21-8-23 */
.conversation-list .odd .ctext-wrap {
	background: var(--Pink, #FDEBEB);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.conversation-list .ctext-wrap {
	background: var(--Border-Color, #F0F0F0);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.swal2-container.swal2-center>.swal2-popup {
    border-radius: 1.50rem;
}

body {
	/* background-color: #ffffff; */
	/* font-family: 'Comme', sans-serif; */
}

body[data-layout-mode=detached] #wrapper {
	max-width: 100%;
	margin: 0 auto;
}

body[data-layout-mode=detached] .footer {
	border-radius: 15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)
}

.modal-content {
    border-radius: 1rem;
}

.modal.show .modal-dialog {
	border-radius: 1rem 0rem 0rem 1rem;
}

.notification {
	padding-right: 0px;
	padding-left: 0px;
}

.navbar-custom {
    background-color: #f4f5f70f;
    box-shadow: none;
    /* padding: 0 10px 0 0; */
    position: fixed;
    left: 264px;
    right: 0;
    height: 70px;
    z-index: 1001;
    width: calc(100% - 274px);
}
body[data-sidebar-size=condensed] .navbar-custom {
    left: 96px;
    width: calc(100% - 112px);
}
.left-side-menu {
	width: 240px;
	background: #ffffff;
	bottom: 0;
	padding: 20px 0;
	position: fixed;
	transition: all 0.1s ease-out;
	/* top: 70px; */
	box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}

body[data-layout-mode=detached] .left-side-menu {
	margin-top: 0px;
	margin-bottom: 30px;
	border-radius: 0px 40px 0px 0px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.left-side-menu {
    width: 240px;
    background: #ffffff;
    bottom: 0;
    padding: 20px 0;
    position: fixed;
    transition: all 0.1s ease-out;
    top: 0px;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    margin: 0px !important;
    min-height: 100vh !important;
}
.left-side-menu .simplebar-content {
    height: 100%;
}
.left-side-menu .simplebar-content div#sidebar-menu {
    height: 100%;
}
ul#side-menu {
    height: calc(100% - 130px) !important;
    overflow: auto !important;
    display: block !important;
    min-height: auto !important;
    margin: 0px !important;
    padding-bottom: 100px !important;
}

body[data-sidebar-size=condensed] .left-side-menu ul#side-menu {
	overflow: visible !important;
}
ul#side-menu li.logout {
    position: fixed !important;
    top: auto;
    background: #fff;
    max-width: 240px;
    bottom: 0;
    z-index: 11;
    display: block;
	width: 100%;
}
ul#side-menu li.profile {
    position: fixed !important;
    top: auto;
    background: #fff;
    max-width: 240px;
    bottom: 47px;
    z-index: 11;
    display: block;
	width: 100%;
}
body[data-sidebar-size=condensed] ul#side-menu li.logout,
body[data-sidebar-size=condensed] ul#side-menu li.profile {
	max-width: 70px !important;
}



.simplebar-content-wrapper {
    height: 100% !important;
    max-width: 100%;
    overflow: auto !important;
    max-height: 100% !important;
}
.navbar-custom .button-menu-mobile {
	border: none;
	color: #000;
	display: inline-block;
	height: 70px;
	line-height: 70px;
	width: 60px;
	background-color: #f5f6f800;
	font-size: 35px;
	cursor: pointer;
}

.navbar-custom .app-search .form-control {
	border: none;
	height: 38px;
	padding-left: 20px;
	padding-right: 0;
	color: #000;
	background-color: rgb(255 255 255);
	box-shadow: 0 1px 5px rgb(0 0 0 / 18%);
	border-radius: 30px 0 0 30px;
}

.navbar-custom .app-search .btn {
	background-color: rgb(255 255 255);
	border-color: transparent;
	color: rgb(0 0 0);
	border-radius: 0 30px 30px 0;
	box-shadow: 0 1px 5px rgb(0 0 0 / 18%) !important;
}

.navbar-custom .topnav-menu .nav-link {
	padding: 0 15px;
	color: rgb(0 0 0);
	min-width: 32px;
	display: block;
	line-height: 70px;
	text-align: center;
	max-height: 70px;
}

.header.active {
	background: #fff;
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	border-radius: 15px;
}

.content-page {
	margin-left: 240px;
	overflow: hidden;
	padding: 0 15px 57px 15px;
	min-height: 80vh;
	margin-top: 0;
}

.content {
	margin-top: 70px
}

body[data-layout-mode=detached] .navbar-custom .container-fluid {
	max-width: 100%;
}

.user-box {
	display: block;
}

.card-header:first-child{
	border-radius: 1.00rem, 1.00rem, 0, 0;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card-box {
	border-radius: 1.00rem;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	/* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.card {
	border-radius: 1.00rem;
	box-shadow: 0 6px 20px 0 rgba(39, 39, 39, 0.19);
}

.upload_btn {
	max-width: 90px;
	position: relative;
	overflow: hidden;
}

.upload_btn input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	cursor: pointer;
}

.preview_box {
	display: none;
}

.preview_box.imgs {
	aspect-ratio: 16/10;
}
.preview_box {
	display: none;
	border: 1px solid #ccc;
	width: 100% !important;
	margin: 0px !important;
	padding: 5px !important;
	height: auto !important;
	margin-top: 15px !important;
}
.preview_box img {
	border-radius: 0 !important;
	padding: 0px !important;
	height: 100% !important;
	width: 100% !important;
	object-fit: contain !important;
	object-position: center center !important;
	display: block !important;
	margin: 0 auto !important;
}

.preview_box video {
	width: 100%;
	display: block;
}

/* This parent can be any width and height */
#loading {
	text-align: center;
	background:#ccc;
	opacity: 0.85;
	margin-bottom:10px;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	position:absolute;
	display:none;
	z-index: 999999;
}
	
/* The ghost, nudged to maintain perfect centering */
#loading:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em; /* Adjusts for spacing */
}

/* The element to be centered, can
	also be of any width and height */ 
#loading > div {
	display: inline-block;
	vertical-align: middle;
	color: white;
}

/* FOR VIDEO TAG */	
#newTag {
  font-size: 1rem;
  color: #455A64;
  display: block;
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 0.125rem solid #CFD8DC;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  transition: 0.5s all;
}

#newTag:focus, #newTag:active { 
  outline: none; 
  border: 0.125rem solid #81C784;
  box-shadow: 0 0 0.5rem rgba(67,160,71,0.15);
}

ul#tagList {
  display: block;
  padding: 0;
  margin: 0;
}

ul#tagList::after {
	content: "";
	clear: both;
	display: table;
}

ul#tagList li {
  position: relative;
  list-style: none;
  float: left;
  font-size: 0.835rem;
  text-transform: capitalize;
  background-color: #E8F5E9;
  line-height: 1rem;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;  
	word-break: break-all;
}

ul#tagList li > span.rmTag {
  position: absolute;
  margin: 0.25rem;
  top: 0; right: 0;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.5rem;
  text-align: center;
  background-color: #C8E6C9;
  cursor: pointer;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

ul#tagList li > span.rmTag:hover {  
  background-color: #ef9a9a;
}
/* END FOR VIDEO TAG */


/* Datatable pagination */
.dropdown-menu[data-popper-placement^=left], .dropdown-menu[data-popper-placement^=right], .dropdown-menu[data-popper-placement^=top] {
    top: auto!important;
    -webkit-animation: none !important;
    animation: none !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    color: #777777;
}
.left-side-menu {
    z-index: 9999 !important;
}
@media (max-width: 991px) 
{	
	.navbar-custom {
		left: 17px;
		width: calc(100% - 22px);
	}
	body.menuitem-active.sidebar-enable .navbar-custom {
		left: 240px;
		width: calc(100% - 245px);
	}
}

@media (max-width: 768px) 
{	
	.uploadcard_boxs table, .uploadcard_boxs table tbody {
		display: block !important;
	}
	.uploadcard_boxs table tr {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
	}
	.uploadcard_boxs table tr td {
		padding: 8px !important;
		display: block;
	}
	.uploadcard_boxs table tr td:nth-child(1) {
		flex: 0 0 88px;
		max-width: 88px;
	}
	.uploadcard_boxs table tr td:nth-child(2) {
		flex: 0 0 150px;
		max-width: 150px;
	}
	.uploadcard_boxs table tr td h4.mb-1 {
		margin-bottom: 0px !important;
	}
}

@media (max-width: 640px) 
{
	.uploadcard_boxs {
		margin: 0 -10px !important;
	}
	.uploadcard_boxs table tr td:nth-child(2) {
		flex: 0 0 100%;
		max-width: calc(100% - 89px);
	}
	.uploadcard_boxs table tr td:nth-child(3),
	.uploadcard_boxs table tr td:nth-child(4) {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.uploadcard_boxs table tr td .btn {
		width: 100% !important;
		min-width: auto !important;
	}
}
@media (max-width: 480px) 
{
	.navbar-custom {
		left: 0;
		width: 100%;
	}
	body.menuitem-active.sidebar-enable .navbar-custom {
		left: 0;
		width: 100%;
	}
}