/*
widget_search,
widget_mailchimp
widget_product_search
*/

.widget_search,
.widget_product_search,
.widget_mailchimp {
  form {
    position: relative;
    max-width: 100%;
    margin: auto;
  }
  label {
    margin: 0;
    padding: 0;
    display: inline;
  }
  input {
    padding: 0 50px 0 0; 
    height: 40px;
    width: 100%;
    max-width: 100%;
  }
}

.cs {
  .widget_search,
  .widget_product_search,
  .widget_mailchimp {
    input {
      padding: 0 20px; 
    }
  }
}

.widget_search button,
.widget_mailchimp button,
.widget_product_search form input[type="submit"],
.widget_product_search form:before {
  font-weight: 700;
  text-align: center;
  padding-right: 10px;
  padding-left: 10px;
  width: 60px;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  background-color: transparent;
  opacity: 1;
}

.widget_search button,
.widget_mailchimp button,
  //input instead of button is used in woo html
.widget_product_search form input[type="submit"] {
  padding: 8px 10px;
  &:hover {
    opacity: 0.5;
  }
}

//icons for buttons
.widget_search button,
.widget_mailchimp button,
  //input instead of button is used in woo html
.widget_product_search form {
  &:before {
    color: $fontColor;
    font-size: 16px;
    content: "\f002";
    font-family: 'FontAwesome';
  }
}

.cs {
  .widget_search button:before, .widget_mailchimp button:before, .widget_product_search form:before {
    color: $lightColor;
    
  }
  &.cs2 {
    .widget_search button:before, .widget_mailchimp button:before, .widget_product_search form:before {
      color: $fontColor;
    }
  }
}

.widget_mailchimp form button:before {
  content: "\f003";
}

.widget_product_search {
  form:before {
    line-height: 60px;
  }
  input[type="submit"] {
    color: transparent;
    font-size: 0;
  }
}

