#rich_preview {
  margin: 5% 20%;
}

#middle .wrapper {
	background:#FFFFFF url(/matlabcentral/images/mlc-lx-banner.jpg) no-repeat top left;
}
.divider {
  color: #b9b9b9;
}

.hide {
  display: none;
}

.help {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin: 0 0 0 8px;
  background: transparent url(/matlabcentral/linkexchange/images/icon_info.gif) no-repeat 0 0;
  text-indent: -5000px;
  overflow: hidden;
}

td.info h3 {
  margin-top: 0.9em;
}

td.info.bottom h3 {
  margin-top: 0;
}

li.maincta {
  margin-top: 10px !important;
}

li.maincta a {
  padding-left: 22px !important;
  background: transparent url(/matlabcentral/linkexchange/images/icon_submitfile.gif) no-repeat 0 1px;
}

.row {
  width: 100%;
  float: left;
  clear: left;
  padding: 4px;
}

.row > div {
  width: 500px;
  float: left;
}

.row > .row_label {
  width: 100px;
  margin: 0 8px 0 0;
  padding: 1px 0 0 0;
  font-weight: bold;
  text-align: right;
}

.row.no_label {
  padding: 4px 4px 4px 112px;
}

.row_label label {
  display: block;
  float: none;
  padding: 0;
}


/* forms --------------------------------------------------------------------------------------- */

input[type="submit"].inline {
  margin: 0;
}

input.arrow_button {
  width: 18px;
  height: 20px;
  margin: 0 0 4px;
  border: 0;
  padding: 0;
  background: transparent url(/matlabcentral/linkexchange/images/arrow_button.gif) no-repeat left 2px;
  text-indent: -5000px;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
}

input.full_width {
  width: 300px;
}

input#term {
  display: inline !important;
  float: none !important;
}

.advanced_search td.label {
  width: 22%;
}

/* sortable table headers ---------------------------------------------------------------------- */

.sortable_headers th {
  padding: 0 !important;
}

.sortable_headers a, .sortable_headers span {
  display: block;
  padding: 0;
  background: #ffffff url(/matlabcentral/linkexchange/images/table_header_bg.gif) repeat-x scroll center top;
}

.sortable_headers span {
  padding: 4px;
}

.sortable_headers a span {
  display: block;
  margin: 0 5px 0 0;
  background: none;
}

.sortable_headers a.current {
  background: #d4dde7 url(/matlabcentral/linkexchange/images/table_header_bg_current.gif) repeat-x scroll center top;
}

.sortable_headers a.desc span {
  background: transparent url(/matlabcentral/linkexchange/images/icon_sorted_down.gif) no-repeat right center;
}

.sortable_headers a.asc span {
  background: transparent url(/matlabcentral/linkexchange/images/icon_sorted_up.gif) no-repeat right center;
}


/* table controls ------------------------------------------------------------------------------ */
.list_controls {
  overflow: hidden;
  border-top: 1px solid #d6d4d4;
  border-right: 1px solid #d6d4d4;
  border-bottom: none;
  border-left: 1px solid #d6d4d4;
  padding: 8px 4px;
  background: #edeeef url(/matlabcentral/linkexchange/images/list_controls_background.gif) repeat-x left bottom;
  vertical-align: middle;
  font-size: 8pt;
  line-height: 20px;
  margin-top:8px;
}

.list_controls.bottom {
  margin: 0 0 3em 0;
  border-top: none;
  border-bottom: 1px solid #d6d4d4;
  background: #edeeef url(/matlabcentral/linkexchange/images/list_controls_background_bottom.gif) repeat-x left top;
}

.list_controls span, .list_controls a, .list_controls b {
  display: block;
  float: left;
  font-weight: normal;
}

.list_controls .filter {
  float: left;
  margin-right: 20px;
}

.list_controls .filter b {
  margin: 0 8px 0 0;
  color: #bf8c02;
  font-weight: bold;
}

