/* Most popular module */
#CG_module_mostpopular, #CG_mostpopmenu, #CG_mostpopmenu ul li, #CG_mostpopmenu a, #CG_mostpopmenu h3, #CG_mostpopmenu h3 span, li.CG_mostpop_submenu div.CG_mostpop_content {
    position:relative;
}

#CG_module_mostpopular, #CG_mostpopmenu, #CG_mostpopmenu li.CG_mostpop_submenu, #CG_mostpopmenu ul li, #CG_mostpopmenu h3, #CG_mostpopmenu h3 span, li.CG_mostpop_submenu h4  {
    display:block;
    float:left;
}

#CG_module_mostpopular, #CG_mostpopmenu, #CG_mostpopmenu li.CG_mostpop_submenu, #CG_module_mostpopular h2, #CG_mostpopmenu h3 {
    padding:0;
    margin:0;
}

#CG_module_mostpopular {
    background:#fff;
    height:270px;
    width:310px;
    font-size:11px;
    font-family:arial,helvetica,'sans serif';
    clear:both;
    overflow:hidden;
    left:3px;
}

/* Most popular tabs */
#CG_mostpopmenu {
    width:100%;
    clear:both;
    z-index:50;
}

#CG_mostpopmenu li {
    background-image:none;
}

#CG_mostpopmenu li.CG_mostpop_submenu {
    position:absolute;
    top:0;
    left:0;
}

#CG_module_mostpopular h2 {
    line-height:24px;
    font-weight:bold;
    font-size:12px;
    z-index:100;
    position:relative;
    margin-bottom:-24px;
    display:block;
    float:left;
    width:80px;
    border:none;
    text-indent:0px;
}

#CG_mostpopmenu h3 {
    color:#666;
    background:transparent;
    cursor:pointer;
    text-decoration:none;
    z-index:10;
    text-align:center;
    padding:0 0 10px 0;
    z-index:10;
}

#CG_mostpopmenu h3 span {
    padding:2px 0;
    font-size:12px;
    font-weight:normal;
    line-height:18px;
    height:18px;
    border:1px solid #ccc;
    float:none;
}

#CG_mostpopmenu #CG_mostpop_cars h3 {
    left:80px;
    width:46px;
}

#CG_mostpopmenu #CG_mostpop_searches h3 {
    left:128px;
    width:70px;
}

#CG_mostpopmenu #CG_mostpop_news h3 {
    left:200px;
    width:46px;
}

#CG_mostpopmenu #CG_mostpop_reviews h3 {
    left:248px;
    width:62px;
}

#CG_mostpopmenu .CG_mostpop_submenu_active h3 {
    background-color:#666;
    background-image:url("/img/generic/CG_sprite_tabs.gif");
    background-repeat:no-repeat;
    background-position:center bottom;
}

#CG_mostpopmenu .CG_mostpop_submenu_active h3 span {
    color:#fff;
    background-color:#666;
    border:1px solid #666;
}

li.CG_mostpop_submenu div.CG_mostpop_content {
    display:none;
    float:left;
    z-index:1;
    top:-9px;
    width:310px;
    height:220px;
    border-top:4px solid #666;
    padding-top:10px;
}

li.CG_mostpop_submenu h4 {
    font-size:12px;
    padding-left:13px;
    width:280px;
}

li.CG_mostpop_submenu ol {
    margin:0;
    width:280px;
    height:220px;
    padding:0 0 0 30px;
    list-style-type:decimal;
}

li.CG_mostpop_submenu ol li {
    font-size:12px;
    display:list-item;
    list-style-type:decimal;
    text-align:left;
    width:260px;
    vertical-align:middle;
    clear:both;
    line-height:20px;
    padding-left:0;
}

li.CG_mostpop_submenu ol li a  {
    border:none;
    display:block;
    float:none;
    clear:both;
}

/* Active style */
li.CG_mostpop_submenu_active div.CG_mostpop_content {
    display:block;
}
