img {
  vertical-align: middle;
  max-width: 100%;
}

textarea {
  resize: vertical;
}

::selection {
  text-shadow: none;
  background: #2B2B39;
  color: #fff;
}
                
/* ==========================================================================
   datavisconf.com
   ========================================================================== */

body {
  font: 16px 'Exo', sans-serif;
  color: #77808A;
  background: #FFF;
  margin: 0;
}

h1{
  font-family: 'Exo', sans-serif;
  font-size: 2.8em;
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 100;
}

h3 {    
  font-size: 1.5em;
  font-weight: 200;
}

a {
  color: #DE3A53;
  text-decoration: none;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.65s;
}

p, .keynote-ribbon {
  font-size: 1.2em;
  font-weight: 100;
}

.block, #menu ul {
  max-width: 1024px;
  width: 90%;
  margin: auto;
  padding: 2em 0;
}

.bold {
  font-weight: 600;
}

.title {
  margin-bottom: 2em;
  margin: 1em 0 2em;
  text-align: center;
  overflow: hidden;
}

section {
  z-index: 898;
  position: relative;
}

.title h1 {
  text-align: center;
  text-transform: uppercase;
  line-height: 1em;
  position: relative;
  display: inline-block;
  font-size: 2.3em;
}

.title h1:before {
  position: absolute;
  content: "";
  width: 3em;
  height: 2px;
  background: #BFC8D3;
  margin-top: .5em;
  left: -3.5em;
}

.title h1:after {
  position: absolute;
  content: "";
  width: 3em;
  height: 2px;
  background: #BFC8D3;
  margin-top: .5em;
  margin-left: .5em;
}

#header {
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: url(../img/header-bg.jpg);
  background-position: center center;
  background-position: fixed;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
  color: #FFF;
}

  #header .block {
    display: inline-block;
  }
    
  #header .logo {
    padding: 3em 5%;
  }

  #header h1 {
    font-size: 3.4em;
    font-weight: 600;
  }

  #header h2 { 
    margin: 0;
  }

  #header img {
    width: 120px;
  }

  #header .tag-line, #header .date{
    font-weight: 100;
  }

  #header .tag-line, .coming-soon {
    letter-spacing: 1px;
    font-size: 2em;
  }

  #header .block .coming-soon {
    border-top: 2px solid rgba(255, 255, 255, .4);
    border-bottom: 2px solid rgba(255, 255, 255, .4);
    width: 30%;
    margin: .5em auto 0;
    padding: .2em;
  }

  #header .date-register {
    margin: 1.5em 0;
    border-top: 1px solid #4c4c5b;
    border-bottom: 1px solid #4c4c5b;
    padding: 1.3em 0;
    float: left;
    width: 100%;
  }

  #header .sponsor {
    margin: 1.5em 0;
    border-top: 1px solid #4c4c5b;
    border-bottom: 1px solid #4c4c5b;
    padding: 1.3em 0;
    float: right;
    width: 50%;
  }

  #header .date {
    font-size: 1.4em;
    font-style: italic;
    color: #9292aa;
  }

  #header .register-now {
    text-align: center;
    margin: .5em 0;
  }

  #header .register-now a {
    color: #FFF;
    background: #de3a53;        
    padding: .5em 3em;
    font-size: 1.4em;
    font-weight: 100;
    display: inline-block;
    text-decoration: none;
  }

  #header .register-now a:hover, .call-speakers-info .google-form a{
    background: #be3f58;
  }

#intro{
  background: #FFF;
  margin-top: 22.7em;
  overflow: auto;
}

  #intro .block h2, #intro .block h3{
    font-family: 'Exo', sans-serif;
    margin: 0;
  }

  #intro h2 {
    font-size: 1.6em;
    font-weight: 500;
  }

  .block h2, .block h3{
    margin: 0;
    font-size: 1.6em;
    font-weight: 500;
  }

