html, body {
    margin: 0;
    padding: 0;
    height:100%;
    width:100%;
}

* html .clearfix {
    height: 1%;
}

h3 {
    font-size: 1.25em;
    font-weight: bold;
}

#block ol, #block ul {
    /*list-style-position: inside;*/
    margin-top:0.2em;
}
/**
ID element
*/
#wrapper, #wrapper_footer {
    width: 960px;
    position:relative;
    background-repeat:no-repeat !important;
    padding-bottom: 0px;
    text-align: left;
}

#wrapper {
    margin: 11px auto 0 auto;
}

#wrapper_footer {
    margin: 0 auto 6px auto;
}

#header {
    position: relative;
    height: 114px;
    z-index: 100;
}

/* Header */
#header #webtitlecolor{
    padding: 0 !important;
    width: 856px;
    position: relative;
    top:38px;
    left:52px;
}

#center_block {
    position: relative;
    /*z-index: 100;*/
    background: none !important;
}

#flag{
    /* Dave modification */
    padding: 0px;
    position: absolute;
    right: 50px;
    top:93px;
}
#flag ul{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
#flag li{
    display: inline;
    margin:0px 7px 5px 0px;
}
#flag li a img{
    border:1px solid #dadada;
}
.e_flag{
    cursor: pointer;
}
.e_flag_selected{
    cursor: default;
}
.e_flag{
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.e_flag_selected, .e_flag:hover{
    opacity: 1;
    filter: alpha(opacity=100);
}

/* Navigation */
#navigation {
    position: relative;
    float: left;
    width: 200px;
    z-index: 110;
}

#navigation ul {
    padding: 0;
    margin: 0;
    margin-bottom: 0.5em;
}

#navlist li {
    /*left: -16px; Dave 15/03/2011 */
    list-style: none;
    padding-left: 18px;
}

#navlist li.active {
    opacity: 1;
    filter: alpha(opacity=99);
}

#navlist li a{
    white-space: nowrap;
    display: block;
    outline: none;
    height: 100%;
}

#navlist li.space{
    border-top: 0px dashed #fff !important;
    border-bottom:  0px dashed #fff !important;
}

/* Content */
#content {
    position: relative;
    float: left;
    width: 747px;
    min-height: 500px;
    height: 100%;
    * height: 100%;
    height: 100%\0/;
}

#content h1 {
    text-indent: 3px;
    line-height: 1.1em;
    font-weight:normal;
    letter-spacing: 0em;
    font-size: 150%;
}

#content h2{
    padding: 0 0 5px 0;
}

#content p{
    margin: 0 0 0 0;
}

#content div div {
    padding: 0;
}

#subcontent{
    padding: 14px 25px !important;
    line-height: 140%;
}

#block {
    width: 700px;
}

/* Captcha */
#captcha{
    margin-bottom: 15px;
    background-color: #888888;
    text-align: left !important;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    -moz-border-radius-bottomright: 8px;
}

#wrapper_captcha {
    display: block;
}

#wrapper_captcha_notice {
    display: none;
}

#a3_inner,
#a4_inner {
    width: 40px;
    overflow: hidden;
}

#response {
    visibility: hidden;
}

#numSubPage {
    text-align: center;
}

/* Paypal button */
#donate{
    height: auto !important;
    margin:10px 0px;
    text-align: center;
    padding-left: 0px !important;
    /* Dave 15/03/2011 */
    border: 0px solid !important;
}

#viewcartDiv{
    position: absolute;
    top: 3px;
    right: 100px;
    height: auto;
    text-align: right;
}

#viewcartDiv .viewcart{
    background-position: 0px 1px;
    display: inline-block;
    width: 143px;
    float: right;
}

/*Footer*/
#footer{
    position: relative;
    z-index: 100;
    text-align:center;
    overflow: hidden;
}

/* Bottom of page */
#bottom {
    width:960px;
    margin:0 auto;
    * margin:15px auto;
    position:relative;
  height:26px;
}

#credit {
    position: relative;
    float: right;
}

#sdlogo {
    position: relative;
    float: left;
}

#credit a:hover, #sdlogo a:hover {
    text-decoration:underline;
}



/**
Classes
*/

/* Date in Journal page type  */
.blog_date{
    width:700px;
    height: 20px;
    text-align: right;
    line-height: 20px;
    background: url(../images/date.png);
    font-size: 14px;
    font-style: italic;
}

/* In block  */
.block_inner {
    padding: 15px 0 10px 0 !important;
}

.block-cate {
    padding: 0px 0  !important;
    width: 670px;
    right: -30px;
    margin-top: 1em;
}

.block-cate-none.display-none {
    display: none;
}

.block-cate-link {
    padding: 4px 0 !important;
}

.block-cate-name {
    font-size: 1.4em;
    list-style-type: disc;
    list-style-position:outside;
    display: list-item;
}

