/* #d03438 */

h1, h2, h3, h4, h5, h6, p {
    margin-bottom: 8px;
}

.min-height-sm{
    min-height: 300px;
}
.min-height-md{
    min-height: 500px;
}

.bg-inverse-primary {
  background: rgba(105, 111, 251, 0.2); }

.bg-inverse-secondary {
  background: rgba(223, 232, 251, 0.2); }

.bg-inverse-success {
  background: rgba(76, 206, 172, 0.2); }

.bg-inverse-info {
  background: rgba(133, 123, 255, 0.2); }

.bg-inverse-warning {
  background: rgba(255, 111, 89, 0.2); }

.bg-inverse-danger {
  background: rgba(219, 80, 74, 0.2); }

.bg-inverse-light {
  background: rgba(243, 245, 246, 0.2); }

.bg-inverse-dark {
  background: rgba(34, 60, 97, 0.2); }

.bg-inverse-white {
  background: rgba(255, 255, 255, 0.2); }

.hidden{
  display:none;
}
.ajax_loader{
  position:fixed;
  z-index: 1051;
  width:100%;
  height:100%;
  left:0;
  top:0;
  background:rgba(0,0,0,.5);
}
.ajax_loader i{
  position:absolute;
  left:50%;
  top:50%;
}


/* Header */
.t-header {
  display: flex;
  height: 65px;
  background: #fafafa;
  z-index: 100; }
  @media (max-width: 991.98px) {
    .t-header {
      padding-left: 5px;
      padding-right: 5px; } }
  .t-header .t-header-brand-wrapper {
    display: flex;
    align-items: center;
    height: 65px;
    width: 17rem;
    min-width: 17rem;
    max-width: 17rem;
    background: #fff;
    z-index: 100;
    padding-left: 18px; }
    .t-header .t-header-brand-wrapper a {
      display: flex;
      align-items: center;
      color: #f3f5f6;
      font-weight: 500;
      font-size: 1.25rem; }
      .t-header .t-header-brand-wrapper a .logo {
        max-width: 100%;
        width: 110px; }
      .t-header .t-header-brand-wrapper a .logo-mini {
        display: none;
        max-width: 100%;
        width: 35px; }
      .t-header .t-header-brand-wrapper a p {
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
        margin-bottom: 0; }
    @media (max-width: 991.98px) {
      .t-header .t-header-brand-wrapper {
        padding-left: 0;
        justify-content: center; }
        .t-header .t-header-brand-wrapper a .logo-mini {
          /* width: 25px;  */
          width: 70px;
        }
      }
  .t-header .t-header-content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    padding: 0 2.5rem; }
    @media (max-width: 991.98px) {
      .t-header .t-header-content-wrapper {
        padding: 0 1rem; } }
    .t-header .t-header-content-wrapper .t-header-search-box {
      display: flex;
      width: 20%;
      height: 40px;
      background: #fff;
      border-radius: 50px;
      padding: 5px;
      transition: 0.3s ease-in-out;
      transition-property: "width";
      overflow: hidden; }
      @media (max-width: 580px) {
        .t-header .t-header-content-wrapper .t-header-search-box {
          display: none; } }
      .t-header .t-header-content-wrapper .t-header-search-box .form-control {
        height: inherit;
        border: none;
        background: transparent;
        font-size: 1rem;
        font-weight: 500;
        padding-left: 0;
        padding: 5px 20px; }
        .t-header .t-header-content-wrapper .t-header-search-box .form-control.placeholder {
          font-size: inherit;
          font-family: inherit;
          font-weight: inherit; }
        .t-header .t-header-content-wrapper .t-header-search-box .form-control:-moz-placeholder {
          font-size: inherit;
          font-family: inherit;
          font-weight: inherit; }
        .t-header .t-header-content-wrapper .t-header-search-box .form-control::-moz-placeholder {
          font-size: inherit;
          font-family: inherit;
          font-weight: inherit; }
        .t-header .t-header-content-wrapper .t-header-search-box .form-control:-ms-input-placeholder {
          font-size: inherit;
          font-family: inherit;
          font-weight: inherit; }
        .t-header .t-header-content-wrapper .t-header-search-box .form-control::-webkit-input-placeholder {
          font-size: inherit;
          font-family: inherit;
          font-weight: inherit; }
      .t-header .t-header-content-wrapper .t-header-search-box button[type="submit"] {
        height: 100%;
        border-radius: 50px;
        padding: 0 7px;
        box-shadow: 0px 0px 5px -1px #696ffb;
        transition-duration: 0.3s;
        transition-property: "box-shadow"; }
        .t-header .t-header-content-wrapper .t-header-search-box button[type="submit"] i {
          font-size: 15px; }
        .t-header .t-header-content-wrapper .t-header-search-box button[type="submit"]:hover {
          box-shadow: 0px 0px 8px -1px #696ffb; }
    .t-header .t-header-content-wrapper .t-header-content {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 100%; }
      .t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link {
        position: relative; }
      
      @media (max-width: 400px) {
        .t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link {
        padding: 0.5rem .5em;}
      }
      
        .t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link i {
          color: #525c5d; }
        .t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link .notification-indicator {
          position: absolute;
          top: 12px;
          right: 12px; }
      .t-header .t-header-content-wrapper .t-header-content .nav .nav-item:last-child .nav-link {
        padding-right: 0; }
  .t-header .t-header-toggler {
    background: transparent;
    border: none;
    margin-left: auto; }
    .t-header .t-header-toggler i {
      font-size: 1.375rem; }
    .t-header .t-header-toggler.t-header-mobile-toggler {
      margin-left: 0;
      margin-right: 15px; }
  .t-header.fixed-top {
    position: fixed; }

.header-fixed .t-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 100; }

.header-fixed .sidebar {
  padding-top: 65px; }
  .header-fixed .sidebar .t-header-brand-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 17rem;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.05); }
  .header-fixed .sidebar .navigation-menu {
    z-index: 1; }

