/********  main  ********/

html, body, p, ul, ol, h1, h2, h3, form, div, hr {
    padding: 0;
    margin: 0;
}

body {
    font-size: 93.75%;
    line-height: 20px;
}

table, td, input, select, textarea {
    font-size: 100%;
}

body, input, textarea, select {
    font-family: 'Calibri', 'Arial CE', 'Helvetica CE', Arial, helvetica, sans-serif;
}


a img {
    border: none;
}

a {
    color: #0077cb;
}

a:hover, a:focus {
    text-decoration: underline !important;
}

/********  layout  ********/

body {
    background: url('background.gif') top left #313131;
    padding-bottom: 50px;
}

div#header {
    width: 100%;
    min-width: 990px;
    height: 545px;
    text-align: center;
    background: url('header.png') top  center no-repeat;
    _background: url('header.gif') top  center no-repeat;
    position: relative;
    z-index: 9;
}

div#render {
    margin: auto;
    background: url('render.jpg') top center #739E3D no-repeat;
    height: 421px;
    width: 794px;
    position: relative;
    left: 1px;
    top: 43px;
}

a#logo {
    position: absolute;
    top: 105px;
    left: 68px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

div#content {
    width: auto;
    background: url('body.png') top center repeat-y;
    _background: none;
    position: relative;
    bottom: 20px;
    _bottom: 24px;
    text-align: center;
}

div#white {
    width: 941px;
    margin: auto;
    background-color: white;
    text-align: left;
}

div#footer {
    width: 971px;
    margin: auto;
    background: url('footer.png') top center repeat-y;
    _background: url('footer.gif') top center repeat-y;
    height: 61px;
    position: relative;
    bottom: 20px;
}

/********  menu  ********/

div#menu {
    width: 990px;
    height: 57px;
    background: url('menu.jpg') top center #20252A no-repeat;
    margin: auto;
    position: relative;
    top: 43px;
    z-index: 12;
}

ul#nav {
    margin-left: 8px;
}

ul#nav, ul.sub {
    list-style: none;
}

ul#nav a {
    display: block;
    height: 57px;
    line-height: 60px;
    _line-height: 57px;
    font-size: 20px;
    color: #eee;
    text-decoration: none;
    padding: 0 30px 0 28px;
    text-shadow: 0 0 6px #000;
    outline: none;
}

ul#nav li {
    float: left;
    _width: 1px;
    background: url('line.gif') right center no-repeat;
    _behavior: url('/js/hover.htc');
}

ul#nav ul.sub {
    padding-top: 4px;
    _padding-top: 0px;
    position: absolute;
    width: 180px;
    left: -999em;
    z-index: 1;
    margin-left: -3px;
}

ul#nav ul.sub li {
    display: block;
    width: 100%;
    float: none;
    margin: 0 !important;
    text-align: left;
    background: url('dropdown.png') top center;
    _background: url('dropdown.gif') top center;
    height: 38px;
    _height: 20px;
}

ul#nav ul.sub li.last {
    background: url('dropdown.png') bottom center;
    _background: url('dropdown.gif') bottom center;
    padding-bottom: 22px;
}

ul#nav ul.sub li a {
    display: block;
    padding: 3px 0 3px 22px;
    margin: 0;
    text-shadow: 0 0 6px #222;
    line-height: 36px;

    _height: 20px;
}

ul#nav li:hover ul.sub {
    left: auto;
}

/********  typo  ********/

h1, h2, h3 {
    font-size: 146.6667%;
    padding-bottom: .5454em;
}

p {
    margin-bottom: .8em;
}

div.line {
    border-left: 4px solid black;
    padding-left: 14px;
    margin: .2em 0 1.4em 2px;
}

div#content li {
    margin-left: 1.1em;
    padding-left: 3px;
}


/********  grid  ********/

table#grid {
    border-spacing: 12px;
}

table#grid td {
    border: 1px solid #bad9d9;
    padding: 16px;
    vertical-align: top;
}

td.gallery, td.about, td.map {
    width: 30%;
}

td.map p {
    margin-bottom: 0;
}

table#grid  td.gallery {
    padding-right: 0;
}

td.gallery a {
    margin: 0 2px 4px 0;
}

td.about img {
    float: left;
    border: 1px solid #bad9d9;
    margin: 2px 11px 2px 0;
}

td.gallery img, td.map img {
    border: 1px solid #bad9d9;
}

td a:hover img, td.about img:hover {
    border: 1px solid #aaa;
}


p#signature {
    clear: both;
    background: url('signature.gif') 10px 0 no-repeat;
    padding-top: 55px;
    padding-bottom: 5px;
    margin-bottom: 0;
}

/********  footer  ********/

img#badge {
    position: absolute;
    bottom: -43px;
    right: 32px;
    _behavior: url('/js/iepngfix.htc');
}

div#footer, div#footer a {
    color: #aaa;
    text-decoration: none;
}

div#footer p {
    position: absolute;
    line-height: 37px;
    font-size: 12px;
}

p#credits {
    right: 141px;
}

p#copy {
    left: 30px;
}

span.hide {
    display: none;
}

p:hover span.hide {
    display: inline;
}

/********  fancybox  ********/

div#fancy_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 30;
}

div#fancy_loading {
    position: absolute;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: none;
    overflow: hidden;
    background: transparent;
    z-index: 100;
}

div#fancy_loading div {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 480px;
    background: transparent url('fancy-progress.png') no-repeat;
}

div#fancy_outer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 20px 20px 40px 20px;
    margin: 0;
    background: transparent;
    display: none;
}

div#fancy_inner {
    position: relative;
    width:100%;
    height:100%;
    background: black;
}

div#fancy_content {
    margin: 0;
    z-index: 100;
    position: absolute;
}

div#fancy_div {
    background: #000;
    color: #FFF;
    height: 100%;
    width: 100%;
    z-index: 100;
}

img#fancy_img {
    position: absolute;
    top: 0;
    left: 0;
    border:0;
    padding: 0;
    margin: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

#fancy_frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

#fancy_ajax {
    width: 100%;
    height: 100%;
    overflow: auto;
}

a#fancy_left, a#fancy_right {
    position: absolute;
    bottom: 0px;
    height: 100%;
    width: 35%;
    cursor: pointer;
    z-index: 111;
    display: none;
    background-image: url("data:image/gif;base64,AAAA");
    outline: none;
    overflow: hidden;
}

a#fancy_left {
    left: 0px;
}

a#fancy_right {
    right: 0px;
}

span.fancy_ico {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    z-index: 112;
    cursor: pointer;
    display: block;
}

span#fancy_left_ico {
    left: -9999px;
    background: transparent url('fancy-left.png') no-repeat;
}

span#fancy_right_ico {
    right: -9999px;
    background: transparent url('fancy-right.png') no-repeat;
}

a#fancy_left:hover, a#fancy_right:hover {
    visibility: visible;
    background-color: transparent;
}

a#fancy_left:hover span {
    left: 20px;
}

a#fancy_right:hover span {
    right: 20px;
}

#fancy_bigIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

