/* bigger label */
label {
  font-size: 20px !important; /*will not use important tags on PR, will correct source */
}

.label {
  text-align: left!important;
  display:inline-block!important;
  clear: left!important;
  white-space:normal!important;
}

.checkbox-small label {
  font-size: 17px !important; /* important needed for now, will rmv later */
}
/* increase field flow sizing */

legend.h5 {
  margin-top: 0px !important; /*will not use important tags on PR, will correct source */
  font-size: 22px !important; /*will not use important tags on PR, will correct source */
  margin-bottom: 15px !important; /*will not use important tags on PR, will correct source */
}

.btn {
  font-size: 20px !important; /*will not use important tags on PR, will correct source */
  font-variant-ligatures: no-common-ligatures;
}

.pagedetails .btn  {
  font-size: 16px !important; /*will not use important tags on PR, will correct source */
  font-variant-ligatures: no-common-ligatures;
}

input[type="reset"], input[type="button"], input[type="submit"]

{
  height: 50px!important;
}

/* better focus on buttons */

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 5pt 4pt rgb(59, 153, 252);
  outline: 2px solid white;
}
/* custom checkboxes */

.can-ca-form input {
  position: absolute;
  opacity: 0;
}


.can-ca-form .is-disabled {
  opacity: 0.5;
}

.can-ca-form .is-disabled label {
  cursor: not-allowed;
}

.can-ca-form {
    clear: both;
    padding-top: 6px;
}

.can-ca-form .checkbox,
.can-ca-form .radio,
.can-ca-form .form-checkbox,
.can-ca-form .form-radio {

  position: relative;
  cursor: pointer;
  font-weight: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

.can-ca-form .checkbox,
.can-ca-form .radio {

  padding-left: 30px;
  margin-bottom: 32px;

}

.can-ca-form .checkbox-small {
  padding-left: 16px;
  margin-bottom: 25px;
}

.can-ca-form .form-checkbox,
.can-ca-form .form-radio {

  margin-right: 30px;
  margin-bottom: 25px;
  min-width: 26%; /* prevents weird overlapping */

}


.can-ca-form .form-checkbox label,
.can-ca-form .form-radio label {
  padding-left: 50px;

}

.can-ca-form .checkbox label::before,
.can-ca-form .radio label::before,
.can-ca-form .form-checkbox label::before,
.can-ca-form .form-radio label::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 2px solid #333;
  margin-top: -4px;

 }

 .can-ca-form .checkbox-small label::before {
   content: "";
   box-sizing: border-box;
   position: absolute;
   display: inline-block;
   top: 0;
   left: 0;
   width: 24px;
   height: 24px;
   border: 2px solid #333;
   margin-top: 0;

  }


.can-ca-form .radio label::before,
.can-ca-form .form-radio label::before {
  content: "";
  border-radius: 50%;
}


.can-ca-form .checkbox label::after,
.can-ca-form .form-checkbox label::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 12px;
  top: 0px;
  width: 13px;
  height: 22px;
  border: solid #333;
  border-width: 0 5px 5px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);

}

.can-ca-form .checkbox-small label::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 8px;
  top: 2px;
  width: 8px;
  height: 14px;
  border: solid #333;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);

}

.can-ca-form .radio label::after,
.can-ca-form .form-radio label::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 4px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #333;
}

/* hide the check */
.can-ca-form .form-checkbox input[type="checkbox"] + label::after,
.can-ca-form .form-radio input[type="radio"] + label::after,
.can-ca-form .checkbox input[type="checkbox"] + label::after,
.can-ca-form .radio input[type="radio"] + label::after {
    content: none;
}

/* unhide check when checked */
.can-ca-form .form-checkbox input[type="checkbox"]:checked + label::after,
.can-ca-form .form-radio input[type="radio"]:checked + label::after,
.can-ca-form .checkbox input[type="checkbox"]:checked + label::after,
.can-ca-form .radio input[type="radio"]:checked + label::after {
    content: "";
}

/* add focus */
.can-ca-form .checkbox input[type="checkbox"]:focus + label::before,
.can-ca-form .form-checkbox input[type="checkbox"]:focus + label::before,
.can-ca-form .form-radio input[type="radio"]:focus + label::before,
.can-ca-form .radio input[type="radio"]:focus + label::before  {
    box-shadow: 0 0 3pt 2pt rgb(59, 153, 252);
}


/* for green checks */

.can-ca-form .checkbox-green label::after {
  content: "";
  border: solid white;
  border-width: 0 5px 5px 0;
}

/* for green checks */
.can-ca-form .checkbox-green input[type="checkbox"]:checked + label:before {
  background-color: #318000;
}

 @media only screen and (max-width: 1200px) {

.can-ca-form .form-checkbox,
.can-ca-form .form-radio {
    min-width: 50%;
  }

}
