/************ Zaklad layoutu stranky ************/

/* Obsah stranky */
.PthContent 
{
	padding: 5px 5px 5px 5px;
	height:100%;
	background-color: #FFFAE6;
	margin:0px;
}

/* Panel ve strance */
.PthPanel 
{
	border: solid 1px LightGrey;
	background-color: WhiteSmoke;
	margin: 0px;
	padding:0px 5px 5px 5px;
	height:100%;
}

/* Nadpis panelu ve strance */
.PthPanel .PthPanelHeading
{
	font-size: 16px;
	padding: 0px;
	font-style:italic;
	color: #333399;
	margin: 5px 0px 5px 0px;
}

/* Panel v panelu */
.PthSubPanel 
{
	background-color:White;
	border:solid 1px lightgrey; 
	padding:5px;	
}

.PthSubPanel .PthPanelHeading
{
	font-variant:normal;
	font-size: 12px;
	padding: 0px;
	font-style:italic;
	color: #333399;
	margin: 2px 0px 5px 0px;
}

/******************* Ikony  **********************/
.PthSaveIcon { background-image:url('pthimages/save.gif'); }
.PthDeleteIcon { background-image:url('pthimages/delete.gif'); }
.PthEditIcon { background-image:url('pthimages/edit.gif'); }
.PthCancelIcon { background-image:url('pthimages/cancel.gif'); }
.PthNewIcon { background-image:url('pthimages/new.gif'); }
.PthFilterIcon { background-image:url('pthimages/filter.gif'); }
.PthSearchIcon { background-image:url('pthimages/search.gif'); }
.PthUploadIcon { background-image:url('pthimages/upload.gif'); }
.PthUserIcon { background-image:url('pthimages/user.gif'); }
.PthKeyIcon { background-image:url('pthimages/key.gif'); }
.PthCalendarIcon { background-image:url('pthimages/calendar.gif'); }
.PthErrorIcon { background-image:url('pthimages/error_small.png'); }
.PthInformationIcon { background-image:url('pthimages/information_small.png'); }
.PthSuccessIcon { background-image:url('pthimages/success_small.png'); }
.PthWarningIcon { background-image:url('pthimages/warning_small.png'); }
.PthPrintIcon { background-image:url('pthimages/print.gif'); }
.PthExportIcon { background-image:url('pthimages/export.gif'); }
.PthQuestionIcon { background-image:url('pthimages/question_small.png'); }

/****************** Tlacitko s ikonou ************/

.PthImageButton 
{
	padding:2px;
	Width: 16px;
	Height: 16px;
	border-width:0px;
	background-color:lightgrey;
	vertical-align:middle;
	cursor:pointer;
}

.PthImageButton:hover
{
	background-color:#FF8000;
}

.PthButton 
{
	border: solid 1px gray;
	background-color:LightGrey;
	text-decoration:none;
	font-size:12px;
	padding: 4px 8px 4px 22px;
	background-position:4px center;
	background-repeat:no-repeat;
	text-align:left;
	vertical-align:middle;
	color:Black;
	display:inline-block;
	cursor:pointer;
}

.PthButton:link 
{
	color:Black;
}

.PthButton:hover 
{
	background-color:#FF8000;
}

.PthRichBtn 
{
	display:inline;
	cursor:pointer;
	white-space:nowrap;
	text-decoration:none;
}

.PthRichBtn div
 {
	display:inline-block;
	float:left;
	height:25px;
}

.PthRichBtn .Left
{
	display:none;
}

.PthRichBtn .Right
{
	display:none;
}

.PthRichBtn .Cnt
{
	border: solid 1px gray;
	background-color:LightGrey;
	overflow:hidden;
	margin: 5px 2px 5px 2px;
	white-space:nowrap;
}

.PthRichBtn .Cnt div 
{
	vertical-align:middle;
	padding:0px 3px 0px 1px;
}

.PthRichBtn .Cnt .Img 
{
	background-repeat:no-repeat;
	background-position:center center;
	width:18px;
	padding:0px 0px 0px 2px;
}

