/* 
    Created on : 24.02.2014
    Author     : David Schneider
    Description:
    styles for information.com search engine
*/

/*********/
/* Reset */
/*********/

* {
    margin: 0;
    padding: 0;
}

/******************/
/* General Layout */
/******************/

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
}

html, body {
    height: 100%;
}

a img {   
    border: 0;
}

.height_wrapper {
    min-height: 100%;
}

.height_wrapper.has_result {
    padding-bottom: 60px;
}

.width_wrapper {
    width:980px;
    margin: 0 auto;
}

#toolbar_wrapper.width_wrapper {
    width:980px;
    margin: 0 auto 0 127px;
}

#footer_wrapper.width_wrapper {
    width:980px;
    margin: 0 auto;
}

#main_search_form.width_wrapper {
    width:980px;
    margin: 0 auto;
}

#content.width_wrapper {
    width:980px;
    margin: 0 auto 0 127px;
}

/*****************************/
/* Toolbar on top of website */
/*****************************/

#toolbar {
    min-width:980px;
    height: 31px;
    overflow: hidden;
    background: rgb(83, 83, 83);
}

#toolbar ul li {
    display: inline;
    float: left;
}

#toolbar ul li a {
    display: inline-block;
    line-height: 20px;
    padding: 5px 14px;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 1px 0 #333;
}

#toolbar ul li a:hover {
    background: rgb(83, 83, 83);
    border-left:1px solid #666;
    border-right:1px solid #666;
    padding-left:13px;
    padding-right:13px;}

#toolbar ul li.active a {
    background: rgb(83, 83, 83);
    border-left:1px solid #666;
    border-right:1px solid #666;
    padding-left:14px;
    padding-right:14px;
}

#toolbar ul li.active a:hover {
    padding-left:14px;
    padding-right:14px;
}

/**********/
/* Footer */
/**********/

#footer {
    background: #f5f5f5;
    position: relative;
    margin-top: -40px; /* negative value of footer height */
    border-top: 1px solid #ddd;
    clear:both;
    min-width:980px;
}

#footer .width_wrapper {
    width: 100%;
}

#footer_links {
    padding-top: 12px;
    text-align: right;
    margin-right: 10px;
    padding-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}

#footer_links li {
    display: inline;
}

#footer_links li:after {
    content: " | ";
}

#footer_links li:last-child:after {
    content: "";
}

#footer_links a {
    font-size: 13px;
    font-weight: normal;
    font-weight: normal;
    height: auto;
    color: rgb(69, 69, 69);
    text-decoration: underline;
    font-weight: 300;
}

#footer_links a:hover {
    text-decoration: underline;
}

/**********/
/* Lander */
/**********/

#big_logo {
    margin:100px auto 20px;
    text-align: center;
}

/******************/
/* Social buttons */
/******************/

#social {
    padding-top:20px;
}

/*********************/
/* Search Form Stuff */
/*********************/

#searchform { text-align: center; }
.small_form #searchform { text-align: left; }
#searchform input { vertical-align:top; font-weight:bold; font-size: 12px; }
#searchform input[type="text"] {width:445px; padding:8px; background:#fff; border: 1px solid #afafaf; font-size: 16px; font-weight: bold; height: 16px; }
#main_search_form input[type="text"]{width:445px; }
#searchform input#form_input_q {width:506px; }
#searchform input[type="submit"] { -webkit-appearance: none; padding:4px; border: 1px solid rgb(159, 159, 159); color: rgb(77, 77, 77); background: rgb(244, 244, 244); cursor:pointer; font-family: 'Lucida Grande'; font-size: 12px; font-weight: bold; height: 34px; letter-spacing: normal; line-height: normal; }
#searchform input[type="submit"]::-moz-focus-inner { border:0; }
                
.small_form {
    height: 90px;
    padding-bottom: 10px;
}

.small_form.with_border {
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 10px;
}

.small_form>div, .small_form>form {
    float:left;
}

.small_form>form {
    margin-top: 20px;
    padding-left: 10px;
}

.small_logo {
    width:145px;
    text-align: center;
    padding-left: 30px;
}

.small_logo_search {
    width:145px; 
    text-align: center;
    height:80px;
    margin-top: 10px;
}

.small_logo a img {
    margin-top: 10px;
}

#result_counter {
    display: block;
    margin-left: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #999999;
}

/*****************/
/* Result styles */
/*****************/

#web_results {
    float: left;
    width: 830px;
}

#web_results.web_results_narrow {
    float: left;
    /*width: 70%;*/
    width: 686px;
}

#shopping_results {
    float: left;
    width: 730px;
}

#results_padding {
    padding: 10px 5px 2px 5px;
}

