/* 
   phpGraphy' stylesheet, please customise it as much as you want !
   and if you got a very nice theme that you want to share, then submit it,
   perhaps it'll be in the next release

   To change the default size font, modify the font-size element for both body and td,
   everything else is relative to them.
*/


/**
 *
 *General declaration (Mainly about font and colors) 
 *
**/

body {
  
  font-size:12px;
  font-family : Century Gothic,Verdana,Arial,Geneva,sans-serif;
  color: #CCCCCC;
  background-color: #3A3A3A;
  text-align: left;
  text-indent: 20px;
  border: 0px solid red;
  position:absolute;
  min-width: 80%;
  height:90%;
  margin-left:10%;
margin-right:10%;
  
  

  
}

td { 
  font-size:12px;
  font-family : Arial,Geneva,sans-serif;
}


a { text-decoration: none }

a:link { color: #CCCCCC } 

a:visited { color: #CCCCCC }

a:active {  text-decoration: blink}

a:hover { 
  *text-decoration: blink;
  color: #FF0000;
  }

a.menu:hover { text-decoration: none }

a.lbmenu:hover { text-decoration: none }

a.lbmenu { text-decoration: none }



small, .small { 
  font-size: 75%;
  font-family : Arial,Geneva,sans-serif;
  }

.small:link {
  font-size: 75%;
  font-family : Arial,Geneva,sans-serif;
  color: black;
  }

.small:visited {
  font-size: 75%;
  font-family : Arial,Geneva,sans-serif;
  color: black;
  }

.medium {
    font-size: 88%
	}

.big { font-size: 150%; }

.txt { 
  font-family : Courier New,sans-serif;
  }

.notes {
    margin: 0.3em 0;
    font-size: 75%;
    color: #55f;
}

.errormsg {
  font-family : Verdana,Arial,Geneva,sans-serif;
  font-size: 90%;
  color: red;
  }

.successmsg {
  font-family : Verdana,Arial,Geneva,sans-serif;
  font-size: 90%;
  color: blue;
  }


/**
 *
 *  Position and behavior between the differents elements
 *
 *  Here is the main page layout
 *    banner (phpGraphy logo)
 *    dirbar (Current path (left) and Links (right))
 *    welcome (.welcome file)
 *    dirlist (List of directories)
 *    dircontent (List of files/thumbs) or displaypicture (Lowres/Highres picture)
 *    pagenav (Page Naviguation, Prev/Next and page number )
 *    footer
**/

/* Global container */
#main {
background-image: url(../../../des/4a.gif);
background-position: top;
background-repeat:repeat-x;
width: 100%;
min-width: 500px;
border: 0px solid red;
  background-color: #666666;
  position:relative;
  
  
  }



/* Directory information bar (current directory) - not used anymore, now using dirbarleft/right */
#dirbar {
  width: 100%;
  border: none;
  color: #CCCCCC;
  margin-left: 20px;
  margin-right: 10px;
}

/* .welcome (Only displayed on the first page when in thumbs mode) */
#welcome {
    clear: left;
    color: #CCCCCC;
  margin-left: 20px;
  margin-right: 10px;
}

/* display the directory content (directories) */
#dirlist {
  clear: left;
  margin-left: 20px;
  margin-right: 10px;
  color: #FF0000;
}

/* display the directory content (files/thumbs) */
#dircontent {
  float: left;
  width: 90%;
  margin-left: 5%;
  margin-top: 20px;
  text-align:center;
  overflow:hidden;
 
}

#dircontent td {
  vertical-align: top;
  padding-bottom: 1.5em;
    margin-left: 10px;
  margin-right: 10px;
}

/* Page naviguation (Previous/Next, Page number) */
 #pagenav {
  float: left;
  clear: left;
  width: 100%;
  height:0px;
  vertical-align: bottom;
  text-align: center;
  margin: 0px;
}
#bottom_menu {
  width: 100%;
  height: 18px;
  text-align: center;
  text-indent: 0px;
  color: #4A4A4A;
  font-family : Century Gothic,Verdana,Arial,Geneva,sans-serif;
  border: 0px solid white;
  overflow:hidden;
  font-size: 120%;
}
#bottom_menu a:link {
    color: #CCCCCC;
}
#bottom_menu a:visited {
    color: #CCCCCC;
}
#bottom_menu a:hover { 
  *text-decoration: blink;
  color: #FF0000;
  }
  
  
