/* If I'm going to share the topmatter between the blog and the main site,
   I need a separate topmatter CSS file. */

#topmatter {
    position: relative;
    height: 200px;
    line-height: 1.1; /* If I don't set this, line height in safari is hosed */
}

#smartasscontainer {
    background: url('/images/TopmatterBackground.jpg');
    position: absolute;
    top: 0px;
    left: 0px;
    width: 399px;
    height: 184px;
}

/* https://stackoverflow.com/questions/796087/make-a-div-into-a-link */
.divlink span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}


#sambayer {
  position: absolute;
  left: 18px;
  top: 22px;
  font-size: 60px;
}

#smartass {
  position: absolute;
  left: 180px;
  top: 130px;
  font-size: 24px; 
}


#topmattermenu {
    position: absolute;
    left: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    font-size: 24px;
    top: 10px;
    height: 165px;
}

#topmattermenublurb {
    position: absolute;
    left: 500px;
    width: 80px;
    font-size: 14px;
    text-align: center;
    top: 70px;
}

#topmattermenublurb.front {
    top: 40px;
    left: 490px;
}

#openmikestar {
    position: absolute;
    top: 112px;
    left: 500px;
    background: url("/images/OpenMikeStar.jpg") no-repeat;
    text-align: center;
    width: 68px;
    height: 69px;
    transform: rotate(-16deg);
    font-size: 14px;
    padding-top: 14px;
    line-height: 1;
}

/* These used to be shared with the other elements
   that behave the same way, but I need this in the separate
   topmatter CSS */

#topmattermenu.variable a {
filter: alpha(opacity=40);
-moz-opacity: 0.4;
opacity: .4;
}

/* Grrr. :hover only works with <a> in IE. So
  if I want to do the opacity stuff, I need to
  do it on the anchors. */

#topmattermenu.variable a:hover {
filter: alpha(opacity=60);
-moz-opacity: 0.6;
opacity: .6
}

/* IE7 bug: a.active:hover appears not to work.
   However, when I put an intervening node between the
   datebar and the link, and put the active element
   on that, it doesn't work ANYwhere, almost certainly
   because of a CSS specificity issue. */

#topmattermenu.variable a.active {
filter: alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0
}

/* And this one just needs to be repeated. */

.marydaleText {
    font-family: "Marydale", Georgia;
}

.marydale a {
    color: black;
    font-family: "Marydale", Georgia;
    text-decoration: none;
}
