:root {
    /* Farbvariablen */
    --primary: #1d1d1d;
    --primary-hover: #af9a61;
    --background: #e0e0e0cc;
    --foreground: #ffffff;
    --text-color: #000000;
    --error-color: red;
    --ticket-background: #ffffff;
    --ticket-card-background: #e0e0e0cc;

    /* Abstände & Größen */
    --radius: 8px;
    --max-width: 480px;

    /* Font */
    --font-family: 'Segoe UI', sans-serif;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
}

body {
    margin: 0;
    padding: 50px 0 0 0; /* oben 50px Abstand */
    font-family: var(--font-family);
    background: var(--background);
    display: flex;
    justify-content: center;
    height: 100vh;
}


.content.view {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 8px 70px 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(20,30,60,0.10);
}
h2 { font-size: 1.2rem; margin-bottom: .5em;}
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;}
.btn, button, input[type="submit"] {
  background: #2452db;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
  cursor: pointer;
  flex: 1 0 44%;
  min-width: 120px;
  text-align: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 10px rgba(30,50,70,0.05);
  transition: background 0.2s;
}
.btn.red, button.red { background: #e74c3c; }
.btn:active, button:active { background: #183088; }
.ticket, .comments, #popup-content {
  margin: 12px 0;
  padding: 16px;
  background: var(--ticket-background);
  border-radius: 14px;
}
input, textarea, select {
  width: 100%; padding: 12px;
  margin-top: 6px; margin-bottom: 10px;
  font-size: 1rem; border-radius: 10px; border: 1px solid #dde0ea;
  background: #f9f9fc;
}
.responsive-width-100 { width: 100%; overflow-x: auto;}
img { border-radius: 10px; margin: 6px 4px;}
.priority.high { color: #e74c3c;}
.priority.medium { color: #f39c12;}
.priority.low { color: #2ecc71;}
.comment { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 16px;}
.comment .fa-comment { color: #4b6be4;}
.comment .name { font-weight: bold;}
.comment .name.is-admin { color: #e74c3c;}
.comment .date { color: #8c98b4; font-size: .95em; margin-left: 4px;}
#popup {
  position: fixed; z-index: 30; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,62,80,0.33); display: flex; align-items: center; justify-content: center;
}
#popup-content {
  opacity: 0; transition: opacity 0.2s;
  max-width: 96vw; width: 350px; background: #fff; padding: 20px; border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20,30,60,0.18);
}
#signature-pad {
  width: 100%; height: 160px;
  border: 2px dashed #c0cbe8; border-radius: 12px; margin-bottom: 8px;
  background: #fafbff;
  touch-action: none;
}
.signature-btns { display: flex; gap: 12px;}
.signature-btns button { flex: 1; font-size: 1rem; }
@media (max-width: 600px) {
  .content.view { max-width: 100vw; padding: 6px 0 70px 0;}
  #popup-content { width: 98vw; }
  .btns { gap: 3px; }
}


.ticket-card {
  background: var(--ticket-card-background);
  border-radius: 1.4em;
  box-shadow: 0 2px 12px #AF9A6122, 0 1px 2px #1D1D1D11;
  padding: 1.3em 1.5em;
  max-width: 540px;
  margin: 2em auto 1em auto;
  font-family: system-ui, sans-serif;
  font-size: 1.07em;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em 1.6em;
}

.ticket-field {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 0.15em;
  flex-wrap: wrap;
}

.ticket-icon {
  color: #AF9A61;
  font-size: 1.17em;
  margin-right: 0.2em;
  opacity: 0.95;
  flex-shrink: 0;
}

.ticket-label {
  font-weight: bold;
  color: #777;
  margin-right: 0.2em;
  min-width: 76px;
}

.ticket-category {
  font-weight: 600;
  font-size: 1.07em;
}

.ticket-priority {
  font-weight: 600;
  padding: 0.14em 0.9em;
  border-radius: 1em;
  font-size: 0.98em;
  color: #fff;
  background: #b8b8b8; /* Standard fallback */
  margin-left: 0.3em;
  text-transform: capitalize;
}
.ticket-priority.hoch    { background: #E74C3C; }   /* Rot */
.ticket-priority.mittel  { background: #F1C40F; color:#222; }   /* Gelb */
.ticket-priority.niedrig { background: #2ECC71; }   /* Grün */

.ticket-email {
  font-size: 0.97em;
  color: #555;
  background: #f3eee2;
  border-radius: 0.7em;
  padding: 0.10em 0.7em;
}

.ticket-customer {
  font-size: 1.07em;
  color: #1D1D1D;
  font-weight: 500;
}

.ticket-date {
  font-size: 0.99em;
  color: #444;
  margin-left: 0.25em;
}

/* Optional: Volle Breite für letztes Feld auf kleinen Displays */
@media (max-width: 650px) {
  .ticket-grid {
    grid-template-columns: 1fr;
  }
  .ticket-card {
    padding: 1em 0.7em;
    font-size: 1em;
  }
}






.ticket-address-field {
  display: flex;
  align-items: flex-start;
  gap: 0.85em;
  margin-bottom: 0.6em;
  font-size: 0.97em;
}

.ticket-address-icon-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 25px;
  margin-top: 2px;
}

.ticket-icon {
  font-size: 1.16em;
  color: #AF9A61;
  opacity: 0.9;
}

.ticket-address-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
  flex: 1 1 auto;
}

.ticket-address-street {
  font-weight: 600;
  color: #1D1D1D;
  font-size: 1.06em;
  margin-bottom: 0.06em;
  letter-spacing: 0.01em;
}

.ticket-address-plzcity {
  font-size: 0.98em;
  color: #444;
  font-weight: 400;
  margin-bottom: 0.28em;
  letter-spacing: 0.02em;
  /* exakt linksbündig zu street, kein extra Margin */
}

.ticket-address-route-wrap {
  margin-top: 0.12em;
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.52em 1.3em;
  font-size: 1.07em;
  border: none;
  border-radius: 1.5em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: #e0e0e0;
  color: #222;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 10px #0001;
}


.route-btn {
  background: #1D1D1D;
  color: #fff;
  border: none;
  border-radius: 1.3em;
  padding: 0.28em 1.1em 0.28em 1em;
  font-size: 1em;
  margin-top: 0.14em;
  margin-bottom: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.15s, color 0.15s, box-shadow 0.13s;
  box-shadow: 0 2px 8px #AF9A6130;
  text-decoration: none;
  font-weight: 500;
}
.route-btn:hover,
.route-btn:focus {
  background: #1D1D1D;
  color: #fff3d6;
  box-shadow: 0 4px 16px #AF9A6130;
}
.route-btn i {
  font-size: 1.15em;
  margin-right: 0.18em;
}

.route-btn span {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .ticket-address-field {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7em;
    font-size: 0.99em;
  }
  .ticket-address-main {
    min-width: unset;
  }
  .route-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05em;
  }
}


.photo-upload-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 2em 1em;
  border-radius: 1.2em;
  box-shadow: 0 4px 16px #0001;
  text-align: center;
  font-family: system-ui, sans-serif;
}
.photo-label {
  display: block;
  margin-bottom: 1.2em;
  font-size: 1.15em;
  color: #333;
  font-weight: 600;
}
.photo-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
}
.icon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1D1D1D;
  border: none;
  border-radius: 1.5em;
  box-shadow: 0 2px 8px #5dade299;
  color: #fff;
  font-size: 1.1em;
  padding: 1.2em 1.2em 0.6em 1.2em;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 90px;
}
.icon-button:hover, .icon-button:focus {
  background: #1D1D1D;
  box-shadow: 0 4px 16px #5dade233;
}
.icon-button i {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}
.icon-button span {
  font-size: 1em;
  margin-top: 0.3em;
}