#footer {
  clear: left;
  width: 100%;
  text-align: left;
  text-indent: 0px;
  color: #3A3A3A;
  font-family : Arial,Geneva,sans-serif;
  border: 0px solid white;
  /*background-color: #3A3A3A;*/
}

#tech {
padding-top:4px;
}

#tech a:link {
    color: #3A3A3A;
}
#tech a:visited {
    color: #3A3A3A;
}
#tech a:hover { 
  *text-decoration: blink;
  color: #FF0000;
  }

#dirbarleft {
  float: left;
  text-align: left;
  text-indent: 0px;
  width: 40%;
  height: 16px;
  overflow: hidden;
  margin-bottom: 10px;
  font-family : Verdana,Arial,Geneva,sans-serif;
	background-color: #4A4A4A;
  }

#dirbarright {
size: landscape;
  float: right;
  width: 60%;
  text-align: right;
   height: 16px;
  overflow:hidden;
  margin-bottom: 10px;
  background-color: #4A4A4A;
  font-family : Verdana,Arial,Geneva,sans-serif;
  }


/* picture title (displayed when browsing lowres/highres pictures) - along with browse.tpl */
.title {
  font-family : Verdana,Arial,Geneva,sans-serif;
  text-decoration: underline;
  }

/* Lowres/Highres picture display area - along with display.tpl */
#pictitle {
    display: block;
    width: 0px;
	height:0px;
    text-align: center;
	overflow:hidden;
}

#displaypicture {
  text-align: center;
  }

#picnav {
  margin: 0.2em;
  text-align:center;
  color:#CCCCCC;
  }
#picnav a:link {
    color: #CCCCCC;
}
#picnav a:visited {
    color: #CCCCCC;
}
#picnav a:hover { 
  *text-decoration: blink;
  color: #FF0000;
  }

/*#picrating span  {
 * display: block;
  *margin: 0.2em;
 * }

*#currentrating {
 * margin: 0.5em;
  *}

*#metadataicon {
 * margin-left: 5px;
  *}

/* Admin form to change picture's associated data */
.rotatebutton {
  background-color : transparent;
  border: 0px solid;
  color : #BDD77B;
}

/* exif metadata text */
.exifmetadata { 
  color: #646464;
  text-align: center;
  }

/* iptc metadata text */
.iptcmetadata {
  color: #a0a0a0;
  text-align: center;
  }

/* currently only used for the metadata table (hidden by default) */
.metadatatable { 
  background-color: #f5beb4;
  border: 0px solid;
  border-spacing: 0px;
  margin-left:auto;
  margin-right:auto;
  margin-top: 8px;
  }
.rowbgcolor1 { background-color: #f5beb4; }
.rowbgcolor2 { background-color: #ffe5e0; }

#commentstitle {
  float: left;
  text-decoration: underline;
  margin-bottom: 10px;
}

#addcomment {
  float: right;
}

.commentfrom {
    display: block;
    clear: left;
    width: 100%;
    text-align: left;
    margin-top: 12px;
}

.usercomment {
    display: block;
    clear: left;
    text-align: left;
    width: 100%;
}


/* thumbnails properties */
.thumbnail {
   border: 0px solid black;
   text-align:center;
}
.picthumbnail, .picinfo {
	width:100%;
	text-align:center;
}
.picinfo a, .picinfo span {
    text-align:center;
    
}
.picinfo span {
    font-size: 75%;
    
}



/* directory thumbnail */
/*.ffcontent a { background-color: #FF0000; }
/* Hack to handle the gap below the border with FireFox (when XHTML doctype is enabled )  */


.fftop div, .fftop, .ffbottom div, .ffbottom {
	/* width: 140px; <=  Not used to be relative - it's added within the code as style argument */
	height: 0px;
	font-size: 1px;
}

.ffcontent {
    text-align: center;
    /* width: 140px; <=  Not used to be relative - it's added within the code as style argument */
}

/* One div per directory, contains a dirframe and a dirtitle */
.direntry {
  float: left;
  width: 49.8%;
  height: 174px;
  margin-left: 1px;
  margin-top: 0px;
 
  text-align:center;
  overflow:hidden;
  vertical-align: middle;
}

/*  Resides inside direntry, contains dirthumbnail and all the ff* (framefolder) entries) */
.dirframe {
    float: left;
	width: 200px;
	height: 85px;
	vertical-align: middle;
	padding-left: 0px;
}

