/*
Version: 2.2
*/

:root {
  --color-primary: #4F46E5;
  --color-success: #22C55E;
  --color-danger:  #EF4444;
  --color-danger-hover: #c82222;
  --color-warning: #FACC15;
  --color-info:    #0EA5E9;
  --color-input-border: #e3e3e3;

  --color-background: #f4f4f4;
  --color-text: #343a40;
  --color-muted: #6B7280;
  --font-family-body: 'Open sans', sans-serif;
}

body{
  font-weight: 400;
}

.brand-logo {
  color: var(--color-success) !important;
}
.btn-link {
  color: var(--color-primary);
}
.custom-select {
    border: 1px solid var(--color-input-border) !important;
}
.sidebar .sidebar-brand-wrapper .sidebar-brand {
  padding: 0 0 0.25rem 0px !important;
  margin: auto;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
}
.page-header {
  margin: 0 0 0rem 0 !important;
  padding: 12px !important;
  /* border-radius: 159px; */
}
.main-card {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.btn-success {
  color: #fff;
  background-color: var(--color-success) !important;
  border-color: var(--color-success) !important;
}
.btn-danger {
    color: #fff;
    background-color: var(--color-danger);
    border-color: var(--color-danger);
}
.btn-danger:hover {
    color: #fff;
    background-color: var(--color-danger-hover);
    border-color: var(--color-danger-hover);
}
.btn-outline-danger {
  color: var(--color-danger);
  border-color: var(--color-danger);
}
.btn-outline-danger:hover {
  color: #fff;
  background-color: var(--color-danger);
  border-color: var(--color-danger);
}
.container-fluid.page-body-wrapper {
    background: #f4f4f4;
}
.navbar-menu-wrapper.d-flex.align-items-stretch.justify-content-between{
  background: #fff;
}
body .navbar .navbar-menu-wrapper{
  height: 57px;
}
@media (min-width: 992px){
  .navbar-menu-wrapper.d-flex.align-items-stretch.justify-content-between{
    border-bottom: 1px solid #ededed;
    box-shadow: 0px 1px 6px 0 rgba(32, 33, 36, 0.28);
  }
}
.sidebar {
  background: #fff;
  border-right: 1px solid #ededed;
  z-index: 1040;
}
.sidebar .nav .nav-item .nav-link{
  padding: 12px 1rem 12px 1rem;
}
.sidebar .nav .nav-item .nav-link .menu-title {
  color: #000 !important;
}
.sidebar .nav .nav-item.active, .sidebar .nav .nav-item:hover {
  border-radius: 10px;
}
.sidebar .nav .nav-item.active > .nav-link .menu-title, .sidebar .nav .nav-item.active > .nav-link {
  color: var(--color-primary) !important;
}
.nav-item.active svg{
  fill: var(--color-primary) !important;
  filter: none;
}
.nav-item.department-tickets .em-dash {
  width: 22px;
  display: block;
  float: left;
  margin-right: 7px;
  text-align: center;
  line-height: 15px;
}
.sidebar .nav .nav-item .nav-link:hover {
  -webkit-transition-duration: 0.45s;
  transition-duration: 0.45s;
  background: #f3f7ff !important;
}
input[data-switch] {
  display: none;
}

input[data-switch] + label {
  width: 40px;
  height: 20px;
  background-color: #dee3f4;
  background-image: none;
  border-radius: 2rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

input[data-switch="success"]:checked + label {
  background-color: var(--color-success) !important;
}

input[data-switch]:checked + label:before {
  color: #fff;
  content: attr(data-on-label);
  right: auto;
  left: 4px;
}

input[data-switch] + label:before {
  color: #313a46;
  content: attr(data-off-label);
  display: block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 24px;
  position: absolute;
  right: 3px;
  margin: 0 0.21667rem;
  top: 0;
  text-align: center;
  min-width: 1.66667rem;
  overflow: hidden;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

input[data-switch]:checked + label:after {
  left: 23px;
  background-color: #f1f3fa;
}

input[data-switch] + label:after {
  content: "";
  position: absolute;
  left: 4px;
  background-color: #adb5bd;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 2rem;
  height: 14px;
  width: 14px;
  top: 3px;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
.form-group label {
  font-weight: 500 !important;
}
.profile-detail span{
  font-size: 13px;
}
.nav-pills {
    border-bottom: 0px solid #ebedf2;
    padding-bottom: 0rem;
}
.nav-pills .nav-item {
  margin-right: 0 !important;
}
.nav-pills .nav-link {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 12px 24px !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: var(--color-success);
}
.tab-content {
    border: 0;
    border-top: 0;
    padding: 2rem 1rem;
    text-align: justify;
    background: white;
}
.avatar-upload {
  position: relative;
  max-width: 148px;
}
.avatar-upload .avatar-edit {
  position: absolute;
  right: 0px;
  z-index: 1;
  bottom: -10px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-bottom: 0;
  border-radius: 15px;
  background: #FFFFFF;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
  content: "";
  background-image: url(../images/upload.svg);
  color: #757575;
  position: absolute;
  top: 7px;
  left: 8px;
  background-repeat: no-repeat;
  right: 0;
  text-align: center;
  margin: auto;
  height: 50px;
  width: 50px;
}
.avatar-upload .avatar-preview {
  width: 130px;
  height: 130px;
  position: relative;
  border-radius: 100px;
  border: 0;
  box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 10%);
}
.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.color-tr{
  background-color: #ebedf2 !important;
}
.swal2-styled.swal2-confirm {
  background-color: var(--color-success);
  border: none !important;
 
}
.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgb(62 137 184 / 58%) !important;
}
.document a{
  padding: 2px 20px;
  font-size: 15px;
  border: 1px solid grey;
  border-radius: 12px;
  text-decoration: none;
}
.content-wrapper {
  background: #f4f4f4;
}
.content-wrapper .color-card .color-card-head {
  font-size: 27px !important;
}
.brand-logo-mini {
 color: var(--color-success) !important;
}
.sidebar .nav {
  position: fixed;
  width: inherit;
  padding: 0 20px;
  overflow: hidden;
  overflow-y: scroll;
  max-height: calc(100vh - 100px);
}
.sidebar .nav .nav-item {
  padding: 0;
}
.sidebar .sidebar-brand-wrapper .sidebar-brand {
  position: fixed;
  margin-left: 25px;
}
/* Tickets */

.table th, .table td {
  padding: 14px 8px 14px 8px;
}
.table thead th {
  padding: 20px 8px 20px 8px;
}
td a {
  background: none !important;
  padding: 0 !important;
  border-radius: 0px !important;
  margin-right: 0px !important;
  text-decoration: none !important;
}

td a:hover {
  color: #212529;
  background: none !important;
  text-decoration: none !important;
}

.table-responsive {
  display: block !important;
}

.for_mobile {
  display: none;
}

@media (max-width: 576px) {
  .for_mobile {
    display: block;
  }

  .for_big {
    display: none;
  }
}
/* end Tickets */
/* Ticket */
.nav-pills .nav-link {
  border: none !important;
  text-align: start !important;
  background-color: #fff;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-pills .nav-link:hover {
  background-color: #ebedf2 !important;
}

.nav-pills {
  width: 100% !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link:hover {
  color: #fff !important;
  background-color: var(--color-success) !important;
}

.attachentsfile td a {
  padding: 2px 12px !important;
  font-size: 15px !important;
  border: 1px solid var(--color-success) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  -webkit-border-radius: 12px !important;
  -moz-border-radius: 12px !important;
  -ms-border-radius: 12px !important;
  -o-border-radius: 12px !important;
}

input[type="file"] {
  display: block;
}

.imageThumb {
  border: 2px solid;
  padding: 1px;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.pip {
  display: inline-block;
  margin: 45px 10px 0 0;
  width: 70px;
  height: 70px;
}

.remove {
  display: block;
  background: #444;
  border: 1px solid black;
  color: white;
  text-align: center;
  cursor: pointer;
}

.remove:hover {
  background: white;
  color: black;
}

.upload__btn {
  cursor: pointer;
}

.upload__inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.setting {
  position: relative;
  padding: 15px;
}

.field_set {
  position: absolute;
  top: 11px;
  right: 110px;
}

.field {
  position: absolute;
}


.btn-ring {
  display: none;
}

.btn-ring:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 8px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: ring 1.2s linear infinite;
}

@keyframes ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.td-priority{
  text-transform: capitalize;
}
td .td-priority{
  float: left !important;
}
.td-priority.priority-urgent{
  color: red;
}

.documents button {
  border-radius: 20px;
  margin: 8px;
}

.btn-outline-success {
  color: var(--color-success) !important;
  border-color: var(--color-success) !important;
}

.btn-outline-success:hover {
  color: #ffffff !important;
  background-color: var(--color-success) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  background: var(--color-success) !important;
  color: #ffffff !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus,
.btn-outline-success:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(69, 153, 205, 0.5) !important;
}

.right .text_style {
  text-align: right;
}

.right .documents .btn-outline-success {
  color: rgba(255, 255, 255) !important;
  border-color: rgba(255, 255, 255) !important;
}

.right .documents .btn-outline-success:hover,
.right .documents .btn-outline-success:focus,
.right .documents .btn-outline-success:active {
  background: rgba(255, 255, 255) !important;
  color: #000 !important;
}

.right .documents .btn-outline-success:not(:disabled):not(.disabled):active:focus,
.right .documents .btn-outline-success:not(:disabled):not(.disabled).active:focus,
.right .documents .show>.btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgb(69 153 205 / 10%) !important;
}
/* End Ticket */
.error {
  color: red;
}

#pas input, .department-select {
  margin-bottom: 5px;
}
/* employee */ 
input[data-switch] {
  display: none;
}

input[data-switch]+label {
  width: 40px;
  height: 20px;
  background-color: #f1f3fa;
  background-image: none;
  border-radius: 2rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  margin: auto;
  position: relative;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

input[data-switch=success]:checked+label {
  background-color: #009cff !important;
}

input[data-switch]:checked+label:before {
  color: #fff;
  content: attr(data-on-label);
  right: auto;
  left: 1px;
}

input[data-switch]+label:before {
  color: #313a46;
  content: attr(data-off-label);
  display: block;
  font-family: inherit;
  font-weight: 600;
  font-size: .75rem;
  line-height: 24px;
  position: absolute;
  right: 3px;
  margin: 0 .21667rem;
  top: 0;
  text-align: center;
  min-width: 1.66667rem;
  overflow: hidden;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

input[data-switch]:checked+label:after {
  left: 21px;
  background-color: #f1f3fa;
}

input[data-switch]+label:after {
  content: "";
  position: absolute;
  left: 4px;
  background-color: #adb5bd;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 2rem;
  height: 16px;
  width: 16px;
  top: 2px;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}
/* end employee */
/* forgot password */
a {
  text-decoration: none;
}

.authentication-wrapper.authentication-basic {
  align-items: center;
  justify-content: center;
}

.authentication-inner {
  max-width: 484px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  margin: auto;
}

.demo {
  font-size: 40px;
  border: none;
  color: #000;
}

.card {
  border: none;
  border-radius: 10px;
}

input {
  margin-bottom: 5px !important;
}
/* end forgot password */
.numberhide::-webkit-outer-spin-button, .numberhide::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.para {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.profile {
  width: 150px;
  height: 150px;
  margin: auto;
}

.error {
  color: red;
}

#pas input {
  margin-bottom: 8px !important;
}
/* tickets */

input[type="file"] {
  display: block;
}

.imageThumb {
  border: 2px solid;
  padding: 1px;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.pip {
  display: inline-block;
  margin: 45px 10px 0 0;
  width: 70px;
  height: 70px;
}

.remove {
  display: block;
  background: #444;
  border: 1px solid black;
  color: white;
  text-align: center;
  cursor: pointer;
}

.remove:hover {
  background: white;
  color: black;
}

.upload__btn {
  cursor: pointer;
}

.upload__inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}


#file-preview div {
  width: 130px;
  height: 130px;
  top: 50px;
}

#file-preview div img {
  width: 100%;
  height: 100%;
}


.left {
  justify-content: start;
  display: flex;
}

.left small,
.right small {
  font-size: 13px;
  font-weight: 500;
}

.right {
  justify-content: right;
  display: flex;
}

.chat_scroller {
  overflow-y: scroll;
  height: calc(100vh - 420px);
  margin-bottom: 0px;
  padding-right: 6px;
  padding-bottom: 0px;
}

.ticket-details .card {
  max-width: 100% !important;
}

.requester-field td {
  border: none !important;
  font-weight: 500;
}

.requester-field select {
  background-color: rgb(69, 153, 205, 20%);
  height: 50px;
  border-radius: 12px;
  border: none !important;
  box-shadow: 2px 2px 4px 2px rgb(69, 153, 205, 10%) !important;
}
c
.requester-field select option {
  border: none !important;
}

.first_row h3 {
  color: #222;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;
  margin-bottom: 0;

}

.documents button {
  border-radius: 20px;
  margin: 8px;
}

.btn-outline-success {
  color: var(--color-success) !important;
  border-color: var(--color-success) !important;
}

.btn-outline-success:hover {
  color: #ffffff !important;
  background-color: var(--color-success) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  background: var(--color-success) !important;
  color: #ffffff !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus,
.btn-outline-success:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(69, 153, 205, 0.5) !important;
}

.left .card {

  border-bottom: 1px solid;
  word-break: break-word;
  border-radius: 0px;
}

.right .card {
  
  border-bottom: 1px solid;
  background-color: rgb(69 153 205) !important;
  color: #fff;
  word-break: break-word;
}

.right .text_style {
  text-align: right;
}

.right .documents .btn-outline-success {
  color: rgba(255, 255, 255) !important;
  border-color: rgba(255, 255, 255) !important;
}

.right .documents .btn-outline-success:hover,
.right .documents .btn-outline-success:focus,
.right .documents .btn-outline-success:active {
  background: rgba(255, 255, 255) !important;
  color: #000 !important;
}

.right .documents .btn-outline-success:not(:disabled):not(.disabled):active:focus,
.right .documents .btn-outline-success:not(:disabled):not(.disabled).active:focus,
.right .documents .show>.btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgb(69 153 205 / 10%) !important;
}
.border_around {
  border: 1px solid#80bdff !important;
  padding: 13px;
  border-radius: 8px;
  background-color: #e9ecef;
}
.fw-bold {
    font-weight: 700!important;
}
.fw-bolder {
    font-weight: 500!important;
}
.fw-normal {
    font-weight: 400!important;
}
.fw-light {
    font-weight: 300!important;
}
.fw-lighter {
    font-weight: lighter!important;
}
.fst-italic {
    font-style: italic!important;
}
.fst-normal {
    font-style: normal!important;
}
.open-ticket{
  padding-left: 17px;
  padding-right: 12px;
}
td.notification-status-new, .ticketTable tr.status-new, .status-new {
  border-left: 5px solid var(--color-primary);
  padding-left: 12px;
  padding-right: 12px;
  color: #22558c;
  font-weight: 500;
  background: aliceblue;
}
td.notification-status-new-no-border{
  background: aliceblue;
}
tr.clickable-row.status-deleted {
    opacity: 0.5;
}
[data-href] {
    cursor: pointer;
}
#currentStatus{
  text-transform:capitalize;
}
.ticket_subscriber {
  clear: both;
  padding: 0px 0px 0;
  float: left;
  width: 100%;
}
.ticket_subscriber h4, .ticket_subscriber p{
  width: calc( 100% - 25px);
  float: left;
}
.remove_ticket_subscriber{
  float: right;
}
ul.customer_search_result {
  list-style: none;
  padding: 0;
}
li.add_customer_to_ticket {
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  padding: 3px 12px;
} 
li#show_add_new_customer_on_ticket {
  margin-top: 5px;
}
#ticketSubject{
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out; 
  height: 50px !important;
  padding: 0.94rem 1rem;
  font-size: 1.25rem;
  line-height: 0.9;
  border: 1px solid #fff !important;
  cursor: pointer;
  -webkit-border-radius: 8px !important;
  font-weight: 400;
  color: #495057;
}
#ticketSubject:hover{
  border: 1px solid #80bdff !important;
}
#TicketSubjectInput{
  height: 50px !important;
  padding-left: 1rem;
}
.btn-primary, .btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    color: #fff;
    background-color: #2116e5;
    border-color: #2116e5;
}
a {
  color: #4f46e5;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
a:hover{
  color: #2116e5;
  text-decoration: none;
}
a:visited, a:visited span, a.nav-link{
  text-decoration: none !important;
}
.text-danger {
    color: #ff3c44 !important;
}
b, strong {
    font-weight: 600;
}
.me-auto {
    margin-right: auto !important;
}
.ms-auto {
    margin-left: auto!important;
}
.ticket-details hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.default-email-content{
    border: 2px dashed;
    padding: 16px 20px;
    opacity: 0.8;
    border-radius: 10px;
}
#search-field {
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  max-width: 100%;
}
#search-field i.fa.fa-search {
    float: left;
    margin: 8px 8px;
}
input#searchInput {
    border: 0 !important;
    float: left;
    width: calc(100% - 50px);
    background: transparent;
    color: black;
    margin-bottom: 0 !important;
    font-size: 15px;
}
.panel-unassigned .list-group-item.status-deleted, .panel-inbox .list-group-item.status-deleted, .panel-pending .list-group-item.status-deleted, .panel-mine .list-group-item.status-deleted, .panel-solved .list-group-item.status-deleted{
  display: none;
}
.panel-unassigned .list-group-item.status-solved, .panel-inbox .list-group-item.status-solved, .panel-pending .list-group-item.status-solved, .panel-mine .list-group-item.status-solved, .panel-deleted .list-group-item.status-solved{
  display: none;
}
.hidden{
  display: none !important;
}
#images-label {
  cursor: pointer;
}

