/**
 * @project     OTRS (http://www.otrs.org) - Agent Frontend
 * @copyright   OTRS AG
 * @license     AGPL (http://www.gnu.org/licenses/agpl.txt)
 */

/**
 * @package     Skin "Default"
 * @section     Default Settings
 */

@media screen,projection,tv,handheld {

/**
 * @subsection  Fonts
 */

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    text-align: left;
}

.RTL {
    text-align: right;
    /* this will inherit to all elemtents because of reset.css */
    direction: rtl;
}

/**
 * @subsection  Print elements - Only show when page is printed
 */
.PrintOnly {
    display: none;
}

/**
 * @subsection  Hidden elements - Elements that are hidden at first
 */
.Hidden {
    display: none;
}

.Invisible {
    visibility: hidden;
}

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

/**
 * @subsection  ElementPool - Hide elements for later use with JavaScript
 */
#UIElementPool {
    display: none;
}

/**
 * @subsection  Links
 */

a {
    color: #F92;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #F72;
}

/**
 * @subsection  Headings
 */
h1 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

h2 {
    font-size: 14px;
    color: #474747;
    margin-bottom: 10px;
}

h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

h4 {
    color: #333;
    margin-bottom: 5px;
    font-weight: bold;
}

h5 {
    color: #333;
    margin-bottom: 5px;
}

/**
 * @subsection  Paragraphs
 * @note        Use paragraphs instead of <div>s for text-only, multiline content!
 */
p {
    /* increase line-height for readability */
    line-height: 1.3em;
}

/**
 * @subsection  Code Examples
 */
code {
    font-family: monospace;
}

/**
 * @subsection  Text modifiers
 */
strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

/**
 * @subsection  Definition lists
 */
dl {
    margin: 5px 0;
}

dt {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3em;
    margin-top: 5px;
}

dd {
    line-height: 1.3em;
    margin-left: 15px;
    margin-right: 0;
}

.RTL dd {
    margin-left: 0;
    margin-right: 15px;
}

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

.Left {
    text-align: left;
}

.Right {
    text-align: right;
}

.Error {
    color: #ff505e;
}

.Warning {
    color: #ff505e;
}

.Notice {
    color: #333;
}

.Confirmation {
    color: #069d07;
}

.Small {
    font-size: 90%;
}

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

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

.SpacingTop {
    margin-top: 13px;
}

.SpacingTopSmall {
    margin-top: 8px;
}

.SpacingTopLarge {
    margin-top: 89px;
}

.SpacingBottom {
    margin-bottom: 13px;
}

.SpacingBottomMedium {
    margin-bottom: 34px !important;
}

.SpacingBottomLarge {
    margin-bottom: 89px;
}

.SpacingLeft {
    margin-left: 10px;
}

/**
 * @subsection  Indents
 */
.Indent {
    padding-left: 13px !important;
}

/**
 * @subsection  Box alignment
 */
.CenterBox {
    margin-left: auto !important;
    margin-right: auto !important;
}

/**
 * @subsection  Controlling the display: value
 * @note        This is especially helpful for links. When
 *              they have this class, the entire block will be clickable.
 */
.AsBlock {
    display: block;
}

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

.ClearLeft,
.RTL .ClearRight {
    float: none !important;
    clear: left !important;
}

.ClearRight,
.RTL .ClearLeft {
    float: none !important;
    clear: right !important;
}

/**
 * @subsection  MainBox
 */
.MainBox {
    position: relative;
    padding: 4px 16px 8px 8px;
}

.RTL .MainBox {
    padding: 4px 8px 8px 16px;
}

.OverviewBox {
    position: relative;
}

.MainBox > h1 {
    margin: 0;
    padding: 10px 8px 15px 8px;
    position: relative;
}

.MainBox > .AsteriskExplanation {
    padding-left: 8px;
    margin-bottom: 10px;
}

.RTL .MainBox > .AsteriskExplanation {
    padding-left: 0px;
    padding-right: 8px;
}

.AsteriskExplanation {
    color: #999;
}

.MainBox.FormScreen > h1,
.MainBox.FormScreen > .AsteriskExplanation {
    margin-left: 24%;
}

.MainBox.FormScreen.NoSidebar > h1,
.MainBox.FormScreen.NoSidebar > .AsteriskExplanation {
    margin-left: 30%;
}

.RTL .MainBox.FormScreen > h1,
.RTL .MainBox.FormScreen > .AsteriskExplanation {
    margin-right: 24%;
}

.RTL .MainBox.FormScreen.NoSidebar > h1,
.RTL .MainBox.FormScreen.NoSidebar > .AsteriskExplanation {
    margin-right: 30%;
}

.OverviewBox > h1 {
    margin: 10px 0px;
    padding: 8px 11px 7px;
    position: relative;
}

/**
 * @subsection  Standard Widths
 */
.W10pc {
    width: 10%;
}

.W20pc {
    width: 20%;
}

.W25pc {
    width: 25%;
}

.W33pc {
    width: 33%;
}

.W50pc {
    width: 50%;
}

.W60pc {
    width: 60%;
}

.W70pc {
    width: 70%;
}

.W75pc {
    width: 75%;
}

.W80pc {
    width: 80%;
}

.W90pc {
    width: 90%;
}

.W95pc {
    width: 95%;
}

.W100pc {
    width: 100%;
}

.W50px {
    width: 50px;
}

.W950px {
    width: 950px;
}

/**
 * @subsection  Customizable logos
 */
