/* Pretty buttons courtesy of Jérôme Jaglale (http://maestric.com/doc/css/pretty_button). */
#content input[type=submit] {
  font: 12px "Helvetica Neue", Helvetica, Arial, clean, sans-serif !important;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  display: inline-block;
  color: #000;
  padding: 1px 5px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: #DDD url(../images/button_overlay.png) repeat-x scroll 0 0;
  border-style: none;
  text-align: center;
  overflow: visible;
}
 
#content input[type=submit]:hover,
#content input[type=submit]:focus {
  color: #009;
  background-position: 0 -50px;
}

#content input[type=submit]:active {
  background-position: 0 -100px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.7);
  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.7);
  -webkit-box-shadow: none;
}

#content input.reset[type=submit] {
  font: inherit;
  text-shadow: inherit;
  border-radius: inherit;
  -moz-border-radius: inherit;
  -webkit-border-radius: inherit;
  box-shadow: inherit;
  -moz-box-shadow: inherit;
  -webkit-box-shadow: inherit;
  display: inherit;
  color: inherit;
  padding: inherit;
  white-space: inherit;
  text-decoration: inherit;
  cursor: inherit;
  background: inherit;
  border-style: inherit;
  text-align: inherit;
  overflow: inherit;
}

#content input.reset[type=submit]:hover,
#content input.reset[type=submit]:focus {
  background-position: inherit;
  color: inherit;
}

#content input.reset[type=submit]:active {
  background-position: inherit;
  box-shadow: inherit;
  -moz-box-shadow: inherit;
  -webkit-box-shadow: inherit;
}

b {
  font-weight: bold;
}

#content .gifts {
  padding: 10px;
  margin: 10px 0 10px 0;
  font-size: 1.2em;
  border-top: 1px solid #EBCECE;
  border-bottom: 1px solid #EBCECE;
  background-color: #FBF4F4;
  overflow: hidden;
  height: 1%;
}

#content .gifts div {
  width: 150px;
  margin: 10px;
  padding: 15px;
  float: left;
  border:1px solid #ddd;
  background-color: #fff;
}

#content .gifts img {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
  border:1px solid #ddd;
  background-color: #fff;
  padding: 3px;
}

#content .gifts a {
  border: 0;
}

body.gift #content th,
body.gift #content td {
  padding: 5px;
}

ul#map-controls {
  margin: 0;
  text-align: center;
  list-style-type: none;
  font-size: 1.2em;
}

#map-controls li {
  padding: 6px 5px 6px 0px;
  line-height: 2em;
  display: inline;
}

#map-controls li.control-1 {
  background: transparent url(../images/control-1.png) no-repeat 0 50%;
}

#map-controls li.control-2 {
  background: transparent url(../images/control-2.png) no-repeat 0 50%;
}

#map-controls li.control-3 {
  background: transparent url(../images/control-3.png) no-repeat 0 50%;
}

#map-controls li.control-4 {
  background: transparent url(../images/control-4.png) no-repeat 0 60%;
}

#map-controls li.control-5 {
  background: transparent url(../images/control-5.png) no-repeat 0 60%;
}

#map-controls li.control-6 {
  background: transparent url(../images/control-6.png) no-repeat 0 60%;
}

#map-controls li.control-7 {
  background: transparent url(../images/control-7.png) no-repeat 0 50%;
}

#map-controls li.control-8 {
  background: transparent url(../images/control-8.png) no-repeat 0 50%;
}

#map-controls li.control-9 {
  background: transparent url(../images/control-9.png) no-repeat 0 50%;
}

#map-controls li.control-10 {
  background: transparent url(../images/control-10.png) no-repeat 0 50%;
}


#map-controls li a {
  padding: 0 0 0 25px;
  border: 0;
  color: #333;
  text-decoration: none;
}

#map-controls li a.mini-icon {
  padding: 0 0 0 18px;
}

ul#games {
        margin: 0;
}

#games li {
        display: inline;
}

ul.grid {
  margin: 0 !important;
}

ul.grid li {
  padding: 1px;
  border: 2px outset darkgrey;
  margin: 5px !important;
  float: left;
  list-style: none;
}

#colorbox #selected_picture {
  text-align: center;
}
#colorbox #selected_picture .actions {
  margin: 5px;
}
#colorbox #selected_picture .actions li {
  margin: 5px;
  display: inline;
  list-style: none;
}

#selected_picture .title {
  background: none;
  padding: 0;
  margin: 0 0 .5em 0;
  font-style: normal; 
  font-weight: bold;
  height: auto;
  font-size: 1.2em;
  color: black;
}

.grid .actions * {
  margin: 0 !important;
  padding: 0 !important;
  display: inline;
}

#sitemap {
  overflow: auto;
  zoom: 1;
}

#sitemap > li {
  width: 30%;
  float: left;
}

#sitemap li {
  list-style: disc;
  margin-left: 15px;
}

ul#account_links {
  list-style: none;
  margin: 1em 0;
  padding: 0;
}

ul#account_links li {
  margin: 0 1em;
  padding: 0;
  display: inline;
}

ul#account_links > li {
  margin-left: 0;
}

body.confirmations  #content form,
body.passwords      #content form,
body.sessions       #content form {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

body.confirmations  #content form p,
body.passwords      #content form p,
body.sessions       #content form p {
  font-size: inherit;
  clear: both;
}

ul#flash_messages {
  margin: 1em 2em;
  background-color: #FFFA7A;
  border-top: 1px solid #F0EC73;
  border-bottom: 1px solid #F0EC73;
  list-style: none;
}

ul#flash_messages li {
  text-align: center;
  color: #807C17;
}

ul#flash_messages img {
  margin: 0 20px 0 0;
}

form.subscription_level #subscription_level_subscribables_input ol {
  height: 15em;
}

