/*  $Id: style.css,v 1.4 2007/04/07 19:42:04 dfurber Exp $  */
/*  Copyright (C)2006 Gorges Web Sites. All Rights Reserved.  */

/*  standard tags  */


form {
  padding: 0;
  margin: 0;
}
table {
  padding: 0;
  border: 0;
}
td {
  vertical-align: top;
}
img {
  border: 0;
}

textarea {
	width:100%;
	height:60px;
}

ul, li {
	margin:0;
	padding:0;
	list-style:none;
}

.float_left { float:left; }
.float_right {float:right;}

/*  buttons  */

button {
  color: #FFFFFF;
  font-size: 11pt;
  font-weight: bold;
  padding: 1px 11px 1px 11px;
  margin: 0 0 0 0em;
  background-color: #3E8407;
}

button.current_button, button.send_button {
	background:#dddddd;
	padding:0px;
	font-weight:normal;
	font-size:9pt;
	color:#000;
	}

button.active {
  color: #FFFFFF;
  background-color: #3E8407;
  cursor: pointer;
}

button.active:hover, button.button_hover {
  color: #FFF;
  background-color: #5EAA24;
  cursor: pointer;
}

button.small {
  font-size: 9pt;
  font-weight: normal;
  padding: 0 9px 0 9px;
  border-width: 1px;
}

button.default {
  border-color: #333333;
}

#content.admin button.disabled, button.disabled:link, button.disabled:hover, .disabled {
  color: #BBBBBB;
  background-color: #AF003D;
  cursor: default;
}

*html button {
  overflow: visible;
}

/***  icons  ***/

.icon {
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: top left;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
.icon:link, .icon:visited {
  padding: 0;
}
.icon:hover {
  background-position: top center;
  background-color: transparent;
  text-decoration: underline;
}
.icon-disabled {
  background-position:top right;
}
.icon-disabled:hover {
  background-position: top right;
  background-color: transparent;
  text-decoration: none;
}

/***  tables  ***/

th, #prefs_table td {
	font-weight:normal;
	text-align:left;
	vertical-align:middle;
	font-size:13px;
	padding-bottom:5px;
	}

th {
	background:url(../images/tables/header.png) left top repeat-x;
	border-left:1px solid #ccc;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ccc;
	height:auto;
	width:auto;
	padding:8px 5px 5px 5px;
	font-size:12px;
	font-weight:bold;
}

form th {
	width:130px;
	background-image:none;
	font-weight:normal;
	border:none;
	padding:0px;
}

form table.tablesorter th {
  width:auto;
}

td {
	padding-bottom:5px;
	}

tr.current_meal td {
	background:yellow;
	}


#left_table {
	float:left;
	width:350px;
	margin-left:10px;
	}

#right_table {
	float:left;
	width:450px;
	margin-left:40px;
	}

#prefs_table {
	float:left;
	width:400px;
	padding-left:100px;
}

#prefs_table th, #prefs_table td {
	vertical-align:top;
	padding-bottom:10px;
	}

.account_new #prefs_table {
	float:left;
	margin-left:50px;
	}

#prefs_table #glass {
	width:50px;
}

#prefs_table th {
	width:160px;
}

#prefs_table td {
	width:240px;
}

.table-admin {
  padding: 0;
  margin: 0;
}

.table-admin th a {
  color: #000;
  text-decoration: none;
}
.table-admin th a:hover, .table-admin th a:active {
  color: #FFEC7B;
  text-decoration: underline;
}
.table-admin td {
  font-size: 9pt;
  padding: 0 3px 0 3px;
  /*white-space:nowrap;*/
  vertical-align:middle;
}
.table-divider {
  border-top: 1px solid #DDDDDD;
}
.table-border th {
  border-bottom: 1px solid #CCCCCC;
}
.table-border td {
  border-bottom: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
}
.table-noborder, .table-noborder th, .table-noborder td {
  border-right: 0;
}
.table-nopadding th, .table-nopadding td {
  padding: 0;
}
.table-navigation * {
  font-size: 9pt;
}
.table-navigation td {
  padding-top: 0;
  padding-right: 2px;
  padding-bottom: 0;
  padding-left: 2px;
}
.table-toggle {
  background-color: #F0F0F0;
}
.table-section, caption {
  font-size: 12pt;
  font-weight: bold;
  padding: 0 0 1em 0;
  color: #5EAA24;
  text-align:left;
}