#image-preview-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}



#image-preview-container img {
  width: 90px;
  height: 90px;
  margin: 5px;
}

#image-preview-container img .remove-image {
  position: absolute;
  top: 0px;
  right: -10px;
  background-color: red;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
}

.remove-image {
  cursor: pointer;
  top: 1px;
  position: absolute;
  right: 8px;
  color: #bb8d24;
}

.image-preview {
  position: relative;
}
#form-overlay{
  position: absolute;
  background: #ffffff;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  border-radius: 10px;
}
.list-group-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
button.delete-attachment {
    border: 0;
    background: none;
    float: right;
}
#fileList .attachment {
    background: #f7f7f7;
    margin-bottom: 3px;
    padding: 5px 9px;
}
#fileList .attachment:hover {
  background: #f1efef;
}
.attachment-preview{
  max-width: 100px;
  max-height: 100px;
}
.list-group.w-100 {
    max-height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
.list-group.panel-inbox::-webkit-scrollbar-thumb, .chat_scroller::-webkit-scrollbar-thumb, .list-group#ticketList::-webkit-scrollbar-thumb{
    background-color: #757575;
    border-radius:14px;
    border: 5px solid #f4f4f4;    
    cursor: pointer;
}
.list-group.panel-inbox::-webkit-scrollbar-track, .chat_scroller::-webkit-scrollbar-track, .list-group#ticketList::-webkit-scrollbar-track{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
  background-color: transparent;
}
.list-group.panel-inbox::-webkit-scrollbar, .chat_scroller::-webkit-scrollbar, .list-group#ticketList::-webkit-scrollbar{
  width: 16px;
  background-color: #f4f4f4;
  display: inherit;
}

