/****************************** hlavní ******************************/
body {
    margin: 0px;
    font-family: Tahoma, Verdana, Arial;
    font-size: 0.8em;
}

h2 {
    font-size: 1.4em;
    margin: 5px 5px 10px 0px;
    color: #D54500;
}

h3 {
    font-size: 1.2em;
    margin: 5px 5px 10px 0px;
    color: #D54500;
}

table td {
    white-space: nowrap;
}

/****************************** divy ******************************/

#main_head {
    background-color: #FED065;
    padding: 2px 0px 2px 2px;
    height: 50px;
}

#main_head h1 {
    font-size: 1.8em;
    margin: 10px;
}

#main_head a {
    color: #000000;
    text-decoration: none;
}

#main_head a:hover {
    color: #054ED3;
}

#main_head img {
    vertical-align: middle;
    margin: 0px 20px 0px 2px;
}

#menu_head {
    background-color: #FDBC22;
    background-image: url('img/bg-menu.gif');
    padding: 0px 0px 0px 10px;
    font-size: 1.3em;
}

#menu_head ul {
    margin: 0px;
    padding: 0px;
    height: 30px;
}

#menu_head ul li {
    float: left;
    list-style-type: none;
    height: 30px;
    background-image: url('img/bg-menu1.gif');
    background-position: right;
    background-repeat: no-repeat;
}

#menu_head ul li a {
    color: #054ED3;
    text-decoration: none;
    height: 28px;
    display: block;
    margin: 0px 2px 0px 0px;
    padding: 2px 4px 0px 4px;

}

#menu_head a:hover {
    color: #ff0000;
    background-image: url('img/bg-menu3.gif');
}

#menu_head ul li a.actual {
    background-image: url('img/bg-menu2.gif');
    color: #000000;
    text-decoration: none;
    height: 28px;
    display: block;
    margin: 0px 2px 0px 0px;
    padding: 2px 4px 0px 4px;

}

#menu_head ul li a:hover.actual {
    color: #ff0000;
}

#submenu_head {
    background-color: #E8AE1F;
    padding: 0px 0px 0px 10px;
    font-size: 1.1em;
}

#submenu_head ul {
    margin: 0px;
    padding: 0px;
    height: 20px;
}

#submenu_head ul li {
    float: left;
    list-style-type: none;
    height: 20px;
    background-image: url('img/bg-submenu.gif');
    background-position: right;
    background-repeat: no-repeat;
}

#submenu_head ul li a {
    color: #054ED3;
    text-decoration: none;
    height: 18px;
    display: block;
    margin: 0px 2px 0px 0px;
    padding: 2px 4px 0px 4px;

}

#submenu_head a:hover {
    color: #ff0000;
    background-image: url('img/bg-menu3.gif');
}

#submenu_head ul li a.actual {
    background-image: url('img/bg-submenu1.gif');
    color: #000000;
    text-decoration: none;
    height: 18px;
    display: block;
    margin: 0px 2px 0px 0px;
    padding: 2px 4px 0px 4px;
}

#submenu_head ul li a:hover.actual {
    color: #ff0000;
}

#body {
    margin-left: 10px;
}

#foot {
    background-color: #FDBC22;
    text-align: center;
    padding: 2px;
    margin-top: 10px;
}

a {
    color: #F04E00;
}

a:hover {
    color: #054ED3;
}

input, textarea {
    border: solid #7F9DB9 1px;
}

input.chbox {
    border: 0px;
}

.button {
    background-image: url(img/button.gif);
    background-color: #68B1D8;
    background-repeat: repeat-x;
    background-position: left top;
    border: solid #D5D5D5 1px;
    font-size: 1.1em;
    font-weight: bold;
    padding: 2px;
}

.button_small {
    background-image: url(img/button.gif);
    background-color: #68B1D8;
    background-repeat: repeat-x;
    background-position: left center;
    border: solid #D5D5D5 1px;
    font-size: 0.9em;
    padding: 0px;
}

input.radio {
    border-width: 0px;
}

/****************************** PREPINANI div ******************************/
#prepinani button {
    background-image: url(img/button.gif);
    background-color: #68B1D8;
    background-repeat: repeat-x;
    background-position: left top;
    border: solid #D5D5D5 1px;
    font-size: 1em;
    font-weight: bold;
    padding: 2px;
    margin: 0px 1px 4px 0px;
    width: 200px;
}

/****************************** EDIT tabulka ******************************/
table.edit {
    margin: 5px 5px 10px 5px;
    border: solid #BCBCBC 1px;
}

