/*------------------------------------------------------------------
[Table of contents]

1. Container / .ks-tickets-page
2. Empty ticket / .ks-tickets-page > .ks-empty
3. Tickets list / .ks-tickets-page > .ks-tickets
4. Tickets manage / .ks-tickets-page > .ks-manage
5. Ticket view and reply / .ks-tickets-page > .ks-view
-------------------------------------------------------------------*/
.ks-tickets-page {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 100%; }
  .ks-tickets-page > .ks-empty {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    background-color: rgba(57, 81, 155, 0.05);
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column; }
    .ks-tickets-page > .ks-empty > .ks-icon {
      font-size: 62px;
      color: rgba(57, 81, 155, 0.1);
      margin-bottom: 20px; }
    .ks-tickets-page > .ks-empty > .ks-text {
      width: 230px;
      font-size: 14px;
      font-weight: normal;
      line-height: 1.5;
      color: rgba(51, 51, 51, 0.6);
      margin-bottom: 20px;
      text-align: center; }
  .ks-tickets-page > .ks-tickets {
    width: 390px;
    min-width: 390px;
    border-right: 1px solid rgba(57, 81, 155, 0.2);
    background: #fff; }
    .ks-tickets-page > .ks-tickets > .ks-controls {
      height: 56px;
      border-bottom: 1px solid rgba(57, 81, 155, 0.2);
      padding: 10px;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      -js-display: flex;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
          -ms-flex-pack: justify;
              justify-content: space-between; }
      .ks-tickets-page > .ks-tickets > .ks-controls .input-icon {
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
            -ms-flex-positive: 1;
                flex-grow: 1; }
      .ks-tickets-page > .ks-tickets > .ks-controls > .ks-actions .btn {
        margin-left: 8px; }
    .ks-tickets-page > .ks-tickets > .ks-body ul {
      list-style: none;
      padding: 0;
      margin: 0; }
    .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket {
      border-bottom: 1px solid #dee0e1; }
      .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.active, .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.ks-active {
        background: #ebeef5;
        color: #333333;
        position: relative; }
        .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.active::before, .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.ks-active::before {
          content: '';
          width: 4px;
          height: 100%;
          background: #d7dceb;
          display: block;
          position: absolute;
          top: 0;
          left: 0; }
      .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.ks-unread {
        background: rgba(247, 202, 24, 0.1); }
        .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.ks-unread > a {
          font-weight: 500; }
      .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket.ks-closed > a {
        opacity: 0.7; }
      .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        -js-display: flex;
        display: flex;
        color: #333333;
        padding: 15px 20px; }
        .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a:after {
          content: "";
          display: table;
          clear: both; }
        .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-avatar {
          margin-right: 12px; }
          .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-avatar > img {
            width: 36px;
            height: 36px; }
        .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body {
          -webkit-box-flex: 1;
          -webkit-flex-grow: 1;
              -ms-flex-positive: 1;
                  flex-grow: 1; }
          .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body > .ks-message {
            font-size: 12px; }
          .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body > .ks-name {
            margin-bottom: 4px; }
            .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body > .ks-name:after {
              content: "";
              display: table;
              clear: both; }
            .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body > .ks-name > .ks-time {
              float: right;
              text-transform: uppercase;
              font-size: 10px;
              font-weight: normal;
              color: #858585;
              position: relative;
              top: 3px; }
          .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body .ks-ticket-status, .ks-tickets-page > .ks-tickets > .ks-body .ks-ticket > a > .ks-body .ks-ticket-tag {
            margin-top: 7px;
            margin-right: 5px;
            font-size: 10px;
            font-weight: 500;
            line-height: 1.2;
            padding: 3px 4px 2px 4px; }
  .ks-tickets-page > .ks-manage {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    background: #fff; }
    .ks-tickets-page > .ks-manage > .ks-header {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      -js-display: flex;
      display: flex;
      padding: 20px;
      padding-bottom: 0;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
          -ms-flex-pack: justify;
              justify-content: space-between; }
      .ks-tickets-page > .ks-manage > .ks-header > span {
        font-size: 14px;
        font-weight: 500;
        line-height: 36px; }
      .ks-tickets-page > .ks-manage > .ks-header > .btn {
        padding: 10px 25px; }
    .ks-tickets-page > .ks-manage > .ks-body form {
      padding: 20px; }
  .ks-tickets-page > .ks-view {
    padding: 0;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    background: #fff; }
    .ks-tickets-page > .ks-view > .ks-body {
      -webkit-box-flex: 1;
      -webkit-flex-grow: 1;
          -ms-flex-positive: 1;
              flex-grow: 1; }
      .ks-tickets-page > .ks-view > .ks-body > .ks-reply {
        padding: 20px;
        border-bottom: 1px solid rgba(57, 81, 155, 0.2); }
        .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-header {
          display: -webkit-box;
          display: -webkit-flex;
          display: -ms-flexbox;
          -js-display: flex;
          display: flex;
          -webkit-box-pack: justify;
          -webkit-justify-content: space-between;
              -ms-flex-pack: justify;
                  justify-content: space-between;
          -webkit-box-align: center;
          -webkit-align-items: center;
              -ms-flex-align: center;
                  align-items: center; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-header > .ks-info > .ks-message {
            display: block;
            margin-bottom: 5px; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-header > .ks-info > .ks-status {
            margin-right: 10px; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-header > .ks-info > .ks-time {
            font-size: 12px;
            font-weight: 400;
            color: rgba(51, 51, 51, 0.6); }
          .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-header > .ks-actions .btn + .btn {
            margin-left: 10px; }
        .ks-tickets-page > .ks-view > .ks-body > .ks-reply > .ks-editor {
          margin-top: 20px; }
      .ks-tickets-page > .ks-view > .ks-body > .ks-messages ul {
        list-style: none;
        padding: 0;
        margin: 0; }
      .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message {
        border-bottom: 1px solid rgba(57, 81, 155, 0.2); }
        .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message.ks-unread {
          background: rgba(247, 202, 24, 0.1); }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message.ks-unread > a .ks-name {
            color: #333333; }
        .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body {
          color: #333333;
          padding: 15px 20px;
          display: -webkit-box;
          display: -webkit-flex;
          display: -ms-flexbox;
          -js-display: flex;
          display: flex;
          -webkit-box-flex: 1;
          -webkit-flex: 1 auto;
              -ms-flex: 1 auto;
                  flex: 1 auto 0%; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-avatar {
            margin-right: 12px; }
            .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-avatar > img {
              width: 36px;
              height: 36px;
              -webkit-border-radius: 50%;
                      border-radius: 50%; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content {
            -webkit-box-flex: 1;
            -webkit-flex: auto 1;
                -ms-flex: auto 1;
                    flex: auto 1 0%; }
            .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content > .ks-message {
              font-size: 12px;
              color: rgba(51, 51, 51, 0.6); }
            .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content > .ks-name {
              font-weight: 500;
              color: #25628F;
              margin-bottom: 4px; }
              .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content > .ks-name:after {
                content: "";
                display: table;
                clear: both; }
              .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content > .ks-name > .ks-time {
                float: right;
                text-transform: uppercase;
                font-size: 10px;
                font-weight: normal;
                color: #858585;
                position: relative;
                top: 3px; }
              .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content > .ks-name > .ks-user-type {
                padding: 3px 4px;
                margin-left: 10px; }
            .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content .ks-ticket-status, .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message > .ks-body .ks-content .ticket-tag {
              margin-top: 7px;
              margin-right: 5px;
              font-size: 10px;
              font-weight: 500;
              line-height: 1.2;
              padding: 3px 4px; }
        .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box > ul {
          margin-left: 69px;
          margin-top: -10px;
          margin-bottom: 20px; }
        .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item {
          display: inline-block;
          cursor: pointer;
          margin-right: 10px;
          margin-top: 10px;
          position: relative; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item:hover > .ks-thumb {
            border: solid 1px #42a5f5; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item > .ks-thumb {
            width: 90px;
            height: 90px;
            -webkit-border-radius: 2px;
                    border-radius: 2px;
            background-color: #ffffff;
            border: solid 1px rgba(57, 81, 155, 0.2);
            margin-bottom: 5px;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            -js-display: flex;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
                -ms-flex-align: center;
                    align-items: center;
            text-align: center;
            font-size: 45px;
            color: #25628F; }
            .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item > .ks-thumb::before {
              width: 100%; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item > img.thumb {
            border: none; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item > .ks-filename {
            display: block;
            font-size: 12px;
            font-weight: 400;
            color: #333333; }
          .ks-tickets-page > .ks-view > .ks-body > .ks-messages li.ks-message .ks-files-box .ks-file-item > .ks-size {
            position: relative;
            top: -2px;
            font-size: 10px;
            color: rgba(51, 51, 51, 0.6); }
    .ks-tickets-page > .ks-view .ks-tickets-view-info {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      -js-display: flex;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
          -ms-flex-direction: column;
              flex-direction: column;
      width: 290px;
      border-left: 1px solid rgba(57, 81, 155, 0.2); }
      .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane {
        padding: 0;
        height: 100%; }
      .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-content {
        height: 100%; }
      .ks-tickets-page > .ks-view .ks-tickets-view-info .ks-tabs-container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        -js-display: flex;
        display: flex;
        border: none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        height: 100%; }
        .ks-tickets-page > .ks-view .ks-tickets-view-info .ks-tabs-container .ks-nav-tabs .nav-item {
          width: 50%;
          text-align: center; }
      .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        -js-display: flex;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        height: 100%; }
        .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content > .ks-body {
          padding: 30px;
          -webkit-box-flex: 1;
          -webkit-flex-grow: 1;
              -ms-flex-positive: 1;
                  flex-grow: 1; }
        .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content > .ks-footer {
          border-top: 1px solid rgba(57, 81, 155, 0.2);
          padding: 30px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content > .ks-footer td {
            padding-bottom: 10px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content > .ks-footer td:first-child {
            width: 80px;
            color: rgba(51, 51, 51, 0.6); }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content > .ks-footer tr:last-child td {
            padding-bottom: 0; }
        .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box {
          margin-bottom: 20px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box:after {
            content: "";
            display: table;
            clear: both; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box > .ks-avatar {
            margin-right: 12px;
            float: left; }
            .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box > .ks-avatar > img {
              width: 36px;
              height: 36px;
              -webkit-border-radius: 50%;
                      border-radius: 50%;
              position: relative;
              top: 2px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box > .ks-body {
            float: left; }
            .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-contact-box > .ks-body > .ks-name {
              font-weight: 500;
              color: #333333; }
        .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box {
          margin-bottom: 20px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box > .ks-header {
            color: rgba(51, 51, 51, 0.6);
            margin-bottom: 5px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box:last-child {
            margin-bottom: 0; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box > .ks-user-info img {
            display: inline-block;
            margin-right: 5px; }
          .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box > .ks-tags > .badge {
            margin-right: 5px; }
            .ks-tickets-page > .ks-view .ks-tickets-view-info .tab-pane-content .ks-info-box > .ks-tags > .badge:last-child {
              margin-right: 0; }

@media screen and (max-width: 1200px) {
  .btn.ks-tickets-navigation-block-toggle {
    position: static; }
  .ks-tickets-page > .ks-navigation {
    position: fixed;
    top: 120px;
    bottom: 0;
    left: -250px;
    z-index: 3;
    height: 100%; }
    .ks-tickets-page > .ks-navigation.ks-open {
      left: 0;
      -webkit-transition: left .2s ease;
      transition: left .2s ease; }
  .ks-tickets-page > .ks-manage .form-group > label {
    display: block; } }

@media screen and (max-width: 880px) {
  .ks-tickets-page > .ks-tickets {
    width: 300px;
    min-width: 300px; } }

@media screen and (max-width: 780px) {
  .ks-tickets-page > .ks-tickets {
    width: 100%; }
  .ks-tickets-page > .ks-view {
    position: fixed;
    z-index: 2;
    height: 100%;
    top: 120px;
    width: 100%;
    visibility: hidden;
    right: -1000px; }
    .ks-tickets-page > .ks-view > .ks-tickets-view-info {
      display: none; }
    .ks-tickets-page > .ks-view > .ks-header > .ks-mail-controls .btn {
      width: 38px;
      padding: 0; }
      .ks-tickets-page > .ks-view > .ks-header > .ks-mail-controls .btn > .ks-icon {
        margin: 0; }
      .ks-tickets-page > .ks-view > .ks-header > .ks-mail-controls .btn > .ks-text {
        display: none; }
    .ks-tickets-page > .ks-view.ks-open {
      visibility: visible;
      right: 0;
      -webkit-transition: right .2s ease;
      transition: right .2s ease; } }
