/* Start custom button CSS here http://stopdesign.com/archive/2009/02/04/recreating-the-button.html */

.btn {
  display: inline-block;
  background: none;
  margin: 0;
  padding: 0px;
  border-width: 0;
  overflow: visible;
  font-size: 13px !important;
  line-height: 20px !important;
  text-decoration: none !important;
  color: #FFF;  /* 333 */
}
* html button.btn {
  padding-bottom: 1px;
}
/* Immediately below is a temporary hack to serve the 
   following margin values only to Gecko browsers
   Gecko browsers add an extra 3px of left/right 
   padding to button elements which can't be overriden.
   Thus, we use -3px of left/right margin to overcome this. */
html:not([lang*=""]) button.btn {
  margin:0 -3px;
}
.btn span {
  background:#ddd url('http://www.kulturarvsforum.se/neo/graphics/neo/btn-bg.gif') repeat-x 0 0 !important;
  margin:0 !important;
  padding:2px 0 !important;
  border-left: 1px solid #333 !important;
  border-right: 1px solid #222 !important;
  border-top: none !important;
  border-bottom: none !important;
  display: inline !important;
}
.btn.blue span {
  background-image: url('http://www.kulturarvsforum.se/neo/graphics/neo/btn-bg-blue.gif') !important;
}
.btn.white span {
  background-image: url('http://www.kulturarvsforum.se/neo/graphics/neo/btn-bg-white.gif') !important;
  border-left-color: #BBB !important;
  border-right-color: #AAA !important;
}
* html .btn span {
  padding-top:0 !important;
}
.btn span span {
  position:relative !important;
  padding:2px .4em !important;
  border-width:0 !important;
  border-top:1px solid #333 !important;
  border-bottom:1px solid #222 !important;
  border-left: none !important:
  border-right: none !important;
  display: inline  !important;
}
.btn.white span span {
  border-top-color: #BBB !important;
  border-bottom-color: #AAA !important;
}

/* pill classes only needed if using pill style buttons ( LEFT | CENTER | RIGHT ) */
button.pill-l span {
  border-right-width:0;
  }
button.pill-l span span {
  border-right:1px solid #333;
  }
button.pill-c span {
  border-right-style:none;
  border-left-color:#fff;
  }
button.pill-c span span {
  border-right:1px solid #333;
  }
button.pill-r span {
  border-left-color:#fff;
  }

/* only needed if implementing separate hover/focus/active state for buttons */
.btn:hover span,
.btn:hover span span,
.btn:focus span,
.btn:focus span span {
  cursor: pointer !important; /* important for any clickable/pressable element */
  text-decoration: none !important;
  /* border-color: #0597F5 !important; */
  /* color: #0597F5 !important; */
}
.btn:active span {
  background-position: 0 -400px !important;
  outline: none !important;
}
.btn:focus, .btn:active {
  outline: none !important; /* doesn't seem to be respected for <button>, only <a> */
}

/* use if one button should be the 'primary' button */
.primary {
  color: #000 !important;
}
.primary span {
  background-position: 0 -400px !important;
}

a.btn:hover,
a.btn:active,
a.btn:focus {
  color: #999;
}
a.btn:link,
a.btn:visited {
  color: #FFF;
}
a.btn.white:link,
a.btn.white:visited {
  color: #333;
}
a.btn.red:link,
a.btn.red:visited {
  color: #A6352F;
}
