#h-pri {
    background: #dad9c7;
}

#h li a, #h-pri div a {
    color: #56554e;
}

#h-sec li a:hover strong,
#h-sec li a:focus strong {
    color: #20201e;
}

#h-pri li a:hover,
#h-pri div a:hover,
#h-pri li a:focus,
#h-pri div a:focus,
#h-pri li a.now {
    background: #fff url(/img/menu-current-up.gif) 0 0 no-repeat;
    color: #000;
}

#h #h-sec #h-upcoming a,
#h li.extra a,
.submenu-drop {
    border-color: #aca99f;
}

#h-sec {
    background: #c8c8b3 url(/img/menu-secondary-upcoming.gif) 100% 100% no-repeat;
}

#h-sec ul {
    background: url(/img/menu-secondary-upcoming.gif) 0 100% no-repeat;
}

#h li.extra a {
    background-image: url(/img/menu-current-up.gif);
}

#h-pri li.current,
#h-sec li.current {
    background-image: url(/img/menu-current-up.gif);
}

#h-pri li.current a {
    color: #818168;
}

#h-sec li.current a {
    color: #818168;
}

#h .text-link a {
    color: #303026;
}

#h .text-link a:hover {
    color: #000;
}

#h-pri .deselected a strong,
#h-sec a.deselected:link strong,
#h-sec a.deselected:visited strong,
#h-sec a.deselected:hover strong,
#h-sec a.deselected:active strong {
    color: #818168;
}

#h-pri ul ul .deselected a:link,
#h-pri ul ul .deselected a:visited,
#h-pri ul ul .deselected a:hover {
    color: #818168 !important;
}

/* recommended-specific */

.item_ad_image {
    margin-bottom: 20px;
}

#ss-login {
    background-color: #f3eecc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 10px 0 20px 0;    
}

#ss-no-data {
    background-color: #f3eecc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 10px 0 20px 0;    
    clear: left;    
}

#ss-login img {
    float: right;    
    margin: 5px 25px 0 10px;
}

#ss-no-data img {
    float: right;    
    margin: 15px 25px 0 10px;
}

#ss-login h2 {
    margin: 0 20px 0 0;
    padding: 25px 0 0 15px;
    font-size: 160%;
    line-height: 1.2em;
}

#ss-no-data h2 {
    margin: 0 20px 0 0;
    padding: 25px 0 0 25px;
    font-size: 160%;
    line-height: 1.2em;
}

#ss-no-data h2 span {
    display: block;
    font-size: 70%;
    line-height: 1em;
    letter-spacing: normal;
    color: #666;
}

#ss-login p {
    margin: 0;
    padding: 0 300px 15px 15px;
    color: #666;
}

#ss-no-data div {
    margin: 0;
    padding: 0;
    color: #666;
}

#ss-no-data p {
    font-size: 115%;
    margin-top: 10px !important;
    padding: 0 30px 0 15px;
}

#ss-no-data p.rec-no-data-last {
    min-height: 100px;
    padding: 5px 180px 0px 25px;
}

#ss-login form {
    margin-right: 200px;
    padding: 0 0 0 15px;
}

#ss-login fieldset {
    font-size: 85%;
    border: 0;
    padding: 0;
}

#ss-login fieldset div {
    clear: left;
}

#ss-login label {
    width: 6em;
    float: left;
    font-weight: bold;
    margin: 3px 0 8px 0;
}

#ss-login label.form-checkbox {
    padding-left: 0.5em;
    width: 10em;
}

#ss-login fieldset input {
    float: left;
    font-size: 100%;
}

.remember {
    padding-left: 6em;
}

.remember input {
    margin: 2px 0 0 0;
}

.ss-login-submit {
	padding: 0 0 25px 6em;
	margin: 0 -200px 0 0;
	font-size: 85%;
}

.ss-containers {
    width: 400px;
    margin-left: 1em;
    padding-left: 0;
    list-style: none;    
}

.ss-containers li {
    width: 160px;
    float: left;
    font-weight: bold;
    color: #ccc;
    font-size: 115%;
}

