/* Obsah stranky */
.PthContent
{
    padding: 0px 5px 5px 5px;
    background-color: #FFFAE6;
}

/* Panel ve strance */
.PthPanel
{
    margin: 5px;
    background-color: WhiteSmoke;
    padding: 5px;
    border: solid 1px #83ace0;
}

/* Nadpis panelu ve strance */
.PthPanel > .PthPanelHeading
{
    font-variant: small-caps;
    font-size: 13px;
    padding: 1px 5px 3px;
    color: #606060;
    margin: -4px -4px 5px -4px;
    background-color: #F7E4B5;    
}

.PthPanel > .PthPanelHeadingAlt
{
    font-variant: small-caps;
    font-size: 13px;
    padding: 1px 5px 3px;
    color: #606060;
    margin: -4px -4px 5px -4px;
    background-color: white;    
    border-bottom: dotted 1px #83ace0;
}


/* Panel v panelu */
.PthSubPanel
{
    background-color: White;
    border: solid 1px lightgrey;
    padding: 5px;
}

.PthSubPanel > .PthPanelHeading
{
    font-variant: small-caps;
    font-size: 12px;
    padding: 0px; /*font-style:italic;*/
    color: #333399;
    margin: 2px 0px 2px 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.gif');
}
.PthInformationIcon
{
    background-image: url('pthimages/information.gif');
}
.PthSuccessIcon
{
    background-image: url('pthimages/success.gif');
}
.PthWarningIcon
{
    background-image: url('pthimages/warning.gif');
}
.PthCommentIcon
{
    background-image: url('pthimages/notepad.gif');
}
.PthListIcon
{
    background-image: url('pthimages/select_all.gif');
}
.PthLevelDownIcon
{
    background-image: url('pthimages/level_down.gif');
}
.PthLevelUpIcon
{
    background-image: url('pthimages/level_up.gif');
}


/****************** Tlacitko s ikonou ************/

.PthImageButton
{
    padding: 1px;
    width: 16px;
    height: 16px;
}

.PthButton
{
    border: solid 1px gray;
    background-color: LightGrey;
    text-decoration: none;
    font-size: 11px;
    padding: 4px 8px 4px 22px;
    background-position: 4px center;
    background-repeat: no-repeat;
    text-align: left;
    vertical-align: middle;
    color: Black;
    display: inline-block;
}

.PthButton:hover
{
    color: black;
    border: dashed 1px black;
    background-color: Orange;
}

/************ Styl kontrolu, ktery neprosel validaci **********/
.PthInvalid
{
    background-color: #FF9680;
}

/************ AutoComplete **********/
UL.PthAcmpFlyout
{
    background-color: White;
    border: solid 1px #606060;
    padding: 5px;
}

INPUT.PthAcmpResolved
{
    text-decoration: underline;
}

INPUT.PthAcmpUnsure
{
    font-style: italic;
    color: Red;
}



/************ Nadpis v záhlaví aplikace nad menu ******/
.PthAppHeader
{
    position: absolute;
    top: 10px;
    left: 710px;
    font-size: 20px;
    font-weight: lighter;
    color: #6078BF;
    text-align: right;
    width: 300px;
}


/********** 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: 11px;
    padding: 4px 2px 4px 10px;
    vertical-align: middle;
}

.PthForm > TR > TD, .PthForm > TBODY > TR > TD
{
    padding: 4px 2px;
    text-align: left;
    vertical-align: middle;
}

.PthForm TD.PthNoLayout
{
    padding: 0px;
}

.PthForm INPUT.PthTextBox
{
    padding: 2px 1px;
}

.PthForm TEXTAREA.PthTextBox
{
    line-height: 1.5em;
}

.PthForm SPAN.PthCheckBox INPUT
{
    position: relative;
    top: 2px;
}


.PthForm TD.pthFillCell
{
    padding-left: 6px;
}


.PthForm TD.pthFillCell INPUT, .PthForm TD.pthFillCell TEXTAREA
{
    margin-left: -4px;
    width: 100%;
}

.PthForm LABEL
{
    margin-left: 2px;
}

.PthForm > TR.PthSection > TD, .PthForm > TBODY > TR.PthSection > TD
{
    background-color: #ffffff;    
    color: #606060;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 700;
}



/************* Tabulka se seznamem **********/

/* Tabulka */
.PthGrid
{
    border: solid 1px lightgrey;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 5px 0px;
    width: 100%;
}
/* Zahlavi tabulky */
.PthHeaderRow
{
    background-color: #A1A9D3;
}
/* Kolonka zahlavi tabulky */
.PthHeaderRow > th, .PthHeaderRow > td, .PthColumnHeaderSortUp, .PthColumnHeaderSortDown
{
    padding: 3px;
    border-right: solid 1px white; /*font-style:italic;*/
    color: White;
    text-align: left;
}

.PthHeaderRow > th.ra, .PthHeaderRow > td.ra
{
    text-align: right;
}

/* Aktivni text v zahlavi tabulky */
.PthHeaderRow a, .PthHeaderRow a:visited
{
    color: White;
    text-decoration: none;
}

/* Kolonka zahlavi tabulky, kde je razeni */
.PthSortableColumnHeader, .PthSortUpColumnHeader, .PthSortDownColumnHeader
{
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 11px;
}

