@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400);
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,
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,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
button {
  margin: 0;
  padding: 0;
  border: 0;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
ul {
  list-style-type: none;
  margin-left: 20px;
}
html,
body {
  font-family: 'Source Sans Pro', sans-serif;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #222;
}
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
body div.header {
  width: 100%;
  height: 70px;
  background-color: #3e3e3e;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}
body div.header div.title {
  border-style: solid;
  border-width: 0px 27px 0px 0px;
  line-height: 51px;
  font-size: 18px;
  font-weight: 400;
  padding-left: 20px;
  height: 60px;
  -moz-border-image: url(images/title.svg) 0 45 0 0 fill stretch;
  -webkit-border-image: url(images/title.svg) 0 45 0 0 fill stretch;
  border-image: url(images/title.png) 0 45 0 0 fill stretch;
}
body div.header div.menu {
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
body div.header div.menu span {
  color: #ddd;
}
body div.header div.menu div.button {
  font-family: sans-serif;
  text-align: center;
  font-size: 10px;
  color: black;
  text-shadow: 0px 1px rgba(255, 255, 255, 0.4);
  font-weight: bold;
  line-height: 16.8px;
  padding-top: 3px;
  background-image: url(images/button.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 42.6px;
  height: 40.2px;
  margin-left: 10px;
  cursor: pointer;
}
body div.header div.menu div.button:hover {
  background-image: url(images/button-hover.svg);
}
body div.header div.menu div.button.active {
  background-image: url(images/button-active.svg);
}
body div.header div.menu div.button:nth-child(even) {
  margin-top: 10px;
}
body div.header div.menu div.button:nth-child(odd) {
  margin-bottom: 10px;
}
body div.header img.icon {
  height: 70px;
  width: 70px;
  padding: 10px;
  cursor: pointer;
}
body canvas {
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
  margin-left: 150px;
}
body div.popup {
  position: absolute;
  bottom: -50px;
  left: 0px;
  width: 471px;
}
body div.popup div.title {
  height: 96px;
  font-weight: 200;
  font-size: 40px;
  padding-left: 90px;
  padding-top: 15px;
  background-image: url(images/popup.png);
}
body div.popup div.content {
  padding-left: 55px;
  padding-right: 160px;
  border-style: solid;
  border-width: 0px 0px 104px 0px;
  border-color: red;
  border-image: url(images/popup.png) 96 0 104 0 fill stretch;
}
li.detail {
  /* display: none; */
}
div.overlay {
  background-color: #eee;
  color: #111;
  border-radius: 5px;
  border: 1px solid #444;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 250px;
  padding: 10px;
  margin-left: -125px;
}
