/*--------------------------------------------------
 * Global Reset
--------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  margin: 0;
  padding: 0;
  /* font: normal 12px/1.5em "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font: normal 12px/1.5em "Trebuchet MS",Trebuchet,Verdana,sans-serif;
  background: #fff url(../images/body.jpg) no-repeat right bottom;
  color: #111;
}

.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
.clear{ clear:both; height:0; line-height:0; font-size:0; overflow:hidden; }

/*--------------------------------------------------
 * Typography and colors
--------------------------------------------------*/
a {
  color: #1b92cf;
  text-decoration: none;
}

a:hover {
  color: #1b92cf;
  text-decoration: underline;
}

a.arrow {
  display: block;
  width: auto;
  margin: 0 0 6px 0;
  padding: 0 0 0 15px;
  background: #fff url(../images/list_arrow.png) no-repeat;
  background-position: 0 5px;
  font-size: 1.1em;
}

li.arrow {
  list-style: none;
  padding: 0 0 0 15px;
  background: #fff url(../images/list_arrow.png) no-repeat;
  background-position: 0 4px;
}

h2.title {
  font-weight: bold;
  font-size: 2.0em;
  margin: 0px 0 30px 0;
  padding: 10px 20px 10px 0;
  /* color: #374b74;  */
  color: #B8491E;
  -moz-border-radius-bottomright: 8px;
  -moz-border-radius-topleft: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
}

h3.title {
  font-weight: bold;
  font-size: 1.7em;
  margin: 30px 0 10px 0;
  color: #374b74;
  -moz-border-radius-bottomright: 8px;
  -moz-border-radius-topleft: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
}

p {
  font-size: 1.2em;
  line-height: 1.8em;
  margin: 0 0 10px 0;
}

h1 { font-size: 2.0em }
h2 { font-size: 1.8em }
h3 { font-size: 1.6em }
h4 { font-size: 1.4em }
h5 { font-size: 1.2em }
h6 { font-size: 1.0em }

/*--------------------------------------------------
 * Generalities
--------------------------------------------------*/
.inline {
  display: inline;
}

.right {
  float: right
}

/*--------------------------------------------------
 * Forms
--------------------------------------------------*/
form {
  border: solid 1px #aaa;
  width: 500px;
  padding: 20px 30px 20px 20px;
  background: url(../images/about_bg.png) repeat-x #f5f5f5;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

form label {
  display: block;
  margin: 20px 0 5px 0;
  font-weight: bold;
  font-size: 1.1em;
  color: #032eb7;
}

form .textfield {
  border: solid 1px #aaa;
  padding: 2px;
  width: 100%;
  height: 20px;
  font-size: 1.1em;
}

form .textarea {
  border: solid 1px #aaa;
  padding: 2px;
  width: 100%;
  height: 200px;
  font-size: 1.1em;
}

form .filefield {
  padding: 2px;
  width: 100%;
  height: 20px;
  font-size: 1.1em;
}

form .textfield:focus, form .textarea:focus, form .filefield:focus {
  -moz-box-shadow: 0px 0px 2px 2px #1b92cf;
  -webkit-box-shadow: 0px 0px 2px 2px #1b92cf;
}

form hr {
  border: solid 0px;
  border-top: solid 1px #aaa;
  margin: 20px 0 10px 0;
}

form div.submit {
  margin: 20px 0 0 0;
  padding: 0 0 10px 0;
}

form div.submit input {
  float: right;
}

form p.field_help {
  font-size: 12px;
}

/*--------------------------------------------------
 * General Layout
--------------------------------------------------*/
div#wrapper {
  width: 940px;
  margin: 0 auto 0 auto;
  padding: 0 10px 0 10px;
  background: transparent;
}

div#header {
  height: 115px;
  margin: 0 0 20px 0;
  padding: 0;
  background: #003E4D url(../images/logo.gif) no-repeat 10px -15px;
}

div#content {
  padding: 0 0 50px 0;
}

div#content.two_columns {
  margin: 0 310px 0 0;
}

div#right_column {
  float: right;
  width: 270px;
  padding: 10px;
  min-height: 600px;
  border-left: solid 1px #ccc;
}

div#footer {
  text-align:center;
  margin: 20px 0 0 0;
  padding: 20px 0 40px 0;
  border-top: solid 1px;
  float: none;
  clear: both;
}

