.custom #footer{width:97%;}
.custom #header{width:100%;}
.custom #middlecontent{width:640px;}
.custom #main {width:1000px;}

@media screen and (min-width:769px){
.custom #header{width:1000px; margin:0px auto 0px auto; }
.custom #navbar{width:990px; margin:0px auto 0px auto; }
.custom #footer { width:980px;  padding:15px; margin:0 auto 0 auto; }
#header-middle{ width:468px;}
}

@media screen and (min-width:481px) and (max-width:768px) {
#sidebar{display:none;}
.custom #navbar{width:100%;  background: url("images/navbg.gif") repeat-x; padding:0;   border-bottom-left-radius: 0; border-bottom-right-radius: 0; -moz-border-radius-bottomleft:0; -moz-border-radius-bottomright:0; } 
#nav{display: block; width:100%; margin:0;  height:40px;  }
#nav li {float: left; font-size:1.3em; text-transform:none; font-weight:bold; background:#FFF url("images/navbg.gif") repeat-x; }

#navbar .right{display:none;}
#searchheader{ display:inherit; }

#middlecontent h1{ margin:-10px -1.25% 20px -1.25%;}

.custom #middlecontent, #middlecontent{width:97.5%;  padding:10px 1.25% 25px 1.25%; }
.footerwidget{ min-width:130px; margin:0 5px 0 5px !important;}
#header-middle{display:none !important; width:0px !important;}
#header-right{float:right; padding:10px 10px 10px 40px;}
.custom #main {width:100%}

.featured .left{ float:left; width:59.3%;}
.featured .right{ float:right; margin-left:3.48%; width:37.21%;}

.siteblock .left{ width:35.5%; float:left; margin-right:4.44%; padding-bottom:8px;}
.siteblock .right{ width:60%; float:left;}

}

@media screen and (min-width: 1px) and (max-width:480px){
.footerwidget{width:280px !important; margin:0 !important;}

body {font-size:10px; line-height:10px;  }
#sidebar{display:none;}
.custom #middlecontent, #middlecontent{width:97.5%;  padding:10px 1.25% 25px 1.25%; }
#middlecontent h1{ margin:-10px -1.25% 20px -1.25%;}

#navbar .right{display:none;}
#searchheader{ display:inherit; width:300px;}
#searchheader .topsearchinput{width:244px;}  


#header{ padding-bottom:10px;}
#header-left{ width:100%; padding:15px 0 15px 0; text-align:center; }
#header-middle{display:none !important; width:0px !important; }
#header-right{ clear:both; text-align:center; margin:0 auto 0 auto; float:none; padding:0 1.25% 0 1.25%;}

.custom #navbar{width:100%;  background:none; border:none; padding:0;   border-bottom-left-radius: 0; border-bottom-right-radius: 0; -moz-border-radius-bottomleft:0; -moz-border-radius-bottomright:0; } 
#navbar .left{float:none;}

#nav{display: block;  margin:0;    }
#nav, #nav ul {line-height: 24px; margin:0; padding:0; list-style: none;  background:none; }

#nav li {float: left; width:100%; font-size:1.4em; text-transform:none; font-weight:bold; background:#FFF; margin:0 0 6px 0; }
#nav li a,#nav li a:visited {color:#111; display:block; padding:8px 13px 8px 20px; background:#FFF url("images/navbg.gif") repeat-x; border-bottom:1px solid #999; width:100%;}
#nav li a:hover, #nav li a:active {color:#009900; background:#F5F5F5; }	
#nav li.current-menu-item a, #nav li.current-menu-parent a {background:#F5F5F5; color:#009900;}
#nav li.current-menu-item, #nav li.current-menu-parent {background:#F5F5F5; color:#009900;}
#nav li.current-menu-item a:hover, #nav li.current-menu-parent a:hover {background:#F5F5F5; color:#666;}	
#nav li.dropdn{ background:none; text-indent:10px;}
#nav li li, #nav li ul{display: none; }

.siteblock{background:url("images/bonustablebg.gif") repeat-x bottom;  border-bottom:1px solid #5e5e5e; padding:5px; overflow:hidden; margin:-15px 0 25px 0; }
.siteblock .left{ width:100%; float:none; margin-right:0 auto; padding-bottom:15px;}
.siteblock .right{ width:100%; float:none; margin-right:0 auto;}

.featured .left{ float:none; margin:0 auto; width:100%;}
.featured .right{ float:none; margin:0 auto; width:100%;}

.midsites th{font-size:.8em; line-height:.9em; }
.midsites td{font-size:.8em; line-height:.9em;}
.midsites span{font-size:1.2em;}
.midsites .hideme{ display:none;}

.custom #main {width:100%}

}