.ss-containers a:link,
.ss-containers a:visited {
	text-decoration: none ;
}


h2 {
    position: relative;
}

.selector .tool span {
    font-weight: normal;
}

.u-sort {
    clear: left;
    color: #999;
    font-size: 85%;
    padding-bottom: 1em;
    height: 20px;
    line-height: 20px;
}

.u-sort span.u-sort-label {
    display: block;
    float: left;
    width: 60px;
}

.u-sort strong,
.u-sort a:link,
.u-sort a:visited {
    display: block;
    margin-right: 1em;
    float: left;
    text-decoration: none;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    
}

.u-sort a:hover,
.u-sort a:active {
    text-decoration: underline;
}

.u-sort strong {
    padding: 0 0 0 5px;
    background: #105cb6 url(/img/up-sort-back.gif) top left no-repeat;
    color: #fff;
}

.u-sort strong span {
    background: #105cb6 url(/img/up-sort-back.gif) top right no-repeat;
    display: block;
    padding: 0 5px 0 0;
    margin: 0;
    height: 20px;
    
}

.via {
    color: #999;
    font-size: 85%;
}

.via a:link,
.via a:visited {
    color: #578CCA;
    text-decoration: none;
}

.via a:hover,
.via a:active {
    color: #4b79ae;
    text-decoration: none;
} 

.tab-details p {
    font-size: 115%;
    margin: 0;
}

.rec-stats {
    padding-left: 1.2em;
}

.rec-stats span {
    background-color: #ffff99;
    padding: 0 0.25em; 
}

table#engine {
    margin: 1em 0;
}

table#engine tr.head {
    color: #666;
    font-weight: bold;
}

table#engine td, table#engine th {
    font-size: 85%;
    border-bottom: 1px solid #eee;
    padding: 2px 0;
    margin: 0 4px !important;
    text-align: center;
}

table#engine .m-name, table#engine th {
    text-align: left;
}

table#engine a:link,
table#engine a:visited {
    font-weight: bold;
    text-decoration: none;
}

table#engine img {
    padding: 1px;
} 

td.m-items img,
td img.rel {
    vertical-align: middle;
}

.m-comp {
    width: 100px;
    margin-right: 15px;
    text-align: left;
}

.m-rm {
    text-align: right !important;
    width: 70px;
}

.m-rm a:link,
.m-rm a:visited {
    display: block;
    width: 60px;
    height: 20px;
    line-height: 20px;
    padding-right: 5px;
    background: url(/img/dly-rm.png) top left no-repeat;
    text-indent: -9999px !important;
}

a.rm:hover,
a.rm:active {
    
}

.m-comp a,
.m-comp a:link,
.m-comp a:visited {
    background-color: #d2e7fe;
    background-image: url(/img/m-comp-bg.gif);
    background-repeat: repeat-y;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    height: 20px;
    line-height: 20px;
    display: block;
    width: 100px;
    margin-right: 10px;
    border: 1px solid #92b5d6;
}
 
.m-comp a:hover,
.m-comp a:active {
    border: 1px solid #1b5790;
}


.d,
.v-details span {
    font-weight: bold;
    color: #a12a2a;
}

.info {
    border: 0;
}

.news-body h3 {
    padding-top: 0;
}

h2 span.new {
    display: inline !important;
    position: relative !important;
    top: 0;
}

.tool-prompt {
    float: right;
    background: #fff;
    margin-top: 7px;
    height: 20px;
    color: #999;
    line-height: 20px;
    padding: 0 0 0 5px;
    font-size: 85%;
}

.tool-prompt span {
    font-weight: normal;
}

.tab-more {
    padding-top: 0.4em;
}

.rec-info {
    padding: 10px;
    margin: 0 0 10px 0;
    background-color: #eee;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    clear: left;    
}

.rec-info img {
    vertical-align: text-bottom;
}

.rec-info a:link,
.rec-info a:visited {
    font-size: 85%;
    background-color: #fff;
    display: block;
    float: right;
    padding: 0 3px;
    text-decoration: none;
    color: #1B5790 !important;
}

