/**
 * zpresnujici a zobecnujici definice vyhradne pro IE v adaptivnim rezimu
 * vetsinou uvedeny na konci sekvence definic pred otevvoraci slozenou zavorkou
 */

.TWPCanvas,
.KomunikaceAkce,
.KomunikaceDalsi {
    width: 320px; /*380*/
}
.TWPEdit,
.TWPTextArea,
.TWPLookupCombo {
    /*width: 312px;*/
    width: 94%; margin-left: 3% !important;
}
.TWPLookupCombo[style*="189"],
.TWPLookupCombo {
    width: 94% !important;
}
.twpedit[style*="70"],
.twpedit[style*="80"],
.twplookupcombo[style*="70"] {
    width: 80px !important
}
td[width='75'] .TWPLookupCombo {
    width: 40px !important;
}
td[width='75'] * {
    vertical-align: middle;
}
.TWPButton2 {
    width: 273px;
}
.TWPFile {
    width: 208px !important;
}
.TWPButton,
.click a {
    width: 158px !important;
}
.TWPEdit2 {
    width: 123px;
}

.TWPWinComponent,
.TWPWinComponent2,
.TWPEdit,
.TWPTextArea,
.TWPLookupCombo,
.TWPFile,
.TWPButton,
.TWPGridCell,
.TWPGridHeadCell,
.TWPGridPages,
.TWPCanvas,
.TWPHead,
.TWPCanvas tbody,
.TWPButton2,
.TWPWinError,
.click a,
.pda-select-disabled
.pda-input-disabled {
    color: #000;
    font-size: 14px;
    font-family: Tahoma,Verdana,Arial;
    text-decoration: none;
}


/*****************************************/

