.spelling-main {
	
	width: 740px;
	margin: 0 auto;
}

.spelling-header {
	
	position: relative;
	background: transparent url('../images/header_01.jpg') top left no-repeat;
	height: 119px;	
}

.spelling-menu-select {
	
	position: absolute;
	top: 20px;
	right: 10px;
	background: transparent url('../images/header_02.gif') top left no-repeat;
	padding-top: 20px;
}

.spelling-main-menu {
	
	margin-top: 1px;
	padding: 0 10px;
	background: #990000 url('../images/bg.gif') top left repeat-x;
}

.spelling-footer {
	
	background: #B77DB7 url('../../images/foot-bg.gif') top left no-repeat;
}


.spelling-main-build {
	
	padding: 15px 21px;
	background-color: #ffffff;
}

.spelling-main-intro {
	
	font-family: Verdana, Arial, sans-serif;
	font-size: 22px;
	color: #cd0329;
	margin-bottom: 12px;
}

.spelling-main-intro-page {
	
	position: relative;
	overflow: hidden;
	background: #ffffff url('../../images/pagefade2.gif') left bottom repeat-x;
}

.spelling-main-intro-page-content {
	
	width: 430px;
}

.spelling-main-intro-page-image {
	
	position: absolute;
	bottom: 0;
	right: 0;
}

