/*  * * * * * * * * * *
 *  *                 *
 *  *     KDD 2014    *
 *  *                 *
 *  * * * * * * * * * *
 *
 *  COLORS
 *  ------
 *  Blue:
 *    - normal: #0065c1, rgb(0, 101, 193);
 *    - strong: #075198, rgb(7, 81, 152);
 *    - light:  #007ae8, rgb(0, 122, 232);
 *    - pale:   #e8f4ff, rgb(232, 244, 255);
 *
 */



div#banner{
  height:350px; 
  background-repeat: no-repeat;
  background-image:url('../img/banner.jpg');
}

@media screen and (min-device-width : 320px) 
and (max-device-width : 480px) {
  div#banner{
    height:350px; 
    background-image:url('../img/banner_narrow.jpg');
  }
}


/* =====================================================================
 *  GENERAL
 * ===================================================================== */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  /*padding-top: 50px;*/
  background-color: #000;
}

body * {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.05em
}

.btn {
  font-size: .7em;
  letter-spacing: 0.08em;
  padding: 11px 30px 9px;
  text-transform: uppercase;
}

.btn-blue {
  background-color: #0065c1;
  color: #ffffff;
  -webkit-transition: all .4s;
     -moz-transition: all .4s;
          transition: all .4s;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
  color: #ffffff;
  background-color: #075198;
}





/* =====================================================================
 *  NAVBAR
 * ===================================================================== */
.top-bar {
  /*background: rgba(0,0,0,0.8);*/
  text-align: center;
  position: relative;
  top: 0;
  z-index: 103;
  width: 100%;
  height: 50px;
}

.top-bar ul li a {
  text-align: left;
  color: #ccc;
}

.top-bar ul li a:hover,
.top-bar ul li a:focus,
.top-bar ul li.active a {
  color: #fff;
  background-color: #555;
}

.top-logo {
  float: left;
  font-size: 1.5em;
  font-weight: 300;
  padding: 9px 15px 10px;
  text-align: left;
}

.top-logo a {
  color: #fff;
  text-decoration: none;
}

.top-logo a strong {
  font-weight: 500;
}

.top-bar ul li a{
  line-height: 15px;
}

.navbar-collapse {
  border: none;
  background-color: #333;
  -webkit-box-shadow: rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset;
     -moz-box-shadow: rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset;
          box-shadow: rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset;
}

.navbar-nav {
  margin-bottom: 0;
  margin-top: 0;
}

.navbar-header {
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px -1px 0px 0px inset;
     -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px -1px 0px 0px inset;
          box-shadow: rgba(0, 0, 0, 0.1) 0px -1px 0px 0px inset;
}

.nav-left {
  margin-top: 10px;
}

.nav-right {
  margin-bottom: 10px;
}

.navbar-toggle {
  background-color: transparent;
  border: 1px solid transparent;
  float: right;
  padding: 9px 10px;
  position: relative;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  -webkit-transition: all .2s;
     -moz-transition: all .2s;
          transition: all .2s;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background-color: #444444;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #ffffff;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}




@media (min-width: 768px) {
  .navbar-header {
    width: 100%;
/*    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;*/
  }

  .navbar-collapse {
    background: none;
  }

  .top-bar .nav-left {
      position: absolute;
      margin-left: 120px;
      top: 0;
  }

  .top-bar .nav-right {
      position: absolute;
      left: 50%;
      margin-left: 60px;
      top: 0;
  }

  .top-bar ul {
    margin: 0;
    padding: 0;
  }

  .top-bar ul li {
      display: inline-block;
      text-align: center;
      padding: 12px 0 9px;
  }

  .top-bar ul li a,
  .top-bar ul li a:hover,
  .top-bar ul li a:focus {
    background-color: transparent;
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
    font-size: 1em;
    margin-left: 4px;
    margin-right: 4px;
    padding: 3px 5px 2px;
    text-decoration: none;
  }

  .top-bar ul li.active a,
  .top-bar ul li.active a:hover,
  .top-bar ul li.active a:focus {
    background-color: transparent;
    border-top-color: #0065c1;
    border-bottom-color: #0065c1;
    color: #ffffff;
  }

  .top-logo {
    float: none;
  }

  #program-dropdown-menu{
    background: rgba(0,0,0,0.9);
    border: none;
    border-radius: 8px;
  }
    
  #program-dropdown-menu li{
    padding: 8px 10px;
    display:block;
  }
  
  .nav .open > a, .nav .open > a:hover, .nav .open > a:focus{
    background-color: transparent;
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
  }
  
  
}

