/*
  This file is part of Moodle - http://moodle.org/
  Moodle is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  Moodle is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
*/

/**
 * zebra theme modules css file
 *
 * @package    theme_zebra
 * @copyright  2011 Danny Wahl
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* Forum */

.path-mod-forum .forumheaderlist td {
    border: 0 none;
}

.path-mod-forum .forumheaderlist {
    border: 1px solid [[setting:bodybgcolor]];
}

.forumpost {
    border: 0 none;
}

.forumpost .header {
    height: 35px;
    border-bottom: 3px solid;
    background-color: [[setting:linkcolor]];
    border-bottom-color: [[setting:bodybgcolor]];
}

.forumpost.unread .header {
    border-color: [[setting:hovercolor]];
}

span.unread {
    background-color: [[setting:hovercolor]];
}

.forumpost .header .subject {
    color: [[setting:contentbgcolor]];
}

.forumpost .header .author {
    color: [[setting:bodybgcolor]];
}

.forumpost .header a {
    color: [[setting:contentbgcolor]];
}

.forumpost .maincontent {
    padding: 4px;
    width: auto;
    border-width: 0 1px 1px;
    border-style: solid;
    border-color: [[setting:bodybgcolor]];
}

.forumpost.unread .maincontent {
    border-color: [[setting:hovercolor]];
    -moz-box-shadow: 0 2px 3px [[setting:hovercolor]];
    -webkit-box-shadow: 0 2px 3px [[setting:hovercolor]];
    box-shadow: 0 2px 3px [[setting:hovercolor]];
}

.forumpost .picture img {
    margin: 0;
}

.forumpost .row .options {
    padding: 4px 0;
    margin-left: 0;
}

.forumpost .row .options .commands {
    float: right;
}

.forumpost .row .options .commands:before {
    content: " ";
    margin-left: 5px;
}

.forumpost .row .options .link {
    float: right;
}

.forumpost .row .left {
    width: auto;
}

.forumpost .row .left .grouppictures a {
    padding: 0 7px 4px 3px; /* Add padding between group pictures */
    margin: 0 4px 0 0; /* Margin between border and post content */
    width: 20px; /* 35 -4 padding -2 border */
    height: 20px; /* Size of the images */
}

.forumpost .row .left .grouppictures a:last-of-type {
    padding-bottom: 0;
}