/*
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 {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    line-height: 1;
    color: var(--black);
    background: var(--main-bg-color);
    text-align: left;
    margin: 0;
    padding: 0;
    font: 12px/14px Arial, sans-serif;
    -webkit-text-stroke: 1px transparent;
}

@media only screen and (max-width: 1024px) {
    body {
        padding: 55px 0 0;
    }
}

#ViewModeSwitch {
    margin: 5px 0px;
}

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

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

a {
    color: #F92;
}

a:hover {
    color: #F72;
}

p {
    color: var(--gray-medium);
}

h1 {
    font-size: 24px;
    line-height: 26px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
    line-height: 20px;
    font-weight: normal;
}

h4 {
    font-weight: bold;
}

strong {
    font-weight: bold;
}

.AsBlock {
    display: block;
}

div.Headline {
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 0;
    position: relative;
    justify-content: space-between;
    min-width: 100%;
    gap: var(--gap-md);
}

div.Headline h1 {
    font-size: var(--font-size-xl);
    line-height: 36px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**
 * @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 {
    display: flex;
    justify-content: space-between;
    padding: var(--padding-lg) var(--padding-xl);
    background: var(--white);
    border-bottom: var(--border-width) var(--border-solid) var(--border-color);
}

@media only screen and (max-width: 1024px) {
    #Header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        justify-content: center;
        padding: var(--padding-sm) var(--padding-lg);
        z-index: 2;
    }
}

#Header a {
    color: var(--black);
    outline: none;
}

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

#Header .info-wrapper {
    display: flex;
    align-items: center;
}

#Header .info-wrapper #Logo {
    position:          relative;
    top:               initial;
    right:             initial;
    width:             120px;
    height:            27px;
    background-color:  transparent;
    background-repeat: no-repeat;
    background-size:   contain;
    margin-right:      70px;
}

@media only screen and (max-width: 1024px) {
    #Header .info-wrapper #Logo {
        margin: 0;
    }

    #Header .info-wrapper .CompanyName {
        display: none;
    }
}

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

  .RTL #Header button {
    display: none;
  }

  .Actions .UserAvatar .Initials {
    color: var(--primary-color);
    font-size: var(--main-font-size);
  }

  .UserAvatar {
    margin-right: 0;
  }

  .UserAvatar > a {
    display: flex;
    align-items: center;
    border: none;
    margin-top: 0;
    padding: var(--padding-xs);
    border-radius: 4px;
    background: transparent;
    transition: var(--main-transition);
  }

  .UserAvatar:hover > a {
    background-color: var(--gray-light);
  }

  .UserAvatar img {
    width: 23px;
    height: 23px;
    border: 1px solid transparent;
    display: block;
    border-radius: 50px;
    cursor: pointer;
  }

  .UserAvatar .UserAvatar_submenu {
    display: none;
    flex-flow: column;
    min-width: 180px;
    background: var(--menu-bg);
    color: var(--menu-font);
    z-index: 999;
    position: absolute;
    top: 50px;
    right: 25px;
    box-shadow: var(--menu-box-shadow);
    padding: var(--padding-lg) var(--padding-sm) var(--padding-sm) var(--padding-sm);
    transition: var(--main-transition);
    border: var(--border-width) var(--border-solid) var(--border-color);
    border-radius: var(--border-radius-xs);
  }

  @media only screen and (max-width: 1024px) {
    .UserAvatar .UserAvatar_submenu {
        left: 300px;
        top: 0;
        border-radius: 0;
        height: 100vh;
        min-width: 225px;
        padding: var(--padding-md) var(--padding-sm) var(--padding-sm) var(--padding-sm);
      }

      .ShowDropDown .UserAvatar .UserAvatar_submenu {
        display: flex;
      }

      .UserAvatar .UserAvatar_submenu ul li.Selected a {
        color: var(--white);
        background: var(--primary-color);
      }

      .UserAvatar .UserAvatar_submenu ul li.Selected a i {
        color: var(--white);
      }

      .UserAvatar .UserAvatar_submenu ul li a {
        justify-content: flex-start;
      }
  }

  .UserAvatar .UserAvatar_submenu ul {
    display: flex;
    flex-direction: column;
  }

  .UserAvatar .UserAvatar_submenu ul li {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .UserAvatar .UserAvatar_submenu ul li a {
    display: flex;
    height: auto;
    width: auto;
    text-indent: 0px;
    line-height: 16px;
    margin-top: 5px;
    white-space: nowrap;
    gap: var(--padding-md);
    align-items: center;
    color: var(--menu-font);
    padding: var(--padding-md) var(--padding-sm);
    transition: var(--main-transition);
    border-radius: var(--border-radius-xs);
  }

  .UserAvatar .UserAvatar_submenu ul li label {
    padding: 0 var(--padding-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--semi-bold);
    color: var(--black);
  }

  .UserAvatar .UserAvatar_submenu ul li a:hover {
    border-radius: var(--border-radius-xs);
    background: var(--gray-light);
  }

  .UserAvatar .UserAvatar_submenu ul li.Last a {
    margin-top: 10px;
  }

  .UserAvatar .UserAvatar_submenu ul li.Last a::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gray-light);
    z-index: 50;
  }

  .UserAvatar .UserAvatar_submenu ul li.Last a i,
  .UserAvatar .UserAvatar_submenu ul li.Last a span {
    color: var(--warning-color);
  }

  .UserAvatar .UserAvatar_submenu ul li a i {
    color: var(--gray-dark);
    font-size: var(--font-size-md);
  }

@media only screen and (max-width: 1024px) {
    .ResponsiveSidebarContainer {
        background: rgba(22, 22, 22, 0.7);
        height: 100%;
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        display: none;
        z-index: 1000;
    }

    #ResponsiveNavigationHandle,
    #ResponsiveSidebarHandle {
        position: fixed;
        left: 21px;
        top: 15px;
        font-size: 1.5em;
        z-index: 999;
    }

    #ResponsiveSidebarHandle {
        left: auto;
        right: 21px;
    }

    .SidebarColumn {
        background: var(--white);
        height: 100vh;
        position: fixed;
        right: -300px;
        top: 0px;
        width: 280px;
        z-index: 998;
        padding: var(--padding-lg);
        overflow: auto;
    }
}



/**
 * @subsection  Content
 */

