/* Layout */

body
{
  font-family: 'Arial CE', Arial, sans-serif; font-size: 0.75em;
  background: #c7c7c7;
  margin: 0 0 10px 0; padding: 0;
}

#page
{
  position: relative; min-height: 750px; _height: 750px;
  margin: 10px 20px; padding-bottom: 10px;
  background-color: #eee; border-top: 7px solid #313b54; border-bottom: 2px solid #313b54;
}

#head
{
  position: absolute; top: 0; left: 0; width: 100%; height: 50px;
  border-bottom: 3px solid #313b54;
  background: white; background-image: url(avex.png); background-repeat: no-repeat; background-position: 14px 50%;
}

h1
{
  position: absolute; left: 190px; top: 0;
  padding: 8px 0 0 0em; margin: 0;
  font-size: 1.5em; font-weight: bold;
}

#main { margin: 53px 2em 0 190px; padding: 1em 0; }

body.iframe #page { margin: 0; }
body.iframe #head { background-image: none; }
body.iframe h1 { padding: 8px 0 0 1em; }
body.iframe #main { margin: 53px 2em 0 2em; }

#logout
{
  position: absolute; top: 32px; right: 2em;
  background: url(sipka_mala.gif); background-repeat: no-repeat; padding-left: 20px;
}

#subtitle
{
  position: absolute; top: 32px; left: 190px;
  background: url(sipka_mala.gif); background-repeat: no-repeat; padding-left: 20px;
}

/* Basic */