@media (min-width: 992px) {

  .top-bar .nav-right {
    margin-left: 60px;
  }

  .top-bar ul li {
    padding-left: 4px;
    padding-right: 4px;
  }

  .top-bar ul li a,
  .top-bar ul li a:hover,
  .top-bar ul li a:focus {
    font-size: .9em;
    margin-left: 7px;
    margin-right: 7px;
  }
}





/* =====================================================================
 *  HOMEPAGE
 * ===================================================================== */

.homepage p {
  font-size: 12pt;
}

@media (min-width: 768px) {
  .homepage > section p {
    font-size: 13pt;
  }
}

/* Prevents the homepage from being too wide on large displays */
@media (min-width: 1200px) {
  .homepage .container {
    width: 970px;
  }
}

/*
 * JUMBOTRON 
 * ========= */

.jumbotron {
  /*background-color: #0065c1;*/
  background-color: #ffffff;
  background-image: url('../img/banner.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  color: #ffffff;
  margin-bottom: 0;
  padding: 50px 30px 10px;
}

.jumbotron h1 {
  font-size: 5em;
  font-weight: 200;
  margin: 0;
}

.jumbotron h1 strong {
  font-weight: 700;
}

.jumbotron h3 {
  font-size: 1em;
  font-weight: 100;
  letter-spacing: 0.08em;
  margin: 0;
}

.jumbotron p {
  font-size: 1.2em;
  font-weight: 300;
  margin-top: 50px;
}

.jumbotron p .date {
  padding-right: 1em;
}

.jumbotron p .location {
  padding-left: 1em;
}

@media (min-width: 768px) and (max-width: 991px) {
  .jumbotron h1 {
    font-size: 4em;
  }

  .jumbotron h3 {
    font-size: .8em;
  }

  .jumbotron p {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  .jumbotron {
    padding-top: 30px;
    padding-bottom: 0;
  }

  .jumbotron h1 {
    font-size: 2em;
  }

  .jumbotron h3 {
    font-size: .6em;
  }

  .jumbotron p {
    margin-top: 30px;
    font-size: 0.8em;
  }
}

/*
 * HOMEPAGE SECTIONS
 * ================= */

.homepage > section {
  padding: 30px 0;
}

.homepage > section.description {
  line-height: 1.8em
}

.homepage > section.showcase {
  margin-top: 20px;
}

.homepage > section.alternate {
  background-color: #eeeeee;
}

#homepage-overview {
  padding-bottom: 20px;
}

#homepage-speakers strong {
	color: #333333;
	display: block;
	font-size: 1.25em;
	font-weight: 600;
}

#homepage-speakers img,
#homepage-previous-talks img {
  margin: 24px auto 12px;
}

#homepage-previous-talks a,
#homepage-previous-talks a:hover,
#homepage-previous-talks a:active {
  text-decoration: none;
}

#homepage-previous-talks strong {
  color: #333333;
  display: block;
  font-size: 1.1em;
  font-weight: 600;
}

#homepage-previous-talks span {
  color: #888;
  display: block;
}

#homepage-venue img {
  margin: 24px auto 0;
}


.homepage > section h2 {
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: .08em;
  margin-top: 20px;
  text-align: center;
  text-transform: uppercase;
}

.homepage > section h2:after {
  border-bottom: 1px solid #cccccc;
  content: "";
  display: block;
  height: 1px;
  margin: .5em auto 1.5em;
  text-indent: -999em;
  width: 80%;
}


.modal-handle {
  cursor: pointer;
}

.modal {
  text-align: left;
}

.modal-content {
  background-color: transparent;
}

.modal-header {
  background-color: #0065c1;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #fff;
}

