/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 :root {
    --ticket-color: #00A0AF;
    --ticket-text: #404041;
}

.original-title {
    color: #0C4448;
    border-bottom: 1px dashed #cee1f0;
    font-weight: 700;
    padding-bottom: 10px;
}
 .original-title::after {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 15px 1px;
}

.original-title.low::after {
    background-color: var(--ticket-color);
}

.original-title.medium::after {
    background-color: #94D602;
}

.original-title.high::after {
    background-color: orange;
}

.original-title.urgent::after {
    background-color: orangered;
}
.public-ticket-row {
    margin: 20px 0;
    border-radius : 5px;
    padding: 20px;
    background-color: #F5F9FC;
}
.ticket-row-subject {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #cee1f0;
}
.ticket-title {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    color: #0A4448;
}
.ticket-row-infos {
    padding-top: 10px;
}
.ticket-row-link a {
    float: right;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 2px;
    background : #FF3904;
    color: #FFF;
}
.ticket-row-link a:hover {
    text-decoration: none;
    background-color: #0A4448;
    color: #FFF;
}
/* Single Ticket */

.single-ticket #fl-main-content{
    padding: 20px;
    /* max-width: 800px; */
    margin: 0 auto;
    background-color: #0C4448;
}
#upload-ticket-files {
    position: absolute;
    opacity: 0;
    display: block;
    position: absolute;
    opacity: 0;
    height: 40px;
    top: 30px;
    width: 100px;
}

.ticket-original-message .ticket-header {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
}

.ticket-original-message {
    background-color: #F5F9FC;
    padding: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    border-radius: 20px 20px 0 0;
}

.ticket-result-message {
    padding: 20px;
    background-color: #f8f8f8;
}

.ticket-original-message .ticket-header h2 {
    font-size: 30px !important;
    padding: 0 !important;
}

.ticket-original-message p,
.ticket-answers-results p {
    font-size: 16px;
}

.ticket-original-message .ticket-right p,
.ticket-result-subject {
    font-weight: 600;
}

.ticket-result-subject {
    margin-top: 0;
}

.ticket-result-from {
    margin-bottom: 0;
}

.ticket-answers-results {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    background: #006D79;
}
.ticket-body,
.ticket-answer-result {
    padding: 20px;
    font-size: 16px;
    margin-top: 20px;
}

.ticket-answer-result {
    background-color: #FFFFFF;
    margin: 20px 0;
    width: 80%;
}
.admin-result {
    align-self: flex-end;
    border-radius: 20px 0 0 20px;
    background-color: #F5F9FC;
}
.admin-result .ticket-result-message {
    background-color: #F5F9FC;
}
.client-result {
    border-radius: 0 20px 20px 0;
}
.ticket-header .ticket-date,
.ticket-result-date {
    font-style: italic;
    margin-bottom: 0;
}
.ticket-result-date, 
.ticket-result-from,
.ticket-result-subject {
    color: #0C4448;
}
.ticket-header .ticket-subject {
    font-weight: 600;
    margin: 0;
}

.ticket-result-files {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-result-files h3 {
    color: var(--ticket-text);
    font-size: 16px;
}

.ticket-file-attachment {
    width: 60px;
    max-width: 100%;
    height: auto;
    margin: 40px 0;
}

.ticket-form-container {
    position: relative;
    background-color: #F5F9FC;
    padding: 40px 20px;
    /* color: #FFF; */
    max-width: 1200px;
    margin:0px auto;
}

#ticket-response-text {
    width: 100%;
}

.ticket-files-answer {
    position: relative;
    margin: 20px 0;
}

.ticket-files-answer label {
    font-size: 16px;
}

#browse-ticket {
    display: block;
    border: none;
    border-radius: 3px;
    background-color: #FFF;
    color: var(--ticket-color);
    font-size: 16px;
    padding: 10px;
    margin-top: 10px;
}

#submit-ticket-answer {
    background-color: #FF3B07;
    border: none;
}
.submit-ticket-buttons {
    display: flex;
    justify-content: flex-end;
}

.files-answer-result {
    display: inline-block;
    position: relative;
    top: 2px;
    font-size: 14px;
}

#close-ticket,
#open-ticket {
    border: none;
    background-color: #FFFFFF;
    color: var(--ticket-color);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 18px;
    margin-right: 15px;
}

.ajax-loader {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 250, 0.9);
    top: 0;
    left: 0;
}

.ajax-loader .fa-circle-o-notch {
    position: absolute;
    font-size: 30px;
    top: 47%;
    left: 47%;
}

#ticket_meta_box strong {
    font-weight: 500;
}

#ticket_meta_box .inside {
    background-color: #dedede;
    padding: 0;
}

.ticket-brand {
    font-weight: 600;
}

.ticket-url-link {
    color: var(--ticket-color);
}
