@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 400;
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.ttf) format('truetype');
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.woff) format('woff');
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.eot);
  src: local('Oxygen'), local('Oxygen-Regular'), url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.eot) format('embedded-opentype'), url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.woff) format('woff');
}

@font-face {
  font-family: 'Oxygen';
  font-style: normal;
  font-weight: 700;
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen700.ttf) format('truetype');
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen700.woff) format('woff');
  src: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen400.eot);
  src: local('Oxygen Bold'), local('Oxygen-Bold'), url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen700.eot) format('embedded-opentype'), url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/fonts/oxygen700.woff) format('woff');
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


html {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	font-family: Oxygen, sans-serif;
	font-size: 16px;
	min-width: 300px;
	color: #666;
}

a {
	text-decoration: none;
	color: #666;
}

.main {
	padding: 10px;
	max-width: 820px;
	min-width: 300px;
	margin: 0 auto;
}

.footer {
	text-align: center;
	font-size: .9em;
	line-height: 1.7;
	color: #666;
	border-top: 1px solid #ccc;
	padding: 5px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: -1;
	min-width: 300px;
	display: none;
}

.home {
	text-align: center;
	/* margin-top: 50px; */
}

.wins {
	text-align: left;
	border-top:  1px solid #ccc;
	padding: 10px;
	margin: 20px auto;
	overflow-y: auto;
	background: #ecebe6;
	box-shadow: inset 0 1px 1em #d0d0d0;
	display: none;
}

.wins a{
	display: inline-block;
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin: 5px 2px;
}


