fieldset {
 /* width: 930px;*/
  padding: 7px 0;
  line-height: 24px;
  clear: left;
}
form:after{
	clear:both;
	content: '.';
	display: block;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}
input.text, #captcha input, select, textarea.text, input.editor_field, .fake_input {
  border: 1px #069 solid;
  padding: 4px;
  float: left;
  margin-right: 10px;
}
textarea.text {
  width: 374px;
  height: 80px;
}
select { 
  margin-right: 10px;
  padding: 3px 3px 2px 3px;
}
option { margin-right: 3px }
input.text { width: 274px } 
input.password, input.postal, input.half, .postal input { width: 127px } 
select.half, .gender select { width: 137px }
select.full, .country select { width: 284px }
select.protocol { width: 90px }
label {
  width: 160px;
  text-align: right;
  display: block;
  float: left;
  margin-right: 10px;
}
label.meta { padding-top: 7px } 
.errorExplanation ul li {
  padding-left: 15px;
  list-style-type: disc;
  list-style-position: inside;
}
div.fieldWithErrors input { border-color: #f00 }
.helptext {
  color: #999;
  float: left;
  white-space: nowrap;
}
.email .helptext{
	float: none;
}
.helptext a { font-weight: normal }
.input-radio, .input-checkbox { margin-top: 4px }
.label-checkbox, .label-radio { 
  width: auto;
  text-align: left;
  margin: 0 0 0 10px;
}
#ie .input-radio, #ie .input-checkbox { margin-top: 0 }
/* TODO: get rid of this in favor of .input-radio and .input-checkbox */
#ie input.radio, #ie input.checkbox { margin-top: 0 }
label.required span, .legend span { color: #f00 }

/* ================================= [ FORM BUTTONS ] ============================ */
.buttons div.wrapper {
  border-width: 1px;
  border-style: solid;
  float: left;
  margin-right: 10px;
}
.buttons div.blue { border-color: #1a5876 }
.buttons div.gray { border-color: #9bb4c0 }
button {
  text-align: center;
  border: 0;
  margin: 0;
  outline: 0;
  margin: 0;
  outline-style: none;
  font-size: 93%;
  font-weight: bold;
  color: #fff;
  overflow: visible;
  white-space: nowrap;
  background: transparent url(/images/blue_button.png) no-repeat top left;
  padding: 0 12px;
  height: 28px;
  padding-bottom: 2px;
  cursor: pointer;
}
button.cancel, button.gray {  
  background-image: url(/images/white_button.png);
  color: #069;
}
button.hover { background-position: left -40px }

/* ================================= [ SMALL BUTTONS ] ============================ */

.upload button, .add button { height: 25px }

.add a.button { 
  display: block;
  text-align: center;
  color: #fff;
  font-weight: normal;
  width: 95px;
  height: 25px;
  background: transparent url(/images/add_button.png) no-repeat top left;
}
.add a.button:hover { text-decoration: none }
.add a.hover { background-position: 0 -30px }

/*  This section needs an overhaul for the user profile home page */
/*  .action will become .controls */
a.action {
  display: inline-block;
  background: transparent url(/images/form_button_sm_right.png) no-repeat top left;
  height: 23px;
  line-height: 20px;
  padding-left: 16px;
  color: #000;
  
}
a.action span {  background: transparent url(/images/form_button_sm_left.png) no-repeat top left }
a.blue { color: #fff }
a.blue span { }

/* ================================= [ NEW LINK BUTTONS ] ============================ */
.buttons a {
  border-width: 1px;
  border-style: solid;
  font-weight: bold;
  display: block;
  float: left;
  cursor: pointer;
}
.buttons a:hover { text-decoration: none }
.buttons a.blue { 
  border-color: #1a5876;
  color: #fff;
}
.buttons a.gray { 
  border-color: #9bb4c0;
  color: #069;
}
.buttons a span { 
  display: block;
  padding: 4px;
  text-align: center;
  width: auto;
  white-space: nowrap;
}
.buttons a > span, .buttons a span.large { 
  height: 20px;
  line-height: 20px;
  font-size: 93%;
  padding-left: 12px;
  padding-right: 12px;
}
.buttons a span.small { 
  height: 15px;
  font-size: 85%;
  line-height: 131%;
}
.buttons a.blue span { background-image: url(/images/blue_button.png) }
.buttons a.gray span { background-image: url(/images/white_button.png) }
.buttons a.hover span { background-position: 0 -40px }
.buttons span.nested span { padding: 0 }
.buttons span.nested span { 
  padding: 4px 4px 4px 20px;
  background: transparent url(/images/orange_down_arrow.png) no-repeat scroll center right;
}
.buttons a span.nested { 
  padding: 0 4px;
  height: 23px;
}

/* ================================= [ FILE UPLOAD OVERLAY ] ============================ */
fieldset.upload {  position: relative }
.upload input.upload { 
  opacity: 0;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  z-index: 2;
  position: absolute;
}
input.underlay { 
  position: relative;
  display: block;
  float: left;
  margin-right: 4px;
}
button.browse { 
  position: relative;
  display: block;
  float: left;
}
.toggle a { font-weight: normal }
fieldset.buttons {  
  padding-left: 170px; 
  width: 760px; 
} 

/* ================================= [ NAMES AUTO-COMPLETER ] ============================ */

.names {
  border: 1px solid #369;
  background-color: #fff;
}
.names li { padding-left: 5px }
.name {  font-weight: bold }
.address { 
  font-size: 77%;
  font-weight: normal;
}
.names .selected { 
  color: #fff;
  background-color: #336699;
}
#schools_school_name_auto_complete { z-index: 5 }

/* ================================= [ MODALS ] ============================ */

.dialogue fieldset { width: 380px }
.dialogue fieldset.buttons { 
  width: 270px;
  padding-left: 110px;
}
.dialogue label { width: 100px }
.dialogue textarea, .dialogue select, .dialogue input.text { 
  float: left;
  width: 200px;
}
.dialogue select { width: 210px }
.dialogue textarea { height: 100px }
.dialogue fieldset.buttons .wrapper, .dialogue fieldset.buttons a { 
  float: left;
  margin: 0 10px 0 0;
}
.notice .buttons .wrapper, .notice .buttons a {  
  float: right;
  margin-left: 10px;
}
.dialogue .message { 
  padding: 20px 0;
  clear: left;
}
.dialogue .member { float: left }
.dialogue .member .avatar, .dialogue .member .name { float: left }
.dialogue .member .avatar { 
  margin-right: 10px;
  border: 1px solid #999;
  display: block;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center center;
}
.dialogue .radios label { 
  float: left;
  white-space: nowrap;
}

/* ======================= [ SIGN IN (MODAL and PAGE) ] ====================== */

#sign_in { 
  float: left;
  border: 0 solid #c6c6c6;
  border-right-width: 1px;
  width: 300px;
}
#sign_in ul { 
  float: left;
  margin-left: 85px;
}
#sign_in ul a { font-weight: normal } 
#sign_in fieldset { width: 300px }
#sign_in label { width: 75px }
#sign_in input.text { width: 175px } 
#sign_in fieldset.cookie {
  width: 215px; 
  padding: 0 0 0 85px;
}
#sign_in .cookie label { 
  width: auto;
  float: left;
}
#sign_in fieldset.actions { 
  padding-left: 81px;
  width: 219px;
}
#register { 
  float: left;
  padding-left: 20px;
}

