/*
    @file: brand/alex.css
*/ 
a, body, button, input, select, textarea, td, th {
  /*zakladni nastaveni fontu, ze ktereho se bude vypocitavat velikost*/
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 12px;
  color: #212121;
}

/* Glob�n� �prava styl� */
.edit input[type="radio"],
.edit input[type="checkbox"] {
    position: relative;
    height: 13px !important;
}
.edit input[type="submit"],
.edit input[type="reset"],
.edit input[type="file"],
.edit input[type="image"],
.edit input[type="text"],
.edit input[type="button"],
.edit select,
.alex .input button,
.clsEditTab td button,
.tabparamDs td button,
.edit.alex .input button,
.alex .clsEditTab td button,
.clsButtonBar button {
    height: 24px !important;
}
div.input {
    min-height: 24px;
    /* Pokud input preleze velikost viditelne bunky, nechat ho samostatne skrolovat uvnitr bunky. */
    overflow: auto; 
}
.edit .input input + button,
.edit .input button + button,
.clsEditTab td input + button,
.clsEditTab th input + button,
.clsEditTab td button + button,
.clsEditTab th button + button {
    margin-left: 0px;
}
.clsFilter td input + button,
.clsFilter th input + button,
.clsFilter td button + button,
.clsFilter th button + button {
    margin-left: -1px;
}
.edit .input .clsTexts,
.clsEditTab tr.clsTexts td {
    padding-bottom: 0;
}
.edit .clsTexts > table {
    margin: -3px 0 -5px -4px;
}
.edit table.clsTabularData .clsTexts > table {
    margin: -15px 0 0 -2px;
}
.edit .clsTexts > table th,
.edit table.clsTabularData .clsTexts > table th {
    color: #666;
    background: #e4e4e4;
    border: 0;
}
.edit .readonly .clsTexts > table th,
.edit table.clsTabularData .readonly .clsTexts > table th {
    color: #454545;
    background: #e4e4e4;
}
.edit .readonly .clsTexts > table td,
.edit table.clsTabularData .readonly .clsTexts > table td {
    color: #454545;
}
.edit .prmActions button {
    margin: 2px 2px 0 0;
}
.edit button.clsAlone {
    margin-left: 10px;
}

/* �pravy input� v default dialog formul���ch */
.clsEditTab button,
.clsEditTab input {
    box-sizing: border-box;
}
.buttons button,
.clsButtonBar button,
.edit .input button,
.clsEditTab td button,
.clsEditTab th button,
.clsFilter td button,
.clsFilter th button {
    padding: 0 9px !important;
    background: #f6f6f6;
}
.buttons button:hover,
.clsButtonBar button:hover,
.edit .input button:hover,
.clsEditTab td button:hover,
.clsEditTab th button:hover,
.clsFilter td button:hover,
.clsFilter th button:hover {
    background: #dedede;
}

/* tickety > vytvo�it posun okna wysiwig editoru + textarea */
.cke_float .cke_top {
    height: 33px;
}

.edit .tabpInline,
.edit .tabpTable {
    border: 1px solid #cccccc;
    display: inline-block;
}
.clsRadioLarge > label {
    line-height: 24px;
    vertical-align: top;
    top: 0;
}
div.clsFilterText {
    background-color: #c7d7ef;
}
.edit .clsFilter td {
    padding-top: 6px;
}
.clsFilter td button {
    width: 26px !important;
    height: 24px;
    padding: 0 !important;
}
.menuMain { 
    background-image: none;
    border-color: #cccccc;
}

