form {
  padding: 0 20px;
  margin: 5px 0 1em;
  overflow: visible
}
fieldset, form table.ariadne-form-table { line-height: 24px; }

fieldset, table.ariadne-form-table, table.ariadne-form-line-table,
table.ariadne-form-line-table th, table.ariadne-form-line-table td {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
table.ariadne-form-line-table { margin: -1px -3px !important; }

table.ariadne-form-line-table, table.ariadne-form-table,
.pagecontent table.ariadne-form-line-table,
.pagecontent table.ariadne-form-table {
  width: 100%;
}
table.ariadne-form-table { width: 100%; overflow: visible; }

form table.ariadne-form-table h1, form table.ariadne-form-table h2,
form table.ariadne-form-table h3, form table.ariadne-form-table h4,
form table.ariadne-form-table h5 {
  margin: .5em -21px .4em;
}
form table.ariadne-form-table h3 { width: 671px; }

form table.ariadne-form-table h6 {
  padding: 0;
  line-height: 24px;
  /* + definice spolecne s label, viz nize */
}

fieldset p, fieldset table, fieldset hr { margin: 0 0 1em; }

legend {
  padding: 0 5px;
  font-weight: bold;
  color: black;
}

/**
 * Vertikální centrování textu v input.text, select
 *   FF      padding, height musí být rovno font-size*1,25, dorovnat paddingem
 *           na požadovanou výšku
 *   IE      line-height nastavit stejně jako height
 *   Opera   jestli nesedí, hodit si tak akorát mašli :)
 */
input, select, textarea {
  font: 11px/1.25 Arial, Tahoma, sans-serif;
  vertical-align: middle;
  margin: 1px 0 !important;
  background: white;
}
input:disabled, select:disabled, textarea:disabled {
  background: #eee;
}


input.text, input.fileupload, textarea, select {
  padding: 3px 0 2px; /* centruje obsah ve ff*/
  width: 100%; height: 15px; /* padding se počítá do výšky */
  border: 1px solid #a1deff;  
}
.cart input.text { width: 50px; }
textarea { width: 99%; height: auto; margin-right: 2px;}
input.fileupload, select {
  padding: 2px 2px 2px 0; /* vycentruje obsah ve ff */
  height: 22px; /* padding se do výšky nepočítá */
  line-height: 22px;
}
select.multiselect { height: 150px; }
input.fileupload { width: 100%; }

div.input-text {
  margin: 1px 0;
  width: 100%;
  height: 22px;
  overflow: hidden;
}
div.input-text div {
  padding: 0 3px !important;
  height: 20px;
  overflow: hidden;
  border: 1px solid #a1deff;
}
div.input-text input.text {
  border: 0;
  height: 15px;
  padding: 3px 0 0;
  margin: 0 !important;
  float: left;
}

.textareacode, .mceEditor, .mceEditorBasic { width: 98%; height: auto; margin-left: 1%; }

.mceEditor, .mceEditorBasic { width: 663px;}

.checkbox { line-height: 26px; }

.buyForm { margin: 0; padding: 0; }
.buyForm input.text   { width: 50px; }
.buyForm input.button { width: 100px; }

table.datafileWrap {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
form table.datafileWrap td {
  padding: 0;
  border: 0;
}
table.datafileWrap td.buttonWrap {
  width: 30px;
  text-align: right;
  padding: 0 !important;
}

input.text-date, input.datafile, input.text-color { width: 100%; }


/**
 * Vertikální centrování textu v input.button
 *   vše       do výšky se nepočítá padding, ani border (stejně u selectu)
 *   FF+Opera  vyrovnat text (+-1px vzájemně) pomocí padding
 *   IE        dorovnat pomocí line-height (ovlivní vše, ale IE nejvíc)
 */
input.button {
  width: 100%; height: 22px;
  overflow: hidden;
  padding: 2px .5em 2px;
  cursor: pointer;
  border: 1px solid #71c5f0;
  border-bottom: 1px solid #3CB3F0;
  border-right: 1px solid #3CB3F0;
  background: #dcf3ff;
  color: #0092e0;
  font-weight: bold;
  line-height: 16px;
}

.text-button {
  padding: 3px .5em 2px;
  border: 1px solid #71c5f0;
  background: #dcf3ff;
  color: #0092e0;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;  
}

input.button, .text-button {
  box-shadow: inset 1px 1px 2px #fff, inset 0 0 2px #71c5f0, inset 0 -11px rgba(0,0,0,0.05);
  -o-box-shadow: inset 1px 1px 2px #fff, inset 0 0 2px #71c5f0, inset 0 -11px rgba(0,0,0,0.05);
  -webkit-box-shadow: inset 1px 1px 2px #fff, inset 0 0 2px #71c5f0, inset 0 -11px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 1px 1px 2px #fff, inset 0 0 2px #71c5f0, inset 0 -11px rgba(0,0,0,0.05);  
}

input.button:hover, .text-button:hover {
  background: #0092e0;
  color: white;
  border-color: #0092e0;
  box-shadow: inset 0 0 3px #fff, inset 0 0 2px #0092e0, inset 0 -11px rgba(0,0,0,0.05);
  -o-box-shadow: inset 0 0 3px #fff, inset 0 0 2px #0092e0, inset 0 -11px rgba(0,0,0,0.05);
  -webkit-box-shadow: inset 0 0 3px #fff, inset 0 0 2px #0092e0, inset 0 -11px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0 0 3px #fff, inset 0 0 2px #0092e0, inset 0 -11px rgba(0,0,0,0.05);
}
input.button:active, .text-button:active {
  background: #0092e0;
  color: white;
  border-color: #0092e0;
  box-shadow: inset 0 0 2px #fff, inset 0 0 2px #0092e0, inset 0 11px rgba(0,0,0,0.05);
  -o-box-shadow: inset 0 0 2px #fff, inset 0 0 2px #0092e0, inset 0 11px rgba(0,0,0,0.05);
  -webkit-box-shadow: inset 0 0 2px #fff, inset 0 0 2px #0092e0, inset 0 11px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0 0 2px #fff, inset 0 0 2px #0092e0, inset 0 11px rgba(0,0,0,0.05);
}

input.iconbutton, input.iconbutton:hover {
  background-image:url('noicon.png');
  background-repeat: no-repeat;
  background-position: 3px 2px;
  padding-left: 20px;
}

button.button-datafile, button.button-date {
  width: 22px !important;
  line-height: 26px !important;
  background: transparent;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
button.button-datafile, button.button-date img {
  margin: 3px 0 0 !important;
}

.buttons {
  text-align: center;
  margin: 1em 0;
}
.auto-width { width: auto !important; }

label, form table.ariadne-form-table h6 {
  display: block;
  float: left;
  clear: left;
  /* width: 150px; deleted by Mystik */
  width: 99%;
  overflow: hidden;
  margin: 0;
  vertical-align: middle;
  color: #4d4d4d;
  font-weight: bold;
}


div.safety-code {
  padding-top: .5em;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 35px;
}
div.safety-code img {
  margin: 0 !important;
  vertical-align: middle;
}
div.safety-code input {
  width: 201px;
  vertical-align: middle;
}

.disabled, .disabled div {
  background: #f6f6f6 !important;
  color: #555555 !important;
}

.disabled.button {
  -moz-box-shadow: none !important;;
  -webkit-box-shadow: none !important;;
  box-shadow: none !important;;
}

.help {
  margin: 0 0 3px 3px;
  font-size: 10px;
  font-style: italic;
  line-height: 12px;
}


table.ariadne-form-table th, table.ariadne-form-table td {
  background: none;
  border: 0;
  padding: 1px 2px;
  color: inherit;
  font-weight: normal;
  vertical-align: top;
}

table.ariadne-form-table .labelTH, table.ariadne-form-line-table .labelTH {
  vertical-align: top;
  width: 150px !important;
}
.h6TH { width: 144px !important; }
table.airadne-form-table .buttonTD, table.ariadne-form-line-table .buttonTD {
  width: 150px !important;
}


.currenciesForm, .perPageForm, .addfile { margin-bottom: 0; }

#fulltext { margin: 1em 0; }
#fulltext .input-text {
  width: 518px;
  float: left;
  margin-right: 3px;
}
#fulltext input.button { width: 150px; }

.datafile-list {
  position: absolute;
  z-index: 99;
  display: none;
  background: #dcf3ff;
  border: 1px solid #a1deff;
  line-height: 1.5em;
  font-size: 91.67%;
  padding: 5px;
}
.datafile-list .treeview ul { background: none; }
.datafile-list a { color: #4d4d4d; }
.datafile-list a:hover { color: #0092e0; }

.ariadne-form-html {
  line-height: 1.6;
}

hr.separator {margin: 0; padding: 0;}

div.input-text div, input.file-upload, textarea, select, input.button, input.text {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}



