/* -- Text --------------------------------------- */

.form_element_text {
    border:                1px solid gray;
    font-size:             1.0em;
    font-weight:           normal;
    color:                 #3F3F3F;
    border:                1px solid #3F3F3F;
    padding:               4px 0;
    background:            #FFFFFF;
    border-color:          #7C7C7C #C3C3C3 #DDDDDD;
    border-style:          solid;
    border-width:          1px;
    border-radius:         3px;
    -moz-border-radius:    3px;
    -webkit-border-radius: 3px;
}

/* -- Select --------------------------------------- */

.form_element_select{
    padding: 2px 0;
}

.form_element_select optgroup{
    font-weight: bold;
    color:       #6F6F6F;
}

    .form_element_select optgroup option{
        color: black;
    }

/* -- TextArea ------------------------------------- */

.form_element_textarea{
    background:            white;
    border-color:          #7C7C7C #C3C3C3 #DDDDDD;
    border-style:          solid;
    border-width:          1px;
    border-radius:         3px 3px;
    -moz-border-radius:    3px 3px;
    -webkit-border-radius: 3px 3px;  
}

/* -- Spinner ------------------------------------- */

.form_element_spinner{
    vertical-align:middle
}

/* -- Radio ------------------------------------- */

.form_element_radios_option{
    border: 0;
}

/* -- File ------------------------------------------- */

.form_element_file {
    background:            #FFFFFF;
}

/* -- Calendar --------------------------------------- */

button.calendar{
    float:               none;
    vertical-align:      middle;
    background-image:    url('/resources/form/img/calendar.gif') !important;
    background-repeat:   no-repeat !important;    
    background-position: center center;
    height:              20px;
    width:               20px;    
}

div.calendar {
	background: white;
	border: 1px solid black;	
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 147px;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		cursor: move;
		height: 185px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #333;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-top: 6px;
		text-align: center;
		width: 100%;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 12px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 17px;
		width: 11px;
	}
	div.calendar caption a.prev {
		background-image: url(/resources/calendar/img/calendar-prev.gif);
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url(/resources/calendar/img/calendar-next.gif);
		right: 0;
	}
	div.calendar caption a:hover {
		background-position: 0 12px;
	}
	div.calendar caption span {
		height: 25px;
		position: relative;
		text-align: center;
	}
	div.calendar caption span.month {
		padding-right: 8px;
	}
	div.calendar caption span.month:after {
		content: ',';
	}

	div.calendar table {
		background: #FFF;
		border: 0;
		border-collapse: collapse;
		border-spacing: 0;
		cursor: default;
		margin: 0 auto;
		overflow: hidden;
		width: 147px;
	}
	div.calendar td,
	div.calendar th {
	    text-align: center;
	    vertical-align: middle;
		border: 0;
		color: #0597DB;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 21px;
		text-align: center;
		width: 21px;
	}
	div.calendar td {
		background: url(/resources/calendar/img/calendar-td.gif);
		color: #FFF;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: #999;
	}
	div.calendar td.valid {
		background: url(/resources/calendar/img/calendar-valid.gif);
		color: #0597DB;
		color: black;
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(/resources/calendar/img/calendar-hilite.gif);
	}
	div.calendar td.inactive {
		background: url(/resources/calendar/img/calendar-td.gif) 0 100%;
		color: #FFF;
	}
	div.calendar td.active,
	div.calendar td.hover {
		background: url(/resources/calendar/img/calendar-valid.gif) 0 100%;
		color: #FFF;
		cursor: pointer;
	}