/* Sidebar */
.sidebar {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100vh;
  width: 17rem;
  min-width: 17rem;
  max-width: 17rem;
  background: #fff; }
  .sidebar .sidebar-header {
    border-bottom: 1px solid #2c3744; }
  .sidebar .user-profile {
    /* padding: 50px 0 0 0; */
    display: flex;
    flex-direction: column;
    /* margin-left: 15px; */
    text-align: center; }
    .sidebar .user-profile .user-name {
      font-weight: 600;
      margin-top: 5px; }
    .sidebar .user-profile .display-income {
      margin-top: 5px;
      color: rgba(16, 16, 16, 0.4); }
  .sidebar .navigation-menu {
    padding-left: 0;
    padding-bottom: 80px;
    margin-bottom: 0;
    margin-top: 18px; }
    .sidebar .navigation-menu li {
      display: block;
      margin: 0;
      transition-duration: 0.25s;
      transition-timing-function: cubic-bezier(0.26, 0.66, 0.45, 0.78);
      transition-property: "background"; }
      .sidebar .navigation-menu li.nav-category-divider {
        position: -webkit-sticky;
        position: sticky;
        top: 64px;
        display: block;
        background: #fff;
        margin: 15px 0px 0px 0px;
        padding: 10px 30px 10px 30px;
        font-size: 10px;
        color: rgba(16, 16, 16, 0.4);
        z-index: 1;
        font-weight: 500; }
        .sidebar .navigation-menu li.nav-category-divider:first-child {
          margin-top: 0; }
      .sidebar .navigation-menu li a {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: flex-end;
        padding: 7px 30px;
        font-size: 13px;
        line-height: 1;
        color: #525c5d;
        letter-spacing: 0.03rem;
        font-weight: 500;
        max-width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden; }
        .sidebar .navigation-menu li a .link-icon {
          margin-right: 15px;
          line-height: 1;
          color: #525c5d;
          font-size: 1.1875rem;
          transition-duration: 0.3s;
          transition-property: "margin-right"; }
      .sidebar .navigation-menu li:last-child a {
        border-bottom: none; }
      .sidebar .navigation-menu li .navigation-submenu {
        background: #fafafa;
        padding: 0px 0 10px 30px; }
        .sidebar .navigation-menu li .navigation-submenu.collapsing {
          transition: 0.2s ease-in; }
        .sidebar .navigation-menu li .navigation-submenu li {
          display: inherit; }
          .sidebar .navigation-menu li .navigation-submenu li a {
            display: block;
            padding: calc(9px) 30px calc(9px) calc(30px + 2px);
            opacity: 0.5;
            letter-spacing: 0.03rem;
            font-weight: 500;
            font-size: calc(13px - 1px);
            transition: 0.3s ease-in-out;
            transition-property: color; }
            .sidebar .navigation-menu li .navigation-submenu li a[data-toggle="collapse"] {
              position: relative; }
              .sidebar .navigation-menu li .navigation-submenu li a[data-toggle="collapse"]:after {
                content: "";
                height: 7px;
                width: 7px;
                border-radius: 25px;
                position: absolute;
                right: calc(30px + 4px);
                top: 14px; }
            .sidebar .navigation-menu li .navigation-submenu li a.active {
              opacity: 0.7;
              color: #101010; }
            .sidebar .navigation-menu li .navigation-submenu li a:hover {
              opacity: 0.7;
              color: #101010; }
          .sidebar .navigation-menu li .navigation-submenu li:first-child a {
            padding-top: 10px; }
            .sidebar .navigation-menu li .navigation-submenu li:first-child a:after {
              top: 15px; }
          .sidebar .navigation-menu li .navigation-submenu li:nth-child(5n + 1) a:after {
            background: #4CCEAC; }
          .sidebar .navigation-menu li .navigation-submenu li:nth-child(5n + 2) a:after {
            background: #696ffb; }
          .sidebar .navigation-menu li .navigation-submenu li:nth-child(5n + 3) a:after {
            background: #DB504A; }
          .sidebar .navigation-menu li .navigation-submenu li:nth-child(5n + 4) a:after {
            background: #FF6F59; }
          .sidebar .navigation-menu li .navigation-submenu li:nth-child(5n + 5) a:after {
            background: #857bff; }
          .sidebar .navigation-menu li .navigation-submenu li .navigation-submenu {
            padding-left: 0px; }
            .sidebar .navigation-menu li .navigation-submenu li .navigation-submenu li a {
              opacity: 0.5; }
      .sidebar .navigation-menu li.active a .link-title {
        color: #d03438; }
      .sidebar .navigation-menu li.active a .link-icon {
        color: #d03438; }
    .sidebar .navigation-menu > li:not(.nav-category-divider):hover a:not([aria-expanded="true"]) .link-icon {
      margin-right: 20px;
      color: #d03438; }
    .sidebar .navigation-menu > li:not(.nav-category-divider) > a[data-toggle="collapse"] {
      position: relative; }
      .sidebar .navigation-menu > li:not(.nav-category-divider) > a[data-toggle="collapse"]:after {
        content: "\f142";
        font-family: "Material Design Icons";
        font-size: 15px;
        text-rendering: auto;
        line-height: inherit;
        font-weight: bolder;
        position: absolute;
        top: 13px;
        right: 30px;
        display: block;
        transition: 0.3s;
        transition-property: -webkit-transform;
        transition-property: transform;
        transition-property: transform, -webkit-transform;
        color: #839092; }
      .sidebar .navigation-menu > li:not(.nav-category-divider) > a[data-toggle="collapse"][aria-expanded="true"] {
        background: #fafafa; }
        .sidebar .navigation-menu > li:not(.nav-category-divider) > a[data-toggle="collapse"][aria-expanded="true"]:after {
          -webkit-transform: rotate(90deg);
                  transform: rotate(90deg); }

/* Footer */
footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto; }
  @media (max-width: 991.98px) {
    footer {
      padding: 20px 0px 30px 0;
      height: 150px !important; } }
  footer ul {
    margin-left: 0;
    padding-left: 0; }
    footer ul li {
      display: inline-block;
      padding: 0 10px 0 0;
      line-height: 1; }
      footer ul li:not(:last-child) {
        margin-right: 10px;
        border-right: 1px solid #f2f4f9; }
      footer ul li a {
        font-weight: 600;
        letter-spacing: 0.03rem;
        color: #565656; }

/* Layout */
.page-body {
  background: #fff; }

.page-content-wrapper {
  background: #fafafa;
  border-left: 1px solid #f2f4f9; }

@media (min-width: 992px) {
  .t-header .t-header-content-wrapper {
    border-left: 1px solid #fafafa; } }

@media print{
    .page-body .page-content-wrapper{
        min-height: auto !important;
    }
}

@media (min-width: 768px) {
  .page-body {
    position: relative;
    display: grid;
    max-width: 100%;
    grid-template-columns: 17rem calc(100vw - 17rem);
    transition: 0.3s; }
    .page-body .page-content-wrapper {
      position: relative;
      width: 100%;
      min-height: 100vh;
      padding: 1.5rem 2.5rem calc(150px + 1.5rem);
      margin-top: 65px; }
      .page-body .page-content-wrapper .page-content-wrapper-inner {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto; }
        .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header {
          position: -webkit-sticky;
          position: sticky;
          top: 65px;
          background: #fbfcfd;
          z-index: 99; }
          .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .breadcrumb {
            padding: 1rem 1rem 1rem 21px;
            margin-left: -20px;
            margin-right: -20px;
            background: #fbfcfd; }
            .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .breadcrumb .breadcrumb-item {
              color: #565656;
              letter-spacing: 0.03rem;
              font-weight: 500; }
              .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .breadcrumb .breadcrumb-item a {
                color: inherit; }
              .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .breadcrumb .breadcrumb-item.active {
                color: #696ffb; }
          .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .page-title-heading {
            color: #565656;
            font-size: 1.5rem;
            font-weight: 500;
            margin-bottom: 0; }
          .page-body .page-content-wrapper .page-content-wrapper-inner .viewport-header .page-description {
            opacity: 0.7;
            margin-top: 15px; } }

@media (max-width: 991.98px) {
  .t-header {
    width: 100vw; }
    .t-header .t-header-brand-wrapper {
      background: #fbfcfd;
      /* width: 4rem; */
      width: 10rem;
      min-width: 4rem;
      /* max-width: 4rem;  */
  }
      .t-header .t-header-brand-wrapper a .logo {
        -webkit-animation-name: menuItemFadeIn;
                animation-name: menuItemFadeIn;
        -webkit-animation-duration: 0.25s;
                animation-duration: 0.25s;
        -webkit-animation-fill-mode: both;
                animation-fill-mode: both;
        display: none; }
  @-webkit-keyframes menuItemFadeIn {
    from {
      -webkit-transform: translate3d(-20px, 0, 0);
              transform: translate3d(-20px, 0, 0);
      display: none;
      opacity: 0; }
    to {
      display: block;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
      opacity: 1; } }
  @keyframes menuItemFadeIn {
    from {
      -webkit-transform: translate3d(-20px, 0, 0);
              transform: translate3d(-20px, 0, 0);
      display: none;
      opacity: 0; }
    to {
      display: block;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
      opacity: 1; } }
      .t-header .t-header-brand-wrapper a .logo-mini {
        display: block; }
  .page-body {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    max-width: 100%; }
    .page-body .sidebar {
      position: relative;
      left: 0px;
      z-index: 99;
      width: 15rem;
      min-width: 15rem;
      max-width: 15rem;
      margin-left: -15rem;
      overflow-x: hidden;
      transition-duration: 0.2s;
      transition-timing-function: ease-in-out;
      transition-property: "margin-left", "width"; }
    .page-body .page-content-wrapper {
      padding: 20px 20px;
      min-width: 100vw;
      margin-left: 0;
      transition-duration: 0.2s;
      transition-timing-function: ease-in-out;
      transition-property: "margin-left"; }
      .page-body .page-content-wrapper .viewport-header .breadcrumb {
        background: transparent;
        padding-left: 0; }
      .page-body .page-content-wrapper footer {
        position: relative; }
    .page-body.sidebar-collpased .sidebar {
      margin-left: 0;
      min-width: 15rem; } }

@media (max-width: 767.98px) {
  .page-body .page-content-wrapper {
    padding: 80px 0; }

  .sidebar .user-profile {
    padding: 0 !important;}
 }

@media (max-width: 400px) {
  /* .page-body .page-content-wrapper {
    padding: 80px 0px 50px 0px; } */
  footer{
    position: relative;
      }}

.navbar-dropdown .dropdown-body .dropdown-grid{
    width: 30%;
}

.notification-indicator-primary{
    background: #d03438;
}
.notification-indicator-primary:before{
    background: rgba(251, 105, 112, 0.5);
}

a, a:hover, .navbar-dropdown .dropdown-body .dropdown-grid:hover .grid-icon{
    color: #d03438;
}

.center-panel{
    background: #fff;
    max-width: 100%;
    width: 100%;
    padding: 20px 35px;
    /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; */
    border-radius: 6px;
    border: 1px solid rgba(218, 218, 218, 0.35);
}

.grid{
    /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; */
}

.display-avatar.animated-avatar:before{
    background-color: #28a745;
    background-image: -webkit-linear-gradient(289deg, #28a745 0%, #cbe6ae 100%);
    background-image: -o-linear-gradient(289deg, #28a745 0%, #cbe6ae 100%);
    background-image: linear-gradient(19deg, #28a745 0%, #cbe6ae 100%);
}

label.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* input slider switch */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.upload-demo-wrap {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.btn-primary {
    background-color: #d03438;
    border-color: #d03438;
}
.btn-primary:hover{
    background-color: #d03438;
    border-color: #d03438;
}
.btn-outline {
  color: white;
  border: 1px solid;
  border-color: white;
  text-transform: capitalize;
}
.btn.btn-outline.reverse{
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
  background-color: #fff;
}

.fc-ltr .btn-primary {
  background: #fff;
  color: black;
  border: 1px solid #f3f5f6;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

.btn.btn-outline.reverse.negative,  .fc-ltr .btn-primary:not(:disabled):not(.disabled).active, .fc-ltr .btn-primary:not(:disabled):not(.disabled):active, .fc-ltr .show>.btn-primary.dropdown-toggle{
  color: #fff;
  border: 1px solid #d03438;
  background-color: #d03438;
}

.page-link {
    color: #d03438;
}

.page-link:hover {
    color: #d03438;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255, 0);
}

.page-item.active .page-link {
    background-color: #d03438;
    border-color: #d03438;
}

.card-list {
    overflow: visible;
    position: relative;
    border: 1px solid #ebebeb !important;
    border-radius: 0 !important;
    text-align: center;
    padding: 5px;
    height: 250px;
    background-color: #fff;
    /* color: rgb(136, 172, 217); */
}

.card.card-list .avatar img{
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
    border: 3px solid #fff;
}

.card-list div.options{
    cursor: pointer;
    position: absolute;
    bottom: 0;
    padding: 15px 10px 0px 10px;
    right: 0;
}

.grid-header{
    border-left: 3px solid #d03438;
    font-size: 1.2em;
    margin-bottom: 0;
}

hr{
    margin-top: 15px;
}

#chat-lobby .list-group-item:first-child, #chat-lobby .list-group-item:last-child {
    border-radius: 0;
}

#chat-lobby .list-group-item p{
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

#chat-lobby .list-group-item p {
    max-width: 350px;
}

@media (max-width: 400px) {
    #chat-lobby .list-group-item p {
        max-width: 150px;
    }
}

#chat-lobby .list-group-item{
    border: 0;
}

#chat-lobby .list-group-item.hover{
  background-color: #e6ecf0;
  border-color: #e6ecf0;
}

#chat-lobby .list-group-item.new{
    background-color: #e6ecf0;
}

#chat-lobby .list-group-item .photo, h4 div.photo{
    width: 55px;
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    background-position: center center !important;
    background-size: contain !important;
    /* margin: auto; */
}
#chat-lobby h4 div.photo{
    width: 45px;
    min-width: 45px;
    height: 45px;
    display: inline-block;
}

#chat-lobby .panel, #chat-lobby .center-panel{
    height:auto;
}

#chat-lobby .panel{
    /*min-width: 525px;*/
}

#chat-lobby .list-group{
    height: 600px;
    overflow-y:auto;
    overflow-x:hidden;
}

@media (max-width: 1800px) {
    #chat-lobby .list-group{
        height: 500px;
        overflow-y:auto;
        overflow-x:hidden;
    }
}

#chat-lobby .message-input.panel{
    height:auto;
    border: 1px solid #cacaca;
    background: #F6F7F8;;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#chat-lobby .msg-container{
    position: relative;
}

#chat-lobby .msg-container .contact-image{
    width: 35px;
    height: 35px;
    background-position: center center !important;
    background-size: contain !important;
    display: inline-block;
    /* float: left; */
    bottom: 0;
    position: absolute;
    border-radius: 50%;
    margin-bottom: 17px;
}

#chat-lobby .msg.user {
    min-width: 200px;
    max-width: 80%;
    width: -moz-fit-content;
    color: #fff;
	position: relative;
	background: #d03438;
	border-radius: .4em;
    padding: 10px;
}

#chat-lobby .msg.contact {
    min-width: 200px;
    max-width: 80%;
    width: -moz-fit-content;
    width: fit-content;
    display: table;
	position: relative;
    /* float: left; */
	background: #ececec;
	border-radius: .4em;
    padding: 10px;
}

#chat-lobby .msg p{
    font-size: 15px;
    margin-bottom: 2px;
}

#chat-lobby .msg small{
    font-size: 60%;
}
#chat-lobby .msg.user small{
    float: right;
}

#chat-lobby .group-chat-icon {
  width: 55px;
  height: 55px;
  background: #e4e6e7;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  color: #aeb4b7;
}

#side-bar .list-group .list-group-item {
    border-radius: 0;
    border-left: none;
    border-right: none;
    cursor: pointer;
    padding-top: 6px;
    padding-bottom: 6px;
}

.fc-event { 
  border-radius: 0 !important;  
}

.fc-event, .fc-event-dot, .fc-event.scheduled, #addNewAppointment #status-color.scheduled,
.client.client_response_attending.coach_response_no_answer,
.coach.client_response_no_answer.coach_response_attending,
.coach.client_response_not_attending.coach_response_attending,
.client.client_response_attending.coach_response_not_attending
{
    background-color: #d03438;
    border-color: #d03438;
}

.fc-event.coach_response_attending, #addNewAppointment #status-color.coach_response_attending,
.fc-event.client_response_attending, #addNewAppointment #status-color.client_response_attending {
    background-color: #696ffb;
    border-color: #696ffb;
}

.fc-event.cancelled, #addNewAppointment #status-color.cancelled {
    background-color: #665555 !important;
    border-color: #665555 !important;
}

.fc-event .fc-title, .fc-event .fc-time{
    color: #fff;
}

.fc-event.outside_booking, #addNewAppointment #status-color.outside_booking{
    background-color: #ea777a;
    border-color: #ea777a;
}

.fc-event.outside_booking.cancelled, .fc-event.expired, #addNewAppointment #status-color.expired{
    background-color: #afafaf !important;
    border-color: #afafaf !important;
}

.fc-event.attended, #addNewAppointment #status-color.attended{
    background-color: #45d466 !important;
    border-color: #45d466 !important;
}

