html, body, #container { height: 100%; }
#full-height-wrapper {
  height: auto; min-height: 100%;
  padding-bottom: 90px;
  /* to stop iframed victim page from overflowing on iOS: */
  width: 1px;  min-width: 100%;
}

html body{
  margin:0;
  padding:0;
  font-family: Arial, sans-serif;
  font-size:13pt;
}
input{
  font-family: Arial, sans-serif;
  font-size:13pt;
}
li{
  margin-top:6pt;
}
.header{
  margin:0;
  padding:5pt;
  background-color:white;
  color: black;
  text-align:center;
  overflow:auto;
  font-size:14pt;
  position:fixed;
  top:0;
  left:0;
  right:0;
  border-bottom:1px solid #AA0000;
  z-index:1;
}
.header p{
  margin-top:0
}
.header a{
  text-decoration:underline
}
.header h1{
  float:left;
  width:100%;
}
.header h2{
  float:left;
  width:100%
}
.scroll-away-header {
  text-align:center;
  background: #ccc;
  padding: 5pt;
  border-bottom:1px solid #AA0000;
}
.footer{
  border-color: black;
  border-style: solid;
  border-width: 1px 0 0 0;
  height:90px;
  margin:0;
  background-color:white;
  color: #AA0000;
  text-align:center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.footer img{
  height:66px;
}
.footer p{
  margin-top:-4px
}
h1{
  font-size: 28pt;
  text-align: center;
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
h2{
  text-align:center;
  font-size: 16pt;
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
h3{
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
.title{
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
@media only screen and (max-width: 640px) {
  html body{
    font-size: 12pt;
  }
  h2{
    font-size: 13pt;
  }
  .footer{
    height: 70px;
  }
  .footer img{
    height:46px;
  }
}
@media only screen and (max-width: 700px) {
  h2{
    font-size: 13pt;
  }
  .header .title{
    display:none;
  }
}
.explanation-card{
  margin:10px;
}

a{
    color:#0033D0;
    text-decoration:none;
}
a:hover{
    text-decoration:underline;
}
.close-button {
  border-radius: 50%;
  padding: 0px;
  width: 42px;
  height: 42px;
  float:right;
  background-color: #ccc;
  top: 8px;
  right: 8px;
  z-index: 10;
  -webkit-transition: background-color 0.2s ease-in;
}
.close-button a, .close-button a:hover, .close-button a:visited {
  font-family: arial, helvetica, sans-serif;
  color:white;
  text-decoration: none;
  padding:12px;
  padding-left:15px;
  padding-right:15px;
  position:absolute;
}
.single-col{
  padding:5px;
  width:500px;
  margin-left:auto;
  margin-right:auto;
}
.center{
  width: 100%;
  text-align: center;
}
.left{
  width: 100%;
  text-align: left;
}
.key{
  text-transform: uppercase;
  font-size:70%;
  font-family: Roboto Mono, Menlo, Courier, monospace;
  margin-bottom:0;
  margin-top:2em;
}
.photo-pane{
  width:300px;
  float:left;
  margin-right:15px;
  margin-bottom:15px;
  font-size:0;
}
.photo-pane img{
  width:100%;
}
.photo-pane img.unapproved{
  width:auto;
  height:50px;
  max-width:100%;
}
div.unapproved {
  margin:0;
  text-align:center;
  background-color:#ddd;
}
div.unapproved p{
  font-style:italic;
  font-size:10pt;
  color:#AA0000;
  margin: 0;
  padding: 5px;
}
@media only screen and (max-width: 640px) {
  .photo-pane{
    width: 200px;
  }
}
@media only screen and (max-width: 440px) {
  .photo-pane{
    width: 100%;
  }
}
ul{
  overflow:hidden; /* to prevent bullets overlapping floated div on victim.jsp */
  margin-top:0
}
@media only screen and (max-width: 640px) {
  .single-col{
    width: auto;
    padding-left:20px;
    padding-right:20px;
  }
}
.share-row{
  padding:5px;
  text-align:center;
}
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#trending{
  background:white
}
#trending p.featured{
  position: relative;
  top: -279px;
  color: #AA0000;
  font-size: 16pt;
  font-weight: bold;
  width: 100%;
  margin: 0;
  background: rgba(0,0,0,0.2);
}
#trending .victim-card p.victim-date{
  color:rgba(0,0,0,0);
}
.victim-card p.victim-date{
  position: relative;
  top: -67px;
  color: white;
  font-size: 8pt;
  margin: 0;
}
.victim-card a.photo-edit{
  position:relative;
  top:-280px;
  font-size:16pt;
}

.feed{
  width:calc(100% - 20px);
  padding-left:10px;
  padding-right:10px;
  display: inline-block;
  overflow:auto;
  text-align:center;
  font-size: 0pt; /* for the inline-block layout spacing */
}
.card{
  font-size: 13pt;
  display:inline-block;
  vertical-align:top; /* for safari */
  background: white;
  margin: 5px;
  height: 244px;
  overflow: hidden;
  border-radius: 5px;
}
.victim-card img{
  margin:0;
}
.victim-card p{
  height:36px;
  overflow:hidden;
  font-size:10pt;
  text-align:center;
  margin:10px;
  margin-top:0;
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
a.victim{
  font-family: Roboto Mono, Menlo, Courier, monospace;
}
.no-photo {
  display:inline-block;
  height: 244px;
  overflow: hidden;
}
.no-photo p{
  margin: 5px;
  font-size:10pt;
}
.day-card{
  font-family:arial, sans-serif;
  width:180px;
  border-radius:0;
}
.day-card .month {
  font-size:18pt;
  margin:0;
  padding-top: 10px;
  padding-bottom:10px;
  width:100%;
  background-color: #AA0000;
  color: white;
}
.day-card .month-day {
  margin:20px;
  margin-bottom:10px;
  font-size:80pt;
}
.day-card .week-day {
  font-size:18pt;
  margin:0;
}
.plus-others{
  display:inline-block;
  font-size:10pt;
  margin:10px;
}
.plus-others h1{
  font-size:32pt;
  margin-top:0;
  margin-bottom:10px;
}
.feed-notes{
  text-align: center;
  padding: 5px;
  font-size: 10pt;
  color: #AAA;
}
.day-spacer{
  width:20px;
  display:inline-block;
}
/* hide names on cards on mobile
@media only screen and (max-width: 640px) {
  .card{
    height: 200px;
  }
  .day-card .month-day {
    font-size:50pt;
  }
}
*/
#modal{
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  /* to allow scrolling in the ancestor iframe */
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
}
#modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the left and right and centered */
  margin-top:50px;
  margin-bottom:50px;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  height:100%;
}
#modal-content iframe{
  width:80%;
  height:100%;
  border:0;
  position:absolute;
  background:white;
}
#photo-modal{
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0);
}
#photo-modal img{
  width:100%;
}
.callout{
  border: 1px solid #888;
  background-color:#ffd;
  padding:10px;
  min-height:40px;
  margin:10px;
  margin-top:20px;
  display:inline-block;
  text-align:left;
  max-width:350px;
}
.callout-talk{
  background-color:#fee;
}
.callout-action{
  background-color:#efe;
}
button{
  background:#ddd;
  font-size:12pt;
}
.better-photo{
  font-size: 10pt;
  margin-top: 0;
  font-style: italic;
  background: #ddd;
}
a.subtle {
  color: #AA0000;
}
.tag {
  background:#ddd;
  padding:4px;
  border-radius:3px;
  display:inline-block;
  margin-right: 10px;
  margin-bottom: 6px;
}
.tag img {
  height:15px;
}
.tag a {
  color:#009900;
}
.green {
  color:#009900;
}
a.tag-x{
  color:#AA0000;
  font-size: 14pt;
}
.province{
  float: right;
  position: relative;
  top: -56px;
  left: -2px;
  font-size: 8pt;
  color: #AA0000;
}
body.filterProvince .province{
  display:none;
}
.red{
  color:#AA0000;
}
.emphasize{
  background:#afa
}
.danger{
  background:#faa
}
.float-right{
  float:right;
}
.font-size-zero{
  font-size:0;
}
pre{
  font-family: Arial, sans-serif;
}