/**
 * @file less/components/announcements.less
 *
 * Copyright (c) 2014-2020 Simon Fraser University
 * Copyright (c) 2003-2020 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @brief Stylesheet components of announcements page (iteration through announcements)
 *
 */

.cmp_announcements {
	display: flex;
	flex-wrap: wrap;
	margin-top: 30px;
	margin-right: -15px;
	margin-left: -15px;
}

.cmp_announcement {
	flex: 1 0 50%;
	margin-bottom: 60px;
	justify-content: space-between;
	padding: 0 15px;
}

@media (max-width: 767px) {
	.cmp_announcements {
		flex-wrap: nowrap;
		flex-direction: column;
	}

	.cmp_announcement {
		max-width: 100%;
	}
}

