@charset "UTF-8";

*
{
  padding: 0;
  margin: 0;
  border: 0;
}

body
{
  font: normal 14px arial, helvetica, sans-serif;
  color: #707070;
  background: url(/images/body.jpg) repeat-y 50% 0;
}

/*** BASIC TAGS ***************************************************************/

a
{
  color: #7bb951;
  text-decoration: underline;
}

ul
{
  list-style: none;
}

input,
textarea,
button
{
  font: inherit;
}

input,
textarea
{
  border: 1px solid #11649e;
  padding: 5px;
}

input[type=submit]
{
  padding: 4px;
}

h1
{
  font-size: 26px;
  color: #7bb951;
}

h2,
h3,
h4
{
  font-size: 17px;
  font-weight: normal;
  color: #11649e;
}

h3
{
  font-weight: bold;
  color: #7bb951;
}

h5,
h6
{
  font-weight: normal;
  font-size: 14px;
  color: #11649e;
}

table
{
  border-collapse: collapse;
}

.clear
{
  clear: both;
}

/*** LAYOUT *******************************************************************/

#global
{
  background: url(/images/header.png) repeat-x 0 0;
}

.layout,
#content
{
  display: block;
  width: 1000px;
  padding: 0 7px;
  margin: 0 auto;
  position: relative;
}

#content
{
  background: url(/images/content.png) repeat-y 50% 0;
  padding: 24px 31px 15px;
  width: 952px;
}

/*** HEADER *******************************************************************/

header.layout
{
  height: 143px;
}

header.layout hgroup
{
  display: block;
  width: 500px;
  position: relative;
  top: 22px;
}

header.layout hgroup h1 a
{
  display: block;
  width: 218px;
  height: 78px;
  margin-right: 5px;
  background: url(/images/logo_theodo.png) no-repeat 0 0;
  text-indent: -9999px;
  text-decoration: none;
}

header.layout hgroup h1
{
  width: 218px;
  display: block;
  float: left;
}

header.layout hgroup h2
{
  display: block;
  font-size: 17px;
  font-weight: normal;
  color: #11649e;
  position: relative;
  top: 33px;
  float: right;
}

header.layout #box-access
{
  position: absolute;
  top: 58px;
  right: 7px;
  text-align: right;
  padding-left: 20px;
  background: url(/images/bullet_theodo.png) no-repeat 0 3px;
}

header.layout #box-access a
{
  color: #11649e;
  font-size: 13px;
}

header.layout #box-access a:hover,
footer.layout a:hover
{
  color: #7bb951;
}

header.layout nav
{
  clear: both;
  display: block;
  width: 1000px;
  position: absolute;
  bottom: 0;
  background: url(/images/nav.png) repeat-x 0 100%;
}

header.layout nav ul
{
  position: relative;
  left: -7px;
}

header.layout nav ul li
{
  display: block;
  float: left;
  margin: 0 -6px 0 0;
}

header.layout nav ul .blog-tab,
header.layout nav ul .contact-tab
{
  float: right;
  margin: 0 -14px 0 6px
}

header.layout nav ul li a
{
  display: inline-block;
  float: left;
  height: 42px;
  padding: 0 15px 0 0;
  background: url(/images/nav_tab.png) no-repeat 100% -52px;
  text-decoration: none;
}

header.layout nav ul li a span
{
  display: block;
  height: 42px;
  padding: 0 0 0 15px;
  background: url(/images/nav_tab.png) no-repeat 0 -5px;
  color: #11649e;
  line-height: 52px;
}

header.layout nav ul .blog-tab a span,
header.layout nav ul .contact-tab a span
{
  color: #ffffff;
}

header.layout nav ul .contact-tab a {background-position: 100% -146px;}
header.layout nav ul .contact-tab a span {background-position: 0 -99px;}

header.layout nav ul .blog-tab a {background-position: 100% -240px;}
header.layout nav ul .blog-tab a span {background-position: 0 -193px;}

header.layout nav ul li a:hover,
header.layout nav ul li a.active
{
  background-position: 100% 100%;
}

header.layout nav ul li a:hover span,
header.layout nav ul li a.active span
{
  color: #7bb951;
  background-position: 0 -287px;
}

/*** FOOTER *******************************************************************/

footer.layout
{
  height: 33px;
  background: url(/images/footer.png) no-repeat 50% 0;
  text-align: right;
}

footer.layout ul
{
  padding: 0 50px;
}

footer.layout ul li
{
  display: inline;
  font-size: 12px;
}

footer.layout a
{
  color: #11649e;
  text-decoration: none;
}

footer.layout span
{
  color: #7bb951;
  margin: 0 2px;
  position: relative;
  top: -1px;
}

footer.layout ul .legal-link,
footer.layout ul .about-link
{
  float: left;
  position: relative;
  top: 1px;
}

/*** BOXES ********************************************************************/
 /*
 You MUST give .box-tr a width by adding a specific class or an id to the box.
 If the content of the box is a single image,
 use the .full-picure class and set .box-tr width to (image.width + 18px).
 */
.box-tr {background: #f6f4f4 url(/images/boxes/box-tr.png) no-repeat right top; width: 100%;}
.box-tl {background: url(/images/boxes/box-tl.png) no-repeat left top;}
.box-br {background: url(/images/boxes/box-br.png) no-repeat right bottom;}
.box-bl {background: url(/images/boxes/box-bl.png) no-repeat left bottom;}
.box-tr.filled {background-color: #fff}

.box-content
{
  padding: 14px;
  position: relative;
}

.box-content .full-picture
{
  margin: -5px 0 -8px -5px;
}

/*** jqModal POPUP ************************************************************/
/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
    display: none;

    position: fixed;
    top: 17%;
    left: 50%;

    margin-left: -300px;
    width: 600px;

    background-color: #f6f4f4;
    color: inherit;
    border: 1px solid #707070;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

