/**
 * @package		Joomla & QuickForm
* @Copyright ((c) plasma-web.ru
        */

.qf3form.simple {
  padding: 20px 0;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.qf3form.simple input,
.qf3form.simple label,
.qf3form.simple select{
  margin: 0;
}

.qf3form.simple .qf3 {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0 0 1.4em 0;
}

.qf3form.simple .qf3label {
  display: block;
  margin: 0.3em 0;
  padding: 0;
  line-height: 1.2em;
}

.qf3form.simple .qf3txt input,
.qf3form.simple select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 2.4em;
  background: #fff;
  padding: 2px 0 2px 7px;
}

.qf3labelreq{
  padding-left: 0.3em;
}

/*modal form*/
.qfoverlay {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: #000000;
  opacity: 0.8;
  z-index: 9990;
}

.qfmodalform {
  padding: 0;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 50%;
  width: 62%;
  margin-left: -31%;
  z-index: 9999;
}

.qfmodalform div.qf3form {
  padding: 4em;
  width: 100%;
}

.qfclose {
  position: absolute;
  top: 0;
  right: 0;
  height: 18px;
  width: 18px;
  cursor: pointer;
  color: #000000;
  font-size: 18px;
}


/*ajax form*/
.qfsubmitformres {
  position: relative;
  border: 1px solid #ccc;
  padding: 20px;
  margin: 10px;
}

.qfsubmitformresclose {
  position: absolute;
  color: #ff0000;
  right: 0;
  top: 0;
  cursor: pointer;
  padding: 5px;
  font-size: 18px;
}

/* radio */
.qf3form.simple .vertically .radioblok label {
  display: block;
  white-space: nowrap;
  margin-top: -0.5em;
  margin-left: 1.6em;
  line-height: 0;
  height: 1em;
  margin-bottom: 0.3em;
}

.qf3form.simple .horizontally .radioblok label {
  display: inline-block;
  white-space: nowrap;
  margin: 0 1em 0 0.5em;
}
.qf3form.simple .vertically .radioblok input {
  display: block;
}
.qf3form.simple .horizontally .radioblok input {
  vertical-align: middle;
}

/* textarea */
.qf3form.simple textarea {
  height: 120px;
  width: 100%;
  box-sizing: border-box;
}

/* checkbox */
.qf3form.simple .qfcheckbox .qf3label,
.qf3form.simple .qfbackemail .qf3label {
  display: inline-flex;
  margin: 0 0.5em 0 0;
}
.qf3form.simple .qfcheckbox .qf3label.qfbefore,
.qf3form.simple .qfbackemail .qf3label.qfbefore{
  display: inline;
}

.qf3form.simple .qfcheckbox input,
.qf3form.simple .qfbackemail input {
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}

.qf3form.simple .qfcheckbox .qfempty,
.qf3form.simple .qfbackemail .qfempty {
  margin: 0;
}

.qf3form.simple .chbxlabel {
  display: inline-flex;
  line-height: 1.2em;
}

/* hidden */
.qf3form.simple .qfhidden {
  display: none;
}

/* file */
.qf3form.simple .qffile input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #fdf3f3;
  border: 0;
  padding: 0.3em;
}

/* recaptcha */
.qf3form.simple .qf_recaptcha {
  transform-origin: left top;
  -webkit-transform-origin: left top;
}

/* link */
.qf3form.simple .qfcapt {
  text-align: right;
}
.qf3form.simple .qfcapt a {
  color: #CCC;
  font-size: 10px;
  padding: 1em 2em;
}
.nfl {
  display: none;
}

/* qfcalculatorsum */
.qf3form.simple .qfcalculatorsum{
  font-size: 1.5em;
}
.qf3form.simple .qfcalculatorsum .qf3label {
  display: inline-block;
  margin-right: 0.3em;
}

.qf3form.simple .qfpriceinner {
  margin-right: 0.3em;
}

.qf3form.simple .qfunitinner {
  margin-right: 2px;
}

/* cloner vertically */
.qf3form.simple .qfcloner.vertically>.qfclonerrow {
  position: relative;
  border: 1px solid #CCC;
  padding: 2em 0;
  margin: 5px;
}

.qf3form.simple .vertically>.qfclonerrow>.qfadd,
.qf3form.simple .vertically>.qfclonerrow>.qfrem,
.qf3form.simple .vertically>.qfclonerrow>.qfclonesum {
  position: absolute;
  top: 5px;
  width: 2em;
  height: 2em;
  padding: 0;
  text-align: center;
}

