/*******************
  Copyright (c) 2004-2005 TinyWebGallery
  written by Michael Dempfle
  TWG version: 1.3c
********************/
/*
This css has all the default settings for twg. If you want to edit the style please  
overwrite the settings here by using the mystyle.css - this makes it much easier to update TWG
*/

/* Needed for IE to resizes tables to the full height  */
html, body.twg {
  height:100%;
  margin: 0px;
  padding: 0px;
  font-family: "Courier New", Courier, monospace;
}
h1 {
	font-size: 18px; color: #000000; display: inline;  
}
h1.img {
	font-size: 16px;
	color: #071a69;
	display: inline;
	font-weight: normal;
}
h1.sm {
	font-size: 12px;
	color: #071a69;
	display: inline;
	font-weight: normal;
}
h1.imgblack {
	font-size: 16px;
	color: #000000;
	display: inline;
	font-weight: normal;
}
/* font settings for tables - border is set because on the 1.st page the border otherwise does look bad ;) - */
table.twg {
  border: none;
 
	font-size: 12pt;
	text-align: center;
}

/* font settings for the body - if you change the color of the background you have to change the color as well in the 
config.php for the background of the slideshow, If you want to change the color of the text adapt the link colors at the bottom as well */
body.twg {
 font-family: "Courier New", Courier, monospace;
  color: #000000;
}