td.table-section {
  padding-top: 9px;
}
.table-section a {
  font-size: 9pt;
  font-weight: normal;
  position: relative;
  color: #000;
  text-decoration: none;
  margin-left: 1em;
}
.table-section a:hover, .table-section a:active {
  color: #7BFF7B;
  text-decoration: underline;
}

table.sortable_table {
	border:1px solid #ccc;
	width:100%;
}

div.module table.sortable_table {
}

table.sortable_table th {
	border-left:1px solid #ccc;
	border-right:0px solid #ddd;
	border-bottom:1px solid #ccc;
	height:auto;
	width:auto;
	padding:8px 5px 5px 30px;
	font-size:12px;
	cursor:pointer;
}

table.sortable_table th.header {
	background:#6E6E6E url(../images/tables/header-bg.png) no-repeat left top;
}

table.sortable_table th.headerSortDown {
	background:url(../images/tables/header-desc.png) no-repeat left top;
}

table.sortable_table th.headerSortUp {
	background:url(../images/tables/header-asc.png) no-repeat left top;
}

table.sortable_table tr.even {
	background:#fff;
}

table.sortable_table tr.odd {
	background:#eee;
}

table.sortable_table td {
	padding:4px 8px 4px 8px;
	}

#summary td {
	text-align:center;
}

#summary_total td {
	font-weight:bold;
}

#summary_table th {
	font-weight:bold;
	text-align:center;
	padding-left:0px;
	background:#efefef;
}

div.order_comments {
	margin-left:20px;
	margin-right:20px;
}

div.order_comments h2 {
	margin-top:1em;
	margin-bottom:.25em;
}

div.order_comments h3 {
	margin-top:.2em;
	margin-bottom:.2em;
}

#detailed_orders {
	padding:5px 20px 20px 20px;
}

#detailed_orders h2 {
	margin-top:15px;
	margin-bottom:5px;
}

#detailed_orders p {
	margin-bottom:0px;
}

#detailed_orders p.start {
	margin-top:10px;
	margin-bottom:0px;
}
/***  controls  ***/

.checkbox {
	white-space: nowrap;
	padding-right: 2em;
}
.checkbox input {
	padding: 0;
	margin: 0;
}
.select-disabled {
  background-color: #CCCCCC;
}

/** inputs **/
input, select, textarea {
	border:1px solid #999;
	padding:4px;
	}

select {
	padding:1px 0px 1px 4px;
	}


/***  events  ***/

.event-container {
  margin-top: 1em;
  margin-bottom: 1em;
}
.event-name {
  margin-left: 2em;
  margin-right: 2em;
}

/***  sortable lists  ***/

.listsort ul {
  list-style-type: none;
}
.listsort li {
  list-style: none;
  border: 1px solid gray;
  cursor: move;
  position: relative;
  border: 1px solid #3A3A3A;
  margin: 3px 60px 1px 0;
  padding: 1px 8px 0 8px;
  text-align: left;
  color: #000000;
  background-color: #BEE4FF;
}

/*  bigger & smaller  */

.small {
  font-size: .83em;
}
.smallest {
  font-size: .7em;
}
.large {
  font-size: 1.2em;
}
.largest {
  font-size: 1.4em;
}

div#warning {
	position:absolute;
	top:30%;
	margin-top:-100px;
	min-height:100px;
	left:50%;
	margin-left:-152px;
	width:260px;
	background-color:white;
	color:maroon;
	padding:20px;
	border:2px solid maroon;
	z-index:200;
	vertical-align:middle;
	}

*html div#warning {
	height:100px;
	}

img.indicator {
	display:block;
	margin:40px auto;
	}

#module_h1 {
	float:left;
	width:200px;
	}

#module_list {
	float:right;
	list-style-type:none;
	margin-right:34px;
	margin-top:20px;
	width:500px;
	}

#module_list li {
	float:right;
	list-style-type:none;
	margin-left:10px;
	cursor:pointer;
	color:blue;
	font-weight:bold;
	font-size:10pt;
	}

div.module {
	float:left;
	margin-bottom:10px;
	border:1px solid #ccc;
	}

div.width_full {
	width:878px;
	}

div.width_half {
	width:428px;
	margin-right:20px;
	}

div.handle {
	float:left;
	width:100%;
	height:30px;
	padding-top:3px;
	background:#eee url(../images/tables/header.png) left top repeat-x;
	/*border-bottom:1px solid #ddd;*/
	}

