/* General */
body {
    margin: 0;
    line-height: 1.5em;
    color: #333333;
    font-family: helvetica, arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
    line-height: 1.2em;
    margin-top: 1em;
}

img {
    width: 100%;
    height: auto;
}

table {
    width: 100%; /* Make the table full-width */
}
#speakers th, #speakers td {
    width: 50%; /* Divide by the number of columns */
}

/* #schedule th, #schedule td {
    width: 33%; /* Divide by the number of columns */
/*} */

a:link, a:visited {
    color: #0000e0;
    text-decoration: none
}

a:hover, a:active {
    color: #0000ff;
    text-decoration: underline
}

/* Single column layout */
nav section, header section, footer section, #main_page_content {
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0;
}

/* Navigation panel */
nav {
    /* background: #B31B1B; */
    background: #5F0000;
    border-bottom: thin solid #111111;
    line-height: 3em;
    position: fixed;
    top: 0px;
    width: 100%;
}

main
{
    margin-top: 3em;  /* Matching the hight of the navbar */
    text-align: center;
}

/* Code taken from https://finecrypto.github.io/ */
/* For the text overlay on the background image */
.company-name {
    width: 100%;
    height: 20%;
    position: absolute;
    top: 30%;
    left: 50%;
    text-align: center;
  transform: translate(-50%, -50%);
  }
  .company-name  h2 {
      font-size: 4em;
      color: black
  }
  .company-name  h4 {
      font-size: 2em;
      color: black
  }

.sub_content {
    background-size: 100% auto ! important;
    padding-bottom: 40%;
    position: relative;
    text-align: center;
}
.sub_content > .inner {
    position: absolute;
    width: 100%;
}
.sub_content_fixed {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    @media (max-width: 844px) {
        background-attachment: scroll;
    }
    @media (max-width: 932px) {
        background-attachment: scroll;
    }
}
.sub_content_static {
    background-size: cover;
}
.sub_content_light {
    background-color: #fff;
    color: #666;
    border-color: #A5A5A5;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0, 0.2)
}
.sub_content_lightdark {
	background-color: #F5F5F5;
	color: #666;
	border-color: #fff;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0, 0.2)
}
.sub_content_lightdark .module .module-title,
.sub_content_light .module .module-title {
	color: inherit;
    text-align:center;
    width:100%;
    text-transform: uppercase;
	text-shadow: none;
    margin-top:0px;
}
.module .module-title {
    text-align: left;
    color: #fff;
    font-size: 2.2em;
    width:50%;
    padding-bottom: 1em;

}
.inner {
    padding-bottom: 30px;
    padding-top: 30px;
}
.inner-top {
    padding-top: 30px;
}

/* NAVBAR - TOP */
.navbar-inverse .navbar-nav > .active > a, 
.navbar-inverse .navbar-nav > .active > a:hover, 
.navbar-inverse .navbar-nav > .active > a:focus, 
.navbar-inverse .navbar-nav > li > a:hover, 
.navbar-inverse .navbar-nav > li > a:focus {
     color: #666;
     border: 0px;
     font-weight: 600;
     background-color: #fff;
}
.navbar_top {
    background-color:#fff;
    border-radius: 0px;
    border: medium none;
    display: block;
    left: initial;
    margin: 0px;
    max-width: inherit;
    right: initial;
    width: 100%;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}
.navbar_top .nav li .nav_link {
    color: #666;
    font-size: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.52em;
    padding: 1.2em 1.7em;
    text-transform: uppercase;
}
.navbar-toggle .icon-bar {
    background: none repeat scroll 0% 0% #ffffff;
}

.tab-content {
    text-align: justify;
}

/* End code taken from https://finecrypto.github.io/ */

nav a {
    margin-right: 1em;
}

nav a:link, nav a:visited {
    /* color: #cccccc; */
    color: #FFFFFF;
}

nav a:hover, nav a:active {
    color: #ffffff;
    text-decoration: none;
}

@media screen and (min-width: 600px) {
    nav .links {
        float: right;
    }
}


/* Footer */
footer {
    background: #f0f0f0;
    border-top: thin solid #e0e0e0;
    margin-top: 2em;
    padding: 1em 0;
    box-shadow: 0 100vh 0 100vh #f0f0f0;
    text-align: center;
}

footer section p {
    font-size: 0.8em;
}

footer a {
    margin-right: 1em;
}

footer a:last-child {
    margin-right: 0;
}


/* Posts */
article {
    margin-top: 1em;
    margin-bottom: 1em;
}

article h2 a:link, article h2 a:visited,
article h1 a:link, article h1 a:visited,
.more:link, .more:visited {
    color: #333333;
}

article h2 a:hover, article h2 a:active,
article h1 a:hover, article h1 a:active,
.more:hover, .more:active {
    color: #777777;
}

p.meta {
    margin-top: 0;
    font-size: 0.8em;
    color: #777777;
    font-style: italic;
}

p.summary {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

div .more {
    margin-top: 0;
    font-weight: bold;
}


/* RSS */
.rss {
    padding: 0.3em 0.35em;
    border-radius: 0.25em;
    font-size: 0.75em;
    font-weight: bold;
}

.rss:link, .rss:visited, .rss:hover, .rss:active {
    color: #ffffff;
    text-decoration: none;
}

.rss:link, .rss:visited {
    background: #ff6600;
}

.rss:hover, .rss:active {
    background: #ff8822;
}


img.headshot {
    max-height: 2in;
    width: auto;
}

a.preview:link, a.preview:visited {
    color: #0000e0;
    text-decoration: none
}

a.preview:hover, a.preview:active {
    color: #0000ff;
    text-decoration: underline
}