.PthRichBtn div div
{
	color:Black;
	text-decoration:none;
	vertical-align:middle;
	line-height:25px;
	font-size:11px;
}

.PthRichBtn:hover
{
	background-color:#FF8000;
}


/************ Styl kontrolu, ktery neprosel validaci **********/
.PthInvalid 
{
	background-color:#FF9680;
}

/************ Nadpis v záhlaví aplikace nad menu ******/
.PthAppHeader 
{
	position:absolute; 
	top:-2px; 
	right:5px; 
	font-size:20px;
	font-weight:bold;
	color:#6078BF;
	text-align:right;
	width:300px;
	z-index:10;
}

/****************** Menu ********************/

.PthMenuContainer 
{
	position:relative;
	z-index:2;
	
}

.AspNet-Menu-Horizontal 
{
	border-bottom:solid 4px #6078BF;
	height:25px;
}
.AspNet-Menu /* Tier 1 */
{
    width: 100%;
    font-size:14px;
}

.AspNet-Menu li 
{
	background: lightgrey;
	margin-right:5px;
	border:none;
}

.AspNet-Menu ul  /* Tier 2 */
{
    top: 100%;
    left: 0;
}

.AspNet-Menu ul ul  /* Tier 3+ */
{
	width: 15em;
    top: 0px;
    left: 15em;
}

.AspNet-Menu ul li /* all list items */
{
    width: 15em;
    background: lightgrey;
}

.AspNet-Menu li:hover, /* list items being hovered over */
.AspNet-Menu li.AspNet-Menu-Hover
{
    background: #6096BF;
}

.AspNet-Menu a, /* all anchors and spans (nodes with no link) */
.AspNet-Menu span
{
    color: white;
    padding: 4px 15px 4px 8px;
    margin: 0px 4px 0px 4px;
    border:none;
    background: transparent url(pthimages/menu_right_arrow.gif) right center no-repeat;
}

.AspNet-Menu li.AspNet-Menu-Leaf a, /* leaves */
.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none !important;
}

.AspNet-Menu li:hover a, /* hovered text */
.AspNet-Menu li:hover span,
.AspNet-Menu li.AspNet-Menu-Hover a,
.AspNet-Menu li.AspNet-Menu-Hover span,
.AspNet-Menu li:hover li:hover a,
.AspNet-Menu li:hover li:hover span,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span,
.AspNet-Menu li:hover li:hover li:hover a,
.AspNet-Menu li:hover li:hover li:hover span,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li.AspNet-Menu-Hover span
{
    color: White;
    background: transparent url(pthimages/menu_right_arrow.gif) right center no-repeat;
}

.AspNet-Menu li:hover li a, /* the tier above this one is hovered */
.AspNet-Menu li:hover li span,
.AspNet-Menu li.AspNet-Menu-Hover li a,
.AspNet-Menu li.AspNet-Menu-Hover li span,
.AspNet-Menu li:hover li:hover li a,
.AspNet-Menu li:hover li:hover li span,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li a,
.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li span
{
    color: white;
    background: transparent url(pthimages/menu_right_arrow.gif) right center no-repeat;
}

.AspNet-Menu .AspNet-Menu-Selected /* this tier is selected */
{
   background-color:#6078BF;
}

.AspNet-Menu .AspNet-Menu-Selected li 
{
	background: lightgrey;
}

.AspNet-Menu .AspNet-Menu-Selected li:hover
{
	background: #6096BF;
}

.AspNet-Menu .AspNet-Menu-ChildSelected /* a tier below this one is selected */
{
    background-color:#6078BF;
}

.AspNet-Menu .AspNet-Menu-ParentSelected /* a tier above this one is selected */
{
    background-color:#6078BF;
}


/********** Tabulka ve formulari ************/
.PthForm 
{
}

/* Nazev kolonky v radku */
.PthForm > TR > TH,
.PthForm > TBODY > TR > TH  
{
	text-align:left;
	color: DimGray;
	font-style:italic;
	font-weight:normal;
	font-size:12px;
	padding:2px;
	vertical-align:middle;
}