.qf3form.simple .vertically>.qfclonerrow>.qfadd {
  right: 3em;
}

.qf3form.simple .vertically>.qfclonerrow>.qfrem {
  right: 1em;
}

.qf3form.simple .vertically>.qfclonerrow>.qfclonesum {
  right: 6em;
  width: auto;
  text-align: right;
}

.qf3form.simple .vertically>.qfclonerrow>.qfadd a {
  color: #00F;
  font-size: 2em;
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.qf3form.simple .vertically>.qfclonerrow>.qfrem a {
  color: #F00;
  font-size: 1.8em;
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

/* cloner horizontally */
.qf3form.simple .qfcloner.horizontally table{
  width: 98%;
  margin: 5px 1%;
  border: 1px solid #ccc;
}
.qf3form.simple .qfcloner.horizontally table td,
.qf3form.simple .qfcloner.horizontally table th{
  vertical-align: top;
  padding: 3px;
}
.qf3form.simple td.qfadd,
.qf3form.simple td.qfrem {
  width: 1em;
  text-align: center;
}

.qf3form.simple td.qfadd a {
  color: #00F;
  font-size: 2em;
  display: block;
  text-decoration: none;
  width: 1em;
  height: 1em;
}

.qf3form.simple td.qfrem a {
  color: #F00;
  font-size: 1.8em;
  display: block;
  text-decoration: none;
  width: 1em;
  height: 1em;
}

/*qftabs*/
.qf3form.simple .qftabs {
  margin: 10px;
}

.qf3form.simple .qftabsitemlabel {
  cursor: pointer;
  border: 1px solid #c3c1c3;
  padding: 5px;
}

.qf3form.simple .qftabsitem {
  border: 1px solid #c3c1c3;
  padding: 10px;
}

.qf3form.simple .qftabs.vertically {
  display: flex;
}

.qf3form.simple .vertically .qftabactiv {
  border-right: 0;
  background: #fff;
  position: relative;
  margin-right: -1px;
}

.qf3form.simple .vertically .qftabslabelsbox {
  width: 38%;
}

.qf3form.simple .vertically .qftabsitem {
  width: 62%;
}

.qf3form.simple .horizontally .qftabslabelsbox {
  display: flex;
}

.qf3form.simple .horizontally .qftabactiv {
  border-bottom: 0;
  background: #fff;
  position: relative;
  margin-top: -4px;
  top: 1px;
}


/* qf_number */
.qf3form.simple .qfstepper_inner{
  display: inline-block;
  max-width: 120px;
  width: 100%;
  position: relative;
}
.qf3form.simple .qfstepper input[type="number"]{
  width: 100%;
  height: 2.4em;
  padding: .375rem .75rem;
  border: 1px solid #c4c4c4;
  box-sizing: border-box;
  -moz-appearance: textfield;
}
.qf3form.simple .qfstepper input[type="number"]:focus{
  outline: 0;
}
.qf3form.simple .qfstepper button{
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 0;
  outline: none;
  border: 1px solid #c4c4c4;
  background: #fff;
  height: 50%;
  font-size: 1.1em;
  line-height: 0;
  transition: all ease 0.25s;
}
.qf3form.simple .qfstepper button:hover {
  background-color: #f3f3f3;
}
.qf3form.simple .qfstepper input::-webkit-inner-spin-button,
.qf3form.simple .qfstepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.qf3form.simple .qfstepper.vertically input{
  padding-right: 3.25rem;
}
.qf3form.simple .qfstepper.vertically .stepper__controls{
  position: absolute;
  right: 0;
  top: 0;
  bottom: -1px;
  display: flex;
  flex-direction: column;
  width: 2.5rem;
  z-index: 1;
}
.qf3form.simple .qfstepper.vertically .qfup {
  margin-bottom: -1px;
}
.qf3form.simple .qfstepper.horizontally input{
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  text-align: center;
}
.qf3form.simple .qfstepper.horizontally button {
  position: absolute;
  height: 100%;
  top: 0;
  bottom: -1px;
  width: 2.5rem;
  z-index: 1;
}
.qf3form.simple .qfstepper.horizontally .qfup {
  right: 0;
  margin-left: -1px;
}
.qf3form.simple .qfstepper.horizontally .qfdown {
  left: 0;
  margin-right: -1px;
}


/* qf_range */
.qf3form.simple .qfslider_inner{
  max-width: 300px;
  width: 100%;
  position: relative;
  margin: 2em 0;
  box-sizing: border-box;
  padding: 0 20px;
  font-size: 75%;
}
.qf3form.simple .qfslider .slider_min{
  position: absolute;
  left: 0;
  /* top: -0.6em; */
}
.qf3form.simple .qfslider .slider_max{
  position: absolute;
  right: 0;
  /* top: -0.6em; */
}
.qf3form.simple .qfslider .slider_chosen{
  position: absolute;
  top: -1.6em;
  width: 26px;
  text-align: center;
  margin-left: 13.5px;
}

.qf3form.simple .qfslider input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  height: 1px;
  padding: 0;
  box-shadow: none;
  display: inline;
  box-sizing: border-box;
  margin-left: -5px;
}
.qf3form.simple .qfslider input[type=range]:focus {
  outline: none;
}
.qf3form.simple .qfslider input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #807a7a;
  border: 0;
}
.qf3form.simple .qfslider input[type=range]::-webkit-slider-thumb {
  border: 1px solid #918e8e;;
  height: 26px;
  width: 26px;
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -12.5px;
}
.qf3form.simple .qfslider input[type=range]::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #807a7a;
  border: 0;
}
.qf3form.simple .qfslider input[type=range]::-moz-range-thumb {
  border: 1px solid #918e8e;;
  height: 26px;
  width: 26px;
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
}
.qf3form.simple .qfslider input[type=range]::-moz-focus-outer {
    border: 0;
}
.qf3form.simple .qfslider input[type=range]::-ms-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
.qf3form.simple .qfslider input[type=range]::-ms-fill-lower,
.qf3form.simple .qfslider input[type=range]::-ms-fill-upper {
  background: #807a7a;
  border: 0;
}
.qf3form.simple .qfslider input[type=range]::-ms-thumb {
  border: 1px solid #918e8e;;
  height: 26px;
  width: 26px;
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
  height: 1px;
}