.clsTabularDataHeader {
    background-color: white;
}
.clsDTabHead {
    border-top: 1px solid #cccccc;
}
table.clsTabularData.clsDTabHead tr td {
    border-color: #cccccc;
}
table.clsTabularData {
    border-collapse: collapse;
}
table.clsTabularData tr th {
    border-color: #cccccc;
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    background: #f5f5f5;
}
table.clsTabularData tr th:last-child {
    border-right-width: 0px;
}
table.clsTabularData tr.clsLicha.clsActive td,
table.clsTabularData tr.clsSuda.clsActive td {
    background-image: none;
    background-color: #c7d7ef;
    border-top: inherit;
    background-position: inherit;
}
table.clsTabularData tr.clsLicha td,
table.clsTabularData tr.clsSuda td { 
    height: 20px;
    padding: 2px 2px 2px 3px;
    border-width: 0px 1px 0px 0px;
}
table.clsTabularData img {
    border: 0px;
    margin-left: 1px;
    margin-right: 2px;
}
.resizeHandle {
    border-color: #cccccc;
}

/* navigator */
div.clsDNavigator {
    background-color: #f5f5f5;
    border-width: 0;
}
.pdfViewer .page {
    border-image: none;
    border-color: #23364e;
}



/* Styly pro na�e alex �ablony */

.edit * {
    box-sizing: border-box;
}
.edit {
    width: 100%;
}
.edit td {
    padding: 0px 10px;
}
.edit .menuBtn td,
.edit td.menuMainSpace {
    padding: 0px;
}
.edit th {
    text-align: left;
    background-color: white;
    font-weight: normal;
    padding: 4px 10px;
    white-space: nowrap;
    height: 24px !important;
}
.edit .header,
.edit th.clsRevN,
.clsEditTab th.clsRevN {
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    background-color: transparent;
}
.edit .header-2 {
    padding: 0;
    font-size: 14px;
    font-weight: bold;
}
.edit .divider {
    padding: 7px;
}
.edit:not(.filter) input,
.edit:not(.filter) select,
.edit .input > div.clsInputText {
    border: 0;
    width: 300px;
}
/* Bulk upload begin */
.edit:not(.filter) th select {
    width: auto !important;
    margin: 0 -10px;
}
.edit:not(.filter) .clsTabularData input,
.edit:not(.filter) .clsTabularData select {
    width: auto !important;
    margin: 0;
}
/* Bulk upload end */
.edit.filter input,
.edit.filter select {
    height: 24px;
    border: 1px solid #848e9e !important;
    /*width: 100%;*/
}
.edit .input > div.clsInputText {
    padding-top: 4px;
    padding-right: 10px;
    padding-left: 10px;
}
.edit textarea,
.edit .cke_editable {
    border: 0;
    width: 100%;
    min-width: 300px;
    max-width: 600px;
    overflow: auto; /* no scrollbars in IE unless text overflows */
}
.edit textarea {
    white-space: pre;
    display: block;
}
.edit .cke_editable {
    min-height: 5em;
    max-height: 15em;
    white-space: pre-wrap;
}
.edit input.cke_dialog_ui_input_text, 
.edit input.cke_dialog_ui_input_password, 
.edit input.cke_dialog_ui_input_tel, 
.edit textarea.cke_dialog_ui_input_textarea,
.edit select.cke_dialog_ui_input_select {
    border: 1px solid #bcbcbc;
    width: 95%;
}
.edit input[type="radio"],
.edit input[type="checkbox"] {
    width: auto !important;
}
.edit input[type="radio"]:active,
.edit input[type="checkbox"]:active,
.edit input[type="radio"]:focus,
.edit input[type="checkbox"]:focus {
    border: 0;
    outline: none;
}
.edit .cke_editable:focus {
    outline: 1px solid #c7d7ef;
}
.edit input,
.edit textarea,
.edit .cke_editable,
.edit .input > div.clsTexts,
.edit .input .fileWrapper div.clsTexts,
.edit .clsTextText {
    padding: 5px 10px;
}
.edit .clsTextText {
    border-width: 0;
    min-width: 300px;
    max-width: 600px;
    min-height: 5em;
    max-height: 15em;
}
.edit .clsTextReadonly {
    color: #454545;
    background: #e4e4e4;
}
.edit .clsTextText p {
    margin-top: 0px;
}
.edit .ck_editable p {
    margin-bottom: 6px;
}
.edit select {
    padding-left: 5px;
}
.edit.gecko select {
    padding-left: 7px;
}
.edit.ie select {
    padding-left: 8px;
}
.edit .input .clsTexts {
    padding-bottom: 5px;
    color: #454545;
}
.edit input[disabled="disabled"],
.edit input[disabled],
.edit select[disabled],
.edit input[readonly="readonly"],
.edit textarea[readonly="readonly"],
.edit select[readonly] {
    color: #454545;
    background: none #e4e4e4;
    outline: none;
    padding-left: 9px;
    padding-right: 9px;
    border-width: 0px;
}
.edit label[readonly="readonly"] {
    color: #454545;
}
.edit input.fileInput[readonly="readonly"] {
    background-color: #fff;
    border-width: 0px;
    padding-left: 10px;
}
.edit .nonempty input.fileInput[readonly="readonly"] {
    background-color: rgb(255,255,190);
}
.edit .fileAdd {
    padding-left: 10px;
    padding-top: 1px;
}
.edit .clsNumber {
    text-align: left;
}
.edit .clsTabularData td.clsNumber {
    text-align: right;
}
.alex .right input,
.alex td.right > .input > div {
    text-align: right !important;
}
.alex .center input,
.alex td.center > .input > div {
    text-align: center !important;
}
.alex .left input,
.alex td.left > .input > div {
    text-align: left !important;
}
.edit .errMessage {
    padding: 0 !important;
}
.edit .errMessage:not(:empty) {
    padding: 0px 0px 5px 10px !important;
}
.edit .clsUsarnaBody button {
    border: 1px solid #cccccc;
}

