/* @override http://staging.rejila.com.au/stylesheets/site.css */

/*
    Common Styles in entire site
*/

body {
	font-family: "lucida grande", arial, sans-serif;
	font-size: 12px;
	padding: 0;
	margin: 0;
	color: #333;
	background-color: #EDEDEF;
}

/* -- Link Colors -- */

a {
	text-decoration: none;
	cursor: pointer;
}

a:link {
	color: #32A8E0;
}	

a:visited {
	color: #61B7E0;
}
		
a:hover {
	text-decoration: underline;
}

a:active {
  	outline: none;
}

a img {
	display: block;
	border: none;
}

:focus {
  /* Begone, pesky dotted lines */
  -moz-outline-style: none;
}

/*
    Clearing fixes, padders, dividers, and invisible elements
*/

.clearer {
	display: block;
  font-size: 0;
  clear: both;
  float: none !important;
  line-height: 0;
  height: 0;
  padding: 0 !important;
}

.padder {
  font-size: 10px;
  clear: both;
  float: none !important;
  line-height: 1em;
  height: 1em;
}


.half-padder {
  font-size: 5px;
  clear: both;
  float: none !important;
  line-height: 5px;
  height: 5px;
}

.ir {
	/* Phark Image Replacement */
  text-indent: -999em;
  background-repeat: no-repeat;
  display: block;
}

.ac {
	/* Hidden elements - for accessibility only */
	width: 0;
	height: 0;
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.divider, .ldivider {
  background: url(../images/bg.divider.png) repeat-x left center;
  height: 11px;
  font-size: 0;
  line-height: 0;
  clear: both;
}

.ldivider {
  /* loose divider */
  height: 21px;
}

/* Icon Links */

a.icon {
  display: block;
  line-height: 34px;
  background-repeat: no-repeat;
  padding-left: 38px;
  float: left;
  clear: left;
}

a.icon-twitter {
  background-image: url(../images/bg.icon-twitter.png);
}

a.icon-rss {
  background-image: url(../images/bg.icon-rss.png);
}

a.icon-linkedin {
  background-image: url(../images/bg.icon-linkedin.png);
}



/* Form Fields */

form input.text,
form textarea {
  border: 1px solid #BBE6FA;
  padding: 3px 2px;
  color: #444;
  background: #FFF;
  font-size: 13px;
}

form select {
  font-size: 12px;
  
}

.field-wrap {
  float: left;
  padding-bottom: 12px;
  padding-right: 16px;
}

.field-wrap-lic {
  margin-right: 0;
}

.field-wrap label,
.field-wrap p.label {
  padding-left: 1px;
}

.field-wrap .fields {
  clear: left;
  padding-top: 5px;
}

.field-wrap .fields select {
  margin-top: 2px;
}

/* Custom Form Buttons */

button.ir {
	margin: 0;
	display: block;
	border: none;
	background-color: transparent;
	background-repeat no-repeat;
	cursor: pointer;
	padding: 0;
  height: 24px;
  float: left;
  text-indent: -9999px;
}

button::-moz-focus-inner,
button.ir::-moz-focus-inner {
	/* 
		This fixes the 1px offset problem in firefox. Found in a comment by "Axonian" at:
		http://www.filamentgroup.com/lab/styling_the_button_element_with_sliding_doors/
	*/
	border: none;
	/* 
		... and this one solves the 3 pixel padding problem. Found in a comment by "pike" at:
		http://radaschuetz.com/archive/2007/04/21/button-hell/
	*/
	padding-right: 0;
}



/* Structural */

#wrap-bg {
  background: #FFF;
}

#wrap, #wrap-footer {
  width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

/* -- Header -- */

#header {
  position: relative;
  height: 130px;
  background: #FFF;
}

#header h1 a {
  background-image: url(../images/bg.header-h1.png);
  height: 107px;
  width: 255px;
  position: absolute;
  top: 20px;
  left: 0;
}

/* -- Authentication Navigation (login, register) -- */

#nav-auth {
  position: absolute;
  right: 10px;
  top: 8px;
}

