/* =form.flS & Lightbox forms
-------------------------------------*/

form.fl {
	clear: both;
}

div#lightbox .center form.fl {
	clear: both;
	overflow: auto;
	width: 478px;
        /* try this fix
        height:303px; */
	max-height: 400px;
	margin: 10px auto 0 auto;
}
div#lightbox #add_place form.fl {
    height:303px;
    max-height: inherit;
}
form.fl fieldset {
	border: 1px solid #ccc;
	background: white;
	margin: 15px 0 0 0;
}

div#lightbox .center form.fl fieldset {
	float: left;
	padding: 0 0 10px 0;
	width: 448px;
	margin: 0 auto 10px auto;
	clear: both;
}

div#lightbox .center form.fl fieldset.action ul,
div#lightbox .center form.fl fieldset.action li,
form.fl fieldset.action li {
	border: none;
	text-align: center;
	padding: 5px 0 0 0;
}

form.fl fieldset.action li a {
	position:relative;
	float:left;
	margin:0 0 20px 20px;
}

/* extra margin for button on create account and add a place */
form.fl fieldset.action li a.button {
	margin:0 0 20px 150px;
}

/* extra margin for cancel link on create account and add a place */
form.fl fieldset.action li a.cancel-link {
	margin-top:10px;
}

form.fl p {
	margin: 0 0 0 20px;
}

form.fl legend, form.fl p.legend {
	font-weight: bold;
	font-size: 95%;
	padding: 10px 0 0 20px;
	margin: 0;
}

div#lightbox .center legend {
	font-size: 95%;
	margin: 0;
	padding: 0 5px 0 5px;
}

form.fl ul {
	margin: 20px;
	font-size: 85%;
	padding: 0;
}

div#lightbox .center form.fl ul {
	border-top: 1px solid #EEE;
	padding: 0;
	margin: 10px 20px 0 20px;
}

form.fl li, form.dash li {
	clear: both;
	margin: 0;
	padding: 3px 5px 3px 5px;
	position: relative;
	display: block;
}

div#lightbox .center form.fl li {
	width: 100%;
	border-bottom: 1px solid #EEE;
	padding: 3px 0 3px 0;
	margin: 0;
	position: static;
	float: left;
}

div#lightbox .center form.fl li.additional {
	padding: 5px 0 7px 0;
}

form.fl li.alt, form.dash li.alt {
	background: #fffae4;
}

form.fl label {
	float: left;
	width: 150px;
	position: relative;
	top: 4px;
	background: none;
}

form.dash label, ul#ordering label {
	float: left;
	position: relative;
	top: 2px;
	background: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: bold;
	color: #1a5d00;
}

ul#ordering {
	width:300px;
	margin:0 0 0 10px;
	padding:10px 0 5px 10px;
	position:relative;
	float:right;
	display:block;
}

ul#ordering label {
	padding-left:50px;
	top: 4px;
	left: 30px;
	font-size: 95%;
	font-weight: bold;
}

div#lightbox .center form.fl label {
	padding: 3px 0 0 5px;
	width: 100px;
	font-weight: bold;
	color: #1a5d00;
	position: static;
}

div#lightbox #add_place form.fl label {
	width: 150px;
}

form.fl span {
	color: #7e764f;
	width: 555px;
	position: absolute;
	right: 0;
	top: 7px;
}

div#lightbox form.fl span.help {
	padding: 0;
	margin: 0;
	position: static;
	float: left;
	width: 295px;
	line-height: 160%;
	margin-left: 105px;
}

div#lightbox #add_place form.fl span.help {
	width: 245px;
	margin-left: 155px;
}

form.fl input, textarea {
	padding: 2px 0 0 2px;
	width: 150px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
}

div#lightbox .center form.fl input, div#lightbox .center form.fl input.text, div#lightbox .center form.fl textarea, div#lightbox .center form.fl textarea.text {
	float: left;
	width: 294px;
	position: static;
}

div#lightbox .center form.fl .text {
	border: none;
	margin-top: 3px;
	height: 18px;
}

div#lightbox #add_place form.fl input, div#lightbox #add_place form.fl textarea {
	width: 245px;
}

form.fl input.check {
	margin: 5px 0 5px 0;
	padding: 0;
	width: 13px;
}


div#lightbox #add_place form.fl input.check, div#lightbox #login form.fl input.check {
	padding: 0;
	margin: 0;
	width: 13px;
	height: 21px;
}

form.fl input.link {
	margin: 3px 0 0 150px;
	display: block;
}

div#lightbox #add_place form.fl input.link {
	margin-left: 155px;
}

form.fl input.button {
	text-align: center;
	padding: 3px 0 3px 0;
}

div#lightbox .center form.fl input.hiddeninput {
	display: none;
}

/* =Form-button
-------------------------------------*/

div#lightbox .button, form.fl .button, body.place-capture .button, form.validate .button {
	position: relative;
	padding: 10px 20px 18px 20px;
	color: white;
	background: none;
	z-index: 1;
	text-decoration: none;
	font-size: 100%;
	font-weight: bold;
	text-align: center;
	float: none;
	display: block;
	margin: 0 auto 0 auto;
	width: 17em;
}

form.validate .button {
	padding-bottom: 10px;
	margin-top: 20px;
}

#place-select form.dash .buttons {
	display:block;
	float:right;
	text-align:center;
	text-decoration:none;
	background:none;
	z-index:1;
	color: white;
	font-weight:bold;
	font-size: 100%;
	padding-bottom: 4px;
	padding-top: 6px;
	width: 10em;
	margin: 5px 0 0 0;
}


div#lightbox .button span.corner, form.fl .button span.corner, form.dash .buttons span.cor, body.place-capture .button span.corner, form.validate .cor {
	position: absolute;
	height: 60%;
	width: 60%;
	z-index: -1;
}

