.c-modal {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .7);
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	display: none;
}

.c-modal__container {
	max-width: 62.5rem;
	width: calc(100% - 2rem);
	max-height: calc(100% - 2rem);
	position: relative;
}

.c-modal__close {
	position: absolute;
	right: 0px;
	top: 0px;
	background: #990000;
	color: #fff;
	font-weight: bold;
	font-family: 'Linotype Tetria', sans-serif;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	display: flex;
	cursor: pointer;
	border-top-right-radius: 5px;
}

.c-modal__content {
	width: 100%;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
}



.c-modal__content {
	background: #fff;
	border-radius: 5px;
}

.c-catalog-modal__success {
	background: #efefef;
	padding: 2rem;
}

.c-catalog-modal__related-gifts {
	padding: 2rem;
}

.c-catalog-modal__success-title {
	text-transform: uppercase;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: .5rem 0;
	color: green;
}

.c-catalog-modal__success-image {
	float: left;
	width: 5rem;
	margin: 0 1rem 1rem 0;
}

.c-catalog-modal__success-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.c-catalog-modal__continue-holder {
	flex: 14.25rem;
}

.c-catalog-modal__checked-holder {
	flex: 14.25rem;
}


.c-catalog-modal .c-catalog-top-gifts__image {
	width: 4rem;
}

.c-catalog-modal .c-catalog-top-gifts__gift {
	padding-bottom: 0;
	border-bottom: 0;
}

.c-catalog-modal .c-catalog-top-gifts__gift h5 {
	font-size: 1.25rem;
}


@media (min-width: 45.5rem) {

	.c-catalog-modal {
		display: flex;
	}
	.c-catalog-modal__success {
		border-right: 1px solid #ccc;
		flex: 25rem;
	}
	.c-catalog-modal__related-gifts {
		flex: 5rem;
	}
}


@media (max-width: 45.5rem) {

	.c-catalog-modal__success-image {
		display: none;
	}
}

@media (min-width: 32.5rem) {
	.c-catalog-modal__checked-holder {
		text-align: right;
	}
}

@media (max-width: 32.5rem) {
	.c-catalog-modal__continue-holder {
		margin-bottom: 1rem;
	}
	.c-catalog-modal__continue-holder,
	.c-catalog-modal__checked-holder {
		text-align: center;
	}
}

.c-catalog-modal--product {
	flex-wrap: wrap;
	background: #efefef;
}

.c-catalog-modal__image-holder {
	flex: 15rem;
}

.c-catalog-modal__content-holder {
	flex: 25rem;
}

.c-catalog-modal__controls {
	width: 100%;
	background: #fff;
	border-top: 1px solid #ccc;
}

.c-catalog-modal__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-catalog-modal__title {
	border-bottom: 1px solid #ccc;
	padding-bottom: .5rem;
	margin-bottom: 1rem;
	color: #0054a6;
}

.c-catalog-modal__amounts {
	display: flex;
	flex-wrap: wrap;
	margin-right: -1rem;
}

.c-catalog-modal__amount {
	margin-right: 1rem;
}

.c-catalog-modal__amount-description {
	text-transform: uppercase;
	font-family: 'Linotype Tetria', sans-serif;
	color: #777;
	font-size: .9rem;
}

.c-catalog-modal__amount-amount {
	font-family: 'Linotype Tetria', sans-serif;
	font-size: 1.75rem;
	line-height: 1em;
}

.c-catalog-modal__donate h5 {
	width: 100%;
}


.c-catalog-modal--product .c-catalog-modal__controls {
	font-weight: bold;
	font-size: .9rem;
	display: flex;
}

.c-catalog-modal__cancel-holder,
.c-catalog-modal__more-holder {
	padding: 1rem 2rem;
	flex: 1;
}

.c-catalog-modal__more-holder {
	text-align: right;
}

.c-catalog-modal__cancel {
	color: #777;
	text-decoration: none;
}

.c-catalog-modal__donate .c-donate__input-holder,
.c-catalog-modal__donate .o-button--catalog-submit {
	flex: 1;
}

.c-catalog-modal__donate .o-button--catalog-submit {
	margin: .5rem;
}


@media (min-width: 45.5rem) {
	.c-catalog-modal__image-holder {
		padding: 2rem .5rem 1rem 2rem;
	}
	.c-catalog-modal__content-holder {
		padding: 2rem 2rem 1rem .5rem;
	}
}

@media (max-width: 45.5rem) {
	.c-catalog-modal__image-holder {
		padding: 2rem 2rem 1rem;
	}
	.c-catalog-modal__content-holder {
		padding: 1rem 2rem;
	}
}

