/*------------------------------------------------------------------
[Table of contents]

1. Container / .tickets-page
2. Empty ticket / .tickets-page > .empty
3. Tickets list / .tickets-page > .tickets
4. Tickets manage / .tickets-page > .manage
5. Ticket view and reply / .tickets-page > .view
-------------------------------------------------------------------*/
.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%; }
  .tickets-page > .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; }
    .tickets-page > .empty > .icon {
      font-size: 62px;
      color: rgba(57, 81, 155, 0.1);
      margin-bottom: 20px; }
    .tickets-page > .empty > .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; }
  .tickets-page > .tickets {
    width: 390px;
    min-width: 390px;
    border-right: 1px solid rgba(57, 81, 155, 0.2);
    background: #fff; }
    .tickets-page > .tickets > .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; }
      .tickets-page > .tickets > .controls .input-icon {
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
            -ms-flex-positive: 1;
                flex-grow: 1; }
      .tickets-page > .tickets > .controls > .actions .btn {
        margin-left: 8px; }
    .tickets-page > .tickets > .body ul {
      list-style: none;
      padding: 0;
      margin: 0; }
    .tickets-page > .tickets > .body .ticket {
      border-bottom: 1px solid #dee0e1; }
      .tickets-page > .tickets > .body .ticket.active, .tickets-page > .tickets > .body .ticket.active {
        background: #ebeef5;
        color: #333333;
        position: relative; }
        .tickets-page > .tickets > .body .ticket.active::before, .tickets-page > .tickets > .body .ticket.active::before {
          content: '';
          width: 4px;
          height: 100%;
          background: #d7dceb;
          display: block;
          position: absolute;
          top: 0;
          left: 0; }
      .tickets-page > .tickets > .body .ticket.unread {
        background: rgba(247, 202, 24, 0.1); }
        .tickets-page > .tickets > .body .ticket.unread > a {
          font-weight: 500; }
      .tickets-page > .tickets > .body .ticket.closed > a {
        opacity: 0.7; }
      .tickets-page > .tickets > .body .ticket > a {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        -js-display: flex;
        display: flex;
        color: #333333;
        padding: 15px 20px; }
        .tickets-page > .tickets > .body .ticket > a:after {
          content: "";
          display: table;
          clear: both; }
        .tickets-page > .tickets > .body .ticket > a > .avatar {
          margin-right: 12px; }
          .tickets-page > .tickets > .body .ticket > a > .avatar > img {
            width: 36px;
            height: 36px; }
        .tickets-page > .tickets > .body .ticket > a > .body {
          -webkit-box-flex: 1;
          -webkit-flex-grow: 1;
              -ms-flex-positive: 1;
                  flex-grow: 1; }
          .tickets-page > .tickets > .body .ticket > a > .body > .message {
            font-size: 12px; }
          .tickets-page > .tickets > .body .ticket > a > .body > .name {
            margin-bottom: 4px; }
            .tickets-page > .tickets > .body .ticket > a > .body > .name:after {
              content: "";
              display: table;
              clear: both; }
            .tickets-page > .tickets > .body .ticket > a > .body > .name > .time {
              float: right;
              text-transform: uppercase;
              font-size: 10px;
              font-weight: normal;
              color: #858585;
              position: relative;
              top: 3px; }
          .tickets-page > .tickets > .body .ticket > a > .body .ticket-status, .tickets-page > .tickets > .body .ticket > a > .body .ticket-tag {
            margin-top: 7px;
            margin-right: 5px;
            font-size: 10px;
            font-weight: 500;
            line-height: 1.2;
            padding: 3px 4px 2px 4px; }
  .tickets-page > .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; }
    .tickets-page > .manage > .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; }
      .tickets-page > .manage > .header > span {
        font-size: 14px;
        font-weight: 500;
        line-height: 36px; }
      .tickets-page > .manage > .header > .btn {
        padding: 10px 25px; }
    .tickets-page > .manage > .body form {
      padding: 20px; }
  .tickets-page > .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; }
    .tickets-page > .view > .body {
      -webkit-box-flex: 1;
      -webkit-flex-grow: 1;
          -ms-flex-positive: 1;
              flex-grow: 1; }
      .tickets-page > .view > .body > .reply {
        padding: 20px;
        border-bottom: 1px solid rgba(57, 81, 155, 0.2); }
        .tickets-page > .view > .body > .reply > .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; }
          .tickets-page > .view > .body > .reply > .header > .info > .message {
            display: block;
            margin-bottom: 5px; }
          .tickets-page > .view > .body > .reply > .header > .info > .status {
            margin-right: 10px; }
          .tickets-page > .view > .body > .reply > .header > .info > .time {
            font-size: 12px;
            font-weight: 400;
            color: rgba(51, 51, 51, 0.6); }
          .tickets-page > .view > .body > .reply > .header > .actions .btn + .btn {
            margin-left: 10px; }
        .tickets-page > .view > .body > .reply > .editor {
          margin-top: 20px; }
      .tickets-page > .view > .body > .messages ul {
        list-style: none;
        padding: 0;
        margin: 0; }
      .tickets-page > .view > .body > .messages li.message {
        border-bottom: 1px solid rgba(57, 81, 155, 0.2); }
        .tickets-page > .view > .body > .messages li.message.unread {
          background: rgba(247, 202, 24, 0.1); }
          .tickets-page > .view > .body > .messages li.message.unread > a .name {
            color: #333333; }
        .tickets-page > .view > .body > .messages li.message > .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%; }
          .tickets-page > .view > .body > .messages li.message > .body .avatar {
            margin-right: 12px; }
            .tickets-page > .view > .body > .messages li.message > .body .avatar > img {
              width: 36px;
              height: 36px;
              -webkit-border-radius: 50%;
                      border-radius: 50%; }
          .tickets-page > .view > .body > .messages li.message > .body .content {
            -webkit-box-flex: 1;
            -webkit-flex: auto 1;
                -ms-flex: auto 1;
                    flex: auto 1 0%; }
            .tickets-page > .view > .body > .messages li.message > .body .content > .message {
              font-size: 12px;
              color: rgba(51, 51, 51, 0.6); }
            .tickets-page > .view > .body > .messages li.message > .body .content > .name {
              font-weight: 500;
              color: #25628F;
              margin-bottom: 4px; }
              .tickets-page > .view > .body > .messages li.message > .body .content > .name:after {
                content: "";
                display: table;
                clear: both; }
              .tickets-page > .view > .body > .messages li.message > .body .content > .name > .time {
                float: right;
                text-transform: uppercase;
                font-size: 10px;
                font-weight: normal;
                color: #858585;
                position: relative;
                top: 3px; }
              .tickets-page > .view > .body > .messages li.message > .body .content > .name > .user-type {
                padding: 3px 4px;
                margin-left: 10px; }
            .tickets-page > .view > .body > .messages li.message > .body .content .ticket-status, .tickets-page > .view > .body > .messages li.message > .body .content .ticket-tag {
              margin-top: 7px;
              margin-right: 5px;
              font-size: 10px;
              font-weight: 500;
              line-height: 1.2;
              padding: 3px 4px; }
        .tickets-page > .view > .body > .messages li.message .files-box > ul {
          margin-left: 69px;
          margin-top: -10px;
          margin-bottom: 20px; }
        .tickets-page > .view > .body > .messages li.message .files-box .file-item {
          display: inline-block;
          cursor: pointer;
          margin-right: 10px;
          margin-top: 10px;
          position: relative; }
          .tickets-page > .view > .body > .messages li.message .files-box .file-item:hover > .thumb {
            border: solid 1px #42a5f5; }
          .tickets-page > .view > .body > .messages li.message .files-box .file-item > .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; }
            .tickets-page > .view > .body > .messages li.message .files-box .file-item > .thumb::before {
              width: 100%; }
          .tickets-page > .view > .body > .messages li.message .files-box .file-item > img.thumb {
            border: none; }
          .tickets-page > .view > .body > .messages li.message .files-box .file-item > .filename {
            display: block;
            font-size: 12px;
            font-weight: 400;
            color: #333333; }
          .tickets-page > .view > .body > .messages li.message .files-box .file-item > .size {
            position: relative;
            top: -2px;
            font-size: 10px;
            color: rgba(51, 51, 51, 0.6); }
    .tickets-page > .view .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); }
      .tickets-page > .view .tickets-view-info .tab-pane {
        padding: 0;
        height: 100%; }
      .tickets-page > .view .tickets-view-info .tab-content {
        height: 100%; }
      .tickets-page > .view .tickets-view-info .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%; }
        .tickets-page > .view .tickets-view-info .tabs-container .nav-tabs .nav-item {
          width: 50%;
          text-align: center; }
      .tickets-page > .view .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%; }
        .tickets-page > .view .tickets-view-info .tab-pane-content > .body {
          padding: 30px;
          -webkit-box-flex: 1;
          -webkit-flex-grow: 1;
              -ms-flex-positive: 1;
                  flex-grow: 1; }
        .tickets-page > .view .tickets-view-info .tab-pane-content > .footer {
          border-top: 1px solid rgba(57, 81, 155, 0.2);
          padding: 30px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content > .footer td {
            padding-bottom: 10px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content > .footer td:first-child {
            width: 80px;
            color: rgba(51, 51, 51, 0.6); }
          .tickets-page > .view .tickets-view-info .tab-pane-content > .footer tr:last-child td {
            padding-bottom: 0; }
        .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box {
          margin-bottom: 20px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box:after {
            content: "";
            display: table;
            clear: both; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box > .avatar {
            margin-right: 12px;
            float: left; }
            .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box > .avatar > img {
              width: 36px;
              height: 36px;
              -webkit-border-radius: 50%;
                      border-radius: 50%;
              position: relative;
              top: 2px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box > .body {
            float: left; }
            .tickets-page > .view .tickets-view-info .tab-pane-content .contact-box > .body > .name {
              font-weight: 500;
              color: #333333; }
        .tickets-page > .view .tickets-view-info .tab-pane-content .info-box {
          margin-bottom: 20px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .info-box > .header {
            color: rgba(51, 51, 51, 0.6);
            margin-bottom: 5px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .info-box:last-child {
            margin-bottom: 0; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .info-box > .user-info img {
            display: inline-block;
            margin-right: 5px; }
          .tickets-page > .view .tickets-view-info .tab-pane-content .info-box > .tags > .badge {
            margin-right: 5px; }
            .tickets-page > .view .tickets-view-info .tab-pane-content .info-box > .tags > .badge:last-child {
              margin-right: 0; }

@media screen and (max-width: 1200px) {
  .btn.tickets-navigation-block-toggle {
    position: static; }
  .tickets-page > .navigation {
    position: fixed;
    top: 120px;
    bottom: 0;
    left: -250px;
    z-index: 3;
    height: 100%; }
    .tickets-page > .navigation.open {
      left: 0;
      -webkit-transition: left .2s ease;
      transition: left .2s ease; }
  .tickets-page > .manage .form-group > label {
    display: block; } }

@media screen and (max-width: 880px) {
  .tickets-page > .tickets {
    width: 300px;
    min-width: 300px; } }

@media screen and (max-width: 780px) {
  .tickets-page > .tickets {
    width: 100%; }
  .tickets-page > .view {
    position: fixed;
    z-index: 2;
    height: 100%;
    top: 120px;
    width: 100%;
    visibility: hidden;
    right: -1000px; }
    .tickets-page > .view > .tickets-view-info {
      display: none; }
    .tickets-page > .view > .header > .mail-controls .btn {
      width: 38px;
      padding: 0; }
      .tickets-page > .view > .header > .mail-controls .btn > .icon {
        margin: 0; }
      .tickets-page > .view > .header > .mail-controls .btn > .text {
        display: none; }
    .tickets-page > .view.open {
      visibility: visible;
      right: 0;
      -webkit-transition: right .2s ease;
      transition: right .2s ease; } }