form.subscription_level #subscription_level_subscribables_input ol li {
  padding: 0 !important;
  margin: 0 !important;  
}

dl#subscription_levels dt {
  font-weight: bold;
  background: #f07100;
  color: white;
  padding: .2em .5em;
  margin: 2em 0 0 0 !important;
}

dl#subscription_levels dd {
  margin: 0;
  padding: 0 0 0 2em;
  border-bottom: 1px solid black;
}

dl#subscription_levels dd form {
  margin: 0 0 1em 0;
  padding: 0;
}

body.myself.edit .connect-to-facebook {
  margin: 10px 30px 0 30px;
}

body.myself.edit .connect-to-facebook p {
  margin: 0 !important;
}

.eye-grabber {
  font-size: 1.5em !important;
  font-weight: bold  !important;
}

div.highlight {
  border: 1px solid orange;
  background: #FFEEC9;
  padding: 5px 10px;
}

body.sessions.new #minetoo_login {
  width: 48%;
  float: left;
  border-right: 1px solid lightgrey;
  padding-right: 1%;
  margin-bottom: 2em;
  text-align: justify;
}

body.sessions.new #facebook_login {
  width: 48%;
  padding: 0;
  float: left;
  margin-left: 2%;
  text-align: justify;
}

body.sessions.new #facebook_login h3 {
  margin-bottom: 1em;
}

body.sessions.new #account_links {
  font-size: 1em;
  margin: 1em 0;
  text-align: center;
}

body.sessions.new #account_links li {
  white-space: nowrap;
}

#nav-bar .logout_button {
  background: white;
  padding-bottom: 8px;
}

#nav-bar .logout_button * {
  cursor: pointer;
  color: #C65D00;
}

#content .pagination {
  clear: both;
}

#content .facebook_credits.intro {
  background: #CFE4FF;
  padding: 0 5px;
  border: 1px outset #3B5998;
  width: 710px;
  margin: 10px 0 0 10px;
}

#content .facebook_credits.intro p {
  margin: 10px 0;
  padding: 0;
  font-weight: bold;
  line-height: 20px;
}

#content .facebook_credits.intro a {
  text-decoration: none;
}

#content .facebook_credits.intro .term {
  color: #3B5998 !important;
  white-space: nowrap;
}

#content .facebook_credits.term:before {
  content: url(../images/facebook_credits-16x16.png);
  margin: 0 2px;
  vertical-align: top;
}

body.upgrades #upgrades {
  float: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  zoom: 1;
  margin: 12px 0;
}

body.upgrades #upgrades + * {
  clear: both;
}

body.upgrades ul.upgrades {
  list-style: none;
  clear: both;
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  text-align: center;
}

body.upgrades ul.upgrades li {
  display: block;
  float: left;
  border: 1px solid black;
  width: 215px;
  margin: 10px !important;
  padding: 5px; 
  position: relative;
  right: 50%;
}

body.upgrades ul.upgrades li.upgrade h3 {
  margin: -5px -5px 0 -5px !important;
  padding: 5px;
  width: 100%;
  background: lightyellow;
  border-bottom: 1px solid black;
  font-size: 13px !important;
}

body.upgrades ul.upgrades li.upgrade .price {
  font-weight: bold;
  font-size: 50px !important;
  line-height: 50px !important;
  background: transparent url('../images/facebook_credits-150x149-40.png') top right no-repeat;
  height: 109px;
  width: 160px;
  padding: 40px 0 0 0;
  text-align: center;
  margin: 10px 0 10px 20px !important;
}

body.upgrades ul.upgrades li.upgrade .price .facebook_credits {
  display: block;
  font-size: 12px;
  line-height: 12px;
}

body.upgrades ul.upgrades li.upgrade form {
  margin: 0 !important; 
  padding: 0 !important;
  text-align: center;
}


body.upgrades ul.upgrades li.upgrade input {
  font-size: 25px;
}

.like iframe {
  display: inline;
  vertical-align: middle !important;
  margin-left: 10px;
}

#cboxContent .pictures.show .actions input.format_and_send,
#content .pictures.show .actions input.format_and_send,
#cboxContent .pictures.show .actions input.further_edit_this_image,
#content .pictures.show .actions input.further_edit_this_image,
#cboxContent .pictures.show .actions input.send_this_image,
#content .pictures.show .actions input.send_this_image {
  background: url("/images/buttons/button-175x25-raised.png");
  border: none;
  height: 29px;
  width: 179px;
  text-align: center;
  font-size: 13px;
  padding: 0 4px 4px 0 !important;
  cursor: pointer;
}

#cboxContent .pictures.show .actions input.format_and_send:hover,
#content .pictures.show .actions input.format_and_send:hover,
#cboxContent .pictures.show .actions input.further_edit_this_image:hover,
#content .pictures.show .actions input.further_edit_this_image:hover,
#cboxContent .pictures.show .actions input.send_this_image:hover,
#content .pictures.show .actions input.send_this_image:hover,
#cboxContent .pictures.show .actions input.format_and_send:active,
#content .pictures.show .actions input.format_and_send:active,
#cboxContent .pictures.show .actions input.further_edit_this_image:active,
#content .pictures.show .actions input.further_edit_this_image:active,
#cboxContent .pictures.show .actions input.send_this_image:active,
#content .pictures.show .actions input.send_this_image:active,
#cboxContent .pictures.show .actions input.format_and_send:focus,
#content .pictures.show .actions input.format_and_send:focus,
#cboxContent .pictures.show .actions input.further_edit_this_image:focus,
#content .pictures.show .actions input.further_edit_this_image:focus,
#cboxContent .pictures.show .actions input.send_this_image:focus,
#content .pictures.show .actions input.send_this_image:focus {
  background: url("/images/buttons/button-175x25-depressed.png") top left no-repeat;
}

body.pictures.show #content {
   text-align: center;
}

