img {
  width: 100%;
}

.sidebar-mini .brand-link {
  padding: 9px;
  display: flex;
  height: 57px;
  justify-content: center;
  align-items: center;
  /* background: #471c05; */
}

.sidebar-mini .brand-link img {
  height: 100%;
  object-fit: contain;
  padding-top: 5px;
}

.sidebar-mini.sidebar-collapse .brand-link {
  padding: 0 11px;
}

.sidebar-mini .sidebar-logo-mini {
  max-width: 41px;
}

.sidebar-mini .sidebar-logo {
  max-width: calc(100% - 75px);
  margin-left: 10px;
}

.sidebar-mini.sidebar-collapse .sidebar-logo {
  display: none;
}

.sidebar-mini.sidebar-collapse
  .main-sidebar:not(.sidebar-no-expand):hover
  .sidebar-logo {
  display: block;
}

.custom-error {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.swal2-confirm:hover,
.swal2-confirm:active,
.swal2-confirm:focus,
.btn-primary:hover,
.btn-outline-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background-color: #d55410 !important;
  color: #fff;
  border-color: #d55410 !important;
}

.btn-info,
.swal2-cancel {
  background-color: #fdefe7 !important;
  color: #d55410 !important;
  border-color: #fdefe7 !important;
}

.btn-info:hover,
.btn-info:active,
.btn-info:focus,
.swal2-cancel:hover,
.swal2-cancel:active,
.swal2-cancel:focus {
  background-color: #d55410 !important;
  color: #fff !important;
  border-color: #d55410 !important;
}

.bg-primary {
  background-color: #f28a54 !important;
}

.btn-group .btn-outline-primary {
  color: #f28a54;
  border-color: #f28a54;
  border-radius: 5px;
}
.btn-group .btn-outline-primary:hover,
.btn-group .btn-outline-primary:active,
.btn-group .btn-outline-primary:focus {
  background-color: #f28a54;
  color: #fff;
}
.page-item.active .page-link {
  background-color: #f28a54;
  border-color: #f28a54;
}

/* sort header links */
.sort-link {
  position: relative;
  display: flex;
  width: 100%;
  color: #212529;
}

a {
  color: #f28a54;
}

a:hover {
  color: #d55410;
}

.sort-link:hover {
  color: #f28a54;
}

.sort-link::after,
.sort-link::before {
  position: absolute;
  display: block;
  opacity: 0.125;
  right: -10px;
  line-height: 9px;
  font-size: 0.8em;
}

.sort-link::after {
  top: 50%;
  content: "▼";
  content: "▼"/"";
}

.sort-link::before {
  bottom: 50%;
  content: "▲";
  content: "▲"/"";
}

.sort-link.desc-dir::after {
  opacity: 0.6;
}

.sort-link.asc-dir::before {
  opacity: 0.6;
}

.breadcrumb-item a {
  color: #f28a54 !important;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
  background-color: #f28a54 !important;
}
.card-tools a.btn-link {
  color: #f28a54 !important;
}
.text-primary {
  color: #f28a54 !important;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fdefe7;
}

.table-striped tbody tr:nth-of-type(odd) .btn-info {
  background-color: #f28a54 !important;
  color: #fff !important;
}
.table-striped tbody tr:nth-of-type(odd) .btn-info:hover {
  background-color: #d55410 !important;
  color: #fff !important;
  border-color: #d55410 !important;
}

.table td,
.table th {
  border-top: 1px solid #fdefe7;
}

.card-primary:not(.card-outline) > .card-header {
  background-color: #f28a54;
}

.card-primary.card-outline {
  border-top: 3px solid #f28a54;
}

.swal2-confirm,
.btn-primary {
  color: #fff;
  background-color: #f28a54 !important;
  border-color: #f28a54 !important;
  outline: none !important;
  box-shadow: none !important;
}

.swal2-popup.swal2-toast .swal2-title {
  margin: 0.5em 1em;
}

.asterisk {
  color: red;
}

.btn-outline-primary {
  color: #f28a54;
  border-color: #f28a54;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #f28a54;
  background-color: #f28a54;
  box-shadow: none;
}

.page-link {
  color: #d55410;
}

.page-link:hover,
.page-link:active {
  color: #fdefe7;
  background-color: #d55410;
}

