/*
Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
Copyright (C) 2021 Znuny GmbH, https://znuny.org/

This software comes with ABSOLUTELY NO WARRANTY. For details, see
the enclosed file COPYING for license information (GPL). If you
did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
*/

@media screen,projection,tv,handheld {

/**
 * @package     OTRS Framework
 * @section     Default
 */
body {
    font: 12px/14px Arial, sans-serif;
    -webkit-text-stroke: 1px transparent;
    position: relative;
}

#ViewModeSwitch {
    margin: 5px 0px;
}

.RTL {
    text-align: right;
    direction: rtl;
}

input {
   font-family: Arial, sans-serif;
}

a {
    color: #F92;
}

a:hover {
    color: #F72;
}

p {
    margin: 13px 0 5px;
    color: #666;
}

h1 {
    font-size: 21px;
    font-weight: bold;
}

h2 {
    padding-left: 2px;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: normal;
}

h4 {
    font-weight: bold;
}

strong {
    font-weight: bold;
}

.AsBlock {
    display: block;
}

/**
 * @subsection  Error screen
 */

.Content.Error {
    background: #eee;
    max-width: 700px;
    margin: 20px auto;
}

.Content.Error h1 {
    margin-top: 15px;
}

.Content.Error h2 {
    margin-top: 20px;
    padding: 0px;
}

.Content.Error pre {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 11px;
}

#AjaxErrorDialog {
    display: none;
}

#AjaxErrorDialogInner {
    width: 550px;
    text-align: center;
}

#AjaxErrorDialogInner .Icon {
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
    margin: 0px auto 20px auto;
    line-height: 30px;
    border-radius: 50px;
    background: #f92;
    color: #fff;
    transition: background 2s ease;
}

#AjaxErrorDialogInner .Icon + p {
    margin: 0px auto 5px auto;
    width: 90%;
}

#AjaxErrorDialogInner .Icon i {
    font-size: 18px;
    vertical-align: middle;
}

#AjaxErrorDialogInner .CommunicationError .Icon {
    background: #b8384e;
}

#AjaxErrorDialogInner .Icon.Green {
    background: green;
}

#AjaxErrorDialogInner .FullErrorMessage {
    color: red;
    margin: 5px 0px;
}

/**
 * @subsection  Loading Dialog
 */

.DialogWaiting {
    text-align: center;
}

.DialogWaiting i {
    display: block;
    margin: 10px 0px;
}

.DialogWaiting p {
    padding: 0px 10px 10px 10px;
}

/**
 * @subsection  Header
 */

#Header {
    padding: 25px 30px;
    background: #eee;
}

#Header a {
    color: #222;
    outline: none;
}

.RTL #Header {
    text-align: left;
}

#Header #Logo {
    position: absolute;
    top: 9px;
    right: 15px;
    width: 300px;
    height: 45px;
    background: transparent url(../img/logo.png) no-repeat;
    background-size: contain;
}

/* RTL Button placement - development purpose only */
#Header button {
    position: absolute;
    width: 100px;
    margin: 0;
    top: 17px;
    right: 21px;
}

.RTL #Header button {
    display: none;
}

/**
 * @subsection  Content
 */

#MainBox.TicketView {
    margin: 13px;
    border: 1px solid #ddd;
}

.Content {
    padding: 13px 21px;
}

/**
 * @subsection  Javascript enhancement
 */

.JavaScriptAvailable .Overview tbody tr,
.JavaScriptAvailable .MessageHeader {
    cursor: pointer;
}

/**
 * @subsection  RichText Editor overwrites
 */

form #cke_RichText {
    border: none;
    box-shadow: none;
    border: 1px solid #ccc;
    margin: 0px 10px 3px 0px;
    float: left;
}

form #cke_RichText span.cke_wrapper {
    background: #E4E4E4;
}

.cke_combo__fontsize .cke_combo_text {
    width: 40px !important;
}

#cke_RichText,
.cke_toolbar > .cke_toolgroup,
.cke_toolbar .cke_combo_button,
.cke_inner .cke_contents,
.cke_dialog_body,
input.cke_dialog_ui_input_password,
input.cke_dialog_ui_input_text,
textarea.cke_dialog_ui_input_textarea {
    border-radius: 0px !important;
}

.cke_toolgroup .cke_button_on {
    background-color: #ccc;
}

input.cke_dialog_ui_input_password:focus,
input.cke_dialog_ui_input_text:focus,
textarea.cke_dialog_ui_input_textarea:focus {
    box-shadow: 0px 1px 2px #e8e8e8 inset, 0px 0px 3px #ccc !important;
    border-color: #e8e8e8 !important;
}

/**
 * @subsection  Footer
 */