body..pictures.show p.title {
  display: none;
}

#cboxContent .pictures.show p.description,
#content .pictures.show p.description {
  font-family: serif;
  font-style: italic;
}

#cboxContent .pictures.show .facebook,
#content .pictures.show .facebook,
#cboxContent .pictures.show .actions,
#content .pictures.show .actions {
  list-style: none;
  margin: 1em 0 !important;
}

#cboxContent .pictures.show .facebook li,
#content .pictures.show .facebook li,
#cboxContent .pictures.show .actions li,
#content .pictures.show .actions li {
  display: inline;
  margin: 0 5px !important;
}

form.button_to {
  margin: 0 !important;
  padding: 0 !important;
  display: inline;
}

form.button_to div {
  display: inline;
}

#cboxContent .pictures.show .keywords,
#content .pictures.show .keywords {
  margin-top: 0 !important;
}

#cboxContent .pictures.show .description,
#content .pictures.show .description {
  margin-bottom: 0 !important;
}

body.pictures.show #footer {
  margin-top: 5em;
}

#colorbox #selected_picture {
  overflow: hidden;
}

body.users.gifts #content ul.gifts li {
  float: left;
  margin: 5px 9px;
}

body.users.gifts #content ul.gifts li img {
  margin: 0;
  width: 120px;
  height: 120px;
}


body.users.show #content ul.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
  zoom: 1;
}

body.users.show #content ul.gallery li {
  display: inline;
  margin: 10px 25px;
  float: left;
}

body.users.show #content ul.gallery li img {
  width: 245px;
  border: 1px outset;
  padding: 1px;
}

body.users.galleries.show #content h3 {
  color: #9933CC;
  text-align: center;
  font-size: 14px;
  margin: 25px 0 10px 0;
  padding: 0;
}

body.users.galleries.show #content .pagination {
  text-align: center;
}


body.users.show #content .gallery.votes {
  overflow: auto;
  zoom: 1;
  margin: 25px;
}

body.users.show #content .gallery.votes .vote-wrapper {
  width: 16.66%;
  display: block;
  float: left;
  text-align: center;
}

body.users.show #content .gallery.votes dt {
  font-weight: bold;
  color: #3F8CB2;
  border-top: 1px solid #CCFF01;
  border-bottom: 1px solid #CCFF01;
}

body.users.show #content .gallery.votes .vote-wrapper:first-child dt {
  border-left: 1px solid #CCFF01;
}

body.users.show #content .gallery.votes .vote-wrapper:last-child dt {
  border-right: 1px solid #CCFF01;
}

body.users.show #content .gallery.votes form {
  display: block;
  margin: 5px 0 !important;
}

body.pages.home #content {
  font-size: 16px;
  font-family: 'LucidaGrandeRegular';
}

#content .birthday-matches {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #FFF6E0;
  border-top: 2px solid #E3EBBA;
  border-bottom: 2px solid #E3EBBA;
  overflow: hidden;
  zoom: 1;
}

#content .birthday-matches h4 {
  font-size: 12px;
  line-height: 12px;
  padding: 2px 0 0 55px;
}

#content .birthday-matches p {
  font-size: 12px;
  margin: 0 0 0 55px;
  padding: 0;
  overflow: hidden;
  height: 60px;
}

#content .birthday-matches li {
  margin: 10px 5px;
  padding: 0;
  line-height: 12px !important;
  width: 265px;
  float: left;
}

#content .birthday-matches .avatar {
  float: left;
}

#content .birthday-matches li.pagination {
  clear: both;
  width: 100%;
  text-align: center;
  font-size: 12px;
}

body.users.show #content .birthday-matches li {
  width: 245px;
}

body.users.show #content .birthday-matches li p {
  height: 80px;
}

#content .pagination div {
  clear: both;
  margin: 2px auto;
  overflow: auto;
  zoom: 1;
  display: table;
}

#content .pagination .info {
  background: #2E6AB1;
  color: white;
  padding: 5px 10px;
}

#content .pagination .info b {
  color: #003;
  background: #6aa6ed;
  padding: 1px 3px;
}

#content .pagination .links a,
#content .pagination .links em,
#content .pagination .links span {
  display: block;
  float: left;
  margin: 0 1px;
  padding: 2px 5px;
  background: white;
  color: #105CB6;
  border: 1px solid #9AAFE5;
  text-decoration: none;
}

#content .pagination .links a:hover,
#content .pagination .links a:focus {
  color: #003;
  border-color: #003;
}

#content .pagination .links em {
  font-weight: bold;
  background: #2E6AB1;
  color: white;
  border: 1px solid #2E6AB1;
}

#content .pagination span.disabled {
  color: #999;
  border: 1px solid #DDD;
}

#content .pagination > br {
  display: none;
}

body.users.birthday_matches #map {
  width: 1098px;
  height: 400px;
  border: 1px solid black;
}

body.users.birthday_matches #map-controls {
  margin-bottom: 25px;
  border: 1px solid black;
  border-top: none;
}

body.admin h2 + table {
  width: 100%;
}

body.admin #content .purchases .purchase.unpaid,
body.admin #content .purchases .purchase.unpaid a {
  color: #AAA;
}

body.admin .facebook_credits_order dt,
body.admin #content > dl.purchase dt {
  clear: both;
  float: left;
  width: 14em;
  margin: .5em 0;
}

body.admin .facebook_credits_order dl,
body.admin #content > dl.purchase dd {
  padding: .5em 0 .5em 15em;
}

body.admin .facebook_credits_order dl:nth-of-type(odd),
body.admin #content > dl.purchase dt:nth-of-type(even),
body.admin #content > dl.purchase dt:nth-of-type(even) + dd {
  background: #DDD;
}

body.admin .facebook_credits_order .gateway_response,
body.admin #content > dl.purchase dd.gateway_responses {
  font-family: monospace;
  margin: .5em 0;
  whitespace: pre;
}