#MainBox {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    /*padding: var(--main-page-padding);*/
    background: var(--main-bg-color);
}


.PageTitle {
    display: flex;
}


/**
 * @subsection  Javascript enhancement
 */

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

/**
 * @subsection  Footer
 */
#Footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-top: var(--border-width) var(--border-solid) var(--border-color);
    background-color: var(--white);
    margin-top: auto;
}

#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 {
    color: #bbb;
    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 {
    gap: var(--gap-md);
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: var(--padding-lg);
    border: var(--border-width) var(--border-solid) var(--border-color);
    border-radius: var(--border-radius-sm);
    flex: 1;
}

.Hidden {
    display: none;
}

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

.ErrorNote {
    color: #FF505E;
}

/**
 * @subsection  Datepicker
 */
.DatepickerIcon {
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    color: var(--black);
}

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

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

.BreadCrumb {
    display: flex;
    flex-flow: row;
    align-items: center;
    font-weight: var(--semi-bold);
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: transparent;
    position: relative;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: none;
}

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

.BreadCrumb li {
    display: flex;
    align-content: center;
    /*margin: 0px 10px 0px 0px;*/
    padding-left: var(--padding-md);
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
}

/*.BreadCrumb li > a,
.BreadCrumb li > span {
    line-height: 14px;
    display: inline-block;
    padding: 0px 2px 3px 2px;
}*/

.BreadCrumb li i {
    font-size: var(--font-size-xl);
    color: var(--bread-crumb);
}

.BreadCrumb li > span {
    color: var(--bread-crumb-active);
    /*font-size: var(--font-size-lg);*/
    font-weight: var(--semi-bold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/*
.BreadCrumb li:last-child {
    padding-right: 0;
    padding-left: var(--padding-md);
    overflow: hidden;
}
*/

.BreadCrumb li:last-child a{
    color: var(--bread-crumb-active);
}

.BreadCrumb li:first-child a i {
    font-size: 16px;
    color: #777;
}

.BreadCrumb li:first-child a:hover i {
    color: #333;
}

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

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

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

.BreadCrumb a {
    position: relative;
    color: var(--bread-crumb);
    font-size: var(--font-size-sm);
}

.BreadCrumb a:hover {
    text-decoration: underline;
}
/*  'after' and 'before' pseudo-elements have been replaced by <i> icon
.BreadCrumb a:after {
    position: absolute;
    left: 0px;
    width: 0px;
    content: "";
    bottom: 0px;
    border-bottom: 1px solid #bbb;
    transition: all ease 0.3s;
}

.BreadCrumb a:hover:after,
.BreadCrumb a:focus:after,
.BreadCrumb a:active:after {
    width: 100%;
}

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

.BreadCrumb li:after {
    left: 0px;
    border-color: rgba(255, 255, 255, 0);
    border-left-color: var(--bread-crumb);
}

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

.BreadCrumb li:before {
    left: -2px;
    border-color: rgba(238, 238, 238, 0);
    border-left-color: var(--main-bg-color);
    z-index: 2;
}

.RTL .BreadCrumb li:before {
    left: auto;
    right: -2px;
    border-right-color: transparent;
    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;
    justify-content: 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  Iframes
 */

iframe.FAQField {
    width: 100%;
    height: auto;
}

} /* end @media */

/**
 * @subsection  Container
 */

#Container {
    display: flex;
    border: var(--border-width) var(--border-solid) var(--border-color);
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    background: var(--white);
}

#Container form div {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.ContainerCenter {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--main-page-padding);
    justify-content: center;
    align-items: center;
}

#Container h2 {
    line-height: 22px;
    padding-bottom: var(--padding-lg);
}

#Container .header-content {
    padding-bottom: var(--padding-md);
}

#Container .header-content h2 {
    padding-bottom: 0;
}

#Container form .Marker {
    display: none;
}

#Container .ContainerBox {
    width: 100%;
    height: 100%;
    padding-left: 0;
    position: relative;
    padding: var(--padding-xxl);
}