#nav-auth li {
  float: left;
  padding-left: 20px;
}

#nav-auth a {
  color: #707070;
}

/* -- Main Navigation (sections) -- */
       
#nav-main {
  position: absolute;
  top: 36px;
  right: 10px;
  font-size: 16px;
}

#nav-main li {
  float: left;
  padding-left: 20px;
}

#nav-main li a.current {
  color: #666;
}


/* -- Footer -- */

#wrap-footer-bg {
  background: url(../images/bg.wrap-footer-bg.png) repeat-x;
  padding-top: 40px;
}

#footer {
  height: 218px;
  padding: 10px 20px 10px 20px;
}

#footer {
  color: #666;
  font-size: 10px;
  position: relative;
}

#footer .wrap-section {
  float: left;
  margin-right: 40px;
  width: 110px;
}

#footer .wrap-section h3 {
  font-weight: bold;
  padding-bottom: 14px;
}

#footer .wrap-section li {
  padding-bottom: 10px;
}

#footer #footer-copyright {
  padding-top: 10px;
  float: left;
}

#footer #footer-ultra-serve {
  display: block;
  float: right;
  width: 252px;
  height: 59px;
  background: url(../images/bg.footer-ultra-serve.png) no-repeat;
}

/* -- Panels (Blue) -- */

.panel {
  background-color: #E7F6FE;
  padding: 10px 0;
  margin-bottom: 16px;
} 

.panel .panel-pad {
  padding: 6px 16px;
}

.panel .divider {
  background-image: url(../images/bg.panel-divider.gif);
}


/* -- Side Bar (right column) -- */

#side-bar {
  float: left;
  width: 272px;
  padding-top: 10px;
}

#side-bar .panel .panel-pad {
  padding: 10px 32px;
}


#side-bar h2 {
  text-transform: uppercase;
  color: #32A8E0;
  font-weight: bold;
  padding-bottom: 10px;
}

/* specific side bar panels */

#side-bar #panel-email-updates h2 {
  padding-bottom: 10px;
}

#side-bar #panel-email-updates input.text {
  width: 190px;
} 

#side-bar #panel-email-updates a.icon {
  margin-top: 10px;
  float: none;
  
}

#side-bar #tout-register {
  padding: 10px;
}

#side-bar #tout-register-bt {
  background-image: url(../images/bg.tout-register-bt.png);
  width: 252px;
  height: 37px;
}

#side-bar #tout-register-bt:hover {
  background-position: 0 -37px;
}

#side-bar #panel-video .panel-pad {
  padding-bottom: 18px;
  padding-right: 10px;
}

#side-bar #nav_sub {
  padding: 10px;
}

#side-bar #nav_sub li {
  padding-bottom: 8px;
  list-style-type: disc;
}

#side-bar #nav_sub li.here a {
  color: #666;
  text-decoration: none;
  cursor: default;
}

/* -- Common Styles in the main content area  -- */

#content {
  float: left;
  width: 668px;
  margin-right: 20px;
  padding-top: 15px;
}

/* -- Features lists (star bullets) -- */
 
ul.features {
  font-size: 15px;
  font-weight: bold;
}

ul.features li {
  line-height: 24px;
  margin-bottom: 12px;
  display: block;
  padding-left: 32px;
  background: url(../images/bg.ul-features-li.png) no-repeat;
}

/* -- Widgets - e.g. Twitter, RSS on home page -- */

.widget {
  padding-top: 16px;
  color: #777;
}

.widget h3 {
  line-height: 24px;
  background-repeat: no-repeat;
  padding-bottom: 10px;
  padding-left: 28px;
  font-weight: bold;
}

.widget li {
  margin-bottom: 10px;
}

/* specific widgets */

#widget-twitter h3 {
  background-image: url(../images/bg.widget-twitter-h3.png);  
}

#widget-twitter .time {
  color: #bbb;
	font-size: .8em;
}

#widget-rss h3 {
  background-image: url(../images/bg.widget-rss-h3.png);  
}