div.handle h2 {
	float:left;
	font-size:12pt;
	margin:0;padding:0;
	margin-left:20px;
	padding-left:20px;
	cursor:pointer;
	}

div.open div.handle h2 {
	background:url("../images/icons/down.gif") no-repeat center left;
	}

div.closed div.handle h2 {
	background:url("../images/icons/right.gif") no-repeat center left;
	}

div.close {
	float:right;
	width:15px;
	height:15px;
	margin-left:10px;
	margin-top:3px;
	background:url(../images/icons/delete.gif) left top no-repeat;
	cursor:pointer;
	}

div.close:hover {
	background-position:top center;
	}

div.expand {
	float:right;
	width:15px;
	height:16px;
	margin-top:3px;
	cursor:pointer;
}

div.width_half div.expand {
	background:url(../images/icons/last.gif) left top no-repeat;
}

div.width_full div.expand {
	background:url(../images/icons/first.gif) left top no-repeat;
}

div.contents {
	padding:15px;
	}

div.closed div.contents {
	display:none;
	}

div.optn div.contents {
	display:block;
	}

fieldset.search {
	border:none;
	}

td.day_cell, td.name {
	cursor:pointer;
	white-space:nowrap;
	padding-right:0px;
	}

#delivery_day_popup {
	position:absolute;
	width:130px;
	z-index:100;
	background:white;
	border:1px solid #666;
	padding:12px;
}

#comments_popup {
	position:absolute;
	width:700px;
	z-index:100;
	background:white;
	border:1px solid #666;
	padding:12px;
}

#edit_popup {
	position:absolute;
	width:852px;
	z-index:100;
	background:white;
	border:1px solid #666;
	padding:12px;
}

#edit_popup div {
	width:150px;
	float:left;
}

#edit_popup #price {
	width:70px;
}

#edit_popup textarea {
	width:70%;
}

#orders div.contents,
#summary div.contents {
	padding:0px;
}

/* dashboard actions links */
#actions dt a {
  font-size: 12pt;
  font-weight: bold;
  padding: 0 0 1em 0;
  color: #5EAA24;
  text-align:left;
}


/***  mask bar at top of page   */

.mask {
  width: 100%;
  text-align: center;
  background-color: #FFAAAA;
  padding:5px 0px;
  margin-top:10px;
}

/* tables */
table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
/*	background-image: url(/images/bg.gif);
*/	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.even td {
	background-color:#F0F0F6;
}
table.tablesorter tr.disabled td, 
table.tablesorter tr.disabled td a {
	color:#999;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(/images/icons/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/images/icons/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

table.tablesorter tbody td.dates {
	width:100px;
}

table.tablesorter tbody td.actions {
	width:150px;
}

/* PAGINATION LINKS */

.pagination{
padding: 2px;
}

.pagination ul{
margin: 0;
padding: 0;
text-align: left; /*Set to "right" to right align pagination interface*/
font-size: 16px;
}

.pagination li{
list-style-type: none;
display: inline;
padding-bottom: 1px;
}

.pagination a, .pagination a:visited{
padding: 0 5px;
border: 1px solid #456945;
text-decoration: none; 
color: #456945;
}

.pagination a:hover, .pagination a:active{
border: 1px solid #456945;
color: #000;
background-color: #FFFF80;
}

.pagination a.currentpage{
background-color: #456945;
color: #FFF !important;
border-color: #456945;
font-weight: bold;
cursor: default;
}

.pagination a.disablelink, .pagination a.disablelink:hover{
background-color: white;
cursor: default;
color: #929292;
border-color: #929292;
font-weight: normal !important;
}

.pagination a.prevnext{
font-weight: bold;
}

div.foods_wrapper ul.sortable {
  width:300px;
  border:2px dashed #ccc;
  background:#eee;
  list-style:none;
  padding:15px;
}

div.foods_wrapper {
  margin-right:20px;
  height:600px;
  width:350px;
  float:left;
  overflow-y:auto;
}

li.sortableitem {
  list-style:none;
  background:#fff;
  padding:8px;
  cursor:move;
  width:282px;
  border:1px dotted #eee;
	font-size:12px;
}

li.sortableitem a {
	float:right;
}

p.error {
  color:red;
  text-decoration:blink;
}

div.tab {
    margin-top:30px;
    border-top:1px dotted #ccc;
}


