@media (min-width:768px) {
.dropdown:hover .dropdown-menu {
  display:block;
}
}

@media screen and (max-width:500px) {
#banner h1 {
  font-size: 28px;
}
}

#content h1,h2,h3,h4 {
  text-align: center;
}

body
{
    font-size: 18px;
}

.dropdown-menu {
    font-size: 16px;
}

.footer {
  width: 100%;
  height: 80px;
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px;
}

#banner {
    width:100%;
    background-repeat:no-repeat;
    background-color:#990000;
    font-family:"adobe-caslon-pro",Georgia,serif;
    height:100px;
    white-space:nowrap;
}

#banner h1,h2,h3,h4 {
    font-weight:400;
}

#kecklogo {
  float:right;
  width:230px;
  height:61px;
}

.site-title a {
    position:absolute;
    left:20px;
    top:10px;
    text-decoration:none;  
    color:#ffffff;
}

.site-subtitle {
    position:absolute;
    left:20px;
    top:50px;
    text-decoration:none;  
    color:#ffffff;
}    

.site-subtitle .gold {
    color:#ffcc00
}


/* Calculator CSS */
.explanation {
    display: none;
}

.comment {
    padding: 10px;
}

.cite {
    margin-top: 10px;
    margin-left: 50px;
    font-size: 14px;
}

.fraction {
    display: inline-block;
    position: relative;
    vertical-align: middle; 
    letter-spacing: 0.01em;
    text-align: center;
}
.fraction > span { 
    display: block; 
    padding: 0.2em; 
}
.fraction span.fdn {
    border-top: thin solid black;
}
.fraction span.bar {
    display: none;
}

/* Project layout adapted from Andrej Karpathy */
.pubt {
  font-size: 22px;
  font-weight:400;
  color: #000;
}
@media (max-width: 768px) {
  .pubt {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .pubd {
    text-align: justify;
  }
}
.pubd {  
  font-size: 18px;
  font-weight: 300;
}
.pubimg {
  text-align: center;
}
.pubimg img {
  max-width: 80%;
}
.puba {
  font-size: 18px;
  color: #900;
}
.pubv {
  color: #090;
  font-size: 18px;
}
.publ {
  padding-top: 10px;
  font-size: 16px;
}
.publ li {
  border: 1px solid #CCC;
  padding: 5px;
  margin: 5px 2px;
  display: inline-block;
}
.pubwrap {
  padding-bottom: 20px;
  margin-bottom: 50px;
  border-bottom: 1px solid #DDD;
}
.pub {
}

/* Boldface and dark green checked radiobuttons/checkboxes */
:checked + span { font-weight: bold; color:darkgreen}