﻿
:root {
    --bg-standard: rgba(40, 199, 111, 0.5);
    --bg-important: rgba(255, 200, 0, 0.5);
    --bg-semiurgent: rgba(255, 155, 48, 0.5);
    --bg-urgent: rgba(212, 44, 44, 0.5);
    --standard: rgba(40, 199, 111, 1);
    --important: rgba(255, 200, 0, 1);
    --semiurgent: rgba(255, 155, 48, 1);
    --urgent: rgba(212, 44, 44, 1);
    --hold: rgb(176, 176, 176, 1);
    --bg-primary: rgba(0, 153,255, 0.5);
    --primary: rgba(0, 153,255, 1);
    --border-ticket-entry: #ccc;
    --border-ticket-entry-internal: #dc3545;
}

.display-text-box {
    background-color: whitesmoke;
    vertical-align: middle;
}

.card-header {
    display: block !important;
    overflow: auto;
}
/* END - CMS */

.notes-display {
    overflow-y: scroll;
    height: 290px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    overflow-wrap: anywhere;
}

.note-title {
    font-weight: bold;
}

.noteTitle {
    font-weight: bold;
}

.note-pending {
    color: #ffb43d;
    font-weight: normal;
}

.note-entry {
    margin-bottom: 20px;
}

.noteEntry {
    margin-bottom: 20px;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before, table.dataTable.dtr-column > tbody > tr > th.dtr-control:before, table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    display: none;
}

.btn {
    margin-left:5px;
}
.btn-default {
    border:1px solid #efefef;
}
.btn-xs{
    text-transform:none !important;
}
.drop-zone {
    width: 100%;
    min-height: 300px;
    border: 2px dashed #7367F0;
    background: transparent;
    position: relative;
    margin-bottom: 25px;
}

.dark-layout .drop-zone {
    border: 2px dashed #efefef;
}

.dz-message {
    font-size: 1rem;
    position: absolute;
    text-align: center;
    top: -4rem;
    left: 0;
    width: 100%;
    height: 100%;
    color: #7367F0;
    justify-content: center;
    align-items: center;
    margin: 0;
}

    .dz-message:before {
        content: "\f0ed";
        font-family: "FontAwesome";
        font-size: 80px;
        width: 80px;
        height: 80px;
        display: block;
        line-height: 5;
        z-index: 2;
        color: #7367F0;
        text-indent: 0;
        font-weight: 400;
        margin-left: auto;
        margin-right: auto;
    }

.dark-layout .dz-message {
    color: white;
}

    .dark-layout .dz-message:before {
        color: white;
    }


.tox .tox-tbtn svg {
    color: #625f6e !important;
}

.tox-notification {
    display: none !important;
}

.ticket-detail-display {
    border: 2px dashed #ccc;
    padding: 15px;
}

.hidden-ticket-block {
    height: 300px;
    background-color: #6e6e6e;
    color: white;
    margin-bottom: 15px;
    border-radius: 10px;
}

    .hidden-ticket-block .inner {
        vertical-align: middle;
        text-align: center;
        height: 100%;
        width: 100%;
        padding-top: 150px;
    }
/* Urgency Levels */

.bg-urgent-standard {
    background-color: var(--standard) !important;
    color: white;
}

.text-urgent-standard {
    color: var(--standard) !important;
}

.bg-urgent-important {
    background-color: var(--important) !important;
    color: white;
}

.text-urgent-important {
    color: var(--important) !important;
}

.bg-urgent-semiurgent {
    background-color: var(--semiurgent) !important;
    color: white;
}

.text-urgent-semiurgent {
    color: var(--semiurgent) !important;
}

.fieldset-urgent-semiurgent {
    border-color: var(--semiurgent) !important;
    border-width: 2px;
    border: solid;
}

.bg-urgent-urgent {
    background-color: var(--urgent) !important;
    color: white;
}

.text-urgent-urgent {
    color: var(--urgent) !important;
}

.bg-urgent-hold {
    background-color: var(--hold) !important;
    color: white;
}

.text-urgent-hold {
    color: var(--hold) !important;
}

.field-validation-error {
    color: red;
    font-weight: bold;
}

.ticket-status-new {
    color: green;
}

.ticket-status-stuck {
    font-weight: bold;
    color: red;
}

.ticket-response {
    margin-bottom: 20px;
}
/* End Urgency Levels */

/* Ticket Display */

:root {
    --ticketHeight: 350px;
}

