/**
* Reset
* - Prevents Themes and other Plugins from applying their own styles to our full screen search
*/
#full-screen-search,
#full-screen-search button,
#full-screen-search button.close,
#full-screen-search form,
#full-screen-search form div,
#full-screen-search form div input,
#full-screen-search form div input.search {
  background: none;
  border: 0 none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  float: none;
  font-size: 100%;
  height: auto;
  letter-spacing: normal;
  list-style: none;
  outline: none;
  position: static;
  text-decoration: none;
  text-indent: 0;
  text-shadow: none;
  text-transform: none;
  width: auto;
  visibility: visible;
  overflow: visible;
  margin: 0;
  padding: 0;
  line-height: 1;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
}

/**
* Background
*/
#full-screen-search {
  z-index: 999998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  display: none;
}

/**
* Search Form
*/
#full-screen-search form {
  position: relative;
  width: 100%;
  height: 100%;
}

/**
* Search Form Div
*/
#full-screen-search-container {
  max-width: 1280px;
  margin: 0 auto !important;
  text-align: center;
}

#full-screen-search-wrap {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0;
  background-color: white;
  padding: 34px 0;
}

/**
* Search Form Input Placeholder Color
*/
#full-screen-search form div input::-webkit-input-placeholder,
#full-screen-search form div input::-moz-placeholder,
#full-screen-search form div input::-ms-input-placeholder {
  color: #000;
}

/**
* Search Form Input
*/
#after_section_1 {
  z-index: 997;
}

#full-screen-search form div #full-screen-search-input:focus {
  outline: none;
  box-shadow: none;
}

#full-screen-search form div #full-screen-search-input {
  font-family: 'Palatino', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  max-width: calc(100% - 170px);
  padding: 16px 16px 16px 0 !important;
  font-size: 18px !important;
  outline: none;
  display: inline;
  margin: 0;
  background: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(38, 34, 34, 0.15) !important;
  /*border-radius: 4px !important;*/
}

.icon-search {
  cursor: pointer;
  color: #666;
  padding: 12px 13px;
  font-size: 20px;
  font-family: "maltai";
  display: inline-block;
  font-weight: 100;
  /*background-color: #E2001A;*/
  margin: -2px 16px 0;
  border-radius: 2px;
  vertical-align: middle;
  /*border: 1px solid #E2001A;*/
  /*border-bottom-width: 2px;*/
  /*border-bottom-color: #ab0014;*/
}

.icon-search:hover {
  opacity: 0.9;
}

.icon-cancel {
  width: 30px;
  height: 30px;
  color: #666;
  font-size: 16px;
  font-family: "maltai";
  display: inline;
  font-weight: 100;
  cursor: pointer;
}

.icon-cancel:before {
  content: "\e842";
}

.icon-search:before {
  content: "\e843";
}

.icon-cancel:hover {
  color: #273c75;
}

.icon-search:hover {
  color: #273c75;
}

@media only screen and (max-width: 768px) {
  #full-screen-search-wrap {
    padding: 2px 0;
  }

  #full-screen-search form div #full-screen-search-input {
    max-width: 86%;
    padding-left: 0;
    padding-right: 0;
  }

  #full-screen-search form div #full-screen-search-input {
    font-size: 16px;
  }

  .icon-search {
    display: none;
  }

  i {
    font-size: 19px !important;
  }
}