.page-link:focus {
  box-shadow: 0 0 0 0.2rem #d5541025;
}

.iti {
  display: block;
}

.image-preview {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.cke.is-invalid,
.was-validated .cke:invalid {
  border-color: #dc3545;
}

.nav-item.show {
  position: relative;
}

.nav-item .profile-link {
  cursor: pointer;
}

.nav-item .img-circle {
  width: 35px;
}

.nav-pills .nav-link:not(.active):hover,
.nav-pills .nav-link:not(.active):focus,
.nav-pills .nav-link:not(.active):active {
  color: #f28a54;
}
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  color: #f28a54;
  background-color: #fdefe7;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #f28a54;
  background-color: transparent;
}

[class*="sidebar-dark"] .brand-link {
  border-bottom: 1px solid #fdefe7;
}

[class*="sidebar-dark-"] {
  background-color: #fdefe7;
  width: 255px;
}

[class*="sidebar-dark-"] .sidebar a,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
  color: #000000;
  width: 100%;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:focus,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:hover {
  background-color: transparent;
  color: #000000;
}

[class*="sidebar-dark"] .btn-sidebar,
[class*="sidebar-dark"] .form-control-sidebar {
  background-color: #f28a54;
  border: 1px solid #fdefe7;
  color: #fff;
}

[class*="sidebar-dark"] .form-control-sidebar::placeholder {
  color: #fff;
}

[class*="sidebar-dark-"] .nav-sidebar > .nav-item.menu-open > .nav-link,
[class*="sidebar-dark-"] .nav-sidebar > .nav-item:hover > .nav-link {
  background-color: #f28a54;
  color: #fff;
}
[class*="sidebar-dark-"] .nav-treeview > .nav-item:hover > .nav-link,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-dark-"] .nav-treeview > .nav-item:hover > .nav-link.active {
  color: #f28a54;
  background-color: #fff;
}

[class*="sidebar-dark-"]
  .nav-sidebar
  > .nav-item:not(.menu-open)
  > .nav-link:not(:hover):focus {
  color: #000000;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-container img {
  /* width: 10.125rem; #6f6d6d*/
}

.login-page {
  margin-top: 6rem;
  justify-content: none;
  height: auto;
}

select.is-invalid + .select2-container--default .select2-selection,
textarea.is-invalid + .cke {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

ul#productsort {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

ul#productsort li {
  position: relative;
  display: flex;
  align-items: center;
  cursor: move;
  border: 1px solid #fdefe7;
  background-color: #ffffff;
  padding-left: 30px;
}

ul#productsort li::before {
  content: attr(data-order);
  position: absolute;
  left: 10px;
  top: 5px;
}

ul#productsort li .sort-content {
  padding: 5px 10px;
  height: 100%;
  width: 100%;
}
ul#productsort li .fa-bars {
  padding-right: 10px;
}

/* for Category arrange */
ul#categorysort {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

ul#categorysort li {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #fdefe7;
  background-color: #ffffff;
}

ul#categorysort li .move-handler {
  cursor: move;
}

ul#categorysort li::before {
  content: attr(data-order);
  position: absolute;
  left: 10px;
  top: 5px;
}

ul#categorysort li .sort-content {
  padding: 5px 10px;
  height: 100%;
  width: 100%;
}
ul#categorysort li .fa-bars {
  padding-right: 10px;
}

/* for arrange spaces */
ul#spacessort {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

ul#spacessort li {
  position: relative;
  display: flex;
  align-items: center;
  cursor: move;
  border: 1px solid #fdefe7;
  background-color: #ffffff;
  padding-left: 30px;
}

ul#spacessort li::before {
  content: attr(data-order);
  position: absolute;
  left: 10px;
  top: 5px;
}

ul#spacessort li .sort-content {
  padding: 5px 10px;
  height: 100%;
  width: 100%;
}
ul#spacessort li .fa-bars {
  padding-right: 10px;
}

.connectedSortable {
  /* gap: 20px; */
}

.resizable {
  margin-bottom: 20px;
}

.resizable .card {
  height: 100%;
}

.cke_notifications_area {
  display: none !important;
}