body.admin .facebook_credits_order .gateway_response:first-child {
  margin-top: 0;
}

body.admin .facebook_credits_order .gateway_response:first-child {
  margin-top: 0;
}

body.admin .facebook_credits_order .state.settled,
body.admin .purchase .state.paid {
  color: #008000;
}

body.admin .purchase ul.purchasables.list li.purchasable {
  display: inline-block;
  width: 20%;
  margin: .1em 1%;
}


body.frontend.bug_specimens #content,
body.frontend.bugs #content {
  width: 713px;
  margin: 0 auto;
  padding-left: 40px;
}

body.frontend #content .bug_specimens {
  overflow: auto;
  zoom: 1;
}

body.frontend #content .bug_specimens .bug_specimen {
  clear: both;
  height: 200px;
}

body.frontend #content .bug_specimens .bug_specimen a {
  color: inherit;
  text-decoration: inherit;
}

body.frontend #content .bug_specimens .bug_specimen div.description h4 {
  display: inline;
  font-size: 15px;
}

body.frontend #content .bug_specimens .bug_specimen div.description h4:after {
  content: "–";
  margin: 0 10px;
}

body.frontend #content .bug_specimens .bug_specimen div.description p {
  display: inline;
  color: #8C3F3F;
  font-size: 15px;
}

body.frontend #content .bug_specimens .bug_specimen div.description {
  float: left;
  width: 438px;
  padding: 50px 25px 0 0 !important;
}

body.frontend #content .bug_specimens .bug_specimen div.avatar {
  float: right;
  width: 240px;
  background: #F0F5E6; 
  border-left: 10px solid #EFEFEF;
  position: relative;
  height: 100%;
}

body.frontend #content .bug_specimens .bug_specimen:first-child div.avatar {
  border-top: 5px solid #EFEFEF;
}

body.frontend #content .bug_specimens .bug_specimen div.avatar img {
  margin: 0 auto;
  display: block;
}

body.frontend #content .bug_specimens .bug_specimen div.avatar h4 {
  position: absolute;
  bottom: 25px;
  right: 30px;
  display: block;
  color: #FF6633;
  font-size: 15px;
}

body.frontend.bug_specimens #content h2,
body.frontend.bugs #content h2 {
  background: url(../images/bugs/header.png) no-repeat;
  height: 206px;
  text-indent: -10000px;
}

body.frontend.bug_specimens #content h3,
body.frontend.bugs #content h3, {
  margin-top: -25px;
}

body.frontend.bug_specimens #content .intro {
  font-size: 14px;
}

body.frontend.bug_specimens #content .intro em {
  font-weight: bold;
  font-style: italic;
}

body.frontend.bug_specimens #content #outro {
  overflow: auto;
  zoom: 1;
  border: 5px solid #EFEFEF;
}

body.frontend.bug_specimens #content #outro p {
  margin: 0;
}

body.frontend.bug_specimens #content #outro a {
  color: #EC8A06;
  font-weight: bold;
  text-decoration: none;
}

body.frontend.bug_specimens #content #outro .logo {
  border-right: none;
  width: 329px;
  float: left;
  line-height: 160px;
}

body.frontend.bug_specimens #content #outro .logo img {
  vertical-align: middle;
}

body.frontend.bug_specimens #content #outro .outro {
  background: #EFEFEF;
  width: 324px;
  float: right;
  padding: 25px;
  text-align: right;
  font-size: 13px;
  height: 120px;
}

body.frontend.bug_specimens #content #credits {
  text-align: right;
  font-size: 10px;
  padding: 0 25px 0 0;
}

body.frontend.bug_specimens #content #credits .name {
  font-weight: bold;
}

body.frontend.bugs.new .ui-autocomplete .ui-menu-item a,
body.frontend.bugs.update .ui-autocomplete .ui-menu-item a,
body.frontend.bugs.upgrade .ui-autocomplete .ui-menu-item a,
body.frontend.bugs.create .ui-autocomplete .ui-menu-item a,
body.frontend.bugs.new #bug_selected_facebook_recipient_id,
body.frontend.bugs.update #bug_selected_facebook_recipient_id,
body.frontend.bugs.upgrade #bug_selected_facebook_recipient_id,
body.frontend.bugs.create #bug_selected_facebook_recipient_id {
  line-height: 55px;
  vertical-align: middle;
  cursor: pointer;
}

body.frontend.bugs.new .ui-autocomplete .ui-menu-item a img,
body.frontend.bugs.update .ui-autocomplete .ui-menu-item a img,
body.frontend.bugs.upgrade .ui-autocomplete .ui-menu-item a img,
body.frontend.bugs.create .ui-autocomplete .ui-menu-item a img,
body.frontend.bugs.new #bug_selected_facebook_recipient_id img,
body.frontend.bugs.update #bug_selected_facebook_recipient_id img,
body.frontend.bugs.upgrade #bug_selected_facebook_recipient_id img,
body.frontend.bugs.create #bug_selected_facebook_recipient_id img {
  float: left;
  margin-right: 5px;
}

body.frontend.bugs.new #bug_selected_facebook_recipient_id a,
body.frontend.bugs.update #bug_selected_facebook_recipient_id a,
body.frontend.bugs.upgrade #bug_selected_facebook_recipient_id a,
body.frontend.bugs.create #bug_selected_facebook_recipient_id a {
  color: #666;
  text-decoration: none;
}

body.frontend.bugs.new #content form label,
body.frontend.bugs.update #content form label,
body.frontend.bugs.upgrade #content form label,
body.frontend.bugs.create #content form label {
  font-weight: bold;
}