.chat_scroller::-webkit-scrollbar-thumb{
  border: 3px solid #f8f8f8;
  border-left-color: #fff;
  border-right-color: #fff;
}
.chat_scroller::-webkit-scrollbar{
  width: 12px;
  border: 3px solid white;
}
#ticket-content{
  display: block;
  overflow: hidden;
  overflow-y: scroll;
  height: calc(100vh - 330px);
}
@media (min-width: 992px) {
  .h-lg-100{
    height: 100% !important;
  }
}
@media (max-width: 992px) {
  #ticket-content-and-form{
    /*position: absolute;
    top: 0;
    left: 100vw;
    right: 0;*/
    width: 100vw;
    height: 100vh;
  }
  #ticket-content{
    height: calc(100vh - 250px);
  }
}
#ticket-content-and-form-mobile-top{
  top: 0;
  left: 0;
  background: aliceblue;
  padding: 16px 20px;
  opacity: 1;
  position: fixed;
  z-index: 999999;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  width: 100%;
  right: 0;
}
@media (max-width: 991px) {
  .navbar {
    height: 57px;
    width: 100vw;
  }
}
.wysiwyg-editor .editor-content {
  border: 0 !important;
  background-color: transparent !important;
}
.wysiwyg-editor .wysiwyg-toolbar, .wysiwyg-editor .btn-toolbar {
  background-color: #ffffff !important;
  padding: 5px 5px 0 5px;
  margin-left: 0px;
  user-select: none;
  border: 0 !important;
  border-radius: 10px;
  margin: 0px 5px !important;
  border-radius: 11px !important;
}
.wysiwyg-toolbar {
    order: 2;
}
.editor-content {
    order: 1;
}
.wysiwyg-editor {
    display: flex;
    flex-direction: column;
}
.wysiwyg-toolbar .btn i {
    color: #6b6b6b; /* Farve på ikoner i wysiwyg toolbar */
}
.wysiwyg-editor .wysiwyg-toolbar .dropdown > .btn, .wysiwyg-editor .btn-toolbar .dropdown > .btn {
  padding: 8px 0px 10px 10px !important;
  font-size: 16px;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group, .wysiwyg-editor .btn-toolbar .btn-group {
    margin-left: 0 !important; 
    margin-right: 0 !important;
    margin-bottom: 0 !important
}
.editor-statusbar{
  display:none !important;
}

button[data-value="cut"], button[data-value="copy"], button[data-value="paste"]{
  display:none !important;
}
.wysiwyg-editor{ 
  width: 100%;
  margin-bottom: 5px;
  border: 1px solid var(--color-input-border);
  border-radius: 16px;
}
#ticketform .formdiv {
  border: 1px solid var(--color-input-border);
  border-radius: 16px;
  margin-bottom: 5px;
}
#ticketform .wysiwyg-editor{
  border: 0;
}
#ticketform .formdiv.internal-message{
  background: #fef2db;
}
.icons8-reply-arrow { 
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPjxwYXRoIGQ9Ik0gNy4yOTI5Njg4IDIuMjkyOTY4OCBMIDIuNTg1OTM3NSA3IEwgNy4yOTI5Njg4IDExLjcwNzAzMSBMIDguNzA3MDMxMiAxMC4yOTI5NjkgTCA2LjQxNDA2MjUgOCBMIDE1IDggQyAxNy4yMjAzNzUgOCAxOSA5Ljc3OTYyNTQgMTkgMTIgTCAxOSAyMSBMIDIxIDIxIEwgMjEgMTIgQyAyMSA4LjY5ODM3NDYgMTguMzAxNjI1IDYgMTUgNiBMIDYuNDE0MDYyNSA2IEwgOC43MDcwMzEyIDMuNzA3MDMxMiBMIDcuMjkyOTY4OCAyLjI5Mjk2ODggeiIvPjwvc3ZnPg==') 50% 50% no-repeat;
  background-size: 100%; 
}
.icons8-note { 
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgNDggNDgiIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiPjxwYXRoIGQ9Ik0gOSA1IEMgNi44MDI2NjYxIDUgNSA2LjgwMjY2NjEgNSA5IEwgNSAzOSBDIDUgNDEuMTk3MzM0IDYuODAyNjY2MSA0MyA5IDQzIEwgMjcgNDMgQSAxLjAwMDEgMS4wMDAxIDAgMSAwIDI3IDQxIEwgOSA0MSBDIDcuODgzMzMzOSA0MSA3IDQwLjExNjY2NiA3IDM5IEwgNyA5IEMgNyA3Ljg4MzMzMzkgNy44ODMzMzM5IDcgOSA3IEwgMzkgNyBDIDQwLjExNjY2NiA3IDQxIDcuODgzMzMzOSA0MSA5IEwgNDEgMzAgTCAzNSAzMCBDIDMyLjI1MDQ4NCAzMCAzMCAzMi4yNTA0ODQgMzAgMzUgTCAzMCA0MiBBIDEuMDAwMSAxLjAwMDEgMCAwIDAgMzEuNzA3MDMxIDQyLjcwNzAzMSBMIDQyLjYxOTE0MSAzMS43OTQ5MjIgQSAxLjAwMDEgMS4wMDAxIDAgMCAwIDQzIDMwLjg0MTc5NyBMIDQzIDkgQyA0MyA2LjgwMjY2NjEgNDEuMTk3MzM0IDUgMzkgNSBMIDkgNSB6IE0gMTUgMTQgQSAxLjAwMDEgMS4wMDAxIDAgMSAwIDE1IDE2IEwgMzMgMTYgQSAxLjAwMDEgMS4wMDAxIDAgMSAwIDMzIDE0IEwgMTUgMTQgeiBNIDE1IDIwIEEgMS4wMDAxIDEuMDAwMSAwIDEgMCAxNSAyMiBMIDMzIDIyIEEgMS4wMDAxIDEuMDAwMSAwIDEgMCAzMyAyMCBMIDE1IDIwIHogTSAxNSAyNiBBIDEuMDAwMSAxLjAwMDEgMCAxIDAgMTUgMjggTCAyNyAyOCBBIDEuMDAwMSAxLjAwMDEgMCAxIDAgMjcgMjYgTCAxNSAyNiB6IE0gMzUgMzIgTCAzOS41ODU5MzggMzIgTCAzMiAzOS41ODU5MzggTCAzMiAzNSBDIDMyIDMzLjMzMTUxNiAzMy4zMzE1MTYgMzIgMzUgMzIgeiIvPjwvc3ZnPg==') 50% 50% no-repeat;
  background-size: 100%; 
}
select#select-message-type {
  border: 0 !important;
  padding: 9px;
  margin: 4px;
  background-color: transparent !important;
}
.ticket-details .type-internal{
  background: #fef2db;
}
.ticket-details .type-internal .card.py-2 {
    background-color: transparent;
}
.ticket-details .type-internal {
    background: #fef2db;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 2rem;
}
.type-internal hr {
    display: none;
}
.priority-urgent {
    width: 10px;
    height: 10px;
    background: #f3441d;
    border-radius: 100px;
    float: right;
    margin: 5px 0px 0 5px;
}
.priority-high {
    width: 10px;
    height: 10px;
    float: right;
    background: rgb(244, 144, 37);
    border-radius: 100px;
    margin: 5px 0px 0px 5px;
}
.priority-normal {
    width: 10px;
    height: 10px;
    float: right;
    background: rgb(248, 194, 45);
    border-radius: 100px;
    margin: 5px 0px 0px 5px;
}
.priority-low {
    width: 10px;
    height: 10px;
    float: right;
    background: rgb(67, 191, 87);
    border-radius: 100px;
    margin: 5px 0px 0px 5px;
}