#urgent-dropdown {
    position: absolute;
    right: 10px;
    top: 12px;
}

.ticket-modal .modal-content {
}

.ticket-card {
    min-height: var(--ticketHeight);
    position: relative;
}

    .ticket-card .card-header {
        position: initial;
    }

    .ticket-card .card-body {
        padding-top: 20px !important;
    }

.ticket-button-icon {
    font-size: 30px;
}

.trello-icon {
    font-size: 30px;
}

.attachment-icon {
    display: inline-block;
    position: relative;
    font-size: 25px;
    margin-top: -15px;
    width: 26px;
}

.ticket-slot {
    border: 3px dashed #ccc;
    border-radius: 10px;
    min-height: var(--ticketHeight);
}

.ticket-group {
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 40px 20px 20px 20px;
    position: relative;
    margin-bottom: 20px;
}

.dark-layout .ticket-group h2 {
    background-color: #0D1329;
}

.light-layout .ticket-group h2 {
    background-color: rgb(248, 248, 248);
}

.ticket-group h2 {
    display: block;
    position: absolute;
    top: -20px;
    padding: 5px;
    font-weight: bold;
}
/* End Ticket Display */

/* Ticket Entry Display */
.urgency-radio {
    padding-top: 3px;
    float: left;
    height: 30px;
    padding-right: 5px;
}

.urgency-text {
    float: right;
    display: inline-block;
    width: 97%;
}

.urgency-list label {
    font-size: 14px !important;
}

.ticket-entry {
    padding: 10px;
    border: 2px dashed var(--border-ticket-entry);
    margin-bottom: 15px;
    border-radius: 5px;
    max-height: fit-content;
}

    .ticket-entry img {
        max-width: 100%;
    }

.ticket-entry-internal {
    padding: 10px;
    border: 2px dashed var(--border-ticket-entry-internal);
    margin-bottom: 15px;
    border-radius: 5px;
    max-height: fit-content;
}

    .ticket-entry-internal img {
        max-width: 100%;
    }

.scrollable {
    overflow-y: scroll;
}
/* End Ticket Entry Display */

/* CMS Stuff */
.content-section-iframe {
    border: none;
    width: 100%;
    min-height: 400px;
}


/* Posts */

.post-heirarchy-children {
    margin-left: 10px;
}

.post-highlight {
    font-weight: bold;
}

.post-summary h1, .post-summary h2, .post-summary h3, .post-summary h4, .post-summary h5
{
    font-size:18px;
    font-weight:bold;
}
/* End Posts */
/* Invoices */
.invoice-totals {
    font-size: 20px;
}

/* Invoices */

/* Applications */

/* Alerts */
.alert-dot {
    width: 20px;
}

.media {
    position: relative;
    overflow: hidden;
}

.dismiss-button {
    position: absolute;
    height: 100%;
    width: 5%;
    right: 0px;
    top: 0px;
    border: none;
    opacity: 0.4;
    padding: 0px;
    transition: width 0.2s, opacity 0.8s;
}

.media:hover .dismiss-button {
    width: 20%;
    opacity: 1;
}

    .media:hover .dismiss-button span {
        opacity: 1;
    }

.dismiss-button span {
    display: block;
    text-align: left;
    color: white;
    text-transform: uppercase;
    opacity: 0;
    text-align: center;
}

.overlay-image-thumbnail {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 150px;
    display: flex;
    align-items: center;
    place-content: center;
    background-color: black;
}

/*.dismiss-inner {
   position:relative;
   width:100%;
   height:100%;
}
   */

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    z-index: 10000 !important;
}

