/**
 *  SignaturePad: A jQuery plugin for assisting in the creation of an HTML5 canvas
 *  based signature pad. Records the drawn signature in JSON for later regeneration.
 *
 *  @project ca.thomasjbradley.applications.signaturepad
 *  @author Thomas J Bradley <hey@thomasjbradley.ca>
 *  @link http://thomasjbradley.ca/lab/signature-pad
 *  @link http://github.com/thomasjbradley/signature-pad
 *  @copyright Copyright MMXI, Thomas J Bradley
 *  @license New BSD License
 */

@font-face {
  font-family: 'Journal';
  src: url('../assets/journal.eot');
  src: local('Journal Regular'), local('Journal'), url('../assets/journal.woff') format('woff'), url('../assets/journal.ttf') format('truetype'), url('../assets/journal.svg#Journal') format('svg');
  font-weight: normal;
  font-style: normal;
}

.sigPad {
  margin: 0;
  padding: 0;
}

.sigPad label {
  display: block;
  margin: 0 0 0.515em;
  padding: 0;

  color: #000;
  font: italic normal 1em/1.375 Georgia,Times,serif;
}

.sigPad label.error {
  color: #f33;
}

.sigPad input.error {
  border-color: #f33;
}

.sigPad button {
  margin: 1em 0 0 0;
  padding: 0.6em 0.6em 0.7em;

  background-color: #f0e2eb;
  border: 0;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;

  cursor: pointer;

  color: #ea088c;
  font: bold 1em/1.375 "Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: left;
}

.sigPad button:hover {
  background-color: #ea088c;
  color: #fff;
}

.sig {
  display: none;
}

ul.sigNav {
  display: none;
  height: 2.25em;
  margin: 15px 0 0;
  padding: 0;
  position: relative;

  list-style-type: none;
}

.sigPad ul.sigNav li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
  background:none;
  line-height:auto;
  font-size: 1em;
}

.sigNav a {
  display: block;
  margin: 0;
  padding: 0 0.6em;

  border: 0;

  line-height: 2.25em;
  text-decoration: underline;
}

.sigNav a.current {
  background-color: #666;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border-radius: 8px 8px 0 0;

  color: #fff;
  text-decoration: none;
}

.sigNav .typeIt a.current,
.sigNav a.current {
  background-color: #eee;
  text-decoration: none;
  color: #555;
}

.sigPad .sigNav .clearButton {
  float:right;
  font-size: 0.75em;
  padding-top:4px;
}

ul.sigNav.sigHideTabs{
  height:auto;
  margin-top:0;
}

.sigPad .sigHideTabs li.typeIt, .sigPad .sigHideTabs li.drawIt{
  display:none;
}

.sigPad .sigHideTabs li.clearButton{
	padding:0;
}

.sigNav.sigHideTabs a {
	line-height:inherit;
}

.sigWrapper {
	clear: both;
	border: 1px solid #eee;
	box-sizing:content-box;
}

/*.sigWrapper.current {
  border-color: #b0879f;
  }
*/
.signed .sigWrapper {
  border: 0;
}

.pad {
	position: relative;
}

.current .pad {
  cursor: url("../images/pen.png"), crosshair;
  cursor: url("../images/pen.png") 8 8, crosshair;
}

.typed {
  position: absolute;
  z-index: 90;
  cursor: default;	
  color: #145394;
  font: normal 3em/50px "Journal",Georgia,Times,serif;
  padding: 0;
}
.typed, .typed input[type="text"], .with_frm_style .typed input[type="text"], #content .with_frm_style .typed input[type="text"]{
margin: 0;
font: normal 2em "Journal",Georgia,Times,serif;
text-indent: 9px;
height: auto;
}
.typed input[type="text"],
.typed input[type="text"]:focus,
.with_frm_style .typed input[type="text"],
.with_frm_style .typed input[type="text"]:focus{
    border:none !important;
    padding: 0 !important;
    -moz-box-shadow:0 0 0;
    -webkit-box-shadow:0 0 0;
    box-shadow:0 0 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=0, Color='')";
    filter:progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=0, Color='');
}
.typed input[type="text"]:focus{
background:inherit;
}

.typeItDesc,
.drawItDesc {
  display: none;
  margin: 0.75em 0 0.515em;
  padding: 0.515em 0 0;
  color: #000;
  font: italic normal 1em/1.375 Georgia,Times,serif;
}

p.error {
  display: block;
  margin: 0.5em 0;
  padding: 0.4em;

  background-color: #f33;

  color: #fff;
  font-weight: bold;
}
