/* Make links with images display them without underlines and extra line spacing. 
   Same as putting .block on the image itself. */
a.imagelink img { display: block; }

/* Concept copy from westcostmotel.com site. */
div.halfers {
  width: 310px;
  float: left;
  margin-right: 10px;
}

/* Copied from Blueprintcss */
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix, .container {display:block;}
.clear {clear:both;}

/* Three page-footer panels */
div#page-footer {
  padding-left: 40px;
}

div#page-footer div.panel {
  float: left;
  margin-right: 10px;
  width: 230px;
}

div#page-footer div.panel.last { 
  margin-right: 0;
}

div#page-footer div.panel div.box {
  background-color: white;
  border-color: aaa;
}

/* Styled tables from old site */
table.styledtables {
    border: 1px solid #D4E0EE;
    border-collapse: collapse;
    color: #727567;
    margin-bottom: 2em;
}
table.styledtables tr {
    background: none repeat scroll 0 0 #FCFDFE;
}
table.styledtables tr.odd,
table.styledtables tr:nth-child(odd) {
    background: none repeat scroll 0 0 #CDEAED;
}
table.styledtables tr th {
    background-color: #CCCCCC;
    border-bottom: 2px solid #000000;
    border-top: 3px solid #000000;
    color: #545454;
    padding: 5px;
}

table.styledtables tr th span.big {
  font-size: 1.5em; 
}
table.styledtables tr td {
    margin: 0;
    padding: 0 2px;
    width: 140px;
    padding-left: 0.5em;
    padding-right: 1em;
    white-space: nowrap;
}
table.styledtables tr td.add {
  font-style: italic;
  text-align: right;
}


div#social {
  background-color: white;
  border: 1px solid gray;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}

div#social p {
 margin-bottom: 1em;
}

div#social a img {
  vertical-align: middle;
  margin-right: 0.5ex;
}