.list_controls .filter span {
  color: #484d53;
  font-weight: bold;
}

.list_controls .filter .divider {
  width: 14px;
  height: 16px;
   
  overflow: hidden;
  margin: 3px 0 0 0;
  background: transparent url(/matlabcentral/linkexchange/images/divider.gif) repeat-y 6px top;
}

.list_controls .pagination {
  float: right;
}

.list_controls .pagination b {
  margin: 0 6px 0 0;
}

.list_controls .pagination .next, .list_controls .pagination .previous {
  width: 18px;
  height: 19px;
  width : 16px\9;
  height : 17px\9;
  margin: 1px 0 0 0;
  border: 1px solid #c3c3c3;
  overflow: hidden;
  text-indent: -5000px;
  background: transparent url(/matlabcentral/linkexchange/images/icon_backward.gif) no-repeat 0 0;
}

.list_controls .pagination .next {
  width: 17px;
  width : 16px\9;
  height : 17px\9;
  border-left: 0 !important;
  background: transparent url(/matlabcentral/linkexchange/images/icon_forward.gif) no-repeat 0 0;
}


.list_controls .pagination span.previous {
  background-image: url(/matlabcentral/linkexchange/images/icon_backward_disabled.gif);
}

.list_controls .pagination span.next {
  background-image: url(/matlabcentral/linkexchange/images/icon_forward_disabled.gif);
}


/* links list table ---------------------------------------------------------------------------- */

.list_wrapper {
  border-top: none;
  border-right: 1px solid #d6d4d4;
  border-bottom: none;
  border-left: 1px solid #d6d4d4;
  padding: 1px 0;
}

.list_wrapper table {
  width: 100%;
}

.list_wrapper th, .list_wrapper td {
  border-right: 1px solid #d6d4d4;
}

.list_wrapper .last {
  border-right: 0;
}

#date_header a {
  width: 70px;
}
#link_header a {
  width: 290px;
}
#tags_header span {
  width: 120px;
}
#clicks_header a {
  width: 50px;
}
#descriptions_header a {
  width: 85px;
}
#ratings_header a {
  width: 91px;
}

#links_list {
  width: auto;
  clear: left;
  margin: 1px 0 0 0;
}

td .contributor {
  margin-top: 6px;
}


/* tag lists ----------------------------------------------------------------------------------- */

ul.tag_list {
  width: 100%;
  list-style: none outside none;
  clear: left;
  margin: 0 !important;
  padding: 0;
}

.tag_list li {
  float: left;
  padding: 0;
  background: none;
  white-space: nowrap;
}

.tag_list span.separator {
  padding: 0 4px 0 0;
}

.tag_list form {
  display: inline;
  padding: 0;
}

.tag_list button {
  margin: 0;
  border: 0;
  padding: 0;
  background: none;
  vertical-align: middle;
  cursor: pointer;
}

.tag_list button img {
  vertical-align: middle;
}

a.apply_tag, a.remove_tag {
  padding: 0 3px 0 0;
}

a.apply_tag img, a.remove_tag img {
  vertical-align: middle;
}


/* recommended tag lists ----------------------------------------------------------------------- */

#recommended_tags_main a, #recommended_tags_secondary a {
  padding: 0 0 0 14px;
  background: transparent url(/matlabcentral/linkexchange/images/icon_add.gif) no-repeat 0 center;
}


/* star rating widget -------------------------------------------------------------------------- */

.rating_widget div {
  clear: left;
}

* .rating_widget label {
  display: inline;
  height: auto;
  width: auto;
  float: none;
  border: 0;
  padding: 0 0 0 4px;
}

.rating_widget a {
  display: block;
  height: 18px;
  width: 18px;
  float: left;
  text-indent: -5000px;
  overflow: hidden;
  background: transparent url(/matlabcentral/linkexchange/images/star.gif) no-repeat 0 0;
}