.signature-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 2em 1em 1.5em 1em;
  border-radius: 1.2em;
  box-shadow: 0 4px 16px #0001;
  text-align: center;
  font-family: system-ui, sans-serif;
}
.signature-form label {
  display: block;
  margin-bottom: 1.2em;
  font-size: 1.1em;
  color: #222;
  font-weight: 600;
}
#signature-pad {
  width: 100%;
  height: 180px;
  background: #f8f5ee;
  border: 2px dashed #AF9A61;
  border-radius: 0.8em;
  margin-bottom: 1.3em;
  box-sizing: border-box;
}
.signature-btns {
  display: flex;
  justify-content: center;
  gap: 1em;
}
.signature-btn {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: #1D1D1D;
  color: #fff;
  font-size: 1.08em;
  font-weight: 500;
  border: none;
  border-radius: 1.5em;
  padding: 0.75em 1.5em;
  cursor: pointer;
  box-shadow: 0 2px 8px #AF9A6166;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.signature-btn i {
  font-size: 1.1em;
}
.signature-btn:hover, .signature-btn:focus {
  background: #1D1D1D;
  box-shadow: 0 4px 16px #AF9A6144;
  transform: translateY(-2px) scale(1.03);
}

.btn i {
  font-size: 1.2em;
}

.btn-success {
  background: linear-gradient(120deg, #49c472 50%, #2ecc71 100%);
  color: #fff;
  box-shadow: 0 2px 10px #2ecc7130;
}
.btn-success:hover {
  background: linear-gradient(120deg, #2ecc71 30%, #49c472 100%);
  color: #fff;
}

.btn-success i {
  color: #fff;
}

.btn-danger {
  background: linear-gradient(120deg, #ffb347 30%, #e74c3c 100%);
  color: #fff;
  box-shadow: 0 2px 10px #e74c3c22;
}
.btn-danger:hover {
  background: linear-gradient(120deg, #e74c3c 40%, #ffb347 100%);
  color: #fff;
}

.btn-danger i {
  color: #fffbe2;
}

.ticket-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.3em;
  gap: 0.6em;
}

.ticket-action-spacer {
  flex: 1;
}


    .login-container {
        width: 100%;
        max-width: 580px;
        padding: 20px;
        box-sizing: border-box;
    }

    .logo-wrapper {
        text-align: center;
        margin-bottom: 40px;
    }

    .logo {
        max-width: 340px;
        max-height: 240px;
        height: auto;
        transition: width 0.3s ease;
    }

    .login-box {
        background: white;
        border-radius: 12px;
        padding: 35px 25px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .login-box h2 {
        margin-bottom: 25px;
        text-align: center;
    }

    form label {
        display: block;
        margin-top: 10px;
        font-weight: 600;
    }

    form input[type="email"],
    form input[type="password"] {
        width: 100%;
        padding: 12px;
        margin-top: 5px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
        font-size: 16px;
    }

    #loginbutton {
        width: 100%;
        padding: 14px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s;
    }

    #loginbutton:hover {
        background: var(--primary-hover);
    }

    .error {
        color: var(--error-color);
        text-align: center;
        margin-top: 10px;
    }

    /* Mobile optimiert */
    @media (max-width: 480px) {
        .logo {
            width: 250px;
        }

        .login-box {
            padding: 25px 15px;
        }

        #loginbutton {
            padding: 12px;
            font-size: 15px;
        }

        form input[type="email"],
        form input[type="password"] {
            font-size: 15px;
        }
    }


    
.navtop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--primary);
  box-shadow: 0 2px 16px #0003;
  border-radius: 0; /* Standard: keine Abrundung */
}

