
/*
This file contains colors, graphics, and text effects.

Colors used:
  #C1C1C1 Borders, post seperator, avatar frame, statistics subheader.
  #333333 Table header font color.
  #F5F5F5 to #DDDDDD Gradient on table headers, post info, stats header, top
                     post footer, topic navigation.
  #F5F5F5 to #EFEFEF Gradient on topic list background.
  #F5F5F5 Stats section background.
  #FAFAFA Text area on posts.
*/

/*** PAGER *******************************************************************/

/* This is the pager on the topics in the list */
.topic-pager {
  font-style: italic;
}

.forum-pager .pager a,
#forum-comments .pager a {
  font-weight: bold;
}

.forum-pager .pager a:link,
.forum-pager .pager a:visited,
#forum-comments .pager a:link,
#forum-comments .pager a:visited {
  text-decoration: none;
  border: 1px solid #C1C1C1;
  background: #EFEFEF;
  background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#EFEFEF));
  background: -moz-linear-gradient(top, #F5F5F5, #EFEFEF);
}

.forum-pager .pager-current,
.forum-pager .pager a:hover,
#forum-comments .pager-current,
#forum-comments .pager a:hover {
  background: #c90032;
  color: #FFFFFF !important;
}

.forum-pager .pager a.active,
#forum-comments .pager a.active {
  color: #333333;
}

/*** FORUM & TOPIC LISTS ******************************************************/

/* Forum list and topic list tables */
.forum-table {
  border: 1px solid #C1C1C1;
}

/* Table name and description on forum list and table header on topic list */
.forum-table-wrap .forum-table-superheader,
.forum-table-topics thead tr  {
  border: 1px solid #C1C1C1;
  background: #DDDDDD;
  background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#DDDDDD));
  background: -moz-linear-gradient(top, #F5F5F5, #DDDDDD);
  color: #333333;
}

/* Table name on forum list */
.forum-table-superheader .forum-table-name,
.forum-table-superheader .forum-table-name a {
  color: #333333;
  font-weight: bold;
  color: #333333;
  font-weight: bold;
  border-bottom: none;
}

/* Table header on forum list */
.forum-table-wrap thead tr {
  background-color: #F5F5F5;
  border: 1px solid #C1C1C1;
}

/* Table header on forum list and topic list */
.forum-table thead tr a,
.forum-table thead tr a:visited,
.forum-table thead tr a:link {
  color: #333333;
  font-weight: bold;
}

/* Reset to avoid bleed-thru from theme */
.forum-table thead th {
  border-bottom: none;
}

/* Rows on both tables */
.forum-table tr.even,
.forum-table tr.odd {
  border-top: 1px solid #C1C1C1;
  background: #EFEFEF;
  background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#DDDDDD));
  background: -moz-linear-gradient(top, #F5F5F5, #DDDDDD);
}

/* Active column on both tables - reset to prevent bleed thru from theme */
.forum-table tr.even td.active,
.forum-table tr.odd td.active{
  background-color: transparent;
}

/* Individual cells on both tables */
.forum-table td {
  border: 1px solid #C1C1C1;
}

/* Placeholder when there are no topics in the list */
.view-advanced-forum-topic-list .view-empty {
  border: 3px solid #C1C1C1;
}

/*** Sticky topics ***/
.forum-table tr.forum-last-sticky {
  border-bottom: 10px solid #C1C1C1;
}

.forum-table .sticky-label {
  font-weight: bold;
}

/*** FORUM STATISTICS *********************************************************/

#forum-statistics {
  border: 1px solid #C1C1C1;
}

#forum-statistics-header {
  border-top: 1px solid #C1C1C1;
  background: #DDDDDD;
  background: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DDDDDD));
  background: -moz-linear-gradient(top, #EFEFEF, #DDDDDD);
  color: #333333;
  font-weight: bold;
}

.forum-statistics-sub-header {
  border-top: 1px solid #C1C1C1;
  border-bottom: 1px solid #C1C1C1;
  font-weight: bold;
}

.forum-statistics-sub-body {
  background-color: #F5F5F5;
}

/*** FORUM TOPICS **********************************************************/

div.forum-post {
  border: 1px solid #C1C1C1;
}