#day-1, #day-2 {
  clear: both;
  overflow: auto;
}

  .day-title {
    font-size: 2em;
    border-bottom: 2px solid #BFC8D3;
    padding-bottom: .4em;
    width: 98%;
    margin: .5em auto;
  }

  .talk {
    width: 256px;
    float:left;
    margin-bottom: 2em;
    text-align: center;
  }

  .talk .speaker, .talk-name {
    text-align: left;
    width: 236px;
    margin:auto;
  }

  .talk .speaker {
    font-size: 1.2em;
    margin-top: .5em;
  }

  .talk-name {
    color: #77808A;
  }

  a:hover .talk-name {
    color: #77808A;
    text-decoration: underline;
  }

  a:hover .speaker{
  color: #DE3A53;
  text-decoration: underline;
}

a:hover {
}


footer {
  clear: both;
  background: #DE3A53;
  color: #FFF;
  text-align: center;
}
    
  footer p {
    width: 90%;
    margin: 0 auto;
    padding: 1.5em 0;
    font-size: 1em;
  }

  footer a {
    color: #FFF;
    text-decoration: underline;
  }

  footer a:hover {
    color: #FFF;
  }

/*--------------------------------------------*/
/*------------------- Form -------------------*/
/*--------------------------------------------*/

#mc_embed_signup {
  background-color: #2b2b39;
  color: white;
  padding: .7em 1em;
  margin-bottom: 2em;
  right: 0;
  left: 0;
  text-align: center;
}

.mc-field-group .stay-updated {
  font-size: 1.4em;
  display: inline-block;
  padding: .5em;
}

input[type="email"] {
  border: 0;
  padding: .5em;
  border-radius: 4px;
  font-size: 1em;
  width: 240px;
}

input[type="submit"] {
  background-color: #DE3A53;
  color: white;
  border: 0;
  border-radius: 4px;
  padding: .5em 3em;
  font-size: 1em;
}

.input-container {
  position: relative;
}

.input-container .tooltip {
  position: absolute;
  left: 0;
  top: 30px;
  background-color: white;
  padding: 10px 15px;
  width: 225px;
  color: #2B2B39;
  text-align: left;
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.5);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.5);
  display: none;
  margin: 0 2px;
  font-family: Arial;
}

.input-container:hover .tooltip {
  display: block;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1280px) {

  #header {
      position: relative;
  }

  #intro {
    margin-top: 0;
  }

} 


@media only screen and (max-width: 850px) { 

  #header {
    font-size: .8em;
  }

  #header .date {
    font-size: 1.7em;
  }

  .block {
    width: 96%;
  }

}

@media only screen and (max-width: 780px) { 

  .video-reel iframe {
    width: 100%;
  }

}

@media only screen and (max-width: 690px) {

  #header {
    font-size: .7em;
  }

  #header img{
    width: 100px;
    height: 100px;
  }

  #header .block {
    padding: 3em 0 3em;
  }

  .title h1:before, .title h1:after {
    width: 0;
    height: 0;
  }

}

@media only screen and (max-width: 610px) { 

  #header img {
    vertical-align: top;
  }

  #header h1 {
    font-size: 3.4em;
    margin: .5em 0;
    display: inline-block;
    padding-right: 0;
    font-weight: 400;
  }

  #header h2.tag-line {
    font-size: 2em;
  }

  #header .tag-line {
    display: none;
  }

  #header .date {
    font-size: 1.5em;
  }

  #header .register-now a {
    padding: .5em 2em;
  }

  .video-reel iframe {
    height: 300px;
  }

  .mc-field-group .stay-updated { 
    display: block;
  }

}


@media only screen and (max-width: 480px) { 

  .block {
    padding: 1em 0;
  }

  #header img {
    width: 60px;
    height: 60px;
  }

  #header h1 {
    font-size: 2.1em;
    padding-left: .2em;
    font-weight: 200;
  }

  #header .date-register, #header .sponsor {
    float: none;
    border: none;
    margin: auto;
    width: 100%;
  }

  #header .date-register {
    padding-bottom: 0;
  }

  #header a{
    width: 50%;
  }

  #intro .register-now {
    margin-top: 2em;
  }

  .title h1::before, .title h1::after, #header h2:after, #header h2:before {
    display: none;
  }

  #intro {
    margin-top: 0;
  }

  footer {
    font-size: .8em;
  }

}