.fc-event.remote{
    background-color: #17a2ba;
    border-color: #17a2ba;
}

.event-legend li{
    list-style: none;
}

.event-legend li div.legend-palette{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    display: inline-block;
}

.event-legend li div.legend-palette.attended{
    background-color: #3ea957;
}
.event-legend li div.legend-palette.incoming{
    background-color: #d03438;
}
.event-legend li div.legend-palette.going{
    background-color: #696ffb;
}
.event-legend li div.legend-palette.expired{
    background-color: #afafaf;
}
.event-legend li div.legend-palette.cancelled {
    background-color: #665555;
}
.event-legend li div.legend-palette.remote{
    background-color: #17a2ba;
}

.dropdown-menu {
    position: absolute;
}

#coach-client-list div.photo{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

#coach-client-list .list-group a{
    border: 0;
}

.datepicker table tr td.active.active, .datepicker table tr td span.active.active{
    background-color: #d03438 !important;
    background-image: none !important;
}

.dropdown:hover{
    cursor: pointer;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #d03438;
    border-color: #d03438;
}

ul.profile-checklist {
    list-style-type: none;
    position: relative;
}
ul.profile-checklist:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 34px;
    width: 2px;
    height: 95%;
    z-index: 2;
}
ul.profile-checklist > li {
    margin: 20px 0;
    padding-left: 20px;
}
ul.profile-checklist > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #e1e3e4;
    left: 20px;
    width: 30px;
    height: 30px;
    z-index: 2;
}
ul.profile-checklist > li.finished:before {
    content: '\2713';
    text-align: center;
    border: 3px solid #6dcc6d;
}

