#game h1,
#game .pizza-name,
#game p,
.ribbon-content, .intro-para, .pizza-name {
	font-family: 'Quadraat',Georgia, serif;
}

#game h1 {
	font-size: 70px;
	margin-bottom: 25px;
}

#game p {
	font-size: 18px;
}

#game div > a {
	text-decoration: underline;
}

.page-body {
	width: 100%;
	height: 100%;
	background: transparent url("../../img/wordsearch/game-bg.jpg") top center no-repeat;
	display: block;
}

.bg-spacer {
	width: 100%;
	height: 406px;
	display: block;
}

.intro-para {
	font-size: 24px;
	line-height: 32px;
}

.game-wrapper {
	width: 1000px;
	max-width: 1000px;
	text-align: center;
	margin: 0px auto;
	padding-top: 90px;
}

.intro {
	width: 550px;
	margin: 0px auto 35px;
}

table.anscss {
	margin: 0 auto;
}

table .wsearchcss {
	/*	margin:0 auto;*/
	width: 100%;
}

.wsearchcss td {
	/*	padding: 8px 14px;*/
	margin: 1px;
	text-align: center;
	vertical-align: middle;
	font-family: 'Open Sans', arial;
	font-size: 28px;
	line-height: 2em;
	font-weight: 300;
	cursor: pointer;
}

table td.highlighted {
	color: #ffffff !important;
	background-color: #c1c1c1 !important;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

table td.answers {
}

table td.correct {
	color: #FFFFFF;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

.wsearchcss {
	cursor: pointer;
}

.anscss {
	margin: 0px auto;
	overflow: hidden;
	clear: both;
	padding: 0;
	width: 33em;
}

	.anscss li {
		float: left;
		display: inline;
		width: 8em;
		text-align: center;
	}

	.anscss .answers,
	.anscss .correct {
		font-size: 21px;
		font-family: 'Open Sans', arial, sans-serif;
		font-weight: 300;
	}

	.anscss .correct {
		text-decoration: line-through;
		color: #000000;
	}

.list-wrapper {
	width: 100%;
	margin: 0px auto 20px;
}

.list-body {
	width: 566px;
	margin: 0 auto;
	padding: 8px;
	background-color: #dadada;
	border-radius: 8px;
}

.list-border2 {
	border: 1px solid #000000;
	border-radius: 8px;
	background-color: #ffffff;
	padding: 10px;
}

.grid-body {
	background-color: #dadada;
	border-radius: 8px;
	width: 566px;
	padding: 8px;
	margin: 0 auto;
}

.wrdsgrid {
	background-color: #ffffff;
	border-radius: 8px;
	border: 1px solid #000000;
	width: 100%;
}

#dialog {
	display: none;
	position: fixed;
	z-index: 100;
	left: 50%;
	top: 10%;
	transform: translate(-50%, -10%);
	width: 100%;
}

.pizza-name {
	font-size: 34px;
	line-height: 34px;
	text-align: center;
}

.finished-dialog {
	border: none;
	background: none;
	border-radius: 0px;
	padding: 0px;
	position: fixed;
}

.dialog-body {
	padding-top: 2em;
}
/*start ribbon*/
.ribbon-container {
	background: transparent !important;
	position: relative;
	z-index: 1;
}

.ribbon {
	background-color: #bb2828;
	color: #ffffff;
	font-size: 45px;
	line-height: 1.0;
	text-align: center;
	margin: 0 auto;
	position: relative;
	width: 486px;
}

	.ribbon:before,
	.ribbon:after {
		border: 0.9em solid #911c1c;
		content: '';
		display: block;
		position: absolute;
		bottom: -0.7em;
		z-index: -1;
	}

	.ribbon:before {
		left: -1.4em;
		border-right-width: 1.5em;
		border-left-color: transparent;
	}

	.ribbon:after {
		right: -1.4em;
		border-left-width: 1.5em;
		border-right-color: transparent;
	}

.ribbon-content {
	display: block;
	padding: 0.389em 0;
}

	.ribbon-content:before,
	.ribbon-content:after {
		content: '';
		display: block;
		position: absolute;
		border-style: solid;
		border-color: #390c0c transparent transparent transparent;
		bottom: -0.4em;
	}

	.ribbon-content:before {
		left: 0;
		border-width: 0.4em 0 0 0.75em;
	}

	.ribbon-content:after {
		right: 0;
		border-width: 0.4em 0.75em 0 0;
	}

.ribbon a {
	text-decoration: none;
}

.underpage {
	color: #000000;
	margin: 0 auto;
	padding: 6em 0 0 0;
	position: relative;
	top: -6em;
	width: 410px;
	z-index: -1;
	border: 4px solid #ffffff;
	background-color: #eeb150;
	border-radius: 4px;
	text-align: center;
	overflow: hidden;
	height: 400px;
}
/*end ribbon*/
.dialog-doughball {
}

	.dialog-doughball.left {
		left: 0px;
		float: left;
		z-index: 10;
		width: 103px;
		margin-top: 40px;
	}

	.dialog-doughball.right {
		right: 0px;
		float: right;
		z-index: 10;
		width: 109px;
		margin-top: 88px;
	}

#dialog button.dialog-button {
	background-color: #ffffff;
	border: 1px solid #000000;
	font-family: AkuratMono ,sans-serif;
	padding: 20px 36px;
	margin: 30px auto 0;
	cursor: pointer;
	font-size: 18px;
	line-height: 18px;
}

