﻿/* form */

.form
{
    /*clear: both; je to nutny?*/
    background-color: #dae3f4;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.form-layout label.hcol{
  display: block;
  float: left;
  margin: 0px 10px 0px 0px;
  /*padding: 3px 0px;*/
  width: 150px;
  font-weight: bold;
  text-align: right;
  line-height: 15px;
}

.form-layout.edit label.hcol{
  padding: 3px 0px;
}

.form-layout .form-col-group
{
    clear: both;
}

.form-layout .wide-layout
{
    width: 400px;
}

.form-layout .thin-layout
{
    width: 300px;
}

.form-layout .field
{
    clear: left;
    display: block;
    text-align: left;
    margin: 2px 0px 2px 160px;
  }
  
.form-layout .field .description
{
    margin-left: 10px;
    font-size: 90%;
  }


.form-layout div.field.required label{
  color: #0033CC;
}

.form-layout .field .hcol
{
    margin-left: -160px;
}

.form-layout .field span.hcol
{
    display: block;
    padding: 2px;
    width: 150px;
    float: left;
}

/* tiny label */
.form-layout .field.tiny-label
{
    margin-left: 100px; 
}
.form-layout .field.tiny-label .hcol
{
    margin-left: -100px;
     width: 90px;
}

.form-layout .field ul.block-list
{
    /*display: inline-block;*/
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-layout .field ul.block-list li
{
    display: inline-block;
    margin: 0;
    padding: 0;
}

/*#form-holder .field span.block-list ul li
{
    list-style: none;
    display: inline-block;
}*/

/* multi column form */
.form-layout .form-col
{
    float: left;
}

.form-layout .form-col .field
{
    clear: both;
}

.form-layout .form-col .field span
{
    display: block;
    padding: 2px;
}

.form-layout .form-col .field label
{
    display: block;
    float: left;
    padding: 2px;
}

/* custom forms */

.form-layout .wide-col .field label
{
    width: 150px;
}

.form-layout .thin-col .field label
{
    width: 100px;
}

.form-layout input.date
{
    width: 80px;
}

.form-layout .required input
{
    border-color: #0000FF;
}

.form-layout.xxl-wide-hcol label.hcol
{
    width: 350px;
}

/* table in form */

.form-layout table
{
    /*background-color: White;*/
}
.form-layout table thead tr
{
    background-color: #c0c0c0;
}
.form-layout table thead th
{
    font-size: 100%;
    padding: 5px;
}
.form-layout table td, .form-layout table th
{
    /*text-align: left;*/
    border-collapse: collapse;
    border: 1px solid #939393;
    font-size: 95%;
    padding: 2px;
}

#ui-datepicker-div table.ui-datepicker-calendar
{
    background-color: #FFF;
}