/*
 * Gridism
 * A simple, responsive, and handy CSS grid by @cobyism
 * https://github.com/cobyism/gridism
 */

/* Preserve some sanity */
.grid,
.unit {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Set up some rules to govern the grid */
.grid, .sigPad {
  display: block;
  clear: both;
}
.grid .unit, .sigPad .unit  {
  float: left;
  width: 100%;
  padding: 2px;
}

.spacebottom {
  padding-bottom: 5px;
  padding-top: 5px;
}

.box {
    border-style: solid;
    border-width: 1px;
    border-color: #000;
}

.boxdivideright {
    border-bottom: none;
    border-right: solid;
    border-width: 1px;
    border-color: #000;
}



.cellTop{
    border: solid;
    border-width: 1px;
    border-color: #000;
}

.cellBottom{
    border-bottom: solid;
    border-right: solid;
    border-left: solid;
    border-width: 1px;
    border-color: #000;
}

.underline {
    border-bottom: solid;
    border-width: 1px;
    border-color: #000;
}

.dotted {
    border-style:dotted;
    border-width: 2px;
    border-color: #F00;
}

.grid .greenhighlight {
    font-size: 18px;
    line-height: 21px;
    color: #85C446;
    font-weight: bold;
}

.grid .blackhighlight{
    font-size: 18px;
    line-height: 21px;
    color: #000;
}

.blackhighlight{
    font-size: 18px;
    line-height: 21px;
    color: #000;
}

.padded {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* This ensures the outer gutters are equal to the (doubled) inner gutters. */
.grid .unit:first-child { padding-left: 20px; }
.grid .unit:last-child { padding-right: 20px; }

/* Nested grids already have padding though, so let’s nuke it */
.unit .unit:first-child { padding-left: 0; }
.unit .unit:last-child { padding-right: 0; }
.unit .grid:first-child > .unit { padding-top: 0; }
.unit .grid:last-child > .unit { padding-bottom: 0; }

/* Let people nuke the gutters/padding completely in a couple of ways */
.no-gutters .unit,
.unit.no-gutters {
  padding: 0 !important;
}

/* Wrapping at a maximum width is optional */
.wrap .grid,
.grid.wrap {
  max-width: 978px;
  margin: 0 auto;
}

/* Width classes also have shorthand versions numbered as fractions
 * For example: for a grid unit 1/3 (one third) of the parent width,
 * simply apply class="w-1-3" to the element. */
.grid .whole,          .grid .w-1-1, .sigPad .whole { width: 100%; }
.grid .half,           .grid .w-1-2, .sigPad .half { width: 50%; }
.grid .one-third,      .grid .w-1-3, .sigPad .one-third { width: 33.3332%; }
.grid .two-thirds,     .grid .w-2-3, .sigPad .two-thirds { width: 66.6665%; }
.grid .one-quarter,    .grid .w-1-4, .sigPad .one-quarter { width: 25%; }
.grid .three-quarters, .grid .w-3-4, .sigPad .three-quarters { width: 75%; }
.grid .one-fifth,      .grid .w-1-5, .sigPad .one-fifth { width: 20%; }
.grid .two-fifths,     .grid .w-2-5, .sigPad .two-fifths { width: 40%; }
.grid .three-fifths,   .grid .w-3-5, .sigPad .three-fifths { width: 60%; }
.grid .four-fifths,    .grid .w-4-5, .sigPad .four-fifths { width: 80%; }
.grid .one-sixth,      .grid .w-1-6, .sigPad .one-sixth { width: 16.6%; }
.grid .two-sixths,     .grid .w-2-6, .sigPad .two-sixths { width: 33.2%; }
.grid .three-sixths,   .grid .w-3-6, .sigPad .three-sixths { width: 49.8%; }
.grid .four-sixths,    .grid .w-4-6, .sigPad .four-sixths { width: 66.4%; }
.grid .five-sixths,    .grid .w-5-6, .sigPad .five-sixths { width: 83%; }
.grid .one-eigth,      .grid .w-1-6, .sigPad .one-sixth { width: 12.5%; }
.grid .three-eigths,     .grid .w-2-6, .sigPad .two-sixths { width: 37.5%; }
.grid .five-eigths,   .grid .w-3-6, .sigPad .three-sixths { width: 62.5%; }
.grid .seven-eigths,    .grid .w-4-6, .sigPad .four-sixths { width: 87.5%; }
.grid .golden-small,   .grid .w-g-s, .sigPad .golden-small { width: 38.2716%; } /* Golden section: smaller piece */
.grid .golden-large,   .grid .w-g-l, .sigPad .golden-large { width: 61.7283%; } /* Golden section: larger piece */

/* Clearfix after every .grid */
.grid {
  *zoom: 1;
}
.grid:before, .grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.grid:after {
  clear: both;
}

/* Utility classes */
.align-center { text-align: center; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-justify  { text-align: justify; }
.valign-top   { vertical-align: top; }
.valign-middle  { vertical-align: middle; }
.valign-bottom  { vertical-align: bottom; }
.pull-left    { float: left; }
.pull-right   { float: right; }

/* Responsive Stuff */
@media screen and (max-width: 568px) {
  /* Stack anything that isn’t full-width on smaller screens */
  .grid .unit {
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  .unit .grid .unit {
    padding-left: 0px;
    padding-right: 0px;
  }

  /* Sometimes, you just want to be different on small screens */
  .center-on-mobiles {
    text-align: center !important;
  }
  .left-on-mobiles {
    text-align: left !important;
  }
  .hide-on-mobiles {
    display: none !important;
  }

  .boxdivideright-on-mobiles {
    border-bottom: solid;
    border-right: none;
    border-width: 1px;
    border-color: #000;
  }

  .cellTop-on-mobiles{
        border-bottom: solid;
        border-right: solid;
        border-left: solid;
        border-top: none;
        border-width: 1px;
        border-color: #000;
    }

  .cellBottom-on-mobiles{
    border-bottom: solid;
    border-right: solid;
    border-left: solid;
    border-width: 1px;
    border-color: #000;
}

  .padded-on-mobiles {
    padding-left: 0px;
  }
}

/* Expand the wrap a bit further on larger screens */
@media screen and (min-width: 1180px) {
  .wider .grid {
    max-width: 1180px;
    margin: 0 auto;
  }
}

/*SignaturePad*/
.sigPad {
  margin: 0;
  padding: 0;
}

.sigPad .unit label, .grid .unit 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 .unit input, .grid input {
  margin: 0;
  padding: 0.2em 0;
  width: 198px;

  border: 1px solid #666;

  font-size: 1em;
}

.sigPad input.error {
  border-color: #f33;
}

.sigPad button {
  margin: 1em 0 0 0;
  padding: 0.6em 0.6em 0.7em;

  background-color: #ccc;
  border: 1px solid #F00;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;

  cursor: pointer;

  color: #555;
  font: bold 1em/1.375 sans-serif;
  text-align: left;
}

.sigPad button:hover {
  background-color: #333;

  color: #fff;
}

.sigPad .unit input {
  margin: 1em 0 0 0;
  padding: 0.6em 0.6em 0.7em;

  background-color: #ccc;
  border: 0;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;

  cursor: pointer;

  color: #555;
  font: bold 1em/1.375 sans-serif;
  text-align: center;
}

.sigPad .unit input:hover {
  background-color: #333;

  color: #fff;
}


.sigPad .sig {
  display: none;
}

.sigPad .sigNav {
  display: none;
  height: 2.25em;
  margin: 0;
  padding: 0;
  position: relative;

  list-style-type: none;
}

.sigPad .sigNav li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
}

.sigPad .sigNav a,
.sigPad .sigNav a:link,
.sigPad .sigNav a:visited {
  display: block;
  margin: 0;
  padding: 0 0.6em;

  border: 0;

  color: #333;
  font-weight: bold;
  line-height: 2.25em;
  text-decoration: underline;
}

.sigPad .sigNav a.current,
.sigPad .sigNav a.current:link,
.sigPad .sigNav a.current:visited {
  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;
}

.sigPad .sigNav .typeIt a.current,
.sigPad .sigNav .typeIt a.current:link,
.sigPad .sigNav .typeIt a.current:visited {
  background-color: #ccc;

  color: #555;
}

.sigPad .sigNav .clearButton {
  bottom: 0.2em;
  display: none;
  position: absolute;
  right: 0;

  font-size: 0.75em;
  line-height: 1.375;
}

.sigPad .sigWrapper {
  clear: both;
  border: 1px solid #ccc;
}

.sigPad .sigWrapper.current {
  border-color: #666;
}

.sigPad .signed .sigWrapper {
  border: 0;
}

.sigPad .pad {
  position: relative;

  /**
   * For cross browser compatibility, this should be an absolute URL
   * In IE the cursor is relative to the HTML document
   * In all other browsers the cursor is relative to the CSS file
   *
   * http://www.useragentman.com/blog/2011/12/21/cross-browser-css-cursor-images-in-depth/
   */
  cursor: url("Content/pen.cur"), crosshair;
  /**
   * IE will ignore this line because of the hotspot position
   * Unfortunately we need this twice, because some browsers ignore the hotspot inside the .cur
   */
  cursor: url("pen.cur") 16 16, crosshair;

  -ms-touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.sigPad .typed {
  height: 55px;
  margin: 0;
  padding: 0 5px;
  position: absolute;
  z-index: 90;

  cursor: default;

  color: #145394;
  font: normal 1.875em/50px Georgia,Times,serif;
}

.sigPad .typeItDesc,
.sigPad .drawItDesc {
  display: none;
  margin: 0.75em 0 0.515em;
  padding: 0.515em 0 0;

  border-top: 3px solid #ccc;

  color: #000;
  font: italic normal 1em/1.375 Georgia,Times,serif;
}

.sigPad p.error {
  display: block;
  margin: 0.5em 0;
  padding: 0.4em;

  background-color: #f33;

  color: #fff;
  font-weight: bold;
}