/*
  Generic styles for HCM modern skin.
  
  To change width of one column in main menu, change width in .menu and left attribute in .level2, .level3, .level4. 
  Also .content .max-width margin-left must be set to proper value.
  Default value is 168px. This value must stay synced with @options.menu_width in app.js.
  
  Some properties from css reset may cause conflicts with Smartclient's styles.
*/

/* maxvoltar.com/archive/-webkit-font-smoothing */
html {
  /* overflow-y: scroll; */ /* always force a scrollbar in non-IE */
  -webkit-font-smoothing: antialiased;
}

/* Based on http://meyerweb.com/eric/tools/css/reset/ v1.0 | 20080212 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  /* vertical-align: baseline; */ /* conflicting with smartclient ! */ 
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

ul, li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input {
  vertical-align: middle;
}

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {
  outline: none;
}

/* www.aestheticallyloyal.com/public/optimize-legibility/ */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-rendering: optimizeLegibility;
}

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
  width: auto;
  overflow: visible;
}

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] {
  vertical-align: text-bottom;
}

input[type="checkbox"] {
  vertical-align: baseline;
}

input[type="submit"], button {
  position: relative;
}
input[type="submit"]:active, button:active {
  top: 1px;
}
input[type="submit"]:hover, button:active {
  text-decoration: underline;
  cursor: pointer;
}
.ie6 input {
  vertical-align: text-bottom;
}

td, td img {
  /* vertical-align: top; */ /* conflicts with smartclient */
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

.invisible {
  left: -999em;
  position: absolute;
}

body {
  font: 11px/1.3 Arial, Helvetica, Tahoma, sans-serif;
  min-width: 960px;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 14px;
  overflow: hidden;
}

.max-width {
  /* max-width: 1260px; */ /* Defines maximum width of the application. Currently disabled. */
  position: relative;
}

.header {
  height: 64px;
}
.header .max-width {
  height: 21px;
  padding: 9px 0 9px 10px;
}

.light-headline {
  font-size: 14px;
  line-height: 32px;
  margin-bottom: 5px;
}

.aside {
  float: right;
  margin-top: -2px;
  *margin-top: 1px;
  *margin-right: 10px;
}

.form li {
  line-height: 34px;
  padding: 0 10px 3px;
}

.text {
  height: 22px;
  line-height: 22px;
}

.label {
  float: left;
  width: 150px;
}

.info {
  display: block;
  margin-left: 150px;
}

/*
--- Breadcrumbs --------------------------------------------------------------
*/
.breadcrumbs {
  background: #282b30;
  height: 24px;
  line-height: 24px;
  position: relative;
  -moz-box-shadow: 0 0 3px black;
  -webkit-box-shadow: 0 0 3px black;
  -o-box-shadow: 0 0 3px black;
  box-shadow: 0 0 3px black;
}
.breadcrumbs li {
  float: left;
  padding: 0 33px 0 0;
}
.breadcrumbs li:first-child {
  padding-left: 0;
}
.breadcrumbs a {
  color: #fff;
  text-shadow: black 0 1px 1px;
}

.header .breadcrumbs .max-width {
  padding: 0 0 0 10px;
}

.mask, .login {
  background: #fff;
  border: 0;
  height: 18px;
  line-height: 18px;
  margin: 0;
  width: 225px;
}

.login {
  width: 125px;
}

#loadingPointer {
  float: left; width: 24px; height: 24px; background: url(../images/loading.gif); margin: 0 5px 0 0; top: -1px;
}

#maskLoadingPointer {
  float: left; width: 66px; height: 66px; margin: 20px 0 0 20px; background: url(../images/loadingMask.gif);
}

/*
--- Settings -----------------------------------------------------------------
*/
.settings {
  position: absolute;
  right: 10px;
  top: 9px;
}
.settings li {
  float: left;
  line-height: 21px;
  position: relative;
}
.settings li:last-child {
  border-right: 0;
  padding-right: 0;
}
.settings span {
  position: absolute;
}

.icon {
  padding: 0 15px 0 30px;
}

.icon-login {
  border: 0;
  color: #fff;
  font: 11px/1.2 Arial, Helvetica, sans-serif;
  padding: 0 0 0 24px;
}

.setting {
  padding: 0 15px;
}

.languages {
  position: absolute;
  right: 10px;
  top: 0;
}

.languages li {
  float: left;
  margin: 12px 0 0 10px;
}

.language {
  background: url('../images/flags-17972b788d.png') no-repeat;
  display: block;
  height: 15px;
  text-indent: -999em;
  width: 18px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30);  
  filter: alpha(opacity=30);
  opacity: 0.3;
}
.language:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.language.selected {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  opacity: 1;
}

.sk {
  background-position: 0 -30px;
}