.bg-docx, .bg-doc, .bg-word{
    background: #2a579a;
}
.bg-xls, .bg-xlsx, .bg-csv{
    background: #217345;
}
.bg-pptx, .bg-ppt{
    background: #d14826;
}
.bg-pdf{
    background: #6c757d;
}
.bg-vid{
    background: #dc2430;
}

table.details tr:nth-child(odd) td, table.details tr td label.label {
    width: 50%;
    font-size: 12px;
    color: #838383;
    padding: 5px 0px;
    margin: 0;
}

table.details tr:nth-child(even) td {
    padding-right: 15px;
}


table.details textarea {
    width: 100%;
    height: 70px;
    color: #0b2143;
    resize: none;
}

.bootstrap-datetimepicker-widget .picker-switch .fa.fa-clock-o::before,
.bootstrap-datetimepicker-widget .picker-switch .fa.fa-calendar::before{
    margin: 0 auto;
    font-size: 25px;
}

.bootstrap-datetimepicker-widget .timepicker table td span{
    display: inline-block !important;
}
.bootstrap-datetimepicker-widget table td span:hover{
    background: #fff;
}

.head-spacer{
  margin-top: 5rem!important;
}

.sidebar .user-profile .header-bg{
    /* This stretches the canvas across the entire hero unit */
    position: absolute;
    top: 65;
    left: 0;
    width: 100%;
    height: 70px;
    border-bottom: 1px #FFF solid;
    object-fit: cover;
    /* margin-left: 18px; */
    /* This positions the canvas under the text */
    /* z-index: 1; */
}