.edit table.clsTabularData tr th:first-of-type {
    border-left: 0;
}
.edit table.clsTabularData tr th {
    border-color: #cccccc;
    background: #f6f6f6;
}
.edit.tabparamDs table.clsTabularData {
    width: 0px;
}
.edit table.clsTabularData {
    width: 100%;
}
.edit table.clsTabularData tr th div {
    height: auto;
}
.edit table.clsTabularData tr th.buttons,
.edit table.clsTabularData tr.clsLicha td.buttons,
.edit table.clsTabularData tr.clsSuda td.buttons {
    padding: 0;
}
.edit table.clsTabularData tr.clsLicha td.buttons,
.edit table.clsTabularData tr.clsSuda td.buttons,
.edit table.clsTabularData tr.clsLicha.clsActive td.buttons,
.edit table.clsTabularData tr.clsSuda.clsActive td.buttons {
    background: #f6f6f6;
}
.edit edit table.clsTabularData.clsInlineTableEdit tr.clsLicha td.buttons,
.edit edit table.clsTabularData.clsInlineTableEdit tr.clsSuda td.buttons {
    padding: 0;
}
.clsPicturesBox {
    height: auto;
}
.edit table.clsTabularData tr td.buttons .clsPicturesBox {
    margin: 0;
    padding: 0;
}
.edit table.clsTabularData tr th.buttons div {
    padding: 0;
    display: flex;
    min-height: 24px;
}
table.clsTabularData tr th.buttons button,
table.clsTabularData tr td.buttons button {
    border: 0;
    text-transform: capitalize;
    height: 24px;
}
.edit table.clsTabularData tr.clsSuda td {
    background-color: #fafafa;
}
.edit table.clsTabularData tr.clsSuda.clsActive td {
    background-color: #c7d7ef;
}
.edit table.clsTabularData tr.clsSums td,
.edit table.clsTabularData tr.clsSums th {
    padding: 4px 9px;
    height: 24px;
    background: #f6f6f6;
    border: solid 1px #cccccc;
    border-style: solid solid none none;
}
.edit table.clsTabularData tr.clsSums td:last-child,
.edit table.clsTabularData tr.clsSums th:last-child {
    border-right-style: none;
}
.edit table.clsTabularData.clsInlineTableEdit tr.clsLicha td,
.edit table.clsTabularData.clsInlineTableEdit tr.clsSuda td { 
    padding: 0 1px 1px 0;
}
.edit table.clsTabularData.clsInlineTableEdit td input,
.edit table.clsTabularData.clsInlineTableEdit td textarea,
.edit table.clsTabularData.clsInlineTableEdit td .cke_editable
{
    padding-left: 6px;
}
.edit table.clsTabularData.clsInlineTableEdit td select {
    padding-left: 1px;
}
.edit.ie table.clsTabularData.clsInlineTableEdit td select {
    padding-left: 4px;
}
.edit table.clsTabularData.clsInlineTableEdit td input[type="checkbox"] {
    margin-left: 4px;
}
.edit table.clsTabularData.clsInlineTableEdit td .clsPicturesBox {
    margin-left: 6px;
}
.edit table.clsTabularData tr.clsLicha td,
.edit table.clsTabularData tr.clsSuda td,
.edit table.clsTabularData.clsInlineTableEdit tr td[colspan] /* no data label in inline tab param */ { 
    height: 20px;
    padding: 2px 8px 2px 8px;
    border-style: none;
}
.edit .clsInlineTableEdit .clsNumber, 
.edit .clsInlineTableEdit .clsNumber div, 
.edit .clsInlineTableEdit .clsDate, 
.edit .clsInlineTableEdit .clsDate div {
    text-align: left;
}
.edit .nonempty table.clsTabularData tr td[colspan] {
    background: rgb(255,255,190);
}
.edit table.clsTabularData tr th {
    padding: 0 8px;
    height: 24px !important;
}
.edit .fileWrapper {
    margin-bottom: 0px;
}
.edit .fileWrapper + .fileWrapper {
    margin-top: 2px;
}
.edit .fileWrapper input.fileLabel {
    position: absolute;
    left: 303px;
    height: 24px;
}
.edit .fileProgress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 300px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.alex .t-right-1 table.clsTabularData td:nth-of-type(1) { text-align: right; }
.alex .t-right-2 table.clsTabularData td:nth-of-type(2) { text-align: right; }
.alex .t-right-3 table.clsTabularData td:nth-of-type(3) { text-align: right; }
.alex .t-right-4 table.clsTabularData td:nth-of-type(4) { text-align: right; }
.alex .t-right-5 table.clsTabularData td:nth-of-type(5) { text-align: right; }
.alex .t-right-6 table.clsTabularData td:nth-of-type(6) { text-align: right; }
.alex .t-right-7 table.clsTabularData td:nth-of-type(7) { text-align: right; }
.alex .t-right-8 table.clsTabularData td:nth-of-type(8) { text-align: right; }