/* font settings for cells */
td.footer {
	background-image: url(/img/footer.gif);
	background-repeat: no-repeat; 
	background-position: right; 
	text-align: right; 
	padding-right: 15px; 
	padding-top: 5px;
}
td.twg {
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

/* to make text look nicer */
td.twg_info {
	border-top: 2px inset;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
	vertical-align:top;
}

/* settings for images in a cell - some duplocate settings does exists - be carefull with changing this could be overwritten somewhere */
td.twg_image {
	 border: none; 
	 text-align: center;
	 vertical-align: top;
	 padding: 9px 4px 4px 4px;
   font-family: "Courier New", Courier, monospace;
   font-size: 10pt;
   height:100px;
}

/* settings for centering the navigation table */
table.twg_nav {
	margin-left: auto;
	margin-right: auto;
	vertical-align: top;
}

/* the settings for the details image (border ...)   */
.twg_imageview {
  border : 1px inset Gray;
		vertical-align: middle;
		text-align: center;
	margin: 0px 0px 0px 0px;
}

/* the next commentent entries make a drop shadow - try them if you like - I changed this because I liked the new one better  */
/* does the drop shadow  - if you want a different one: adapt this settings - image-view does still a nice boarder 
div.twg_img-shadow table {
    display: block;
		position: relative;
		background-color: #fff;
		border: 1px solid #a9a9a9;
	  margin: -6px 6px 6px -6px; 
} 
 */

/* does the drop shadow  - if you don't like it - clear this settings - image-view does still a nice boarder  */
/* does not look nice if ie and a background image is used - therefore I removed it from the default - if you use white background this looks really good */
/*
div.twg_img-shadow {
  background: url(buttons/shadowalpha.png) no-repeat bottom right !important;
	  background: url(buttons/shadow.gif) no-repeat bottom right;
  margin: 10px 0px 0px 5px !important;
  }
*/

/* does the drop shadow  - if you want a different one: adapt this settings - image-view does still a nice boarder  */
div.twg_img-shadow table {
    display: block;
	  position: relative;
	  background-color: transparent;
	  border: 0px solid #000000;
	  margin: 0px 0px 0px 0px;
} 

div.twg_img-shadow {
  background: none !important;
  margin: 0px 0px 0px 0px;
}
/* settings for the top middle cell where the navigation buttons are - everything can be set individuall in the top! 
   if you want to change the color of the top row change the color at topnav, topnavleft, topnavright
   
   if you want to change the color of the whole border you have to edit sideframe and framestyle.css as well!
*/
td.topnav {
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border-top: 2px none; 
  border-bottom: 2px none; 
  font-size: 12px;
  width: auto;
  background-color: #;
  
}

/* settings for the top left cell where the galleries -> ... ->  buttons are */
td.topnavleft {
   height: 30px;
	 vertical-align: middle;
	 border-top: 2px none; 
   border-bottom: 2px none; 
   font-size: 12px;
	 text-align: left;
	 width: 35%;
   padding-left: 5px;
   background-color: #;
}

/* settings for the top right cell where the menu buttons are */
td.topnavright {
   height: 30px;
	 width: 35%;
	 text-align: right;
	 vertical-align: middle;
	 border-top: 2px none; 
   border-bottom: 2px none; 
   font-size: 12px;
   padding-right: 5px;
   background-color: #;
}

/* left and right border color */
td.sideframe {
	width:0px;
  background-color: #;
	vertical-align: top;
}

.twg_bottom {
   height: 15px;
}
/* this is the cell where the powered by Tinywebgallery is in - the color is overwritten in frameset.css !! */
td.bottomtable {
   height: 15px;
	 width: auto;
	 vertical-align: middle;
	 text-align: center;
   background-color: transparent;
   font-size: 12px;
   color:#555555;
}

td.bottomtable a:link { color:#555555; text-decoration: none; }
td.bottomtable a:visited { color:#555555; text-decoration:none; }
td.bottomtable a:hover { color:#999999; text-decoration:none; }

/* this is the cell where the help is in - the color is overwritten in frameset.css !! */
td.bottomtableside {
 height: 15px;
 vertical-align: middle;
 text-align: right;
 background-color: transparent;
 font-size: 12px;
 padding-right: 5px;
 width:35%;
 color:#555555;
}

td.bottomtableside a:link { color:#555555; text-decoration: none; }
td.bottomtableside a:visited { color:#555555; text-decoration:none; }
td.bottomtableside a:hover { color:#999999; text-decoration:none; }


/* this is the cell where the counter is in - the color is overwritten in frameset.css !! */
td.bottomtablesideleft {
 height: 15px;
 vertical-align: middle;
 text-align: left;
 background-color: transparent;
 font-size: 12px;
 padding-left: 5px;
 width:35%;
 color:#555555;
 cursor: pointer;
}

/* settings for the tumbnails table */ 
table.thumbnails {
	margin-left: auto;
  margin-right: auto;
  vertical-align: middle;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}
	
/* orientation of the thumbnails in a cell */
td.thumbnails {
   text-align: center;
   vertical-align: middle;
   font-family: "Courier New", Courier, monospace;
	 font-size: 10pt;
}

/* table settings for the top 10 table */
table.thumbnails_top10 {
  margin-left: auto;
  margin-right: auto;
	text-align: left;
  vertical-align: middle;
  width:90%;
  font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

/* cell settings for the top10 */
td.thumbnails_top10 {
text-align: left;
vertical-align: middle;
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
}

/* left alignment for the topx */
.left_top10 {
text-align: left;
width:50%;
}

/* some elements are bold - if you dont'l like this - change this - e.g.  Galleries in the left top corner */
.twg_bold {
	font-weight: bold;
}

.twg_title {
	font-weight: bold;
}

/* underline some elements */
.twg_underlineb {
    font-weight: bold;
  	text-decoration: underline;
    padding-top: 5px; 
    padding-bottom: 5px; 
    vertical-align: middle;
    font-family: "Courier New", Courier, monospace;
	  font-size: 10pt;  
}

/* this is the cell of the big navigation on the details page */ 
td.navbar {
	text-align: center;
	vertical-align: top;
}

/* this is the cell where the prieview images of the galleries are shown - makes only sure that the galleriey are displayed centered  */
td.mainnav {
	text-align: center;
	vertical-align: top;
	padding: 15px 10px 0px 10px;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

/* default width of the big navigation icons below the pictures on the details view */
td.navicon {
	text-align: center;
	width: 75px;
	vertical-align: middle;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}


td.navicon a:hover img{
border: 1px solid navy;
}

td.navicon a img{
border: 1px solid transparent;
}


/* global settings for images - therfore they don't get any borders an are almost everywhere automatically centered (some fixes for the IE does exist in the code!) */
img {
  text-align: center;
  border: none;
}

/* this is the font and size the comments are show below the pictures */
td.twg_kommentar {
  font-family: "Courier New", Courier, monospace;
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
}

/* this is the font and size the comments date is show below the pictures */
.twg_kommentar_date {
font-family: "Courier New", Courier, monospace;
font-size: 9px;
}

/* is used for the flags for the language selection - otherwise they don't look that good in mozilla */
img.twg_lock {
vertical-align: bottom;
}

/* on the thumbnail view there is a hover effect when moving over the images - this is the color on mouseover */
.twg_hoverthumbnail {
background-color: #555555;

}

/* on the thumbnail view there is a hover effect when moving over the images - this is the color an mouseout */
.twg_unhoverthumbnail {
background-color: transparent;
}

/* font settings for the caption text */
.twg_Caption {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
height:15px;
}

/* can be used for includes ... */
.twg_text {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
}

/* This is how the display for the text Javascript (error if not pressent) is handled  */
.twg_nojs {
  color:red;
	text-decoration: line-through;
}

/* This is how the display for the text 'No Cache' is displayed  */
.twg_nocache {
  color:red;
}

/* settings for the counter div */
#twg_counterdiv{
position:absolute;
top:40px;
left:35px;
width:150px;
height:90px;
z-index:5;
visibility:hidden;
border: 1px solid #000000;
background-color: #FFFFFF;
}

/* settings for the language div */
.twg_langdiv{
position:absolute;
top:22px;
width:22px;
z-index:2;
background-color: #;
border: 1px solid #AAAAAA;
visibility:hidden;
text-align: center;
vertical-align: middle;
margin: 0px;
padding: 0px;
}


/* on the languageselection view there is a hover effect when moving over the images - this is the color on mouseover */
.twg_hoverflag {
background-color: #000000;

}

/* on the languageselection view there is a hover effect when moving over the images - this is the color an mouseout */
.twg_unhoverflag {
background-color: #;
}

/* font settings for the counterdiv */
.twg_counterdivtext {
font-family: "Courier New", Courier, monospace;
font-size: 9px;
color:#555555;
text-align: center;
vertical-align: middle;
width:150px;
}

/* Nothing special yet - but if someone wants to change the folder description ;) */
.twg_folderdescription {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
}

/* The style for the header.html  - read howto 3 */
.twg_headerhtml {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
}

/* The style for the overview.html  - read howto 3 */
.twg_overviewhtml {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
text-align: center;
}

/* The style for the overview.html  - read howto 3 */
.twg_thumbhtml {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
text-align: center;
}

/* The style for the overview.html  - read howto 3 */
.twg_imagehtml {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
text-align: center;
}

/* The style for the footer.html  - read howto 3 */
.twg_footerhtml {
font-family: "Courier New", Courier, monospace;
font-size: 10pt;
}

/* color of the text of the sppedtest */
.twg_speedtest {
 font-family: "Courier New", Courier, monospace;
	font-size: 8pt;
  color: #CCCCCC;
}

/* The settings for the tips */
.twg_user_help_td {
text-align: center;
vertical-align: bottom;
font-size: 9px;
color:#555555;
padding: 1px;
height:12px;
}

/* Setting for the rating include */
.twg_rating {
font-family: "Courier New", Courier, monospace;
font-size: 11px;
text-align: center;
vertical-align: middle;
padding-top: 3px;
width:200px;
padding-bottom: 2px;
}

/* inactive elments at the top x - the dividor */
.twg_topx_sel {
  font-size: 10pt;
  color: #a5a5a5; 
}

/* settings for the top x text  views | downloads | rating |  .... */
.twg_topx_sel a:link    { color: #a5a5a5; }
.twg_topx_sel a:visited { color: #a5a5a5; }
.twg_topx_sel a:hover   { color: #eecc00; }
.twg_topx_selected { color: #000000; }

/* settings for the fullscreen mode */
.twg_fullscreen {
display: block;
}

/*
layer for fullscreen - you can use bottom instead of top but sometimes the layer then disapears because of an error in js!
*/
.twg_fullscreencontrol {
   position:absolute;
    top:2px;
  left:2px;
   width:160px;
   height:50px;
   text-align: center;
   vertical-align: middle;
   z-index:20;
   visibility:visible;
   border: 1px solid #777777;
   background-image: url(buttons/alpha.png);
   cursor: move;
}

/* The caption in the fullscreen mode  */
.twg_fullscreencaption {
  position:absolute;
  bottom:5px;
  width:100%;
  left:0px;
  text-align: center;
  vertical-align: top;
  z-index:19;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  color:#ffffff;
}

/* the text on the fullscreen control layer */
.twg_contol_text {
font-family: "Courier New", Courier, monospace;
font-size: 11px;
color:#000000;
text-align: center;
}

/* centers the table of the fullscreen control layer */
.twg_centertable {
text-align: center;
vertical-align: middle;
}

/* Hand layer for the fullscreen contol layer */
.twg_hand {
 cursor: pointer;
}

/* Body for the fullscreen modus - mainly background! */
.twg_body_fullscreen {
  background-color:#000000;
  overflow: hidden;  
  height:100%;
	margin: 0px;
  padding: 0px;
}

.twg_body_popup {
  background-color:#000000;
	margin: 0px;
  padding: 0px;
  height:100%;
}

/* centers the div of the popup! */

.twg_bodydiv {
position:absolute;
z-index:3;
top:0;
left:0;
height:100%;
}

.twg_background {
  position:fixed;
  left:0;
  top:0;
  z-index:1;
  overflow: hidden;
}

.button {
	border : solid 1px #cccccc;
	background: #E9ECEF;
	color : #666666;
	font-weight : bold;
	font-size : 11px;
	padding: 4px;
}

.twg_rating_text {
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

/* 
  The next three styles are for the side navigaion tables.
*/
.sidenavleft {
}

.sidenavmiddle {
padding:5px;
}

.sidenavright {
}

td.html_side_right {
	padding:3px;
	text-align: center;
	vertical-align: middle;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
  border-right: 1px solid #555555;
}

td.html_side_right a:hover img{
border: 1px solid navy;
}

td.html_side_right a img{
border: 1px solid transparent;
}

td.html_side_left {
	padding:3px;
	text-align: center;
	vertical-align: middle;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
  border-left: 1px solid #555555;
}

td.html_side_left a:hover img{
border: 1px solid navy;
}

.html_side_left a img{
border: 1px solid transparent;
}

td.html_side_default {
  padding:3px;
	text-align: center;
	vertical-align: middle;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

td.html_side_default a:hover img{
border: 1px solid navy;
}

.html_side_default a img{
border: 1px solid transparent;
}

td.html_side_mark {
  padding:3px;
	text-align: center;
	vertical-align: middle;
 font-family: "Courier New", Courier, monospace;
	font-size: 10pt;
}

td.html_side_mark img {
  border: 1px solid navy;
}

/* the colors of the links */
a:link { color:#000000; text-decoration: none; }
a:visited { color:#000000; text-decoration:none; }
a:hover { color:#ad0306; text-decoration:none; }
a:active { color:#ad0306; text-decoration:none; }
a:focus { color:#ad0306; text-decoration:none; }




