/* --------------------------------------------------------------

   buttons.css
   * Gives you some great CSS-only buttons.

   Created by Kevin Hale [particletree.com]
   * particletree.com/features/rediscovering-the-button-element

   See Readme.txt in this folder for instructions.

-------------------------------------------------------------- */

a.button, button {
  display:block;
  float:left;
  margin:0.223em 0.583em 0.667em 0;
  padding:4px 10px 4px 7px;   /* Links */

  border: 1px solid #BBBBBB;
  background-color: #EBEBEB;

  background-image:-webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(250,250,250)),
    color-stop(1, rgb(225,225,225))
  );
  background-image:-moz-linear-gradient(
    center top,
    rgb(250,250,250) 0%,
    rgb(225,225,225) 100%
  );

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;

  text-shadow: 1px 1px 0px #fff;
  filter: dropshadow(color=#777777, offx=-1, offy=-1);
  color: #013746;

  font-family: Helvetica, Arial, sans-serif;
  font-size:110%;
  line-height:130%;
  text-decoration:none;
  font-weight:bold;

  cursor:pointer;
}
button {
  width:auto;
  overflow:visible;
  padding:4px 10px 3px 7px;   /* IE6 */
}
button[type] {
  padding:4px 10px 4px 7px;   /* Firefox */
  line-height:17px;           /* Safari */
}
*:first-child+html button[type] {
  padding:4px 10px 3px 7px;   /* IE7 */
}
button img, a.button img{
  margin:0 3px -3px 0 !important;
  padding:0 9px 0 0;
  background:url(/images/button_vr.png) right 1px no-repeat;
  border:none;
  width:16px;
  height:16px;
  float:none;
}


/* Button colors
-------------------------------------------------------------- */

/* Standard */
button:hover, a.button:hover{
  background-color:#FAFAFA;
  background-image:-webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(255,255,255)),
    color-stop(1, rgb(235,235,235))
  );
  background-image:-moz-linear-gradient(
    center top,
    rgb(255,255,255) 0%,
    rgb(235,235,235) 100%
  );	
  border:1px solid #BBBBBB;
  color: #006699;
}
a.button:active{
  position:relative;
  top:1px;
}

/* Positive */
body .positive {
  color:#529214;
}
a.positive:hover, button.positive:hover {
  background-color:#E6EFC2;
  border:1px solid #C6D880;
  color:#529214;
}
a.positive:active {
  background-color:#529214;
  border:1px solid #529214;
  color:#fff;
}

/* Negative */
body .negative {
  color:#d12f19;
}
a.negative:hover, button.negative:hover {
  background:#fbe3e4;
  border:1px solid #fbc2c4;
  color:#d12f19;
}
a.negative:active {
  background-color:#d12f19;
  border:1px solid #d12f19;
  color:#fff;
}


#back-button {
	-webkit-border-image: url(/images/icons/button-iphone.png) 0 14 0 14 stretch stretch;
	border-left: 4px;
	border-right: 4px;
	margin: 10px 0px;
	color: black;
	text-shadow: white 0px 1px 1px;
	font-size: 1.0em;
	text-decoration: none;
	padding: 5px 3px;
}

#inbox {
	font-size: 1.2em;
	padding: 5px;
	margin: 5px;
	border: 1px solid #777;
}