.dialog-body p {
	margin: 10px;
}

.wordsearch-overlay {
	display: none;
	background: #000000;
	opacity: 0.6;
	width: 100%;
	height: 100%;
	z-index: 99;
	position: fixed;
}

.pizza-ani {
	position: fixed;
	z-index: 200;
	width: 1000px;
	text-align: center;
	top: 340px;
	left: 50%;
	transform: translate(-50%);
	overflow: hidden;
}

	.pizza-ani img {
		position: relative;
		left: -988px;
	}

@media only screen and (max-width: 1000px) {
	.game-wrapper {
		width: 100%;
	}

	#wordsearch .wordsearch__letter {
		font-size: 21px;
	}
}

@media only screen and (max-width: 624px) {
	.list-wrapper {
		width: 90%;
	}

	.anscss {
		width: 100%;
		text-align: center;
	}

		.anscss .answers,
		.anscss .correct {
			float: none;
			display: inline-block;
			width: 100%;
		}

	.mobhide {
		display: none !important;
	}

	#wordsearch .list {
		width: 90%;
	}

	.wrdsgrid {
		width: 100%;
	}

	.wsearchcss {
		width: 100%
	}

		.wsearchcss td {
			/*		padding:2px 3px;*/
			font-size: 21px;
			line-height: 9vw;
		}

	#wordsearch .wordsearch__letter {
		line-height: calc(100vw / 10);
	}

	.grid-body {
		width: calc(100% - (8px * 2));
	}

	.grid-wrapper {
		width: 90%;
		margin: 0 auto;
	}

	.intro {
		width: 90%;
	}

	#game .intro h1 {
		font-size: 35px;
	}

	#dialog {
		width: 100% !important;
	}

	.dialog-body p {
		font-size: 16px;
		line-height: 22px;
		padding: 0 10px;
	}

	.dialog-body .pizza-name {
		font-size: 28px;
		line-height: 28px;
	}

	.intro-para {
		font-size: 18px;
		line-height: 24px;
	}

	.list-body {
		width: calc(100% - (8px * 2));
	}

	#dialog button.dialog-button {
		padding: 10px 22px;
		font-size: 16px;
		float: none;
		margin-top: 20px;
	}

	.ribbon {
		width: 80%;
		font-size: 28px;
	}

	.underpage {
		top: -4em;
		padding-top: 60px;
		width: calc(80% - 50px);
	}

	.ribbon:before {
		left: -30px;
	}

	.ribbon:after {
		right: -30px;
	}

	.pizza-ani {
		width: 100%;
	}

		.pizza-ani img {
			width: 100%;
			height: auto;
		}

	.dialog-doughball.left {
		display: none;
	}

	.dialog-doughball.right {
		margin-top: 20px;
		width: 100%;
	}
}

@media only screen and (max-width: 464px) {
	.dialog-doughball.right img {
		width: 80px;
		height: auto;
	}
}

@media only screen and (max-width: 360px) {
	.grid-wrapper {
		width: 85%;
	}

	.grid-body {
		padding: 0px;
		width: 100%;
	}

	.list-body {
		width: 95%;
		padding: 0px;
	}
}
@media only screen and (max-width: 480px) {
	.justify-screen-resize {
		-webkit-box-pack: center;
		justify-content: start;
		padding-top:2rem;
	}
}

@media only screen and (min-width: 481px) {
	.justify-screen-resize {
		-webkit-box-pack: center;
		justify-content: center;
	}
}

@media only screen and (min-width: 992px) {
	.half-align-text {
		-webkit-box-flex: 0;
		flex: none;
		width: 50%;
		word-break: break-word;
	}
}
.no-width {
	min-width: 0rem !important;
}

@media (max-width: 480px) {
	.btn-container button {
		font-size: 14px;
	}
}