.result_item {
    line-height: 16px;
    font-size: 13px;
    margin-bottom: 10px;
}

.result_item p {
    word-wrap: break-word;
}

#shopping_results .adblock .result_item {
    margin-bottom: 12px;
}

#shopping_results .result_item {
    margin-bottom: 0;
}

.result_item_heading {
    color: #12c;
    text-decoration: underline;
    line-height: 18px;
    font-size: 16px;
    font-weight: normal;
}

.title_blue {
    color: #12c;
}

.link_green {
    color: #093;
    text-decoration: none;
}

a.title_blue:visited {
    color: #609;
}

.result_item_image {
    float:left;
    margin-right: 10px;
}

.result_item_image img {
    max-width: 140px;
}

.result_item_rating {
    color: #666;
}

result_item_rating_label {
}

.result_item_rating_list {
    text-align: left;
    display:inline;
}

.result_item_rating_list li {
    display: inline-block;
    white-space: nowrap;
}

* html .result_item_rating_list li {
    display: inline;
}

.result_item_rating a {
    text-decoration: none;
}

.result_item_rating a:hover {
    text-decoration: underline;
}

.deeplinks {
    margin: 10px 0 0 15px;
}

.deeplinks td {
    padding: 0 15px 0 0;
}

.deeplinks td a {
    display:block;
    text-decoration: none;
}

.deeplinks td a:hover {
    text-decoration: underline
}

.result_item table.result_data {
    border-bottom: 1px solid #afafaf;
}

.result_item table td.image {
    text-align: left;
    
    min-width: 110px;
}

.result_item_image {
    border:none;
}

.result_item table td.description {
    padding-right: 20px;
    width:100%;
}

.result_item table td.links {
    text-align: right;
    /*vertical-align: top;*/
}

.result_item table td.links.price {
    /*vertical-align: b;*/
    vertical-align: middle;
}

.result_item_price {
    font-weight:bold;
    line-height: 19px;
    font-size: 17px;
}

.merchantLogoUrl {
    display:block;
}

.result_item_merchant {
    width:110px;
    margin-right: 10px;
}

.result_item_price {
    padding-bottom:10px;
}

.result_item_shoplink {
    margin-top:10px;
}

.result_item_shoplink a {
    padding:4px;
    border: 4px solid #E6248A;
    color:#fff;
    background: #E6248A;
    text-shadow:0px -1px 2px rgba(0,0,0,.7);
    cursor:pointer;
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    white-space: nowrap;
    text-decoration: none;
}

.result_item .image {
    line-height: 0;
    font-size: 0;
}

.adunit {
    padding-bottom: 10px;
}

/*****************/
/* Image results */
/*****************/

.imagesearch li {
    float: left;
    list-style: none;
}

.imagesearch li img {
    padding: 0 5px 5px 0;
}

#showmore {
    -webkit-appearance: none;
    width:150px;
    padding:4px;
    border: 1px solid rgb(159, 159, 159);
    color: rgb(77, 77, 77);
    background: rgb(244, 244, 244);
    cursor:pointer;
    font-family: 'Lucida Grande';
    font-size: 12px;
    font-weight: bold;
    height: 40px;
    margin:10px auto 10px;
    display:block;
}
/*******************/
/* Ad block styles */
/*******************/

.adblock {
    position: relative;
    background: #F9FCFF;
    padding: 5px 5px 2px 5px;
}

.adblock_label {
    position: absolute;
    top: 0;
    right: 0;
    color: rgb(111, 111, 111);
    cursor: auto;
    display: block;
    text-align: right;
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
    font-weight: normal;
    padding:2px;
    line-height: 12px;
}

.adblock .result_item {
    margin-bottom: 15px;
}

.adblock .last .result_item {
    margin-bottom: 5px;
}

#shopping_results .adblock {
    margin: 10px 0 0;
}

#shopping_results .adblock:first-child{
    margin: 0;
}

/****************/
/* Rating stars */
/****************/

.fullstar, .halfstar, .emptystar {
    width:10px;
    height:9px;
    background: url(http://cdn.navfox.com/skins/navfox/assets/img/stars_graphic.png) no-repeat;
    background-position-x: 0px;
    margin: 0;
}

.halfstar {
    background-position-x: -11px;
}

.emptystar {
    background-position-x: -21px;
}

/**************/
/* Pagination */
/**************/

.pagination {
    text-align: center;
    padding: 10px 0 80px;
}

.pagination li {
    display: inline;
}

.pagination li a {
    display: inline-block;
    margin: 0 5px;
    padding:5px;
    border: 1px solid #ebebeb;
    color: #0088cc;
    text-decoration: none;
}

.pagination li a:hover {
    background: #0088cc;
    color: #fff;
}

/*********/
/* Pages */
/*********/

#page {
    height: 120px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

#page>.small_logo {
    float: left;
}

