/* --- Resets --- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, img, b, u, i, center, ol, ul, li, form, table, tbody, tfoot, thead, tr, th, td
{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
}

html {overflow-y:scroll;} 
body {/*line-height:1;*/ color: #020202; font-family:Arial, sans-serif; font-size:13px; direction:ltr;}
h1, h2, h3, h4, h5, h6 {font-family:Georgia, David; font-weight:normal;}
/*a, .a {text-decoration: none; color: #0170b1; cursor:pointer;}*/
a {text-decoration: none; cursor:pointer;}
a:active {color:#ee0000}
a:hover {text-decoration: none;}
ul, ol {list-style: none;}

:focus {outline:none;}


/* --- Resets END --- */


#main {background:white;/* display:none;*/}

#main ul.top_links {height:32px; color:#000000; font-size:13px; margin-left:173px;}
#main ul.top_links li {float:left; margin-right:5px;}
#main ul.top_links li a {display:block; padding:7px 7px 7px 7px; color:#020202;}
#main ul.top_links li a:hover {color:#E25858;}

#main.web ul.top_links li a.search_web {color:#DD4B39; font-weight:bold;}
#main.images ul.top_links li a.search_images {color:#DD4B39; font-weight:bold;}
#main.video ul.top_links li a.search_video {color:#DD4B39; font-weight:bold;}

#main {position:relative; /*width:972px;*/ margin:10px 0 50px 0;}
#main .left_column {float:left; width:170px;}
#main .left_column a.logo {display:block; background:url('../img/logo_medium.png') left top no-repeat; width:116px; height:30px; margin:4px 0 0 32px;filter: alpha(opacity=60);opacity: 0.6;}
#main .left_column .left_links {margin-top:30px; border-top:1px solid #ebebeb; padding-top:40px; padding-right:8px;}
#main .left_column .left_links li {display:block;}
#main .left_column .left_links li a {display:block; line-height:31px; padding-left:50px; color:#020202;}
#main .left_column .left_links li a:hover {background:#eeeeee;}

#main.web .left_column .left_links li a.search_web {color:#DD4B39; font-weight:bold; padding-left:45px; border-left:5px solid #DD4B39;}
#main.images .left_column .left_links li a.search_images {color:#DD4B39; font-weight:bold; padding-left:45px; border-left:5px solid #DD4B39;}
#main.video .left_column .left_links li a.search_video {color:#DD4B39; font-weight:bold; padding-left:45px; border-left:5px solid #DD4B39;}




#main .middle_column {float:left; width:790px; position:relative; z-index:999;}
#main .middle_column .search_container {margin-top:2px;}
#main .middle_column .search_container .query_input_border {float:left; background:white; border:1px solid; border-color: #9a9a9a #cbcbcb #cbcbcb #cbcbcb;}
#main .middle_column .search_container .query_input_border #query_input {font-size:16px; border:0 none; padding:5px 9px; margin:0; width:665px; background:white;}
#main .middle_column .search_container #query_input:focus {outline: none;}
#main .middle_column .search_container #query_input.query_empty{background: white;}
#main .middle_column .search_container .search_button {float:right;}
#main .middle_column .search_container .search_button input {width:95px; height:32px; border:1px solid #aaaaaa; padding:0; margin:0; background:#eeeeee url('../img/search_icon.png') center center no-repeat; cursor:pointer; border-radius:3px; box-shadow:inset 0 -31px 31px -31px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(0,0,0,0.05);}
#main .middle_column .search_container .search_button input:active {box-shadow:inset 0 -31px 31px -31px rgba(0, 0, 0, 0.2), inset 0 3px 7px -5px rgba(0,0,0,0.5), 0 2px 0 0 rgba(0,0,0,0.05);}


#results {border-top:1px solid #ebebeb; padding-top:20px; /*padding-left:2px;*/ margin-top:30px;}
#results .num_of_results {color:#999999; margin-bottom:10px; padding:0 8px; font-size:11px;}

#footer {margin-top:10px; width:512px;}

#footer #bottom_search_form {margin-bottom:10px; padding:0 8px;}
#footer #bottom_search_form .query_input {float:left; background:white; border:1px solid; border-color: #9a9a9a #cbcbcb #cbcbcb #cbcbcb; font-size:16px; padding:5px 9px; width:434px; background:white;}
#footer #bottom_search_form .submit_button {float:right; width:32px; height:32px; border:1px solid #aaaaaa; padding:0; margin:0; background:#eeeeee url('../img/search_icon.png') center center no-repeat; cursor:pointer; border-radius:3px; box-shadow:inset 0 -31px 31px -31px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(0,0,0,0.05);}

#footer .bottom_links {text-align:center;}

#main.images #footer {width:790px;}
#main.images #footer #bottom_search_form .query_input {width:712px;}

/* --- Link results --- */

    #results .link_results {width:512px; padding:0 8px;}
    #results .link_results.promoted {/*background:#FFF8E7;*/ padding:5px 8px; margin-bottom:20px;}
    #results .link_results.promoted.last {/*background:#ffffff;*/}
    #results .link_results.promoted_right {float:right; width:230px; padding-top:28px;}

    #results .link_results .promoted_header {display:block; font-size:13px; color:#666666; padding-bottom:6px;}

    #results .link_results .item {display:block; margin-bottom:20px;}
    #results .link_results.promoted .item:last-child, #results .link_results.promoted_right .item:last-child {margin:0;}
    #results .link_results .item .title {font-size:medium; max-width:512px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:underline;}
    #results .link_results .item .source {font-size:small; max-width:512px; margin-bottom:1px;  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
    #results .link_results .item .source a {color:#009933;}
    #results .link_results .item .description {font-size:small; line-height:1.24;}
    #results .link_results .item .description.rtl {direction:rtl; text-align:left;}

    #results .no_results {font-size:medium; padding-top:20px; margin-bottom:80px;}
    #results .no_results ul.bullet_list {list-style:disc; margin-top:20px; margin-left:20px;}
    
    #results .related {display:block; margin-bottom:10px;overflow: auto;}
    #main.images #results .related {margin-top:10px;}
    #results .related .caption {font-size:medium; margin-bottom:5px;}
    #results .related a {float:left; margin-bottom:10px; margin-right:10px; text-decoration:underline;}
    
    
    #results .link_results .item .rating a:hover {text-decoration:underline;}
    
    #results .link_results .item .deeplinks {margin-top:4px; display:inline-block; width:100%;}
    #results .link_results .item .deeplinks ul {margin-left:20px;}
    #results .link_results .item .deeplinks ul.first {float:left; margin:0 20px;}
    #results .link_results .item .deeplinks a:hover {text-decoration:underline;}
    
    
    /* -- Rating -- */
    
        .stars {display:inline-block; height:9px;}
        .stars b {display:inline-block; width:9px; height:9px; background-image:url('../img/stars.png'); background-repeat:no-repeat; background-position:-18px top; margin-right:1px;}

        .stars.r05 .s1 {background-position:-9px top;}
        
        .stars.r1 .s1 {background-position:left top;}
        
        .stars.r15 .s1 {background-position:left top;}
        .stars.r15 .s2 {background-position:-9px top;}
        
        .stars.r2 .s1, .stars.r2 .s2 {background-position:left top;}
        
        .stars.r25 .s1, .stars.r25 .s2 {background-position:left top;}
        .stars.r25 .s3 {background-position:-9px top;}
        
        .stars.r3 .s1, .stars.r3 .s2, .stars.r3 .s3 {background-position:left top;}
        
        .stars.r35 .s1, .stars.r35 .s2, .stars.r35 .s3 {background-position:left top;} 
        .stars.r35 .s4 {background-position:-9px top;}
        
        .stars.r4 .s1, .stars.r4 .s2, .stars.r4 .s3, .stars.r4 .s4 {background-position:left top;}
        
        .stars.r45 .s1, .stars.r45 .s2, .stars.r45 .s3, .stars.r45 .s4 {background-position:left top;}
        .stars.r45 .s5 {background-position:-9px top;}
        
        .stars.r5 b {background-position:left top;}
        
    /* -- Rating END -- */
    
/* --- Link results END --- */


/* --- Images results --- */

    #results .images_results {}
    #results .images_results .image_item {float:left; position:relative; margin:0 0 12px 8px;}
    #results .images_results .image_item .image {display:block; width:150px; height:150px; background-position: center center; background-repeat:no-repeat; cursor:pointer;}
    #results .images_results .image_item .image_details {visibility:hidden; opacity:0; position:absolute; border:1px solid #aaaaaa; background:white; padding:10px; box-shadow:0 0 10px rgba(0,0,0,0.3); z-index:100;}
    #results .images_results .image_item:hover .image_details {visibility:visible; opacity:1; -moz-transition:opacity 0.3s; -webkit-transition:opacity 0.3s; transition:opacity 0.3s;}
    #results .images_results .image_item .image_details .title {margin-top:10px; font-size:medium; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:underline;}
    #results .images_results .image_item .image_details .source {font-size:small; margin-bottom:1px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
    #results .images_results .image_item .image_details .source a {color:#009933;}
    #results .images_results .image_item .image_details {}

/* --- Images results END --- */


/* --- Video results --- */

    #results .link_results .video_item {display:block; margin-bottom:20px;}
    #results .link_results .video_item .video_thumb {position:relative; float:left; width:120px; height:90px; overflow:hidden; z-index:1;}
    #results .link_results .video_item .video_thumb .thumb_container {display:block; width:300px; height:120px; margin-left:-90px;}
    #results .link_results .video_item .video_thumb .thumb_container .thumb {display:block; height:90px; margin:0 auto;}
    #results .link_results .video_item .video_thumb .thumb_container .play {position:absolute; display:block; width:26px; height:20px; left:50px; top:35px; background:url('../img/play_icon.png') left top no-repeat;}
    #results .link_results .video_item .video_thumb:hover .thumb_container .play {background-position:left bottom;}
    #results .link_results .video_item .video_thumb {}
    
    #results .link_results .video_item .video_details {float:left; margin-left:10px; width:382px;}
    #results .link_results .video_item .video_details .title {font-size:medium; max-width:382px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:underline;}
    #results .link_results .video_item .video_details .source {font-size:small; max-width:382px; margin-bottom:1px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
    #results .link_results .video_item .video_details .source a {color:#009933;}
    #results .link_results .video_item .video_details {}

/* --- Video results END --- */


/* --- Pagination --- */

    #results .pagination {text-align:center; padding-top:15px; width:504px; border-top:1px solid #ebebeb; margin-left:8px;}
    #main.images #results .pagination {width:782px;}
    #results .pagination li {display:inline-block; zoom: 1; *display: inline;}
    #results .pagination li a {display:block; padding:5px;}
    #results .pagination li a:hover {text-decoration:underline;}
    #results .pagination li a.selected {color:#020202; font-weight:bold;}
    #results .pagination li a.next {font-weight:bold; text-decoration:underline;}

/* --- Pagination END --- */


/* --- Autocomplete --- */

    #autocomplete {display:none; background:white; border:1px solid #a0a0a0; left: 0; position: absolute; top: 32px; width: 564px; box-shadow: 0 5px 15px -13px; z-index:1000}
    #autocomplete ul {display:block;}
    #autocomplete li {display:block; cursor:default;}
    #autocomplete li div {font: 16px arial,helvetica,clean,sans-serif; font-weight:bold; padding:3px 10px;}
    #autocomplete li div i {font-style:normal; font-weight:normal;}
    #autocomplete li.selected div {background:#D8E5F0;}

/* --- Autocomplete END --- */

#helper {display:none;}

/*  --- categories icons  --- */
.isbs {height: 32px;}
.isbs {border-bottom: 1px solid #999999;border-left: 1px solid #CCCCCC;border-right: 1px solid #999999;border-top: 1px solid #CCCCCC;padding: 0 5px;font-size: 15px;height: 30px;line-height: normal;margin: 0;vertical-align: top;background: #d7d7d7 url("../img/s_button_bg.png") repeat-x;color: #000;-moz-box-shadow: 1px 1px 0 #e7e7e7;-webkit-box-shadow: 1px 1px 0 #e7e7e7;cursor: pointer;}
.icoEverything {PADDING-BOTTOM: 0px;LINE-HEIGHT: 20px;PADDING-LEFT: 9px;WIDTH: 5px;PADDING-RIGHT: 16px;BACKGROUND: url("../img/icon.jpg") no-repeat 0px 0px;HEIGHT: 20px;PADDING-TOP: 4px;margin-top: 5px;}
.icoImages {PADDING-BOTTOM: 0px;LINE-HEIGHT: 20px;PADDING-LEFT: 9px;WIDTH: 5px;PADDING-RIGHT: 16px;BACKGROUND: url("../img/icon.jpg") no-repeat 0px -20px;HEIGHT: 20px;PADDING-TOP: 4px;margin-top: 5px;}
.icoVideos {PADDING-BOTTOM: 0px;LINE-HEIGHT: 20px;PADDING-LEFT: 9px;WIDTH: 5px;PADDING-RIGHT: 16px;BACKGROUND: url("../img/icon.jpg") no-repeat 0px -40px;HEIGHT: 20px;PADDING-TOP: 4px;margin-top: 5px;}
.icoNews {PADDING-BOTTOM: 0px;LINE-HEIGHT: 20px;PADDING-LEFT: 9px;WIDTH: 5px;PADDING-RIGHT: 16px;BACKGROUND: url("../img/icon.jpg") no-repeat 0px -60px;HEIGHT: 20px;PADDING-TOP: 4px;margin-top: 5px;}
/*  --- categories icons  --- */

#main>.content{	margin: 30px 0 0 0;position: relative;width: 972px;}
#main.web .left_column .left_links li a.search_web {border-left: 0;color: #DD4B39;font-weight: bold;padding-left: 5px}
#main .left_column .left_links li span{display:block;float:left;}
#main .left_column .left_links li a {color: #020202;line-height: 31px;float:left;padding-left: 5px;}
#main .left_column .left_links li{clear: both;display: block;position: relative;}
#main .left_column .left_links {border: 0 none;clear: both;left: 50%;margin-left: -50px;margin-top: 0;padding: 0;position: relative;width: 100px;}
#main .left_column a.logo {margin:7px 0 18px 35px;padding:0;}
#results {border-top: 0;border-left: 1px solid #EBEBEB;margin-top: 5px;padding-top: 0;}
#results .num_of_results {margin-bottom: 0;margin-left: 375px;}
.qltr:hover {outline-color: #4d90fe;}
.qltr {width: 532px;height: 30px;border: solid #aaa 1px;padding: 0 0 0 6px;font-size: 16px;}
#searchBtn{	margin:0 0 0 -5px;}
#autocomplete {top: 41px;width: 518px;}
.spell {font-size: 16px;}
.ng {color: #dd4b39;}
#main.images .left_column .left_links li a.search_images {border-left: 0;padding-left: 0;}
#main.video .left_column .left_links li a.search_video{border-left: 0;padding-left: 0;}
.spelling-suggestion{margin-left:10px;padding-bottom:10px;}
/* --- UI changes by Alex --- */

/* ---inforspace autocomplete ---*/
.suggest_link {
   background-color: #ffffff;
   padding: 2px 6px 2px 6px;
   height:14px;
   line-height: 14px;
   overflow:hidden;
 }
 .suggest_link_over {
   background-color: #d3d3d3;
   padding: 2px 6px 2px 6px;
   height:14px;line-height: 14px;
   overflow:hidden;
   cursor:pointer;
   color: #000000;
 }
 .suggestPanel {
   position: absolute; 
   display:none;
   background-color: #ffffff;
   text-align: left;
   border: 1px solid #000000;
   font-family: Arial, Verdana, Helvetica;font-size: 12px;
   z-index: 1000;
 }
/* ---inforspace autocomplete ---*/ 