// Based of Pure forms style
// https://github.com/yahoo/pure/blob/master/src/forms/css/forms.css
::-webkit-input-placeholder {
  opacity: 1;
  color: inherit;
}

:-moz-placeholder {
  opacity: 1;
  color: inherit;
}

::-moz-placeholder {
  opacity: 1;
  color: inherit;
}

:-ms-input-placeholder {
  opacity: 1;
  color: inherit;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="url"],
form input[type="date"],
form input[type="month"],
form input[type="time"],
form input[type="datetime"],
form input[type="datetime-local"],
form input[type="week"],
form input[type="number"],
form input[type="search"],
form input[type="tel"],
form input[type="color"],
form select,
form textarea {
  display: inline-block;
  min-height: 30px;
  width: 100%;
  font-size: 1em;
  line-height: 1.8;
  padding: 10px 20px;
  vertical-align: middle;
  background-color: transparent;
  color: inherit;
  border: 1px solid $border-color;
  @include transition(all .3s ease);
}

form select {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

form input[type="number"] {
  max-width: 50px;
  padding: 0 0 0 8px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  border-radius: 0;
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

form textarea {
  min-height: 150px;
  line-height: 1.5;
  resize: vertical;
}

input[type="checkbox"] {
  display: inline-block;
  background-color: #fff;
  border: 1px solid #bbb;
  line-height: 0;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: -3px 10px 0 0;
  outline: 0;
  text-align: center;
  vertical-align: middle;
  clear: none;
  cursor: pointer;
  -webkit-appearance: none;
  @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, .1));
  @include transition(.05s border-color ease-in-out);
}