#add_place a.button {
	padding:8px 0 8px 0;
}

div#lightbox .button .tl, form.fl .button .tl, form.dash .buttons .topleft, body.place-capture .button .tl, div.profile-section form.validate .tleft {
	background: transparent url(../../images/pm2/button.gif) no-repeat left top;
	top: 0;
	left: 0;
}

div#lightbox .button .tr, form.fl .button .tr, form.dash .buttons .topright, body.place-capture .button .tr, div.profile-section form.validate .tright  {
	background: transparent url(../../images/pm2/button.gif) no-repeat right top;
	top: 0;
	right: 0;
}

div#lightbox .button .bl, form.fl .button .bl, form.dash .buttons .bottomleft, body.place-capture .button .bl, div.profile-section form.validate .bleft {
	background: transparent url(../../images/pm2/button.gif) no-repeat left bottom;
	bottom: 0;
	left: 0;
}

div#lightbox .button .br, form.fl .button .br, form.dash .buttons .bottomright, body.place-capture .button .br, div.profile-section form.validate .bright {
	background: transparent url(../../images/pm2/button.gif) no-repeat right bottom;
	bottom: 0;
	right: 0;
}


/* =DASHBOARD TAB FORM ELEMENTS
-------------------------------------*/

form.dash {
	margin: 10px 0 0 0;
	padding: 0 0 20px 0;
	position: relative;
}

form.dash label {
	float: left;
	position: relative;
	background: none;
}

form.dash input, form.dash select {
 	padding: 2px 0 0 2px;
	width: 140px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
}

form.dash select {
	padding: 0 0 0 2px;
	width: 145px;
}

form.dash ul {
	font-size: 85%;
	margin: 0;
	padding: 0;
}
form.dash li {
	display: block;
	float:left;
	width:100%;
	clear: both;
}

#place-select form.dash li a {
	position:relative;
	top:10px;
}

select#order-select, input#scst {
	float: right;
	position: relative;
}

/* =ERROR
-------------------------------------*/

#error, #success, #warn-bar,#gac-error {
	width: 795px;
	clear: both;
	margin: 26px auto 20px auto;
	padding: 15px 15px 15px 70px;
	color: #000;
	line-height: 140%;
	display:none;
}

#error, #warn-bar , #gac-error{
	border: 1px solid #FF0000;
	background: #FFCCCC url(../../images/pm2/error.gif) 10px 10px no-repeat;
}

#success  {
	border: 1px solid #FFCC66;
	background: #fffae4 url(../../images/pm2/success.gif) 10px 10px no-repeat;
	margin-bottom: 0;
}

div#lightbox #error {
	clear: both;
	width: 398px;
	margin: 10px 0 10px 20px;
	padding: 15px 15px 15px 63px;
	font-size: 100%;
}

div#lightbox #error ul, div#lightbox #error li {
	border: none;
	padding: 0;
}

div#lightbox li.input-error input,
div#lightbox li.input-error textarea,
form.fl li.input-error input,
form.fl li.input-error textarea
{
	background: #FFF;
	border: 1px solid #FF0000;
	padding: 2px 0 2px 4px;
}

#error li, #success li {
	list-style-type: disc;
	list-style: disc;
}


/* =place-capture-popup
-------------------------------------*/

body.place-capture div#wrapper {
	width: 520px;
	padding:20px;
}

body.place-capture div#error{
	width: 400px;
}

body.place-capture form.fl span {
	width: 160px;
}

body.place-capture form.fl label {
	width: 150px;
}

body.place-capture form.fl p {
	margin:10px 0 -10px 20px;
	font-weight:bold;
}

body.place-capture #popuplogin {
	position:absolute;
	color:#fff;
	top:30px;
	left:20px;
	text-align:right;
	width:520px;
}

img.header-logo {
	position:relative;
	top:20px;
	left:20px;
	margin-bottom:30px;
}

 body.place-capture .button {
	margin: 10px auto 0 auto;
}

body.place-capture form.fl input.hiddeninput {
	display: none;
}


/* =profile
-------------------------------------*/


body.profile div.error {
	width:350px;
	margin:-15px 5px 5px 200px;
	padding:5px;
	border: 1px solid #FF0000;
	background: #FFCCCC url(../../images/pm2/error.gif) 10px 10px no-repeat;
}

body.profile div.error p {
	padding:5px 5px 10px 50px;
	margin:0;
	text-align:left;
	color:#000;
	background:none;
}

body.profile div.error li {
	padding:10px 10px 10px 0;
	margin-left:60px;
	list-style-type: disc;
	list-style: disc;
}

.profile form.validate {
	margin:0 0 20px 195px;
	padding:5px;
	width:auto;
}

.profile form.validate span {
	padding-left:1.5em;
	font-size:85%;
}

.profile form.validate fieldset {
	width:360px;
	border: 1px solid #ccc;
	background: white;
	margin: 0;
	padding:5px 0 0 0;
}

.profile input {
	margin:5px 0 0 15px;
	padding: 2px 0 0 2px;
	width: 150px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
}

form.validate #submit {
	margin-left:0;
	text-align:center;
	padding:2px;
	width:80px;
	height:24px;
}

form.validate p.legend {
	font-weight: bold;
	font-size: 95%;
	padding:0 0 0 10px;
	width:310px;
	margin:0;
}

.profile form.validate ul {
	margin:0;
	padding:5px 5px 5px 10px;
}

.profile li strong {
	font-weight:bold;
}

form.validate li {
	padding: 3px 5px 3px 5px;
}

form.validate ul {
	margin: 20px;
	font-size: 95%;
	padding: 0;
}




