
html {
  /* font-size: 62.5%; */
  font-size: 55%;
}
body {
   margin: 0;
   font-family: 'Open Sans', Arial, sans-serif;
   font-size: 1em;
   color: #656364;
   background-color:#eff1f3;
   width:100%;
   margin:0;
   padding:0;
}

input[readonly], textarea[readonly] {
  color: #ccd;
}
select, textarea, input {
  font-family: inherit;
  font-size: 14px;
  color: #444546;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding-left: 3px;
  margin: 0 0 2px 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
}
fieldset {
   border:1px solid #cccccc;
   border-radius:4px;
   font-size:10px;
   background-color:white
}
input[type="radio"] {
   vertical-align:middle;
   margin:3px 3px 6px 0;
}
legend {
   font-size:12px;
}
select {
  -moz-appearance: none;
  text-indent: 0.01px;  /* to avoid the arrow: has an awful look */
  text-overflow: '';
}
textarea:focus, input:focus, select:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  /* outline: thin dotted \9; */
  /* IE6-9 */
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
}
a, label, h1 {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
a {
  cursor: pointer;
  outline: 0 none;
  text-decoration: none;
}
div.btns {
  text-align: center;
  margin-top: 10px;
  height: 32px;
}
.btn {
  display: inline-block;
  background-image: none;
  border:1px solid #b6b6b6;
  font-weight: 600;
  font-size: 15px;
  /* margin: 0 0 5px 0; */
  padding: 2px 10px 4px 10px;
  text-decoration: none;
  background-color:#3399ff;
  border-radius: 4px 4px 4px 4px;
  border-color: transparent;
  color: #FFFFFF;
  overflow:hidden;
  /* max-height:20px; */
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn.left {
  float:left;
}
.btn.right {
  float:right;
}
.btn:hover, .btn:focus {
  background-color:#2884e0;
}
.btn:active {
  background-color:#092d51;
}
.btn.red {
  background-color:#ff4633;
}
.btn.red:hover {
  background-color:#e94332;
}
.btn.red:active {
  background-color:#9f2317;
}

hr {
  margin: 5px 0;
  border: 0;
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #ffffff;
}

h1 {
   display: block;
   margin: 0;
   padding-bottom: 10px;
   text-align: center;
   font-weight: 700;
   font-size:22px;
   line-height: 24px;
   margin-bottom: 5px;
   color:#525358;
}
div.checkbox[data-checked] + div > input.datepicker {
   color: #444546;
}
section {
   width: 90%;
   margin: auto;
   max-width: 450px;
   display: none;
}
section[data-shown] {
   display: block;
}
/*--------------------------------*/
section > form {
   margin-bottom: 2px;
   background-color: #F7F7F7;
   /* border:1px solid #ccc; */
   padding: 10px 5px 5px 5px;
   border-radius:3px;
   -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
   -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
   box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
   display: none;
}
section > form[data-shown] {
   display: block;
}
section > form h1 {
   border-bottom: 1px solid #dde;
}
section > form ul {
   margin:0;
   padding:0;
   width:100%;
   position:relative;
   list-style-type: none;
}
section > form ul li {
   overflow-y: auto;
   display: flex;
   margin:0;
   padding:0;
}
section > form ul li label,
section > form ul li > div.checkbox {
   width: 40%;
   margin:3px 0 0 0;
   padding:0;
   height: 18px;
   border: 1px solid transparent;
   font-size: 13px;
   font-weight:300;
   color: #445;
   text-overflow: ellipsis;
   white-space: nowrap;
   overflow: hidden;
}
section > form ul li label.aschecked {
   margin-left: 20px;
   width: calc(40% - 30px);
}
section > form ul li label.reqd:after {
   content: "*";
   color:#CC3333;
}
section > form ul li > div {
   display:inline-block;
   width: 100%;
   margin:0 0 4px 4px;
}
section > form ul li > div select {
   display: none;
   height:25px;
   padding-left: 0;
}
section > form ul li > div select[data-checked] {
   display: inline-block;
}
section > form ul li > div input {
   height:25px;
   width:100%;
}
section > form ul li > div input[name="bizfull"] {
   width: calc(100% - 26px);
}
section > form ul li > div input[name="state"] {
   width: 40%;
}
section > form ul li > div input[name="zip"] {
   margin-left: 2px;
   width: calc(60% - 2px);
}
section > form ul li > div.checkbox:before {
   content: "";
   padding: 0 8px 0 8px;
   margin-right: 3px;
   background-repeat: no-repeat;
   background-image: url(images/check_off.png);
   background-position: top center;
}
section > form ul li > div.checkbox[data-checked]:before {
   background-image: url(images/check_on.png);
}
section > form ul li input[data-valid="true"],
section > form ul li select[data-valid="true"],
section > form ul li textarea[data-valid="true"] {
   border:1px solid #92c140;
}
section > form ul li input[data-valid="false"],
section > form ul li select[data-valid="false"],
section > form ul li textarea[data-valid="false"] {
   border:1px solid #cb4d4d;
}
section > form ul li input ~ span,
section > form ul li select ~ span,
section > form ul li textarea ~ span {
   display: none;
}
section > form ul li input[data-valid="false"]:focus ~ span,
section > form ul li select[data-valid="false"]:focus ~ span,
section > form ul li textarea[data-valid="false"]:focus ~ span {
   position: absolute;
   background-image: url("images/callout_dwn.png"), url("images/callout_bkg2.png");
   background-position: 18px bottom, left top;
   background-repeat: no-repeat, repeat-x;
   border-radius: 4px;
   color: #FFEE33;
   display: block;
   font-size: 12px;
   margin-left: -20px;
   margin-top: -20px;
   margin-right: 5%;
   padding: 0px 5px 15px 5px;
   text-align: left;
   -webkit-background-size: auto auto, auto calc(100% - 15px);
   background-size: auto auto, auto calc(100% - 15px);
   -webkit-transform: translateY(-100%);
   transform: translateY(-100%);
}
section > form ul li input[data-valid="false"]:focus ~ span[data-below],
section > form ul li select[data-valid="false"]:focus ~ span[data-below],
section > form ul li textarea[data-valid="false"]:focus ~ span[data-below] {
   position: absolute;
   display: block;
   margin-top: 20px;
   margin-left: -20px;
   margin-right: 5%;
   padding: 15px 5px 2px 5px;
   font-size: 12px;
   color: #FFEE33;
   background-image: url("images/callout_up.png"), url("images/callout_bkg2.png");
   background-position: 18px top, left 15px;
   background-repeat: no-repeat, repeat-x;
   border-radius: 4px;
}
section > form ul li div.photo {
   border:1px solid #ccc;
   border-radius:3px;
   width: 40%;
   height: 120px;
   background-position: 50% 50%;
   background-size: auto 105%;
   background-repeat: no-repeat;
   background-image: url(images/unknown.jpg);
   cursor: pointer;
   min-width: 0;
   margin-left: 0;
}
section > form ul li textarea {
   width: 100%;
}
section > form ul li textarea.fineprint {
   font-size:10px;
   line-height:11px;
   height: 34px;
}

section#howitworks, section#aboutus {
   max-width:none;
   margin-top: 20px;
   padding: 10px;
   background-color: white;
}

section#map {
   max-width:none;
   margin-top: 0;
   height: 100vmin;
   width: 100%;
   padding: 0;
}