.alex .t-center-1 table.clsTabularData td:nth-of-type(1) { text-align: center; }
.alex .t-center-2 table.clsTabularData td:nth-of-type(2) { text-align: center; }
.alex .t-center-3 table.clsTabularData td:nth-of-type(3) { text-align: center; }
.alex .t-center-4 table.clsTabularData td:nth-of-type(4) { text-align: center; }
.alex .t-center-5 table.clsTabularData td:nth-of-type(5) { text-align: center; }
.alex .t-center-6 table.clsTabularData td:nth-of-type(6) { text-align: center; }
.alex .t-center-7 table.clsTabularData td:nth-of-type(7) { text-align: center; }
.alex .t-center-8 table.clsTabularData td:nth-of-type(8) { text-align: center; }

.alex .t-left-1 table.clsTabularData td:nth-of-type(1) { text-align: left; }
.alex .t-left-2 table.clsTabularData td:nth-of-type(2) { text-align: left; }
.alex .t-left-3 table.clsTabularData td:nth-of-type(3) { text-align: left; }
.alex .t-left-4 table.clsTabularData td:nth-of-type(4) { text-align: left; }
.alex .t-left-5 table.clsTabularData td:nth-of-type(5) { text-align: left; }
.alex .t-left-6 table.clsTabularData td:nth-of-type(6) { text-align: left; }
.alex .t-left-7 table.clsTabularData td:nth-of-type(7) { text-align: left; }
.alex .t-left-8 table.clsTabularData td:nth-of-type(8) { text-align: left; }

