/** FORUM */

a.markall {
    color: #9e0b0f;
}
#post-actions {
    margin: 18px 0;
}

.action-buttons {
    /*    text-align: right;*/
    font-size: 12px;
    margin-top: 18px;
}

.action-buttons > * {
    float: right;
}

.move-form > * {
    display: inline-block;
}

.forum-category {
    margin-top: 18px;
    margin-bottom: 18px;
}

.forum-category h3 {
    display: block;
    margin-bottom: 10px;
}
.forum-category hr {
    margin: 0;
    background-color: #bbb;
}
.forum-category ul {
    border-top: 3px solid #eee;
    border-bottom: 3px solid #eee;
/*    box-shadow: inset 0 0 0 3px #ccc;*/
    box-sizing: border-box;
    padding-left: 18px;
    margin: 0;
    height: 340px;
    overflow: auto;
}

.forum-category ul:focus {
    border: 0;
    outline: 0;
}

.forum-category li {
    padding: 0;
    margin: 9px 0;
    list-style-image: url('../img/dot.png');
}

.forum-category span, .forum-category small {
    display: inline-block;
}

.forum-category a {
    color: #777;
}

.forum-buttons .newtopic {
    background-color: transparent;
    background-image: url('../img/create.png');
    background-repeat: no-repeat;
    width: 92px;
    height: 40px;
    border: 0;
    padding: 0;
    border-radius: 0;
    text-indent: -9999px;
}
.forum-buttons .newtopic:hover {
    background-color: transparent;
    background-image: url('../img/create.png');
}

.forum-buttons > a {
    float: left;
}




/*.preview {
    border: 1px solid #aaa;
    background-color: #e9e9e9;
    padding: 10px;
    margin: 18px 0;
    border-radius: 4px;
}

.preview h4 {
    font-size: 18px;
    margin: 5px 0;
}*/

.preview td {
    background-color: #fff4d2;
}

.row-even td {
    background-color: #F5F5F5;
}

.row-odd td {
    background-color: #eee;
}

.forum-table {
    width: 100%;
    margin: 9px 0;
}

.forum-table tr {
    padding: 9px 0;
}

.forum-table th, .forum-table td {
    text-align: left;
    vertical-align: middle;
}
.forum-table td {
    padding: 6px 0;
    border-bottom: 1px solid #c9c9c9;
}
.forum-table th.header {
    font-size: 16px;
    font-weight: bold;
    font-style: inherit;
    background-color: #e1e1e1;
    padding: 3px 5px;
    text-align: left;
    
    border-radius: 8px;
}
.forum-icon img {
    border: none;
    margin: 0;
}
th.forum-icon, td.forum-icon {
    width: 20px;
}
td.forum-icon, td.forum-name {
    vertical-align: top;
    padding-left: 5px;
}
.forum-table .forum-topic, .forum-table .forum-replies {
    text-align: center;
    width: 75px;
}

th.forum-name h2{
    display: inline-block;
    margin: 10px 10px 10px 0;
}

td.forum-name, th.forum-name {
    padding-left: 10px;
    padding-right: 10px;
}
.forum-table th {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 10px 0;
    font-weight: bold;
}
th.forum-info, td.forum-info {
    width: 160px;
    padding-right: 5px;
}
.forum-name div {
    padding-bottom: 7px;
}
.forum-name div.title {
    font-weight: bold;
}
.forum-info div {
    padding: 0;
    font-size: smaller;
}


/** TOPICS **/

.topic-table {
    margin: 9px 0;
    border-collapse:separate;
    border-spacing:0 8px;
}
.topic-table th {
    border: 0;
}
.topic-table td {
    border-bottom: 0;
}
.topic-table td.author {
    padding-left: 10px;
}
.topic-table td.authorinfo {
    padding-left: 10px;
    vertical-align: top;
    border-right: 1px solid #ccc;
    width: 160px;
}
.topic-table td.authorinfo div {
    font-size: 11px;
    padding-bottom: 3px;
}
.topic-table td.authorinfo img {
    margin: 0;
}
.topic-table td.body {
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
}
.topic-table .postreport {
    text-align: right;
    margin-bottom: 9px;
    min-height: 25px;
}
.topic-table .postreport .button {
    margin: 5px 0;
}
.topic-table .postreport .date {
    float: left;
    font-size: 11px;
    font-weight: bold;
}


.topic-table .postlinks {
    margin-top: 9px;
}