.word {
	font-weight: bold;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topnav {
	/* overflow: hidden; */
	margin-bottom: 10px;
	text-align: center;
}

.aboutHeader {
	text-align: center;
	margin-top: 4em;
/*	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;*/
	background: rgba(255,255,255,0.5);
	overflow: auto;
}

.aboutHeader div {
	float: left;
	width: 50%;
}

.title, .titlenum {
	font-weight: bold;
	font-size: 1.6em;
	line-height: 1.6em;
	color: #ffffff;
	margin: 0px;
	display: inline-block;
	background-color: black;
	padding: 0em 0.5em;
}

.home-title {
	font-size: 3em;
	margin-right: 1em;
	margin-top: 3em;
	/* border-bottom: red; */
	/* border-bottom-width: medium; */
	/* border-bottom-style: solid; */
}

.home-subtitle {
	color: #fff;
	display: inline-block;
	margin: 0;
	background: #FF5722;
	padding: 0.5em;
	margin-left: 3em;
	/* color: white; */
	margin-bottom: 3em;
	font-weight: normal;
}

.puzhome .ui-btn, .win-screen .ui-btn {
	min-width: 4em;
	/* min-height: 6em; */
}

.titlenum {
	/* position: absolute; */
	/* right: 10px; */
	/* margin: 0px; */
	/* display: none; */
	text-align: center;
	background: #FF5722;
}

.home-btn {
	float: right;
	margin: 0px;
}

.about-btn {
/*	float: right;
	position: absolute;
	margin: 0px;
	right: 0px;
	top: 0px;*/
}


.nav {
	text-align: center;
	margin: 20px 0px;
}

.btn-bar {
	position: absolute;
	top: 0;
	right: 0;
}

.topnav span.ui-btn, .about-btn, .home-btn, .mute-btn {
	display: inline-block;
	padding: 0px 10px;
	cursor: pointer;
	/* color: #744f00; */
	/* border: 1px solid #faa51a; */
	line-height: 1.6em;
	margin-left: 0.5em;
	float: right;
	/* top: 0.3em; */
	/* position: relative; */
	/* overflow: visible; */
	/* border-top: 1px solid #744f00; */
	/* background-color: #ffd351; */
}

.bottom-navigation {
	margin-top: 1em;
	text-align: center;
}

.ui-btn {
	font-size: 1.6em;
	min-width: 2em;
	text-align: center;
	border-radius: 0.2em;
	border-bottom: 1px solid #000000;
	background-color: #00BCD4;
	color: #f4f9ff;
}

.bottom-navigation > .ui-btn {
	display: inline-block;
	padding: 0px 10px;
	cursor: pointer;
	/* color: #666; */
	/* border: 1px solid #faa51a; */
	line-height: 1.5;
	margin: 0px 5px;
	overflow: hidden;
}

.timer {
	/* color: #aaa; */
	/* position: absolute; */
	top: 3em;
	left: 0px;
	right: 0px;
	text-align: center;
	padding-top: 10px;
	min-width: 300px;
	display: none;
}

.content {
	clear: both;
	position: relative;
}



body {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	height: 100%;
}

.squares table {
	width: 100%;
	margin: 0px auto;
	/* margin-top: 1em; */
	table-layout: fixed;
	border-spacing: 0;
}

.squares tr {
	text-align: center;
	/* max-height: 62px; */
	/* height: 62px; */
}

.squares td {
	text-align: center;
	width: 16%;
	min-height: 62px;
	max-height: 62px;
	min-width: 16%;
	/* overflow: hidden; */
	vertical-align: top;
	/* overflow: visible; */
	border-left: 2px solid transparent;
	border-top: 2px solid transparent;
}

.squares td:first-child {
	border-left: none;
}

.squares tr:first-child td {
	border-top: none;
}

.letters {
	/* margin: 0.1em; */
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-khtml-user-select: none;
	font-size: 1.8em;
	line-height: 1.8;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	background-color: rgb(0, 188, 208);
	cursor: pointer;
	border-bottom: 1px solid #000000;
	border-radius: 0.2em;
	/*    position: absolute;
	width: 16%;*/
}

.disable-selection {
	-khtml-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	cursor: default;
}


.puznum {
	font-size: 1em;
	padding: 5px;
	margin: 20px auto;
	border: 1px solid #333;
	text-align: center;
	position: relative;
	outline: none;
	width: 8em;
}

.btn {
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 5px;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-khtml-user-select: none;
	font-size: 2em;
	/* line-height: 1.5; */
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	background-color: #25afc7;
	border: none;
	cursor: pointer;
	min-width: 1.5em;
	}

.start-btn, .level-menu-btn, .random-level-btn, .next {
	background: #00BCD4;
	display: inline-block;
	margin-top: 0.6em;
	color: white;
	padding: 0.5em;
	/* border-radius: 0; */
	border-bottom-width: 0.1em;
	margin-left: 0.25em;
	margin-right: 0.25em;
}

.start-btn i, .level-menu-btn i, .random-level-btn i, .next i {
	font-size: 2em;
}

.switch-language-control ul, .switch-language-control li {
	list-style: none;
	padding: 0 0 0 0;
	width: 4.5em;
}

.switch-language-control {
	display: inline-block;
    margin-top: 1.2em;
}

.switch-language-button {
	margin-bottom: 0;
	margin-top: 0;
}
.switch-language-button:not(.active) .angle-down {
	display: initial;
}

.switch-language-button:not(.active) .angle-up {
	display: none;
}

.switch-language-button.active .angle-down {
	display: none;
}

.switch-language-button.active .angle-up {
	display: initial;
}

.switch-language-list {
	margin-top: 0;
	margin-bottom: 0;
}

.switch-language-control li {
    height: 2em;
    position: relative;
}

.switch-language-control img {
	height: 1em;
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    right: 50%;
}

.switch-language-control span {
	height: 1em;
	width: 2em;
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    left: 50%;
}

.more-games-btn {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 1.6em;
}

.more-games-btn > img {
	width: 9em;
}

.btn-caption {
	display: none;
	font-size: 0.75em;
}

.disabled {
	opacity: 0.5;
	cursor: pointer;
}

.clues {
	margin: 0px;
}

.clues .nr {
	font-weight: bold;
	text-align: right;
	width: 1.5em;
}

.clues ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: table;
	width: 100%;
}
.clues li {
	cursor: default;
	padding: 5px;
	display: table-row;
}

.clues li > span {
	display: table-cell;
	padding: 0.3em 0.3em;
}

.clues li > span.word {
	text-align: right;
	padding-right: 0.5em;
}

.clues li:nth-child(even) {
	background-color: #eee;
}

.clues li:nth-child(odd) {
	background-color: #fff;
}