/* Nur auf kleinen Bildschirmen (z. B. Smartphones) abrunden */
@media (max-width: 600px) {
  .navtop {
    border-radius: 1.4em 1.4em 1.4em 1.4em;
  }
}


.navtop-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 1.7em;
  position: relative;
}

.navtop-link.left {
  justify-content: flex-start;
  margin-right: auto;
}

.navtop-link.right {
  justify-content: flex-end;
  margin-left: auto;
}

.navtop-link {
  font-size: 1.08em;
  color: #fff;
  text-decoration: none;
  background: none;
  border-radius: 1em;
  padding: 0.35em 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: color 0.15s;
  min-width: 95px;
}

.navtop-link a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.navtop-link a:hover {
  color: #AF9A61;
}

@media (max-width: 800px) {
  .navtop-content {
    flex-wrap: wrap;
    gap: 0.5em;
    padding: 0.6em 0.4em;
  }
  .navtop-link {
    min-width: 60px;
    font-size: 0.98em;
    padding: 0.3em 0.6em;
  }
}



#pushStatusBtn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10000;
    background: #292929;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#pushStatusBtn .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}
#pushStatusBtn .dot.green { background: #2ecc40; }
#pushStatusBtn .dot.red { background: #ff4136; }
#pushStatusBtn .dot.gray { background: #aaaaaa; }


/* CSS für das Popup-Fenster */
#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
}

#popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: popup 0.3s ease-out forwards;
}

/* CSS-Transition für die Hintergrundfarbe */
#popup-content form {
  transition: background-color 0.3s ease-out;
}

#popup-content form:focus-within {
  background-color: #eee;
}

  select.myselect {
  font-family: Arial, sans-serif;
  font-size: 16px;
  padding: 8px 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-repeat: no-repeat;
  background-position: right center;
}

select.myselect option {
  font-size: 16px;
  padding: 8px 12px;
}