body.frontend.bugs.new #content form input[type=submit],
body.frontend.bugs.update #content form input[type=submit],
body.frontend.bugs.upgrade #content form input[type=submit],
body.frontend.bugs.create #content form input[type=submit] {
  font-weight: bold !important;
  padding: 5px !important;
}

body.frontend.bugs.new #content .bug_specimen,
body.frontend.bugs.update #content .bug_specimen,
body.frontend.bugs.upgrade #content .bug_specimen,
body.frontend.bugs.create #content .bug_specimen {
  overflow: auto;
  zoom: 1;
}

body.frontend.bugs.new #content .bug_specimen img.bug_specimen.avatar,
body.frontend.bugs.update #content .bug_specimen img.bug_specimen.avatar,
body.frontend.bugs.upgrade #content .bug_specimen img.bug_specimen.avatar,
body.frontend.bugs.create #content .bug_specimen img.bug_specimen.avatar {
  float: left;
  margin-right: 15px;
}

body.frontend.bugs.new #content .bug_specimen h4,
body.frontend.bugs.update #content .bug_specimen h4,
body.frontend.bugs.upgrade #content .bug_specimen h4,
body.frontend.bugs.create #content .bug_specimen h4 {
  font-size: 16px;
  margin-top: 30px;
}

body.frontend.bugs.new #content .instructions,
body.frontend.bugs.update #content .instructions,
body.frontend.bugs.upgrade #content .instructions,
body.frontend.bugs.create #content .instructions {
  font-weight: bold;
  border-bottom: 1px solid;
  padding: 0;
  margin: 25px 0;
  color: #CB720D;
}

body.private_messages #content .pagination div {
  margin: 15px 0 !important;
}

body.private_messages #content .pagination a.messages_inbox,
body.private_messages #content .pagination a.sent_messages {
  margin-right: 10px !important;
}

#content table.private_messages {
  width: 100%;
}

#content table.private_messages tr.private_message {
  border: 1px solid #CCC;
}

#content table.private_messages tr.private_message:nth-child(even) {
  background: #EEE;
}

#content table.private_messages tr.private_message:hover {
  background: #FFFA7A;
}

#content table.private_messages tr.private_message td {
  padding: 5px;
  vertical-align: middle;
  min-height: 60px !important;
}

#content table.private_messages tr.private_message td a {
  text-decoration: underline;
  color: inherit;
}

#content table.private_messages tr.private_message td.avatar {
  width: 35px;
}

#content table.private_messages tr.private_message td.correspondent.name {
  width: 10em;
}

#content table.private_messages tr.private_message td.created_at {
  width: 15em;
  text-align: right;
}

#content table.private_messages tr.private_message td p {
  margin: 0;
  padding: 0;
}

#content table.private_messages tr.private_message td.message .title {
  font-weight: bold;
}

.pointer {
  cursor: pointer;
}

body.bugs.show #content .message {
  overflow: auto;
  zoom: 1;
  background: #EEE;
  padding: 5px;
}

body.bugs.show #content .message a.sender {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 25%;
  height: 50px;
  overflow: hidden;
  zoom: 1;
  float: left;
}

body.bugs.show #content .message a.sender img {
  float: left;
  margin-right: 5px;
}

body.bugs.show #content .message .body {
  margin: 0;
  padding: 0;
}

body.bugs.show #content .app_info {
  margin: 25px 0;
  padding: 2px 5px;
  background-color: #FFFA7A;
  border-top: 1px solid #F0EC73;
  border-bottom: 1px solid #F0EC73;
  text-align: center;
  font-weight: bold;
}

body.bugs.show #content .app_info a {
  text-decoration: none;
  color: inherit;
}

body.bugs.show #content .app_info .main_app_link {
  display: block;
  width: 100%;
  line-height: 2em;
}

body #content .notice {
  background-color: #FFD;
  border: 1px solid #FE7;
  padding: .2em .5em;
  margin: 1em 0;
}

body #content .notice p {
  margin: .5em 0;
  padding: 0;
}

body.pictures.share #content #selected_picture {
  margin: 1em 0;
  padding: .5em 0;
  background: #EEE;
}

body.pictures.share #content #selected_picture img.picture {
  display: block;
  margin: 0 auto;
}

body.pictures.share #content > div h3 {
  border-bottom: 1px solid;
}

body.pictures.share #content > div.sharing,
body.pictures.share #content > div.meta {
  width: 540px;
  overflow: auto;
  zoom: 1;
  margin-bottom: 2em;
}

body.pictures.share #content > div.sharing {
  float: left;
}

body.pictures.share #content > div.meta {
  float: right;
}

body.users.pictures #content .grid {
  overflow: auto;
  zoom: 1;
}

body.users.pictures #content .grid li {
  width: 250px;
  margin: 10px !important;
  padding: 0;
  border-width: 1px;
}

body.users.pictures #content .grid li a img {
  display: block;
  margin: 5px auto;
  width: 245px;
  height: 176px;
}

body.users.pictures #content .grid li .actions {
  display: block;
  margin: 5px auto;
  text-align: center;
}

body.users.pictures #content .grid li .actions form:first-child {
  display: block;
}

body.users.pictures #content .grid li .actions form {
  line-height: 2em;
  margin: 0 1em !important;
}

body.pictures.share .attribution {
  font-weight: bold;
  margin: 1em 0;
  padding: .2em 0;
  background: #EEE;
  text-align: center;
}

body.pictures.share .attribution img {
  vertical-align: middle;
}

body.pictures.share .attribution .avatar {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none !important;
  color: inherit !important;
  font-weight: normal;
}

body.pictures.share .attribution .avatar img {
  display: block;
  margin: 0 auto;
}

body.pictures.share .meta dl {
  overflow: auto;
  zoom: 1;
}

body.pictures.share .meta dl dt {
  width: 20%;
  float: left;
  clear: both;
}

body.pictures.share .meta dl dd {
  width: 80%;
  float: right;
}