/* Resides inside a dirframe */
.dirthumbnail {
    border: 0px solid black;
	float: left;
}


/* Used when $directory_display_mode = 'icon' */
.diricon {
    border: none;
    vertical-align: middle;
    margin: 1px 1px 1px 0.2em;
}

/* Used when $directory_display_mode = 'picture' */
.dirtitlepicture {
    float: left;
	overflow: hidden;
    font-size: 120%;
	width: 100px;
	border: 0px solid black;
	text-indent: 0px;
	text-align: left;
	padding-left: 10px;
	margin-top: 65px;
	
}

.dirinfo {
    font-size: 80%;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #aaaaaa;
}

/* Used when $directory_display_mode = 'icon' */
.dirtitleicon {
    float: left;
    margin: 5px 0 5px 5px;
}

/* Used when $directory_display_mode = 'name' */
.dirtitlename {
    margin-left: -15px;
}



/* icons properties */
.icon { border: none }

/* lowres/highres picture properties */
.picture { 
  border: 0px solid black;
  }

.popup {
  position: fixed;
  left: 10px;
  top: 10px;
  }

#loginform table {
    margin: 5% auto;
    border: 0px solid #AAAAAA;
    padding: 50px;
}

/* login page */

#loginbox {
    position: relative;
    width: 300px;
    margin: 5% auto;
    border: 0px solid #AAAAAA;
    padding: 50px;
}

.margintop {
    margin-top: 5px;
}

.floatlabel {
    width: 4em;
    float: left;
    text-align: right;
    margin: 0 1em 10px 0;
    clear: both
}

#userscomments {

}

/* USER MANAGEMENT */

/* USER MANAGEMENT LIST */
table.um { border-collapse: collapse; border: 2px solid #999; margin: .5em auto; }
table.um th { font-weight: bold; color: #333; padding: .5em; background-color: #eee; }
table.um td { border: 1px solid #ddd; padding: .5em; text-align: center; }
table.um caption { padding: .5em; font-weight: bold; background-color: #eee; border: 2px solid #999; margin: 0 auto; }

/* USER MANAGEMENT EDIT USER INFO */
#user_management { width: 30em; margin: 1em auto; }
#bottomForm { text-align: right; font-weight:bold; }
#bodyForm { background-color: #eee; }
#bodyForm legend { font-weight: bold; }
#bodyForm fieldset label { float: left; width: 40%; text-align: right;  padding: 0 .5em 0 0; line-height: 1.8; }
#bodyForm .legend { font-style: italic; color: #666; }

/*  SLIDESHOW */

#slideshow {
	 border: 0px solid black;
    position: fixed;
	margin: 0px;
}

#slideshow a:link {
    color: #3A3A3A;
}
#slideshow a:visited {
    color: #3A3A3A;
}
#slideshow a:hover { 
  *text-decoration: none;
  }

#slideshow a {
    cursor: auto;
z-index: 9;
}

#slideshow input {
    border: 0;
    margin: 0;
    padding: 0;
    text-align: right;
    width:1.5em;
	
}


#close-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5em;
    font-weight: bold;
	border: 0px solid red;
}
#close-slideshow {
    cursor: pointer;
z-index: 9;
}

#spanControl {
    background-color: #4A4A4A;
	font-family : Century Gothic,Verdana,Arial,Geneva,sans-serif;
    color: #CCCCCC;
    padding: .5em;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
}

#spanControl a {
    margin: 0 .5em;
	cursor: pointer;
}

#spanControl input {
    background-color: #4A4A4A;
	font-family : Century Gothic,Verdana,Arial,Geneva,sans-serif;
    color: #CCCCCC;
    font-weight: ;
    font-size: 1em;
	border: 0px solid black;
}

#slideshow-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align:center;
}

/* Show/Hide caption text within the remote control */
#hidecaptions, #showcaptions {
    font-size: 80%;
    font-weight: normal;
}

/* Where the picture's title get displayed */
#slideshow-captions {
    font-weight: ;
    text-align: center;
    margin-bottom: 3px;
}



/* DEBUG messages BOX - Reserved for development purposes */
#debugbox {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: white;
    z-index: 1;
    border: solid 1px #ccc;
}

#debugmsgs {
    text-align: left;
    padding: 2px 5px;
}