#LoginLogo {
    background: transparent url(../img/loginlogo_default.png) center no-repeat;
    height: 100px;
}


/**
 * @subsection  MessageBox
 */

.MessageBox {
    margin: 5px 18px 0 10px;
    background: #F7AE40;
    position: relative;
    z-index: 1;
}

.MessageBox.WithIcon {
    padding-left: 20px;
}

.MessageBox.WithIcon > i {
    position: absolute;
    left: 12px;
    top: 12px;
}

.RTL .MessageBox {
    margin: -2px 10px 0 18px;
}

.MessageBox p {
    padding: 10px;
}

.MessageBox p,
.MessageBox a {
    color: #442A0B;
}

.MessageBox a:hover {
    text-decoration: underline;
}

.MessageBox > p + p {
    margin-top: 2px;
}

.MessageBox.Error {
    background: #F25C5C;
}

.MessageBox.Error p,
.MessageBox.Error a {
    color: #000;
}

.MessageBox.Confirmation {
    border-color: #049E35;
    background: #1AEE47;
}

.MessageBox.Confirmation p {
    border-color: #36F374;
}

.MessageBox.Confirmation p,
.MessageBox.Confirmation a {
    color: #044016;
}

.MessageBox p a:after {
    content: "\2192";
    display: inline-block;
    font-size: 15px;
}

/**
 * @subsection  Flag
 */

.Flag.Small {
    width: 17px;
    height: 8px;
}

.Flag span {
    display: block;
    height: 100%;
    text-indent: -9999px;
    cursor: pointer;
    /* set a default color for priorities */
    background-color: #cdcdcd;
}

.Flag span.Escalated {
    background-color:#ff505e;
}

.Flag span.New {
    background-color: #8bef4d;
}

.Flag span.Warning {
    background-color: #ffdd50;
}

.Flag span.PriorityID-1 {
    background-color:#03c4f0;
}

.Flag span.PriorityID-2 {
    background-color:#83bfc8;
}

.Flag span.PriorityID-3 {
    background-color:#cdcdcd;
}

.Flag span.PriorityID-4 {
    background-color:#ffaaaa;
}

.Flag span.PriorityID-5 {
    background-color:#ff505e;
}

/**
 * @subsection  "Unread" star
 */
span.UnreadArticles {
    display: block;
    width: 16px;
    height: 15px;
    margin-left: 6px;
    font-weight: normal;
    position: relative;
    padding: 0px 3px !important;
}

span.UnreadArticles i {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
    font-size: 14px;
    color: #ddd;
}

span.UnreadArticles em {
    display: none;
}

span.UnreadArticles i:first-child {
    color: #777 !important;
    font-size: 16px;
    z-index: 1;
    left: -1px;
    top: -1px;
}

span.UnreadArticles.Remarkable i {
    color: #F2BD0E;
}

span.UnreadArticles.Ordinary {
    color: #ddd;
}

tbody tr:hover span.UnreadArticles i {
    color: #fff;
}

span.ImportantArticles {
    display: block;
    width: 16px;
    height: 16px;
    float: right;
    margin: -2px 0px 0px 23px;
    color: #C10505;
    font-size: 13px;
}

span.ImportantArticles em {
    display: none;
}

/**
 * @subsection  Charts
 */
.Chart {
    width: 240px;
    height: 200px;
}

#ChartTooltip {
    padding: 2px 8px 3px;
    background: #000;
    color: #FFF;
    font-size: 11px;
    opacity: 0.8;
    border-radius: 8px;
    position: absolute;
}

/**
 * @subsection  Datepicker
 */
.DatepickerIcon {
    margin: 0 0 0 2px;
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: top;
    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  Autocompletion
 */

.ui-autocomplete {
    z-index: 20 !important;
}

.ui-overlay-autocomplete {
    z-index: 4000 !important;
}

/**
 * @subsection  Icons
 */
.IconInline {
    display: inline-block;
}

.IconReady {
    width: 16px;
    height: 16px;
    background-image: url(../img/icons/tick.png);
}

.IconNotReady {
    width: 16px;
    height: 16px;
    background-image: url(../img/icons/cross.png);
}

.IconNotReadyGrey {
    width: 16px;
    height: 16px;
    background-image: url(../img/icons/cross_sw.png);
}

/**
 * @subsection  Dialog popup width
 */
iframe.TextOption {
    width: 500px;
    height: 400px;
}

iframe.TextOption.SpellCheck {
    width: 800px;
}

iframe.TextOption.Customer {
    width: 800px;
}

/**
 * @subsection global search
 */
#SearchForm,
#AgentCustomerInformationCenterSearchForm {
    width: 560px;
    padding-right: 20px;
}

#ArticleFilterDialogForm {
    width: 480px;
    max-height: 300px;
}

#ContextSettingsDialog {
    width: 450px;
    max-height: 100px;
}

#SearchForm legend {
    color: #333333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

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


/**
 * @subsection  Chat
 */

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

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

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

#ChatStartDialog {
    width: 500px;
}

#ChatStartDialog form {
    display: block;
    padding: 10px;
}

#ChatStartDialog form input {
    width: 375px;
}

.ChatProtocol {
    border: 1px solid #ccc;
    padding: 2px;
    overflow-y: auto;
    max-height: 150px;
    width: 617px;
}

/**
 * @subsection global jQuery UI optimizations
 */
/*
* Bug #8288: Autocomplete search results show up in Times font when using Internet Explorer
*/
.ui-menu-item {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ui-menu .ui-menu-item a {
    border: 1px solid #fff;
}

} /* end @media */