#Footer {
    width: 100%;
    margin-top: 15px;
    color: #CCC;
    overflow: hidden;
    text-align: center;
}

#Footer ul {
    float: left;
}

.RTL #Footer ul {
    float: right;
}

#Footer ul li {
    float: left;
    padding: 0 4px 0 0;
}

.RTL #Footer ul li {
    float: right;
    padding: 0 0 0 4px;
}

#Footer a {
    color: #999;
    display: inline-block;
    position: relative;
    padding-left: 18px;
    font-size: 11px;
    margin-bottom: 5px;
    transition: all ease 0.4s;
}

#Footer a span {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/signet_small_bw.png);
    background-size: cover;
    margin: 10px auto 10px auto;
    opacity: 0.3;
    transition: all ease 0.4s;
}

#Footer a:hover {
    text-decoration: none;
    color: #555;
}

#Footer a:hover span {
    opacity: 1;
}

#Footer ul.FooterLinks {
    float: none;
    margin-bottom: 8px;
    width: 100%;
}

#Footer ul.FooterLinks li {
    float: none;
    display: inline-block;
    padding: 0;
}

#Footer ul.FooterLinks li::after {
    content: '|';
}

#Footer ul.FooterLinks li:last-child::after {
    content: '';
}

#Footer ul.FooterLinks li a {
    margin: 8px 0 7px 0;
    padding-left: 0;
}

/**
 * @subsection  Clear
 */
.Clear {
    float: none !important;
    clear: both !important;
}

div.Clear {
    padding: 0;
    height: 0 !important;
    line-height: 0;
}

/**
 * @subsection  Placeholder
 */

.Placeholder {
    padding: 21px;
}

.Placeholder h2 {
    padding: 0 2px;
    font-size: 24px;
    line-height: 1em;
    border-bottom: 1px dashed #BBB;
    display: inline;
}

.Placeholder p {
    max-width: 400px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 18px;
}

.Hidden {
    display: none;
}

#EmptyMessage {
    border-bottom: 1px solid #DDD;
}

.WidgetSimple {
    padding: 34px 34px 21px;
    width: 600px;
}

.WidgetSimple .Error {
    color: #FF505E;
}

.WidgetSimple h2 {
    margin-bottom: 5px;
}

.WidgetSimple .Content {
    padding: 13px 0;
}

.WidgetSimple textarea {
    width: 100%;
    height: 180px;
}

.WidgetSimple .ErrorMessage .WidgetAction {
    display: none;
}

.ErrorNote {
    color: #FF505E;
}

/**
 * @subsection  Datepicker
 */
.DatepickerIcon {
    margin: 1px 0 0 4px;
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    color: #333;
}

.RTL .DatepickerIcon {
    margin: 0 4px 0 0;
}

