@import url(font.css);

@-webkit-keyframes glowIt {
	0% { 
		-webkit-box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
	50% { 
		-webkit-box-shadow: 0px 0px 0px 20px rgba(255,255,255,0.5);
	}
	100% { 
		-webkit-box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
}

@-moz-keyframes glowIt {
	0% { 
		-moz-box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
	50% { 
		-moz-box-shadow: 0px 0px 0px 20px rgba(255,255,255,0.5);
	}
	100% { 
		-moz-box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
}

@keyframes glowIt {
	0% { 
		box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
	50% { 
		box-shadow: 0px 0px 0px 20px rgba(255,255,255,0.5);
	}
	100% { 
		box-shadow: 0px 0px 0px 0px rgba(255,255,255,0.5);
	}
}

@-webkit-keyframes jokerHint {
	0%   { opacity: 0.2; }
	50%  { opacity: 0.5; }
	100% { opacity: 0.2; }
}

@-moz-keyframes jokerHint {
	0%   { opacity: 0.2; }
	50%  { opacity: 0.5; }
	100% { opacity: 0.2; }
}

@keyframes jokerHint {
	0%   { opacity: 0.2; }
	50%  { opacity: 0.5; }
	100% { opacity: 0.2; }
}

@-webkit-keyframes highlight {
	0%   { background-color: #0084ff; }
	50%  { background-color: #005fb7; }
	100% { background-color: #0084ff; }
}

@-moz-keyframes highlight {
	0%   { background-color: #0084ff; }
	50%  { background-color: #005fb7; }
	100% { background-color: #0084ff; }
}

@keyframes highlight {
	0%   { background-color: #0084ff; }
	50%  { background-color: #005fb7; }
	100% { background-color: #0084ff; }
}

html, body {
	height: 100%;
	background: white;
}

body, #canvas-wrapper {
	padding: 0;
	margin: 0;

	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-weight: 400;
	text-align: center;
}

.holder {
	position: relative;
	display: inline-block;
	text-align: left;
}

.tipped {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 100%;
	position: absolute;
	z-index: 90;
	border: 2px solid #fff;
	background-color: #00b2df;

	-webkit-animation: glowIt 2s infinite;
    -moz-animation: glowIt 2s infinite;
    animation: glowIt 2s infinite;
}

.tippedHolder, .searchedHolder {
	position: absolute;
}

.searchedHolder {
	z-index: 100;
}

.tippedHolder .tippedOutput, .searchedHolder .searchedOutput {
	background-color: #00b2df;
	color: #fff;
	padding: 4px 6px;
	border-radius: 7px;
	white-space: nowrap;
	font-size: 110%;
    margin: -9px 0 0 21px;
    position: relative;
}
.tippedHolder .tippedOutput:after, .searchedHolder .searchedOutput:after {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-right-color: #00b2df;
	border-width: 7px;
	margin-top: -7px;
}

.tippedHolder .tippedOutput span {
	display: inline-block;
}

.searched {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #77c200;
	border: 2px solid #fff;

	-webkit-animation: glowIt 2s infinite;
    -moz-animation: glowIt 2s infinite;
    animation: glowIt 2s infinite;
}

#rotateHint {
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 101;
	background-color: #ffd200;
	padding: 10px 0;

	color: #7e3702;
}

#hint {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; 

	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	-webkit-justify-content: center;
	justify-content: center;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	-webkit-align-items: center;
	align-items: center;
		
	background-color: #77c200;
}

#hint.rotate {
	padding-top: 20px;

	-ms-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);

	-webkit-align-items: flex-start;
	-moz-align-items: flex-start;
	-ms-align-items: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

#hint .inner {
	display: block;
    width: 100%;
    box-sizing: border-box;

	color: #fff;
	font-size: 400%;
	text-align: center;
	position: relative;
}

#hint .inner a.cancelGame {
	display: none;
	width: 30px;
	height: 30px;
	text-align: center;

	position: absolute;
	left: 10px;
	top: -3px;
	background-color: #fff;
	border-radius: 50%;
}

#hint .inner a.endLevel {
	display: none;
	width: 30px;
	height: 30px;
	text-align: center;

	position: absolute;
	right: 10px;
	top: -3px;
	background-color: #fff;
	border-radius: 50%;
}

#hint .inner a.cancelGame svg, #hint .inner a.endLevel svg {
	width: 20px;
	height: 20px;
	fill: #77c200;
	margin-top: 5px;
}

#hint .inner a.joker {
	display: none;
	width: auto;
    text-decoration: none;
    font-size: 70%;
    white-space: nowrap;
    line-height: 30px;
	height: 30px;
	text-align: center;

	position: absolute;
	right: 50px;
	top: -3px;
	border-radius: 20px;
    padding: 0 10px;
	background-color: #0084ff;
	color: #fff;
}

#hint .inner a.joker.disabled {
	opacity: 0.4;
}

#hint .inner a.joker i {
	font-style: normal;
}

#hint .inner a.joker em {
	font-style: normal;
	opacity: 0.7;
}

#hint .inner strong {
	display: block;
	margin-bottom: 20px;

	font-weight: 700;
}

#hint.minimized {
	padding: 5px 0;
	box-sizing: border-box;
}