.card .card-img-top.package-preview{
    height: 100px;
    object-fit: cover;
}

.timeline-vertical .activity-log:before{
    background: #d03438;
}
.timeline-vertical .activity-log{
    /* grid-template-columns: auto 100px; */
    grid-template-columns: auto;
    grid-template-rows: auto auto;
}
.timeline-vertical .activity-log:hover{

}
.timeline-vertical .activity-log .log-time{
    font-size: 11px;
}
.timeline-vertical{
    width: auto;
}
.timeline-vertical .activity-log:after{
    border-left: 1px dashed #dcdcdc;
}
.timeline-vertical {
    padding-right: 10px;
}
.dashboard-timeline{
    max-height: 200px;
}

.btn-dark{
    color: #fff;
    background-color: #8c929a;
    border-color: #8c929a;
}

.owl-prev {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    margin-left: -20px;
    display: block !important;
    border:0px solid black;
}
.owl-next {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 40%;
    right: -20px;
    display: block !important;
    border:0px solid black;
}
.owl-prev i, .owl-next i {
    transform : scale(1.5);
    color: #ccc;
}

@media (min-width: 768px){
    .page-body .page-content-wrapper .page-content-wrapper-inner{
        max-width: 1500px;
    }
}

.modal-dialog-slideout {min-height: 100%; margin: 0 0 0 auto;background: #fff;}
.modal.fade .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(100%,0)scale(1);transform: translate(100%,0)scale(1);}
.modal.fade.show .modal-dialog.modal-dialog-slideout {-webkit-transform: translate(0,0);transform: translate(0,0);display: flex;align-items: stretch;-webkit-box-align: stretch;height: 100%;}
.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body{overflow-y: auto;overflow-x: hidden;}
.modal-dialog-slideout .modal-content{border: 0;}
/* .modal-dialog-slideout .modal-header, .modal-dialog-slideout .modal-footer {height: 69px; display: block;} */
.modal-dialog-slideout .modal-header h5 {float:left;}

