/* ====================================

  Common utility class rules
====================================*/


body#tinymce {background-image: none !important; background: #fff none !important;}

body.no-sidebar #sidebar {display: none;}
body.no-sidebar #contents {width: 100%;}

.gray_box {
  padding: 10px;
  margin: 20px 0;
  background-color: #eee;
}

.red_box {
  padding: 10px;
  margin: 20px 0;
  background-color: red;
  color: #fff;
}

a.doc {
	background: transparent url(http://www.demeterpower.com/images/doc-word.gif) right 50% no-repeat;
	padding-right: 18px;
	display: inline-block;
	vertical-align: top;
}
a.pdf {background-image: url(http://www.demeterpower.com/images/doc-pdf.gif);}
a.excel {background-image: url(http://www.demeterpower.com/images/doc-excel.gif);}
a.pict {background-image: url(http://www.demeterpower.com/images/doc-pict.gif);}

.photo {
  border: 1px solid #ccc;
  padding: 4px;
}
.photo.left {float: left; margin: 0 10px 10px 0;}
.photo.right {float: right; margin: 0 0 10px 10px;}

.caption {
	float: left;
	margin: 1.5em 1.5em 1.5em 0;
	width: 324px;
	font-size: 12px;
	line-height: 1.1;
	color: #555;
	text-align: center;
}
.caption.right {
	float: right;
	margin: 1.5em 0 1.5em 1.5em;
}
.caption img {
	padding: 8px;
	border: 1px solid #ccc;
}
.caption.small {width: 124px;}
.caption.large {width: 660px;}

ul.album {margin-left: 0;}

ul.album li {
  display: inline-block;
  height: 110px;
  width: 110px;
  Xpadding: 2px;
  border: 1px solid #ccc;
  line-height: 120px;
  margin: 0 10px 10px 0;
}

a.album {
  text-decoration: none !important;
  
}

a.album img {
  vertical-align: middle;
  text-align: center;
  display: block;
  height: 100px;
  width: 100px;
  margin: 5px auto;
}

.event .date {
  font-size: 16px;
  font-weight: bold;
}

.column-2 {
  float: left;
  width: 48%;
}
.column-3 {
  float: left;
  width: 32%;
}

.column {
  float: left;
  width: 48%;
}
.right.column {float: right;}

.no-bullets {
  list-style: none;
}

.red {color: red;}
.bold {font-weight: bold}

.yes {background-color: #4AAA42;}
.no {background-color: red;}
.yes, .no, .special, .status {
	font-weight: bold;
	color: #fff;
	padding: 1px 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
  border-radius: 2px;
	text-transform: uppercase;
	font-size: 9px !important;
	font-family: sans-serif !important;
	text-decoration: none !important;
}
.special, .status {background-color: #2149d5;}
a .yes, a .no, a .special, a.status {text-decoration: none !important;}

.clear {clear: both;}

fieldset {
  border: 0;
  padding: 0 10px 0 0;
  margin: 0 0 15px 0;
}
fieldset.actions {
  padding-top: 20px;
  margin-bottom: 0;
  border-top: 1px solid #eee;
}

label, span.label {
  display: block;
  font-size: 16px;
  color: #555;
  margin: 0 0 1px 0;
}

.label input[type=checkbox], .label input[type=radio] {
  vertical-align: top;
  margin-top: 2px;
}

input[type=text], input[type=password], input[type=email], textarea {
  width: 100%;
  border: 1px solid #999;
  padding: 8px 4px;
  margin: 0 0 5px 0;
  font-size: 15px;
  background: #fff url(input-bg.png) left top repeat-x;
}
textarea {height: 120px;}
input.resource-name {
  font-size: 18px;
  font-weight: bold;
}
input.page-name {font-size: 18px;}

#search-input {
  padding: 2px;
  width: 200px;
}

#email-share-widget {
  height: 20px;
  line-height: 19px;
  margin: 0px 32px 0 0;
  display: inline-block;
  vertical-align: top;
  border: 1px solid #bbb;
  background-color: #eee;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #f2f2f2;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;

  background-image: url(mail-medium.png);
  background-position: left 50%;
  background-repeat: no-repeat;

  font-size: 11px;
  font-weight: bold;
  padding: 0px 5px 0 18px;
  color: #111 !important;
  text-decoration: none;
}

#share-bar {
  clear: both;
  padding: 20px 0;
  text-align: right;
}

.errorExplanation {
  background-color: red;
  padding: 10px;
  margin-bottom: 20px;
  color: #fff;
}
.errorExplanation h2 {margin: 0 0 .5em 0}

label.error {
  color: red;
  font-size: 90%;
  font-weight: bold;
}

.payment-errors {color: red; font-weight: bold;}


/* https://github.com/vsa-partners/project-framework/wiki/Grey-gradient-iOS-style-button-with-CSS */

/* also see http://www.red-team-design.com/just-another-awesome-css3-buttons */ 
/*
button, .button {
	display: inline-block;
	white-space: nowrap;
  color: white;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
    
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 5px 10px;
  background: -webkit-gradient(linear, left top, left bottom,
    from(#838383),
    color-stop(.49, #444444),
    color-stop(.49,#303030),
    to(#333333));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#838383', EndColorStr='#333333');
  border: solid 1px rgba(79, 79, 79, 0.75);
}
*/