.PthForm > TR > TD, 
.PthForm > TBODY > TR > TD  
{
	padding:2px;
	text-align:left;
	vertical-align:middle;
}

/************* Tabulka se seznamem **********/

/* Tabulka */
.PthGrid
{
	border: solid 1px lightgrey;
	border-collapse:collapse;
	table-layout:fixed;
}
/* Zahlavi tabulky */
.PthHeaderRow 
{
	background-color:#BFB9AC;
}
/* Kolonka zahlavi tabulky */
.PthHeaderRow > th,.PthHeaderRow > td, .PthColumnHeaderSortUp, .PthColumnHeaderSortDown
{
	padding: 3px;
	border-right:solid 1px white;
	font-style:italic;
	color: White;
	text-align:left;
}
/* Aktivni text v zahlavi tabulky */
.PthHeaderRow a, .PthHeaderRow a:visited
{
	color: White;
	text-decoration:none;
}

.PthHeaderRow a:Hover 
{
	color:#FF8000;
}


/* Kolonka zahlavi tabulky, kde je razeni */
.PthSortableColumnHeader, .PthSortUpColumnHeader, .PthSortDownColumnHeader
{
	
	background-repeat: no-repeat;
	background-position:center right;
	padding-right: 12px;
}

/* Kolonka zahlavi tabulky, podle ktere lze radit */
.PthSortableColumnHeader
{
	background-image: url(pthimages/header_sortable.gif);
}

/* Kolonka zahlavi tabulky, podle ktere je tabulka serazena desc */
.PthSortDownColumnHeader 
{
	background-color: #737680;
	background-image: url(pthimages/header_sort_down.gif);
}
/* Kolonka zahlavi tabulky, podle ktere je tabulka serazena asc */
.PthSortUpColumnHeader
{
	background-color: #737680;
	background-image: url(pthimages/header_sort_up.gif);
}
/* Radka tabulky (licha) */
.PthGrid > tr, .PthRow 
{
	background-color:#FFFAE6;
}
/* Radka tabulky (suda) */
.PthRowAlt 
{
	background-color:White;
}
/* Oznaceny radek tabulky */
.PthSelectedRow 
{
	background-color: #FFD980;
}
/* Kolonka radku tabulky */
.PthGrid > tr > td, .PthGrid > tbody > tr > td, .PthRow > td, .PthRowAlt > td, .PthSelectedRow > td
{
	border-bottom:solid 1px LightGrey;
	border-right:solid 1px LightGrey;
	padding:2px;
	vertical-align:middle;
}

/* Linky v tabulce */
.PthGrid > tr > td > a,
.PthGrid > tbody > tr > td > a,
.PthRow > td > a, 
.PthRowAlt > td > a, 
.PthSelectedRow > td > a,
.PthGrid > tr > td > a:visited,
.PthGrid > tbody > tr > td > a:visited,
.PthRow > td > a:visited, 
.PthRowAlt > td > a:visited, 
.PthSelectedRow > td > a:visited
{
	text-decoration:none;
	color:Blue;
}

.PthGrid > tr > td > a:hover,
.PthGrid > tbody > tr > td > a:hover,
.PthGrid > tr > td > div > a:hover,
.PthGrid > tbody > tr > td > div > a:hover
{
	color:#FF8000;
}

/* Radek tabulky, ktery obsahuje pager (seznam cisel stranek) */
.PthPagerRow 
{
	background-color: White;
}

.PthPagerRow > td
{
	text-align: center;
	background-color: White;
}

.PthPagerRow table td
{
	
	margin:1px;
	border:none;
	text-align: center;
	vertical-align:middle;
}

.PthPagerRow table 
{
	display:inline-block;
}

/* Cisla stranek v radku s pagerem */
.PthPagerRow a, .PthPagerRow a:visited
{
	color: Blue;
	text-decoration:none;
	display:inline-block;
	padding: 1px 3px 1px 3px;
	border:solid 1px gainsboro;
	background-color:whitesmoke;
	vertical-align:baseline;
	margin:1px;
}