#page>.small_logo_search {
    float: left;
}

#page_title {
    padding-top: 40px;
    margin-left: 300px;
    font-weight: normal;
    color: #333;
    font-size: 28pt;
}

#page_navigation, #page_content {
    float: left;
}

#page_navigation {
    width: 300px;
}

#page_content {
    width: 680px;
}

#page_navigation ul {
    list-style-type: none;
    font-size: 21px;
    margin-right: 30px;
}

#page_navigation ul li {
    border-bottom: 1px solid #ebebeb;
    line-height: 22px;
    padding: 5px 0 5px 30px;
}

#page_navigation ul li a {
    text-decoration: none;
    color: #333;
}

#page_content h3 {
    font-family: arial;
    font-size: 28pt;
    line-height: 32pt;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    padding-bottom: 23px;
}

#page_content p {
    padding-bottom: 23px;
}

.blue_highlight {
    color: rgb(12, 127, 175);
    font-size: 28pt;
    line-height: 32pt;
    padding-bottom: 23px;
}

.team_info {
    clear: both;
    padding-bottom: 30px;
    color: #333333;
}

.team_info h3 {
    padding-bottom: 5px;
}

.team_info p {
    padding-bottom: 15px;
}

.team_info .highlight {
    font-style: italic;
    font-weight: 300;
    font-size: 17px;
}

.staff_photo {
    float:left;
    width: 171px;
    margin: 5px 10px 10px 0; 
    border: 1px solid #ccc;
    padding: 5px;
}

.page_button {
    -webkit-appearance: none;
    -webkit-background-clip: border-box;
    -webkit-background-origin: padding-box;
    -webkit-background-size: auto;
    -webkit-border-image: none;
    -webkit-box-align: center;
    -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    -webkit-rtl-ordering: logical;
    -webkit-user-select: text;
    -webkit-writing-mode: horizontal-tb;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(0, 153, 255);
    background-image: -webkit-linear-gradient(top, rgb(0, 153, 255), rgb(0, 153, 255));
    background-origin: padding-box;
    background-size: auto;
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-style: none;
    border-bottom-width: 0px;
    border-left-color: rgb(255, 255, 255);
    border-left-style: none;
    border-left-width: 0px;
    border-right-color: rgb(255, 255, 255);
    border-right-style: none;
    border-right-width: 0px;
    border-top-color: rgb(255, 255, 255);
    border-top-style: none;
    border-top-width: 0px;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    height: 26px;
    letter-spacing: normal;
    line-height: normal;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 1px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 2px;
    text-align: center;
    text-indent: 0px;
    text-shadow: none;
    text-transform: none;
    vertical-align: middle;
    white-space: pre;
    width: 130px;
    word-spacing: 0px;
    writing-mode: lr-tb;
}

#page_content ul {
    padding: 0 0 10px 25px;
}

/************************/
/* Related search terms */
/************************/

#related_search {
    float:right;
    width: 150px;
    font-size: 14px;
    line-height: 16px;
}

#web_results #related_search {
    float: none;
    width:100%;
    margin-top: 15px;
}

#related_search.shopping {
    float:right;
    width: 245px;
    font-size: 14px;
    line-height: 16px;
}

#related_search_padding {
    padding: 0px 0px 10px 5px;
}

#related_search_label {
    display:block;
    color: #E6248A;
    font-family: arial, verdana, sans-serif;
    font-weight: bold;
    padding-bottom: 10px;
    text-transform:capitalize;
}

#related_search_list {
    width:100%;
}

#related_search_list_1col
{
    list-style-type: none;
    margin-bottom: 10px;
}

#related_search_list li {
    display:inline-block;
    width:45%;
    padding-bottom: 5px;
}

#related_search_list_1col li {
    margin: 2px 0;
}

#related_search_list li a {
    text-decoration: none;
    color:#12c;
}

#related_search_list li a:hover {
    text-decoration: underline;
}

/************************/
/* Social search styles */
/************************/

#social_results {
    border-top: 1px solid #aaa;
    padding-top: 10px;
}

#social_results .result_item {
    margin-top: 2px;
    border-bottom: 1px solid #aaa;
    min-height:70px;
    position: relative;
}

#social_results .result_item a {
    color: #0088cc;
    text-decoration: none;
}

#social_results .result_item a:hover {
    color: #0088cc;
    text-decoration: underline;
}

#social_results .result_item .result_item_description {
    padding: 0 0 10px 60px;
}

#social_results .result_item .result_item_heading {
    padding: 3px 0 5px;
}