/* Header at the top of each post */
.forum-post-info {
  border-top: 1px solid #FAFAFA;
  background: #DDDDDD;
  background: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#DDDDDD));
  background: -moz-linear-gradient(top, #EFEFEF, #DDDDDD);
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #C1C1C1;
}

.forum-posted-on {
  font-weight: bold;
}

.forum-post-number a {
  color: #333333 !important;
}

/* Wrapper around author pane and content */
.forum-post-wrapper {
  background-color: #F5F5F5;
}

/* Author information pane */
.forum-post-panel-sub .author-pane .author-name {
  font-weight: bold;
}

.forum-post-panel-sub .author-pane .picture img {
  border: 1px solid #C1C1C1;
  background-color: #FFFFFF;
}

.forum-post-panel-sub .author-pane .author-pane-label {
  font-weight: bold;
}

/* Post text area */
.forum-post-panel-main {
  border-left: 1px solid #C1C1C1;
  background-color: #FAFAFA;
}

.forum-post-title {
  font-weight: bold;
  border-bottom: 1px solid #C1C1C1;
}

/* Signature */
.author-signature {
  font-size: .8em;
}

/* Post footer */
.forum-post-footer {
  border-top: 1px solid #C1C1C1;
}

.forum-jump-links {
  border-right: none;
}

/* Box under top post before first reply */
.forum-top-post-footer {
  border: 1px solid #C1C1C1;
  background: #DDDDDD;
  background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#DDDDDD));
  background: -moz-linear-gradient(top, #F5F5F5, #DDDDDD);
}

/* Topic navigation */
.forum-topic-navigation {
  border: 1px solid #C1C1C1;
  background: #DDDDDD;
  background: -webkit-gradient(linear, left top, left bottom, from(#F5F5F5), to(#DDDDDD));
  background: -moz-linear-gradient(top, #F5F5F5, #DDDDDD);
}

/*////////////////////////////////////*/

.forum-post-links {
    line-height: inherit;
    margin: 0;
}

.forum-post-links ul.links li {
    position: relative;
    top: -6px;
}

.bouton_forum span {
    font-size: 12px;
    padding: 0px 2px 2px 13px;
    line-height: 25px;
    margin: 0 7px 0 7px;
}

.comment-delete .bouton_forum span {
    padding: 0px 2px 0 13px;
}

.post-edit span, .comment-edit span {
    background: url(images/post_edit.png) no-repeat;
}
.post-delete span , .comment-delete span {
    background: url(images/post_delete.png) no-repeat;
}

.forum-post-links ul.links li.comment-reply {
    display:none;
}

.post-edited {
    float: left;
    margin: 2px;
    margin-left: 10px;
}

.forum-post-panel-main {
    position: relative;
}

tr.even td.forum-list-icon-default .forum-list-icon-wrapper span, tr.odd td.forum-list-icon-default .forum-list-icon-wrapper span, .forum-list-icon-legend .forum-list-icon-default {
    background: transparent url(images/forum_list_default.png) no-repeat center center;
    line-height: 50px;
}

.forum-list-icon-wrapper {
    text-align: center;
}

.forum-list-icon-wrapper span  {
    width: 42px;
    height: 42px;
    display: block;
    padding: 3px;
}

.forum-post-content img, .author-pane img {
    opacity: 1;
}

#main.forum .box .forum-post-panel-main p, .forum-post-content .field-item{
    color : black;
    margin-bottom: 10px;
    line-height: 21px!important;
}

#main.forum .box .forum-post-panel-main img {
    margin-top: 6px;
}

a.af-button-large, a.af-button-large:link, a.af-button-large:visited, a.af-button-small, 
a.af-button-small:link, a.af-button-small:visited, a.author-pane-link, a.author-pane-link:link, 
a.author-pane-link:visited, .topic-reply-locked .af-button-large {
    font-size: 13px;
    line-height: 13px;
    font-family: Trebuchet MS;
    display: inline-block;
    font-weight: bold;
    padding: 7px 6px 6px 6px;
    color: white !important;
    text-align: center;
    text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
    cursor: pointer;
    border: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    background: #c90032;
    margin-top: 1px;
}

a.af-button-large span, .topic-reply-locked .af-button-large span {
    font-size: inherit;
    padding: inherit;
    line-height: inherit;
    margin: inherit;
}

div.topic-reply-allowed .af-button-large span, div.last-post-link .af-button-large span {
    background: none;
}

.forum-table tr.forum-last-sticky {
    border-bottom: 5px solid #C1C1C1;
}

table.forum-table-topics span.forum-topic-title {
    font-size: 14px;
    font-weight: normal;
}

table.forum-table-topics tr.sticky .views-field .forum-topic-title {
    font-weight: bold;
}

.forum-name {
    font-weight: bold;
}

.barre_forum {
    border-top: 1px black solid;
    width: 250px;
    height: 1px;
    margin: 15px 10px;
    margin-bottom: 0;
}

.forum_signature {
    padding : 10px;
    padding-bottom : 0;
}

.forum_signature img{
    max-width: 760px;
}

.forum-table-topics .views-field-uid {
    text-align: center;
}

.user_role {
    font-weight : bold;
    color : black;
}

.user_role.moderator, .user_role.chatmodo {
    color : green;
}
.user_role.administrator {
    color : #c90032;
}

.user_role.developpeur {
    color : rgb(171, 17, 201);
}

div.forum-node-create-links {
    padding-top: 0;
    width: auto;
    float: left;
}

.forum-node-create-links .forum-add-node {
    margin-right: 0;
    margin-top: 0;
}

.forum-node-create-links.forum-node-create-links-top .forum-add-node {
    margin-top: 0;
}

.forum-add-node.forum-add-forum .af-button-large span {
    background: none;
}

.forum-add-node.forum-add-forum a.af-button-large {
  /**  padding: 2px;
    background: none;
    text-shadow: none;
    margin-top: 0;
    box-shadow: none; **/
}

.forum-add-node.forum-add-forum a.af-button-large span{
    /** color: #c90032; **/
}

.forum-topic-legend div {
    clear: none;
    width: 23%;
}

#main-content .forum_response #block-indiemag-block_comments {
    padding: 0;
    box-shadow: none;
    border: none;
    background: white;
}
#main-content .forum_response #block-indiemag-block_comments .title-comment {
    display: none;
}
#main-content .forum_response #block-indiemag-block_comments .content h2, .block-rich .forum-post-content h2 {
    display: inline-block;
}
.forum-post-content span.tab {
    margin-right: 20px;
}
#block-indiemag-block_comments #forum-comments img, #block-system-main .forum-post-panel-main img  {
    box-shadow: none;
    padding: 0;
    border: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    opacity : 1;
    max-width: 100%;
    height: auto;
}