#ticketform{
  position: relative;
}
.mention-badge {
  background-color: #e0f3ff;
  color: var(--color-primary);
  padding: 2px 4px;
  border-radius: 4px;
  margin-right: 2px;
  display: inline-block;
}
.dropdown-menu.navbar-dropdown.navbar-dropdown-large.preview-list.show {
  max-height: calc(100vh - 90px);
  overflow-y: scroll !important;
}
#notification_dropdown_view_all{
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid #ddd;
}
.dropdown-item.active, .dropdown-item:active{
  color: #16181b;
}
select.form-control{
    color: #495057;
}
.form-control{
  border: 1px solid #27272a19 !important;
  font-size: 0.9rem;
  padding: 11px 16px;
}
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.fade-out {
  animation: fadeOut 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}
.swal2-show {
    animation: none !important;
}
button.forward_ticket.border-0 {
  float: right;
  width: 20px;
  height: 20px;
  padding: 0;
  background: transparent;
}
.forward_ticket svg {
  width: 20px;
  height: 20px;
}
.forward-ticket{
  display: none;
}
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown, .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown.navbar-dropdown-large {
  left: auto;
  right: 0;
  width: 500px;
  border-radius: 10px;
}
@media (max-width: 600px) {
  .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown, .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown.navbar-dropdown-large {
    width: calc(100% - 30px);
    right: 15px;
  }
}
.navbar-dropdown img.avatar {
  width: 40px;
}
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown .dropdown-item {
  -webkit-box-align: start !important;
  -ms-flex-align: flex-start !important;
  align-items: flex-start !important;
}
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .count-indicator .count-varient1{
  background: #d0222c;
}
span.float-right.mark_all_read {
    color: #4f46e5;
    font-weight: 400;
    font-size: 14px;
}
.sidebar-brand-icon-only-wrapper{
  display: none;
}
@media (min-width: 992px) {
  .sidebar-icon-only .sidebar .nav {
    padding: 0 12px;
  }
  .sidebar-icon-only .sidebar .nav .nav-item .nav-link {
    padding: 12px 0;
  }
  .sidebar-icon-only svg.side_navigation_icon {
    margin: auto !important;
  }
  .sidebar-icon-only .menu-count{
    display: none;
  }
  .sidebar-icon-only h6.sidebar-heading {
    display: none !important;
  }
  .sidebar-icon-only .sidebar .nav .nav-item .menu-title{
    display: none;
  }
  .sidebar-icon-only a.create_new_ticket.btn {
    padding: 0px;
    text-align: center !important;
  }
  .sidebar-icon-only .sidebar .sidebar-brand-wrapper {
    width: 70px;
    display: none !important;
  }
  .sidebar-icon-only .sidebar-brand-icon-only-wrapper{
    display: block;
    padding: 15px 0 18px;
  }
  .sidebar-icon-only .nav-item.department-tickets .em-dash {
    float: none;
    margin: auto;
  }
}
div:where(.swal2-container) {
  z-index: 9999991060 !important;
}

