/*
# $Id: $
#
# Copyright (c) $Date$
# 23andMe, Inc.  All rights reserved.
#
*/

#results_summary {
    margin: 18px 0;
    line-height: 18px;
}

.account_search_bar #id_view {
    width: 200px;
}

#searchform {
    margin-right: 12px;
    float: left;
}

#searchform a:hover {
    text-decoration: none;
}

#searchform_container {
    border: 1px solid #ddd;
    width: 180px;
}

#searchbox {
    padding: 0;
    border: 1px solid #fff;
    font-size: 12px;
    color: #999;
    width: 160px;
}

#searchbox_cell {
    padding: 2px;
}

#newsearch #searchform {
    float: right;
    margin-top: 10px;
    margin-right: 20px;
}

#newsearch #searchbox {
    background: black;
    background-image: linear-gradient(bottom, rgb(128,130,133) 23%, rgb(88,89,88) 60%);
    background-image: -o-linear-gradient(bottom, rgb(128,130,133) 23%, rgb(88,89,88) 60%);
    background-image: -moz-linear-gradient(bottom, rgb(128,130,133) 23%, rgb(88,89,88) 60%);
    background-image: -webkit-linear-gradient(bottom, rgb(128,130,133) 23%, rgb(88,89,88) 60%);
    background-image: -ms-linear-gradient(bottom, rgb(128,130,133) 23%, rgb(88,89,88) 60%);
    
    background-image: -webkit-gradient(
	    linear,
	    left bottom,
	    left top,
	    color-stop(0.23, rgb(128,130,133)),
	    color-stop(0.6, rgb(88,89,88))
    );

    padding: 3px 3px 3px 8px;
    height: 17px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    width: 150px;
}

#searchbox.ghosttext {
    color: #ccc;
}

#searchsubmit {
    border-left: 1px solid #ddd;
    padding: 2px 5px;
    background-color: #ddd;
    font-weight: bold;
}

#searchsubmit a {
    color: #7D797A;
}

#searchsubmit:hover, #searchsubmit:hover a {
    background-color: #626365;
    color: white;
    cursor: pointer;
}

#site_search_results {
    color: #626365;
}

h2.search_category {
    font-size: 14px;
    font-weight: bold;
    color: #64676A;
    margin: 4px 0;
    float: left;
}

.result_block {
    margin: 7px 0;
}

.extra_margin_for_result_block {
    margin-bottom: 16px;
}

#site_search_results table.results tr.search_category_headers {
    font-size: 12px;
    color: #939595;
}

#site_search_results table.results tr.search_category_headers th {
    background-color: #F0F1F1;
    border-top: 3px solid #CDCFCE;
    border-bottom: none;
    padding: 6px 10px;
    font-weight: normal;
}

.results .none_found {
    border-bottom: none;
}

a.back_to_top {
    display: block;
    float: right;
    color: #64676A;
    text-decoration: underline;
    font-size: 11px;
}

#site_search_results table.results tbody tr td {
    padding: 10px;
}

.people_result td * {
    vertical-align: top;
}

.people_result img {
    border: 1px solid #8F9194;
    height: 40px;
    width: 40px;
    margin-right: 8px;
    float:left;
}

#no_results, 
#bad_query,
#be_more_specific {
    margin-top: 16px;
}

#no_results p, 
#bad_query p,
#be_more_specific p {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5em;
}

#site_search_results table.results tbody tr.last td {
    border-bottom: 1px solid #ddd;
}

.view_all_link {
    color: #9A97A1;
    font-weight: bold;
    display: block;
    padding: 10px;
}

#site_search_results_form label {
   display: inline;
   float: none;
}

#no_results.no_results_and_display_all {
    margin-top: 8px;
}

#site_search_results table.results tr.established_research {
    background-color: #fff;
}

#suggestion_list {
    margin-left: 16px;
    font-size: 14px;
}

#suggestion_list li {
    font-size: 14px;
    line-height: 21px;
}

/** begin invitation error messaging ***/

#profile_ok_msg, #profile_err_msg, #profile_warn_msg {
    display: none;
    padding: 1em;
    margin-bottom: 15px;
}

/* holly hack \*/
* html .profile_message_selected {
    height: 1%;
}
/* end holly hack */

#profile_ok_msg.profile_message_selected,
#profile_err_msg.profile_message_selected,
#profile_warn_msg.profile_message_selected
{
    display: block;
}

#profile_ok_msg {
    border: 1px solid #48a942;
    background: #e8f9e2;
}

#profile_err_msg {
    border: 1px solid #933;
    background: #ffd8d8;
}

#profile_warn_msg {
    border: 1px solid #ffa02f;
    background: #ffead8;
}

/** internal site search only **/
.customer #searchform, .aggregate #searchform {
    margin-top: 34px;
}

.customer #searchform_container, .aggregate #searchform_container {
    border-color: #CCCCCC;