.ui-menu {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: block;
    outline: none;
    background-color: #efefef;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

    .ui-menu .ui-menu {
        position: absolute;
    }

    .ui-menu .ui-menu-item {
        position: relative;
        margin: 0;
        padding: 3px 1em 3px 0.4em;
        cursor: pointer;
        min-height: 0;
        /* support: IE7 */
        /* support: IE10, see #8844 */
        list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
    }

.ui-menu-item:hover {
    background-color: #0099ff;
    color: white;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    cursor: pointer;
    background: #D6DFF2;
}

.ui-menu-item-wrapper:focus,
.ui-menu-item-wrapper:hover,
.ui-menu-item-wrapper:active {
    background-color: #0099ff;
}

.ui-menu-item a.ui-state-focus {
    color: red;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-state-active.ui-button:hover {
    color: white;
    background: #0099ff;
}
.bg-primary{
    color:white !important;
}
.bg-primary .fa {
    color: white !important;
}

.nav-tabs {
    margin-bottom: 0px !important;
    margin-left: 10px;
}

.star-rating {
    white-space: nowrap;
}

    .star-rating [type="radio"] {
        appearance: none;
    }

    .star-rating i {
        font-size: 1.2em;
        transition: 0.3s;
    }

    .star-rating label:is(:hover, :has(~ :hover)) i {
        transform: scale(1.35);
        color: #fffdba;
        animation: jump 0.5s calc(0.3s + (var(--i) - 1) * 0.15s) alternate infinite;
    }

    .star-rating label:has(~ :checked) i {
        color: #faec1b;
        text-shadow: 0 0 2px #ffffff, 0 0 10px #ffee58;
    }

@keyframes jump {
    0%, 50% {
        transform: translateY(0) scale(1.35);
    }

    100% {
        transform: translateY(-15%) scale(1.35);
    }
}

.bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6d6d6d73;
    min-width: 1.5em;
    border-radius: 50%;
    vertical-align: middle;
}

.bubble:before {
    content: '';
    float: left;
    width: auto;
    padding-bottom: 100%;
}

.input-group-addon, .input-group-btn {
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon {
    padding: 9px 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group-addon:first-child, 
.input-group-btn:first-child > .btn, 
.input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, 
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn, 
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon:first-child {
    border-right: 0;
}

.bg-primary-transparent {
    background-color: rgba(0, 153, 255, 0.7);
}
.bg-success-transparent {
   background-color:  rgba(40, 199, 111, 0.7);
}
.b0-warning-transparent {
    background-color: rgba(255, 159, 67, 0.7);
}
.bg-danger-transparent {
    background-color: rgba(234, 84, 85, 0.7);
}
.bg-defaut-transparent{
    background-color: rgba(180, 180, 180, 0.7);
}

.btn-same-size {
    width: 51px;
    margin-bottom: 3px;
}

.btn-same-size-large {
    width: 70px;
    margin-bottom: 3px;
}

@media only screen and (max-width: 768px) {
    /* Override the width for mobile devices */
    .embed-preview {
        width: 100%;
    }
}

/* Widget Stuff */
.widget-placeholder{
    width:100%;
}
.widget-wrapper{
    position:relative;
}

.sort-handle {

}
.big-dash-label{
    font-size:18px;
}
.big-dash-num{
    font-size: 40px;
    font-weight:bold;
}

.avatar-content i{
    font-size:30px;
}
.project-prog 
{
    height:22px;
    width:65px;
    border-radius:2px;
}
.project-prog .progress
{
    border-radius:2px !important;
    height:100%;
}
    .project-prog .progress-bar:last-child {
        border-top-right-radius: 2px !important;
        border-bottom-right-radius: 2px !important;
    }
.giant-icon {
    font-size: 150px;
    color: #efefef;
}
.loading-line {
    background-color:#efefef;
    width:100%;
    margin-bottom:15px;
    height:17px;
}

.dark-layout .giant-icon {
    color:#343d55;
    
}
.dark-layout .loading-line {
    background-color: #343d55;
}

.avatar
{
    background-color:none !important;
}

@keyframes loader {
    from {
        width: 5%;
    }

    to {
        width: 100%;
    }
}

.widget-load-bar {
    animation-duration: 7s;
    animation-name: loader;
    animation-iteration-count: 1;
    animation-direction: alternate;
}
.widget-move-bar{
    width:100%;
    border-radius:6px;
    height:20px;
    transition: background-color 0.5s;
    cursor:move;
}
.widget-move-bar:hover
{
    background-color:#0099ff;
}

.dark-layout .widget-move-bar {
    background-color:#343d55 ;
    
}

.light-layout .widget-move-bar {
    background-color: #f3f2f7;
}

/*remove tinymce upgrade labels*/
.tox-promotion{
    display:none;
}

.tox-statusbar__branding {
    display: none;
}

.font-bold {
    font-weight: bold !important;
}

.place-content-center{
    place-content:center!important;
}

.check-spacer{
    display:inline-block;
    width:100%;
    height: 30px;
}
.button-spacer {
    display: inline-block;
    width: 100%;
    height: 20px;
}

.rule-group > .rule-group {
    margin-left: 80px;
}

.string-rule, .numeric-rule {
    margin-left: 75px;
}