/*!
Theme Name: Spectra Template Child
Author: Wine Works
Author URI: http://wineworks.co
GitHub Theme URI: https://github.com/wineworks/wp-spectratheme
Description: Custom child theme developed by Wine Works to be used with Commerce7 & WordPress
Template: wp-spectratheme
Version: 1.6.5.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Spectra Child
*/
.main-search {
  padding: 0 15px;
  flex: 0 0 100%;
  justify-items: center;
  margin: 0 0 10px;
  overflow: hidden;
}

.main-search form {
  border-radius: 2px;
  padding: 0;
  position: relative;
  box-shadow: 0 0 20px #dfdfdf;
  width: 100%;
  margin: 20px 0;
}

@media only screen and (min-width: 64.0625em) {
  .main-search form {
    width: 50%;
  }
}
#searchform input.field {
  width: 100%;
  padding: 10px 120px 10px 15px;
  border: 0;
  border: 1px solid #aaa;
}

#searchform input[type=submit] {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 10px 15px;
  width: 114px !important;
  background: 0;
  border-left: 1px solid var(--purple);
  background-color: black;
  border-right: 0;
  border-radius: 0;
  cursor: pointer;
  border-top: 0;
  border-bottom: 0;
  color: #fff;
}

#searchform input[type=submit]:hover, #searchform input[type=submit]:focus, #searchform input[type=submit]:active {
  background: var(--purple);
}
