/**
 * @project     OTRS (http://www.otrs.org) - Customer Frontend
 * @copyright   OTRS AG
 * @license     AGPL (http://www.gnu.org/licenses/agpl.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 10px 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 .Icon.Green {
    background: green;
}

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

/**
 * @subsection  Header
 */

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

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

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

#Header #Logo {
    position: absolute;
    top: 6px;
    right: 15px;
    width: 135px;
    height: 50px;
    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: 3px;
    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 {
    margin: 8px 8px 7px;
    color: #CCC;
    font-size: 11px;
}

#Footer a:hover {
    color: #F92;
}

/**
 * @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;
    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;
}


/**
 * @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;
}

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

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

/**
 * @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;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 0.95; }
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 0.95; }
}

.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 */
