/* 
 _________________________________________________________
|                                                         |
|    DESIGN + http://fullahead.org                        |
|      DATE + 2005.05.12                                  |
| COPYRIGHT + free use if this notice is kept in place    | 
|_________________________________________________________|

*/
/* Jello */
body {
	padding: 0 370px 0 370px; /* these side paddings together determine the natural min-width */
	margin: 0;
	text-align: center; /* this centers the wrappers in older IEwin versions */
	font-family: arial, sans-serif;
	font-size: 95%;
	background-color: #333;  
}

#sizer {
	margin: 0 auto 0 auto; /* this centers the wrappers in standards browsers */
	width: 50%; /* here is the critical value for customizing the Jello behavior */
	max-width: 300px;  /* version for IE is at the bottom of this style block */
}

#expander {
	background: #333;
	margin: 0 -370px 0 -370px; /* these side margins should be the same or slightly less than body paddings */
	min-width: 700px; /* This prevents Safari from losing the negative margins in narrow windows */
	position: relative;
}

/* Holly hack for IE. Must be zero, not the usual 1% value, due to IE bug \*/
* html #expander { height: 0; }
/* */

/* helps IE get the child percentages right. */

#wrapper { width: 100%; } 

/* http://positioniseverything.net/easyclearing */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* -- Main layout styles -- */
#siteBox {
  width: 100%;
  color: #FFF;
  max-width: 1100px;
}

/* -- Header layout/display styles -- */
#header {
  /*float: right;*/
  width: 100%;
  height: 100px;
  background: #25509F url(../images/hdrtop.jpg) no-repeat bottom left;
  /*margin-top: 1em;*/
}

* html #header{
	margin-top: 1em;
}
.topmenu {
	padding: none;
}
.topmenu a {
  float: left;
  width: 8em;
  /*padding: 5px 10px 5px 10px;*/
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  color: #FFF;
  background-color: #666;
  border-bottom: 2px solid #333;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
}

.topmenu a:hover, #topmenu a.active {
  padding-top: 10px;
  background-color: #333;
}

.topmenu a.lastMenuItem {
  background-image: url(../images/corner_tl.gif);
  background-repeat: no-repeat;
  background-position: top left;
  border-left: 0px;
}

.topmenu a .desc {
  display: none;
  color: #FC0;  
}

.topmenu a:hover .desc, .topmenu .active .desc {
  display: block;
}

/* -- Header title and subTitle layout/display styles -- */
.title a{
  float: right;
  height: 80px;
  width: 215px;
  /*margin: 1em;*/
  padding: 10px 30px 0 0em;
  font-size: 1.2em;
  font-weight: bold;
  text-align: right;
  vertical-align: top;
  line-height: 0.75em;
  letter-spacing: -0.10em;
  color: #FC0;
  background: url(../images/title.gif) no-repeat top left;  
}

.title h1 #titletext {
	display: none;
}
.subTitle {
  display: block;
  position: relative;
  right: 300px;
  top: 40px;
  font-size: 0.4em;
  text-transform: lowercase;
  line-height: 1em;  
  letter-spacing: 0.01em;
  display:none;
}

/* -- Content layout/display styles -- */
#content {
  float: left;
  width: 100%;
  padding: 1em 0 1em 0;
  background-color: #666;
}

.sidebar {
  float: right;
  width: 22%;
  margin-right: 0;
  margin-bottom: 1em;
  background: #777 url(../images/corner_sub_tl.gif) no-repeat top left;  
  display: inline; /* IEwin doubled margin bug fix */
}
.ads{
   clear: right;
   padding-top: 10px;
   direction: ltr;
   overflow: hidden;
}

.ads iframe{
	/*position: relative !important;*/
	float: right;
	overflow: hidden;
}
#maincontent {
  float: left;
  width: 77%;
  margin-left: 0;
  background: #777 url(../images/corner_sub_tr.gif) no-repeat top right;
  display: inline; /* IEwin doubled margin bug fix */
  text-align: right;
  font-size: 1em;
}
#maincontent h2 {
   margin: 1em;
}
#maincontent img {
   margin: 1em;
}
#maincontent ul {
   font-size: 1em;
}
.mylist li{
   margin: 1.2em;
  /*padding: 1.2em;*/
}

#content p {  
  margin: 1.2em 2em 2em 1.2em;
  font-size: 1em;
  line-height: 1.8em;
}

#content a {  
  text-decoration: none;
  color: #FC0;
  /*border-bottom: 1px solid #AAA;*/
}

#content a:hover {
  color: #DDD;
  /*background-color: #888;
  border-bottom: 1px solid #EEEEEE; IE bug these kill the login form???*/
}

#content h1,#content h2,#content h3 {  
  margin: 1.2em 1em 1em 1.2em;
  font-size: 1.2em;
  line-height: 1.8em;
  font-weight: bold;
  text-align:center;
  color: yellow;
}

#content h4 {  
  margin: 1.2em 1em 1em 1.2em;
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: bold;
  text-align:right;
  color: #fc0;
}

.header, .subHeader {
  display: block;
  clear: both;  
  font-weight: bold;
  font-size: 1em;
  text-transform: lowercase;
  color: #FC0;
  border-bottom: 1px solid #AAA;    
}

