/**
 * Coppermine Photo Gallery
 *
 * v1.0 originally written by Gregory Demar
 *
 * @copyright  Copyright (c) 2003-2023 Coppermine Dev Team
 * @license    GNU General Public License version 3 or later; see LICENSE
 *
 * css/theme2.css
 * @since  1.7.03
 */

form {
	margin-top:0px;
	margin-bottom:0px;
}

.inline {
	display:inline;
}

#vanity a {
	display:block;
	width:57px;
	height:20px;
	margin: 3px 20px;
}

#vanity img {
	border:0
}
#v_php {
	float:left;
	background-image:url(../images/vanity/powered-php.gif);
}
#v_php:hover {
	background-image:url(../images/vanity/h_powered-php.gif);
}
#v_mysql {
	float:left;
	background-image:url(../images/vanity/powered-mysql.gif);
}
#v_mysql:hover  {
	background-image:url(../images/vanity/h_powered-mysql.gif);
}
#v_xhtml {
	float:right;background-image:url(../images/vanity/valid-xhtml10.gif);
}
#v_xhtml:hover {
	background-image:url(../images/vanity/h_valid-xhtml10.gif);
}
#v_css {
	float:right;
	background-image:url(../images/vanity/valid-css.gif);
}
#v_css:hover {
	background-image:url(../images/vanity/h_valid-css.gif);
}

.detail_head_collapsed, .detail_head_expanded {
	cursor: pointer;
	position: relative;
	padding: 5px 10px;
	background-repeat:no-repeat;
	background-position:center left;
}

.detail_head_collapsed {
	background-image:url('../images/tree/plus.gif');
}

.detail_head_expanded {
	background-image:url('../images/tree/minus.gif');
}

.detail_body {
}

/* Greybox used for help pop-ups */
#GB_overlay {
  background-image: url(../images/overlay.png);
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  z-index: 100;
  width:  100%;
  height: 100%;
}

* html #GB_overlay {
  background-color: #000000;
  background-color: transparent;
  background-image: url(../images/spacer.gif);
}

#GB_window {
  top: 10px;
  left: 0px;
  position: absolute;
  overflow: auto;
  width: 600px;
  height: 400px;
  z-index: 150;
}

#GB_frame {
  border: 0;
  overflow: auto;
  width: 100%;
  height: 378px;
}

#GB_window img {
  position: absolute;
  top: 2px;
  right: 5px;
  cursor: pointer;
}

.dragHandle {
	background-image: url(../images/icons/move.png)  ;
	background-position:center center;
	background-repeat:no-repeat;
	width: 50px;
	height: 14px;
}

.explanation {
	font-size: 80%;
}

.log-display {
	list-style-type: square;
	max-height: 800px;
	overflow-y: scroll;
}

/** Filmstrip styles */
div#film {
	padding: 5px 0 5px 0;
	overflow:hidden;
}

.clearer {
	clear:both;
}

/* Styles for the standard button lists.
------------------------------------------------------- */
.buttonlist ul {
	z-index: 100;
	padding: 5px;
	margin: 0 0.2em 0 0;
}

.buttonlist ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
}

.buttonlist ul li a {
	margin-right: 10px;
}


/******** THEME2 ********/

.menus {
	position: relative;
}

.menus-container, .admin-menu-container, .user-admin-menu {
	margin-top: 1rem;
}

.admin-menu-wrapper, .user-admin-menu {
	display: flex;
/*	position: relative;*/
	flex-wrap: wrap;
	justify-content: center;
	/* justify-items: center; */
	gap: 2px;
}

.admin-menu-wrapper li, .user-admin-menu li {
	padding: 2px;
	white-space: nowrap;
	border: 1px solid #ccd7e0;
	margin: 0;
	list-style: none;
}

.admin-alert {
	background-image: linear-gradient(to right, coral, yellow);
}

.r-cat-albs-f {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-around;
}

.cat-af-cnt {
	float: right;
	margin: .25rem .25rem 0 1.5rem;
}
.catrow p {
	margin-top: .5rem;
}

.r-thumbs {
	display: flex;
	flex-flow: wrap;
	align-items: center;
	justify-content: center;
}

.r-thm-tabs, .r-alb-tabs, .img-nav-bar {
	display: flex;
	flex-wrap: wrap;
}
.r-thm-tabs .navmenu.disabled img {
	opacity: .3;
}
.r-thm-tabs .navmenu.disabled a:hover {
	background: unset;
}
.r-thm-tabs.row div:first-of-type, .r-alb-tabs.row div:first-of-type {
	flex-grow: 1;
}
.navmenu.space {
	flex-grow: 1;
}

.alb-img-cels {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 200px));
	justify-content: space-between;
	justify-items: center;
	row-gap: 0.5rem;
	touch-action: pan-y;
}

.alb-img-cels-f {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px 10px;
}

.r-thumbnail {
	min-width: 140px;
	text-align: center;
/*	width: 100%;
	height: 100%;*/
}

.image-l {
	width: 100%;
	height: auto;
}
.image-p {
	height: 100%;
	width: auto;
}


/* hamburger menu */

.menu-burger {
	display: none;
}
.menu-burger svg{
	height: 2rem;
	float: left;
	cursor: pointer;
}
.admin-menu-burger {
	display: none;
}
.admin-menu-burger svg {
	height: 2rem;
	float: right;
	color: lightcoral;
	cursor: pointer;
}



@media (max-width: 767px) {
	.menus-container {
		margin: 0;
		padding: .5rem;
		font-size: medium;
		position: absolute;
		background-color: gainsboro;
		border: 1px solid #BBB;
		height: fit-content;
		top: 2rem;
		left: 0;
		transition: height .5s;
	}
	.sys-menu {
		display: flex;
		flex-flow: column;
		align-items: start;
		clear: left;
		row-gap: 4px;
		padding: 2px;
	}
	.sys-menu img {
		display: none;
	}
	.menu-burger, .admin-menu-burger {
		display: block;
	}
	.user-admin-menu, .admin-menu-wrapper {
		position: absolute;
		flex-flow: column;
		text-align: left;
		font-size: medium;
		background-color: gainsboro;
		margin: 0;
		border: 1px solid #BBB;
		padding: .25rem;
		height: fit-content;
		right: 0;
		top: 2rem;
		transition: height .5s;
	}
	.stashed {
		margin: 0;
		padding: 0;
		height: 0;
		border: none;
		overflow-y: hidden;
		transition: height .5s;
	}
}