table.edit th {
    background-color: #BCBCBC;
    padding: 2px 10px 2px 10px;
    text-align: right;
}

table.edit td {
    background-color: #D5D5D5;
    padding: 2px 5px 2px 5px;
}

table.edit td.submit,
table.list td.submit {
    text-align: center;
    padding: 5px;
}

table.edit td.submit input,
table.list td.submit input {
    font-size: 1.1em;
    font-weight: bold;
    padding: 2px 20px 2px 20px;
    /* background-color: #ffffff; */
}

table.edit img.calendar {
    border: none;
    margin-left: 1px;
}

/****************************** LIST tabulka ******************************/
table.list {
    border: solid #DABE8B 1px;
    margin: 5px 5px 10px 5px;
}

table.list th {
    background-color: #DABE8B;
    padding: 5px;
}

table.list tr {
    background-color: #CECECE;
}

table.list tr.y {
    background-color: #E5E5E5;
}
table.list tr.r {
    background-color: #f66262;
}
table.list tr.g {
    background-color: #69bc53;
}

table.list td {
    padding: 1px 3px 1px 3px;
}

table.list td.y {
    background-color: #E5E5E5;
}

table.list td.z {
    background-color: #ffffff;
}

table.list th.ASC {
    background-image: url(img/desc.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 15px;
}

table.list th.DESC {
    background-image: url(img/asc.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 15px;
}

table.list td.servis {
    background-color: #ffffff;
    vertical-align: top;
    width: 550px;
}

table.list td.pager {
    background-color: #ffffff;
    text-align: center;
}

table.list tr.sumarum td {
    border-top: double #000000 3px;
    font-weight: bold;
    padding: 10px 2px 2px 2px;
    vertical-align: bottom;
}

table.list tr.sumarum th {
    border-top: double #000000 3px;
    background-color: #CECECE;
    text-align: right;
    padding: 10px 2px 2px 2px;
    vertical-align: bottom;
}

table.list tr.sumarum td.z {
    border: none;
}

table.list tr.sumarum .button {
    padding: 2px 0px 2px 0px;
    font-size: 1em;
}

table.list th.header {
    font-size: 1.2em;
    background-color: #DABE8B;
    text-align: left;
}

/****************************** SERVIS tabulka ******************************/
table.servis {
    border: solid #DABE8B 1px;
    margin: 5px 5px 10px 5px;
    width: 700px;
}

table.servis th {
    background-color: #DABE8B;
    padding: 5px;
}

table.servis tr {
    background-color: #CECECE;
}

table.servis tr.terminy th {
    text-align: right;
}

table.servis tr.terminy td {
    font-weight: bold;
    text-align: left;
}

table.servis tr.terminy td.popis {
    border: solid #CECECE 1px;
    text-align: left;
    background-color: #ffffff;
    vertical-align: top;
    font-weight: normal;
    white-space: normal;
}

table.servis tr.y {
    background-color: #E5E5E5;
}

table.servis td {
    padding: 1px 3px 1px 3px;
    text-align: center;
    background-color: #E5E5E5;
}

table.servis td.y {
    background-color: #E5E5E5;
}

table.servis td.z {
    background-color: #ffffff;
}

table.servis td.green {
    width: 30px;
    background-color: #00ff00;
}

table.servis td.red {
    background-color: #FF5959;
    width: 30px;
}

table.servis td.orange {
    background-color: #ff8000;
    width: 30px;
}

table.servis td.complete {
    background-color: #CECECE;
    width: 30px;
}

/****************************** UKOL tabulka ******************************/
table.ukol {
    border: solid #DABE8B 1px;
    margin: 5px 5px 10px 5px;
    width: 700px;
}

table.ukol th {
    background-color: #DABE8B;
    padding: 5px;
}

table.ukol tr {
    background-color: #E5E5E5;
}

table.ukol tr th {
    text-align: right;
}

table.ukol tr td {
    font-weight: bold;
    text-align: left;
}

table.ukol tr td.nadpis {
    background-color: #CECECE;
}

table.ukol tr td.popis {
    border: solid #CECECE 1px;
    padding: 5px;
    text-align: left;
    background-color: #ffffff;
    vertical-align: top;
    font-weight: normal;
}

table.ukol td.green {
    width: 30px;
    background-color: #00ff00;
}

table.ukol td.red {
    background-color: #FF5959;
    width: 30px;
}

table.ukol td.orange {
    background-color: #ff8000;
    width: 30px;
}

table.ukol td.complete {
    background-color: #CECECE;
    width: 30px;
}

/****************************** SERVIS_BARVY tabulka ******************************/
table.servis_barvy td {
    font-weight: bold;
    text-align: center;
    background-color: #00ff00;
    padding: 2px;
}

table.servis_barvy td.complete {
    background-color: #CECECE;
}

table.servis_barvy td.orange {
    background-color: #ff8000;
}

table.servis_barvy td.red {
    background-color: #FF5959;
}

/****************************** VSEOB_UKOL tabulka ******************************/
table.vseob_ukol {
    border: solid #DABE8B 1px;
    margin: 5px 5px 10px 5px;
    width: 700px;
}

table.vseob_ukol .nadpis {
    text-align: left;
    white-space: nowrap;
    border: solid #DABE8B 1px;
    background-color: #ffffff;
}

table.vseob_ukol th {
    background-color: #DABE8B;
    padding: 2px;
    text-align: right;
}

table.vseob_ukol td {
    font-weight: bold;
    text-align: left;
    background-color: #E5E5E5;
}

table.vseob_ukol tr.thin th, table.vseob_ukol tr.thin td {
    font-weight: normal;
}

table.vseob_ukol .text {
    background-color: #ffffff;
    white-space: normal;
    font-weight: normal;
    border: solid #DABE8B 1px;
    padding: 3px;
}

table.vseob_ukol .green {
    width: 30px;
    background-color: #00ff00;
}

table.vseob_ukol .red {
    width: 30px;
    background-color: #FF5959;
}

table.vseob_ukol .orange {
    width: 30px;
    background-color: #ff8000;
}

table.vseob_ukol .buttons {
    text-align: center;
}


/****************************** formátovací Divy ******************************/
.report {
    color: #ff0000;
    font-size: 1.2em;
    padding: 5px 2px 1px 2px;
    text-align: center;
    height: 30px;
}

.report2 {
    color: #ff0000;
    font-size: 1.2em;
    padding-left: 5px;
}

.prodej_data_tables table {
    float: left;
    margin: 5px;
}

div.clear {
    clear: both;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

span.b {
    font-weight: bold;
}

/****************************** Kalendář ******************************/

.calendar_cpYearNavigation,
.calendar_cpMonthNavigation
	{
	text-align:center;
	vertical-align:middle;
	text-decoration:none;
	font-weight:bold;
	}
.calendar_cpDayColumnHeader,
.calendar_cpYearNavigation,
.calendar_cpMonthNavigation,
.calendar_cpCurrentMonthDate,
.calendar_cpCurrentMonthDateDisabled,
.calendar_cpOtherMonthDate,
.calendar_cpOtherMonthDateDisabled,
.calendar_cpCurrentDate,
.calendar_cpCurrentDateDisabled,
.calendar_cpTodayText,
.calendar_cpTodayTextDisabled,
.calendar_cpText
	{
	font-size:0.9em;
	}
TD.calendar_cpDayColumnHeader
	{
	text-align:right;

	}
.calendar_cpCurrentMonthDate,
.calendar_cpOtherMonthDate,
.calendar_cpCurrentDate
	{
	text-align:right;
	text-decoration:none;
	}
.calendar_cpCurrentMonthDateDisabled,
.calendar_cpOtherMonthDateDisabled,
.calendar_cpCurrentDateDisabled
	{
	color:#D0D0D0;
	text-align:right;
	text-decoration:line-through;
	}
.calendar_cpCurrentMonthDate
	{
	color: #D54500;
	font-weight:bold;
	}
.calendar_cpCurrentDate
	{
	color: #000000;
	font-weight:bold;
	}
.calendar_cpOtherMonthDate
	{
	color:#808080;
	}
TD.calendar_cpCurrentDate
	{
	color:#FFFFFF;
	background-color: #FDBC22;
	}
TD.calendar_cpCurrentDateDisabled
	{
	border:solid 1px #FFAAAA;
	}
TD.calendar_cpTodayText,
TD.calendar_cpTodayTextDisabled
	{
	border-color: #FED065;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
	}
A.calendar_cpTodayText,
SPAN.calendar_cpTodayTextDisabled
	{
	height:20px;
	}
A.calendar_cpTodayText
	{
	font-weight:bold;
	}
SPAN.calendar_cpTodayTextDisabled
	{
	color:#D0D0D0;
	}
.calendar_cpBorder
	{
	border:solid 1px #FED065;
	}
.calendar_popup_div {
    position:absolute;
    visibility:hidden;
    background-color:white;
}