﻿/*
    Common
*/
.sys-template
{
    display: none;
    visibility: hidden;
}
.PanelCloseButton
{
    height: 12px;
    width: 12px;
    background: url('Images/cad_ui2010.png') -0px -86px;
    display: inline-block;
    vertical-align: middle;
}

/*
    Ad Navigator
*/
#AdNav
{    
    margin: 0 auto 0.75em auto;
    border: solid 1px #dddddd;
    background-color: #d8d7cc; 
}
#AdNav thead tr th
{
    font-size: x-small;
}
#AdNavData
{
    background-color: #ebeadf;    
}
#AdNavData tr td a:link, 
#AdNavData tr td a:active, 
#AdNavData tr td a:visited
{
    color: #0000cc;
}

/*
    Filter Panel
*/
#FilterPanel
{
    background-color: #555555;
    border: solid 1px #555555;
    width: auto;
    color: #ffffff;   
    padding: 0.15em;
    margin: 0em;
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    font-size: 0.75em;
}

#FilterPanel * {
    vertical-align: middle;    
}

.LinkFilters
{
    background-color: #bababa;
    margin: 0em 0em 0.15em 0em;
    padding: 0.1em 0em;
    color: #000000;
}

.LinkFilters .LinkButton:visited, .LinkButton:link, .LinkButton:active {
    font-family: Verdana, Arail, Helvetica, Sans-Serif;
    font-size: 0.85em;
    font-weight: bold;
    color: #000000;
}

.LinkFilters .LinkButton:hover {
    font-family: Verdana, Arail, Helvetica, Sans-Serif;
    font-size: 0.85em;
    color: #990000;
    text-decoration: none;
}

/*
    Style rules for the notifications section on PostAd.aspx...
*/
#NotificationsPanel
{
    width: 100%;
    border-left: solid 1px #999999;
    padding-left: 2em;
}

#NotificationsPanel table tr td label
{
    font-weight: normal;
}

/*
    Style rules for OpenAd.aspx...
*/
/*
    The following style is for use in URLs detected in an Ad's detail.
*/
a.AdDetail:Link, a.AdDetail:Visited, a.Detail:Active
{
    background-color: #F2F9FF;
    color: #255ED1;    
}

a.AdDetail:hover
{
    border-bottom: dashed 1px #255ED1;
    color: #255ED1;
    text-decoration: none;
}

#AdContent
{
    margin-top: 0.75em;
    width: 100%;    /* IE6 fix for width: auto */
}

.AdTitle
{
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0px 0px 0.15em 0px;
    padding: 0px;
}

.AdDetail
{
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    font-size: 0.9em;
    font-weight: normal;
    margin: 12px 0px;
}

.PublishingDate
{
    font-family: Arial, Verdana, Helvetica, Sans-Serif;
    font-style: italic;
    font-size: 0.9em;
    margin: 0px 0px;
    padding: 0px;
}

.ErrorMessage
{
    background-color: #ffc4c4;
    border: solid thin #cc0000;
    color: #cc0000;
    width: auto;
    display: block;
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    vertical-align: middle;
    padding: 0.10em;
}
.ErrorMessage, .ErrorMessage ul li
{
    font-size: 1.0em;
}

.SuccessMessage
{
    background-color: #c1ffc1;
    border: solid thin #009900;
    color: #009900;
    width: auto;
    display: block;
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    vertical-align: middle;
    padding: 0.10em;    
}

.PageResponseMessagePanel
{
    border: solid 1px #ffcc00;
    background: #ffffff;
    padding: 2px;
    width: auto;
    display: block;    
    /*text-align: left;*/
}

.PageResponseMessagePanel p
{
    background-color: #ffffb0;
    border: solid 1px #ffcc00;
    color: #000000;
    font-size: 0.9em;
    padding: 0px;
    margin: 0px;
}

.ButtonSpecial
{
    font-weight: bold;
    width: 200px;
}

.TopOfPage
{
    clear: both;
    text-align: right;
    margin: 0;
    padding: 0;
}

.TopOfPage a
{
    font-size: x-small;
    margin: 0;
    padding: 0;
}

.TopOfPage a:hover
{
    font-size: x-small;
    text-decoration: underline;
}

/*
    Styles for the Comments section
*/

.CommentsPanel
{
    width: auto;
}

.CommentsList
{
    margin: 0px;
    padding: 0em;
    list-style: none;
    border: solid 1px #b4b4b4;        
}

.CommentTitle
{
    background-color: #cccccc;
    width: auto;
    clear: both;
    height: 20px;
}

span.Name
{
    background-color:inherit;       /* Required to make it work with FireFox */
    float: left;
    font-weight: bold;
    display: inline;
}

span.Date
{
    background-color: inherit;      /* Required to make it work with FireFox */    
    float: right;
    text-align: right;
    display: inline;
}

.CommentsListDiv
{
    width: auto;
    margin: 0px;
    padding: 0px;
    font-size: 0.75em;
    clear: both;
}

.CommentsListDiv .AspNet-DataList
{
    width: auto;
}

.CommentsListDiv .AspNet-DataList table
{
    width: auto;
    border: solid 1px #B4B4B4;    
}

.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem
{
    width: auto;
}

.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem .CommentTitle
{
    background-color: #CCCCCC;
    width: 100%;
    clear: both;
    height: 20px;
}
.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem .CommentTitle .Name 
{
    background-color:inherit;       /* Required to make it work with FireFox */
    width: 50%;
    float: left;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
}
.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem .CommentTitle .Name a
{
     background-color:inherit;       /* Required to make it work with FireFox */
}
.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem .CommentTitle .Date
{
    background-color: inherit;      /* Required to make it work with FireFox */    
    width: 50%;
    float: right;
    margin: 0px;
    padding: 0px;
    text-align: right;
}

.CommentsListDiv .AspNet-DataList table tbody tr td div.CommentItem .CommentDetail
{
    clear: both;
}

.AdsToolbarPanel
{
    text-align: left;
    font-size: 0.75em;
}

#ToolbarCommands
{
    text-align: right;
}

#Toolbars
{
    background-color: #DDDDDD;
}

.AdsToolbarPanel ul
{
    list-style-type: none;
    margin: 0px;
    border-bottom: double 3px #000000;
    padding-bottom: 2px;

}

.AdsToolbarPanel ul li
{
    display: inline;    
    padding: 0px 4px;
}

.AdsToolbarPanel ul li a:link, a:active
{
    color: #0000CC;
    text-decoration: none;
}

.AdsToolbarPanel ul li a:visited
{
    color: #0000CC;
}

.AdsToolbarPanel ul li a:hover
{
    color: #0000CC;
    background-color: #E7E3E7;
    text-decoration: underline;
}

/*
    Complaints Section
*/
.ComplainPanel
{
    background-color: #DDDDDD;
    border: solid 1px #990000;
    vertical-align: bottom;
    text-align: left;
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    float: right;
    clear: both;
    margin-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 25px;
    padding-right: 5px;
}

.ComplainPanel label
{
    font-weight: normal;
}

#ComplaintsToolbar
{
    border: solid 1px #999999;
    display: none;
}

#ComplaintsFields
{
    padding-top: 5px;
}

#ComplaintsFields div
{
    display: inline;
    vertical-align: top;
}

#ForwardToFriendToolbar
{
    border: solid 1px #999999;
    display: none;
}

#FFFields div
{
    display: inline;
}

.ToolbarPanelHeader
{
    font-size: 0.50em;
    font-style: normal;
    text-align: right;
    background-color: #CCCCCC;
    clear: both;
    z-index: 3;
}