.emojionearea.focused {
    border-color: #cccccc !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: inset none !important;
}

.breadcrumb-item + .breadcrumb-item::before{
    content: ">";
}

.btn-primary.disabled, .btn-primary:disabled{
    color: #fff;
    background-color: #ababab;
    border-color: #ababab;
}

.chat-message-preview {
  max-width: 800px;
}

.form-wrap.form-builder .frmb>li:hover {
  box-shadow: none !important;
  border: 1px solid #f8f8f8 !important;
  background-color: #f8f8f8;
}

.form-wrap.form-builder .frmb li:first-child {
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.form-wrap.form-builder .frmb li:last-child {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.form-wrap.form-builder .frmb .prev-holder select,
.form-wrap.form-builder .frmb .prev-holder input[type='text'],
.form-wrap.form-builder .frmb .prev-holder textarea,
.form-wrap.form-builder .frmb .prev-holder input[type='number'],
.form-wrap.form-builder .frmb .field-actions .btn {
  box-shadow: none !important;
}

.form-wrap.form-builder .frmb .form-elements [contenteditable].form-control,
.form-wrap.form-builder .frmb .form-elements input[type='text'],
.form-wrap.form-builder .frmb .form-elements input[type='number'],
.form-wrap.form-builder .frmb .form-elements input[type='date'],
.form-wrap.form-builder .frmb .form-elements input[type='color'],
.form-wrap.form-builder .frmb .form-elements textarea,
.form-wrap.form-builder .frmb .form-elements select {
  border: 1px solid #d8d8d8 !important;
}

.form-wrap.form-builder .frmb .field-actions .btn:first-child,
.form-wrap.form-builder .frmb .field-actions .btn:last-child {
  border-radius: 0 !important;
}

.form-wrap.form-builder .frmb .field-actions .toggle-form:hover {
  background-color: #cdcdcd !important;
}

.form-wrap.form-builder .frmb li.deleting, .form-wrap.form-builder .frmb li.delete:hover, .form-wrap.form-builder .frmb li:hover li.delete:hover {
  border: 1px solid #fdd !important;
}

.form-wrap.form-builder .tooltip-element {
  background: #c4c4c4 !important;
}

.form-wrap.form-builder .frmb li.frmb-placeholder, .form-wrap.form-builder .frmb li.ui-state-highlight{
  background: radial-gradient(ellipse at center, #dddddd 0%, rgba(0,0,0,0) 75%) !important;
}

.form-builder-dialog{
  border-radius: 0 !important;
  box-shadow: none !important;
}

.form-wrap.form-builder .frmb .sortable-options input[type='text'] {
  width: calc(90% - 17px) !important;
}

.loader {
  border: 12px solid #f3f3f3;
  border-radius: 50%;
  border-top: 12px solid #d8d8d8;
  width: 80px;
  height: 80px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 400px) {
  .t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link .notification-indicator {
    right: 5px !important;
  }
}

.driver-overlay {
  pointer-events: unset !important;
}

#pwd, .show-pwd {
  height: 33.5px !important;
  border: 1px solid #dfe3eb !important;
  border-left: 0;
  box-shadow: none !important;
  color: #cecece !important;
}

#pwd:hover, .show-pwd:hover {
  background-color: #fff;
  color: #000 !important;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

.live-search-list .user.card {
  border: 1px solid #e3e6f0;
  cursor: pointer;
}

.live-search-list .user.card .card-body.active {
  border: 2px solid rgb(160, 160, 160);
  background: rgb(223, 223, 223);
}