.answer {
	margin: 10px auto;
	border: 1px solid #aaa;
	overflow: hidden;
	padding: 5px 5px;
	text-align: center;
	position: relative;
	background-color: #fff;
}

.answertext, .undo, .guess {
	margin: 14px 20px 10px;
}

.guessed {
	opacity: 0.33;
}

.undo {
	position: absolute;
	top: 0px; 
	right: 0px;
	bottom: 0px; 
	/* background: red; */
	padding-top: 4px;
	padding-right: 8px;
	padding-bottom: 4px;
	margin: 0 0 0 0;
	bottom: 0; 
/*	width: 1.25em;*/
	/* height: 2em; */
	/* line-height: 2em; */
	display: inline-block;
	/* display: table-cell; */
	/* vertical-align: middle; */
	font-size: 2em;
	color: rgb(0, 188, 208);
}

.answertext {
	font-weight: bold;
	font-size: 2em;
	color: #000000;
}

.correct {
	color: #00bcd0;
	font-weight: bold;
}

.squares h1 {
	text-align: center;
	margin: 20px;
	font-size: 3em;
	color: green;
}

.squares h3 {
	text-align: center;
}

.share {
	margin-top: 20px;
}

.square, .clues li{
	-webkit-transition: color 1s, background-color 1s;
	transition: color 1s, background-color 1s;
}

.bottom-navigation > .ui-btn {
	-webkit-transition: color 0.5s, opacity 0.5s;
	transition: color 0.5s, opacity 0.5s;
	position: relative;
}

.hint-refresh {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	background-color: #008290;
	display: none;
	z-index: -1;
}

.countdown {
	display: inline-block;
	min-width: 2.75em;
}

.hinting {
	/*color: red;*/
	color: white;
	background-color: #FF5722 !important;
}

.license {
	white-space: pre-line;
}

.famobi-logo {
	display: block;
	width: 50px;
	height: 75px;
	background: url('/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/assets/FamobiFLogo_onLight.svg') no-repeat 0 0;
	background-size: auto 75px;
	text-indent: -10000px;
	margin: 20px auto;
}

.win-screen {
	text-align: center;
/*	opacity: 0;*/
}

.win-screen > h1 {
	background: #FF5722;
	color: white;
	padding: 0.5em;
}

.winTitle {
	display: inline-block;
}


@media (min-width: 600px) {
  /*  .clues{
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
	*/
	.clues {
		font-size: 1.1em;
	}
}

@media (min-width: 800px) {
	
	body {
		background: url(/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/assets/bg03.png) repeat, #008290;
	}

	@media (min-height: 750px) {
		div.main {
	/*		box-shadow: 0 0 32px rgba(0, 0, 0, 0.5);*/
			padding: 30px;
		}
		div.answer {
			margin: 30px auto;
		}
		.topnav {
			/* overflow: hidden; */
			margin-bottom: 30px;
		}
	}
}

@media (max-width: 600px) and (min-width: 481px) and (max-height: 840px) {
  /*  .clues{
		overflow: auto;
		height: 140px;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
	*/
}


@media (max-width: 480px) {

	body{
		font-size: 13px;
	}

 /*   .clues{
		overflow: auto;
		height: 140px;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
*/
	.nav {
		margin: 10px 0px;
	}

	.nav span{
		padding: 0 5px;
		margin: 0 4px;
	}

	.letters {
		/* margin: 1px; */
		font-size: 1.5em;
	}

/*	.squares td{
		height: 38px;
	}*/

	.forkme{
		display: none;
	}

}

@media (max-width: 480px) and (min-width: 321px) and (max-height: 700px) {
  /*  .clues{
		overflow: auto;
		height: 140px;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
	*/
}

@media (max-width: 600px){
	.nav{
		margin: 10px 0px;
	}
/*	.squares td{
		height: 40px;
	}*/
	.letters{
	line-height: 2;
	}

}

@media (max-width: 320px) {

	body{
		font-size: 10px;
	}

/*    .clues{
		overflow: auto;
		height: 120px;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
*/
	.nav {
		margin: 15px 0px;
	}

	.nav span {
		margin: 0 2px;
	}

	.letters {
		font-size: 1.3em;
		line-height: 2;
	}

/*	.squares td{
		height: 20px;
	}*/

	.undo {
		/* top: 6px; */
	}

	.footer{
	display: none;
	}

}

