/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Nitdoc Quick Search JS module */

.has-icon {
    position: relative;
}

.has-icon .form-control {
	padding-left: 35px;
}

.form-control-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.navbar-fixed-top .form-control:hover, .navbar-fixed-top .form-control:focus {
	background: rgba(255, 255, 255, 0.2);
}

.navbar-fixed-top .form-control {
	background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    box-shadow: none;
}

.navbar-fixed-top .form-control-icon {
	color: #fff;
}

.navbar-fixed-top .form-group {
	margin-top: 8px;
	margin-bottom: 0px;
}

.navbar-fixed-top *::-webkit-input-placeholder { color: #fff; }
.navbar-fixed-top *:-moz-placeholder { color: #fff; }
.navbar-fixed-top *::-moz-placeholder { color: #fff; }
.navbar-fixed-top *:-ms-input-placeholder { color: #fff; }

.search-input {
	width: 100%;
}

#nitdoc-qs-popup {
	background-color: #FFFFFF;
	border: 1px solid #E0E0E0;
	z-index: 1000;
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.qs-card {
	cursor: pointer;
	padding: 5px;
	border-bottom: 1px solid #F0F0F0;
	overflow: hidden;
}

.qs-card h1 {
	color: #0D8921;
	font-size: 1.2em;
	margin-top: 5px;
	margin-bottom: 0;
}

.qs-info {
	color: #6C6C6C;
	font-size: smaller;
}

.qs-noresult {
	color: #6C6C6C;
	font-size: small;
}

.qs-overflow {
	text-align: center;
	font-size:	x-small;
	color: #6C6C6C;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.qs-overflow-active {
	color: #0D8921;
	cursor: pointer;
}

.qs-overflow-active:hover {
	background-color: #E0E0E0;
}

.qs-active {
	background: #EEE;
}
