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

#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  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;
}

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

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


} /* end @media */
