﻿
.responsiveForm > div {
  position: relative;
  padding: 5px;
}

  .responsiveForm > div label[for]:first-child {
    color: #777;
    box-sizing: border-box;
    display: block;
    /*font-size: 10px;*/
    font-size: 11px;
    font-weight: normal;
    line-height: 1;
    /*pointer-events: none;*/
    opacity: 1;
    padding: 5px;
    position: absolute;
    top: 5px;
    left: 8px;
    text-align: left;
    transition: all .2s ease-out;
    white-space: nowrap;
    width: 100%;
    z-index: 5;
    pointer-events: none
  }

.responsiveForm .checkboxOrRadio {
  display: block;
  height: 30px;
  margin-left: 10px;
}

  .responsiveForm .checkboxOrRadio label {
    margin-right: 15px
  }

.responsiveForm input[type=checkbox], .responsiveForm input[type=radio] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 6px 0 0;
}

/*.responsiveForm .checkboxOrRadio {
  display:block;
  height:30px;
  margin-top:20px
}
*/
.responsiveForm > div.fieldNotEmpty label[for]:first-child {
  /*color: #007acc;*/
  color: #1870b8;
  /*  font-size: 11px;
  top: 16px;
  opacity: 1;
*/
}
  .responsiveForm > div.fieldNotEmpty input, 
  .responsiveForm > div.fieldNotEmpty textarea, 
  .responsiveForm > div.fieldNotEmpty select{
    /*padding: 20px 5px 4px 5px;*/
  }
  
  
  .responsiveForm input[type=text], .responsiveForm input[type=password] {
    padding: 19px 14px 10px 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    box-sizing: border-box;
    line-height:1 !important;
    width: 100%;
  }

    .responsiveForm input[type=text]:hover, .responsiveForm input[type=password]:hover {
      border: 1px solid #3366cc;
    }

.responsiveForm textarea {
  padding: 14px;
  border: 1px solid silver;
  border-radius: 2px;
  background-color: #f7f7f7;
  width: 100%;
  box-sizing: border-box;
  line-height: 1 !important;
}

/*.responsiveForm input[type=checkbox], .responsiveForm input[type=radio] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  vertical-align:middle
}
*/

/*new radio*/
.responsiveForm .radioAsText input[type=radio] {
  -webkit-appearance: none; /* For Webkit browsers */
  -moz-appearance: none; /* For Mozilla browsers */
  appearance: none;
  /* Optionally, make it transparent to preserve accessibility and keyboard navigation */
  opacity: 0;
  position: absolute; /* Take it out of flow to prevent occupying space */
  pointer-events: none; /* Prevent interaction with the hidden input */
}

.responsiveForm .radioAsText label {
  /* Apply styles to make the label look like a textbox */
  display: inline-block; /* Allows width/height and padding */
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer; /* Indicate it's clickable */
  margin-right: 0px; /* Add spacing between options */
  /*added by Joe*/
  width: 94%;
  margin-bottom: 5px;
  font-size: 22px;
  color: #000;
}

.responsiveForm .radioAsTextB label {
  /* Apply styles to make the label look like a textbox */
  display: inline-block; /* Allows width/height and padding */
  padding: 14px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer; /* Indicate it's clickable */
  margin-right: 0px; /* Add spacing between options */
  /*added by Joe*/
  width: 94%;
  font-size: 14px;
  color: #000;
}

  .responsiveForm .radioAsText label:hover {
    border: 1px solid #3366cc;
  }

.responsiveForm .radioAsText input[type="radio"]:checked + label {
  /* Change appearance when the radio button is checked */
  background-color: #d22530;
  border-color: #3366cc;
  color: #fff;
}

/*new radio small*/
/*This for toggle radio buttons like Yes/No style*/
.responsiveForm .radioAsTextSml input[type=radio] {
  -webkit-appearance: none; /* For Webkit browsers */
  -moz-appearance: none; /* For Mozilla browsers */
  appearance: none;
  /* Optionally, make it transparent to preserve accessibility and keyboard navigation */
  opacity: 0;
  position: absolute; /* Take it out of flow to prevent occupying space */
  pointer-events: none; /* Prevent interaction with the hidden input */
}

