.gyan-cf7-style span.wpcf7-list-item {
  margin: 0 1em 0 0em;
}

span.wpcf7-not-valid-tip {
  margin-bottom: 20px;
}

.gyan-cf7-highlight-style-bottom_right span.wpcf7-not-valid-tip {
  display: inline-block;
  right: 0;
  top: 100%;
  padding: 0.1em 0.8em;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  float: right;
  margin-bottom: 30px;
}

.gyan-cf7-highlight-style-bottom_right span.gyan-cf7-alert {
  display: block;
  text-align: right;
}

.gyan-cf7-style .wpcf7 div.wpcf7-response-output {
  margin: 0;
}

.gyan-cf7-style select {
  -webkit-appearance: none;
}

.wpcf7 select,
.wpcf7 input[type="text"],
.wpcf7 input[type="input"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
input[type="search"] {
  width: 100%;
}

.gyan-cf7-style .wpcf7 input:not([type=submit]) {
  text-shadow: none;
}

#commentform input {
  position: relative;
  display: block;
}

#commentform input:before {
  content: '\f007';
  font-family: 'Font Awesome 5 free';
  font-weight: 400;
  font-style: normal;
  margin-right: 15px;
  display: inline-block;
  width: 30px;
  height: 30px;
  display: block;
}

.gyan-cf7-icon {
  display: block;
  position: relative;
  clear: both;
}

.gyan-cf7-icon i {
  position: absolute;
  top: 0;
  display: block;
  z-index: 9999;
  line-height: unset;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 12px 22px 12px 23px;
}

.gyan-cf7-icon.icon-left i {
  left: 0;
}

.gyan-cf7-icon.icon-right i {
  right: 0;
}


/* Select Custom */

.gyan-cf7-style .gyan-cf7-select-custom {
  display: block;
  position: relative;
}

.gyan-cf7-style .gyan-cf7-select-custom:after {
  content: "\f078";
  font-family: 'Font Awesome 5 free';
  font-weight: 700;
  position: absolute;
  font-size: 0.7em;
  line-height: 1;
  top: 45%;
  -webkit-transform: translateY(-45%);
  -ms-transform: translateY(-45%);
  transform: translateY(-45%);
  right: 1em;
  z-index: 5;
  pointer-events: none;
}


/*Checkbox Radio*/

.gyan-cf7-style input[type="checkbox"]+span:before,
.gyan-cf7-style input[type="radio"]+span:before {
  height: 12px;
  width: 12px;
}

.gyan-cf7-style .wpcf7-checkbox input[type='checkbox'],
.gyan-cf7-style .wpcf7-acceptance input[type='checkbox'],
.gyan-cf7-style .wpcf7-radio input[type='radio'] {
  display: none;
}

.gyan-cf7-style .wpcf7-checkbox input[type='checkbox']+span:before,
.gyan-cf7-style .wpcf7-radio input[type='radio']+span:before,
.gyan-cf7-style .wpcf7-acceptance input[type='checkbox']+span:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  text-align: center;
}

.gyan-cf7-style .wpcf7-checkbox input[type='checkbox']:checked+span:before,
.gyan-cf7-style .wpcf7-acceptance input[type='checkbox']:checked+span:before {
  content: "\2714";
  line-height: 1.2;
}

.gyan-cf7-style .wpcf7-radio input[type="radio"]+span:before {
  -webkit-border-radius: 100%;
  border-radius: 100%;
}

.gyan-cf7-style-box .wpcf7-checkbox input[type="checkbox"]:checked+span:before,
.gyan-cf7-style-box .wpcf7-checkbox input[type="checkbox"]+span:before,
.gyan-cf7-style-box .wpcf7-acceptance input[type="checkbox"]:checked+span:before,
.gyan-cf7-style-box .wpcf7-acceptance input[type="checkbox"]+span:before,
.gyan-cf7-style-box .wpcf7-radio input[type="radio"]+span:before {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}


/*Multiple Select*/

.gyan-cf7-style select[multiple="multiple"],
.gyan-cf7-style select[multiple="multiple"] option {
  padding: 12px 10px;
}


/*Submit Button*/

.gyan-cf7-style input[type=submit] {
  font-size: 15px;
  padding: 14px 35px;
  font-weight: 700;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.gyan-cf7-style input:not([type="submit"]),
.gyan-cf7-style .wpcf7 textarea,
.gyan-cf7-style select {
  font-size: 15px;
  padding: 14px 22px;
}

.gyan-cf7-style input[type="file"] {
  border: 0;
  padding: 0;
}

.gyan-cf7-button-center input.wpcf7-form-control.wpcf7-submit,
.gyan-cf7-button-left input.wpcf7-form-control.wpcf7-submit,
.gyan-cf7-button-right input.wpcf7-form-control.wpcf7-submit,
.gyan-cf7-button-justify input.wpcf7-form-control.wpcf7-submit {
  display: -webkit-box;
  display: -ms-flexbox;
  -js-display: flex;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  width: auto;
}

.gyan-cf7-button-center input.wpcf7-form-control.wpcf7-submit {
  margin-left: auto;
  margin-right: auto;
}

.gyan-cf7-button-left input.wpcf7-form-control.wpcf7-submit {
  margin-left: 0;
  margin-right: auto;
}

.gyan-cf7-button-right input.wpcf7-form-control.wpcf7-submit {
  margin-left: auto;
  margin-right: 0;
}

.gyan-cf7-button-justify input.wpcf7-form-control.wpcf7-submit {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  justify-content: center;
  width: 100%;
}

.gyan-cf7-loader-active span.ajax-loader.is-active {
  display: inline-block;
}

.gyan-cf7-button-center .gyan-cf7-loader-active {
  text-align: center;
}

.gyan-cf7-button-right .gyan-cf7-loader-active {
  text-align: right;
}

.gyan-cf7-button-justify .gyan-cf7-loader-active {
  text-align: center;
}

@media only screen and (min-width: 769px) {
  .gyan-cf7-col {
    -js-display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  }
  .gyan-cf7-col label,
  .gyan-cf7-col>span {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 0 10px;
  }
}

@media only screen and (max-width: 976px) {
  .gyan-tablet-cf7-button-center input.wpcf7-form-control.wpcf7-submit {
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }
  .gyan-tablet-cf7-button-left input.wpcf7-form-control.wpcf7-submit {
    margin-left: 0;
    margin-right: auto;
    width: auto;
  }
  .gyan-tablet-cf7-button-right input.wpcf7-form-control.wpcf7-submit {
    margin-left: auto;
    margin-right: 0;
    width: auto;
  }
  .gyan-tablet-cf7-button-justify input.wpcf7-form-control.wpcf7-submit {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    justify-content: center;
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .gyan-mobile-cf7-button-center input.wpcf7-form-control.wpcf7-submit {
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }
  .gyan-mobile-cf7-button-left input.wpcf7-form-control.wpcf7-submit {
    margin-left: 0;
    margin-right: auto;
    width: auto;
  }
  .gyan-mobile-cf7-button-right input.wpcf7-form-control.wpcf7-submit {
    margin-left: auto;
    margin-right: 0;
    width: auto;
  }
  .gyan-mobile-cf7-button-justify input.wpcf7-form-control.wpcf7-submit {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    justify-content: center;
    width: 100%;
  }
}