/*--------------------------------------------------
 * Header
--------------------------------------------------*/
div#header h1 {
  text-indent: -9999px;
  display: none;
}

div#header a.logo {
  display: block;
  width: 250px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 10px;
}

div#nav {
}

div#nav div.user_bar {
  text-align: right;
  height: 40px;
  font-weight: bold;
  margin: 0 35px 0 0;
}

div#nav div.user_bar ul li {
  list-style: none;
  color: #aaa;
}

div#nav div.user_bar ul li a.selected {
  border-bottom: solid 2px;
}

div#nav div.user_bar.logged ul li {
  list-style: none;
  color: #444;
}

div#nav div.logged ul {
  display: block;
  float: right;
  padding: 8px;
  margin: 0;
  background: url(../images/about_bg.png) repeat-x #eee;
  background-position: 0px 16px;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-box-shadow: 1px 1px 4px #666;
  -webkit-box-shadow: 1px 1px 4px #666;
}

div#nav div.logged ul li {
  float: left;
  list-style: none;
  margin: 0 0 0 20px;
}

div#nav div.site_nav {
  float: right;
  background: transparent;
  height: 32px;
  margin: 35px 0 0 0;
  width: 850px;
}

div#nav div.site_nav ul {
  display: block;
  float: right;
  padding: 0 15px 0 0;
  background: transparent;
}

div#nav div.site_nav ul li {
  float: right;
  list-style: none;
  text-align: center;
  margin: 0 5px 0 5px;
}

div#nav div.site_nav a {
  color: #ddd;
  font-weight: bold;
  display: block;
  padding: 10px 15px 10px 15px;
  height: 20px;
  font-size: 1.1em;
}

div#nav div.site_nav a:hover {
  text-decoration: none;
  background: #fff;
  color: #232d33;
  border: solid 0px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

div#nav div.site_nav li a.selected {
  background: #fff;
  color: #232d33;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

/*--------------------------------------------------
 * Right Column
--------------------------------------------------*/
div#right_column li {
}

div#right_column div.section {
  margin: 0 0 25px 0;
}

div#right_column div.section h4 {
  color: #333;
  margin: 0 0 5px 0;
  padding: 2px 10px 10px 10px;
  border: solid 1px #bbb;
  background: #fff url(../images/about_bg.png) repeat-x;
  background-position: 0 -15px;
}

div#right_column div.section div.inner {
  padding: 0 0 0 10px;
}

div#right_column div.section div.inner p.desc {
  margin: 0 0 5px 0;
}

div#right_column .actions {
}

/*--------------------------------------------------
 * Buttons
--------------------------------------------------*/
#take_a_tour_button {
  text-indent: -9999px;
  margin: 10px 10px 0 0;
  float: right;
  display: block;
  width: 163px;
  height: 33px;
  background: #fff url(../images/take_a_tour.png) no-repeat;
  background-position: 0 -35px;
  border: solid 1px #777;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

#take_a_tour_button:hover {
  background-position: 0 -1px;
  border: solid 1px #777;
}

a.add_icon {
  background: #fff url(../images/add.png) no-repeat;
  padding: 0 0 0 20px;
}

a.transition_button {
  background: #232D33;
  color: #ccc;
  padding: 5px 10px 5px 10px;
  border: solid 2px #ccc;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  float: left;
  font-size: 1.1em;
}

a.transition_button:hover {
  text-decoration: none;
  color: #fff;
}

/*--------------------------------------------------
 * Notifications
--------------------------------------------------*/
div#errorExplanation {
  border: solid 1px #ccc;
  background: #fff;
  padding: 10px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

div#errorExplanation h2 {
  font-size: 1.2em;
  color: #9b0000;
}

div#errorExplanation ul li {
  margin: 0 0 0 20px;
}

div.fieldWithErrors {
  color: #9b0000;
}

div.fieldWithErrors label {
  color: #9b0000;
}

div.fieldWithErrors input, div.fieldWithErrors textarea {
  border: solid 2px #9b0000;
}