.PthPagerRow a:hover
{
	background-color:#FF8000;
}

.PthPagerRow span 
{
	vertical-align:baseline;
	padding: 1px 3px 1px 3px;
	color:white;
	background-color:gray;
	margin:1px;
}

.PthItemCount 
{
	margin:5px;
	display:block;
}

/****** Element, misto jehoz konce se daji ..., kdyz se nevejde do vymezeneho prostoru ****/
.PthCutEnd
{
	overflow: hidden;
	white-space: nowrap;
	TEXT-OVERFLOW: ellipsis;
}

/******* Panel pro zobrazovani hlasek o stavu detailu **********************/

.PthMessagePanel 
{
	padding: 5px;
}

.PthErrorMessage, .PthInformationMessage, .PthWarningMessage, .PthSuccessMessage
{
	background-position: left top;
	background-repeat: no-repeat;
	padding: 3px 3px 3px 20px;
}

.PthErrorMessage
{
	background-image: url('pthimages/error_small.png');
	color: Red;
}

.PthInformationMessage
{
	background-image: url('pthimages/information_small.png');
	color: Blue;
}

.PthWarningMessage
{
	background-image: url('pthimages/warning_small.png');
	color: Orange;
}

.PthSuccessMessage
{
	background-image: url('pthimages/success_small.png');
	color: Green;
}



/*************** TabControl ****************************/
.PthTab
{
}

.PthTabMenu 
{
	padding:0px;
	margin:0px 0px 0px 5px;
	position:relative;
	z-index:1;
}

.PthTabMenu a 
{
	display:block;
	text-decoration: none; 
	color:Black;
	font-size: 14px;
	width:100%;
}

.PthTabMenu td
{
	margin:0px;
	margin-right:2px;
	overflow:hidden;
	border:solid 1px lightgrey;
	border-bottom: solid 1px #BFB9AC;
	padding: 4px 4px 1px 4px;
	background-color: #e0e0e0;
	cursor:pointer;
}

.PthTabMenu td:hover
{
	background-color:#FF8000;
}

.PthTabMenu .PthActiveTab:hover
{
	background-color: #E6ECFF;
}

.PthTabMenu .PthActiveTab
{
	background-color: #E6ECFF;
	border-bottom: solid 1px #E6ECFF;
}

.PthTabMenu .PthActiveTab a 
{
	font-weight:bold;
	color:black;
}

.PthTabMenu .PthDisabledTab
{
	font-weight:normal;
	background-color: whitesmoke;
	cursor:default;
}

.PthTabMenu .PthDisabledTab a 
{
	color:Gray;
}

.PthTabMenu .PthDisabledTab:hover
{
	background-color: whitesmoke;
}

/* Obsah aktivni zalozky */
.PthTabControl .PthTabContent 
{
	background: #E6ECFF;
	padding: 5px;
	border: solid 1px lightgrey;
	position:relative;
	top:-1px;
}

/********** Upozorneni na aktivitu v update panelu ****************/
.PthPPNPopup
{
	background-color:whitesmoke;
	border: solid 1px lightgrey;
	color:Black;
	padding:5px;
	text-align:left;
	position:fixed;
	z-index:100001;
	font-size:14px;
	bottom:10px;
	right:10px;
	background-image:url('pthimages/ajax-loader.gif');
	background-position:center center;
	background-repeat:no-repeat;
	width:132px;
	height:18px;
}

.PthPPNBackground 
{
	z-index:100000;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:blue;
	filter: alpha(opacity=0);
	opacity:.0;
}

/************ AutoComplete **********/
.PthAcmpFlyout
{
    background-color: White;
    border: solid 1px #606060;
    padding: 5px;
}

.PthAcmpResolved
{
    text-decoration: underline;
}

.PthAcmpUnsure
{
    font-style: italic;
    color: Red;
}


/******** Progress bar u upload dialogu ********/
.PthUploadProgress 
{
	background-image:url('pthimages/ajax-loader.gif');
	background-position:center center;
	background-repeat:no-repeat;
	height:40px;
}

