body {
  overflow: hidden;
}

body > .messages,
body > .tabs {
  display: none;
}

body.wrhome {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

html, body, #mobile-container, #mobile-main {
  height: 100%;
  min-height: 100%;
}

#container {
  display: none;
}

.subnav .desktop-share {
  display: none;
}

p {
  margin: 0 0 20px 0;
}

#mobile-container.dark {
  background-color: #000;
}

body.wrhome .mobile .wr-book,
.about .wr-book {
  min-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 0 -4px 0;
}

div#admin-toolbar {
  z-index: 250;
}

#mobile-container {
  position: relative;
  min-width: 100%;
  z-index: 20;
  background: #E8E8E8;
  box-shadow: 2px 0 10px rgba(0,0,0,0.5);
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  behavior: url('../pie/PIE.htc');
}

body.wrhome #mobile-container {
  overflow-y: hidden;
}

#mobile-container.open,
#mobile-container.open #mobile-main {
  /*overflow-y: hidden;*/
}

#mobile-main {
  height: 100%;
  min-height: 100%;
}

body.wrhome #mobile-container,
body.wrhome #mobile-main {
  min-height: 0px;
  height: auto;
}

#mobile-menu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 300;
  cursor: pointer;
}

#mobile-menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  height: auto;
}

#mobile-menu .inner {
  max-height: 100%;
  overflow-y: scroll;
  overflow-x: hide;
  -webkit-overflow-scrolling: touch;
}

#mobile-menu ul {
  /*
overflow-x: hidden;
  overflow-y: auto;
*/
}

#mobile-menu li {
  background: url('../images/lines.png') bottom left repeat-x;
}

#mobile-menu li a {
  display: block;
  line-height: 1;
  color: #464646;
  line-height: 1.4;
}

#mobile-content {
  position: absolute;
  left: 0;
  z-index: 100;
}

#mobile-content #mobile-title,
#mobile-content h3 {
  color: #FFFCFC;
  text-shadow: 0 2px 2px rgba(0,0,0,0.19);
  behavior: url('../pie/PIE.htc');
}

#mobile-content h3 {
  line-height: 1;
}

#mobile-content #mobile-menu-front {
  text-shadow: 0 3px 5px rgba(0,0,0,0.23);
  behavior: url('../pie/PIE.htc');
}

#mobile-content #mobile-menu-front li,
#mobile-content #mobile-menu-front li a {
  color: #FFFCFC;
  font-weight: bold;
}

#mobile-content #mobile-menu-front li a {
  background: rgba(0,0,0,0.7);
}

.essay-header-img {
  width: 100%;
  box-shadow: 0 3px 3px rgba(0,0,0,0.38);
  behavior: url('../pie/PIE.htc');
}

#mobile-pager {
  display: table;
  margin: 0 auto;
}

#mobile-main.essay .pager {
  list-style-type: none;
  width: auto;
}

#mobile-main.essay .pager li {
  display: inline;
  margin: 0 0 0 13px;
}

#mobile-main.essay .pager li:first-child {
  margin: 0;
}

#mobile-main.essay .pager li a {
  display: inline-block;
  background: url('../images/sprite.png') 0 -104px no-repeat;
  width: 13px;
  height: 14px;
}

#mobile-main.essay .pager li.selected a {
  background: url('../images/sprite.png') -14px -104px no-repeat;
}

#mobile-main.essay .author {
  font-style: italic;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

#mobile-main.essay-landing .essay .author .author-text {
  font-style: italic;
}

#mobile-main.essay-landing .essay .author .author-twitter {
  font-size: 12px;
}

/* Country Reports */
.country-reports #mobile-region-links,
.country-reports #mobile-region-links .inner {
  height: 100%;
}

.country-reports #mobile-region-links,
.country-reports #mobile-country-links {
  width: 50%;
  float: left;
}

.country-reports #mobile-region-links,
.country-reports #mobile-country-links {
  overflow-y: scroll;
  overflow-x: hide;
  -webkit-overflow-scrolling: touch;
}

.country-reports #mobile-region-links .inner {
  border-right: 1px solid #aeadad;
}

.country-reports #mobile-country-links .inner {
  height: 100%;
}

.country-reports #mobile-region-links li a {
  display: block;
  cursor: pointer;
}

.country-reports #mobile-region-links li {
  background: url('../images/lines.png') bottom left repeat-x;
  display: block;
  position: relative;
}


.country-reports #mobile-region-links li a span.checkbox {
  display: block;
  background: url('../images/sprite.png') 0 -119px no-repeat;
  width: 12px;
  height: 13px;
  position: absolute;
  top: 50%;
  left: 0;
  margin: -7px 0 0 0;
}

.country-reports #mobile-region-links li a span.region {
  display: block;
  line-height: 1.4;
  margin: 10px 0 10px 22px;
}

.country-reports #mobile-region-links li a.selected span.checkbox {
  background: url('../images/sprite.png') -14px -119px no-repeat;
}

/* Publications */
.publications .selected {
  margin: 0 0 10px 0;
}

/* About */
#mobile-container.about,
#mobile-container.publications {
  overflow-y: hidden;
}

#mobile-container.about .wr-book {
  position: relative;
  z-index: 0;
}

#mobile-container.about #mobile-main {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
}

#mobile-container.about #mobile-main .overlay,
#mobile-container.about #mobile-main.essay p {
  color: #FFF;
}

/* Single Video */
#mobile-container.video .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

#mobile-container.video .video-wrapper iframe,
#mobile-container.video .video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Photo Gallery */
.mobile-queue-gallery, .mobile-queue-gallery img {
  width: 100%;
}


#mobile-container.gallery {
  background: #000;
}