input[type=radio]:checked:before,
input[type=checkbox]:checked:before {
  float: left;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  line-height: 14px;
  font-family: 'LaStudioIcons';
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input[type=checkbox]:checked:before {
  content: '\ea21';
  margin-bottom: -1px;
  color: #13aff0;
}

/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
form input:not([type]) {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid $border-color;
  @include border-radius(4px);
  @include box-shadow(inset 0 1px 3px #ddd);
}


/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
/* May be able to remove this tweak as color inputs become more standardized across browsers. */
form input[type="color"] {
  padding: 5px 10px;
}


form input[type="text"]:focus,
form input[type="password"]:focus,
form input[type="email"]:focus,
form input[type="url"]:focus,
form input[type="date"]:focus,
form input[type="month"]:focus,
form input[type="time"]:focus,
form input[type="datetime"]:focus,
form input[type="datetime-local"]:focus,
form input[type="week"]:focus,
form input[type="number"]:focus,
form input[type="search"]:focus,
form input[type="tel"]:focus,
form input[type="color"]:focus,
form select:focus,
form textarea:focus {
  border-color: $color-13;
  outline: 0;
}

/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
form input:not([type]):focus {
  border-color: $color-13;
  outline: 0;
}

form input[type="file"]:focus,
form input[type="radio"]:focus,
form input[type="checkbox"]:focus {
  outline: 0;
}

form input[type="checkbox"],
form input[type="radio"] {
  display: inline-block;
}

form input[type="text"][disabled],
form input[type="password"][disabled],
form input[type="email"][disabled],
form input[type="url"][disabled],
form input[type="date"][disabled],
form input[type="month"][disabled],
form input[type="time"][disabled],
form input[type="datetime"][disabled],
form input[type="datetime-local"][disabled],
form input[type="week"][disabled],
form input[type="number"][disabled],
form input[type="search"][disabled],
form input[type="tel"][disabled],
form input[type="color"][disabled],
form select[disabled],
form textarea[disabled] {
  cursor: not-allowed;
  color: #cad2d3;
  background-color: #eaeded;
}

/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
form input:not([type])[disabled] {
  cursor: not-allowed;
  color: #cad2d3;
  background-color: #eaeded;
}

form input[readonly],
form select[readonly],
form textarea[readonly] {
  color: #777; /* menu text color */
  border-color: #ccc;
  background-color: #eee; /* menu hover bg color */
}

form input:focus:invalid,
form textarea:focus:invalid,
form select:focus:invalid {
  color: #b94a48;
  border-color: #e9322d;
}

form input[type="file"]:focus:invalid:focus,
form input[type="radio"]:focus:invalid:focus,
form input[type="checkbox"]:focus:invalid:focus {
  outline-color: #e9322d;
}

select {
  width: 100%;
  height: 50px;
  min-height: auto;
  border: 1px solid $border-color;
  background-color: white;
  cursor: pointer;
  padding: 0 15px;
  margin: 0;
  line-height: normal;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 8 13' width='8' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='rgb%28138, 138, 138%29' fill-rule='nonzero'%3E%3Cpath d='M6.854 9.174l-2.862 2.45-2.862-2.45a.75.75 0 00-.935.007.514.514 0 00-.008.8l3.333 2.852c.26.223.683.223.943 0l3.333-2.852a.518.518 0 00.182-.555c-.06-.2-.243-.355-.476-.407a.744.744 0 00-.648.155zM4.472.21a.637.637 0 00-.944 0L.188 3.787A.752.752 0 00.196 4.79c.257.276.674.28.936.01L4 1.726 6.868 4.8a.637.637 0 00.936-.009.752.752 0 00.008-1.003L4.472.21z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-background-size: 8px 13px;
  background-size: 8px 13px;
  background-position: right -10px center;
  -webkit-background-origin: content-box;
  background-origin: content-box;
  background-repeat: no-repeat;
  max-width: 100%;
  .ltr & {
    padding-right: 25px;
  }
  .rtl & {
    padding-left: 25px;
  }
  form & {
    .ltr & {
      padding-right: 25px;
    }

    .rtl & {
      padding-left: 25px;
    }
  }
}

form select[multiple] {
  height: auto;
}

form label {
  margin-bottom: 3px;
}

form fieldset {
  margin: 0;
  padding: .35em 0 .75em;
  border: 0;
}

form legend {
  display: block;
  width: 100%;
  margin-bottom: .3em;
  padding: .3em 0;
  color: #333;
  border-bottom: 1px solid $border-color;
}

/*csslint outline-none:false*/

input[type="button"],
input[type="reset"],
input[type="submit"],
button[type="submit"],
.button {
  font-size: 14px;
  display: inline-block;
  background-color: $secondary-color;
  color: #fff;
  margin: 0;
  padding: 18px 30px;;
  cursor: pointer;
  text-align: center;
  line-height: 1;
  border: none;
  border-radius: 0;
  text-transform: none;
  font-weight: 600;
  @include transition(all .3s ease);
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.button:hover {
  background-color: $primary-color;
  border-color: $primary-color;
  color: #fff;
}

input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button[type="submit"]:focus,
button:focus,
.button:focus {
  outline: 0;
}


/* Firefox: Get rid of the inner focus border */
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
  padding: 0;
  border: 0;
}


/* Comment checkbox */
.comment-form-cookies-consent {
  display: inline-block;
  width: 100%;

  label {
    display: inline-block;
  }
}

.button{
  svg{
    height: 1em;
    width: 1em;
    vertical-align: top;
  }
}

.elementor .elementor-widget-wrap .elementor-button {
  border-radius: 0;
  border: none;
  vertical-align: middle;
}
.elementor-column > span.wpcf7-form-control-wrap {
  width: 100%;
}
.elementor-element{
  .wpcf7-form{
    .elementor-container {
      margin-left: -5px;
      margin-right: -5px;
    }
    .elementor-column {
      padding-left: 5px;
      padding-right: 5px;
    }
    .elementor-column-gap-extended{
      margin-left: -15px;
      margin-right: -15px;
      .elementor-column {
        padding-left: 15px;
        padding-right: 15px;
      }
    }
    span.wpcf7-list-item {
      margin: 0;
    }
  }
}

.wpcf7-form .wpcf7-spinner {
  position: absolute;
}