/*SETUP DEFAULTS*/
body {
  font-size: 12px;
  color: #000;
}

/* UNIVERSAL */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 12px;
  font-family: serif;
}


/* TYPOGRAPHY */

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 1.3;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}
/*SIGNATURE BOX*/
.signature_div{
  background-color: #dff0d8;
      border-color: #d6e9c6;
  border-bottom: 2px solid;
  display: inline-block;
  vertical-align: bottom;
  color: #5cb85c;
  font-weight:bold;
}
#signature_modal{
  width: 100%;
  top: 10%;
  left: 0;
  background: #eee;
  position: fixed;
  box-sizing: border-box;
  z-index: 1000;
  display: none;
}
#signature_reset{
  float: left;
  padding: 15px 25px;
  border: 1px solid #fff;
  margin: 0 0 10px 10px;
  background: #E01E1E;
  color: #fff;
  border-radius: 8px;
}
#signature_accept{
  float: right;
  padding: 15px 25px;
  border: 1px solid #fff;
  margin: 0 10px 10px 0;
  background: #27de6b;
  color: #fff;
  border-radius: 8px;
}
#signature_close{
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 8px;
  background: #ac0000;
  color: #fff;
}
#signature_reset:hover,#signature_accept:hover,#signature_close:hover{
  cursor: pointer;
}
.signature_import{
  max-height: 30px;
  margin: -10px 0 0;
}
/*SAVE FORM*/
.save_canvas{
  position: fixed;
  left: 0;
  top: 0;
  border: 0;
  background: rgb(184, 94, 62);
  border-radius: 0 0 10px 0;
  padding: 10px;
  text-align: center;
  color: #fff;
}
.save_canvas:hover{
  cursor: pointer;
}
.submit_button_review{
  position: fixed;
  right: 0;
  top: 0;
  border: 0;
  background: rgb(62, 184, 92);
  border-radius: 0 0 0 10px;
  padding: 10px;
  text-align: center;
  color: #fff;
}
/* ==== GRID SYSTEM ==== */

.container {
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}
.nowrap {
    white-space: nowrap;
}

.row [class^="col"] {
  float: left;
  margin: 0.19rem 0.5%;
  min-height: 0.125rem;
}
.table {
    display: table;
}
.t-row {
    display: table-row;
}
.t-cell {
    display: table-cell;
}
.t-100 {
    width: 100%;
}


.row::after {
	content: "";
	display: table;
	clear: both;
}

.mb-5 {
  margin-bottom: 75px;
}


/* Columns */
  .col-1 {
    width: calc(100% / 12 - 1%);
  }

  .col-2 {
    width: calc(100% / 12 * 2 - 1%);
  }

  .col-3 {
    width: calc(100% / 12 * 3 - 1%);
  }

  .col-4 {
    width: calc(100% / 12 * 4 - 1%);
  }

  .col-5 {
    width: calc(100% / 12 * 5 - 1%);
  }

  .col-6 {
    width: calc(100% / 12 * 6 - 1%);
  }

  .col-7 {
    width: calc(100% / 12 * 7 - 1%);
  }

  .col-8 {
    width: calc(100% / 12 * 8 - 1%);
  }

  .col-9 {
    width: calc(100% / 12 * 9 - 1%);
  }

  .col-10 {
    width: calc(100% / 12 * 10 - 1%);
  }

  .col-11 {
    width: calc(100% / 12 * 11 - 1%);
  }

  .col-12 {
    width: 99%;
  }



/*HELPERS*/