#hint.minimized .inner {
	font-size: 130%;
	text-align: left;
    padding-left: 50px;
}

#hint.minimized .inner a.cancelGame, #hint.minimized .inner a.endLevel,  #hint.minimized .inner a.joker {
	display: inline-block;
}

#hint.minimized .inner strong {
	display: inline-block;
	margin-bottom: 0;
	text-transform: uppercase;
}

#hint.minimized .inner span {
	display: none;
}

#hint.minimized time {
	display: inline-block;
	padding: 2px;
	min-width: 18px;
	line-height: 18px;
	background-color: #c200c0;
	border-radius: 50%;
	
	position: absolute;
	right: -2px;
	top: -8px;
    color: #fff;
    font-size: 70%;
    text-align: center;
}

#hint.minimized .inner .timeProgressContainer {
	display: block;
	width: 100%;
	height: 5px;
	background-color: rgba(194, 0, 192, 0.3);

	position: absolute;
	left: 0;
	bottom: -12px;
}

#hint.minimized .inner .timeProgressContainer div.progressInner {
	display: block;
	width: 100%;
	height: 5px;
	background-color: rgba(194, 0, 192, 0.7);

	-webkit-transition: width 1s;
    transition: width 1s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;

    position: relative;
}

.hide {
	display: none;
}

.jokerHolder {
	position: absolute;
	bottom: 10px;
	left: 0;

	display: block;
	width: 100%;
	height: 40px;
}

.jokerHolder a + a {
	margin-left: 10px;
}

section {
	background-color: #fff;
	min-height: 100%;
}

section.sliding {
	position: absolute;
	left: 0;

	display: block;
	width: 100%;
	overflow: hidden;
}

#gameSelection h1 {
	font-weight: 700;
    font-size: 180%;
    margin: 0;
    padding: 10px 0 20px 0;
}

#gameSelection p {
	font-size: 140%;
}

#gameSelection ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#gameSelection ul li {
	display: block;
	margin-bottom: 20px;
}

#gameSelection ul li a, #gameSelection ul li.soonMore, #gameSelection ul li.locked {
	display: block;
	padding: 20px;
	text-decoration: none;
	color: #fff;
	background-color: #77c200;
	position: relative;
}

#gameSelection ul li.soonMore {
	background-color: #a3d900;	
}

#gameSelection ul li.locked {
	background-color: #c0c0c0;
}

#gameSelection ul li.locked small {
	display: block;
	margin-top: 10px;
	font-size: 110%;
}

#gameSelection ul li.locked svg {
	fill: #fff;

    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 10px auto;
}

#gameSelection ul li.soonMore strong, #gameSelection ul li.locked strong {
	font-weight: 300;
    font-size: 150%;
    line-height: 100%;
}

#gameSelection ul li.locked svg, #gameSelection ul li.locked strong {
	opacity: 0.7;
}

#gameSelection ul li a strong {
	display: block;
	margin-bottom: 10px;
	font-weight: 300;
    font-size: 150%;
    line-height: 100%;
}

