/*
 * Theme Name: DD-WRT
 * Author: Peter Steinhaeuser
 * Version: 1.0
 */

html {
  margin-top: 0px !important;
}

body {
  margin: 0;
  padding: 0;
  background: url("../images/bg_header.png") repeat-x #1a1a1a;
  color: #fff;
  text-align: center;
  line-height: 17px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
}

a {
  color: #318cd8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
  
h1 {
  font-size: 13px;
}
  
h2 {
  font-size: 12px;
}
  
h3 {
  font-size: 12px;
}

table {
  border-collapse: collapse;
  line-height: normal;
}

/*----------------------------- frame definitions ----------------------------*/

  .frame_top {
    width: 100%;
    height: 10px;
    top: 0px;
    left: 0px;
    background: #f00;
    font-size: 1px;
  }

  .frame_bottom {
    width: 100%;
    height: 10px;
    left: 0px;
    bottom: 0px;
    background: #f00;
    font-size: 1px;
  }

  .frame_left {
    position: absolute;
    width: 10px;
    height: 100%;
    left: 0px;
    background: #0f0;
  }

  .frame_right {
    position: absolute;
    width: 10px;
    height: 100%;
    right: 0px;
    background: #0f0;
  }

  .corner_left {
    display: block;
    float: left;
    height: 10px;
    width: 10px;
    font-size: 1px;
    background: #00f;
  }

  .corner_right {
    display: block;
    float: right;
    height: 10px;
    width: 10px;
    font-size: 1px;
    background: #00f;
  }

/*------------------------- main block definitions ------------------------------*/
#main {
  position: relative;
  display: block;
  width: 1000px;
  top: 0px;
  margin: auto;
  padding: 0 10px;
  text-align: left;
}

*html #main { width: 1020px; }

#header {
  width: 980px;
  height: 129px;
  padding: 20px 10px 0 10px;
}

*html #header { width: 1000px; height: 122px; }

#header #jumpmenu {
  float: right;
}

#header #logo {
  float: left;
  width: 208px;
  height: 40px;
  background: url("../images/logo.png") no-repeat;
}
 
#header #jumpmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
 
#header #jumpmenu li {
  display: block;
  height: 12px;
  float: left;
  margin: 0 0 0 9px;
  padding: 0 0 0 9px;
  border-left: solid 1px #d5d5d5;
  line-height: 10px;
  color: #d5d5d5;
}

#header #jumpmenu .first {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

#header #jumpmenu li a {
  color: #d5d5d5;
}

#header #ad_block {
  float: right;
  width: 728px;
  height: 90px;
  margin-top: 15px;
  padding: 0;
  border: solid 1px #666;
}

#header #dd_privacy {
  position: absolute;
  width: 230px;
  height: 52px;
  left: 20px;
  top: 86px;
/*  background: url(images/dd-wrt_privacy_banner.png) no-repeat;*/
}

#header #dd_privacy a {
  display: block;
  width: 230px;
  height: 52px;
  text-align: center;
  font-size: 24px;
  visibility: _hidden;
}

#header #dd_privacy a span {
  visibility: hidden;
}

/*------------------------------------ navigation --------------------------------------*/
#navigation {
  width: 1000px;
}

#navigation #left {
  display: block;
  float: left;
  width: 10px;
  height: 32px;
  background: url(../images/bg_nav_main_left.png) 0 21px repeat-x;
}

#navigation #right {
  float: right;
  height: 32px;
  width: 10px;
  background: url(../images/bg_nav_main_right.png) 0 21px repeat-x;
}

#navigation #middle {
  position: absolute;
  display: block;
  height: 32px;
  left: 10px;
  right: 10px;
  background: url(../images/bg_nav_main_middle.png) 0 21px repeat-x;
}

*html #navigation #middle { width: 980px; }

#navigation.front #left {
  background: url(../images/bg_front_nav_main_left.png) 0 21px repeat-x;
}

#navigation.front #right {
  background: url(../images/bg_front_nav_main_right.png) 0 21px repeat-x;
}

#navigation.front #middle {
  background: url(../images/bg_front_nav_main_middle.png) 0 21px repeat-x;
}

#navigation #main {
  display: block;
  width: 1000px;
  height: 27px;
  list-style: none;
  margin: 0;
  padding: 4px 0 0 0;
  font-size: 13px;
  font-weight: bold;
}
*html #navigation #main { height: 31px; }

#navigation #main li {
  display: block;
  float: left;
  background: #ff0;
  margin: 0 0 0 5px;
}

#navigation #main li {
  display: block;
  float: left;
  width: 162px;
  padding: 0 8px;
  margin: 0 10px;
  line-height: 23px;
  border: solid 1px #3387ce;
  border-radius: 4px;
  color: #fff;
  background: #1c5382;
  background-image: linear-gradient(#206095, #1a4f7b);
}

