/*************************************************************************
 * F O R M S   &   B U T T O N S                                         *
 *************************************************************************/

/* Form styles, courtesy of http://nidahas.com/sandbox/form_template.html */
.form-section { padding: 10px; margin: 0 0 10px 0; background-color: #FFF; border: 1px solid #5386B6; background-image: url(../graphics/white_bottom_fade.gif); background-position: left bottom; background-repeat: repeat-x;}

p.legend { margin-bottom: 1em; }
p.legend em { color: #C00; font-style: normal; }

div.errors { margin: 0 0 10px 0; padding: 5px 10px 5px 36px; border: #FC6 1px solid; background-color: #FFC; position: relative; }
div.errors.positive { border-color: #9C9; background-color: #EFE;}
div.errors.negative { border-color: #C00; background-color: #FEE;}
div.errors.info { border-color: #5386B6; background-color: #E8EFF5;}
div.errors p { margin: 0; }
div.errors p em { color: #C00; font-style: normal; font-weight: bold; }
div.errors img.icon { position: absolute; top: 5px; left: 10px; }
div.errors img.IE6.icon, div.errors span.IE6.icon  { left: -26px; position: absolute; top: 10px; } /* Fix for IE6 */

.form-container .control { clear: both; }
.form-container .control div.input { margin-left: 170px; }
.form-container p { margin: 0; }
.form-container p.note { margin-left: 170px; padding-bottom: 1em; font-size: 90%; color: #999; }
.form-container fieldset { margin: 10px 0; padding: 10px; border: #DDD 1px solid; }
.form-container legend { font-weight: bold; color: #666; }
.form-container textarea { font-size: 1em }
.form-container fieldset div { padding: 0.25em 0; }
.form-container label, 
.form-container span.label { font-weight: bold; margin-right: 10px; padding-right: 10px; width: 150px; display: block; float: left; text-align: right; position: relative; 	line-height: 1.3em; padding-bottom: 1em; }
.form-container label.error, 
.form-container span.error { color: #C00; }
.form-container label em, 
.form-container span.label em { position: absolute; right: -4px; top: 0; font-size: 130%; font-style: normal; color: #C00; }
.form-container label strong, 
.form-container span.label strong { font-weight: normal; }
.form-container em.required { color: #C00; font-weight: bold; font-size: 130%; cursor:help; }
.form-container input.error, 
.form-container textarea.error, 
.form-container select.error { border-color: #C00; background-color: #FEF; }
.form-container input:focus,
.form-container input.error:focus, 
.form-container textarea:focus {	background-color: #FFC; border-color: #FC6; }
.form-container div.controlset label, 
.form-container div.controlset input { display: inline; float: none; top: 0; margin: 0; }
.form-container div.controlset label { padding: 0; }
.form-container div.controlset { float: left; }
.form-container div.controlset p.note { margin-left: 0; margin-top: 1em; }
/*div.form-container div.buttons { margin-left: 170px; float: none; width: auto; }*/
.form-container span.before,
.form-container span.after {
	color: #999;
}

.form-container div.widelabel label, 
.form-container div.widelabel span.label { width: 300px;  }

.form-container span.input { display: block; margin-left: 170px; }

.form-container .hidden {
	position: absolute;
	left: -6500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-container div.inline {display: inline;}

.form-container div.inline label {
	float: none;
	margin: 0;
	padding: 1em 0 0.5em 0;
	text-align: left;
	width: auto;
	display: inline;
}

.form-container div.inline em.required {
	right: -10px;
	top: 0.7em;
}

.form-container input.fullwidth,
.form-container textarea.fullwidth,
.form-container select.fullwidth  {
	width: 100%;
}

.form-container p.note.fullwidth {
	margin-left: 0;
}

.form-container select {
	max-width: 350px
}

.form-container textarea {
	font-size: 12px;
}

legend {white-space:normal;}



div.checkbox input,
input[type=radio],
input[type=checkbox] {
	border: none;
}

input[type=hidden] ,
.buttons input[type=hidden] {
	display: none;
}


/* reCAPTCHA */

div.form-container div.cf-turnstile {
	float: left;
	padding: 0;
}

div.form-container div.cf-turnstile div {
	padding: 0;
}

/* Ticklist */

div.form-container ul.ticklist {
	position: relative;
	height: 150px;
	width: 250px;
	overflow: auto;
	list-style-type: none;
	margin: 0;
	padding: 10px;
	border: 1px solid #DDD;
	background-color: White;
}

div.form-container ul.ticklist li {
	display: block;
}

div.form-container input.h1 {
	font-size: 2em;
	font-weight: bold;
	width: 400px;
}


div.form-container ul.ticklist label { margin-right: 10px; padding-right: 10px; width: auto; display: inline; float: none; text-align: left;  }
div.form-container ul.ticklist input { position: relative; top: 0; }

div.form-container p.ticklist-controls {
	font-size: 0.9em;
	margin: 0.5em 0 1em 170px;
}
div.form-container p.ticklist-controls input {
	font-size: 0.8em;
	padding: 1px;
}

div.ui-dialog ul.ticklist {
    width: auto;
    height: 270px;
}




div.form-container textarea.mce {
	width: 100%;
}

div.form-container legend input,
div.edit-block div.heading div.controls input {
	vertical-align: top;
}

*:first-child+html div.edit-block div.heading div.controls input[type=submit] { /* IE7 */
    padding-top: 1px;
	padding-bottom: 0px;
	margin-left: 8px;
}


input.blur {
	color: Gray;
}



/* BUTTONS, courtesy of http://particletree.com/features/rediscovering-the-button-element/ */
.print_invoice {
	position: absolute;
	top: 0;
	left: 0;
}
.buttons.right {
	float: right;
	width: 100%;
	margin: 1em 0;
}

.buttons.right button, .buttons.right a {
	float: right;
}

.buttons.left {
	width: 100%;
	margin: 1em 0;
}

.buttons {
	float: left;
	display: block;
	margin: 1em 0 1em 170px;
}

.buttons a, .buttons label, .buttons input, .buttons select, .buttons button {
	float: left;
    margin:0 7px 0 0;
	display: inline;
}

.sidebar .buttons {
	position: absolute;
	display: inline;
	margin: 0.5em 0 0 0;
}

td .buttons {
	width: auto;
	float: left;
}


.buttons label {
	margin-top: 0.5em;
}

.buttons input {
	margin-top: 0.3em;
}

.buttons a, .buttons button{
    display:block;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html .buttons button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}


/* STANDARD */

.buttons button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

.buttons button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}




input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}





/* MAILING LIST */
form.mailing-list p.consent,
form.mailing-list p.subscribe {
	clear: both;
	padding-top: 1em;
	padding-left: 170px;
}

form.mailing-list div.buttons {
	margin-top: 0.25em;
}


/* Login Form */

fieldset.login,
fieldset.login * {
    box-sizing: border-box;
}

fieldset.login {
    width: 334px;
    max-width: 100%;
    margin: 1em auto 3em auto;
    border: 1px solid #CCC;
    border-radius: 3px;
    box-shadow: 0 2px 5px 2px #EEE;
    padding: 15px;
    background-color: #F8F8F8;
	min-width: 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

fieldset.login legend {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

fieldset.login label {
    display: block;
    margin-bottom: 0.25em;
}

fieldset.login input {
    width: 100%;
    font-size: 1.2em;
	box-shadow: 0 0 5px 0px #CCC;
	border: 1px solid #BBB;
	padding: 0.2em;
}

fieldset.login div.control {
    margin-bottom: 1em;
}

fieldset.login div.checkbox input {
    width: auto;
}

fieldset.login div.checkbox label {
    display: inline;
}

fieldset.login input:focus {
    outline: none;
    box-shadow: 0 0 5px 0 #999;
}

fieldset.login button {
    width: 100%;
    padding: 0.5em;
    text-transform: uppercase;
    background-color: Green;
    color: White;
    border: 0;
}

fieldset.login a.register {
    display: block;
    background-color: #888;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 0.3em 0;
	margin-top: 0.5em;
	text-transform: uppercase;
}

fieldset.login h2 {
	font-size: 1em;
	font-weight: bold;
}

fieldset.login p.cancel {
	margin-top: 0.5em;
	margin-bottom: 0;
	text-align: center;
}

fieldset.login p.separator {
    text-align: center;
    opacity: 0.5;
    margin: 0.25em 0;
}

fieldset.login p.forgotten {
    clear: both;
}

fieldset.login div.errors {
	word-wrap: break-word;
	font-size: 0.9em;
}

fieldset.change-password div.password-output {
	margin-bottom: 1em;
}

fieldset.change-password div.password-indicators {
	margin-bottom: 0.5em;
}