﻿
/* ===================================================
 * style.module.css
 * ===================================================
 * Represents the basic style of a module. Enough 
 * space between modules is very important here.
 * =================================================== */

/* Gives modules a minimum width */
* > .module:first-child {
    margin-top: 0px;
}
* > .module:last-child {
    margin-bottom: 0px;
}
.module {
    position: relative;
    min-height: 25px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.module-placeholder {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Removes additional space when a module is in a container */
.module .module,
.module .module-placeholder {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.module .module-placeholder {
    min-height: 300px;
}

/* Styles for an empty container module */
.empty-container-module {
    padding:100px;
    text-align: center;
    color: #BEBEC5;
    border: 1px dotted #DDDDDD;
    background-color: #FDFDFD;
}

/* Styles for better rearrangement to first/last position */
.rearrange-modules {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -20px;
    margin-bottom: -20px;
}

/* Gives container modules an minimum height when rearranging, so that the user can drop modules more easily in them */
.container-module-border {
    margin: -15px;
}
.container-module {
    padding: 15px;
    min-height: 300px;
    border: 1px dotted #DDDDDD;
    background-color: #FDFDFD;
    *zoom: 1;
}

/* Styles for a row-fluid like behaviour */
.container-module:before,
.container-module:after {
    display: table;
    content: "";
    line-height: 0;
}
.container-module:after {
    clear: both;
}
.container-module > .first-child {
    margin-left: 0;
}

/* The different widths of the modules that are in a container */
.container-module-1 > * {
    width: 100%;

    display: block;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;

    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
}
.container-module-2 > * {
    width: 48.717948717948715%;

    display: block;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;

    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
}
.container-module-3 > * {
    width: 31.623931623931625%;

    display: block;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;

    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
}
.container-module-4 > * {
    width: 23.076923076923077%;

    display: block;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;

    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
}