/* Just minor tweaks for _form.css (yii-default) */
/* Note: Form colors defined in main.css and main.css.php(!) */
div.yiiForm {
    width: auto;
}

div.yiiForm div.action {
    padding: 0.5em 0;
}

div.yiiForm INPUT,
div.yiiForm SELECT,
div.yiiForm TEXTAREA,
.button {
    font-size: 13px;
    padding: 3px;
}
div.yiiForm TEXTAREA,
div.yiiForm INPUT[type=text] {
    background: #fff;
}
/* "very" compley layout, i.e. HTML editor */
div.yiiForm div.simple div span,
div.yiiForm div.simple div div,
div.yiiForm div.complex div span,
div.yiiForm div.complex div div {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    Xfont-size: 1em;
    text-align: inherit;
}
/* ckeditor fixes */
div.yiiForm div.simple span.cke_toolgroup,
div.yiiForm div.complex span.cke_toolgroup {
    margin-right: 4px;    
}

div.yiiForm INPUT[type=button],
.button {
    margin: 2px 4px 2px 0px;
    text-decoration: none;
}

div.yiiForm LABEL {
    color: #666;
    Xfont-size: 0.9em;
}
div.yiiForm P.hint {
    color: #999;
    font-size: 0.9em;
    padding: 0.25em 0 0.5em;
}

A.ui-icon-container,
DIV.ui-icon-container,
INPUT.ui-icon-container {
    padding-left: 20px !important;
    position: relative;
    text-decoration: none;
    margin: 2px 4px 2px 0px;
}
.ui-icon-container .ui-icon {
    position: absolute;
    top: 3px;
    left: 2px;
}

ul.yiiPager {
    margin: 0 0 10px 0;
}


.piiAutoComplete {
    display:inline-block;
}

.yiiTab ul.tabs {
    font: inherit;
}


INPUT.ac_input[type=text] {
    background: #fff url('../images/ac_input.png') right center no-repeat;
    padding-right: 20px;
}
INPUT.ac_loading[type=text] {
    background: #eee url('../images/ac_loading.png') right center no-repeat;
    padding-right: 20px;
}
.ac_results {
    color: (fgColorMainDark);
}




/* Status boxes */
div.errorSummary {
    background:#FFEEEE none repeat scroll 0 0;
    border:2px solid #CC0000;
    color:#CC0000;
}
div.successSummary {
    background:#EEFFEE none repeat scroll 0 0;
    border:2px solid #00CC00;
    color:#00CC00;
}
div.statusSummary {
    background:#eeF none repeat scroll 0 0;
    border:2px solid #00c;
    color:#00c;
}
div.infoSummary {
    background:#fff none repeat scroll 0 0;
    border:2px solid #ccc;
    color:#333;
}

div.infoSummary A {
    color:#000 !important;
}



/* OTHERS */

.yiiLog {
    margin-top: 300px;
}






/* COLORS */

div.yiiForm {
    border: 1px solid #ccc !important;
    background: #f4f4f4 !important;
}
table.dataGrid{
    background: white;
}
table.dataGrid th, table.dataGrid th A{
    background: #ccc;
    color: #000;
}
table.dataGrid tr.odd
{
    background: #eee;
}
table.dataGrid td, table.dataGrid th
{
    border-top: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
    border-left:  1px dashed #ccc !important;
    border-right: 1px dashed #ccc !important;
}



ul.yiiPager .selected a:link,
ul.yiiPager .selected a:visited {
    background-color: #ccc !important;
    color: #fff;
}
ul.yiiPager a:link,
ul.yiiPager a:visited {
    background-color: #fff;
    color: #666;
    border-color: #ccc;
}
ul.yiiPager a:hover {
    background-color: #ccc;
    color: #000;
    border-color: #333;
}
ul.yiiPager LI {
    margin: 0;
}