/* qf_checkbox */
.qf3form.simple .qf_checkbox{
  margin-bottom: 1em;
}
.qf3form.simple .qf_checkbox .qf3label {
  display: inline-flex;
  margin: 1.8em 1em 0 0;
  vertical-align: middle;
}
.qf3form.simple .qf_checkbox .qfempty {
  margin: 0;
}
.qf3form.simple .qf_checkbox input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.qf3form.simple .qf_checkbox .chbxlabel {
  position: relative;
  padding: 0.5em 0 0 5em;
  cursor: pointer;
}
.qf3form.simple .qf_checkbox .chbxlabel:before {
  content: '';
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 3.7em;
  height: 1.8em;
  border: 0;
  border-radius: 1em;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
  transition: .2s;
}
.qf3form.simple .qf_checkbox .chbxlabel:after {
  content: '';
  position: absolute;
  top: 0.3em;
  left: 0.1em;
  width: 1.6em;
  height: 1.5em;
  border: 0;
  border-radius: 1em;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  transition: .2s;
}
.qf3form.simple .qf_checkbox input:checked + .chbxlabel:before {
  background: #dfffd1;
}
.qf3form.simple .qf_checkbox input:checked + .chbxlabel:after {
  left: 2em;
}

/* calendar */
.qf3form.simple .qfcalendar input {
  width: 100%;
}
.qf3form.simple .double_inner,
.qf3form.simple .qf_date_inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.qf3form.simple .double .qf_date {
  width: 48%;
}
.qf3form.simple .qf_calen{
  position: relative;
  z-index: 9999;
}
.qf3form.simple .widgetCalendar {
	position: absolute;
	left: 0;
	height: 0px;
	overflow: hidden;
	width: 100%;
  min-width: 180px;
}
.qf3form.simple .qf_date_a{
  display: block;
  padding: 0 1.2em;
  background: #d3fffa;
  border: 2px solid #cfcfcf;
  background-image: url(../datepicker/images/calendar.png);
  background-size: 100% 100%;
}
.qf3form.simple div.datepicker {
	height: 200px;
}

.qf3form.simple .datepickerContainer,
.qf3form.simple .datepickerContainer table {
  width: 100%;
  height: 100%;
}