div.flash_messages {
  display: block;
  margin: 25px 0 25px 0;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

div.flash_messages div.flash_failure, div.flash_messages div.flash_notice, div.flash_messages div.flash_success
{
  display: inline;
  padding: 15px 10px 10px 42px;
}

div.flash_failure {
  background: #fff url(../images/error.png) no-repeat;
  color: #a90000;
}

div.flash_notice {
  background: #fff url(../images/error.png) no-repeat;
  color: #a90000;
}

div.flash_success {
  background: #fff url(../images/success.png) no-repeat;
  color: #325c05;
}

div.flash_reminder {
  background-color: #d63630;
  border: 2px solid red;
  color: white;
  display: block;
  padding: 10px 10px 10px 10px;
  font-weight: normal;
}
div.flash_reminder a {
  color: white;
  font-weight: bold;
  text-decoration: underline;
}

div.info_box {
  background: #fff url(../images/info.png) no-repeat;
  background-position: 0 10px;
  width: 520px;
  margin: 0 0 20px 0;
  padding: 10px 0 0 48px;
}

div.info_box div.inner {
  color: #fff;
  background: #3b4cf0;
  border: solid 1px #aaa;
  padding: 10px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

div.info_box a.button {
  background: #232D33;
  color: #ccc;
  padding: 5px;
  border: solid 1px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  float: right;
  font-size: 1.1em;
}

div.info_box a.button:hover {
  text-decoration: none;
  color: #fff;
}

/*--------------------------------------------------
 * Pages: Common
--------------------------------------------------*/

ul.green_arrow_list li {
  list-style: none;
  list-style-image: url(../images/list_arrow.png);
  margin:0 0 5px 15px;
}

img.avatar {
  border: solid 1px #ccc;
  padding: 2px;
  background: #eee;
}

img.avatar.size_48 {
  width: 48px;
  height: 48px;
}

/*--------------------------------------------------
 * Pages: Home
--------------------------------------------------*/
div#content_frame {
  height: 370px;
  padding: 10px 0 0 0;
  background: url(../images/content_frame.jpg) no-repeat #fff;
  background-position: -10px 25px;
  border: solid 1px #777;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-box-shadow: 0 0 6px #666;
  -webkit-box-shadow: 0 0 6px #666;
}

div#content_frame h2 {
  text-indent: -9999px;
}

div#about {
  background: url(../images/about_bg.png) repeat-x #eee;
  font-size: 1.1em;
  height: 190px;
  width: 900px;
  margin: 0 auto 20px; auto;
  padding: 10px;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;
  -webkit-border-bottom-left-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-box-shadow: 0 2px 4px #666;
  -webkit-box-shadow: 0 2px 4px #666;
  border: solid 1px #ccc;
}

div#about h3 {
  font-size: 1.3em;
  text-align: center;
  line-height: 1.8em;
  margin: 0 0 5px 0;
}

div#about p {
  line-height: 1.4em;
  font-size: 1.1em;
  margin: 0 0 15px 0;
}

div#home_right {
  float: right;
  height: 327px;
  margin: 10px 40px 0;
}

div#home_right ul {
  margin: 0 0 0 25px;
}

div#home_right li {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  height: 60px;
  width: 350px;
}

div#home_right li#twitter {
  margin: 0
  padding: 0;
  height: auto;
  border: solid 0px;
  text-decoration: none;
}

div#home_right li#twitter a:hover {
  border: solid 0px;
  text-decoration: none;
}

div#home_right li a {
  font-size: 1.2em;
}

div#home_right li p {
  font-size: 1.1em;
}

div#home_right div.icon {
  float: left;
  margin: 0 10px 0 0;
  width: 60px;
  height: 60px;
  background: #fff url(../images/section_buttons.png) no-repeat;
  cursor: pointer;
}

div#home_right li#apply div.icon {
  background-position: -3px -4px;
}

div#home_right li#games div.icon {
  background-position: -3px -75px;
}

div#home_right li#faq div.icon {
  background-position: -3px -145px;
}

div#home_right li#contact div.icon {
  background-position: -3px -215px;
}

div#home_left {
  width: 420px;
  height: 277px;
  margin: 45px 0 0 0;
  padding: 0 40px 0 0;
  margin-left: 20px;
  background: #fff url(../images/game_on_iphone.jpg) no-repeat;
}

div#home_left div#iphone_game {
  position: relative;
  width: 292px;
  height: 194px;
  top: 24px;
  left: 77px;
}

/*--------------------------------------------------
 * Faqs
--------------------------------------------------*/