.block-cate-none-list {
    display: block;
}

.block-cate-link-name,
.block-cate-link-name * {
    font-size: 1.0em;
}

.block-cate-link-desc {
    font-size: 0.9em;
    padding: 0 0 0 55px !important;
    position: relative;
}

.block-cate-cont {
    padding: 0 0 0 20px !important;
}

._link{
    position: relative;
    padding: 0 0 0 25px !important;
    text-decoration: underline;
}
._link:hover{
    text-decoration: none;
}

/* Description under image in block  */
.img-block-desc {
    text-align: center;
    font-size: 80%;
    line-height: 15px;
    margin-top: 4px;
}

.galDesc {
    margin-top: 2px;
    font-size: 13px;
    height: 30px;
    text-align: center;
}

.gal_pattern {
    background: url(../images/gallery_patt.png) repeat;
}

.gallery_img img:hover {
    opacity: 0.85;
    filter:alpha(opacity=85);
}

.img_no_hor{
    width: 150px;
    height: 100px;
}
.img_full_central{
    width: 150px;
    height: 150px;
    text-align: center;
    vertical-align : middle;
    display : table-cell;
}
.img_vertical{
    width: 100px;
    height: 150px;
}

/* Image in gallery  */
.pic_gallery {
    position :relative;
    float: left;
    width: 150px;
    padding: 0 12px 20px 12px !important;
    line-height: 15px;
}

.gallery_img img{
    /*cursor: url(../tools/gallery/cursor/magnify-plus.cur), auto;
    cursor: -moz-zoom-in;
    */
    cursor: pointer;



    /* cursor: url(../tools/gallery/cursor/magnify-plus.cur), auto;
    cursor: url(../tools/gallery/cursor/magnify-plus.cur), auto\0/;*/
}

.hideImageGallery {
    display: none;
}

.unclickLayer {
    display: none;
}

/* Paypal button  */
.text_only .buynow, .text_only .addcart{
    top: -5px;
    text-align:right;
}

.img_l_200 .buynow, .img_r_200 .buynow, .img_l_200 .addcart, .img_r_200 .addcart , .img_3 .buynow, .img_3 .addcart{
    background-position: 19% 1px;
    text-align:center;
    margin:10px 0px -2px 2px;
}
.img_l_400 .buynow, .img_r_400 .buynow, .img_l_400 .addcart, .img_r_400 .addcart{
    background-position: 37% 1px;
    text-align:center;
    margin:10px 0px -2px 2px;
}

.img_700 .addcart, .img_700 .buynow {
    background-position: 43% 1px;
    text-align:center;
    margin:10px 0px -2px 2px;
}

.text_only .buynow table, .text_only .addcart table{
    font-family: "Trebuchet MS",sans-serif;
    margin: 0 0 0 537px;
}
.text_only .buynow table td, .text_only .addcart table td{
    text-align: center;
}
.text_only .buynow input, .text_only .addcart input{
    margin-right: 23px;
}
.img_l_200 .buynow table, .img_r_200 .buynow table, .img_l_200 .addcart table, .img_r_200 .addcart table,
.img_l_400 .buynow table, .img_r_400 .buynow table, .img_l_400 .addcart table, .img_r_400 .addcart table , .img_3 .buynow table , .img_3 .addcart table{
    font-family: "Trebuchet MS",sans-serif;
    margin: 0px auto;
}
.img_l_200 .buynow select, .img_r_200 .buynow select, .img_l_200 .addcart select, .img_r_200 .addcart select,
.img_l_400 .buynow select, .img_r_400 .buynow select, .img_l_400 .addcart select, .img_r_400 .addcart select,
.text_only .buynow select, .text_only .addcart select , .img_700 .buynow select, .img_700 .addcart select , .img_3 .buynow select , .img_3 .addcart select{
    width: 165px;
    margin-bottom: 3px;
}

.img_700 .buynow table, .img_700 .addcart table{
    font-family: "Trebuchet MS",sans-serif;
    margin: 0 0 0 270px;
}

.img_700 .buynow table td, .img_700 .addcart table td{
    text-align: center;
}


/**
General classes
*/
.clearfix {
    position: relative;
}

.clearfix:after {
    content: ".";
    height: 0px;
    display: block;
    visibility: hidden;
    clear: both;
}

.clear {
    clear:both;
    height:1px;
}

.sd {
    font-family: "Lucida Grande", Lucida Sans Unicode, sans-serif;
    font-size:14px;
    font-weight:bold;
}

.spacer {
    clear: both;
    height: 1px;
    margin-top: -1px;
}

/*
 * Flickr Credits
 */

#flickr_credits_container{
  text-align: right;
}

#flickr_credits_container a{
  font-size:80%;
  padding-right: 10px;
}

#flickr_credits_container a img{
  padding: 2px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}
