/*************************************************************
 * Coppermine plugin styles 
 *************************************************************/

/* individual images */

.cpg-image-thumb {
	padding: 3px;
	margin: auto 10px auto 10px;
}

.cpg-image-normal {
	/* margin: auto 10px auto 10px; */
	border: solid 1px #ccc;
}

.cpg-same-height {
	height: 100px;
}

/* last & random images */

.cpg-last-images {
	text-align: center;
	background-color: #CDCD1D;
}

.cpg-last-image {
	margin: 0;
	padding: 0;
	border: none;
}

a.cpg-link {
	text-decoration: none;
}

/* clear floats after post */
.clearer {
	clear: both;
	line-height: 0px;
	height: 0px;
}

/* text */

ul.cpg-comments {
}

li.cpg-comments {
}

.cpg-comments date {
}


/* group styles */

/* labels */
span.cpg-label {
	display: block;
	font-size: 90%;
	color: #666;
}

.cpg-label {
	text-align: center;
	font-size: 80%;
	color: #666;
	font-style: italic;
}


/* album links */
div.cpg-album-link {
	text-align: center;
	padding: 10px 0 5px;
}

div.cpg-album-link a {
	text-decoration: none;
}

div.cpg-album-link a:hover {
	text-decoration: underline;
}

/* style1: centered picture rows without labels */

div.cpg-grp-center {
	padding: 10px;
	border: solid #999 1px;
	background-color: #eee;
	text-align: center;
}

div.cpg-grp-center img {
/*	height: 100px;*/
	padding: 3px;
	border: solid #999 1px;
	background-color: white;
}

/* style2: floating pictures+labels */

/* image box containing image div and label */
div.cpg-grp-left {
	padding: 10px;
	border: solid #ccc 1px;
	background-color: #eee;
	clear: both;
}

div.cpg-img-box {
	float: left; 
	display: inline;
	padding: 3px;
	margin: 3px;
	border: solid #666 1px;
	background-color: white;
	text-align: center;
}

div.cpg-img-box img {
	margin: 0 auto;
	height: 100px;
	border: solid #999 1px;
}

/* style3: left bar */
div.cpg-grp-leftbar {
	float: left;
	width: 120px;
	text-align: center;
	background-color: #eee;
	border: solid #999 1px;
	margin-right: 10px;
}

div.cpg-grp-leftbar > div {
	margin: auto;
}

div.cpg-grp-leftbar img {
	margin-top: 5px;
	padding: 3px;
	background-color: white;
	border: solid #999 1px;
}

/* for the more compact style example, style5 */
div.cpg-grp-leftbar2 {
	float: left;
	margin-right: 20px;
	padding: 10px;
	border: solid #999 1px;
	background-color: #eee;
}

div.cpg-grp-leftbar2>div>img {
	width: 100px;
	display: block;
	margin: 0 auto;
	border: solid #eee 1px;
}

/* style4: right bar */
div.cpg-grp-rightbar {
	float: right;
	margin-left: 20px;
	padding: 10px;
	border: solid #999 1px;
	background-color: #eee;
}

div.cpg-grp-rightbar>div>* {
	float: none;
	display: block;
	margin: 0 0 10px;
}

div.cpg-grp-rightbar>div img {
	padding: 5px;
	border-style: none;
}

/* style6: scrolling horizontal bar */
div.cpg-grp-bar {
	padding: 10px;
	margin-bottom: 10px;
	background-color: #eee;
	border: solid #999 1px;
	background-color: #eee;
}

div.cpg-grp-bar a {
	margin: -5px 3px 0 0; 
	padding: 0;
}

div.cpg-grp-bar>div {
	white-space: nowrap;
	padding: 0;
	margin: 0;
	overflow: auto;
}

div.cpg-grp-bar img {
/*	height: 100px; */
}

/* style7: centered image bar */

div.cpg-centerbar {
	margin: auto;
	text-align: center;
	background-color: #eee;
	border: solid #999 1px;
	background-color: #eee;
}

div.cpg-centerbar>div {
	margin: 0 auto;
	text-align: center;
	max-width: 470px;
	padding: 10px;
}

div.cpg-centerbar .cpg-label {
	width: 140px; 
	margin: auto;
}

div.cpg-centerbar div.cpg-img-box {
	/*width: 150px;*/
	margin: 3px 3px 0px 0px;
	padding: 3px 0;
	background-color: white;
}

div.cpg-centerbar div.cpg-img-box img {
	margin: 0 auto;
	display: block;
	/*height: 100px;*/
}


/* style8: steve's slideshow */

div.slideshow {
	width: 200px;
	margin: 10px;
	padding: 10px;
	background-color: #eee;
	border: solid #999 1px;
	background-color: #eee;
}

