/*
 ************************************************************
 * DONATION
 ************************************************************
 * ----------------------------------------------------------
 * GLOBAL
 * ----------------------------------------------------------
 *
 * - ELEMENT
 */

#top.home,
#top.home #wrap_all
{
	overflow: visible !important;
}

#top .donation label,
#top .donation input
{
	font-size: 16px;
	color: var(--color-cvi-2) !important;
}

@media only screen and (max-width: 639px)
{
	#top .donation label
	{
		font-size: 14px;
	}
}

#top .donation input
{
	margin: 0 !important;
	background-color: var(--color-white) !important;
}

#top .donation a
{
	text-decoration: underline;
}

#top .donation__fieldset--stone label,
#top .donation__fieldset--additional label
{
	display: none;
}

#top .donation__data .required
{
	color: #FF0000;
}

#top .donation__legend
{
	width: 100%;
	font-weight: 600;
	font-size: 18px;
}

#top .donation__amount span
{
	padding-top: 16px;
	font-size: 16px;
}

#top .donation__field--submit
{
	margin-top: 16px;
}

#top .donation__field--error .donation__input
{
	border-color: #d00 !important;
}
#top .donation__field--error label
{
	color: #d00;
}

/*
 * - FLEX
 */

#top .donation__form,
#top .donation__data,
#top .donation__side,
#top .donation__preview,
#top .donation__fieldset
{
	display: flex;
	flex-direction: column;
	grid-gap: 20px;
}

#top .donation__fieldset
{
	grid-gap: 16px;
}

/*
 * - FORM
 */

#top .donation__form
{
	grid-gap: 3%;
}

@media only screen and (min-width: 990px)
{
	#top .donation__form
	{
		flex-direction: row;
	}
}

/*
 * - FIELDSET
 */

#top .donation__fieldset--affiliation
{
	flex-wrap: wrap;
	flex-direction: row;
}

@media only screen and (max-width: 639px)
{
	.responsive #top .donation__fieldset--affiliation
	{
		flex-direction: column;
	}
}

#top .donation__fieldset--affiliation .donation__legend
{
	padding: 24px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: var(--color-lightgray-1);
}

#top .donation__fieldset--amount
{
	padding-bottom: 40px;
	border-bottom: 1px solid var(--color-lightgray-2);
}

#top .donation__fieldset--actions
{
	padding-top: 40px;
	border-top: 1px solid var(--color-lightgray-2);
}

/*
 * - PREVIEW
 */

#top .donation__fieldset--preview,
#top .donation__preview
{
	justify-content: center;
	align-items: center;
}

#top .donation__fieldset--preview .donation__legend
{
	margin-bottom: 24px;
}

#top .donation__preview
{
	width: 100%;
	padding: 2cqw;
	grid-gap: 2cqw;
	container-type: size;
	aspect-ratio: 2 / 1;
	background-color: #aaaaaa;
	background-image: url('../img/stone-sample.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

#top .donation__preview > div
{
	text-transform: uppercase;
	text-align: center;
	line-height: 1;
	font-weight: 600;
	font-size: 10cqw;
}

#top .donation__preview .donation__name
{
	font-size: 10cqw;
	color: #cc9f49;
}

#top .donation__preview .donation__more
{
	font-size: 6cqw;
	color: #cc9f49;
}

/*
 * - DATA
 */

#top .donation__data
{
	grid-gap: 40px;
}

@media only screen and (max-width: 990px)
{
	.responsive #top .donation__data
	{
		padding: 0;
	}
}

@media only screen and (min-width: 990px)
{
	.responsive #top .donation__data
	{
		width: 50%;
	}
	.responsive #top .donation__data .donation__fieldset--preview
	{
		display: none;
	}
}

/*
 * - SIDE
 */

#top .donation__side
{
	padding: 24px;
	border-radius: 16px;
	background-color: var(--color-lightgray-1);
}

@media only screen and (max-width: 989px)
{
	.responsive #top .donation__side
	{
		display: none;
	}
}

@media only screen and (min-width: 990px)
{
	.responsive #top .donation__side
	{
		width: 50%;
	}

	.responsive #top .donation__side .donation__fieldset--preview
	{
		position: sticky;
		top: 145px;
		left: 0;
		display: block;
	}
}