/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

.nav-search {
  order: 3;
  flex: 0 0 auto;
  padding-right: 2em;
}

.nav-search .search-submit {
  display: none;
}

.nav-search .search-field:focus {
  outline: 0px;
  width: 90vw;
}

.nav-search i {
  margin: auto;
}

.nav-search #toggle-search {
  position: absolute;
  display: none;
  cursor: pointer;
  left: -100%;
  top: -100%;
}

.nav-search #toggle-search + label {
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-search #toggle-search:checked ~ .search-box {
  display: block;
}

.nav-search .search-box {
  position: absolute;
  display: none;
  left: 0;
  width: 100%;
  overflow: hidden;
  background-color: #abadb0;
  color: #303036;
}

.nav-search .search-box #search-box-close {
  border: none;
  border-radius: 0;
  font-size: 1.5rem;
  flex: 1 0 auto;
}

.nav-search .search-field {
  border: none;
  width: 90vw;
  background-color: transparent;
  color: #303036;
  font-size: .9rem;
  padding: 2rem;
}

.mobile-menu .nav-search .search-box {
  display: block;
}