div.slideshow div.container {
	background-color: white;
}

div.slideshow div.controls {
	width: 200px;
}

div.slideshow div.caption {
	width: 200px;
	background-color: white;
	padding: 0;
	border: solid #999 1px;
}

div.slideshow div.caption {
	font-size: 90%;
	color: #666;
	text-align: center;
}

/*************************************************************
 * Search page
 *************************************************************/

div.cpg-search-image {
	display: table-cell;
	padding: 0;
	margin: 0;
	vertical-align: bottom;
	text-align: center;
}

.cpg-search-image .cpg-image-thumb {
	padding: 2px;
	margin: 12px;
	border: solid 1px black;
}

div.cpg-search-album * img {
	padding: 2px;
	margin: 12px;
	border: solid 1px black;
}



/*************************************************************
 * Admin styles 
 * You probably don't want to edit this !
 *************************************************************/

.cpg-upload-link {
	display: inline;
	padding: 0 5px;
}

/* generic helper */
.cpg-inline {
	display: inline;
}

/* main inserter div */
#cpg-image-inserter {
	margin-bottom: 3px;
}

#cpg-image-inserter ul {
	margin: 0 0 3px 0;
	padding: 0;
}

/* image bar div */
#cpg-image-bar {
	background-color: #eee;
	border: solid 1px #aaa;
    text-align: right;
	width: 100%;
	height: 100% !important;
	height: 70px;
	white-space: nowrap;
	overflow: auto;
	/* overflow-x/y are supported by Ie and Mozilla, and is recommended for CSS3 */
	overflow-x: auto;
	overflow-y: hidden;
	clear: both;
}

/* images in bar */
li.cpg-inserter-image {
	display: inline;
	padding:0;
	margin:0;
}

li.cpg-inserter-image img {
	padding: 0;
	margin: 0;
	border: solid black 1px;
	height: 50px;
}

li.cpg-inserter-image img:hover {
	border: solid yellow 1px;
}

#cpg-button-bar {
	margin: 0;
	padding: 0;
}

#cpg-button-bar li {
	display: inline;
	float: right;
	padding: 0 0 3px 0;
	margin: 0;
}

#cpg-button-bar li.left-button {
	float: left;
	text-align: left;
	padding: 0 0 3px 0;
	margin: 0;
}

#cpg-button-bar li input {
	padding: 0;
	margin: 0;
}

.cpg-expand, .cpg-expand:hover, .cpg-expand:focus, .cpg-expand:active {
	background: #f2f2f2 url(img/adm-plus.gif) no-repeat right !important;
	padding-right: 16px !important;
}

.cpg-collapse, .cpg-collapse:hover, .cpg-collapse:focus, .cpg-collapse:active {
	background: #f2f2f2 url(img/adm-min.gif) no-repeat right;
	padding-right: 16px !important;
}

/* button to toggle visibility of inserter bar */

#cpg-show-div {
	font-size: 70%;
	padding: 0;
	margin: 0 13px;
}

/* dropdown div */
.cpg-dropdown-bar {
	border: solid 1px #aaa;
	background-color: #eee;
	list-style-type: none;
	clear: both;
}

.cpg-dropdown-bar input, .cpg-dropdown-bar select {
	padding: 0;
}

/* dropdown conf */
.cpg-dropdown {
	margin: 0;
	display: inline;
	padding: 0 1em 0 0;
	float: left;
}

.nobreak {
	white-space: nowrap; 
}

/* shadow */

  td.shadow-top { 
    height: 16px;  
    background-image: url(img/shadow/top.gif);
  }

  td.shadow-topRight { 
    width: 16px !important;
    height: 16px;
    background-image: url(img/shadow/topRight.gif);
  }

  td.shadow-right { 
    width: 16px !important;
    background-image: url(img/shadow/right.gif)
  }

  td.shadow-bottomRight { 
    width: 16px !important; 
    height: 16px; 
    background-image: url(img/shadow/bottomRight.gif);
  } 

  td.shadow-bottom { 
    height: 16px !important;
    background-image: url(img/shadow/bottom.gif);
  }

  td.shadow-bottomLeft { 
	width: 16px !important;
    height: 16px !important;
    background-image: url(img/shadow/bottomLeft.gif);
	background-repeat: repeat-y;
  } 

  td.shadow-left { 
	width: 16px !important;
    background-image: url(img/shadow/left.gif);
	background-repeat: repeat-y;
  }

  td.shadow-topLeft { 
    width: 16px !important; 
    height: 16px !important; 
    background-image: url(img/shadow/topLeft.gif);
	background-repeat: repeat-y;
  }      

/*  td.shadow-center { 
    background-color: yellow;
  } */