select.myselect option:hover {
  background-color: #f2f2f2;
}

select.myselect option:checked {
  background-color: #e6e6e6;
}


.content {
  width: 1000px;
  margin: 0 auto;
}

.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  font-weight: 600;
  border-bottom: 1px solid #ebebeb;
  color: #767a84;
}

.btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.btns .btn {
  width: 170px;
  display: inline-block;
  text-decoration: none;
  background-color: #9a7f3e;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  color: #FFFFFF;
  padding: 10px 15px;
  margin: 15px 10px 15px 0;
}

.btns .btn:hover {
  background-color: #9a7f3e;
}

.btns .btn.red {
  background-color: #b63838;  
}


.btns .btn.red:hover {
  background-color: #a33232;
}

.home .tickets-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-flow: nowrap;
      flex-flow: nowrap;
  padding-top: 30px;
}

.home .tickets-links a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  position: relative;
  text-decoration: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 300px;
  height: 200px;
}

.home .tickets-links a i {
  position: absolute;
  z-index: 0;
}

.home .tickets-links a .title {
  color: #fff;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}





.home .tickets-links a .num {
  color: #fff;
  z-index: 1;
  font-size: 40px;
  font-weight: bold;
  opacity: 0.8;
}

.home .tickets-links a.open {
  background-color: #aeaeae;
}

.home .tickets-links a.open i {
  color: #b6b6b6;
}

.home .tickets-links a.open:hover {
  background-color: #ababab;
}

.home .tickets-links a.resolved {
  background-color: #3fa864;
}

.home .tickets-links a.resolved i {
  color: #43b36b;
}

.home .tickets-links a.resolved:hover {
  background-color: #3ea462;
}

.home .tickets-links a.closed {
  background-color: #a83f3f;
}

.home .tickets-links a.closed i {
  color: #b34343;
}

.home .tickets-links a.closed:hover {
  background-color: #a43e3e;
}

.home .new {
  padding-top: 60px;
}

.tickets .tickets-list, .home .tickets-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
}

.tickets .tickets-list .ticket, .home .tickets-list .ticket {
  padding: 15px 0;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  padding-right: 5px;
}

.tickets .tickets-list .ticket .con, .home .tickets-list .ticket .con {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
}

.tickets .tickets-list .ticket .con2, .home .tickets-list .ticket .con2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.tickets .tickets-list .ticket i, .home .tickets-list .ticket i {
  text-align: center;
  width: 40px;
  color: #b3b3b3;
}

.tickets .tickets-list .ticket .title, .home .tickets-list .ticket .title {
  font-weight: 500;
  color: #666666;
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis;
  max-width: 50vw;
}

.tickets-list .ticket .title.text-green, .tickets-list .ticket .title.text-green a {
  color: green;
  font-weight: bold;
}

.tickets .tickets-list .ticket .msg, .home .tickets-list .ticket .msg {
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  max-width: 400px;
  color: #999999;
  font-size: 14px;
}

.tickets .tickets-list .ticket .created, .home .tickets-list .ticket .created {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  color: #999999;
  font-size: 14px;
}

.tickets .tickets-list .ticket .priority, .home .tickets-list .ticket .priority {
  font-weight: bold;
  font-size: 12px;
  text-transform: capitalize;
}

.tickets .tickets-list .ticket .priority.low, .home .tickets-list .ticket .priority.low {
  color: #38b673;
}

.tickets .tickets-list .ticket .priority.medium, .home .tickets-list .ticket .priority.medium {
  color: #dea200;
}

.tickets .tickets-list .ticket .priority.high, .home .tickets-list .ticket .priority.high {
  color: #b63838;
}

.tickets .tickets-list .ticket:last-child, .home .tickets-list .ticket:last-child {
  border-bottom: 0;
}

.tickets .tickets-list .ticket:hover, .home .tickets-list .ticket:hover {
  background-color: #fcfcfc;
}

.tickets form, .home form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.tickets form select, .tickets form input, .home form select, .home form input {
  border: 1px solid #cccccc;
  padding: 6px 8px;
  margin-left: 10px;
}

.tickets form select, .home form select {
  margin-right: 15px;
}

.tickets .pagination, .home .pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 20px 0 40px 0;
}

.tickets .pagination a, .home .pagination a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  padding: 5px 10px;
  margin-left: 10px;
  font-weight: 600;
  background-color: #f2f2f2;
  color: #999999;
}