section#howitworks {
   text-align: center;
}

section#signin, section#contact, section#resetPasswd {
   margin-top: 20px;
}

#howitworks p, #aboutus p, #doneForm p {
   text-align: justify;
   font-size:14px;
   line-height:17px;
   margin:0 5px 5px 5px
}
#howitworks p {
   margin-left:0;
}
#howitworks img {
   width: 100%;
   max-width: 150px;
}
#contact p {
   font-size: 12px;
}

#signin > form ,
#resetPasswd > form {
  width: 70%;
  max-width: 300px;
  margin: auto;
  padding: 20px 25px 30px;
  text-align: center;
}
#signin img,
#resetPasswd img {
  width:96px;
  margin:0 auto 10px;
}
#signin h2,
#resetPasswd h2 {
  font-size: 16px;
  margin: 12px 0 0;
}
#signin h3,
#resetPasswd h3 {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin: 4px 0 12px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#signin input,
#resetPasswd input {
  width: 100%;
  min-height: 30px;
}
#signin input[type="submit"],
#resetPasswd input[type="submit"] {
  margin-top: 15px;
  margin-left: 4px;
}
#signin a#forgotPasswd {
  display:block;
  text-align:left;
  font-size:13px;
  color:#3399ff;
  margin-top: 8px;
  margin-left: 4px;
}
#resetPasswd > form > div {
   margin-top:2rem;
   font-size:0.8rem;
   text-align:justify;
}