#gameSelection ul li a small {
	display: block;
	font-size: 100%;
	margin-bottom: 10px;
}

#gameSelection ul li a em {
	position: absolute;
	top: -10px;
	right: 0;
	background-color: #548900;
	display: block;
	padding: 3px 7px 5px 7px;
	font-style: normal;
	margin-bottom: 10px;
	font-size: 90%;
	line-height: 100%;
}

#gameSelection .moreGames {
	margin-bottom: 10px;
}

#gameSelection .moreGames img {
	width: 150px;
	border: 0;
}

.button {
	display: inline-block;
	color: #333;
	background-color: #fff;
	padding: 10px 30px;
	font-size: 100%;
	text-decoration: none;
}

.button.dark {
	background-color: #77c200;
	color: #fff;
}

.button.joker em {
	font-style: normal;
}

.button.disabled {
	opacity: 0.3;
}

.button.highlight {
	-webkit-animation: highlight 2s infinite;
    -moz-animation: highlight 2s infinite;
    animation: highlight 2s infinite;
}

#game .roundPoints {
	position: absolute;
	top: 50px;
	right: 10px;
	z-index: 100;
	background-color: rgba(119, 194, 0, 0.7);
	padding: 10px;
	color: #fff;
	text-align: right;
	box-sizing: border-box;
}

#game .roundPoints span {
	display: block;
	text-align: center;
}

#game .roundPoints span svg {
	display: inline-block;
	width: 40px;
	height: 40px;
	fill: #fff;
	opacity: 0.5;
}

#game .roundPoints span svg.active {
	opacity: 1;
	fill: #ffd200;
}

#game .roundPoints span svg + svg {
	margin-left: 5px;
}

#game .roundPoints strong {
	display: block;
	font-size: 300%;
	line-height: 100%;
	text-align: center;
}

#game .roundPoints em {
	display: block;
	font-style: normal;
	font-size: 140%;
	text-align: center;
}

#game .jokerHelper {
	position: absolute;
	left: 0;
	z-index: 10;

	display: block;
	width: 100%;
	background-color: #0084ff;
	opacity: 0.3;
	pointer-events: none;

	-webkit-animation: jokerHint 2s infinite;
    -moz-animation: jokerHint 2s infinite;
    animation: jokerHint 2s infinite;
}

#endScreen h1 {
	font-weight: 300;
    font-size: 180%;
    margin: 0;
    padding: 10px 0 20px 0;
    color: #333;
}

#endScreen ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#endScreen ul li {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; 
	margin: 0 10px 5px 10px;
	color: #77c200;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	-webkit-justify-content: center;
	justify-content: center;

	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	-webkit-align-items: center;
	align-items: center;
}

#endScreen ul li strong {
	font-size: 180%;
    display: block;
	font-weight: 700;
	width: 60%;
	overflow: hidden;
    text-align: left;
}

#endScreen ul li span {
	display: block;
	width: 40%;
	min-width: 190px;
	text-align: right;
	white-space: nowrap;
}

#endScreen ul li span svg {
	display: inline-block;
	width: 15px;
    height: 15px;
    margin-bottom: 7px;
    vertical-align: middle;
	opacity: 0.3;
	fill: #333;
}

#endScreen ul li span svg.star3 {
	margin-right: 20px;
}

#endScreen ul li span svg.active {
	opacity: 1;
	fill: #ffd200;
}

#endScreen ul li span svg + svg {
	margin-left: 2px;
}

#endScreen ul li span em, #endScreen ul li span i {
	display: inline-block;
	font-size: 140%;
	font-style: normal;
}

#endScreen ul li span em {
	margin-right: 20px;
}

#endScreen ul li.totalPoints {
	display: block;
	margin-bottom: 30px;
	font-size: 200%;
	font-weight: 700;
	color: #333;
}

#endScreen ul li.totalPoints span {
	display: inline;
}

#endScreen .button {
	margin-bottom: 10px;
}

#gameSelection .inner, #hint .inner, #endScreen .inner {
	max-width: 700px;
	margin: 0 auto;
}