*html #navigation #main li { width: 250px; margin: 0; padding: 0 10px 1px 19px; line-height: 22px; }

#navigation #main li a {
  display: block;
  padding: 0 8px 0 0;
  color: #fff;
  text-decoration: none;
}

#navigation #main .current-menu-item,
#navigation #main .current-menu-parent {
  background: #2a7abc;
  background-image: linear-gradient(#318cd8, #2874b4);
  border-bottom: none;
  border-right-color: #2874b4;
}
*html #navigation #main .active { background: url(images/bg_nav_main_button_active_left.png) 10px 0 no-repeat; }

#navigation #main .active a {
  background: url(../images/bg_nav_main_button_active_right.png) top right no-repeat;
}

#navigation #main .active a span {
  background: url(../images/bg_nav_main_button_active_middle.png) top left repeat-x;
}

/*---------------------------------- navigation sub ----------------------------------*/

#navigation #sub {
  margin: 0;
  height: 24px;
  padding-bottom: 3px;
  border-left: solid 1px #318cd8;
  border-right: solid 1px #318cd8;
  border-bottom: solid 1px #318cd8;
  border-radius: 0 0 4px 4px;
  list-style: none;
  font-size: 12px;
  font-weight: bold;
  background: #246ba7;
  background-image: linear-gradient(#2874b4, #256aa5);
}
*html #navigation #sub { border-top: solid 1px #246ba7; }

#navigation #sub ul {
  list-style: none;
  margin: 0;
  padding: 2px 0 0 10px;
}
*html #navigation #sub ul { padding: 1px 0 0 10px; }

#navigation #sub li {
  float: left;
  height: 20px;
  margin: 0 10px 2px 0;
  padding: 0;
  line-height: 20px;
}

#navigation #sub li a {
  padding: 2px 5px 3px 5px;
  text-decoration: none;
  color: #fff;
}
*html #navigation #sub li a { padding: 0 0 0 5px; }

#navigation #sub .current-menu-item a, #navigation #sub a:hover {
  text-decoration: none;
  line-height: 18px;
  padding: 1px 4px 2px 4px;
  border: solid 1px #efa03b;
  border-radius: 4px;
  color: #fff;
  background: #f07100;
  background-image: linear-gradient(#f87b0b, #e76e01);
}

/* -------------------------------- content-top ---------------------------------------- */
#content-top.front {
  margin-top: 0px;
  height: 14px;
  border-left: solid 1px #575757;
  border-right: solid 1px #575757;
  background: url(../images/bg_content_top_front.png) 0 1px repeat-x;
}

/* ----------------------------------- footer ------------------------------------------ */
#footer {
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 10px;
  color: #d5d5d5;
}

#footer #copyright {
  float: right;
}

#footer .menu-footer-container {
  float: left;
}

#footer .menu-footer-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer #menu li {
  display: block;
  float: left;
  margin: 0 0 0 9px;
  padding: 0 0 0 9px;
  border-left: solid 1px #d5d5d5;
  line-height: 10px;
  color: #d5d5d5;
}

#footer #menu li:first-child {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

#footer #menu li a {
  color: #d5d5d5;
}

/* ---------------------------------- content ------------------------------------------ */
#content {
  margin-top: 4px;
  margin-bottom: 10px;
  padding: 0px 10px 0px 10px;
  border: solid 1px #575757;
  border-radius: 4px;
  background: #3d3d3d;
}

#content.front {
  margin-top: 0;
  border-top: none;
  border-radius: 0 0 4px 4px;
}

#content #middle.middle-left {
  margin: 9px 0;
  background: url(../images/bg_content_middle_left.png) repeat-y top center #3d3d3d;
}

#content.front #middle.middle-left {
  margin: 0;
}

#content #middle.middle-left #content {
  float: left;
  width: 730px;
  min-height: 380px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
*html #content #middle.middle-left #content { height: 480px; }

#content #middle.middle-left #content_right {
  float: right;
  width: 230px;
  text-align: left;
}

#content h1,
#middle.middle-left #content_right h2 {
  height: 18px;
  margin: 0 0 10px 0;
  padding: 3px 8px 0 7px;
  font-size: 13px;
  line-height: 15px;
  color: #eb760e;
  border: solid 1px #888;
  border-radius: 4px;
  background: #5a5a5a;
}

#middle.middle-left #content h2 {
  margin: 3px 0;
  font-size: 13px;
  color: #318cd8;
  border-bottom: dotted 1px #318cd8;
}

#middle #content.content ol {
  margin-left: 0;
  padding-left: 0;
}

#middle #content.content ol li {
  padding-left: 0;
}