.role-permissions {
  margin: 0;
  padding: 0;
}
.role-permissions li {
  list-style: none;
  margin: 6px 0 12px 0;
  padding: 10px 10px 10px 15px;
  border: solid 1px #eaedf1;
}
.role-permissions .permission {
  display: flex;
  align-items: center;
}
.role-permissions .permission .permission-toggle {
  margin-right: 0;
  cursor: pointer;
}
.role-permissions li li {
  border: none;
  padding: 1px 0 0 0;
}
.role-permissions .permission label {
  font-size: 15px;
  font-weight: 600;
  margin-left: 8px;
  margin-bottom: 0;
}
.role-permissions .child-permissions {
  padding: 0 0 0 54px;
  display: none;
}
.role-permissions .material-icons.permission-toggle {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  border-radius: 5px;
  margin-right: 7px;
  background: #f2f2f2;
}

.book-image {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  max-width: 320px;
  background: #f4f6f9;
  border-radius: 10px;
}

.image-grid {
  display: flex;
  row-gap: 15px;
  column-gap: 15px;
  align-items: flex-start;
}

.image-grid .grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 15px;
}

.image-grid .grid-item .grid-actions button {
  border: 1px solid #f4f6f9;
  border-radius: 5px;
  background-color: transparent;
  padding: 5px;
  width: 30px;
  font-size: 12px;
}

.image-grid .grid-item .grid-actions button:hover {
  border: 1px solid #f28a54;
  background-color: #f28a54;
  color: #f2f2f2;
}

.image-grid .grid-item img,
.image-grid .grid-item label {
  background: #f4f6f9;
  border-radius: 5px;
  aspect-ratio: 2 / 3;
  width: 100px;
  height: 150px;
  object-fit: contain;
}

.image-grid .grid-item label {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.image-grid .grid-item label i {
  font-size: 40px;
}

.info-icon {
  margin-left: 10px;
  border: 1px solid #d0cfcf;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}



.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
    min-height: 312px;
}

.backside .card a {
    font-size: 18px;
    color: #f28a54 !important;
}

.frontside .card .card-title,
.backside .card .card-title {
    color: #f28a54 !important;
}

.frontside .card .card-body img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}



/* chat screen start */
.chat-app{
  min-height: 450px;
}
.chat-app .people-list {
  height: 100%;
  width: 280px;
  position: absolute;
  left: 0;
  top: 0;
  padding: 20px;
  z-index: 7
}

.chat-app .chat {
  margin-left: 280px;
  border-left: 1px solid #eaeaea
}

.people-list {
  -moz-transition: .5s;
  -o-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s
}

.people-list .chat-list {
      max-height: 100%;
    overflow: auto;
}

.people-list .chat-list li {
  padding: 10px 15px;
  list-style: none;
  border-radius: 3px
}

.people-list .chat-list li:hover {
  background: #efefef;
  cursor: pointer
}

.people-list .chat-list li.active {
  background: #efefef
}

.people-list .chat-list li .name {
  font-size: 15px
}

.people-list .chat-list img {
  width: 45px;
  border-radius: 50%
}

.people-list img {
  float: left;
  border-radius: 50%
}

.people-list .about {
  float: left;
  padding-left: 8px
}

.people-list .status {
  color: #999;
  font-size: 13px
}

.chat .chat-header {
  padding: 15px 20px;
  border-bottom: 2px solid #f4f7f6
}

.chat .chat-header img {
  float: left;
  border-radius: 40px;
  width: 40px
}

.chat .chat-header .chat-about {
  float: left;
  padding-left: 10px
}

.chat .chat-history {
  padding: 20px;
  border-bottom: 2px solid #fff;
  max-height: 400px;
  overflow: auto;
}

.chat .chat-history ul {
  padding: 0
}

.chat .chat-history ul li {
  list-style: none;
  margin-bottom: 30px
}

.chat .chat-history ul li:last-child {
  margin-bottom: 0px
}