.open-ticket h5 {
    font-size: 14px;
}
.open-ticket p {
    font-size: 14px;
    font-weight: 400;
}
.open-ticket .avatar, .open-ticket .badge {
    width: 20px;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    line-height: 21px;
    height: 20px;
    padding: 0;
    min-width: 20px;
    margin-bottom: 3px;
    margin-top: -1px;
}
.open-ticket small {
    font-size: 70%;
}
.content-wrapper .table td .avatar, .navbar-dropdown .avatar{
  width: 40px;
  border-radius: 100px;
  font-size: 16px;
  text-align: center;
  line-height: 39px;
  height: 40px;
  padding: 0;
  min-width: 20px;
  margin-bottom: 3px;
  margin-top: -1px;
  display: block;
}
img.avatar {
    max-width: 100%;
    border-radius: 100%;
}
@media (max-width: 991px){
  .full-screen-mobile{
    position: absolute;
    top:0;
    left:0;
    right: 0;
    z-index: 99999999;
  }
  .mobile-ticket-topbar{
    -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 0 16px;
    background: #ffffff;
  }
  #ticketform .formdiv {
    margin: 5px;
    width: calc(100% - 10px);
  }
  .mobile-ticket-details{
    padding: 15px;
    margin: 15px;
    background: #f4f4f4; 
  }
  #ticketSubject {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100% - 25px);
  }
  .full-screen-mobile .row, .full-screen-mobile .row .col-lg-9, .full-screen-mobile .row .col-lg-3 {
    margin: 0;
    padding: 0;
  }
}
@media (width >= 96rem) {
  .max-w-6xl {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
  }
}
a.copy {
    background: #ffffffde;
    padding-left: 10px;
}
.ticket-text {
  word-break: break-word;
}
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], textarea {
  font-family: var(--font-family-body);
}
textarea.auto-resize {
  resize: none;
  overflow-y: hidden;
}
.notification-badge-status.mark_as_read.status-new {
  background: #065f68;
  width: 18px;
  height: 18px;
  border-radius: 30px;
  position: absolute;
  border: 2px solid white !important;
  top: -6px;
  left: -6px;
  cursor:pointer;
  padding: 0;
}
.mark_as_read.status-new{
  border: 0 !important;
}