.rec-info-more {
    height: 150px;
    background: url(/img/rec-info.png) 50% 10px no-repeat;
}

#engine-details p img {
    vertical-align: middle;
    margin-right: 3px;
}

#engine-details p {
    font-size: 85%;
}

/* Filter page */

.rec-filtered {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: url(/img/rec-filtered-bg.png) 0 0 repeat-x;
    min-height: 60px;
}

.user {
    position: relative;
    padding-top: 17px;
    width: 25%;
    height: 30px;
}

.c-body a.user { /* fix for #4005 */
    width: auto;
    width: inherit;
    height: inherit;
    padding-top: inherit;
} 

.user a.img {
    position: absolute;
    top: 12px;
    left: 15px;
    padding: 1px;
    border: 1px solid #999;
    background-color: #fff;
}

.user a.profile:link,
.user a.profile:visited {
    font-size: 130%;
    font-weight: bold;
    text-decoration: none;
    margin-left: 55px;
}

.user a.profile:hover,
.user a.profile:active {
    color: #333;
} 

ul.actions {
    width: 65%;
    height: 40px;
    float: right;
    margin-right: 15px;
    list-style: none;
    padding: 0;
}

.actions li {
    display: inline-block;
    float: right;
    background: #fff url() 0 0 no-repeat;
    margin-left: 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    height: 34px;
    background:  #fff url(/img/rec-f-actions.png) 8px 9px no-repeat;
}

.actions li.add-network { background-position: 8px -42px; }
.actions li.remove-network { background-position: 8px -92px; }
.actions li.rec-remove-network,
.actions li.rec-removed-network { background-position: 8px -140px; }

.actions li a:link,
.actions li a:visited  {
    width: auto;
    display: block;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-size: 85%;
    text-decoration: none;
    font-weight: bold;
    text-indent: none;
    padding: 0 10px 0 28px;
    line-height: 34px;
    color: #105cb6;
}

.actions li a:hover,
.actions li a:active {
    color: #333;
}

.sidebar .tab-details p {
    font-size: 100%;
}

.math {
    padding: 25px 15px 0 15px;
    color: #666;
    clear: left;
    
}

.math div {
    float: left;
    background: url(/img/rec-f-divider.gif) top right no-repeat;
    padding-right: 0;
    font-size: 85%;
    line-height: 1.2em;
}

div.digger,
div.you,
div.common {
    width: 140px;
}

.math div.you,
.math div.common {
    padding-left: 40px;
}

.math div.common,
.math div.percent,
.math div.percent-info {
    background-image: none;
}

.math strong {
    display: block;
}

.math span {
    display: block;
    font-size: 175%;
    line-height: 120%;
    color: #333;
}

.common,
.common span {
    color: #7d5200;
}

a#common-more:link,
a#common-more:visited,
a#common-more:hover,
a#common-more:active {
    text-decoration: none;
    color: #1b5790;
}

.math div.percent {
    clear: left;
    float: left;
    height: 34px;
    border: 1px solid #9fb1c0;
    width: 480px;
    margin-top: 15px;
}

.math div.percent div.bar {
    padding: 0 0 0 10px;
    margin: 1px;
    height: 32px;
    background: #fff;
    color: #666;
    line-height: 32px;
    font-size: 115%;
    width: 468px;
}

.percent-info a,
.percent-info a:link,
.precent-info a:visited,
.percent-info a:hover,
.percent-info a:active {
    display: block;
    float: left;
    margin: 15px 0 0 10px;
    width: 14px;
    height: 32px;
    background: url(/img/rec-f-bar-info.png) 0 50% no-repeat;
    text-indent: -9999px;
}

.matches {
    line-height: 1em;
    padding: 15px 0 1em 15px;
}

.matches  ul {
    color: #666;
    margin: 0;
    padding: 0.25em 0 0 15px;
}

.matches li {
    padding: 0 0 0 0;
    margin: 0;
    line-height: 1.4em;
}

h3.filtered-recs {
    padding-top: 1em;
}

.back-to {
    font-weight: bold;
    font-size: 85%;
    margin: 10px 0;
}