@import url(https://fonts.googleapis.com/css?family=OpenSans&subset=latin,latin-ext);
body {
  margin: 0;
  background: #000; 
}
video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
 background: url('../media/images/polina.jpg') no-repeat;
  background-size: cover;
  -webkit-transition: 1s opacity;
  transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}

#polina { 
  font-family: 'OpenSans', Helvetica, Arial, sans-serif;
  font-weight:100; 
  line-height: 1.7rem;
  font-size: 1.4rem;
  letter-spacing: .0rem;
  background: rgba(0,0,0,0.3);
  color: white;
  padding:1rem 1.2rem 0.0rem 1.2rem;
  width: 33%;
  margin:2rem;
  float: left;
  position: fixed;
  
}
h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: .2rem;
}


a {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: .05rem;
  color: #fff;
  text-decoration: none;
  /*background:rgba(0,0,0,0.5);*/
  padding: .3rem;
  -webkit-transition: .6s background;
  transition: .6s background; 
}
a:hover{
  background:rgba(0,0,0,0.3);
  text-decoration: none;
  color: white;
}

/* Tour Dates */
/* ---------- */
.form-inline:first-child{
  margin-bottom: 0px;
}

.chart-container{
  margin-top: -5px;
  text-align: right;
}

.block .description{
  text-align: justify;
}

.chart-container svg {
  background: #eee;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNjY2MiPjwvcmVjdD4KPC9zdmc+");
}

line.timeline{
  stroke-width: 1px !important;
  stroke: #fff !important;
}

circle.dot{
  fill: #fff !important;
}

.flag {
  fill:#000 !important;
  opacity:0.3  !important;
}

.link {
  stroke: #fff !important;
}
.chart-container svg{
  background: none;
}

.form-control, button.btn{
  border-radius: 0;
}

.form-control.short-input{
  width: 60px;
  text-align: center;
  display: inline-block;
}

select.form-control{
  display: inline-block;
  width: 180px;
}

.metrics-table{
  display: inline-block;
}

.metrics-table th{
  font-weight: 100;
  font-size: 1.2em;
}

.metrics-table td:first-child{
  padding-right: 10px;
}


g:hover {
  cursor: pointer;
}



/* Mobile */
/* ---------- */
@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
  html { background: url(../media/images/polina.jpg) #000 no-repeat center center fixed; }
  #bgvid { display: none; }
}