/*
  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 blocks css file
 *
 * @package    theme_zebra
 * @copyright  2011 Danny Wahl
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

.block {
	border: 1px solid [[setting:bodybgcolor]];
	margin-bottom: 4px;
}

.block .header h2 {
	margin: 4px 4px 0;
}

.block .header .block_action {
	margin: 0 4px 0 0;
}

.block .header .block_action .block-hider-hide,
.block .header .block_action .block-hider-show {
	margin-right: 2px;
}

.block .header .block_action input {
	margin-right: 0;
}

.block .header .commands .icon img {
	margin-right: 2px;
}

.block .header .commands .icon:last-of-type img {
	margin-right: 0;
}

.block .content {
	padding: 0 4px 4px 4px;
}

.block.hidden .content {
	display: none;
}

.block .content .list .c1 {
	margin-left: 4px;
}

.block .footer {
	margin: 0;
}

.side-pre-only.blocks-moving #region-post {
    display: block;
    visibility: visible;
    height: auto;
    width: auto;
}

#region-main .block {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    box-shadow: none;
}

@media screen and (min-width:[[setting:twocolmin]]) {
    .side-pre-only.blocks-moving #region-post {
        width: 200px;
    }
}

@media screen and (min-width:[[setting:threecolmin]]) {
    .side-pre-only.blocks-moving #region-post-box {
        margin-left: -400px;
    }

    .side-pre-only.blocks-moving #region-main {
        margin-left: 400px;
    }

    .side-pre-only.blocks-moving #region-pre {
        left: 200px;
    }
}