@media (max-width: 320px) and (max-height: 550px) {
 /*   .clues{
		overflow: auto;
		height: 120px;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
	}
	*/
}



@media screen and (orientation:portrait) {
	/* Portrait styles */
}

@media screen and (orientation:landscape) {
	/* Landscape styles */
	body{

	}
}

/* 
	famobi flexmod 
*/

.main {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	position: absolute;
	background: url("/__proxy/games.cdn.famobi.com/html5games/0/7-words/v130/assets/bg02.png") repeat, linear-gradient(to top, #ecebe6 0%,#B2EBF2 100%);
	background-size: 75%, 100%;
}

.main, .content, .puzzle {
	display: -webkit-flex;
	-webkit-flex-direction: column;
	display: flex;
	flex-direction: column;
	/* background: linear-gradient(to bottom, #54efff 0%,rgb(255, 245, 170) 100%); */
	
	overflow: hidden;
}

.topnav, .answer, .nav, .squares {
	-webkit-flex: none;
	flex: none;
}

.content, .puzzle {
	-webkit-flex: 1 0 auto;
	flex: 1 1 auto;
}

.clues {
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;
	overflow-y: auto;
	min-height: 7em;
	-webkit-overflow-scrolling: touch;
}

.answer {
	width: 100%;
}

/*
	level select screen
*/
.level-icon {
	width: 60px;
	height: 60px;
	font-size: 1.6em;
	min-width: 1.6em;
	text-align: left;
	border-radius: 0.2em;
	border-bottom: 1px solid #000000;
	background-color: #00cbe0;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	position: relative;
	-webkit-animation-duration: 3s;
	animation-duration: 3s;
	-webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 320px) {
	.level-icon {
		width: 50px;
		height: 50px;
	}
}

@media (min-width: 481px) {
	.level-icon {
		width: 80px;
		height: 80px;
		font-size: 1.5em;
	}
}

h1, h3, .title, .level-icon {
	user-select: none;
	cursor: default;
}

.clickable {
	cursor: pointer;
}

div.level-state-won {
	
}

div.level-icon > span.level-number {
	color: #f4f9ff;
	position: absolute;
	height: 50%;
	width: 100%;
	text-align: center;
}

div.level-icon > .level-star {
	color: #ffdd8f;
	position: absolute;
	height: 50%;
	width: 100%;
	text-align: center;
	top: 50%;
}

div.level-state-won > .level-star {
	color: #ffff00;
}

div.level-page {
	color: blue;
}

div.levelSelect {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	overflow: hidden;
}

div.level-icon-scroller {
	display: flex;
	flex-direction: column;
	/* flex-grow: 1; */
	overflow-x: hidden;
	overflow-y: hidden;
	flex-wrap: wrap;
/*    height: 600px;
	width: 1000px;*/
}

div.level-groups-outer {
	display: flex;
/*    flex-direction: column;*/
	flex-grow: 1; 
	overflow-x: hidden;
	overflow-y: hidden;
	align-items: center;
/*    height: 600px;
	width: 1000px;*/
}

div.level-groups {
	display: flex;
/*    flex-direction: column;*/
	/* flex-grow: 1; */
	overflow-x: hidden;
	overflow-y: hidden;
	flex-wrap: wrap;
	justify-content: space-around;
/*    height: 600px;
	width: 1000px;*/
}

div.inner-scroller {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-bottom: -14px;
	-webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

div.level-groups .level-icon {
	color: #ffffff;
	text-align: center;
	width: 30%;
	margin-right: 0;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

div.level-icon-placeholder {
	visibility: hidden;
}

/*
	additional css animations for animate.css
*/
@-webkit-keyframes zoomBig {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(2, 2, 2);
    transform: scale3d(2, 2, 2);
  }
  to {
    -webkit-transform: scale3d(2, 2, 2);
    transform: scale3d(2, 2, 2);
  }
}

@keyframes zoomBig {
  from {
  	opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    opacity: 0.5;
  }
  to {
    -webkit-transform: scale3d(2, 2, 2);
    transform: scale3d(2, 2, 2);
    opacity: 0;
  }
}

.zoomBig {
  -webkit-animation-name: zoomBig;
  animation-name: zoomBig;
}

/*
	refine margins for varying display sizes
	- first reduce margins then reduce overall font size
	- min-width: 481px
*/

@media (min-width: 481px) {

	@media (max-height: 800px) and (min-height: 726px) {
		.home-title {
			margin-top: 2em;
		}
	}

	@media (max-height: 725px) and (min-height: 676px) {
		.home-title {
			margin-top: 1em;
		}
	}

	@media (max-height: 675px) and (min-height: 0px) {
		.home-title {
			margin-top: 0em;
		}
	}

	@media (max-height: 625px) and (min-height: 0px) {
		.home-subtitle {
			margin-bottom: 1em;
		}
	}

	@media (max-height: 575px) and (min-height: 526px) {
		.main {
			font-size: 0.9em;
		}
	}

	@media (max-height: 525px) and (min-height: 476px) {
		.main {
			font-size: 0.8em;
		}
	}

	@media (max-height: 475px) and (min-height: 426px) {
		.main {
			font-size: 0.7em;
		}
	}

	@media (max-height: 425px) and (min-height: 376px) {
		.main {
			font-size: 0.6em;
		}
	}

	@media (max-height: 375px) and (min-height: 0px) {
		.main {
			font-size: 0.5em;
		}
	}
}

@media (max-width: 480px) and (min-width: 321px) {

	@media (max-height: 635px) and (min-height: 596px) {
		.home-title {
			margin-top: 2em;
		}
	}

	@media (max-height: 595px) and (min-height: 556px) {
		.home-title {
			margin-top: 1em;
		}
	}

	@media (max-height: 555px) and (min-height: 0px) {
		.home-title {
			margin-top: 0em;
		}
	}

	@media (max-height: 520px) and (min-height: 496px) {
		.main {
			font-size: 0.95em;
		}
	}

	@media (max-height: 495px) and (min-height: 466px) {
		.main {
			font-size: 0.90em;
		}
	}

	@media (max-height: 465px) and (min-height: 416px) {
		.main {
			font-size: 0.8em;
		}
	}

	@media (max-height: 415px) and (min-height: 371px) {
		.main {
			font-size: 0.7em;
		}
	}

	@media (max-height: 370px) and (min-height: 321px) {
		.main {
			font-size: 0.6em;
		}
	}

	@media (max-height: 320px) and (min-height: 271px) {
		.main {
			font-size: 0.5em;
		}
	}
	@media (max-height: 270px) and (min-height: 221px) {
		.main {
			font-size: 0.4em;
		}
	}
	@media (max-height: 220px) and (min-height: 0px) {
		.main {
			font-size: 0.3em;
		}
	}
}

@media (max-width: 320px) and (min-width: 0px) {

	@media (max-height: 500px) and (min-height: 466px) {
		.home-title {
			margin-top: 2em;
		}
	}

	@media (max-height: 465px) and (min-height: 436px) {
		.home-title {
			margin-top: 1em;
		}
	}

	@media (max-height: 435px) and (min-height: 0px) {
		.home-title {
			margin-top: 0em;
		}
	}

	@media (max-height: 405px) and (min-height: 386px) {
		.main {
			font-size: 0.95em;
		}
	}

	@media (max-height: 385px) and (min-height: 366px) {
		.main {
			font-size: 0.90em;
		}
	}

	@media (max-height: 365px) and (min-height: 326px) {
		.main {
			font-size: 0.8em;
		}
	}

	@media (max-height: 325px) and (min-height: 296px) {
		.main {
			font-size: 0.7em;
		}
	}

	@media (max-height: 295px) and (min-height: 256px) {
		.main {
			font-size: 0.6em;
		}
	}

	@media (max-height: 255px) and (min-height: 221px) {
		.main {
			font-size: 0.5em;
		}
	}

	@media (max-height: 220px) and (min-height: 0px) {
		.main {
			font-size: 0.4em;
		}
	}
}
