/**
 * MagicSubscriptions WordPress Plugin
 * Copyright (C) 2019 Ronnie Barker
 *
 * This program 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.
 *
 * This program 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 this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 **/

/* /////////////////////// v Metal -> Nickel -> Plans v ////////////////// */

.magic-subs.ms-plans.ms-metal-Nickel
{
	flex-flow: row wrap;
	display: flex;
	place-content: stretch space-around;
	align-items: stretch;
}



.magic-subs.ms-plans.ms-metal-Nickel .ms-card
{
	padding: 16px;
	border-radius: 4px;
	box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
}



/* /////////////////////// ^ Metal -> Nickel -> Plans ^ ////////////////// */

/* /////////////////////// v Metal -> Nickel -> Products v ////////////////// */

.magic-subs.ms-products.ms-metal-Nickel
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product
{
	padding: 1em;
	margin: 8px;
	color: #555;
	border: 1px solid transparent;
	transition: all 0.25s ease;
	position: relative;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-product-content
{
	width: 14em;
	display: flex;
	flex-direction: column;
	height: 100%;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product:hover
{
	box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
	border-color: #555;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product:after
{
	position: relative;
	top: 20px;
	content: ' ';
	width: 80%;
	border-bottom: solid 1px rgba(var(--ms-theme-primary-rgb), 0.2);
	margin-left: auto;
	margin-right: auto;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-image
{
	height: 14em;
	width: 14em;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-title
{
	margin: 12px 12px 0 12px;
	font-size: 20px;
	font-weight: var(--ms-font-weight-bold);
	flex-grow: 1;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-price
{
	margin: 0 12px 12px 12px;
	font-size: 20px;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product form
{
	margin: 0;
	display: flex;
	flex-direction: row;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-actions
{
	display: flex;
	flex-direction: column;

	opacity: 0;
	transition: all 0.25s ease;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product:hover .ms-actions
{
	opacity: 1;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-button
{
	margin: 0 12px;
	flex-grow: 1;
	line-height: 24px;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-tags
{
	position: absolute;
	left: -1px;
	top: -1px;
	opacity: 1;
	z-index: 1;
}



.magic-subs.ms-products.ms-metal-Nickel .ms-product .ms-tags .ms-tag
{
	background-color: var(--ms-theme-accent);
	padding: 4px 8px;
	color: var(--ms-theme-accent-contrast);
	border-radius: 2px;
	font-weight: var(--ms-font-weight-bold);

	float: right;
	margin: 2px;

	box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
}



/* /////////////////////// ^ Metal -> Nickel -> Products ^ ////////////////// */
