/**********************************

Use: cmxform template
Author: Nick Rigby

***********************************/

.cmxform fieldset { margin-bottom: 10px; }

.cmxform legend {
	padding: 0 2px;
	font-weight: bold;
	_margin: 0 -7px; /* IE Win */
	}

.cmxform label {
	display: inline-block;
	line-height: 1.3;
	vertical-align: top;
	}
	
.cmxform fieldset ol {
	margin: 0;
	padding: 0;
	}
	
.cmxform fieldset li {
    clear: both;
	list-style: none;
	padding: 5px;
	margin: 0;
	}
	
.cmxform fieldset fieldset {
	border: none;
	margin: 3px 0 0;
	}
	
.cmxform fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
	}
	
.cmxform fieldset fieldset label {
	display: block;
	width: auto;
	}

.cmxform em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
	}

.cmxform label { width: 120px; } /* Width of labels */
.cmxform fieldset fieldset label { /*margin-left: 123px; */ margin-left: 113px; } /* Width plus 3 (html space) */

.cmxform label sup {color: #b40909; padding-left: 5px;}

.cmxform li .inline_error {margin-left: 123px; color: #b40909; font-weight: bold;}
.cmxform fieldset fieldset .inline_error { margin-left: 116px; } 
/*\*//*/ .cmxform legend { display: inline-block; } /* IE Mac legend fix */


/* p.static uzywany w przypadku "formularzy", ktore tylko wyswietlaja statuczne dane
   - zamiast wpisywac je do input/textarea, wstawiamy je do <p class="static"> 
*/

.cmxform p.static {margin-left: 123px; margin-bottom: 0; margin-top: -1.5em; /*bylo -1.3em, w firefoxie schodzily nizej */}

/* style dekoracji do cmxforma - kolory, tla itp. */
.cmxform {
	color: #333;
}
	
.cmxform legend { 
    padding: 0 10px; 
    background-color: #fff;
}

.cmxform legend,
.cmxform label { color: #333; }

.cmxform fieldset {
    position: relative;
	border: none;
	background: url(../images/fieldset_bg.gif) left top repeat-x;
	/* nie mozemy uzyc border-top:  
    http://tom-lee.blogspot.com/2006/04/fieldset-border-bug-in-ie.html
    
    w naszym przypadku p.static ma ujemny margin-top 
    */
}

.cmxform fieldset.noborder {
    background: none;
}

.cmxform fieldset fieldset { background: none; }
	
.cmxform fieldset li {
	padding: 5px 10px 4px;
	zz-background: url(../images/fieldset_bg.gif) left bottom repeat-x;
}


