/**
 * @author: Procurios
 * @about:  mmt-meeting-list.css
 *          Default layout and structure settings of the meetling list snippet of mod_meeting2.
 */

/**
 * Generic settings, resets, defaults
 */

/** Reset lists */
.mmt-ml-meetings {
	margin: 0;
	padding: 0;
	list-style: none;
}

/** Contain floats / clearfix */
.mmt-clearfix:before, .mmt-clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}

.mmt-clearfix:after {
	clear: both;
}

.mmt-clearfix {
	zoom: 1;
}

/**
 * Search form
 */

.mmt-meeting-list form {
	margin-bottom: 1em;
	overflow: hidden;
	*zoom: 1;
}

.mmt-meeting-list label {
	position: absolute;
	left: -999em;
	top: -999em;
}

/** Reset all margins */
.mmt-meeting-list div.field,
.mmt-meeting-list div.fieldinput {
	float: left;
	width: auto;
	clear: none;
}

/** Set dimensions for search bar */
.mmt-meeting-list div.field {
	width: 80%;
}

.mmt-meeting-list div.fieldinput {
	width: 100%;
	margin: 0;
}

.mmt-meeting-list div.fieldinput input {
	width: 70%;
	height: auto;
	background-color: #fff;
}

/** Reset dimensions for submit section */
.mmt-meeting-list div.submit {
	width: auto;
}

/**
 * Pager
 */

.pbuic-pager {
	clear: both;
	margin-bottom: 1em;
}

/**
 * .mmt-meeting-list
 * Parent element, acts as container of all snippet related elements
 */

.mmt-meeting-list {
	height: 100%;
}

.mmt-meeting-list ol {
	clear: both;
}

.mmt-meeting-list ol li {
	border: 1px solid #ddd;
	border-top: 0;
	overflow: hidden;
}

.mmt-meeting-list .mmt-ml-first {
	border-top: 1px solid #ddd;
}

.mmt-ml-title-pane,
.mmt-ml-desc-pane,
.mmt-ml-footer-pane {
	margin: 0 15px;
	padding: 15px 0;
}

/**
 * .mmt-ml-title-pane
 * Contains title, registration status and labels
 */

.mmt-ml-title-pane {
	border-bottom: 1px solid #e6e6e6;
}

.mmt-ml-title-pane h3 {
	width: 100%;
	margin: 0;
	font-size: 1.3em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/** Date and location */
.mmt-ml-date-location {
	margin: 0 0 3px;
}

/** Meta data */
.mmt-ml-meta-data {
	margin: 0;
	font-size: 0.9em;
	color: #555;
}

.mmt-ml-meta-data span {
	display: block;
	float: left;
	white-space: nowrap;
	margin: 3px 10px 3px 0;
	padding-left: 20px;
	background: transparent url(../../../img/snippets/icon-registrations.png) no-repeat 0 0;
}

.mmt-ml-meta-data .mmt-ml-registrations {
	padding-left: 18px;
}

.mmt-ml-meta-data .mmt-ml-labels {
	background-image: url(../../../img/snippets/icon-labels.png);
}

/**
 * .mmt-ml-desc-pane
 * Contains image and description
 */

.mmt-ml-meeting-image {
	float: left;
}

.mmt-ml-has-image .mmt-ml-details {
	margin-left: 120px;
	overflow: hidden; /** Kills unnecessary whitespace */
}

/**
 * .mmt-ml-footer-pane
 * Contains call-to-actions
 */

.mmt-ml-footer-pane {
	padding: 0;
	border-top: 1px solid #e6e6e6;
}

.mmt-ml-footer-pane p {
	margin: 0;
}

.mmt-ml-footer-pane a,
.mmt-ml-footer-pane span {
	display: block;
	float: left;
	padding: 10px 10px 10px 32px;
	background: transparent url(../../../img/snippets/icon-read-more.png) no-repeat 10px 11px;
}

.mmt-ml-footer-pane .mmt-ml-register {
	float: right;
	background-image: url(../../../img/snippets/icon-register.png);
}

/**
 * Changes when hovering on one meeting
 */

.mmt-meeting-list ol li:hover {
	cursor: pointer;
}

.mmt-meeting-list ol li:hover .mmt-ml-footer-pane,
.mmt-meeting-list ol li:hover .mmt-ml-title-pane {
	border-color: #ccc;
}

/**
 * .mmt-meeting-list-simple
 */

.mmt-meeting-list-simple ol li {
	margin-bottom: 1em;
	border: 0;
	border-top: 1px solid #ddd;
	background-color: #fff;
	box-shadow: 0 2px 5px -1px #bbb;
}

.mmt-meeting-list-simple ol li:hover {
	color: #fff;
}

.mmt-meeting-list-simple ol li:hover .mmt-ml-date-location,
.mmt-meeting-list-simple ol li:hover .mmt-ml-date,
.mmt-meeting-list-simple ol li:hover .mmt-ml-title {
	color: #fff;
}

.mmt-meeting-list-simple .mmt-ml-first {
	border-top: 0;
}

/** Containing link to meetin */
.mmt-meeting-list-simple ol a {
	display: block;
	padding: 1em;
	text-decoration: none;
	color: #000;
}

/** Location and date */
.mmt-meeting-list-simple .mmt-ml-date-location {
	margin-bottom: 0;
	font-size: .9em;
}

/** Meeting title */
.mmt-meeting-list-simple .mmt-ml-title {
	display: block;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}