/*
Copyright (C) 2001-2019 OTRS AG, https://otrs.com/

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

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

@media screen, projection, tv, handheld {
  /**
     * @subsection  Header
     */
  #Header {
    height: 72px;
    padding: 10px 0 12px;
    background: #575756;
    color: #fff;
    position: relative;
  }

  /**
     * @subsection  Logo
     */
  #Logo {
    background-image: url('https://marca.ceoecantabria.es/files/brand/logotipo_claro.png') !important;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    background-position-x: 130px;
    background-position-y: 0px;
    height: 80px !important;
  }

  .RTL #Header #Logo {
    right: auto;
    left: 38px;
  }

  /**
     * @subsection  Toolbar
     */
  #ToolBar {
    left: 10px;
    top: 15px;
    position: absolute;
  }

  #ToolBar:last-child {
    margin-left: 0px;
  }

  .RTL #ToolBar {
    left: auto;
    right: 10px;
  }

  #ToolBar li {
    width: 24px;
    height: 34px;
    margin: 0 5px;
    float: left;
    position: relative;
  }

  .RTL #ToolBar li {
    float: right;
  }

  #ToolBar li.Extended {
    width: auto;
  }

  #ToolBar li.Extended form * {
    float: left;
  }

  #ToolBar li.Extended form select {
    margin-top: 1px;
  }

  #ToolBar li.UserAvatar {
    margin: -5px 25px 0px 10px;
  }

  #ToolBar li.UserAvatar .Initials {
    background: #777;
    display: block;
    height: 35px;
    width: 35px;
    border-radius: 50px;
    color: #ccc;
    text-indent: 0px;
    text-align: center;
    line-height: 37px;
    text-shadow: 1px 1px 1px #333;
    border: 1px solid transparent;
  }

  #ToolBar li.UserAvatar i {
    display: none !important;
  }

  #ToolBar li.UserAvatar > a {
    display: block;
    width: 37px;
    height: 37px;
    border-radius: 50px;
    border: 2px solid transparent;
    padding: 0px;
    margin-top: -3px;
    transition: border-color ease 0.3s;
  }

  body.Visible-ScreenXL #ToolBar li.UserAvatar:hover > a,
  body.Visible-ScreenXL #ToolBar li.UserAvatar > a.Active {
    animation-name: border-fill;
    animation-duration: 0.3s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
  }

  @keyframes border-fill {
    0% {
      border-bottom: 2px solid #f92;
    }
    25% {
      border-bottom: 2px solid #f92;
      border-left: 2px solid #f92;
    }
    50% {
      border-bottom: 2px solid #f92;
      border-left: 2px solid #f92;
      border-top: 2px solid #f92;
    }
    100% {
      border-bottom: 2px solid #f92;
      border-left: 2px solid #f92;
      border-top: 2px solid #f92;
      border-right: 2px solid #f92;
    }
  }

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

  #ToolBar li.UserAvatar div {
    display: none;
    min-width: 180px;
    background: #555;
    z-index: 999;
    position: absolute;
    top: 100%;
    left: -10px;
    margin-top: 22px;
  }

  #ToolBar li.UserAvatar div:after {
    bottom: 100%;
    left: 15px;
    border: solid transparent;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(85, 85, 85, 0);
    border-bottom-color: #555;
    border-width: 15px;
  }

  #ToolBar li.UserAvatar div a,
  #ToolBar li.UserAvatar div span {
    text-indent: 0px;
    height: auto;
    width: auto;
    line-height: 18px;
    color: #fff;
    display: block;
    padding: 5px 10px;
    white-space: nowrap;
  }

  body.Visible-ScreenXL #ToolBar li.UserAvatar div a:hover {
    background: #777;
  }

  #ToolBar li.UserAvatar div a:last-child {
    padding-bottom: 10px;
  }

  #ToolBar li.UserAvatar div span {
    color: #ccc;
    font-size: 12px;
    border-bottom: 1px solid #777;
    padding-bottom: 5px;
    margin-bottom: 5px;
    padding-top: 10px;
  }

  #ToolBar li.UserAvatar div strong {
    font-weight: normal;
  }

  #ToolBar a {
    height: 20px;
    width: 24px;
    text-indent: -9999px;
    position: relative;
    display: block;
  }

  #ToolBar a i {
    display: block !important;
    font-size: 18px;
    font-style: normal;
    font-weight: normal !important;
    padding: 0;
    text-align: center;
    text-indent: 0;
    text-shadow: 1px 1px 0 #000000;
    width: 24px;
    position: relative;
    top: -9px;
  }

  #ToolBar a i.icon-small {
    font-size: 12px !important;
    position: absolute;
    right: -7px;
    text-align: center;
    top: -3px;
    width: 15px;
    display: none !important;
  }

  #ToolBar .New .icon-small.icon-show-new {
    display: block !important;
  }

  #ToolBar .Reached .icon-small.icon-show-reached {
    display: block !important;
  }

  #ToolBar a span.Counter {
    bottom: -14px;
    color: #ffffff;
    display: block;
    font-size: 11px;
    left: 50%;
    margin-left: -12px;
    position: absolute;
    text-align: center;
    text-indent: 0 !important;
    width: 24px;
  }

  #ToolBar .Extended.SearchProfile {
    position: relative;
    padding-left: 10px;
    margin-right: 0px;
  }

  #ToolBar .Extended.SearchProfile input[type='text'] {
    margin-right: 0px;
  }

  #ToolBar .Extended input[type='text'] {
    padding: 4px 7px 5px 22px;
    background: #444;
    border: 1px solid #333;
    box-shadow: none;
    position: relative;
    top: -1px;
    margin-right: -5px;
    text-overflow: ellipsis;
    font-size: 12px;
    transition: all ease 0.3s;
    color: #aaa;
  }

  #ToolBar .Extended input[type='text']:not(.InputField_Search) {
    width: 90px !important;
  }

  #ToolBar .Extended.SearchFulltext {
    position: relative;
  }

  #ToolBar .Extended.SearchFulltext:before {
    content: '\f002';
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    left: 8px;
    z-index: 2;
    color: #777;
    top: 5px;
  }

  #ToolBar .Extended input[type='text']:focus {
    position: relative;
    z-index: 3;
  }

  #ToolBar .Extended input[type='text']:not(.InputField_Search):focus {
    padding-left: 7px;
    width: 120px !important;
  }

  #ToolBar .Extended input[type='text']::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #999;
  }

  #ToolBar .Extended input[type='text']:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #999;
  }

  #ToolBar .Extended input[type='text']::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #999;
  }

  #ToolBar .Extended input[type='text']:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #999;
  }

  #ToolBar .Extended input[type='text']::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #999;
  }

  #ToolBar .Extended input[type='text']:focus::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #555;
  }

  #ToolBar .Extended input[type='text']:focus:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #555;
  }

  #ToolBar .Extended input[type='text']:focus::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #555;
  }

  #ToolBar .Extended input[type='text']:focus:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #555;
  }

  #ToolBar .Extended input[type='text']:focus::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #555;
  }

  /**
     * @subsection      Navigation Level-0
     */

  #NavigationContainer {
    position: absolute;
    top: 55px;
    left: 10px;
    z-index: 20;
    width: 98%;
    height: 34px;
    overflow: hidden;
  }

  .NavContainerZIndex {
    z-index: 5500 !important;
  }

  #NavigationContainer #Navigation {
    left: 0px;
    position: absolute;
  }

  .RTL #NavigationContainer {
    left: auto;
    right: 10px;
  }

  #NavigationContainer > a {
    background: #f3960d;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    height: 34px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    width: 20px;
    z-index: 100;
  }

  #NavigationContainer > a.NavigationBarNavigateRight {
    right: 0px;
  }

  #NavigationContainer > a.NavigationBarNavigateLeft {
    left: 0px;
  }

  #NavigationContainer > a:hover {
    padding-top: 1px;
    padding-left: 1px;
    width: 19px;
    height: 33px;
  }

  #NavigationContainer > a i {
    margin-top: 10px;
    display: block;
  }

  #NavigationContainer > .fa-check {
    position: absolute;
    font-size: 15px;
    top: 8px;
    color: #777;
    display: none;
  }

  /**
     * @subsection      Main hover effect
     */
  #Navigation > li {
    float: left;
    position: relative;
  }

  #Navigation > li > a {
    display: block;
    height: 21px;
    padding: 8px 10px 4px 10px;
    font-size: 12px;
    line-height: 12px;
    color: #ddd;
    position: relative;
  }

  #Navigation > li > a:after {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: #0dbbef;
    content: '';
    transform: scale(0, 1);
    transform-origin: 0;
    transition: transform 300ms ease;
    will-change: transform;
  }

  #Navigation > li > a#GlobalSearchNav {
    padding-right: 21px;
  }

  #Navigation > li > a#GlobalSearchNav i {
    font-size: 15px;
    margin-top: 5px;
  }

  .RTL #Navigation > li {
    float: right;
  }

  .RTL #Navigation > li > a {
    padding: 4px 4px 3px 15px;
  }

  .RTL #Navigation > li > a#GlobalSearchNav {
    padding-right: 4px;
    padding-left: 26px;
  }

  #Navigation > li:hover {
    cursor: pointer;
  }

  #Navigation > li:hover > a,
  #Navigation > li:active > a {
    color: #fff;
  }

  #Navigation > li:hover > a:after,
  #Navigation > li:active > a:after,
  #Navigation > li > a:hover:after,
  #Navigation > li > a:active:after,
  #Navigation > li > a:focus:after,
  #Navigation > li.Selected > a:after {
    transform: scale(1, 1);
  }

  #Navigation > .Selected {
    z-index: 90;
  }

  #Navigation > .Selected > a {
    color: #fff;
  }

  /**
     * @subsection      Search icon
     */
  #Navigation .Search {
    width: 16px;
  }

  #Navigation a i {
    top: 2px;
    left: 15px;
    font-size: 20px;
    position: absolute;
  }

  /**
     * @subsection      Navigation Second level
     */

  #Navigation > li > ul {
    display: none;
  }

  #Navigation > .Active > ul {
    position: absolute;
    top: 34px;
    left: 0px;
    display: block;
    z-index: 99;
    background: #333;
    min-width: 100%;
  }

  .RTL #Navigation > .Active > ul {
    left: auto;
    right: -9px;
  }

  #Navigation > .Active > ul > li {
    font-size: 11px;
    line-height: 11px;
    margin-top: -1px;
    position: relative;
    white-space: nowrap;
  }

  #Navigation > .Active > ul > li:hover {
    background: #ff9922;
  }

  #Navigation > .Active > ul > li:hover > a {
    color: #000;
  }

  #Navigation > .Active > ul > li > a {
    display: block;
    position: relative;
    color: #ddd;
    padding: 8px 10px;
    border-bottom: 1px solid #222;
  }

  #Navigation > .Active > ul > li:last-child > a {
    border-bottom: none;
  }
} /* end @media */
