/*
   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 : Verdana,Arial,Geneva,sans-serif;
	color: #CCC;
	background-color: black;
}

td {
  font-size:12px;
  font-family : Verdana,Arial,Geneva,sans-serif;
}


a { text-decoration: none }

a:link { color: #79b8c8 }

a:visited { color: #79b8c8 }

a:active { color: #79b8c8 }

a:hover {
  text-decoration: underline;
  color: #f5beb4;
  }

a.menu:hover { text-decoration: none }

a.lbmenu:hover { text-decoration: none }

a.lbmenu { text-decoration: none }



small, .small {
  font-size: 75%;
  font-family : Verdana,Arial,Geneva,sans-serif;
  }

.small:link {
  font-size: 75%;
  font-family : Verdana,Arial,Geneva,sans-serif;
  color: white;
  }

.small:visited {
  font-size: 75%;
  font-family : Verdana,Arial,Geneva,sans-serif;
  color: white;
  }

.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%;
  font-weight: bold;
  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 {
	margin: 0 10%;
	color: #CCC;
  }

/* Default phpGraphy banner */
#banner {
  display: block;
  border: none;
  margin-bottom: 3px;
  }

/* Directory information bar (current directory) - not used anymore, now using dirbarleft/right */
#dirbar {
  width: 100%;
  border: none;
}

/* .welcome (Only displayed on the first page when in thumbs mode) */
#top {
	clear: left;
	color: #FF0;
	padding: 5px;
}

/* .welcome (Only displayed on the first page when in thumbs mode) */
#welcome {
	float: left;
	color: #FF0;
	padding: 5px;
	width: 50%;
}

#slides {
	color: #FF0;
	padding: 5px;
	margin-left: 52%;
}

#sideimg {
	float:right;
}

#minislideshow {
 position: relative;
 width: 450px !important; /*set your width*/
 height: 299px !important; /*set your height*/
 margin-right: 20px;
 margin-left: 20px;
 background-color: #000000; /*i needed a black background*/
 }
 #minislideshow div {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 100;
 opacity: 0.0;
 text-align: center;
 filter: alpha(opacity=0);
 }
 #minislideshow div.active {
 z-index: 102;
 opacity: 1.0;
 filter: alpha(opacity=100);
 }
 #minislideshow div.last-active {
 z-index: 101;
 }


/* display the directory content (directories) */
#dirlist {
	float: left;
	clear: left;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	background-image: url(../../images/fullpolaroidcollage.jpeg);
}

#filelist {
	float: left;
	clear: left;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	background-image: url(../../images/fullpolaroidcollage.jpeg);
}

/* display the directory content (files/thumbs) */
#dircontent {
	clear: left;
	width: 100%;
	margin: 15px 0 0 15px;
}

#dircontent td {
  vertical-align: top;
  padding-bottom: 1.5em;
}

/* Page naviguation (Previous/Next, Page number) */
 #pagenav {
	float: left;
	clear: left;
	width: 100%;
	text-align: center;
	margin: 10px;
	background-color: #000;
}


#footer {
	clear: left;
	width: 100%;
	text-align: center;
	padding-top: 1em;
	color:#CCC;
	background-color: #000;
}

#dirbarleft {
  float: left;
  text-align: left;
  width: 75%;
  color:#CCC;
  }

#dirbarright {
	float: right;
	width: 25%;
	text-align: right;
	color:#CCC;
  }


/* 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: 100%;
    text-align: center;
}

#displaypicture {
  text-align: center;
  }

#picnav {
  margin: 0.2em;
  }

#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: 1px 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: 1px solid;
	border-spacing: 0px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 8px;
	color: #333;
  }
.rowbgcolor1 {
	background-color: #69DF64;
}
.rowbgcolor2 {
	background-color: #6AC0A3;
}

#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 white;
	height: 115px;
}
.picthumbnail, .picinfo {
	float: left;
	width: 100%;
	text-align: center;
}
.picinfo a, .picinfo span {
	display: block;
}
.picinfo span {
    font-size: 75%;
    padding-left: 2em;
}

.phpg_previewpic img {
    border: 1px solid;
}



/* directory thumbnail */