.ticket_list_due_date{
  margin-top: -21px;
  position: relative;
  padding: 0 0 0 20px;
  text-align: right;
  float: right;
  background: #ffffff;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 20%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.status-new .ticket_list_due_date{
  background: #F0F8FF;
  background: linear-gradient(90deg, rgba(240, 248, 255, 0) 0%, rgba(240, 248, 255, 1) 20%);
}
.open-ticket:hover .ticket_list_due_date, .open-ticket:focus .ticket_list_due_date{
  background: #f8f9fa;
  background: linear-gradient(90deg,rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 20%);
}
.open-ticket:active .ticket_list_due_date{
  background: #E9ECEF;
  background: linear-gradient(90deg,rgba(233, 236, 239, 0) 0%, rgba(233, 236, 239, 1) 20%);
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.ticket_list_due_date svg{
  margin: -2px 0 0 3px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.status-new .ticket_list_due_date svg, .open-ticket:active .ticket_list_due_date svg, .open-ticket:hover .ticket_list_due_date svg, .open-ticket:focus .ticket_list_due_date svg{
  fill: #22558c;
}
.open-ticket:hover .ticket_list_due_date svg{
  fill: #000;
}
.rounded-start{
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.rounded-end{
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
#calendar_select_user, #calendar_select_department{
    border: 0 !important;
    border-right: 14px solid transparent !important;
}
.input-group > .form-control + .form-control#calendar_select_department, .input-group > .form-control + .form-control#calendar_select_user{
    margin-left: 1px;
}
a.p-2.notification-popover-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50px !important;
  text-align: center;
  line-height: 40px;
  padding: 0 !important;
}
a.p-2.notification-popover-trigger:hover {
  background-color: #f4f4f4 !important;
}
.my-popover {
  position: absolute;
  z-index: 1020;
  background: white;
  color: black;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: auto;
  display: none;
  padding: 16px;
}
.my-popover .status-new{
  background: white;
  font-weight: 400;
}
.my-popover .fa {
  margin-right: 8px;
}

.my-popover .dropdown-item {
  display: block;
  padding: 8px 15px 8px 14px;
  color: #333;
  text-decoration: none;
  border-bottom: 0px solid #eee;
}

.my-popover .dropdown-item:last-child {
  border-bottom: none;
}

.my-popover .dropdown-item:hover {
  background-color: #f4f4f4;
}
#notificationTable tbody tr:first-child td {
  border-top: 0 !important;
}
#notificationTable{
  border-bottom: 0 !important;
}