.alex .two-cols-list input {
    display: block;
    float: left;
    width: 20px;
    height: 30px;
    line-height: 30px;
}
.alex .two-cols-list label {
    display: block;
    float: left;
    width: calc(50% - 21px);
    height: 30px;
    line-height: 30px;
    top: 0;
}
.alex .two-cols-list br {
    display: none;
}
.alex .two-cols-list .input {
    max-width: 700px;
    margin: 10px 0;
}
.alex #tr-node__fa_polozky_tab-AVG_id {
    display: none;
}

.inputGroup {
  display: flex;
  align-items: center;
  width: 300px;
  min-height: 24px;
}
.clsInlineTableEdit .inputGroup {
  width: auto;
}
.inputGroup:focus-within {
  border-color: #c7d7ef;
}
.edit .clsUsarnaBody .inputGroup:focus-within button {
  border-top-color: #f6f6f6;
  border-right-color: transparent;
  border-bottom-color: #dedede;
}
.edit .input .inputGroup button {
  height: auto;
  padding: 1px 6px;
  flex-shrink: 0;
  border-width: 0;
}
.edit input:focus, .edit select:focus, .edit textarea:focus {
  outline: none;
}

.ie9.edit .fileWrapper input.fileLabel,
.ie10.edit .fileWrapper input.fileLabel {
    position:relative;
    left:0;
    top:2px;
    margin-bottom: 10px;
    display:block;
}

.edit td.importInput {
    padding: 0;
}
.edit .importTable th .inputGroup {
    width: auto;
}

.edit td.importSelect {
    vertical-align: top;
}

.edit td.importSelect,
.edit td.importSelect select,
.edit td.importSelect div {
    width: 120px;
}
 
/* Editacni tabulka pres celou sirku okna, nikdy nenechat prerust sirku za okraj. */
.clsEditTab {
    table-layout: fixed;
    width: 100%;
}
.edit .clsEditTab > tbody > tr > th {
    white-space: normal;
    overflow: hidden;
}
.edit .clsEditTab > tbody > tr > td {
    padding-right: 0;
}

/* Pevna sirka prvniho sloupce - max 200px, min 100px, mezitim podle sirky okna - zacne se zkracovat viewportu se sirkou 560px */
.edit .clsEditTab > colgroup col.header {
    width: min(max(calc(100vw - 360px), 100px), 200px);
}
/* IE cannot compute the width automagically */
.edit.ie .clsEditTab > colgroup col.header {
    width: 200px;
}
/* Maximalizovat sirku pole pro input v edit dialogu, aby se minimalizovala sirka pole s nadpisem */
.edit .clsEditTab > colgroup col.data {
    width: auto;
}
/* Import action col width in bulk edit */
.edit .clsEditTab > colgroup col.importAction {
    width: 120px;
}

/* Nechat textova pole roztahnout az na maximalni sirku */
.edit textarea, 
.edit .cke_editable,
.edit .clsTextText {
    min-width: 80px;
    max-width: none;
}

/* Nenechat textova pole roztahnout az na maximalni sirku, pokud jsou uvnitr tabparamu */
.edit .tabpTable textarea, 
.edit .tabpTable .cke_editable,
.edit .tabpTable .clsTextText {
    max-width: 600px;
}

@media screen and (max-width: 560px) {
    .edit .inputGroup {
        width: 100%;
        max-width: 300px;
    }
    .edit:not(.filter) input:not([type="checkbox"]), 
    .edit:not(.filter) select, 
    .edit .input > div.clsInputText {
        min-width: 80px;
        width: calc(100vw - 161px);
    }
    /* IE cannot compute the width automagically */
    .edit.ie .clsEditTab > colgroup col:nth-child(1) {
        width: 100px;
    }
}