.last_post_little {
    margin-left: 5px;
}

.page-forum #forum .last_post_little img {
    background: url(/sites/all/themes/indiemag/images/sprite_icons.png) no-repeat top left;
    background-position: -887px 0;
    height: 9px;
    width: 18px;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    opacity : 1;
}

.topic-pager {
    float : right;
}

.pager_forum_number {
    float: left;
}

.forum-pager li.pager-current{
    font-weight: normal;
    text-decoration: none;
    color: #747474;
    padding: 0 2px;
    background-color: #c90032;
    border: 1px solid #C1C1C1;
    font-size: 0.9em;
    line-height: 1.5em;
    margin: 0 2px;
    padding: 1px 3px;
    margin: 0pt;
    color: white;
}

.pager_forum_number, ul.pager a {
    font-weight: normal;
    text-decoration: none;
    color: #747474;
    margin: 0 2px;
    padding: 0 2px;
    background-color: white;
    border: 1px solid #C1C1C1;
    font-size: 0.9em;
    line-height: 1.5em;
    color: #c90032!important;
}

.topic-new-post-link a.af-button-large span {
    background: none;
}

.forum-pager {
    float : right;
    padding: 0;
    margin-top: 6px;
}

.forum-pager .pager, .forum-comment-wrapper .pager {
    text-align: right;
    float: none;
    clear: none;
    width: auto;
}

.forum-topic-legend {
    clear: both;
    margin-top: 15px;
}

.outer_view {
}

#forum-pager-top .pager, #forum-pager-bottom .pager {
    padding: 0;
    margin: 0;
}

.markasread {
    margin-left: 15px;
    float: left;
}

.bb-code-block {
    padding: 10px 30px;
    background: white;
    border: 2px black dashed;
    word-wrap: break-word;
}

.forum-spoiler .title-spoiler {
    cursor: pointer;
    font-weight: bold;
}

.forum-spoiler  .spoiler-wrapper {
    padding: 10px 20px;
    background: white;
    border: 1px solid black;
}

.forum-spoiler  .content-spoiler {
    display:none;
    position:relative;
}

.forum-post-content .field-item {
    width : 760px;
}

.code-title {
    font-weight : bold;
}

.block-rich .topic-reply-locked .af-button-large span {
    background: none;
}

#forum-comments .topic-reply-locked {
    margin-bottom : 10px;
}