/* ======================= [ SHARING ] ====================== */

#share_success .message { 
  display: block;
  width: 300px;
  padding: 10px 0 20px 0;
}

/*===================== [ INVITE/ADD FRIEND MODALS ] =======================*/

.dialogue .buttons a { margin-left: 10px }
.add_friend fieldset.message { padding: 0 }
.add_friend fieldset.radios, .add_friend fieldset.message {
  padding: 0 0 0 60px;
  width: 200px;  
}
.add_friend fieldset.radios input {
  float: left;
  margin-top: 5px;
  clear: left;
}
.add_friend fieldset label {
  text-align: left;
  width: auto;
}
.add_friend fieldset.radios label { margin-left: 10px }
.add_friend fieldset.message textarea { 
  height: 60px;
  width: 230px;
}
.add_friend .buttons { clear: left }
.add_friend .buttons div { 
  float: left;
  margin: 0;
}

/*===================== [ FOR MODAL CANCEL/CLOSE PARTIAL ] =======================*/

.cancel_button { 
  float: right;
  margin-top: 15px;
}
/*===================== [ FOR some special style ] =======================*/
fieldset.left-padding-170{
	padding-left:170px;
}
fieldset.no-leftpadding-170{
	padding-left:0;
}
span.strong{
	font-weight: bold;
}
label#add-to-album{
	width:180px;
}