input[type="checkbox"], input[type="radio"] {
    margin-left: 5px;
}
.page{
  height: 1175px;
}
.clear_floats{
  clear: both;
}
.clearfix:before, .clearfix:after {content: " ";display: table; }
.clearfix:after {clear: both; }
.strong {
    font-weight: bold;
}
.underline {
    text-decoration: underline;
}
.float_right{
  float: right;
}
.larger_text {
  font-size: 130%;
}
.form_default {
  width: 900px;
  margin: 0 auto 80px;
  overflow: hidden;
}
.thick-line{
    border-width: 2px;
    border-color: black;
}
.form_heading {
  font-size: 130%;
  ;
  font-weight: bold;
  width: 100%;
  text-align: center;
  margin: 10px 0;
}
.form_title {
    font-size: 2.2em;
    font-weight: bold;
}
.form_group {
  width: 100%;
  padding: 1.25px 0;
  overflow: hidden;
}
.section_title {
    font-size: 1.4em;
    font-weight: 900;
    text-decoration: underline;
    margin-bottom: 7px;
}
.section_title:before {
    content: url("../images/pencil-sm.png");
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    position: relative;
    top: 0.2em;
    background-size: 80%;
    background-repeat: no-repeat;
    margin-right: 0.2em;
}
.border_group {
  border: 1px solid #000;
}
.form_text_input, textarea {
  border-width: 0 0 1px 0;
  border-color: #000;
  margin-left: 5px;
  width: calc(100% - 5px)
}
textarea {
    resize: none;
    width: 97%;
    border: 1px solid black;
    vertical-align: top;
    height: 46px;
    overflow: none;
}
.form_text_box_label {
  vertical-align: top;
}
.form_patient_name{
  font-size: 150%;
  margin: 10px 0;
  clear: both;
  float: left;
}
.form_patient_name label{
  float: left;
}
.form_patient_name input{
  float: left;
  width: 80%;
  margin: 0 0 0 10px;
}
.submit_button {
  float: right;
}
/*PRINT BUTTON*/
#print_form {
  background-color: #666666;
  border-radius: 10px 10px 0 0;
  color: #ffffff;
  font-size: 80%;
  width: 100%;
  padding: 5px;
  position: fixed;
  text-align: center;
  bottom: 0;
  box-sizing: border-box;
  z-index: 100;
}
#print_form img {
  border: 0;
  display: inline-block;
  vertical-align: middle;
}
#print_form div {
  border-radius: 5px;
  margin: 5px 0px 0px 0px;
  padding: 5px;
  display: inline-block;
  vertical-align: middle;
}
#print_form:hover {
  background-color: #999999;
  cursor: pointer;
}
/*LOGIN SCREEN*/
#login_box {
  box-shadow: 0 20px 10px -15px #000000;
  background-color: #ffffff;
  border-radius: 10px;
  border: 2px solid #d00000;
  color: #333333;
  margin: -120px 0 0 -222px;
  overflow: hidden;
  padding: 10px;
  position: fixed;
  width: 420px;
  z-index: 999999;
  top: 50%;
  left: 50%;
}
#login_box form {
  overflow: hidden;
}
#login_box form label {
  clear: left;
  float: left;
  font-weight: bold;
  margin: 0px 5px 0px 0px;
  text-align: right;
  width: 100px;
}
#login_box form input {
  border: 2px solid #4fa9ed;
  float: left;
  font-family: "Courier New", Courier, monospace;
  width: 192px;
}
#login_box form input[type=submit] {
  -khtml-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-color: #4fa9ed;
  color: #ffffff;
  float: right;
  margin: 10px 0px 0px 0px;
  padding: 5px 10px 5px 10px;
  width: 100px;
}
#login_box form input[type=submit]:hover {
  background-color: #3c81bd;
}
#wrong_creds {
  background-color: #d00000;
  color: #ffffff;
  display: none;
  margin: 0px 0px 5px 0px;
  padding: 5px;
}
/*CONFIRMATION EMAIL*/
#confirmation_body{
  text-align: center;
}
#confirmation_title{
  font-size: 200%;
  font-weight: bold;
  margin: 3% 0 0 0;
}
#confirmation_text{
  font-size: 130%;
}
#confirmation_email{
  width: 400px;
}
/*PRINT*/
@media print {
    .pb {page-break-after: always;}
  @page {
    size: letter portrait;
    margin: 0.5cm;
  }
  .no_print {
    display: none;
  }
  .form_default {
    margin: 0 auto;
  }
}
/*intial visit peds*/
.section_title2 {
    font-size: 1.8em;
    font-weight: 900;
    text-decoration: underline;
    margin-bottom: 7px;
}
.form_heading2 {
  font-size: 190%;
  font-weight: bold;
  width: 100%;
  text-align: center;
  margin: 10px auto;
  float: none;
}
.label_title{
  font-size: 170%;
  margin: 6px 0;
}
.nowrap2 {
    white-space: nowrap;
    margin-left: 35px;
}
