/* PALETTE

darker  - lighter

#002642 - #5c7486 (blue)
#840032 - #a54569 (magenta)
#e59500 - #ecb145 (yellow)
#e5dada - #eee7e7 (cream)
#191a24 - #6c6d73 (grey)
*/

html {
  background: black;
}

body {
  font-size: 16px;
  font-family: 'Source Sans Pro';
}

#wrap {
  min-height: 100%;  /* put the background behind the clouds -- see CLOUDS further down */
  background: url("../img/clouds_bottom.20769cf5d72b.png"), url("../img/clouds_top.2056eeb59965.png"), url("../img/pattern.57dc034fcf68.png"), #e5dada;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: bottom center, top center, 0 0, 0 0;
}

#main {
  color: #e5dada;
  padding-top: 1em;
}

#main .popover-content,
#main .popover-title {
  color: black;
}

#main .form-actions {
  background: inherit;
  border: none;
  padding: 0px;
}

#main .well {
  color: black;
}

#main .well:after {
  /* ensure wells contain all their floating content */
  content: "";
  display: block;
  clear: both;
}

#main h1 {
  margin: 0;
  padding: 0 24px;
  line-height: 47px;
  background: #191a24;
  font-family: 'Alegreya';
  font-size: 30px;
  font-weight: bold;
  color: #e59500;
}

#main section {
  width: 100%;
  float: left;
  padding: 0 10px 10px 10px;
  color: black;
  background: #e5dada;
  margin-bottom: 1em;
  background: #e5dada;
}

#main section section {
  background: #eee7e7;
}

#main section h1,
#main section section h2 {
  margin: 10px 0 0;
  padding: 0 24px;
  line-height: 47px;
  background-color: #191a24;
  background-image: linear-gradient(to left, #840032, #191a24);
  font-family: 'Alegreya';
  font-size: 30px;
  font-weight: bold;
  color: #e59500;
  margin-bottom: 0.5em;
}

#main section p {
  padding-left: 12px;
}

#main li p {
  padding-left: 0;
}

#main table {
  width: 100%;
}

#main table tr {
  border-bottom: 2px solid #e5dada;
}

#main table th,
#main table td {
  padding: 8px 12px;
  text-align: left;
  border-right: 2px solid #e5dada;
  background: #ecb145;
  font-size: 16px;
  color: #191a24;
}

#main table td.title {
  background-color: #191a24;
  background-image: linear-gradient(to left, #840032, #191a24);
  font-size: 16px;
  color: #e5dada;
  line-height: 26px;
}

#main table th,
#main table td.scheduleslot {
  background: #e59500;
  color: #191a24;
  font-weight: normal;
  vertical-align: top;
}

#main table th a,
#main table td a {
  color: #002642;
}

#main table td.title a {
  color: #e5dada;
}

#main table th span {
  font-size: 16px;
  font-weight: bold;
  color: #191a24;
  line-height: 26px;
}

/* Highlights */

#main table td.schedule {
  background: #e5dada;
  border: solid 2px #eee7e7;
}

#main table td.schedule-break {
  background: #ecb145;
  text-align: center;
}

#main table td.schedule-keynote {
  background: #e5dada;
  background-image: linear-gradient(to left, #e5dada, #a54569);
  text-align: center;
}

#main table td.unavailable {
  background: #002642;
  font-size: 16px;
  color: #e59500;
  line-height: 26px;
  text-align: center;
}

#main table th.schedule-highlight-venue {
   filter: brightness(150%);
}

#main table td.schedule-highlight-venue a {
   color: #007060;
}

/* We unset the highlight-venue effect for breaks using CSS ordering */
#main table td.schedule-break a {
  color: #002642;
}

#main table td.schedule-placeholder {
  background: #e5dada;
  border: solid 2px #eee7e7;
  font-style: italic;
}

#main table td.schedule-placeholder a {
  color: rgba(0, 38, 66, 0.5);
}

#main table td.unavailable a {
  color: rgba(255, 255, 255, 0.25);
}

#logos {
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

#logos img {
  padding: 10px 20px;
}

#legal {
  text-align: center;
  font-family: 'Alegreya';
  font-size: 30px;
  color: #ecb145;
  padding-bottom: 15px;
}

#credits {
  text-align: center;
  font-family: 'Alegreya';
  font-size: 20px;
  color: #e5dada;
  line-height: 22px;
  padding-bottom: 20px;
}

#credits a {
  color: #e59500;
}

#logo_bottom {
  /* this padding needs to be big enough to avoid clouds_bottom.png covering text. */
  padding-bottom: 199px;
  text-align: center;
}

#footer {
  position: fixed;
  bottom: 0;
  background: black;
  color: #e5dada;
  width: 100%;
  clear: both;
  padding: 10px 0px;
  text-align: center;
  z-index: 100;
}

.wafer-speakers .wafer-speakers-logo img {
  border-radius: 50%;
  border: 4px solid #e59500;
  padding: 10px;
}

.wafer-speakers .wafer-speakers-logo {
  text-align: center;
  margin-bottom: 0.5em;
}

.wafer-speakers .wafer-speakers-name {
  text-align: center;
  margin-bottom: 1.0em;
}

.wafer-profile #profile-avatar {
  text-align center;
  margin-top: 15px;
}

.wafer-profile #profile-avatar img {
  border-radius: 50%;
  border: 4px solid #e59500;
  padding: 10px;
  margin-left: 10px;
}

.wafer.list div:nth-child(2n) {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.wafer.list div:nth-child(2n + 1) {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

/* fix icons on top nav bar */
ul.navbar-nav li.icon a {
  padding: 12px;
}

/* override buttons */

ul.btn-group {
  list-style: none;
}

.btn-primary {
  margin: 0 0 2px 2px;
  background-color: #ecb145;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: #eee7e7;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #e59500;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: white;
}

.btn-primary.disabled,
.btn-primary[disabled] {
  background-color: #6c6d73;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  margin: 0 0 4px 4px;
  background-color: #5c7486;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: #eee7e7;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  background-color: #002642;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: white;
}

.btn-secondary.disabled,
.btn-secondary[disabled] {
  background-color: #6c6d73;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.5);
}

a {
  color: #a54569;
  font-weight: bold;
}

a:hover,
a:focus {
  color: #840032;
}

/* NAV */
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
  background-color: black;
  color: #e5dada;
  padding: 10px;
  margin: 0px;
  line-height: 30px;
  font-weight: normal;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-brand:focus,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #e59500;
}

.navbar-dark .navbar-nav li.dropdown > .dropdown-toggle .caret,
.navbar-dark .navbar-nav li.dropdown > .dropdown-toggle::after {
  display: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  color: #191a24;
  background-color: #e59500;
  background-image: linear-gradient(to left, #e59500, #ecb145);
}

.container-fluid {
  padding-top: 0;
}

.navbar {
  margin-bottom: 0;
  background-color: black ! important;
  font-family: 'Source Sans Pro', 'sans serif';
}

.pull-right {
  margin: 0;
}

.profile-links {
  padding: 25px;
  align-items: flex-end;
}

@media only screen and (max-device-width:768px) {
  #footer {
    position: static;
  }

  .mobile-center {
    text-align: center;
  }

}