.modal-header small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7em;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-body {
  background-color: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.modal-body img {
  height: 96px;
  width: 96px;
}


/* =====================================================================
 *  Affects index.html and sponsorship.html: heading and images
 * ===================================================================== */
section.sponsors {
  margin-bottom: 50px;
}

section.sponsors .list-inline > li {
  padding: 10px;
  vertical-align: middle;
}


section.sponsors h2 {
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

section.sponsors h2:after {
  border-bottom: 1px solid #cccccc;
  content: "";
  display: block;
  height: 1px;
  margin: .5em auto 1em;
  text-indent: -999em;
  width: 100%;
}

section.sponsors h3{
  font-size: 1.25em;
  font-weight: 300;
  letter-spacing: .08em;
  margin-top: 2em;
  text-align: center;
  text-transform: uppercase;
}

section.sponsors h3:after {
  border-bottom: 1px dashed #cccccc;
  content: "";
  display: block;
  height: 1px;
  margin: .5em auto 1em;
  text-indent: -999em;
  width: 100%;
}


@media (min-width: 768px) {
  #homepage-previous-talks a,
  #homepage-previous-talks a:hover,
  #homepage-previous-talks a:active {
    text-align: left;
  }

  section.sponsors img {
    max-width: 200px;
  }
}

.img-responsive-50{
  max-width: 30%;
  min-width: 150px;
  height: auto;
  margin: 10px;
}



/* =====================================================================
 *  CONTENT PAGE
 * ===================================================================== */

.bs-header {
  background-color: #0065c1;
  background-image: none;
}

.bs-header h1 {
  letter-spacing: .01em;
}

.bs-docs-section {
  margin-bottom: 50px;
}

.bs-docs-section + .bs-docs-section {
  padding: 0;
}

ol > li > ol {
  list-style-type: upper-alpha;
}

.content .showcase {
  margin-bottom: 20px;
}

.organizers .tba {
  text-align: left !important;
}

.content .showcase > div {
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
}

.content .showcase img {
  margin: 0 auto;
}

.organizers .showcase a,
.organizers .showcase a:hover,
.organizers .showcase a:active {
  color: #333;
  text-decoration: none;
}

.organizers .showcase img {
  margin: 0 auto;
}

.organizers .showcase p {
  margin: 0;
}

.organizers .showcase img + p {
  margin-top: 10px;
}

.organizers .showcase strong {
  display: block;
}

.organizers .affiliation {
  color: #888;
  font-size: 0.7em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .organizers .showcase img {
    max-width: 110px;
  }
}



/* =====================================================================
 *  NEWS page specific
 * ===================================================================== */

article {
  margin: 50px 0;
}

article .date {
  color: #0065c1;
  font-size: 0.8em;
  letter-spacing: 0.2em;
  margin-bottom: 0;
  text-transform: uppercase;
}

article h2 {
  margin: 4px 0 20px;
}




/* =====================================================================
 *  SIDEBAR
 * ===================================================================== */

.bs-sidenav {
  background-color: #eef4f9;
}

.bs-sidebar .nav > li > a {
  color: #8495a0;
}

.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  background-color: #d8e1e8;
}

.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  color: #0065c1;
  border-right: 1px solid #0065c1;
}





/* =====================================================================
 *  FOOTER
 * ===================================================================== */

.footer {
  background-color: #333333;
  color: #ffffff;
  font-weight: 300;
  padding-bottom: 30px;
  padding-top: 40px;
  text-align: center;
}

.footer h3 {
  font-weight: 100;
  margin-top: 0;
}

.footer h3 strong {
  font-weight: 500; 
}

.footer h3:after {
  border-bottom: 1px solid #ccc;
  content: "";
  display: block;
  height: 1px;
  margin: .5em auto 1em;
  text-indent: -999em;
  width: 60px;
}

.footer a,
.footer a:hover,
.footer a:active {
  color: #fff;
  text-decoration: none;
}

.footer .social-icons a {
  background-color: #fff;
  border-radius: 50%;
  border: 0 solid rgba(255, 255, 255, 1);
  color: #333;
  display: inline-block;
  font-size: 2em;
  height: 50px;
  width: 50px;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
          transition: all 0.3s;
}

.footer .social-icons .facebook span {
  position: relative;
  top: 7px;
}

.footer .social-icons .twitter span {
  left: 1px;
  position: relative;
  top: 7px;
}

.footer .social-icons .linkedin span {
  left: 1px;
  position: relative;
  top: 6px;
}

/*.footer p {
  font-size: 0.9em;
  font-weight: 100;
}*/