/* 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: #4040FF;*/
    background-image: url(pthimages/header_sort_down.gif);
}
/* Kolonka zahlavi tabulky, podle ktere je tabulka serazena asc */
.PthSortUpColumnHeader
{
    /*background-color: #4040FF;*/
    background-image: url(pthimages/header_sort_up.gif);
}
/* Radka tabulky (licha) */
.PthGrid > tr, .PthRow
{
    background-color: #FFFAE6;
}
/* Radka tabulky (suda) */
.PthRowAlt
{
    background-color: #FEEED7;
}
/* 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 4px 2px 2px;
    vertical-align: middle;
    overflow: hidden;
}

/* 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;
}

/* Radek tabulky, ktery obsahuje pager (seznam cisel stranek) */
.PthPagerRow
{
    background-color: White;
}

.PthPagerRow > td
{
    text-align: center;
}

.PthPagerRow table
{
    display: inline;
}

/* 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;
}

.PthPagerRow span
{
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    padding: 0px 3px 2px 3px;
    border: solid 1px gainsboro;
    background-color: orange;
}

DIV.PthPager
{
    background-color: whitesmoke;
    text-align: center;
    font-weight: 700;
    margin: 10px 0px;
}

DIV.PthPager SPAN A
{
    padding: 2px 8px;
    background-color: #d3d3d3;
    border: solid 1px gainsboro;
}

DIV.PthPager SPAN SPAN
{
    padding: 2px 8px;
    border: solid 1px gainsboro;
    background-color: Orange;
}



/****** Element, misto jehoz konce se daji ..., kdyz se nevejde do vymezeneho prostoru ****/
.PthCutEnd
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

/******* 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.gif');
    color: Red;
}

.PthInformationMessage
{
    background-image: url('pthimages/information.gif');
    color: Blue;
}

.PthWarningMessage
{
    background-image: url('pthimages/warning.gif');
    color: Orange;
}

.PthSuccessMessage
{
    background-image: url('pthimages/success.gif');
    color: Green;
}


/*************** TabControl ****************************/
.PthTab
{
}

.PthTabMenu
{
    padding: 0px;
    margin: 0px;
    position: relative;
    top: 3px;
}

.PthTabMenu a
{
    display: block;
    text-decoration: none;
    color: Black;
    font-size: 14px;
    width: 100%;
}

.PthTabMenu
{
    margin-left: 5px;
}

.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 a
{
    color: Blue;
}

.PthTabMenu td:hover
{
}

.PthTabMenu .PthActiveTab
{
    background-color: #E6ECFF;
    border-bottom: solid 1px #E6ECFF;
}

/* Obsah aktivni zalozky */
.PthTabControl .PthTabContent
{
    background: #E6ECFF;
    padding: 5px;
    border: solid 1px lightgrey;
}

/********** Upozorneni na aktivitu v update panelu ****************/
.PthActivityNoticePanel
{
    background-color: #F5F7F8;
    border: dotted 1px Gray;
    padding: 5px;
    opacity: .7;
    filter: alpha(opacity=70);
    text-align: left;
    position: absolute;
    z-index: 100000;
    x-visibility: hidden;
}





/********** Tabulka ve formulari ************/

.PthTableLessForm
{
    /* trigger hasLayout */
    width: 100%;
    overflow: hidden;
    zoom: 1;
}

.PthTableLessForm DIV.PthFormColumn
{
    overflow: hidden;
    zoom: 1;
    float: left;
    margin-left: 10px;
    padding-right: 10px;
    border-right: dotted 1px #cccccc;    
}

.PthTableLessForm DIV.PthControlsRow
{
    overflow: hidden;
    zoom: 1;
    float: left;
    margin-left: 10px;
    margin-top: 10px;    
}

.PthTableLessForm .PthLabel
{
    display: block;
    text-align: right;
    padding: 4px 4px;
    float: left;
    color: DimGray;
    height: 1.5em;
}


.PthTableLessForm .PthTextBox
{
    display: block;
    padding: 1px 2px;
    float: left;
    margin: 2px 2px;
}

.PthTableLessForm .PthCheckBox
{
    display: block;
    padding: 1px 2px;
    float: left;
    margin: 2px 2px;
    color: DimGray;
}

.PthTableLessForm .PthCheckBox INPUT
{    
    margin: 3px 2px;
}
.PthTableLessForm .PthCheckBox LABEL
{
    margin: 0px 2px;
    padding: 0px;
    position: relative;
    top: -2px;
}


.PthTableLessForm .PthImageButton
{
    display: block;
    float: left;
    margin: 0px 2px;
}

.PthTableLessForm .PthButton
{
    display: block;
    float: left;
    margin: 2px 2px;
}



.PthTableLessForm .PthFormCoompoundElement
{
    overflow: hidden;
    zoom: 1;
    float: left;
    display: block;
}

.PthTableLessForm .PthFormCoompoundElement > *
{
    zoom: 1;
    float: left;
    display: block;
}

.PthTableLessForm br
{
    clear: left;
}


/*****************************/

DIV.PthModalPopup
{
}

DIV.PthModalPopup DIV.PthPopupHeading
{
    cursor: auto;
}

DIV.PthModalPopup DIV.PthPopupHeading INPUT
{
    float: right;
    margin: 4px;
    cursor: pointer;
}

DIV.PthModalPopup DIV.PthUploadContent DIV
{
    margin: 4px 0;
}

DIV.PthModalPopup DIV.PthUploadContent A
{
    cursor: pointer;
}

/******** Progress bar u upload dialogu ********/
.PthUploadProgress 
{
	background-image:url('pthimages/ajax-loader.gif');
	background-position:center center;
	background-repeat:no-repeat;
	height:40px;
}