/*Text v Canvasu*/
.TWPWinComponent {
    padding-left: 4%;
    white-space: nowrap;
}
/*Text v Canvasu*/
.TWPWinComponent2 {
    padding-left: 4%;
    white-space: nowrap;
}
fieldset .TWPWinComponent {
    padding-left: 2%;
}
/*Input text*/
.TWPEdit {
    margin: 4px 0 8px;
    height: 28px;
    line-height: 28px;
    margin-left: 3px;
    padding-left: 2px;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
}
.TWPEdit2 {
    height: 28px;
    line-height: 28px;
    margin: 4px 0 8px;
    margin-left: 3px;
    padding-left: 2px;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
}
/*TextArea*/
.TWPTextArea {
    height: 260px;
    margin: 4px 0 8px 3px;
    padding-left: 2px;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
}
/*Combo Box*/
.TWPLookupCombo {
    height: 28px;
    line-height: 28px;
    margin: 4px 0 8px 3px;
    padding-left: 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.TWPLookupCombo[style*="95%"] {
    width: 94% !important; margin-left: 3%;
}


/*Check box*/
.TWPCheckBox {
    padding-left: 2pt;
    margin: 4px 0 8px 11px;
}
.TWPRadioText {
    margin: 4px 0 8px 1%;
}
/*Check box*/
.TWPRadioButton {
}
/*Input file*/
.TWPFile {
    margin: 5px 0 5px 0;
    margin-left: 3px;
    padding-left: 2px;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
    color: #fff;
    background-color: #9CBFC3;
}
/*Input button*/
.TWPButton {
    margin: 1px 0 1px 0;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
    color: #fff;
    background-color: #9CBFC3;
}
/* Typ vypisu Grid */
.TWPGrid {
    background-color: #F2EAEC;
    border-collapse: collapse;
}
/* Bunky v Gridu */
.TWPGridCell {
    margin-top: 0;
    margin-left: 0;
    padding-left: 2pt;
    border-width: 0;
    
}
.TWPGridCell a {
    color: red;
}
.TWPGridCell a:hover {
    color: red;
}
/* Bunky v hornim radku v Gridu */
.TWPGridHeadCell {
    margin-top: 0;
    margin-left: 0;
    padding-left: 5pt;
}
/* Horni radek v Gridu */
.TWPGridHeadLine {
    background-color: #9CBFC3;
}
/* Liche radky v Gridu*/
.TWPGridLine0 {
    background-color: #CEDDE0;
}
/* Sude radky v Gridu*/
.TWPGridLine1 {
    background-color: #F2EAEC;
}

.TWPGridHeadLine:first-child td,
.TWPGridHeadLine + .TWPGridLine0 td,
.TWPGridLine1 + .TWPGridLine0 td,
.TWPGridLine0 + .TWPGridLine1 td {
    padding-top: 5px;
}
.TWPGridLine1:last-child td {
    padding-bottom: 5px;
}
.TWPGridHeadLine + .TWPGridLine0 td {
    border-top: solid #9CBFC3 5px;
}
.TWPGridLine0 + .TWPGridLine1 td {
    border-top: solid #CEDDE0 5px;
}
.TWPGridLine1 + .TWPGridLine0 td {
    border-top: solid #F2EAEC 5px;
}

/* Posledni radek za Gridem*/
.TWPGridPages {
    color: #404040;
    font-size: 14px;
    background-color: #fff;
}
p.TWPGridPages {
    padding: 10px;
}
.TWPGridPages img {
    width: 24px;
    margin: 0 10px 0 0;
}
.TWPGridPages a:last-child img {
    margin-right: 0;
}
.TWPGridPagesTable {
    background-color: #fff;
}
.TWPGridPagesTable td + td a {
    padding: 0 3px;
}
/* Cely formular*/
.TWPCanvas {
    background-color: #F2EAEC;
}
/* Nadpis k Canvasu */
.TWPHead {
    padding-left: 5pt;
    color: #fff;
}
.TWPHead img {
    margin: -4px 10px;
    padding: 9px 3px;
}
/* Bunka s nadpisem k Canvasu */
.TWPHeadCell {
    height: 35px;
    background-color: #9CBFC3;
    vertical-align: middle;
}
/* Druhy radek s Ikonkami */
.TWPIcons {
    margin: 2px 0 4px 2px !important;
    background-color: #b4e6ff;
    
}
.TWPIcons img,
.TWPIcons input[type="image"],
.TWPIcons input.bntace {
    width: 30px; height: 30px; padding: 0 2px; border-right: solid #b4e6ff 1px; background: #7ba5ab;
}
.TWPCanvas tbody {
}
.KomunikaceAkce {
}
.KomunikaceDalsi {
    margin: 5px 10px 10px 0;
    width: 310px;
}
.KomunikaceSoubory {
    background-color: #CEDDE0;
    width: 100%;
}
/*Input button*/
.TWPButton2 {
    margin: 1px 0 1px 0;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
}
.TWPWinError {
    margin: 0 0 10px 0;
    padding: 2px 0;
    text-align: center;
}
/* Div jako tlacitko */
.click a {
    margin-left: 3px;
    padding: 3px 0 3px 0;
    padding-left: 2px;
    border-style: solid;
    border-color: #9CBFC3;
    border-width: 1pt;
    text-align: center;
    background-color: #F2EAEC;
}
.TWPhidden {
    display: none;
}
fieldset {
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid #9CBFC3;
}
fieldset input[type="text"],
fieldset input.text,
fieldset select,
fieldset select.twplookupcombo[style*="95%"],
fieldset select.twplookupcombo[style*="99%"],
fieldset select.twplookupcombo[style*="100%"] {
    width: 295px !important;
}
fieldset .twpcanvas {
    background: transparent;
}
.fieldset-tr {
    height: 20px;
    font-size: 16px;
}
legend {
    padding: 3px 5px;
    font-weight: bold;
}
a.odkaz {
    display: block;
    margin: 5px 0 10px 0;
    padding: 5px;
    color: darkgreen;
    font-weight: bold;
    
}

.pda-select-disabled,
.pda-input-disabled {
    display: block;
    border: 1px solid lightgrey;
    color: gray;
    background-color: white;
    margin: 4px 0 8px;
    width: 93%; 
    margin-left: 3%;
    height: 28px;
    line-height: 28px;
    padding-left: 5px;
    overflow: hidden;
}

/* specials */
#obdobi_datum_od,
#obdobi_datum_do,
select {
    height: 28px !important;
    font-size: 14px !important;
}
#searchbar.twpicons,
p.twpicons {
    white-space: nowrap;
}