body.pictures.share .derive div {
  margin: 1em 0;
}

body #content #email {
  margin: 0 auto;
}

.simplepopup-container {
  z-index: 10000 !important; /* must be higher than that of colorbox */
}

.fm-simplemodal-container {
  z-index: 10000 !important; /* must be higher than that of colorbox */
}

.FotomotoToolbarClass {
  margin: 0 0 5px 0 !important;
  width: 100% !important;
  background: #EEE !important;
  padding: 2px 0 !important;
}

.FotomotoBar {
  margin: 0 auto !important;
  text-align: center !important;
}

.FotomotoBar li {
  display: inline !important;
  float: none !important;
}

.FotomotoBar li.FotomotoSeparator {
  display: none !important;
}

.FotomotoBarLink {
  padding: 0 10px !important;
}

.FotomotoToolbarClass br {
  display: none !important;
}

body.frontend.premium_pictures #content ul.grid {
  margin: 1em 0 !important;
  overflow: auto;
  zoom: 1;
}

body.frontend.premium_pictures #content .grid a.picture {
  display: block;
  width: 350px;
  height: 262px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.frontend.premium_pictures #content .grid li {
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid black;
}

body.frontend.premium_pictures #content .grid a.category {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

body.admin.keywords ul.keywords li.keyword {
  float: left;
  width: 30%;
  margin: .5em 0;;
  padding: .5em 1%;
  text-align: center;
  font-size: 14px;
}

body.admin.keywords ul.keywords li.keyword:nth-child(6n),
body.admin.keywords ul.keywords li.keyword:nth-child(6n-1),
body.admin.keywords ul.keywords li.keyword:nth-child(6n-2) {
  background: #EEE;
}

body.admin.keywords ul.keywords li.keyword ul.actions {
  margin-top: .5em;
}

body.admin.keywords ul.keywords li.keyword ul.actions li {
  display: inline;
  padding: 0 .2em;
}

body #content ul.comments > li.comment {
  clear: both;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 12px !important;
  overflow-x: hidden;
}

body #content ul.comments > li.comment h4 {
  font-size: 12px;
  line-height: 12px;
  margin: 0;
  padding: 0;
}

body #content ul.comments > li.comment p {
  font-size: 12px;
  margin: 0 0 0 55px;
  padding: 0;
}

body #content ul.comments > li.comment .avatar {
  float: left;
}

body #content ul.comments > li.comment.new form {
  margin: 0 0 10px 0;
  padding: 0;
}

body #content ul.comments > li.comment.new form li {
  margin: 0 0 5px 0;
  padding: 0;
}

body #content ul.comments > li.comment.new form #comment_comment_input label,
body #content ul.comments > li.comment.new form #comment_comment_input legend {
  width: 100%;
  margin: 0 0 10px 0;
  position: relative;
  font-weight: bold;
}

body #content ul.comments > li.comment.new #comment_comment_input textarea {
  height: 4em !important;
  border: 1px outset;
  width: 99% !important;
  margin: 0 !important;
}

body #content ul.comments > li.comment.new #comment_comment_input textarea:focus {
  border: 1px inset;
}

body #content ul.comments > li.comment.show h4 {
  margin-left: 55px;
}

body #content ul.comments > li.comment.show form {
  display: block;
  margin: 5px 0 5px 55px !important;
}

body.frontend.users.preferences #content form.user {
  overflow: auto;
  zoom: 1;
}

body.frontend.users.preferences #content form.user > fieldset {
  width: 48%;
  margin: 0 1%;
  float: left;
}

body.frontend.users.preferences #content form.user fieldset.choices legend.label {
  width: 20%; /* not sure why this is set to 95% in out-of-the-box formtastic.css */
}

body.frontend.users.preferences #content form.user > fieldset.buttons {
  clear: both;
  float: none;
  width: 100%;
  padding: 0;
  margin: 1em 0;
  text-align: center;
}

body.frontend.users.preferences #content form.user > fieldset.buttons * {
  float: none;
}

body.frontend.users.preferences #content > div {
  border-bottom: 1px solid #CCC;
}

body.frontend.users.preferences #content h3 {
  border-bottom: 1px solid;
  margin-top: 2em;
}

body.frontend #content dl.timeline_events .date {
  background: #EEE;
  padding: .2em .5em;
  border: 1px solid;
  border-bottom: none;
  margin-top: 1em;
}

body.frontend #content dl.timeline_events .event {
  padding: .5em;
  border: 1px solid;
  border-top: none;
  overflow: auto;
  zoom: 1;
}

body.frontend #content dl.timeline_events .event .desc {
  width: 75%;
  float: left;
  margin: 0;
  padding: 0;
}

body.frontend #content dl.timeline_events .event .actions {
  width: 20%;
  float: right;
  text-align: right;
}

body.frontend #content dl.timeline_events .event .actions li {
  display: inline;
  margin: 0 .5em;
}

body.pages.subscriptions #content {
  margin: 0 auto;
  padding: 0 0 60px 0;
  width: 1100px;
}

body.pages.subscriptions #content .slogan {
  margin: 100px 0 100px 70px;
  padding: 0;
  width: 754px;
  height: 126px;
  background: url('../images/pages/subscriptions/slogan.png') no-repeat;
}

body.pages.subscriptions #content .holder-box {
  margin: 0 40px 0 0;
  padding: 0;
  position: relative;
  width: 340px;
  height: 1105px;
  float: left;
}

body.pages.subscriptions #content .holder-box-left {
  background: url('../images/pages/subscriptions/holder-box-left-bg.jpg') no-repeat;
}

body.pages.subscriptions #content .holder-box-center {
  background: url('../images/pages/subscriptions/holder-box-center-bg.jpg') no-repeat;
}

body.pages.subscriptions #content .holder-box-right {
  background: url('../images/pages/subscriptions/holder-box-right-bg.jpg') no-repeat;
}

