/*
 * Plugin Name: MND Fan Sidebar
 * Description: Styling the custom widgets.
*/


/* Latest projects widget
-------------------------------------------------------------- */

ul.mndfs-latest-projects {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.mndfs-latest-projects li {
	display: table;
	width: 100%;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	list-style: none;
}

ul.mndfs-latest-projects li:last-child {
	margin: 0;
}

.mndfs-project-image {
	margin: 5px 0 10px 0;
}

ul.mndfs-latest-projects li:first-child .mndfs-project-image {
	margin: 0 0 10px 0;
}

.mndfs-project-title {
	font-weight: 700;
}

.mndfs-project-year {
	font-weight: 400;
}

.mndfs-project-role {
	font-style: italic;
}

.mndfs-project-status {
	text-decoration: underline;
}

.mndfs-project-synopsis {
	margin: 10px 0 0 0;
}

.mndfs-project-links {
	display: flex;
	display: -webkit-flex;
	margin: 0 -5px;
	padding: 10px 0 0 0;
	text-align: center;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: center;
	-webkit-justify-content: center;
}

.mndfs-project-info,
.mndfs-project-news,
.mndfs-project-photos,
.mndfs-project-videos,
.mndfs-project-imdb,
.mndfs-project-official {
	display: inline-block;
	margin: 0 5px;
}


/* Featured albums widget
-------------------------------------------------------------- */

.mndfs-featured-albums {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: -4px;
}

.mndfs-album-image {
	margin: 0 0 5px 0;
}

.mndfs-album-details {
	line-height: 1.5;
	text-align: center;
}

.mndfs-album-date {
	font-size: .75em;
}

.mndfs-album-title {
	font-size: .85em;
}

.mndfs-album-2,
.mndfs-album-3,
.mndfs-album-4,
.mndfs-album-5,
.mndfs-album-6,
.mndfs-album-7,
.mndfs-album-8,
.mndfs-album-9,
.mndfs-album-10 {
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 4px;
	vertical-align: top;
}

.mndfs-album-2 {
	width: 50%;
}

.mndfs-album-3 {
	width: 33.333%;
}

.mndfs-album-4 {
	width: 25%;
}

.mndfs-album-5 {
	width: 20%;
}

.mndfs-album-6 {
	width: 16.67%;
}

.mndfs-album-7 {
	width: 14.29%;
}

.mndfs-album-8 {
	width: 12.5%;
}

.mndfs-album-9 {
	width: 11.11%;
}

.mndfs-album-10 {
	width: 10%;
}


/* Elite affiliates widget
-------------------------------------------------------------- */

.mndfs-elite-affiliates,
.mndfs-affiliate-cats {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: -2px;
}

.mndfs-affiliate-text {
	font-size: 9px;
	font-weight: 400;
	line-height: 1.5;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 18.65%;
	margin: 2px;
	padding: 5px 0;
	text-align: center;
	border: 1px solid #ccc;
}

.mndfs-affiliate-text a {
	display: block;
	color: #555;
}

.mndfs-affiliate-text a span {
	font-weight: 700;
	display: block;
}

.mndfs-affiliate-image {
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 2px;
}

.mndfs-affiliate-status {
	margin: 5px 0 0 0;
	text-align: center;
}


/* Welcome message widget
-------------------------------------------------------------- */

.mndfs-welcome-image {
	margin: 0 0 10px 0;
}


/* Patterns
-------------------------------------------------------------- */

.mndfs-project-image img,
.mndfs-album-image img,
.mndfs-affiliate-image img,
.mndfs-welcome-image img {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
	margin: 0!important;
	vertical-align: middle;
}