/* Index */
ul.questions_and_answers {
  padding: 0 0 20px 0;
}

ul.questions_and_answers li {
  display: block;
  list-style: none;
  font-size: 1.1em;
  margin: 30px 0 40px 0;
  float: none;
}

li div.question {
  margin: 0 0 20px 0;
  font-size: 1.4em;
}

li div.question div.inner {
  margin: 0 0 0 50px;
}

li div.answer {
  border-bottom: solid 1px #ccc;
  margin: 0 0 0 0;
  padding: 0 0 10px 0;
}

li div.answer div.inner {
  margin: 0 0 0 50px;
}

li div.question img, li div.answer img {
  float: left;
}

ul.questions_and_answers li div.actions {
  padding: 5px 0 0 0;
}

ul.questions_and_answers li div.actions a {
  float: right;
  margin: 0 0 0 10px;
}

ul.questions_and_answers li div.actions span {
  color: #ff0000;
}

/*--------------------------------------------------
 * Games
--------------------------------------------------*/

/* Index */

li.game.free_game {
  background: #fff url(../images/free.png) no-repeat right top;
}

li.game {
  display: block;
  padding: 10px 20px 20px 10px;
  margin: 0 0 20px 0;
  list-style: none;
  border-bottom: solid 1px #ccc;
}

li.game div.cover {
  border: solid 1px #ccc;
  padding: 5px 0;
  width: 110px;
  height: 105px;
  background: #eee;
  margin: 0 10px;
  float: left;
}

li.game img {
  margin: 0 auto 0 auto;
  display: block;
  border: solid 1px #fff;
}

li.game h3.title {
  font-size: 1.4em;
  line-height: 1.8em;
  margin: 0;
  padding: 0 0 10px 0;
}

li.game span.attribute {
  float: right;
  margin: 0 50px 0 0;
  font-weight: bold;
  color: #d63630;
}

li.game span.attribute span {
  color: #000;
}

li.game div.description {
  margin: 0 40px 0 130px;
}

/* New */

div#games_new {
  float: left;
  width: 60%;
}

div#license_user_agreement {
  padding: 10px;
  background: #ccc;
  border: solid 1px #aaa;
}

div#license_user_agreement h3 {
  color: #374b74;
  font-size: 1.4em;
  text-align: center;
}

div#license_user_agreement textarea {
  margin: 10px 0 10px 0;
  border: solid 1px #ccc;
  width: 100%;
  height: 150px;
}

/* Show */
h2.title.free_game {
  background: #fff url(../images/free.png) no-repeat right;
  background-position: right 12px;
  height: 40px;
}

a.appstore_link {
  display: block;
  margin: 0 0 20px 8px;
}

p.no_id_notice {
  color: #fff;
  background: red;
  font-size: 1.1em;
  margin: 10px 0 10px 0;
  padding: 5px;
  text-align: center;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

div#right_column div.cover {
  margin: 10px 0 0 0;
}

div#right_column div.game_details ul {
}

div#right_column div.game_details li {
  list-style: none;
}

div#right_column div.game_details li.attribute {
  font-size: 1.1em;
  font-weight: bold;
  color: #d63630;
  padding: 0 0 10px 0;
}

div#right_column span.attribute_name {
  color: #000;
}

div#right_column div.user_participation {
  height: 38px;
}

div#right_column div.user_participation img.avatar {
  float: left;
}

div#right_column div.user_participation p {
  margin: 0 0 0 34px;
}

div.game_show h3 {
  margin: 30px 0 20px 0;
}

div.state_explanation h3 span {
  color: #D63630;
}

div.state_explanation strong {
  display: block;
  margin: 10px 0 10px 0;
}

div.state_explanation a.transition_button {
  margin: 0 10px 0 0;
}

/* Toolbar */
#private_toolbar {
  height: 40px;
  display: block;
  position: relative;
  top: -20px;
}

#private_toolbar li {
  list-style: none;
  float: left;
  margin: 0 20px 0 0;
  padding: 15px 0 0 0;
}

#private_toolbar a {
  padding: 0 0 0 30px;
  display: block;
  height: 30px;
  font-size: 1.1em;
}

#private_toolbar li.selected {
  background: #fff url(../images/toolbar_arrow.jpg) no-repeat;
  background-position: 50% -30px;
}