body.pages.subscriptions #content .last {
  margin-right: 0;
}

body.pages.subscriptions #content .holder-box .save {
  margin: 0;
  padding: 0;
  position: absolute;
  top: -30px;
  left: 30px;color#003;
  font-size: 18px;
  font-family: 'OratorStdMedium';
}

body.pages.subscriptions #content .holder-box .save span {
  color: #0c0;
}

body.pages.subscriptions #content .holder-box .name {
  margin: 35px 0 0 0;
  padding: 45px 0 0 0;
  height: 46px;
  vertical-align: middle;
  font-family: 'HelveticaOblique';
  color: #003;
  font-size: 22px;
}

body.pages.subscriptions #content .holder-box .first-name {
  padding-left: 15px;
  width: 130px;
  background: url('../images/pages/subscriptions/first-name-bg.png') no-repeat 100% 0;
}

body.pages.subscriptions #content .holder-box .second-name {
  padding-left: 25px;
  width: 115px;
  background: url('../images/pages/subscriptions/second-name-bg.png') no-repeat 100% 0;
}

body.pages.subscriptions #content .holder-box .third-name {
  padding-left: 30px;
  width: 90px;
  background: url('../images/pages/subscriptions/third-name-bg.png') no-repeat 100% 0;
}

body.pages.subscriptions #content .holder-box .price {
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 165px;
  height: 165px;
  top: -50px;
  right: -80px;
}

body.pages.subscriptions #content .holder-box .first-price {
  background: url('../images/pages/subscriptions/price-1.png') no-repeat;
}

body.pages.subscriptions #content .holder-box .second-price {
  background: url('../images/pages/subscriptions/price-2.png') no-repeat;
}

body.pages.subscriptions #content .holder-box .third-price {
  background: url('../images/pages/subscriptions/price-3.png') no-repeat;
}

body.pages.subscriptions #content .holder-box ul {
  margin: 100px auto 0 auto;
  padding: 0;
  width: 250px;
  list-style: none;
}

body.pages.subscriptions #content .holder-box ul.left {
  margin-left: 20px;
}

body.pages.subscriptions #content .holder-box ul.right {
  margin-right: 35px;
}

body.pages.subscriptions #content .holder-box ul li {
  margin: 21px 0;
  padding: 0;
}

body.pages.subscriptions #content .holder-box ul.center li {
  margin: 45px 0;
}

body.pages.subscriptions #content .holder-box ul li.first {
  margin-top: 0;
}

body.pages.subscriptions #content .holder-box ul li.last {
  margin-bottom: 0;
}

body.pages.subscriptions #content .holder-box ul li a {
  display: block;
  margin: 0;
  padding: 0 30px 0 0;
  text-align: right;
  color: #003;
  font-family: 'ChalkboardRegular';
  font-size: 26px;
  text-decoration: none;
}

body.pages.subscriptions #content .holder-box ul li a:hover {
  text-decoration: underline;
}

body.pages.subscriptions #content .holder-box .note {
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  bottom: 30px;
  left: 0;
  font-size: 14px;
  color: #003;
  text-align: center;
  font-family: 'OratorStdMedium';
}

body.pages.subscriptions #content .holder-box .note span {
  font-size: 20px;
}

body.pages.subscriptions #content .footer_resize {
  margin: 0 auto;
  padding: 0 0 40px 0;
  width: 1100px;
  overflow: hidden;
}

body.pages.subscriptions #content .footer_resize .holder-box {
  margin: 0 40px 0 0;
  padding: 0;
  width: 340px;
  float: left;
  height: auto;
}

body.pages.subscriptions #content .footer_resize .last {
  margin-right: 0;
}

body.pages.subscriptions #content .footer_resize .holder-box .text {
  margin: 0;
  padding: 0;
  text-align: right;
}

body.pages.subscriptions #content .footer_resize .holder-box .text p {
  font-family: 'LucidaGrandeRegular';
  color: #003;
  font-size: 22px;
}

body.pages.subscriptions #content .footer_resize .holder-box .offer {
  display: block;
  margin: 0;
  padding: 0;
  width: 359px;
  height: 125px;
}

body.pages.subscriptions #content .footer_resize .holder-box .first-offer {
  background: url('../images/pages/subscriptions/offer-1.png') no-repeat;
}

body.pages.subscriptions #content .footer_resize .holder-box .second-offer {
  background: url('../images/pages/subscriptions/offer-2.png') no-repeat;
}

body.frontend #content ul.painting_apps.list {
  background: url("../images/painting_apps/list-bg.png") center right no-repeat;
  min-height: 165px;
  width: 260px;
  padding-left: 260px;
  text-align: right;
  font-size: 16px;
  list-style: none;
}

body.frontend #content ul.painting_apps.list li {
  display: inline;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

body.frontend #content ul.painting_apps.list li:after {
  content: ", ";
}

body.frontend #content ul.painting_apps.list li:last-child:after {
  content: none;
}

body.frontend #content ul.painting_apps.list li:last-child {
  display: block;
}

body.frontend #content ul.painting_apps.list li:nth-last-child(-n+2):after {
  content: none;
}

body.frontend #content ul.painting_apps.list li a {
  color: #0033CC;
  text-decoration: none;
  font-size: 16px;
}

body.frontend.painting_apps.show #content .buy-me {
  margin: 280px 0 0 35px;
  width: 77px;
  height: 122px;
  float: left;
}

body.frontend.painting_apps.show #content .buy-me a {
  display: block;
}

body.frontend.painting_apps.show #content .big-app {
  margin: 0 auto 25px auto;
  padding: 0;
  width: 750px;
  height: 560px;
}