#social_results .result_item .result_item_image {    
    line-height: 0px;
}

#social_results .result_item .result_item_image img {
    margin-top: 5px;
    width: 50px;
    height: 50px;
    margin-left: 5px;
}

.social_item_meta {
    position: absolute;
    top: 0;
    right: 0;
}

.social_network_icon {
    border:none;
    width: 13px;
}

.social_attachment {
    padding: 0 0 10px 60px;
}

.social_attachment_media {
    float: left;
    margin-right: 10px;
}

.social_attachment_media img {
    max-width: 300px;
    max-height: 200px;
    min-width: 150px;
}

.social_attachment_desc {
}

#result_loading_status {
    text-align: center;
    margin: 10px 0;
}

/***********************/
/* image search styles */
/***********************/

.meta_text_read_more {
    cursor: pointer;
    text-decoration: none;
}
.meta_text_read_more:hover {
    text-decoration: underline;
}

/*
.meta_social li {
    margin: 0 5px 0 0;
    background: #000;
    border: 1px solid #666;
    padding: 2px;
    cursor: pointer;
    text-decoration: none;
}

.meta_social li:hover {
    text-decoration: underline;
}
*/

.meta_social li:active {
    text-decoration: none;
}

.meta_social_details {
    position: relative;
}

.meta_social_details>div {
    position: absolute;
    width:311px;
    background:#000;
}

/************************/
/* right side div - Q&A */
/************************/

.rail_padding {
    /* border: 1px solid #000;*/
    padding: 0px 0px 2px 10px;
    overflow: hidden;
    /* width: 310px;*/
}

.rail_heading {
    color: #E6248A;
    font-weight: bold;
    line-height: 16px;
    font-size: 14px;
    padding-bottom: 8px;
}

.rail_item {
    word-wrap: break-word;
    line-height: 16px;
    font-size: 13px;
    padding: 8px 0;
}

.rail_item_qa {
    vertical-align: top;
    font-weight: bold;
    color: #666;
}
.rail_item_question {
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    width: 90%;
}

.rail_item_answer {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.rail_item_source {
    padding-left: 16px;
}

.rail_item_source_url {
    color: #008000;
}

.rail_item_readmore_url, .rail_item_readmore_url.a:hover, .rail_item_readmore_url.a:visited {
    text-decoration: none;
    color: #12c;
}

/********************************/
/* shop mix boxes - answers tab */
/********************************/

.sm_padding {
    padding: 0px 5px 2px 5px;
}

.sm_heading {
    color: #12c;
    font-weight: bold;
    line-height: 16px;
    font-size: 14px;
    padding-bottom: 8px;
}

.sm_wrapper {
    border: none;
    overflow: hidden;
}

.sm_item { 
    float: left;
    width: 23%;
    min-height: 220px;
    margin: 5px 10px 5px 0px;
    border: 1px solid #d5d5d5;
    line-height: 16px;
    font-size: 13px;
    text-align: center;
}

.sm_retailer_image {
    height: 25px;
    padding: 2px 5px;
    vertical-align: middle;
    min-width: 60px;
    max-width: 100px;
    float: right;
}

.sm_product_image {
    margin: 10px;
    text-align: center;
}

.sm_tile {
    height: 60px;
    border-top: 1px solid #d5d5d5;
}

.sm_tile_price {
    padding: 5px 5px;
    text-align: center;
    line-height: 18px;
    font-size: 14px;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.sm_tile_title {
    padding: 5px 5px;
    text-align: center;
    word-wrap: break-word;
}

.sm_link, a.sm_link:visited {
    color: darkgrey;
    font-size: 12px;
    text-decoration: none;
}

a.sm_link:hover {
    text-decoration: underline;
}

/*********/
/* Fixes */
/*********/

/* clearfix for floating elements */
.clearfix {
    clear: both;
}

.pushdown {
    padding-bottom: 40px;
}

#development_warning_bar {
    font-size: 20px; text-align: center; background: #f00; color: #fff; padding: 10px 0; font-weight: bolder;
}
/*Opera Fix for sticky footer */
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}

h3>a, h3>a:hover, h3>a:visited {
    color:#333;
    text-decoration: none;
    cursor: default;
}

#development_warning_bar {
    font-size: 20px; text-align: center; background: #f00; color: #fff; padding: 10px 0; font-weight: bolder;
}

/* Contact page for information.com */
#box_form p {
    clear: both;
    padding-bottom: 20px;
    margin-bottom: 20px;
    color: #595959;
}

#box_form label{
	width: 145px;
	float: left;
	font-weight: bold;
}

#box_form input, #box_form select, #box_form textarea{
	float: left;
}

#box_form input, #box_form textarea{
	width: 300px;
}