input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield !important;
}

.c-modal {
    position: fixed;
    top: 0;
    left:  0;
    background: #00000080;
    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: 100%;
    background: #fff;
    padding: 2rem;
    max-height: 100%;
    position: relative;
}

.js-close-modal {
    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;
}

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

div[id*="ChildGiftSubmit"] {
    display: none;
}

.c-cgf {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	width: 100%;
}

.c-cgf__title-holder {
	display: flex;
	flex-wrap: wrap;
	background: #efefef;
	margin-bottom: 1rem;
	width: 100%;
}

.c-cgf__title,
.c-cgf__amount-holder {
	padding: .5rem 1rem;
}

.c-cgf__title {
	font-family: 'Linotype Tetria';
	align-self: center;
}

.c-cgf__amount-holder {
	display: flex;
	align-items: center;
}

.c-cgf__amount-holder select {
    flex: 1;
}

.c-cgf__multiplier {
	font-weight: bold;
	margin-right: .5rem;
	font-size: .9rem;
}

.c-cgf__help {
	background: #efefef;
	border-radius: 5px;
	border-top: 5px solid #4187c5;
	padding: .5rem;
	align-self: flex-start;
	font-size: .9rem;
	text-align: center;
	position: relative;
	margin-bottom: 1.5rem;
}

.c-cgf__help::before {
	content: '\f0d8';
	font-family: 'ci-icons';
	color: #4187c5;
	font-size: 2rem;
	position: absolute;
	top: -34px;
	left: calc(50% - 9px);
}

.c-cgf__help > p {
	margin: 0;
}

.c-cgf__child {
	box-shadow: 0 0 10px #00000040;
	border-radius: 5px;
	border-left: 7px solid #4187c5;
	display: flex;
	margin: 0 .5rem .5rem;
	flex: 13rem;
}

.c-cgf__child-photo-holder {
	height: 100px;
	min-height: 100%;
	overflow: hidden;
	margin-right: .5rem;
	flex: none;
}

.c-cgf__child-photo {
	width: 100%;
	height: 100%;
	background: #ccc;
}

.c-cgf__child-info {
	align-self: center;
	display: flex;
	flex-wrap: wrap;
}

.c-cgf__child-name {
	font-weight: bold;
	font-size: .9rem;
	width: 100%;
	padding: .25rem .5rem;
}

.c-cgf__child-info-holder {
	color: #999;
	font-size: .9rem;
	padding: .25rem .5rem;
}

.c-cgf__child-info-holder > span {
	font-weight: bold;
	color: #464646;
}

.c-cgf__sponsor-holder {
	width: 100%;
}

.c-form__radio-holder {
	display: flex;
	margin-bottom: 1rem;
}

.c-form__radio {
	margin-right: .5rem;
	align-self: flex-start;
}

.c-form__radio-label {
	font-weight: bold;
	cursor: pointer;
}

.c-cgf__sponsor-options {
	margin-bottom: 1rem;
	padding-left: 1.75rem;
	display: none;
}

.c-cgf__sponsor-options .c-form__select-holder {
	margin-bottom: 1rem;
}

.c-cgf__sponsor-options label {
	font-weight: bold;
	display: block;
	color: #0054a6;
}

.c-cgf-totals {
	background: #ccc;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-bottom: 2rem;
	width: 100%;
}

.c-cgf-totals__monthly-holder {
	display: none;
}

.c-cgf-totals__monthly-holder,
.c-cgf-totals__today-holder {
	padding: .5rem 1rem;
	font-size: 1rem;
}

.c-cgf-totals__monthly,
.c-cgf-totals__today {
	font-weight: bold;
	font-size: 1.3rem;
	display: inline-block;
	margin-left: .25rem;
}

.c-cgf__button-holder {
	margin-bottom: 2rem;
	display: flex;
	justify-content: flex-end;
}

.c-cgf__additional-other__holder {
    flex: 2;
    position: relative;
    margin-left: .5rem;
    display: none;
}

.c-cgf__additional-amount {
    width: 100%;
    padding-left: 1.25rem !important;
}

.c-cgf__additional-amount::-webkit-inner-spin-button, 
.c-cgf__additional-amount::-webkit-outer-spin-button {
        -webkit-appearance: none;
}

.c-form__currency {
    position: absolute;
    top:  .5rem;
    left: .5rem;
}

.c-cgf__graphic {
    width: 100%;
    max-width: 23.5rem;
}

.c-cgf__spec {
    display: none;
}

.c-video {
	border: 0;
}

.c-cgf__video-trigger {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    visibility: hidden;
}

.c-cgf__thank-you-video {
    width: 100%;
    max-width: 45.5rem;
    display: block;
    margin: 0 auto;
}

.c-cgf__thank-you-title {
    margin-top: 2rem;
    text-align: center;
}

.c-cgf__thank-you-links {
    text-align: center;
}

.c-cgf__write-link {
    font-size: 1.5rem;
}

.c-cgf__children {
    display: flex;
    flex-wrap: wrap;
}

#divError {
    background: pink;
    border: 3px solid red;
    padding: 1rem 1rem 0;
}

@supports (object-fit: cover) {
	.c-cgf__child-photo {
		height 100%;
		object-fit: cover;
		object-position: center;
	}
}

@media (min-width: 45.5rem) {
	.c-cgf__title {
		flex: 66.667%;
		font-size: 1.5rem;
	}
	.c-cgf__amount-holder {
		flex: 33.333%;
	}
	.c-cgf__help {
		width: calc(50% - 1rem);
		left: 50%;
	}
	.c-cgf__additional-amount {
		min-width: 4rem;
	}
	.c-cgf__children {
		flex: 75%;
		order: 3;
		padding-right: 1rem;
	}
	.c-cgf__child-photo-holder {
		width: 75px;
	}
	.c-cgf__sponsor-options .c-form__select-holder {
		display: flex;
		margin-bottom: 1rem;
	}
	.c-cgf__sponsor-options label {
		width: 35%;
		max-width: 35%;
		min-width: 35%;
		padding-right: 1rem;
		text-align: right;
		align-self: center;
	}
	.c-cgf__sponsor-options select {
		width: 12rem;
	}
	.c-cgf__content {
		padding: 1rem;
	}
	.c-cgf__video {
		margin: 1.5rem 1rem;
	}
	.c-cgf-holder {
		margin-right: 1rem;
	}
}

@media (max-width: 45.5rem) {
	.c-cgf__title {
		font-size: 1.3rem;
	}
	.c-cgf__amount-holder {
		width: 100%;
	}
	.c-cgf__help {
		width: 100%;
	}
	.c-cgf__child-photo-holder {
		width: 5rem;
	}
	.c-cgf__child-info {
		flex: 75%;
	}
	.c-cgf__sponsor-options label {
		margin-bottom: .5rem;
	}
	.c-featured__image {
		width: 100%;
		object-fit: cover;
		object-position: right center;
	}
	.c-cgf__video {
		margin-bottom: 2rem;
	}
}

@media (min-width: 32.5rem) and (max-width: 45.5rem) {
	.c-featured__image {
		height: 285px;
	}
}

@media (max-width: 32.5rem) {
	.c-featured__image {
		height: 200px;
	}
}

@media (min-width: 52.5rem) {
	.c-cgf__child {
		max-width: calc(50% - 1rem);
	}
}