/* Vacation Days */
td.Highlight a.ui-state-default {
    border: 1px solid #fad42e;
    color: #Ff0000;
    font-weight: 800;
    background: #ffe45c;
    background: -moz-linear-gradient(top,  #fff0a5 0%, #ffe45c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff0a5), color-stop(100%,#ffe45c));
    background: -webkit-linear-gradient(top,  #fff0a5 0%,#ffe45c 100%);
    background: -o-linear-gradient(top,  #fff0a5 0%,#ffe45c 100%);
    background: -ms-linear-gradient(top,  #fff0a5 0%,#ffe45c 100%);
    background: linear-gradient(to bottom,  #fff0a5 0%,#ffe45c 100%);
}

/* Today */
.ui-datepicker-current-day {
}

/*Weekend*/
.ui-datepicker-week-end {
}

 /**
 * @subsection      ARIA (Accessibility)
 * @subsubsection   AlertMessage
 * @note            This definition allows to create text on the page
 *                  which is not seen, but will be read by the screen reader.
 *                  display: none; cannot be used in this case.
 */

.ARIAAlertMessage {
    position: absolute;
    left: -10000px;
    right: auto;
    top: -10000px;
}

.RTL .ARIAAlertMessage {
    left: auto;
    right: -10000px;
}

/**
 * @note        Give the user a hint about linked label elements (they are clickable and
 *                  give focus to the linked element.
 */

form label[for] {
    cursor: pointer;
}

form input.Error,
form textarea.Error {
    border-color: #ff505e;
}

form select.Error {
    color: #ff505e;
}

/**
 * @subsection global message format
 */
.ArticleBody{
    font-family: monospace,fixed;
}

/*.ArticleHTML {
    padding: 2px 5px;
    font-size: 11px;
    max-height: 100px;
    overflow: auto;
    background: #fff;
    border: 1px solid #eee;
}

.ArticleMailContent .ArticleHTML {
    max-height: none;
    font-size: 12px;
    padding: 10px;
}*/

/**
 * @subsection  Chat
 */

.ArticleChat .Name {
    font-weight: bold;
    white-space: nowrap;
}

.ArticleChat .Time {
    padding-right: 5px;
    color: #888;
}

.ArticleChat .SystemGenerated .Name {
    display: none;
}

.ArticleChat .SystemGenerated .Text {
    font-style: italic;
    color: #888;
}

.ArticleChat .Own .Name {
    color: red;
}

.ArticleChat > div {
    display: table;
}

.ArticleChat > div > div {
    display: table-row;
}

.ArticleChat > div > div > span {
    display: table-cell;
}

.ChatTooltip {
    background: #B83850;
    color: #fff;
    left: 50%;
    margin-left: -80px;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 39px;
    width: 140px;
    z-index: 900;
    display: none;
}

.ChatTooltip:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(184, 56, 80, 0);
    border-bottom-color: #B83850;
    border-width: 10px;
    margin-left: -10px;
}
/* Chat */
.ChatProtocol {
    border: 1px solid #ccc !important;
    padding: 2px;
    overflow-y: auto;
    max-height: 150px;
    width: 617px;
}

/**
 * @subsection  Bread crumb
 */

.BreadCrumb {
    list-style-type: none;
    margin: 15px 0px;
    padding: 10px;
    background: #eee;
    position: relative;
    padding-left: 0px;
    padding-right: 15px;
    overflow: hidden;
    white-space: nowrap;
}

.RTL .BreadCrumb {
    padding-right: 10px;
    padding-left: 15px;
}

.BreadCrumb li {
    display: inline-block;
    margin: 0px 2px 0px 2px;
    padding-left: 35px;
    color: #777;
    position: relative;
    max-width: 200px;
    white-space: normal;
    vertical-align: middle;
}

.BreadCrumb li:first-child {
    padding-left: 20px;
}

.RTL .BreadCrumb li {
    padding-left: 0px;
    padding-right: 35px;
}

.BreadCrumb li:first-child:after,
.BreadCrumb li:first-child:before {
    display: none;
}

.BreadCrumb a {
    color: #000;
    padding: 0px 2px;
}

.BreadCrumb a:hover {
    border-bottom: 2px solid #FF9922;
}

.BreadCrumb li:before,
.BreadCrumb li:after {
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-width: 20px;
    margin-top: -20px;
}

.BreadCrumb li:after {
    left: 0px;
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
}

.RTL .BreadCrumb li:after {
    border-left-color: transparent;
    border-right-color: #fff;
    left: auto;
    right: 0px;
}

.BreadCrumb li:before {
    left: -5px;
    border-color: rgba(238, 238, 238, 0);
    border-left-color: #eee;
    z-index: 2;
}

.RTL .BreadCrumb li:before {
    left: auto;
    right: -5px;
    border-right-color: #eee;
    border-left-color: transparent;
}

/**
 * @note    Use the class InvisibleText to hide text from the screen,
 *          while it is still recognized and read by screen readers.
 */
.InvisibleText {
    width: 0;
    height: 0;
    display: inline-block;
    text-indent: -9999px;
    white-space: nowrap;
    position: absolute !important;
}

/**
 * @subsection  Spacings
 */
.Spacing {
    margin: 13px;
}

/**
 * @subsection  Text
 */
.Center {
    text-align: center;
}

/**
 * @subsection  Floaters
 */

body > div.MetaFloater {
    width: 600px;
    height: 400px;
    background: #fff;
    box-shadow: 2px 1px 3px #aaa;
    position: absolute;
    box-sizing: border-box;
    z-index: 999;
    margin-top: -5px;
    border: 1px solid #eee;
    border-top: 30px solid #eee;
}

body > div.MetaFloater:after,
body > div.MetaFloater:before {
    bottom: 399px;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

body > div.MetaFloater.Left:after,
body > div.MetaFloater.Left:before {
    left: 15px;
    margin-top: -1px;
}

body > div.MetaFloater.Right:after,
body > div.MetaFloater.Right:before {
    left: auto;
    right: 15px;
}

body > div.MetaFloater.Bottom:after,
body > div.MetaFloater.Bottom:before {
    bottom: auto;
    top: 100%;
}

body > div.MetaFloater:after {
    border-bottom-color: #eee;
    border-width: 15px;
    margin-left: -15px;
}

body > div.MetaFloater.Bottom:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #fff;
}

body > div.MetaFloater:before {
    border-color: rgba(170, 170, 170, 0);
    border-bottom-color: #aaa;
    border-width: 16px;
    margin-left: -16px;
}

body > div.MetaFloater.Bottom:before {
    border-color: rgba(170, 170, 170, 0);
    border-top-color: #aaa;
}

body > div.MetaFloater > i.fa-spin {
    position: absolute;
    left: 50%;
    font-size: 20px;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

body > div.MetaFloater > div.Content > iframe {
    height: 200%;
    left: -50%;
    position: absolute;
    top: -50%;
    transform: scale(0.5);
    width: 200%;
}

body > div.MetaFloater > div.Content > iframe.NoScale {
    height: 100%;
    left: 0px;
    top: 0px;
    transform: scale(1.0);
    width: 100%;
}

body > div.MetaFloater > a {
    font-size: 15px;
    padding: 8px 10px;
    display: block;
    position: absolute;
    top: -30px;
    text-align: right;
    box-sizing: border-box;
    height: 30px;
    color: #555;
}

body > div.MetaFloater > div.Content {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 0px;
    overflow: hidden;
}

body > div.MetaFloater > div.NoPreview {
    display: none;
    text-align: center;
    width: 50%;
    margin: 23% auto;
    line-height: 150%;
    color: #777;
}

body > div.MetaFloater > div.NoPreview i {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    color: #777;
}

body > div.MetaFloater > a.Scale {
    left: 0px;
}

body > div.MetaFloater > a.Open {
    left: 25px;
}

body > div.MetaFloater > a.Close {
    right: 0px;
}

/**
 * @subsection  CKEditor Notifications
 */

/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/

/**
 * Progress notification structure:
 *
 * +---div.cke_notification cke_notification_info--------------------------+
 * |                                                                       |
 * | +---div.cke_notification_progress-----------------------------------+ |
 * | |                                                                   | |
 * | +-------------------------------------------------------------------+ |
 * |                                                                       |
 * | +---p.cke_notification_message--------------------------------------+ |
 * | | Foo                                                               | |
 * | +-------------------------------------------------------------------+ |
 * |                                                                       |
 * | +---a.cke_notification_close----------------------------------------+ |
 * | | +---span.cke_label----------------------------------------------+ | |
 * | | | X                                                             | | |
 * | | +---------------------------------------------------------------+ | |
 * | +-------------------------------------------------------------------+ |
 * |                                                                       |
 * +-----------------------------------------------------------------------+
 *
 *
 * Warning notification structure:
 *
 * +---div.cke_notification cke_notification_warning-----------------------+
 * |                                                                       |
 * | +---p.cke_notification_message--------------------------------------+ |
 * | | Foo                                                               | |
 * | +-------------------------------------------------------------------+ |
 * |                                                                       |
 * | +---a.cke_notification_close----------------------------------------+ |
 * | | +---span.cke_label----------------------------------------------+ | |
 * | | | X                                                             | | |
 * | | +---------------------------------------------------------------+ | |
 * | +-------------------------------------------------------------------+ |
 * |                                                                       |
 * +-----------------------------------------------------------------------+
 *
 * Success and info notifications have the same structure as warning, but use
 * `cke_notification_success` and `cke_notification_info` instead of `cke_notification_warning`.
 */

.cke_notifications_area {
    /* Prevent notification margin capture clicking. */
    pointer-events: none;
}
.cke_notification {
    pointer-events: auto;
    position: relative;
    margin: 10px;
    width: 300px;
    color: white;
    border-radius: 3px;
    text-align: center;
    opacity: 0.95;
    filter: alpha(opacity = 95);
    box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.3);
    -webkit-animation: FadeIn 0.7s;
    animation: FadeIn 0.7s;
}

.cke_notification_message a {
    color: #12306F;
}

.cke_notification_success {
    background: #72B572;
    border: 1px solid #63A563;
}

.cke_notification_warning {
    background: #C83939;
    border: 1px solid #902B2B;
}

.cke_notification_info {
    background: #2E9AD0;
    border: 1px solid #0F74A8;
}

.cke_notification_info span.cke_notification_progress {
    background-color: #0F74A8;
    display: block;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 1;
}

.cke_notification_message {
    position: relative;
    margin: 4px 23px 3px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 18px;
    z-index: 4;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cke_notification_close {
    position: absolute;
    cursor: pointer;
    text-align: center;
    top: 5px;
    right: 1px;
    padding: 0;
    margin: 0;
    z-index: 5;
    opacity: 0.6;
    filter: alpha(opacity = 60);
}

.cke_notification_close:after {
    display: block;
    height: 20px;
    width: 20px;
    content: "x";
    color: #fff;
}

.cke_notification_close:hover {
    opacity: 1;
    filter: alpha(opacity = 100);
}

.cke_notification_close span {
    display: none;
}

.cke_notification_warning a.cke_notification_close {
    opacity: 0.8;
    filter: alpha(opacity = 80);
}

.cke_notification_warning a.cke_notification_close:hover {
    opacity: 1;
    filter: alpha(opacity = 100);
}

} /* end @media */