a { color: #313b54; }
a img { border: none; }

table
{
  width: 80%; margin: 0 auto 20px auto; padding: 3px;
  border-collapse: collapse; background-color: #f5f5f5;
}

td, th { padding: 5px 10px; border-bottom: 1px solid #c4c4c4; text-align: left; }

p.action-local { font-size: 0.9em; position: relative; margin-bottom: 13px; text-align: right; }
p.action-local a { background: url(default.png) no-repeat; font-weight: bold; padding: 2px 0 2px 20px; margin-left: 1em; }
p.action-global { font-size: 0.9em; position: relative; margin-bottom: 13px; }
p.action-global a { background: url(default.png) no-repeat; font-weight: bold; padding: 2px 0 2px 20px; margin-right: 1em; }
p.action-global a.add, p.action-local a.add { background-image: url(add.png); }
p.action-global a.list, p.action-local a.list { background-image: url(list.png); }
p.action-global a.print, p.action-local a.print { background-image: url(print.png); }
p.action-global a.cancel, p.action-local a.cancel { background-image: url(back.png); }
p.action-global a.delete, p.action-local a.delete { background-image: url(delete.png); }
p.action-global a.back, p.action-local a.back { background-image: url(back.png); }
p.action-global a.done, p.action-local a.done { background-image: url(done.png); }

hr { border: 0; color: #313b54; background-color: #313b54; height: 1px; }

table .done { color: #00a426; }
table .disabled { color: #666; }
table .alert { color: #a40010; }
table .emph { font-weight: bold; }

pre { font-size: 14px; }
			           
/* Menu */

body.iframe #menu { display: none; }
													
#menu
{
  position: absolute; top: 53px; left: 0; width: 14em;
  background: #f5f5f5;
}

#menu ul { list-style-type: none; padding: 0; margin: 0; }
#menu ul.top { margin: 1.5em 1em; }

#menu li span
{
  display: block; padding: 3px 6px;
  background: #9c9c9c; color: white; font-weight: bold;
}

#menu li li span
{
  background: #f5f5f5; color: #313b54; font-weight: normal;
  border-bottom: 1px solid #c4c4c4;
}

#menu li li span:hover { background-color: #f0e4e3; }
#menu li.selected span { font-weight: bold; color: #a40010; }
#menu a { text-decoration: none; }

/* Tabs */

.tabber .tabs { text-align: center; margin-bottom: 1em; }

.tabber .tab, .tabber .tab-selected, .tabber .tab-disabled
{
  font-weight: bold; text-decoration: underline; outline: none;
  color: #313c52; background: url(sipka_mala.gif) no-repeat 0 2px;
  margin: 0 1ex; padding: 2px 4px 0 18px;
  
}

.tabber .tab-selected { color: #a40010; text-decoration: none; }
.tabber .tab-disabled { color: #888; text-decoration: none; }
.tabber div.tab-content { display: none; }
.tabber div.tab-content-selected { display: block; }

/* Lists */

.lister { position: relative; clear: both; }

.lister form
{
  background-color: #fff; font-size: 0.9em; color: #666666;
  padding: 1em; margin-bottom: 1em;
}

.lister table
{
  width: 100%; margin: 0 0 1px 0;
  font-size: 1.1em; color: #000000;
}

.lister input, .lister select { font-size: 1em; }
.lister th { background-color: #7A94A1; color: #FFF; text-align: left; }
.lister form table tr:FIRST-CHILD { text-align: left; }
.lister tr.even { background: #eee; }
.lister tr.even:hover, div.lister tr.odd:hover { background-color: #f0e4e3; }
.lister .search, .lister .filter, .lister .pager { font-weight: bold; }
.lister .search { width: 49%; float: left; position: relative; }
.lister .pager { width: 40%; float: right; position: relative; text-align: right; }
.lister .filter { position: relative; padding: 5px 0 1px 0; clear: both; background-color: #EAEAEA; }
.lister .filter input { width: 27px; }
.lister .searchpager { position: relative; background-color: #EAEAEA; padding: 5px 8px; border: 1px solid; border-color: #CACACA; width: auto; display: block; margin-bottom: 1em; }
.lister .clear { clear: both; }
.lister .thickline td { border-top: 3px solid #CACACA; }
.lister .actions { text-align: right; margin: 1ex 0 0em 0; }

/* Forms */

.former th { width: 25%; }
.former input, .former select { font-size: 1em; }
.former textarea { font-family: monospace; font-size: 14px; }
.former input[type="text"], .former select, .former textarea { box-sizing: border-box; -moz-box-sizing: border-box; /*width: 100%;*/ }
.former .former-element { width: 100%; }
.former .former-element-date { width: 20%; }
.former #former-element-identnumber { width: 25%; }

/* JQuery datepicker */

#ui-datepicker-div { width: 250px; border: 5px solid #9c9c9c; background: #f5f5f5; display: none; }
#ui-datepicker-div table { margin: 0; width: 100%; }
#ui-datepicker-div table a { display: block; padding: 5px 0; text-align: center; }
#ui-datepicker-div table td, #ui-datepicker-div table th { padding: 0; text-align: center; }
#ui-datepicker-div table td { color: #888; }
.ui-datepicker-control, .ui-datepicker-current { display: none; }
/*.ui-datepicker-links { border-bottom: 1px solid #c4c4c4; }*/
.ui-datepicker-clear, .ui-datepicker-prev { float: left; }
.ui-datepicker-close, .ui-datepicker-next { float: right; }
.ui-datepicker-header { text-align: center; }
#ui-datepicker-div thead { font-weight: bold; }
.ui-datepicker-otherMonth { color: #888; }
.ui-datepicker-today { border: 2px solid #313b54; }
.ui-datepicker-current-day { background: #a40010; }
.ui-datepicker-current-day a { color: #fff; }

.sample { text-align: center; font-size: 40px; line-height: 48px; margin: 60px 0; }
.sample2 { text-align: center; font-size: 25px; line-height: 30px; margin: 60px 0; }
.sample img, .sample2 img { margin: 10px; border: none; }

.center { text-align: center; }

@media print
{
    #menu, #head, #logout, #subtitle, .tabs, .action-global, .action-local, .lister .searchpager, .lister .actions { display: none; }
    #main { margin: 0; }
    h1 { position: static; padding: 0; }
    #page { border: none; }
}

.rights { width: 100%; }

#wait-indicator { position: absolute; top: 3px; right: 2em; z-index: 20; display: none; }
