/* Fixes for clipped tone marks */

.section.section-it .centered-headline {
	padding-top: 0.125em;
}

.section-experience .centered-headline {
	padding-top: 0.125em;
}

.section-values .centered-headline {
	padding-top: 0.125em;
}

.section-how-to-buy .centered-headline {
	padding-top: 0.125em;
}

/* Fixes for longer copy */

@media only screen and (max-width: 1239px) {
	.section-experience .card .card-front-two-col {
		margin: 0;
	}
}

.section-experience .card .card-headline {
	max-width: none;
}

/* Fix for fewer columns */

.section-how-to-buy .blurbs {
	grid-template-columns: repeat(2, 1fr);
}

/*ribbon*/
.has-modal {
	overflow: hidden;
}

.has-modal-full-viewport {
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.has-modal-full-viewport body {
	height: 100%;
	overflow: hidden;
}

.modal {
	position: fixed;
	z-index: -1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: none;
}

.modal-standard {
	overflow: auto;
	padding: 54px 0;
	background: rgba(0, 0, 0, 0.48);
	-webkit-overflow-scrolling: touch;
}

@media only screen and (max-width: 480px) {
	.modal-standard {
		padding-top: 20px;
		padding-bottom: 0;
	}
}

.modal-standard .content-table {
	display: table;
	width: 100%;
	height: 100%;
}

.modal-standard .content-cell {
	display: table-cell;
	vertical-align: middle;
}

.modal-standard .content-wrapper {
	margin-left: auto;
	margin-right: auto;
	width: 980px;
}

@media only screen and (min-width: 1441px) {
	.modal-standard .content-wrapper {
		margin-left: auto;
		margin-right: auto;
		width: 980px;
	}
}

@media only screen and (max-width: 1068px) {
	.modal-standard .content-wrapper {
		margin-left: auto;
		margin-right: auto;
		width: 692px;
	}
}

@media only screen and (max-width: 734px) {
	.modal-standard .content-wrapper {
		margin-left: auto;
		margin-right: auto;
		width: 87.5%;
	}
}

@media only screen and (max-width: 734px) {
	.modal-standard .content-wrapper {
		min-width: min(100%, 480px);
	}
}

@media only screen and (max-width: 480px) {
	.modal-standard .content-wrapper {
		min-width: 100%;
		width: 100%;
		height: 100%;
	}
}

.modal-standard .content-padding {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 1;
	padding: 80px 8.33333%;
	background: #fff;
	border-radius: 18px;
}

@media only screen and (max-width: 734px) {
	.modal-standard .content-padding {
		padding-top: 80px;
		padding-bottom: 60px;
	}
}

@media only screen and (max-width: 480px) {
	.modal-standard .content-padding {
		flex-basis: 100%;
		max-width: 100%;
		padding-left: 6.25%;
		padding-right: 6.25%;
		box-sizing: border-box;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		height: 100%;
	}
}

@media only screen and (max-width: 1068px) {
	.modal-standard .modal-close {
		left: 17px;
		top: 18px;
	}
}

.theme-dark .modal-standard .content-padding, .modal-standard.theme-dark .content-padding {
	background: #1d1d1f;
}

.modal-full-viewport {
	background: #fff;
	padding: 96px 0;
}

@media only screen and (max-width: 1068px) {
	.modal-full-viewport {
		padding: 80px 0;
	}
}

.modal-full-viewport.remove-container-padding {
	padding: 0;
}

.theme-dark .modal-full-viewport, .modal-full-viewport.theme-dark {
	background: #000;
}

.modal-open {
	display: block;
	z-index: 11000;
}

.modal-open:focus {
	outline-offset: -4px;
}

.modal-close {
	position: absolute;
	display: flex;
	z-index: 9999;
	overflow: hidden;
	top: 24px;
	left: 24px;
	margin: 0;
	padding: 0;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
	background: none;
	border: 0;
	color: rgba(134, 134, 139, 0.8);
}

.modal-close::before, .modal-close::after {
	font-family: "SF Pro Icons";
	color: inherit;
	display: inline-block;
	font-style: normal;
	font-weight: inherit;
	font-size: inherit;
	line-height: 1;
	text-decoration: underline;
	position: relative;
	z-index: 1;
	alt: "";
}

.modal-close::before, .modal-close::after {
	text-decoration: none;
}

.modal-close::before {
	display: none;
}

.modal-close::before, .modal-close::after {
	content: "";
}

.modal-close:hover {
	color: #86868b;
}

.theme-dark .modal-close {
	color: rgba(110, 110, 115, 0.8);
}

.theme-dark .modal-close:hover {
	color: #6e6e73;
}

.modal-close::after {
	width: 0.9em;
	height: 0.9em;
	top: 0.05em;
	padding: 0;
	font-weight: 300;
}

@media only screen and (max-width: 1068px) {
	.modal-close {
		top: 20px;
		left: 20px;
		font-size: 32px;
	}
}

@keyframes ribbon-drop {
	0% {
		transform: translateY(-100%);
	}

	100% {
		transform: translateY(0);
	}
}

/* Education savings ribbon - Start */
.ribbon-education-savings {
	position: relative;
	z-index: 1;
}
/* Education savings ribbon - End */