.spelling-container * {
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.spelling-ui-round {
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.spelling-ui-outer {
	
	padding: 21px;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(149,201,245,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(149,201,245,1) 100%);
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(149,201,245,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#95c9f5',GradientType=0 );
	border: 1px solid #d40000;
}

.spelling-ui-inner {
	
	min-height: 270px;
	border: 3px solid #66cc00;
	padding: 12px;
	background: rgb(247,251,253);
	background: -moz-linear-gradient(top,  rgba(247,251,253,1) 0%, rgba(188,220,248,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(247,251,253,1) 0%,rgba(188,220,248,1) 100%);
	background: linear-gradient(to bottom,  rgba(247,251,253,1) 0%,rgba(188,220,248,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7fbfd', endColorstr='#bcdcf8',GradientType=0 );
}



.spelling-container {
	
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	padding-bottom: 62px;
	
	width: 689px;
	min-height: 420px;
	
	font-family: Arial, Helvetica, sans-serif;
}

	.spelling-container:before,
	.spelling-container:after {
		
		content: "";
		background-color: #d40000;
		width: 100%;
		height: 10px;
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		z-index: 9999;
	}
	
		.spelling-container:before {
			
			top: 0;
			-webkit-border-top-right-radius: 10px;
			-webkit-border-top-left-radius: 10px;
			-moz-border-top-right-radius: 10px;
			-moz-border-top-left-radius: 10px;
			border-top-right-radius: 10px;
			border-top-left-radius: 10px;
		}
		
		.spelling-container:after {
			
			bottom: 0;
			-webkit-border-bottom-right-radius: 10px;
			-webkit-border-bottom-left-radius: 10px;
			-moz-border-bottom-right-radius: 10px;
			-moz-border-bottom-left-radius: 10px;
			border-bottom-right-radius: 10px;
			border-bottom-left-radius: 10px;
		}

.spelling-audio-input {
	
	width: 75px;
	text-align: center;
	font-weight: bold;
}

	.spelling-level-advanced .spelling-audio-input {
		
		width: 125px;
	}

	.spelling-audio-input:focus {
		
		background-color: #ffffcc;
		border-color: #990000;
		color: #cc0000;
	}

.spelling-animation,
.spelling-animation-icon {
	
	position: absolute;
	z-index: 8888;
}

	#spellingMessageAnimation.spelling-animation {
		
		bottom: 0;
		right: 0;
	}
	
	.spelling-animation-icon {
		
		bottom: 10px;
		left: 0;
		z-index: 7000;
	}

.spelling-story {
	
	clear: both;
	font-size: 18px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-weight: bold;
	color: #333333;
	height: 290px;
	overflow-y: scroll;
	line-height: 40px;
}

.spelling-btn {
	
	position: relative;
}

.spelling-btn-primary {
	
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	
	padding: 7px;
	font-size: 15px;
	font-weight: bold;
	color: #ffffff;
	
	background: rgb(150,252,2);
	background: -moz-linear-gradient(top,  rgba(150,252,2,1) 0%, rgba(58,160,94,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(150,252,2,1) 0%,rgba(58,160,94,1) 100%);
	background: linear-gradient(to bottom,  rgba(150,252,2,1) 0%,rgba(58,160,94,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96fc02', endColorstr='#3aa05e',GradientType=0 );

	border: 2px solid #5ac018;
}

.spelling-btn-secondary {
	
	width: 24px;
	height: 24px;
	overflow: hidden;
	border-width: 0;
	margin: 0;
	padding: 0;
	background: transparent url('../images/spelling-btn-secondary.gif') 0 0 no-repeat;
	text-indent: 500%;
	white-space: nowrap;
}

.spelling-btn-tertiary {
	
	border: 1px solid #000000;
	background-color: #ffffff;
	min-width: 100px;
	padding: 7px;
	color: #3366ff;
	font-weight: bold;
}

.spelling-btn-hear {
	
	width: 28px;
	height: 33px;
	overflow: hidden;
	border-width: 0;
	background: transparent url('../images/spelling-btn-hear.png') 0 0 no-repeat;
	text-indent: 500%;
	white-space: nowrap;
}

.spelling-btn-play:before {
	
	content: "";
	position: absolute;
	top: 2px;
	left: 3px;
	background: transparent url('../images/spelling-btn-play.png') 0 -30px no-repeat;
	width: 30px;
	height: 30px;
	overflow: hidden;
}

	.spelling-btn-play.spelling-is-playing:before {
		
		background-position: 0 0;
	}

.spelling-btn-play {
	
	padding-left: 32px;
}

.spelling-btn-redo {
	
	position: absolute;
	top: -5px;
	left: 15px;
}

.spelling-review-score {
	
	width: 180px;
	background-color: #ffffcc;
	border: 2px solid #cc0000;
	color: #cc0000;
	padding: 7px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.spelling-btn-next,
.spelling-btn-finish {
	
	position: absolute;
	top: -5px;
	right: 15px;
}

.spelling-review-btn {
	
	position: relative;
	margin-left: 45px;
	overflow: visible;
	border-width: 2px;
}

.spelling-review-btn:before {
	
	position: absolute;
	top: -4px;
	left: -45px;
	content: "";
	width: 45px;
	height: 45px;
	overflow: hidden;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-image: url('../images/spelling-review-btn.png');
}

	.spelling-review-btn.spelling-state-correct:before {
		
		background-position: 0 -88px;
	}
	
	.spelling-review-btn.spelling-state-incorrect:before {
		
		background-position: 0 0;
	}
	
	.spelling-review-btn.spelling-state-incorrect:hover:before {
		
		background-position: 0 -44px;
	}

.spelling-title {
	
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.spelling-title-short {
	
	width: 266px;
	float: left;
}

.spelling-title-primary {
	
	font-size: 26px;
	color: #cc0000;
	margin-bottom: 10px;
}

.spelling-title-secondary {
	
	font-size: 16px;
	color: #009900;
}

.spelling-title-tertiary {
	
	color: #cc0000;
	font-size: 19px;
}

.spelling-description {
	
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	width: 367px;
	float: right;
	margin: 0 0 10px 0;
	padding: 0;
}

.spelling-controls {
	
	position: absolute;
	bottom: 45px;
	width: 645px;
	text-align: center;
	z-index: 6666;
}

	#spellingReviewControls.spelling-controls {
		
		z-index: 7777;
	}

.spelling-hint, .spelling-hint-review {
	
	position: absolute;
	width: 375px;
	top: 30px;
	left: 150px;
	right: 0;
	z-index: 9000;
	text-align: center;
}

	.spelling-hint-review {
		
		top: 14px;
	}

.spelling-fade {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 8000;
	background-color: rgba(0,0,0,0.65);
}

.spelling-hint-container {
	
	padding: 10px;
	background-color: #99ccff;
	border: 3px solid #66cc00;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.spelling-hint-controls {
	
	background-color: #ffffcc;
	border: 3px solid #66cc00;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin: 5px auto;
	padding: 10px;
	width: 272px;
	text-align: center;
}

.spelling-hint-cell {
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background-color: #ffffcc;
	text-align: center;
	min-height: 55px;
	margin-bottom: 10px;
	z-index: 9000;
	padding: 10px;
}

.spelling-hint-spell {
	
	min-height: 32px;
}

.spelling-hint-text-value {
	
	display: block;
	text-align: left;
}

.spelling-modal {
	
	position: absolute;
	width: 272px;
	top: 125px;
	left: 140px;
	bottom: 28px;
	z-index: 9000;
	background-color: #ffffff;
	border: 3px solid #66cc00;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding: 10px;
	text-align: center;
	
	-webkit-box-shadow: -10px 10px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: -10px 10px 0 rgba(0,0,0,0.3);
	box-shadow: -10px 10px 0 rgba(0,0,0,0.3);
}

	.spelling-modal:after {
		
		content: "";
		width: 227px;
		height: 239px;
		display: block;
		position: absolute;
		bottom: -21px;
		right: -250px;
		z-index: 9999;
		background: transparent url("../images/pixi/girl1.png") top left no-repeat;
	}

.spelling-state {
	
	display: none;
}

.spelling-state-correct {
	
	border-color: #009900;
}

.spelling-state-incorrect {
	
	border-color: #cc0000;
}

.spelling-review {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 7777;
	background-color: #ffffff;
}

.spelling-fade-secondary {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 7777;
	background-color: rgba(51,102,255,0.3);
}

.spelling-intro {
	
	position: absolute;
	top: 18px;
	left: 34px;
	right: 0;
	bottom: 46px;
	z-index: 9000;
}

.spelling-intro-content,
.spelling-conclusion-content {	
	
	position: relative;
	width: 357px;
	padding: 15px 21px;
	text-align: center;
	color: #cc0000;
	border: 3px solid #66cc00;
	background-color: #ffffff;
}

.spelling-list {
	
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.spelling-list-item {
	
	margin: 0 0 7px 0;
}


.spelling-hint-review-user-spelling,
.spelling-hint-review-correct-spelling {
	
	width: 150px;
	display: inline-block;
}

	.spelling-hint-review-user-spelling .spelling-title {
		
		color: #cc0000;
	}
	
	.spelling-hint-review-user-spelling .spelling-hint-review-user-spelling-value {
		
		color: #cc0000;
	}

.spelling-hint-review-user-spelling-value,
.spelling-hint-review-correct-spelling-value {
	
	width: 95px;
	text-align: center;
	padding: 10px 15px;
	font-size: 14px;
	color: #6699ff;
}

	.spelling-level-advanced .spelling-hint-review-user-spelling-value,
	.spelling-level-advanced .spelling-hint-review-correct-spelling-value {
		
		width: 150px;
	}

.spelling-conclusion {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 7777;
	background: #ffffff url("../images/spelling-success.png") top left no-repeat;
}

	.spelling-conclusion:after {
		
		display: block;
		content: "";
		position: absolute;
		right: 15px;
		bottom: 0;
		width: 227px;
		height: 239px;
		background: transparent url("../images/pixi/girl1.png") top left no-repeat;
		z-index: 9000;
	}

	.spelling-conclusion-content {
		
		position: absolute;
		top: 25px;
		left: 130px;
		right: 10px;
		width: 290px;
		z-index: 9000;
	}
	
		

.spelling-config {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
}

.spelling-config-cell {
	
	text-align: center;
	margin: 40px 0 0 0;
}

	.spelling-diy .spelling-config-cell {
		
		margin: 0;
	}
	
	.spelling-diy form {
		
		display: inline-block;
	}

.spelling-config-name {
	
	background-color: #ffffff;
	border: 2px solid #000000;
	font-size: 26px;
	font-weight: bold;
	padding: 7px 15px;
	text-align: center;
	width: 360px;
	display: block;
	margin: 7px auto 0;
}

.spelling-btn-config {
	
	display: block;
	margin: 30px auto 0;
	font-size: 16px;
	padding: 5px 25px;
	font-weight: bold;
	color: #ffffff;
	border: 1px solid #990000;
	background: rgb(246,222,213);
	background: -moz-linear-gradient(top,  rgba(246,222,213,1) 0%, rgba(204,51,0,1) 52%, rgba(246,222,213,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(246,222,213,1) 0%,rgba(204,51,0,1) 52%,rgba(246,222,213,1) 100%);
	background: linear-gradient(to bottom,  rgba(246,222,213,1) 0%,rgba(204,51,0,1) 52%,rgba(246,222,213,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6ded5', endColorstr='#f6ded5',GradientType=0 );
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.spelling-btn-config:disabled {
	
	opacity: 0.3;
}

.spelling-btn-config:hover {
	
	color: #ffff00;
}

.spelling-diy {
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9000;
}

.spelling-callout:after {
			
	display: block;
	content: "";
	position: absolute;
	right: -37px;
	bottom: 60px;
	background: transparent url("../images/spelling-popup-after.gif") top left no-repeat;
	width: 37px;
	height: 28px;
}


.spelling-review-items {
	
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	height: 275px;
}
		
		
@media all and (max-width: 705px){
	
	.spelling-main,
	.spelling-main-build,
	.spelling-container {
		
		width: auto;
	}
	
	.spelling-container {
		
		padding: 10px 10px 34px 10px;
	}
	
	.spelling-config {
		
		position: relative;
	}
	
	.spelling-config-name {
		
		width: 100%;
		padding: 0;
	}
	
	.spelling-intro {
		
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: auto;
	}
	
	.spelling-intro-content, .spelling-conclusion-content {
		
		width: auto;
		padding: 0;
		margin: 0;
	}
	
	.spelling-animation {
		
		display: none !important;
	}
	
	.spelling-description {
		
		float: none;
		width: 100%;
	}
	
	.spelling-callout {
		
		padding: 12px;
	}
	
	.spelling-callout:after {
		
		display: none;
	}
	
	.spelling-controls {
		
		position: relative;
		width: auto;
		bottom: 20px;
	}
	
	.spelling-title-short {
		
		float: none;
		display: block;
	}
	
	.spelling-story {
		
		font-size: 15px;
	}
	
	.spelling-animation-icon {
		
		bottom: 10px;
	}
	
	.spelling-modal, .spelling-hint, .spelling-hint-review {
		
		width: auto;
		top: 15px;
		left: 10px;
		right: 10px;
		bottom: auto;
	}
	
	.spelling-list {
		
		margin-bottom: 30px;
	}
	
	.spelling-title-primary {
		
		font-size: 20px;
	}
	
	.spelling-config-cell {
		
		margin-top: 0;
	}
	
	.spelling-conclusion,
	.spelling-conclusion-content {
		
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
	}
	
	.spelling-conclusion:after {
		
		display: none;
	}
}

@media all and (max-width: 420px){
	
	.spelling-container {
		
		padding-bottom: 68px;
	}
	
	.spelling-controls {
		
		margin: 10px 0 25px;
	}
	
	.spelling-review-score {
		
		display: block;
		width: 100%;
		margin: 10px 0;
		padding: 0;
	}
	
	.spelling-controls {
		
		bottom: auto;
	}
	
	.spelling-btn-redo,
	.spelling-btn-next, .spelling-btn-finish {
		
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		width: 100%;
	}
	
	.spelling-review-items {
	
		display: block;
		height: auto;
	}
}