header, footer {
   display: table;
   width: 100%;
   font-size: 14px;
}
header {
   height: 24px;
   display: block;
   position: relative;
   top: 0;
   color: #444;
   background-color: white;
}
footer {
   position: absolute; /* fixed; */
   bottom: 0;
   color: white;
}
header > a {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 25%;
  min-width: 100px;
  max-width: 148px;
}
header > a > img {
   width: 100%;
}

header > ul, footer > ul {
   text-align:right;
   text-align:-webkit-right;
   list-style: none;
   margin: 0;
   padding: 0;
}
footer > ul {
   margin: 0;
   padding-top: 2px;
   background-color: #3399ff;
}
header > ul {
   margin-top: -24px;
}
header > ul > li,
footer > ul > li {
   display:inline-block;
   width: 18%;
   max-width: 90px;
   margin: 0;
   padding: 0;
   white-space:nowrap;
   text-overflow:ellipsis;
   text-align: center;
   overflow: hidden;
   cursor: pointer;
}
footer label {
   color:#444;
   display:inline-block;
   margin-left: 5px;
   font-size:0.8em;
}

.progress {
  position: absolute;
  width: 1px;
  height: 1px;
  left: 50%;
  top: 50%;
  z-index: 5;
  visibility: hidden;
}

progress {
  background: url(images/progress.png) no-repeat center center / 100% auto;
  -webkit-animation: 0.9s rotate infinite steps(30);
  animation: 0.9s rotate infinite steps(30);
  width: 32px;
  height: 32px;
  border: none;
  position: relative;
  top: -16px;
  left: -16px;
}

progress::-moz-progress-bar {
  background: none;
}
progress::-webkit-progress-bar {
  background: none;
}

@-webkit-keyframes rotate {
  from { -webkit-transform: rotate(1deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes rotate {
  from { transform: rotate(1deg); }
  to { transform: rotate(360deg); }
}

#map .tooltip.leaflet-tooltip {
  color: #333;
  margin:5px 8px;
  padding:0;
  font-weight: bold;
  text-align: center;
}

img#passwdinfo,
img#passwdinfo2 {
  position: relative;
  top: -27px;
  width: 20px;
  float: right;
  margin-right: 5px;
  border-radius: 10px;
}
img#passwdinfo:hover,
img#passwdinfo2:hover {
   background-color: #cccccc;
   cursor: pointer;
}
div#hsimp {
   display: none;
}
input#hsimp_passwd {
  margin: 10px;
  width: 220px;
  height: 28px;
  font-family: monospace;
  color: #7C0B17;
}
input#hsimp_gen {
  text-align: center;
}
div.hsimp {
  text-align: center;
  font-size: 1.4em;
}
div.hsimp > div {
  text-align: left;
}
div.hsimp > div.i18n {
  float: right;
  font-style: italic;
  font-size: 0.6em;
}
div.hsimp > div > ul > li > h2 {
  font-size: 0.9em;
  margin-bottom: 0;
}
div.hsimp > div >ul > li > p {
  margin-top: 0;
  font-size: 0.8em;
}
#branch {
  float: right;
}