.en {
  background-position: 0 -15px;
}

.de {
  background-position: 0 0;
}

li a.ab, li a.de_AT {
  background-image: url('../images/flags/ab.png');
}

li a.nl {
  background-image: url('../images/flags/nl.gif');
}

li a.it {
  background-image: url('../images/flags/it.gif');
}
li a.es {
  background-image: url('../images/flags/sp.gif');
}
li a.fr {
  background-image: url('../images/flags/Fr.gif');
}
li a.pl {
  background-image: url('../images/flags/pl.png');
}
li a.cs {
  background-image: url('../images/flags/cs.png');
}
li a.hu {
  background-image: url('../images/flags/hu.png');
}
li a.xx {
  background-image: url('../images/flags/xx.png');
}
li a.dc, li a.de_CH {
  background-image: url('../images/flags/dc.png');
}
li a.fc, li a.fr_CH {
  background-image: url('../images/flags/fc.png');
}



/*
--- Dialog -------------------------------------------------------------------
*/
.dialog {
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
  padding: 18px 10px;
  display: none;
}
.dialog section {
  float: left;
  width: 68%;
}
.dialog aside {
  float: right;
  margin-left: 10px;
  padding: 0 10px 15px;
  width: 28%;
}

.submit {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 10px;
  padding: 2px 15px;
  position: relative;
  text-transform: uppercase;
}
.submit:active {
  top: 1px;
}

/*
--- Content -----------------------------------------------------------------
*/
.content {
  min-height: 100px;
  position: relative;
}
.content .max-width {
  /* max-width: 1252px; */
  margin-left: 180px;
}

/*
--- Menu --------------------------------------------------------------------
*/
.main-nav {
  left: 0;
  position: absolute;
  top: -3px;
  z-index: 2147483640;
}

* html .main-nav {
  top: 0;
}

.menu {
  display: none;
  overflow: hidden;
  position: absolute;
  width: 180px;
}

.active {
  display: block;
}

.menuitem {
  display: block;
  padding: 10px;
}
.menuitem:hover {
  text-decoration: none;
}
.menuitem h2, .menuitem h3 {
  padding-left: 30px;
}
.menuitem h2 {
  font-size: 13px;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.menuitem h3 {
  color: #5d5d5d;
  font-size: 11px;
  font-weight: normal;
}

.back {
  font-weight: bold;
  padding-left: 26px;
  position: relative;
}
.back em {
  font: normal 13px/1 monospace;
  left: 10px;
  position: absolute;
  top: 10px;
}

* html .back em {
  left: -16px;
}

.menu .selected {
  font-weight: bold;
}

.badge {
  display: none;
}

.level1 {
  z-index: 99;
}

.level2 {
  left: 180px;
  top: 0;
  z-index: 98;
}

.level3 {
  left: 360px;
  top: 0;
  z-index: 97;
}

.level4 {
  left: 540px;
  top: 0;
  z-index: 96;
}

#content2 {
  bottom: 0;
  left: 0;
  position: fixed;
  width: 180px;
  z-index: 2147483641;
}

.small-header {
  font-size: 11px;
  height: auto;
  padding: 2px 10px;
}
.small-header a {
  display: block;
}

.content2Div {
  border-top: 1px solid #d8d8d8;
  max-height: 169px;
  padding-bottom: 4px;
}
.content2-content iframe {
  border-right: 1px solid #cdc8b6;
}

.filter-input {
  overflow: hidden;
  padding: 2px 0 2px 10px;
}
.filter-input input {
  border: none;
  float: left;
}
.filter-input .filter-submit {
  height: 18px;
  text-indent: -999em;
  width: 18px;
}

.item a {
  display: block;
}

.sub {
  margin-left: 15px;
}
.sub .sub {
  margin-left: 15px;
}
.sub a {
  display: block;
}

/*
--- ContentDiv -----------------------------------------------------------------
*/
#contentDiv {
  padding: 10px;
}

#content2 {
  background: #fff;
  border: 1px solid #aaa;
}

form.aside {
  margin: 0 5px 0 0;
}

form.aside label {
  color: #fff;
  margin: 0 5px 0 10px;
}

.loginError, .passwordError {
  background: #FA8EA9;
}

#system-settings form p {
  margin: 10px 0 0 0;
}

.settingsLanguages li {
  float: left; margin: 12px 0 0 10px;
}

.maskSearch {
  float: right; margin: 0 10px 0 0;
}

.dashBoardPanel {
  width: 55% !important;
}

.maskSearchLabel {
  color: #fff;
  padding: 0 10px 0 0;
}

.assistTitle {
  color: #fff;
  font-size: 10px;
  padding-right: 15px;
}

.assistTitleSplited {
  width: 450px;
  float: right;
  text-align: right;
}