body {
  margin: 0 auto;
}
#header {background-color:#215485; height:118px; overflow:visible; margin:0; padding:0;}
#navmenu {
  background-color:#215384;
  border-left:1px solid #215485;
  color: #FFF;
}
#content {
  background-color:#A6C6E6;
  border-left:1px solid #215485;
  padding: 10px;
  font-size: 13px;
  line-height: 1.57em;
}
.content_text {
  font-size: 13px;
  color: #000;
  margin: 5px;
}


#sidebars {
  display:none;
  background-color: #215485;
  color: #FFF;
  margin-top: 0px;
  padding: 10px;
  border-left: 1px solid #215485;
}
#footer {
  background-color: #215485;
  color:#FFF;
  margin-top:0px;
  border-left:1px solid #215485;
  padding: 1px;
}
#footer table tr td a {
  color: #FFF;
}

.normalCursor {
   cursor: default;
}

.small {
  font-size: smaller;
}

/*------------site-wide formatting--------------*/
h1 {color:#A67226; font-weight:bold; text-align: center;}
h2 {background-color: #FFC775; color:#111111; padding:6px 3px 3px 3px; border-bottom:4px solid #A67226; width:400px;}
h3 {background-color: #FFD598; color:#111111; padding:6px 3px 3px 3px; border-bottom:4px solid #BFA072; width:380px;}
h4 {background-color: #FFD598; color:#111111; padding:6px 3px 3px 3px; border-bottom:4px solid #BFA072; width:280px;}

.wp-caption {
  background-color: #FFE0B3;
  border: 10px solid #FFE0B3;
  text-align: center;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 6px;
  -khtml-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}
.wp-caption img {margin: 0; padding: 0; border: 0 none;}
.wp-caption p.wp-caption-text {font-size: .9em; font-weight: bold; padding: 2px; margin: 0;}

#breadcrumbs {font-size:1.2em; padding-top:16px; padding-left:6px;}

.footerleft {
  float:left;
  font-size: 12px;
}
.footerright {
  float:right;
  margin-right: 10px;
  font-size: 12px;
}

.imageleft {
  float: left;
  text-align: center;
}

.imageright {
  float: right;
  text-align: center;
}

.imageblock {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.imageblock:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.imagetile {
  width: 40%;
  text-align: center;
  float: left;
  margin-left: 5%;
  margin-right: 5%;
}

hr {
	width: 80%;
	border-color: #ccc;
}

#menu-bar hr {
	margin-top: 0px;
	margin-bottom: 0px;
}

.center {
	text-align: center;
}

/* BIS dog list */

ol.bis {
  padding-left: 12em;
}
ol.bis li {
	padding-bottom: 1em;
}
ol.bis li:first-line {
  font-weight: bold;  
}

/* Styling for the events page */

/* Old table styles:
table.events th {
	font-weight: bold;
	vertical-align: center;
	padding: 10px;
}

table.events td {
	text-align: center;
	vertical-align: top;
	padding: 15px 5px 15px 5px;
}

*/

.event, .event2 {
	padding-top: 5px;
	padding-bottom: 10px;
	width: 100%;
	text-align: center;
}

.event:first-line {
	font-weight: bold;
	font-size: larger;
}

/* Styling for the titles page with a summary of title earners */

table.titles {
	margin-top: 2em;
}

table.titles caption {
	padding-bottom: 1em;
	font-weight: bold;
}

table.titles td {
	border-collapse: collapse;
	/*border-style: solid;*/
	border-width: 1px;
	padding: 2px 5px 2px 5px;
}

table.titles td:nth-child(2) {
    text-align: center;
}

/* Styling for the sirra-board table */
table.sirra-board {
	text-align: center;
	border: double;
	border-color: gray;
	border-collapse: collapse;
}

table.sirra-board td, table.sirra-board th {
	vertical-align: top;
	border-right: double;
	border-left: double;
	border-color: gray;
	padding: 1px 7px 1px 7px;
}

table.sirra-board th {
	padding-top: 10px;
}

table.sirra-board tr:last-child td {
	padding-bottom: 10px;
}

ul.quicklinks {
	padding-left: 1em;
}

/* Styling for the Group placements */
table.gplace {
	border-collapse: collapse;
}

table.gplace tr th {
	padding-right: 5px;
	padding-left: 5px;
}

table.gplace tr td {
	padding-right: 5px;
	padding-left: 5px;
	border-style: solid;
	border-color: gray;
	border-width: 1px;
}
table.gplace tr td:nth-child(3) {
	text-align: center;
}
table.gplace tr td:nth-child(4) {
	text-align: center;
	border-right-width: 2px;
}
table.gplace tr td:nth-child(5) {
	text-align: center;
}
table.gplace tr td:nth-child(6) {
	text-align: center;
}
table.gplace tr td:nth-child(7) {
  text-align: center;
}
table.gplace tr td:nth-child(8) {
  text-align: center;
}
table.gplace tr td:nth-last-child(2) {
	text-align: center;
	border-right-width: 2px;
}
table.gplace tr td:nth-last-child(1) {
	text-align: center;
	font-weight: bold;
}

/* Juniors */
table.juniors {
  border-collapse: collapse;
}

table.juniors td, table.juniors th {
  text-align: center;
  padding: 14px 14px 14px 14px;
  border: 1px solid #aaaaaa;
}

/* last row has different column spacing */
table.gplace tr:last-child td {
	border-top-width: 2px;
	text-align: center;
	font-weight: bold;
}
table.gplace tr:last-child td:first-child {
	border-style: none;
	text-align: center;
}
table.gplace tr:last-child td:nth-child(4) {
	border-right-width: 1px;
}
table.gplace tr:last-child td:last-child {
	border-left-width: 2px;
	text-align: center;
}

/* Capitalize award tilte */
h1.award-title {
  text-transform: uppercase;
}

/* CSS to allow hide breeder directory until agreement */

#overlay {
    display:none;    
    position:fixed;  
    left:0px;        
    top:0px;         
    width:100%;      
    height:100%;     
    background:#000; 
    z-index:99999;   
}

#breeder-popup {
    display:none;
    position:fixed;
    left:50%;        
    top:50%;     
    width:700px;
    height:350px;
    margin-top:-200px;
    margin-left:-350px;  
    background:#A6C6E6;
    border:5px solid #a67326;
    z-index:100000;      
}

#rescue-popup {
  display:none;
  position:fixed;
  left:50%;        
  top:50%;     
  width:400px;
  height:200px;
  margin-top:-200px;
  margin-left:-200px;  
  background:#A6C6E6;
  border:5px solid #a67326;
  z-index:100000;      
}

table.rescue {
  width: 100%;
  align-content: center;
  text-align: center;
}

table.rescue td {
  border-style: inset;
  border-width: 1px;
  margin: 2px;
  padding: 10px;
  width: 30%;
  vertical-align: top;
}

.award {
  font-size: 14.0pt;
  font-weight: bold;
  color: #111111;
  padding-top: .5em;
  margin-bottom: .5em;
}

ol.recipient  {
  counter-reset: foo 0;
  list-style-type: none;
}
ol.recipient  li:not(.no-increment) {
  counter-increment: foo 1;
}

ol.recipient  li.no-increment+li:not(.no-increment) {
  counter-increment: foo 2;
}
ol.recipient  li.no-increment+li.no-increment+li:not(.no-increment) {
  counter-increment: foo 3;
}
ol.recipient  li.no-increment+ol li.no-increment+li.no-increment+li:not(.no-increment) {
  counter-increment: foo 4;
}
ol.recipient  li:before {
  content: counter(foo) ".";
  float: left;
  width: 2em;
  margin-left: -2.5em;
  text-align: right;
}

.recipient {
  font-weight: bold;
}

ul.recipient {
  list-style: none;
}

ul.recipient li {  
  margin-left: -2em;
}

.recipient li span {
  font-size: small;
  font-weight: normal;
  font-style: italic;
}

.recipient + h3 {
  margin-top: 3em;
}

.damsire-sport p {
	margin-left:.25in;
	text-decoration: underline;
	margin-bottom: 0px;
}

.damsire-sport ul {
	margin-top: 0px;
	list-style-type: disc;
}

.damsire-sport .points {
  display: inline-block; 
	width: 8em;
}

ol.sublist li {
  list-style-type: lower-alpha;
}

div.futmatrules > ol > li {
  margin-top: 1em;
}

.leftfloat {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}
.rightfloat {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}

.membership-type {
  text-decoration: underline;
}

.cblref {
  text-decoration: underline;
  font-style: italic;
}

