body {
    background:url(/img/background-small.jpg) repeat 0 0;
}
.container {
    background-color: white;
    padding: 5px 40px;
    margin: 20px auto;
    border: 1px solid grey;
    border-radius: 4px;
}
.hidden {
	display: none !important;
}
.right {
	float: right;
}
h1 {
    font-size: 3em;
    text-shadow: 1px 1px 1px #ccc;
    margin-bottom: 5px;
}
h1 a {
      color: black !important;
}
#title {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: black;
}
h1 a:hover {
  text-decoration: none;
}
.small-hr {
    margin: 5px 0;
    color: #0f7c99;
}
.smaller {
	font-size: 0.8em;
	font-style: italic;
}
.visibility-hidden {
	visibility: hidden;
}
.loading {
	width: 90%;
	margin-top: 50px;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
}
.intro {
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}
#sex {
    display: none;
    float: right;
}
#sidebar, #graph-container {
    height: 350px;
    border: 1px solid #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
}
#press-escape {
	font-size: 0.8em;
	line-height: 0.8em;
}
#flot-graph {
    width:600px;
    height:300px;
}
#graph-container {
    background-color: white;
}
label.iPhoneCheckLabelOff {
  color: white;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
}
#quote-work {
  font-style: italic;
}
#nameInput {
  width: 100%;
  margin-bottom: 3px;
}
#name-list li {
  list-style: none;
}
#example_info, #example_filter {
    display: none;
}
/* SlickGrid styles */
#matched-record {
    margin: 5px inherit;
}
#mr {
    padding-left: 0;
}
#mr li {
    list-style: none;

}


/* SlickGrid styles */
#slick-grid {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9em;
  margin-top: 10px;
  overflow-x: hidden;
  width: 100% !important;
  border: 1px solid #ccc;
}
.slick-viewport {
  overflow-x: hidden !important;
  text-overflow: ellipsis;
}
.grid-canvas, .slick-row {
  width: 100% !important;
}
.slick-header-columns {
  width: 97% !important;
  left: 0 !important;
}
.slick-header-column {
  height: 2em !important;
  width: 33% !important;
  left: 0 !important;
  float: left;
}
.slick-column-name {
	color: #808080 !important;
}
.slick-cell {
	cursor: pointer;
	height: 2em !important;
	width: 33% !important;
	position: relative !important;
	left: 0 !important;
	float: left;
}
.bluerow .slick-cell {
	background-color: #E9F5F8 !important;
}
.redrow .slick-cell {
	background-color: #fff2fb !important;
}

/* D3 styles */
.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
path.domain {
  stroke: white;
}
path.namePath {
  cursor: pointer;
}
text {
  font-size: 0.7em;
}
.tick line {
  stroke: #EEEEEE;
  stroke-width: 1;
  position:relative;
  z-index: -1;
}
div.tooltip {
  font-size: 11px;
  position: absolute;
  text-align: center;
  width: 150px;
  height: auto;
  overflow: hidden;
  padding: 10px;
  background: #ddd;
  border: solid 1px #aaa;
  border-radius: 8px;
  pointer-events: none;
}
.tooltip h4 {
  font-size: 14px;
  line-height: 18px;
  margin: 0;
}
.tooltip h5 {
  font-size: 12px;
  line-height: 18px;
  margin: 0;
}
#y-axis-label {
  font-size: 0.75em;
  float: right;
  line-height: 0.9em;
  text-align: right;
  padding-top: 5px;
}

/* Social links and iPhone checkbox button */
#social {
	padding-top: 10px;
}
#wrapper {
    display: inline;
}
.fl {
    display: inline;
    vertical-align: top !important;
    max-width: 100px;
}
a.twitter-share-button {
    display: inline;
    float: right;
}
.accounts {
  float: right !important;
}​
#self_promotion {
	font-size: 16px;
  float: right;
  margin-right: 12px;
}
#self_promotion a {
    text-decoration: underline;
}
#self_promotion a img {
	vertical-align: top;
	border: 2px solid #ccc;
	margin-left: 3px;
}

/* Form styles */
input {
    border-radius: 4px;
    border-color: #e1390f;
/*    -webkit-box-shadow: inset 0 1px 1px rgba(127, 101, 187, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);
    -moz-box-shadow:inset 0 1px 1px rgba(127, 101, 187, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);
    box-shadow:inset 0 1px 1px rgba(127, 101, 187, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);*/
}
input:focus, textarea:focus{
    border-color: #e1390f;
/*    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(212, 85, 102, 0.6);*/
}

#faq dl {
   margin-bottom: 5px;
}

/* Responsive styles */

@media (max-width: 480px) {
  .container {
    margin: 40px auto;
    padding: 20px;
  }
  #sidebar {
    height: auto;
    overflow: hidden;
  }
  h1 {
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 1.9em;
  }
  text {
    font-size: 0.6em;
  }
  #other-names, #slick-grid {
    display: none !important;
  }
}

/* Small devices (landscape phones, 482px to 768px) */
@media (min-width: 481px) and (max-width: 767px) {
  .container {
    margin: 40px auto;
    padding: 20px;
  }
  #sidebar {
    height: auto;
    overflow: hidden;
  }
  h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    margin-top: 0;
  }
  text {
    font-size: 0.6em;
  }
  #other-names, #slick-grid {
    display: none !important;
  }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    margin: 40px auto;
  }
}

/* Medium devices (desktops, 992px and up to large screens) */
@media (min-width: 992px) and (max-width: 1199px) {
  #mr{
    font-size: 0.8em;
  }
  #graph-legend {
    font-size: 0.9em;
  }
}