body.frontend.painting_apps.show #content .under-app {
  margin: 0 0 15px 0;
  padding: 20px 10px 0 0;
  position: relative;
  width: 640px;
  height: 70px;
  text-align: right;
  font-family: 'LucidaGrandeRegular';
  border: 1px solid #ff6532;
}

body.frontend.painting_apps.show #content .under-app .description p {
  font-family: 'LucidaGrandeRegular';
  color: #006;
}

body.frontend.painting_apps.show #content .under-app h2 {
  position: absolute;
  top: 15px;
  right: -420px;
  font-size: 35px;
  color: #996;
  font-family: 'GillSansMTBold';
  width: 400px;
  text-align: center;
}

body.frontend.painting_apps.show #content .center {
  margin: 0 auto;
  padding: 0;
  width: 930px;
}

body.frontend.painting_apps.show #content .center .video {
  margin: 0 0 0 -85px;
  padding: 0;
  width: 430px;
  height: 360px;
  float: left;
}

body.frontend.painting_apps.show #content .center .apps {
  margin: 0;
  padding: 100px 10px 0 0;
  position: relative;
  width: 420px;
  height: 360px;
  float: right;
}

body.frontend.painting_apps.show #content .center .google-adds {
  margin: 0 0 25px 0;
  padding: 0;
  width: 728px;
  height: 90px;
  float: right;
}

body.frontend.painting_apps.show #content .center .tips h3 {
  margin-top: -65px;
  font-size: 20px;
  font-family: 'BigCaslonMedium';
  font-weight: 600;
}

body.frontend.painting_apps.show #content .center .tips .tip {
  margin: 10px 25px;
  padding: 0;
  width: 400px;
  min-height: 175px;
  float: left;
}

body.frontend.painting_apps.show #content .center .tips .tip * {
  color: #006;
  font-size: 11px;
  font-family: 'LucidaGrandeRegular';
  font-weight: normal;
}

body.frontend.painting_apps.show #content .center .tips .tip h4:before {
  background: url(../images/painting_apps/tip.png) center left no-repeat;
  content: "Problem";
  display: block;
  padding: 0 0 0 25px;
  line-height: 25px !important;
  font: bold 14px "OptimaBold";
}

body.frontend.painting_apps.show #content .center .tips .tip p:before {
  content: "Solution";
  display: block;
  line-height: 20px !important;
  font: bold 14px "OptimaBold";
}

body.frontend.painting_apps.show #content .banner {
  margin: 40px auto 0 auto;
  padding: 0;
  position: relative;
  width: 941px;
  height: 66px;
}

body.frontend.painting_apps.show #content .banner .subscription {
  margin: 0;
  padding: 0;
  position: absolute;
  width: 149px;
  height: 110px;
  top: -75px;
  right: 5px;
}

body.frontend.painting_apps.show #content .wow-slider {
  margin: 35px auto 0 auto;
  padding: 0;
  width: 750px;
  height: 500px;
  border: 1px solid #ff6532;
  position: relative;
}

body.frontend.painting_apps.show #content .description {
  color: #006;
}

body.frontend.painting_apps.show #content ul.painting_apps.list li a {
  color: #006;
  font-family: 'LucidaGrandeRegular';
}

body.admin.painting_apps #content form.painting_app > fieldset.buttons {
  margin: 2em 0;
  padding: 1em 0;
  border-top: 1px solid #CCC;
  text-align: center;
}

body.admin.painting_apps #content form.painting_app > fieldset.buttons li {
  display: inline;
  float: none;
}

body.admin.painting_apps.index #content table.painting_apps {
  width: 20em;
  margin: 1em;
  float: left;  
}

body.admin #content td.actions form {
  margin: 0 .5em !important;
}

body.admin #content td.actions form:first-child {
  margin-left: 0 !important;
}

body.admin #content td.actions form:last-child {
  margin-right: 0 !important;
}

body.admin #content div.double_columned {
  overflow: auto;
  zoom: 1;
}

body.admin #content div.double_columned div.column {
  width: 48%;
  margin: 0 1%;
  float: left;
}

.painting_app_transfer_effect {
  border: 1px dotted #CCC;
  background: #FE7;
  opacity: .5;
  width: 120px !important;
  height: 120px !important;
}

body.painting_apps #content .painting_apps.grid_list {
  clear: both;
  overflow: auto;
  zoom: 1;
  margin: 10px -20px;
}

body.painting_apps #content .painting_apps.grid_list .painting_app {
  width: 110px;
  float: left;
  margin: 10px 20px;
  text-align: center;
}

body.painting_apps #content .painting_apps.grid_list .painting_app input {
  display: none;
}

body.painting_apps #content .painting_apps.grid_list .painting_app p,
body.painting_apps #content .painting_apps.grid_list .painting_app ul {
  margin: 0;
  padding: 0;
}

body.painting_apps #content .painting_apps.grid_list .painting_app img {
  border: 1px solid #CCC;
  padding: 4px;
}

body.painting_apps #content .painting_apps.grid_list .painting_app h4 a {
  color: inherit;
  text-decoration: none;
}

body.painting_apps #content .painting_apps.grid_list .painting_app .price {
  float: left;
}

body.painting_apps #content .painting_apps.grid_list .painting_app .actions {
  float: right;
}

body.painting_apps.buy #content .checkout {
  background: #009E9E;
  text-align: center;
  border-top: 1px solid #066;
  border-bottom: 1px solid #066;
  width: 1010px;
  padding: 2px 0;
}

body.painting_apps.buy #content .checkout input[type=submit] {
  background: url(https://www.paypal.com/en_US/i/btn/btn_dg_pay_w_paypal.gif);
  width: 150px;
  height: 33px;
  text-indent: -10000px;
  border: none;
  margin: 0;
  padding: 0;
  display: inline;
  cursor: pointer;
}

body.painting_apps.buy #content .checkout p {
  margin: 0;
  padding: 0;
  font-weight: bold;
}