.rating_widget a.checked {
  background-position: 0 -18px;
}

.rating_widget a.over {
  background-position: 0 -36px;
}


/* item display -------------------------------------------------------------------------------- */

.mlc_item {
  border: 1px solid #d7d6d6;
  padding: 0 0 20px;
  line-height:130%;
}

.mlc_item_details {
  position: relative;
  border-bottom: 1px solid #d7d6d6;
  padding: 16px 200px 4px 20px;
  color: #191919;
  background-color: #f7f7f7;
  font-size:9pt;
}

.mlc_item_details .rating {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 150px;
  border: 1px solid #c1c1c1;
  padding: 12px 6px;
  background-color: #ffffff;
  text-align: center;
}

.stars {
	line-height:18px!important;
  width: 80px;
  background: transparent url(/matlabcentral/linkexchange/images/star.gif) repeat-x 0 0;
  text-align: left;
}

.stars div {
  width: 80px;
  text-indent: -5000px;
  text-align: left;
  overflow: hidden;
  background: transparent url(/matlabcentral/linkexchange/images/star.gif) repeat-x 0 -18px;
}

.mlc_item_details .rating .stars {
  margin: 0 auto;
}

#summary {
  margin: 16px 0 0;
}

#summary p {
  margin: 0 0 12px;
}

#clicks_count {
  margin: 12px 0 0 0;
}

.mlc_item_tags, .mlc_item_feedback, .mlc_item_add_feedback, .mlc_item_tag_activity {
  clear: left;
  overflow: hidden; /* force around floats */
  margin: 20px 18px 0;
  border: 1px solid #d7d6d6;
}

.mlc_item_add_feedback {
  padding-top: 3px;
  background-color: #f4f4f4;
}

.mlc_item h2 {
  overflow: hidden; /* force around floats */
  margin: 0;
  border-bottom: 1px solid #fff;
  padding: 6px;
  background: #edeeef url(/matlabcentral/linkexchange/images/section_header_bg.gif) repeat-x 0 bottom;
  font-size: 1em;
}

.mlc_item h2 span {
  display: block;
  float: left;
}

.mlc_item h2 span.extra {
  display: inline;
  float: none;
  margin: 0 0 0 5px;
  color: #000;
}

.toggle_link {
  display: block;
  padding: 3px 6px 6px;
  outline: 0;
}

.delete_link {
  font-weight: bold;
}


/* feedback table ------------------------------------------------------------------------------ */

.mlc_item_feedback table {
  width: 100%;
}

.feedback_updated {
  width: 80px;
}
.feedback_contributor {
  width: 120px;
}
.feedback_description {
}
.feedback_description a#feedback_form_link {
  display: block;
  margin-top: -0.9em;
}
.feedback_rating {
  width: 80px;
}

.delete_feedback {
  margin-bottom: 0;
  padding-left: 0;
}

.delete_feedback input[type=submit] {
  margin: 0;
  border: 0;
  outline: 0;
  padding-left: 0;
  font-weight: bold;
  color: #0053d0;
  background: none;
}


/* tag activity -------------------------------------------------------------------------------- */

.mlc_item_tag_activity table {
  width: 100%;
  margin: 0 !important;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
}

.mlc_item_tag_activity table th, .mlc_item_tag_activity table td {
  padding: 3px 6px !important;
}

.mlc_item_tag_activity table .last {
  border-right: 0;
}


/* pop-up dialog boxes ------------------------------------------------------------------------- */