#middle #content.content ol li p,
#middle #content.content ol li ul {
  margin-left: 18px;
}

#middle #content.content ul,
.right_content ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

#middle #content.content ul li, 
.right_content li {
  padding-left: 12px;
  background: url(../images/list_dot.gif) no-repeat -3px 3px;
}

#middle #content .cols-3 .col {
  float: left;
  width: 230px;
  margin-right: 20px;
}

#middle #content .cols-3 .last {
  margin-right: 0;
}

#middle #content .cols-3 .col h1 {
  height: 28px;
  color: #eb760e;
  background: none;
  padding-left: 0;
  padding-bottom: 4px;
  border-bottom: solid 1px #2d2d2d;
}

#middle #content .cols-3 .col ol {
  padding-left: 18px;
}

#middle #content .cols-3 .col th {
  padding-right: 1em;
  border-bottom: 1px solid #ccc;
}

/* ------------------------------- content home ---------------------------------------- */
#content.home h1 {
  margin-top: 0px;
  color: #d2d2d2;
}

#content.home .title,
#content .col .title {
  margin-bottom: 2px;
  padding: 0;
  border: 0;
  background: none;
}

#content.home .title a {
  color: #eb760e;
}

#content.home .submitted {
  display: block;
  font-size: 9px;
  color: #adadad;
  padding-bottom: 4px;
  border-bottom: solid 1px #2d2d2d;
}

#content.home p {
  margin-top: 4px;
}

#content.home .recent {
  float: left;
  width: 230px;
  margin-right: 20px;
}

#content.home .recent h1 {
  height: 28px;
}

#content.home .last {
  margin-right: 0;
}

/* ------------------------------- front buttons --------------------------------------- */
#content.front ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#content.front .topic_buttons {
  float: left;
  width: 230px;
  margin-right: 20px;
}

#content.front .topic_buttons.last {
  margin-right: 0;
}

#content.front .topic_buttons li {
  display: block;
  height: 20px;
  padding: 4px 9px 0 9px;
  padding-right: 10px;
  margin-bottom: 5px;
  border: solid 1px #3387ce;
  border-radius: 5px;
  background-color: #1d5483;
  background-image: linear-gradient(#225e91, #184b76);
}
*html #content.front .topic_buttons li { height: 37px; }

#content.front .topic_buttons li .head {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}

#content.front .topic_buttons li .subhead {
  margin-top: 1px;
  font-size: 10px;
  line-height: 12px;
  font-family: Arial, sans-serif;
}

/* ----------------------------------- menu box -------------------------------------- */
.menu_box {
  margin-top: 10px;
  padding-top: 15px;
}
  
.menu_box .menu {
  position: absolute;
  height: 25px;
  margin: -25px 5px 0 5px;
  padding: 0 5px;
  z-index: 100;
}
  
.menu_box .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
  
#middle #content .menu_box .menu li {
  display: block;
  float: left;
  height: 18px;
  margin-right: 10px;
  padding-left: 0;
  border: solid 1px #a8a8a8;
  border-radius: 5px;
  background-color: #818281;
  background-image: linear-gradient(#8b8b8b, #7a7b7b);
}

#middle #content .menu_box .menu li.active {
  height: 15px;
  background: #474747;
  border-color:  #686868;
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.menu_box .menu li.active a {
  color: #f67501;
}
  
.menu_box .menu li a {
  display: block;
  padding: 1px 9px 2px 9px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
}
  
.menu_box .content_top {
  position: absolute;
  width: 728px;
  height: 10px;
  margin-top: 15px;
  background: #474747;
  border-top: solid 1px #686868;
  border-left: solid 1px #686868;
  border-right: solid 1px #686868;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.menu_box .content {
  background: #474747;
  border-left: solid 1px #686868;
  border-right: solid 1px #686868;
  border-bottom: solid 1px #686868;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 2px 10px 10px 10px;
}
 
/* ------------------------------------- colors -------------------------------------- */
 
.red {
  color: #ff491f;
}

.green {
  color: #2bce38;
}

/* ------------------------------------ specials ------------------------------------- */
.routerdb_button {
  display: block;
  width: 100%;
  webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 21px;
  padding: 3px 0 0 6px;
  line-height: 12px;
  border: solid 1px #3387ce;
  border-radius: 4px;
  color: #fff;
  background: #1c5382;
  background-image: linear-gradient(#318cd8, #2874b4);
}

.routerdb_button span {
  font-weight: bold;
}

/* Block */
.content {
	width: 560px;
	border: 0px solid #ff9900;

}
.block { 
	width: 109px; 
	height: 109px; 
	border: 1px solid #ff9900; 
	margin: 5px; 
	float:left;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.block img {
	margin: 7px 7px;
	width: 95px;
	height: 95px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}