@charset "utf-8";

/* MAIN TAGS */

/*

	FONT-SIZING

	font-size: 62.5%;

    10px == 1em
    11px == 1.1em
    12px == 1.2em
    14px == 1.4em
    18px == 1.8em
    24px == 2.4em

*/

@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
}

html,
body {
	display: block;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

body {
	position: relative;
	font-family: 'Hepta Slab', serif;
	font-weight: normal;
	font-size: 62.5%;
	background-image: url('../images/bg_grid.png');
	background-size: 100px;
}

div {
	overflow: hidden;
}

a {
	text-decoration: none;
	color: #14467f;
}

a:hover,
a:active,
a:focus {
	color: #02133f;
}

h1 {
	position: absolute;
	top: 0;
	left: 0;
	height: 200px;
	width: 200px;
	font-weight: normal;
	color: #C4D4E0;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 200px;
	background-image: url('../images/logo-twittermagnets.svg');
	background-repeat: no-repeat;
	background-size: cover;
}

h1.centre {
	position: static;
	margin: 100px auto 0;
}

#debug {
	position: absolute;
	bottom: 0px;
	left: 0px;
}

/* AREA */

ul#area {
	position: absolute;
	top: 0px;
	left: 0px;
	list-style: none;
	display: block;
	overflow: hidden;
	height: 150px;
	width: 100%;
}

ul#area li {
	height: 49px;
	width: 100%;
	margin: 0 0 1px 0;
	display: block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url('../images/bg_gauze.png');
}

/* WORDS */

ul#words {
	display: block;
	overflow: hidden;
	position: absolute;
	top: 0px;
	left: 0px;
	list-style: none;
}

ul#words li {
	display: block;
	overflow: hidden;
	background-color: #FFF;
	position: absolute;
	top: 0;
	left: 0;
	color: #333;
	font-size: 1.6em;
	padding: 10px;
	cursor: pointer;
	cursor: hand;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	border-top: 1px solid #EEE;
	border-left: 1px solid #EEE;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

ul#words li.selected {
	background-color: #FFC;
	z-index: 1;
}

ul#words li.locked {
	border: 1px solid #4786B4;
}

/* OTHER ELEMENTS */

.button {
	font-weight: normal;
	z-index: 2;
	line-height: 30px;
	white-space: nowrap;
	color: #FFF;
	background-color: #4786B4;
	padding: 0 10px;
	border-top: 1px solid #78a7c9;
	border-left: 1px solid #78a7c9;
	border-bottom: 1px solid #38688B;
	border-right: 1px solid #38688B;
	font-size: 1.6em;
	border-radius: 5px;
	cursor: pointer;
	cursor: hand;
	text-transform: lowercase;
	user-select: none;
	transition: all 0.5s ease-out;
}

.button:hover,
.button:active,
.button:focus {
	color: #FFF;
	background-color: #14467f;
	border-top: 1px solid #386d9e;
	border-left: 1px solid #386d9e;
	border-bottom: 1px solid #0c2a4c;
	border-right: 1px solid #0c2a4c;
}

a.button:hover,
a.button:active,
a.button:focus {
	color: #FFF;
}

.message {
	font-weight: normal;
	z-index: 2;
	line-height: 30px;
	font-size: 1.6em;
	color: #4786B4;
	padding: 0;
	position: absolute;
	bottom: 10px;
	left: 620px;
	text-transform: lowercase;
}

.icon.button::before {
	content: '';
	font-family: 'FontAwesome';
	font-weight: 400;
	display: inline-block;
	margin-right: 5px;
}

#swapwords {
	position: absolute;
	bottom: 10px;
	left: 220px;
	padding: 0 10px;
	background-repeat: no-repeat;
	font-family: 'Hepta Slab', serif;
}

#swapwords::before {
	content: '\f079';
}

#viewfeed {
	position: absolute;
	bottom: 10px;
	left: 420px;
	padding: 0 10px;
	background-repeat: no-repeat;
}

#viewfeed::before {
	content: '\f03a';
}