.responsiveForm .radioAsTextSml label {
  /* Apply styles to make the label look like a textbox */
  display: inline-block; /* Allows width/height and padding */
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer; /* Indicate it's clickable */
  margin-right: 0px; /* Add spacing between options */
  /*added by Joe*/
  margin: 5px;
  font-size: 14px;
  color: #000;
}

  .responsiveForm .radioAsTextSml label:hover {
    border: 1px solid #3366cc;
  }

.responsiveForm .radioAsTextSml input[type="radio"]:checked + label {
  /* Change appearance when the radio button is checked */
  background-color: #d22530;
  border-color: #3366cc;
  color: #fff;
}


/*currency textbox*/
.responsiveForm .currencyText input[type=text] {
  padding: 10px 14px 10px 22px;
  border-radius: 4px;
  box-sizing: border-box;
  line-height: 1 !important;
  width: 100%;
  background-color: #d22530;
  border-color: #d22530;
  color: #fff;
  font-size: 22px;
}

.responsiveForm > div.currencyText label[for]:first-child {
  color: #fff;
  box-sizing: border-box;
  display: block;
  /*font-size: 10px;*/
  font-size: 22px;
  font-weight: normal;
  line-height: 1;
  /*pointer-events: none;*/
  opacity: 1;
  padding: 5px;
  position: absolute;
  top: 14px;
  left: 8px;
  text-align: left;
  transition: all .2s ease-out;
  white-space: nowrap;
  width: 100%;
  z-index: 5;
  pointer-events: none
}

.responsiveForm .currencyText input[type=text]:focus {
  /*added by Joe*/
  border: 1px solid #d22530;
}

.responsiveForm .currencyText input::placeholder {
  /*added by Joe*/
  color: #e49095;
  font-size: 22px;
  font-weight: 500;
  border-left: 2px solid #e22530;
  padding-left: 2px;
  opacity: 1;
}

.responsiveForm .currencyText a {
  color: #fff;
  box-sizing: border-box;
  display: block;
  /*font-size: 10px;*/
  line-height: 1;
  cursor: pointer; /* Indicate it's clickable */
  opacity: 1;
  padding: 14px;
  position: absolute;
  top: 8px;
  right: 4px;
  text-align: left;
  /*  transition: all .2s ease-out;*/
  white-space: nowrap;
  width: 100%;
  z-index: 5;
  box-sizing: border-box;
  line-height: 1 !important;
  width: 40px;
}


.responsiveForm select {
  padding: 13px;
  border-radius: 2px;
  background: #f7f7f7;
  border: 1px solid silver;
  outline: none;
  resize: none;
  cursor: pointer;
  width: 100%;
  line-height: 1 !important;
  height:50px;
}


  .responsiveForm select:focus {
    -webkit-box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
    -moz-box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
    box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
  }

  .responsiveForm input.invalid,
  .responsiveForm select.invalid,
  .responsiveForm textarea.invalid {
    border: 2px solid red;
  }

.responsiveForm > div.fieldInvalid label[for]:first-child {
  color: red;
}

/*.responsiveForm > div label[for].invalid:first-child {
  color: red;
}
*/
.unstyled {
  padding: 5px !important;
  border-radius: unset !important;
  border: none !important;
  background-color: unset !important;
  width: unset !important;
}
  .unstyled:focus {
    box-shadow: none !important;
  }

.responsiveForm input[type=text]:focus, .responsiveForm input[type=password]:focus, .responsiveForm textarea:focus {
  -webkit-box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
  -moz-box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
  box-shadow: 0px 0px 7px 2px rgba(82,177,255,.5);
  outline: none;
  /*added by Joe*/
  border: 2px solid #1870b8;


}
.responsiveForm .validator {
  position: absolute;
  font-size: 10px;
  bottom: -11px;
  left: 5px
}

.validatorSummary {
  font-weight: bold;
  color: #ff0000;
  text-align: left;
  padding: 10px;
  margin-bottom: 20px;
  background-color: #fff;
}

.resp_validator {
  font-size: 11px;
  color: red;
  position: absolute;
}