.subHeader {
  border: 0px;
}

/* -- Footer layout/display styles -- */
#footer {
  float: left;
  width: 100%;
  height: 3em;
  font-size: 0.6em;
  text-transform: lowercase;
  line-height: 2.6em;
  color: #000;
  background: #25509F url(../images/footer.jpg) repeat-y top left;
  margin-bottom: 1em;
}

#footerLeft {
  float: left;
  width: 60%;
  height: 3em;
  text-align: center;
  background: url(../images/corner_bl.gif) no-repeat bottom left;
}

#footerRight {
  float: right;
  width: 35%;
  height: 3em;
  text-align: right;
  background: url(../images/corner_br.gif) no-repeat bottom right;
}

#footer a {
  color: #000;
}

#footer a:hover {
  color: #666666;
}

/* -- Display formatting styles -- */
.grey {
  font-size: 0.9em;
  color: #AAA;
}

.white {
  color: #FFF;
}

.yellow {
  color: yellow ;
}

acronym {
  cursor: help;
  border-bottom: 1px dotted #AAA;
}

/* -- <ul> tag styles -- */
ul{
  font-size: 0.8em;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* -- Image alignment classes -- */
.imgLeft, .imgRight {
  margin: 5px;
}

.imgLeft {
  float: left;
  margin-left: 0px;
}

.imgRight {
  float: right;
  margin-right: 0px;
}

/* -- Utility classes to create the bottom rounded corners -- */

.bottomCorner {
  text-align: left;
  margin: 0;
}

.vBottomMenu {
  vertical-align: bottom;
  clear: both;
  /*float: left;*/
}

#maincontent .vBottom {
  vertical-align: bottom;
  float: right;
  margin: 0;
  border: 0;
}

/* Menu configuration 
 * PureDOMExplorer Demo styles 
 * written by Chris Heilmann 
 * More at http://onlinetools.org/tools/puredom/
 */
ul.topnav a:link,ul.topnav a:visited,ul.topnav a:hover,ul.topnav a:active{
	text-decoration:none;
}
ul.topnav,ul.topnav li{
	margin:0;
	padding:0;
	list-style:none;
}
ul.topnav{
	text-align:right;
	font-size:1em;
	margin:.5em auto;
	/*background:#ccc;*/
	width:80%;
}
ul.topnav ul{
	margin:0 1em 0 1em;
	padding:0;
}
ul.topnav li{
	line-height:1.3em;
	padding:.2em 0;
	margin:0;
	padding-right:15px;
}

/* dynamically added to LIs with nested ULs */
ul.topnav li.parent{
	padding-right:0;
}

ul.topnav li.parent img{
	border:none;
	padding-left:5px;
}
/* dynamically added to LIs with nested ULs with 'here' class in them */
ul.topnav li.current li{
	padding-right:0;
}

/* The class to hide nested ULs */
.hide{
   display: none;
   /*position:absolute;
   top:0;
   left:-4000px;*/
}

/* The class to show nested ULs */
.show{
   position:static;
   display: table;
   top:0;
   right:1em;
}

/*main welcome page*/
#welcomepage{
	width: 99%;
	text-align: center;
	margin: auto;
	max-width: 630px;
}

#welcomepage h1, #welcomepage h2, #welcomepage h3{
	text-align: center;
	color: yellow;
}

#welcomepage h4{
	text-align: right;
	color: #fc0;
}

#welcomepage #beginners{
	height: 250px;
	width: 190px;
	background: url(/modx/assets/images/homepage/beginners.jpg) no-repeat top left;
	margin: auto;
}

#welcomepage #blog{
	height: 250px;
	width: 190px;
	float: left;
	background: url(/modx/assets/images/homepage/family.jpg) no-repeat top left;
	margin: auto 0;
}

#welcomepage #tech{
	height: 250px;
	width: 190px;
	float: right;
	background: url(/modx/assets/images/homepage/tech.jpg) no-repeat top left;
	margin: auto 0;
}

#welcomepage #news{
	width: 80%;
	/*height: 150px;
	background: #000 url(/modx/assets/images/homepage/news.jpg) no-repeat top left;*/
	margin: 1% 1% 1% 1%;
}

#welcomepage #news ul {
	text-align: right;
	vertical-align: center;
	font-size: 1.2em;
	line-height: 1.5em;
}
#welcomepage #bigimage{
	/*height: 150px;
	background: #000 url(/modx/assets/images/homepage/news.jpg) no-repeat top left;*/
	text-align: center;
	/*margin: 1% 1% 1% 1%;*/
}

#welcomepage #lowertext{
	width: 80%;
	text-align: right;
	/*height: 150px;
	background: #000 url(/modx/assets/images/homepage/news.jpg) no-repeat top left;*/
	margin: 1% 1% 1% 1%;
}
#welcomepage #tech h3,#welcomepage #blog h3,#welcomepage #beginners h3{
	width: 190px;
	height: 120px;
	position: relative;
	top: 0;
	vertical-align: top;
	text-align: center;
	margin: 0;
	display: block;
	font-size: 2em;
}

#welcomepage ul {
	text-align: right;
	vertical-align: center;
	position: relative;
	top: 20px;
	font-size: 1.1em;
}

.randomAd img {
	border: 3px ridge white;
	padding: 3px;
}