html, body { height:100%;}

body {
  margin:0;
  background: #e7e4cd url(/static/images/gallery/end.gif) 1600px top repeat-y;
}

#layout {
  min-width: 980px;
  max-width: 1600px;
 -width:expression((document.body.clientWidth) <= 980 ? '980px' : (document.body.clientWidth) > 1600 ? '1600px' : 'auto');
  background: url(/static/images/gallery/paper.jpg) right top no-repeat;
}

.container { position:relative; }

.floatCleaner {
  clear:both;
  overflow:hidden;
  height:0;
}

.floater50 {
  float:left;
  margin-bottom:30px;
  width:49.9% !important;
  position:relative;
}

.floater25 {
  float:left;
  margin-bottom:30px;
  width:24.9% !important;
  position:relative;
}

/* - Header*/
.header {
  width: 100%;
  height:112px;
  position: relative;
}

    .header .container {
       padding:1em 28% 0 15em;
       margin:0 2%;
     //zoom:1;
    }

    .header .rssfeedburner {
       position: absolute;
       right: 0;
       top: 1em;
    }

    .header .logo {
       position: absolute;
       left: 0;
       top: 1em;
    }

/*Content*/
.content {
    clear: left;
    width: 100%;
}

.content .rpanel, .content .main { float: left; }

.content .rpanel {
    width: 25%;
    overflow:hidden;
    margin-top: -62px;

}

.search.simple {
  padding: 0 23px 0 0;
  margin-bottom:10px;
}

.content .main { width: 75%;}

    .rpanel .container { padding: 0 8% 60px 15%; //zoom: 1; }
    .main .container { padding: 0 0 60px 3%; //zoom: 1; }

/* - Footer*/
.footer {
  clear:both;
  width:100%;
  border-top: 1px solid #d8d4b5;
  height:60px;
}

.footer .container {
    padding: 0 30em 0 0;
    margin: 15px 2%;
    //zoom: 1;
}


    .footer .another {
      right:35px;
      top:0;
      position:absolute;
      width:12em;
    }
    .footer .live-counter {
      right:0px;
      top:0;
      position:absolute;
      width:31px;
    }

.galleryPreloader, .galleryFilePreloader {
    position: absolute;
    background-color: #000000;
    width: 150px;
    height: 100px;
}

.galleryPreloader {
    top: 28px;
    left: 28px;
}

.galleryFilePreloader {
    top: 8px;
    left: 8px;
}