a.cube {
  background: transparent url(../images/cube_24.png) no-repeat;
}

a.edit {
  background: transparent url(../images/edit_24.png) no-repeat;
}

a.comments {
  background: transparent url(../images/comment_24.png) no-repeat;
}

a.assets {
  background: transparent url(../images/attachment_24.png) no-repeat;
}

/*--------------------------------------------------
 * Comments
--------------------------------------------------*/

/* Index */
div.comments {
  margin: 20px 0 0 0;
}

div.comment {
  margin: 0 0 50px 0;
}

div.comment div.avatar {
  float: left;
}

div.comment div.content {
  padding: 0 0 0 68px;
}

div.comment li {
  list-style: none;
}

ul.details {
  margin: 0 0 20px 0;
}

div.comment li.name {
  font-weight: bold;
}

div.comment li.date {
  font-style: italic;
}

div.comment div.body {
  border-bottom: solid 1px #ccc;
  padding: 0 0 20px 0;
}

/* New */
div#comment_new {
  margin: 30px 0 0 0;
}

div#comment_new div.avatar {
  float: left;
}

div#comment_new div.avatar {
  float:
}

div#comment_new form {
  margin: 0 0 0 68px;
}

/*--------------------------------------------------
 * Attachments
--------------------------------------------------*/

/* Index */
div.attachments {
  margin: 20px 0 0 0;
}

div.attachment {
  margin: 0 0 50px 0;
  width: 500px;
}

div.attachment div.icon {
  float: left;
}

div.attachment div.content {
  padding: 0 0 0 68px;
}

div.attachment li {
  list-style: none;
}

ul.details {
  margin: 0 0 20px 0;
}

div.attachment li {
  font-weight: bold;
}

div.attachment div.destroy {
  float: right;
}
/*--------------------------------------------------
 * Users
--------------------------------------------------*/
/* Show */
div.user_show div.avatar {
  margin: 0 0 20px 0;
}

div.user_show h4 {
  margin: 0 0 15px 0;
}

div.user_show h4 span {
  color: #444;
}

/* Index */
table.users {
  width: 100%;
}

table.users thead {
  background: #222;
  color: #fff;
}

table.users th {
  text-align: left;
  padding: 5px;
}

table.users td {
  padding: 5px;
}

/* Session */
div.session h2.title {
  margin: 0px;
}

div.session form {
  margin: 0 auto 0 auto;
  width: 590px;
}

div.session div.left {
  float: left;
  padding: 0 20px 0 0;
  margin: 0 20px 0 0;
  display: block;
  border-right: solid 1px #ccc;
  width: 300px;
  height: 100%;
}

div.session div.right {
}

div.session div.right img {
  display: block;
  margin: 10px 0 20px 0;
}

/* exceptions to reuse in all session related views */

div.session div.right.forgot {
}

/*--------------------------------------------------
 * Dashboard
--------------------------------------------------*/
ul.game_histories span.created_at {
  float: right;
  font-style: italic;
}

ul.game_histories span.event {
  font-weight: bold;
}

ul.game_histories div.avatar {
  float: left;
}

ul.game_histories div.content {
  margin: 0 0 0 68px;
  padding: 0 0 20px 0;
}

ul.game_histories li {
  list-style: none;
  border-bottom: solid 1px #ccc;
  margin: 0 0 20px 0;
  padding: 0 0 10px 0;
}

/*--------------------------------------------------
 * Logged in column
--------------------------------------------------*/
#right_column h3.title {
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: solid 1px #ccc;
}
.caps {
  padding: 5px 0 5px 0;
}
.agreement-contract .transition_button {
  float: none;
}
.agreement-options {
  height: 40px;
}
.agreement-contract p {
  padding: 10px 0 10px 0;
}
.agreement-options-link {
  position: relative;
  top: -10px;
}

/*--------------------------------------------------
 * Sites
--------------------------------------------------*/
div.site_asset p {
  font-size: 12px;
  padding: 0 0 10px 0;
  border-bottom: solid 1px #ccc;
}

div.site_asset p span.first {
  margin: 0 100px 0 0;
  width: 100px;
  display: block;
  float: left;
}

div.site_asset p span {
  margin: 0 10px 0 0;
}

div.site_asset_field {
  margin: 5px 0 5px 0;
}