#connect {
	position: absolute;
	bottom: 10px;
	left: 620px;
	padding: 0 10px;
	background-repeat: no-repeat;
	font-family: 'Hepta Slab', serif;
}

#connect::before {
	content: '\f0c1';
}

#submit {
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 0 10px;
	background-repeat: no-repeat;
	background-color: #14467f;
	border-top: 1px solid #386d9e;
	border-left: 1px solid #386d9e;
	border-bottom: 1px solid #0c2a4c;
	border-right: 1px solid #0c2a4c;
	font-family: 'Hepta Slab', serif;
}

#submit::before {
	content: '\f099';
}

#submit:hover,
#submit:active,
#submit:focus {
	background-color: #02133f;
	border-top: 1px solid #0c2f62;
	border-left: 1px solid #0c2f62;
	border-bottom: 1px solid #010717;
	border-right: 1px solid #010717;
}

#submittoours {
	padding: 0 10px;
	background-repeat: no-repeat;
	z-index: 6;
	font-family: 'Hepta Slab', serif;
}

#submittoours::before {
	content: '\f099';
}

label {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 182px;
	z-index: 3;
	height: 32px;
}

label span {
	display: block;
	height: 30px;
	width: 30px;
	line-height: 30px;
	background-color: #4786B4;
	float: left;
	text-align: center;
	font-size: 1.6em;
	color: #FFF;
	border-radius: 5px 0px 0px 5px;
	border-top: 1px solid #78a7c9;
	border-left: 1px solid #78a7c9;
	border-bottom: 1px solid #38688B;
	border-right: 1px solid #38688B;
}

label input {
	float: right;
	background-color: #FFF;
	color: #4786B4;
	font-family: 'Hepta Slab', serif;
	font-weight: normal;
	height: 30px;
	line-height: 30px;
	width: 139px;
	padding: 0 5px;
	border-top: 1px solid #CCC;
	border-right: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
	border-radius: 0px 5px 5px 0px;
}

div#poem,
div#count {
	padding: 0 0 20px 0;
	width: 50%;
	height: auto;
	overflow: visible;
	font-weight: normal;
	color: #C4D4E0;
	font-size: 4em;
	letter-spacing: -1px;
	line-height: 40px;
}

div#poem {
	position: absolute;
	bottom: 200px;
	left: 10px;
}

div#poem span {
	color: #95B3C8;
}

div#poem span.small {
	display: block;
	font-size: 0.5em;
	line-height: 30px;
}

div#count {
	position: absolute;
	bottom: 200px;
	right: 10px;
	text-align: right;
	color: #95B3C8;
}

div#count span {
	letter-spacing: normal;
	color: #C4D4E0;
}

/* ERROR */

body.error div#submit,
body.error div#submit:hover,
body.error div#submit:active,
body.error div#submit:focus {
	background-color: #C00;
	border-top: 1px solid #F00;
	border-left: 1px solid #F00;
	border-bottom: 1px solid #900;
	border-right: 1px solid #900;
	text-decoration: line-through;
	cursor: auto;
}

body.error ul#words li.locked {
	border: 1px solid #C00;
}

body.error ul#words li.locked.selected {
	background-color: #ffefef;
}

body.error div#count {
	color: #C00;
	text-decoration: line-through;
}

body.error div#count span {
	color: #F00;
}

/* CONFIRMATION SCREEN */

#confirmation {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	z-index: 5;
}

#confirmation .fade {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #000;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	cursor: hand;
}

#confirmation .poem {
	padding: 0 0 20px 0;
	width: 50%;
	height: auto;
	overflow: visible;
	font-weight: normal;
	color: #FFF;
	font-size: 4em;
	letter-spacing: -1px;
	line-height: 40px;
	position: absolute;
	bottom: 200px;
	left: 10px;
}

#confirmation .poem {
	color: #EEE;
}

#confirmation #submittoours {
	position: absolute;
	bottom: 160px;
	left: 10px;
	width: auto;
}