.dialog {
  width: 408px;
}
.dialog_top {
  padding: 5px 6px 0 6px;
  background: transparent url(/matlabcentral/linkexchange/images/dialog_shadow_top.png) no-repeat 0 0;
}
.dialog_top div {
  height: 10px;
  border-top: 1px solid #999999;
  font-size: 1px;
}
.dialog_wrapper {
  padding: 0 6px 5px 6px;
  background: transparent url(/matlabcentral/linkexchange/images/dialog_shadow_bottom.png) no-repeat 0 bottom;
}
.dialog_top div, .dialog_body {
  border-right: 1px solid #999999;
  border-left: 1px solid #999999;
  background-color: #bababa;
}
.dialog_body {
  border-bottom: 1px solid #999999;
  padding: 0 11px 10px 11px;
}
.dialog_body form, .dialog_body .message {
  border: 1px solid #d4d4d4;
  padding: 16px 21px 9px 49px;
  background-color: #f7f7f7;
  background-repeat: no-repeat;
  background-position: 9px 9px;
}
.dialog h3 {
  margin: 0 0 6px 0;
  font-size: 1.3em;
}

.dialog.alert form {
  background-image: url(/matlabcentral/linkexchange/images/icon_alert.gif);
}
.dialog.alert h3 {
  color: #c08b00;
}
.dialog.alert .dialog_top div, .dialog.alert .dialog_body {
  border-right: 1px solid #cf9800;
  border-left: 1px solid #cf9800;
  background-color: #e7a801;
}
.dialog.alert .dialog_top div {
  border-top: 1px solid #cf9800;
}
.dialog.alert .dialog_body {
  border-bottom: 1px solid #cf9800;
}


/* flaggings ----------------------------------------------------------------------------------- */

#add_flagging_link {
  display: block;
  padding: 0 0 0 21px;
  background: transparent url(/matlabcentral/linkexchange/images/icon_flag.gif) no-repeat 0 2px;
}

#already_flagged_message {
  font-weight: bold;
  color: #cf9700;
}

#add_flagging {
  position: absolute;
}

#add_flagging.disabled {
  color: #999;
}

#add_flagging .indicator {
  display: none;
}

#add_flagging.disabled .indicator {
  display: inline;
}

#add_flagging form, #flagging_confirmation {
  text-align: left;
  font-size: 8pt;
  line-height: 20px;
}

#flagging_confirmation {
  padding: 15px 25px 15px 25px;
}

#add_flagging textarea {
  width: 300px;
}

#add_flagging p {
  margin: 0 0 4px;
}

#add_flagging label {
  float: none;
}

#add_flagging form div.controls {
  margin: 5px 0 0;
}

#add_flagging_link {
  outline: 0;
  font-weight: bold;
}

#flagging_error_messages ul {
  list-style: none inside none;
  margin: 5px 0;
  color: #9b3a3c;
}

#flagging_error_messages li {
  margin: 0;
  padding: 0;
  background-image: none;
}


/* user id search box -------------------------------------------------------------------------- */

#user_search {
  position: absolute;
  left: 50%;
  z-index: 101;
  width: 500px;
  margin-left: -250px;
  border: 10px solid #7f8992;
  background-color: #fff;
}

#user_search h1 {
  font-size: 0.8em;
  font-weight: bold;
  margin: 0 0 0.5em 0;
  padding: 0;
}

#user_search form {
  border-top: 1px solid #fff;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  border-left: 1px solid #fff;
  padding: 12px 20px 20px;
  background-color: #f6f6f6;
  text-align: left;
}

#user_search input.text {
  width: 300px;
}

#user_search .notice {
  width: auto;
}

#user_search .notice h2 {
  margin-top: 3px;
  font-size: 0.8em;
}

#user_search .results {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

#user_search .results table {
  margin: 0;
}

#user_search .results th {
  border-right: 0;
}


/* character counters -------------------------------------------------------------------------- */
#submitform p.info.low_character_limit, p.info.low_character_limit {
  font-weight: bold;
  color: #d12f19;
}

p.info {
  font-weight: normal;
  font-size: 95%;
  color: #666666;
}

#login_prompt {
  padding: 2px 10px;
}

.list_controls div.feed {display:block; width:100%; overflow:hidden;}
.bottom div.feed {display:block; width:auto; overflow:visible; float:left;}