.topic-table .postlinks a.button {
    margin: 0 2px;
    padding: 4px 10px;
    font-size: 10px;
    text-transform: lowercase;
}
.topic-table .postlinks a.quote {
    padding-left: 26px;
    color: #555;
    text-shadow: 0 1px #fff;
    
    background-image: url('../img/quote.png'), linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/quote.png'), -o-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/quote.png'), -moz-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/quote.png'), -webkit-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/quote.png'), -ms-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);

    background-image: url('../img/quote.png'), -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #D6D6D6),
        color-stop(1, #F5F5F5)
        );
    background-repeat: no-repeat, repeat;
    background-position: 5px 50%, 0 0;
}
.topic-table .postlinks a.edit {
    padding-left: 26px;
    color: #555;
    text-shadow: 0 1px #fff;
    
    background-image: url('../img/edit.png'), linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/edit.png'), -o-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/edit.png'), -moz-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/edit.png'), -webkit-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/edit.png'), -ms-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);

    background-image: url('../img/edit.png'), -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #D6D6D6),
        color-stop(1, #F5F5F5)
        );
    background-repeat: no-repeat, repeat;
    background-position: 5px 50%, 0 0;
}
.topic-table .postlinks a.delete {
    padding-left: 26px;
    color: #555;
    text-shadow: 0 1px #fff;
    
    background-image: url('../img/delete.png'), linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/delete.png'), -o-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/delete.png'), -moz-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/delete.png'), -webkit-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);
    background-image: url('../img/delete.png'), -ms-linear-gradient(bottom, #D6D6D6 0%, #F5F5F5 100%);

    background-image: url('../img/edit.png'), -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #D6D6D6),
        color-stop(1, #F5F5F5)
        );
    background-repeat: no-repeat, repeat;
    background-position: 5px 50%, 0 0;
}


.topic-table .align-right {
    text-align: right;
}
.sticky {
    float: left;
    color: #9e0b0f;
    font-weight: bold;
}

.featured td {
    background-color: #fff4d2;
}

.postinfo td {
    background-color: #ccc;
    padding: 0 10px;
}
.postinfo h3, .postinfo h4, .postinfo h5 {
    margin: 5px 0;
}

.form_error {
    color: #9e0b0f;
    font-weight: bold;
    margin: 0;
}

/**
 * forum search
*/
#forum-search {
    float: right;
    margin-bottom: 20px;
}
#forum-search form >* {
    float: left;
    margin-left: 5px;
}
#forum-search form a {
    display: block;
}
#forum-search input[type="submit"] {
    padding-top: 2px;
    padding-bottom: 2px;
}
.forum-buttons #forum-search form a {
    border: none;
    background-color: transparent;
    width: auto;
}
fieldset#keywords {
    width: 58%;
    padding: 10px 0;
    float: left;
    border: 1px solid #e9e9e9;
}
fieldset#keywords input[type="text"] {
    width: 700px;
    margin: 0 2%;
    padding-left: 0;
    padding-right: 0;
}
fieldset#keywords select {
    margin: 4px 2% 0 2%;
}
fieldset#forum-list {
    border: 1px solid #e9e9e9;
    margin-left: 10px;
    float: left;
    padding: 10px;
}
fieldset#sort-options {
    float: left;
    clear: left;
    padding: 8px;
    border: 1px solid #e9e9e9;
    margin-top: 5px;
}
fieldset#sort-options >* {
    float: left;
    margin-right: 3px;
}
#advanced-search p.submit {
    clear: left;
    float: left;
    width: 100%;
    text-align: center;
    padding: 8px 0;
}
p.submit input {
    display: block;
    margin: 0 auto;
    float: none;
}


/* Form Table styles - when creating new topics */
table.form-table {
    width: 100%;
}
.form-table th.header {
    font-size: 14px;
    font-weight: normal;
    font-style: inherit;
    background-color: #e1e1e1;
    padding: 3px 5px;
    text-align: left;
    border-radius: 8px;
    
    background-color: transparent;
    padding: 20px 0;
}

.form-table th.header .title {
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 18px;
}

.form-table .formatting {
    text-align: center;
}
.form-table .formatting td {
    padding-top: 20px;
    padding-bottom: 5px;
}
.form-table .formatting th {
    padding-top: 20px;
    padding-bottom: 5px;
}
.form-table tbody th {
    padding: 10px;
    text-align: right;
    font-weight: bold;
}
.form-table td div {
    padding: 0;
}
.form-table #forum_input, .form-table #title {
    width: 700px;
}
form.forum {
    width: 100%;
}
.form-table .forum_buttons a {
    padding: 2px 12px;
    color: #222222;
    float: left;
    border-right: 1px solid #c9c9c9;
    border-left: 0.5px solid #ffffff;
}
.form-table .forum_buttons #email {
    padding: 2px 12px;
    border-right: none;
    margin: 0;
    width: 40px;
}
.form-table .forum_buttons #b {
    border-left: none;
}
.form-table .forum_buttons {
    float: left;
    border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #e9e9e9;
    padding-left: 6px;
    padding-right: 6px;
    margin: 0;
}
.form-table .help_button {
    float: left;
    margin: 2px 5px;
}

.form-table .message > * {
    vertical-align: top;
    padding-top: 0;
}
.form-table .options >* {
    vertical-align: middle;
    padding: 15px 5px;
}
.form-table .options input {
    position: relative;
    top: 3px;
}

/**
 * Helper/Generic styles
*/

/** holds the anchor buttons for markall and new topics **/
#post-actions {
    float: left;
}
.border-left {
/*    border-left: 1px solid #c9c9c9;*/
    border-radius: 8px 0 0 8px;
}
.border-right {
/*    border-right: 1px solid #c9c9c9;*/
    border-radius: 0 8px 8px 0;
}
.border-top {
/*    border-top: 1px solid #c9c9c9;*/
}
.border-bottom {
/*    border-bottom: 1px solid #c9c9c9;*/
}
br.clear-both {
    clear: both;
}

.forum-widget span {
    font-size: 10px;
    padding-left: 0px;
}

.forum-widget li {
    line-height: 14px;
    margin-top: 5px;
}