@import "reset.css";
@import "typography.css";

/* Site */
html, body { height: 100% !important; }
body { position: relative; min-width: 860px;}

#wrap { 
    width: 750px; height: 100%;
    margin: 0px auto;
    padding-top: 10px;
    position: relative;
}

#header {
    padding-top: 5px; padding-bottom: 5px;
    position: relative;
    width: 750px; 
    margin-bottom: 12px;
    height: 136px;
}

#header h1 { margin: 0;}

#nav-menu{
    width: 750px; 
    background: #C9C7C7;
    position: absolute; bottom: 0px; left: 0px;
    z-index: 50;
}
#nav-menu ul { margin:0; list-style: none; }
#nav-menu li {
    display: block;
    float: left;
}
#nav-menu a {
    display: block;
    color: white;
    font-weight: normal;
    padding-left: 5px;
    padding-right: 30px;
    padding-top: 8px;
    padding-bottom: 4px;    
    border-right: solid white 1px;    
    background: #C9C7C7;
}
#nav-menu a:hover, #nav-menu a.hover { background:#8E8C8C !important; }

.page h2 { border-bottom: 0px solid #c9c7c7; padding-bottom: 4px; margin-bottom: 0;}
.text { text-align: left; }
.image-page {
    float: left;
    width: 290px;
    margin-top: 20px;
}
.text-only { margin-top: 30px; }

.imagearea { 
    height: 700px; width:430px; 
    text-align: center; 
    padding-left: 28px;
    float: right; 
    margin-top: 0px;
}
.image-text { margin-top: -20px !important; }
.image-only { width: 750px; }
.imageframe {position:relative; width: 430px; height: 550px;}
.image-only .imageframe { width: 100% !important; }
.imageframe img { cursor: pointer; object-fit: contain; object-position: top center; }
.imageInfo { position:relative; height: 42px; }
.image-caption {font-size:9px; text-align: right; position: absolute; bottom: 4px; right:0px}
.image-caption p { margin: 0; }
.imageNav { position:absolute; bottom: 4px; left: 0px; }
.imageNav a { margin: 4px; }

.thumbloading {
    position:absolute; z-index: 110;
    top:120px; left: 190px; 
}

/* Image Popup */
#fullscreenContainer {
  font: 16px Arial, Helvetica, sans-serif;
  color: #000;
  min-width: 300px;
  position: relative;
}
#fullscreenContainer a:link {color: #000;}
#fullscreenContainer a:visited {color: #000;}
#fullscreenContainer a:hover {color: #000;}
#fullscreenContainer a:active {color: #000;}
#fullscreenContainer a:focus {color: #000;}
#overlay {
  position: fixed;
  z-index:100;
  top: 0px;
  left: 0px;
  background-color: #eee;
  filter:alpha(opacity=70);
  -moz-opacity: 0.70;
  opacity: 0.70;
  height:100%;
  width:100%;
}
* html #overlay {
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
 }

#fullscreenContainer {
  position: fixed;
  background: #ffffff;
  z-index: 102;
  color:#000000;
  display:none;
  border: 1px solid #888;
  text-align:left;
  top:50%;
  left:50%;
}
* html #fullscreenContainer {
    position: absolute;
 }
#fullscreenContainer img#fullscreenImage {
  display:block;
  margin: 15px 0 0 15px;  
  cursor: pointer;
}
#fullscreenCaption{
  line-height: 1.2em;
  padding-right: 22px;
  padding-top: 10px;
  margin: 10px 52px 10px 14px;
  font-size: 11px !important;
}
#fullscreenCaption p {
    margin: .6em 0 !important;
}
#fullscreenImageData {
    position: relative;
    padding-bottom: 14px;
    min-height: 50px;
    height: auto !important;
    height: 50px;
}
#fullscreenImageData a { text-decoration: none; }
#TB_secondLine {
  position: absolute;
  top: 0px; right: 14px;
  font: 16px Arial, Helvetica, sans-serif;
  font-weight: bold;
  color:#000;
}
#TB_imageCount { display: none; }
#fullscreenCloseButton {
  height:25px;
  font-weight:bold;
  position: absolute;
  bottom: 5px; right: 16px;
}
#fullscreenCloseButton:hover {
    color: #aaa !important;
}
#fullscreenLoad{
  position: fixed;
  display:none;
  height:13px;
  width:208px;
  z-index:103;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

#fullscreenControls {
    color: #000;
    position: absolute;
    right: 12px; top: 0px;
    font-size: 11px !important;
}
#fullscreenControls a {
    margin: 0px 1px;
    cursor: pointer;
    color: #666;
    text-transform: capitalize;
}
#fullscreenControls a:hover {
    color: #D90310;    
}
#fullscreenPrev, #fullscreenNext { 
    width: 7px; height: 11px;
    display: block; text-indent: -9000px;
    position: absolute; bottom: -16px;
}
#fullscreenPrev {
    background: url('../img/leftarrow.png') no-repeat;
    right: 18px;
}
#fullscreenNext {
    background: url('../img/rightarrow.png') no-repeat;
    right: 6px;
}
#fullscreenNext:hover { background: url('../img/rightarrow_over.png') no-repeat; }
#fullscreenPrev:hover { background: url('../img/leftarrow_over.png') no-repeat; }