.chat .chat-history .message-data {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat .chat-history .message-data .user-data {
    display: flex;
    flex-direction: column;
}

.message-data.text-right {
    justify-content: flex-end;
}

.chat .chat-history .message-data img {
  border-radius: 40px;
  width: 40px
}

.chat .chat-history .message-data-time {
  color: #434651;
  font-size: 12px;
}

.chat .chat-history .message {
  color: #444;
  padding: 18px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.chat .chat-history .message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #fff;
  border-width: 10px;
  margin-left: -10px
}

.chat .chat-history .my-message {
  background: #efefef
}

.chat .chat-history .my-message:after {
  bottom: 100%;
  left: 30px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #efefef;
  border-width: 10px;
  margin-left: -10px
}

.chat .chat-history .other-message {
  background: #e8f1f3;
  text-align: right
}

.chat .chat-history .other-message:after {
  border-bottom-color: #e8f1f3;
  left: calc(100% - 20px)
}

.chat .chat-message {
  padding: 20px
}

.online,
.offline,
.me {
  margin-right: 2px;
  font-size: 8px;
  vertical-align: middle
}

.online {
  color: #86c541
}

.offline {
  color: #e47297
}

.me {
  color: #1d8ecd
}

.float-right {
  float: right
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0
}

@media only screen and (max-width: 767px) {
  .chat-app .people-list {
      height: 465px;
      width: 100%;
      overflow-x: auto;
      background: #fff;
      left: -400px;
      display: none
  }
  .chat-app .people-list.open {
      left: 0
  }
  .chat-app .chat {
      margin: 0
  }
  .chat-app .chat .chat-header {
      border-radius: 0.55rem 0.55rem 0 0
  }
  .chat-app .chat-history {
      height: 300px;
      overflow-x: auto
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .chat-app .chat-list {
      height: 650px;
      overflow-x: auto
  }
  .chat-app .chat-history {
      height: 600px;
      overflow-x: auto
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  .chat-app .chat-list {
      height: 480px;
      overflow-x: auto
  }
  .chat-app .chat-history {
      height: calc(100vh - 350px);
      overflow-x: auto
  }
}

.img-circle.green-border {
    border-color: #139b13;
}
/* chat screen end */

/* book listing */
.book-images-section{
  display: flex;
  gap: 5px;
}
.book-small-img{
  width: 50px;
  cursor: pointer;
}
.book-small-img:hover + .show-on-hover, .show-on-hover:hover{
  display: block;
}
.show-on-hover{
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 50%;
  max-width: 50%;
  z-index: 2;
}
.show-on-hover img{
  object-fit: contain;
  max-width: 320px;
  aspect-ratio: 2/3;
}

.swal2-textarea:focus, .swal2-inputerror, .swal2-inputerror:focus{
  box-shadow: none !important;
}


/* Loader css */

:root {
	--hue: 223;
	--bg: hsl(var(--hue),10%,90%);
	--fg: hsl(var(--hue),10%,10%);
	--primary: #d55410;
	--primary-l: #f28a54;
	--primary-d: #d55410;
	--white: hsl(var(--hue),10%,100%);
	--white-d: hsl(var(--hue),10%,45%);
}

div#page-loader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000ab;
}

.book__loader,
.book__pg-shadow,
.book__pg {
	animation: cover 7s ease-in-out infinite;
}
.book__loader {
	background-color: var(--primary-l);
	border-radius: 0.25em;
	box-shadow:
		0 0.25em 0.5em hsla(0,0%,0%,0.3),
		0 0 0 0.25em var(--primary) inset;
	padding: 0.25em;
	perspective: 37.5em;
	position: relative;
	width: 8em;
	height: 6em;
	transform: translate3d(0,0,0);
	transform-style: preserve-3d;
}
.book__pg-shadow,
.book__pg {
	position: absolute;
	left: 0.25em;
	width: calc(50% - 0.25em);
}
.book__pg-shadow {
	animation-name: shadow;
	background-image: linear-gradient(-45deg,hsla(0,0%,0%,0) 50%,hsla(0,0%,0%,0.3) 50%);
	filter: blur(0.25em);
	top: calc(100% - 0.25em);
	height: 3.75em;
	transform: scaleY(0);
	transform-origin: 100% 0%;
}
.book__pg {
	animation-name: pg1;
	background-color: var(--white);
	background-image: linear-gradient(90deg,hsla(var(--hue),10%,90%,0) 87.5%,hsl(var(--hue),10%,90%));
	height: calc(100% - 0.5em);
	transform-origin: 100% 50%;
}
.book__pg--2,
.book__pg--3,
.book__pg--4 {
	background-image:
		repeating-linear-gradient(hsl(var(--hue),10%,10%) 0 0.125em,hsla(var(--hue),10%,10%,0) 0.125em 0.5em),
		linear-gradient(90deg,hsla(var(--hue),10%,90%,0) 87.5%,hsl(var(--hue),10%,90%));
	background-repeat: no-repeat;
	background-position: center;
	background-size: 2.5em 4.125em, 100% 100%;
}
.book__pg--2 {
	animation-name: pg2;
}
.book__pg--3 {
	animation-name: pg3;
}
.book__pg--4 {
	animation-name: pg4;
}
.book__pg--5 {
	animation-name: pg5;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
	:root {
		--bg: hsl(var(--hue),10%,30%);
		--fg: hsl(var(--hue),10%,90%);
	}
}

/* Animations */
@keyframes cover {
	from, 5%, 45%, 55%, 95%, to {
		animation-timing-function: ease-out;
		background-color: var(--primary-l);
	}
	10%, 40%, 60%, 90% {
		animation-timing-function: ease-in;
		background-color: var(--primary-d);
	}
}
@keyframes shadow {
	from, 10.01%, 20.01%, 30.01%, 40.01% {
		animation-timing-function: ease-in;
		transform: translate3d(0,0,1px) scaleY(0) rotateY(0);
	}
	5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% {
		animation-timing-function: ease-out;
		transform: translate3d(0,0,1px) scaleY(0.2) rotateY(90deg);
	}
	10%, 20%, 30%, 40%, 50%, to {
		animation-timing-function: ease-out;
		transform: translate3d(0,0,1px) scaleY(0) rotateY(180deg);
	}
	50.01%, 60.01%, 70.01%, 80.01%, 90.01% {
		animation-timing-function: ease-in;
		transform: translate3d(0,0,1px) scaleY(0) rotateY(180deg);
	}
	60%, 70%, 80%, 90%, to {
		animation-timing-function: ease-out;
		transform: translate3d(0,0,1px) scaleY(0) rotateY(0);
	}
}
@keyframes pg1 {
	from, to {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.4deg);
	}
	10%, 15% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(180deg);
	}
	20%, 80% {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(180deg);
	}
	85%, 90% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(180deg);
	}
}
@keyframes pg2 {
	from, to {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(0.3deg);
	}
	5%, 10% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.3deg);
	}
	20%, 25% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.9deg);
	}
	30%, 70% {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(179.9deg);
	}
	75%, 80% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.9deg);
	}
	90%, 95% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.3deg);
	}
}
@keyframes pg3 {
	from, 10%, 90%, to {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(0.2deg);
	}
	15%, 20% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.2deg);
	}
	30%, 35% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.8deg);
	}
	40%, 60% {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(179.8deg);
	}
	65%, 70% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.8deg);
	}
	80%, 85% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.2deg);
	}
}
@keyframes pg4 {
	from, 20%, 80%, to {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(0.1deg);
	}
	25%, 30% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.1deg);
	}
	40%, 45% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.7deg);
	}
	50% {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(179.7deg);
	}
	55%, 60% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.7deg);
	}
	70%, 75% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0.1deg);
	}
}
@keyframes pg5 {
	from, 30%, 70%, to {
		animation-timing-function: ease-in;
		background-color: var(--white-d);
		transform: translate3d(0,0,1px) rotateY(0);
	}
	35%, 40% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0deg);
	}
	50% {
		animation-timing-function: ease-in-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(179.6deg);
	}
	60%, 65% {
		animation-timing-function: ease-out;
		background-color: var(--white);
		transform: translate3d(0,0,1px) rotateY(0);
	}
}
/* Loader css end */


.query-sidebar .nav-item.active .nav-link {
    color: #f28a54;
}


.unread .mailbox-name, .unread .mailbox-date{
  font-weight: 700;
}
.image-uploader{
  display: flex;
  min-height: 12rem !important;
}

.image-uploader .uploaded .uploaded-image{
  width: calc(120px) !important;
  height: calc(160px) !important;
}

.image-uploader .uploaded .uploaded-image img {
    width: 120px !important;
    height: 160px !important;
    object-fit: contain !important;
}


.image-uploader .upload-text{
  position: unset !important;
  width: 70%;
}

/* permission checkbox*/
.custom-control-input.some-checked ~ .custom-control-label::after {
    color: #fff;
    border-color: #f28a54;
    background-color: #f28a54;
    box-shadow: none;
    margin: 3px;
    height: 10px;
    width: 10px;
    border-radius: 2px;
}