.tickets .pagination a:hover, .home .pagination a:hover {
  background-color: #ebebeb;
}

.tickets .small {
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  max-width: 80%;
  color: #999999;
  font-size: 10px;
}

.view h2 span {
  font-weight: 700;
}

.view h2 .open {
  color: #aeaeae;
}

.view h2 .resolved {
  color: #38b673;
}

.view h2 .closed {
  color: #b63838;
}

.view .ticket {
  padding: 20px 0;
}

.view .ticket .priority {
  font-weight: bold;
  text-transform: capitalize;
  font-size: 14px;
}

.view .ticket .priority.low {
  color: #38b673;
}

.view .ticket .priority.medium {
  color: #dea200;
}

.view .ticket .priority.high {
  color: #b63838;
}

.view .ticket .sep {
  padding: 0 5px;
}

.view .ticket .category {
  color: gray;
}

.view .ticket .created {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: gray;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.view .ticket div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.view .uploads {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.view .uploads a {
  text-decoration: none;
  margin-right: 10px;
}

.view .uploads a:hover {
  opacity: 0.9;
}

.view .comments {
  margin-top: 15px;
  border-top: 1px solid #ebebeb;
  padding: 25px 0;
}

.view .comments .comment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 5px;
}

.view .comments .comment div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 70px;
  color: #e6e6e6;
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

.view .comments .comment p {
  margin: 0 0 20px 0;
}

.view .comments .comment p .header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 5px;
}

.view .comments .comment p .header .name, .view .comments .comment p .header .date {
  font-size: 14px;
  color: gray;
}

.view .comments .comment p .header .name {
  font-weight: 600;
  padding-right: 10px;
  color: #0058ba;
}

.view .comments .comment p .header .name.is-admin {
  color: #b94040;
}

.update form, .view form {
  padding: 15px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  width: 400px;
}

.update form .wrap, .view form .wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.update form .wrap label, .update form .wrap select, .view form .wrap label, .view form .wrap select {
  width: 47%;
  margin-right: 0;
}

.update form .wrap label:first-child, .update form .wrap select:first-child, .view form .wrap label:first-child, .view form .wrap select:first-child {
  padding-right: 15px;
}

.update form label, .view form label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  padding: 10px 0;
  margin-right: 25px;
}

.update form input, .update form textarea, .update form select, .view form input, .view form textarea, .view form select {
  padding: 10px;
  width: 100%;
  margin-right: 25px;
  margin-bottom: 15px;
  border: 1px solid #cccccc;
}

.update form textarea, .view form textarea {
  height: 200px;
}

.update form input[type="submit"], .view form input[type="submit"] {
  display: block;
  background-color: #af9a61;
  border: 0;
  font-weight: bold;
  font-size: 14px;
  color: #FFFFFF;
  cursor: pointer;
  width: 200px;
  margin-top: 15px;
  border-radius: 4px;
}

.update form input[type="submit"]:hover, .view form input[type="submit"]:hover {
  background-color: #9a7f3e;
}

.login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 40px;
}

.login .con {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
}

.login .con:last-child {
  padding-left: 50px;
  border-left: 1px solid #f2f2f2;
}

.login h2 {
  border: 0;
}

@media screen and (max-width: 1000px) {
  .navtop {
    height: auto;
  }
  .navtop div {
    -ms-flex-flow: wrap;
        flex-flow: wrap;
    width: 100%;
  }
  .navtop div h1 {
    display: block;
    -ms-flex-preferred-size: 100%;
    /* flex-basis: 100%; */
    /* padding: 15px 10px; */
  }
  .navtop div > a:not(.exclude-this) {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    background-color: #252d38;
    border-bottom: 1px solid #1f252f;
  }
  .content {
    padding: 10px;
    width: 100%;
  }
  .responsive-width-100 {
    width: 100%;
    max-width: 100%;
  }
  /* .responsive-hidden {
    display: none;
  } */
  .tickets form, .home form, .login form {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .tickets form select, .tickets form input, .home form select, .home form input, .login form select, .login form input {
    margin: 10px 0;
  }
  


  .tickets form div, .home form div, .login form div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .tickets .tickets-links, .home .tickets-links, .login .tickets-links {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .tickets .tickets-links a, .home .tickets-links a, .login .tickets-links a {
    margin-bottom: 10px;
  }
  .login {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .login .con {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .login .con:last-child {
    padding-left: 0;
    border-left: none;
  }
}





/*# sourceMappingURL=style.css.map */