/* Folder Frame related (draw a nice frame around folder (thx to Jeff for the initial CSS code) */

.fftop         {
	background-color: #D9D9D9;
	background-repeat: repeat-x;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: C8C8C8;
}
.fftop div     {
	background-color: D9D9D9;
	background-position: left top;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: C8C8C8;
	border-left-color: C8C8C8;
}
.fftop div div {
	background-color: D9D9D9;
	background-position: right top;
	border-top-width: 1px;
	border-right-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-top-color: C8C8C8;
	border-right-color: C8C8C8;
}

.ffbottom         {
	background-color: D9D9D9;
	background-repeat: repeat-x;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: C8C8C8;
}
.ffbottom div     { background: url(images/corner-bottom-left.gif) no-repeat top left; }
.ffbottom div div { background: url(images/corner-bottom-right.gif) no-repeat top right; }

.ffcontentwrap {
	background-color: D9D9D9;
}
.ffcontent     {
	background-color: D9D9D9;
}

/* Hack to handle the gap below the border with FireFox (when XHTML doctype is enabled )  */
.ffcontent a { background-color: #ececec; }

.fftop div, .fftop, .ffbottom div, .ffbottom {
	/* width: 140px; <=  Not used to be relative - it's added within the code as style argument */
	height: 20px;
	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;
	margin: 15px 20px 15px 20px;
	width: 150px;
	height: 175px;
	background-color: D9D9D9;
	border: 1px solid C8C8C8;
	background-image: url(images/PolaroidFrame.png);
}

.fileentry {
	float: left;
	margin: 10px 15px 10px 15px;
	width: 150px;
	height: 175px;
	background-color: D9D9D9;
	background-image: url(images/PolaroidFrame.png);
}
/*  Resides inside direntry, contains dirthumbnail and all the ff* (framefolder) entries) */
.dirframe {
	float: none;
	padding: 10px 10px 5px 10px;
}

.fileframe {
	float: none;
	padding: 10px 10px 5px 10px;
}

.dirframeadmin {
	float: none;
	padding: 0px 10px 5px 10px;
}

/* Resides inside a dirframe */
.dirthumbnail {
	border: 0px solid #aaaaaa;
	height: 105px;
}


/* 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;
	margin: 0 0 10px 10px;
	font-weight: bold;
	font-size: 80%;
	width: 130px;
}

.dirinfo {
	font-size: 80%;
	font-weight: normal;
	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;
  float:right;
}

/* lowres/highres picture properties */
.picture {
  border: 1px solid white;
  }

.popup {
  position: fixed;
  left: 10px;
  top: 10px;
  }

#loginform table {
    margin: 5% auto;
    border: 1px solid #AAAAAA;
    padding: 50px;
	color: #CCC;
}

/* login page */

#loginbox {
    position: relative;
    width: 300px;
    margin: 5% auto;
    border: 1px solid #AAAAAA;
    padding: 50px;
	color: #CCC;
}

.margintop {
    margin-top: 5px;
}

.floatlabel {
    width: 8em;
    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; color:#CCC; }
#bodyForm .legend { font-style: italic; color: #666; }

/*  SLIDESHOW */

#slideshow {
    position: absolute;
    top: 0;
    left: 0;
}

#slideshow a {
    cursor: pointer;
    z-index: 9;
}

#slideshow input {
    border: 0;
    margin: 0;
    padding: 0;
    text-align: right;
    width:1.5em;
}

#slideshowimg {
    border: solid 1px white;
}


#close-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5em;
    font-weight: bold;
}

#spanControl {
    border: 3px solid #cacaca;
    background-color: white;
    color: white;
    padding: .5em;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
}

#spanControl a {
    margin: 0 .5em;
}

#spanControl input {
    color: white;
    background: white;
    font-weight: bold;
    font-size: 1em;
}

#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: bold;
    text-align: center;
    margin-bottom: 3px;
}



/* DEBUG messages BOX - Reserved for development purposes */
#debugbox {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: black;
    z-index: 1;
    border: solid 1px #ccc;
}

#debugmsgs {
    text-align: left;
    padding: 2px 5px;
}
