/* Stylesheet for JJPL Gallery Software */

/* Styles for gallery selection */
#flashgallery .grid-label {
	position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    height: 22px;
}

#flashgallery .grid-label p.filename {
    font-size: 14px;
    font-family: arial;
	text-align: right;
	color: #efefef;
    position: absolute;
    right: 4px;
    top: 4px;
}

#flashgallery .grid-label .color-label {
    border: 1px dotted grey;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 3px;
    top: 3px;
}

.ui-tooltip-content {
	font-size: 12px;
}

.ui-tooltip {
	padding: 6px 12px !important;
}

#gallerymenu {
	display: none;
}

#progressbar {
	position: relative;
}

.ui-progressbar {
	position: relative;
	width: 50%;
	margin: auto;
}
.ui-progressbar-value {
	background-color: #517fa4 !important;
}

#progresslabel {
    position: absolute;
    width: 100%;
    top: 2px;
	text-align: center;
	z-index: 100;
}

#wrapper #page_content_wrapper .full_width > #flashgallery, #wrapper #page_content_wrapper .full_width > #gallerymenu{
	margin-left: 2%;
    margin-right: 2%;
	width: 96%;
}

@media only screen and (min-width: 1024px) {
	.grid-item { line-height: 0; margin-bottom: 3px;}
	.grid-sizer, .grid-item { width: 19.76%; }
	.gutter-sizer { width: 0.3%; }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.grid-item { line-height: 0; margin-bottom: 4px;}
	.grid-sizer, .grid-item { width: 24.625%; }
	.gutter-sizer { width: 0.5%; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.grid-item { line-height: 0; margin-bottom: 4px;}
	.grid-sizer, .grid-item { width: 32.865%; }
	.gutter-sizer { width: 0.7%; }
}

@media only screen and (max-width: 479px) {
	.grid-item { line-height: 0; margin-bottom: 3px;}
	.grid-sizer, .grid-item { width: 49.55%; }
	.gutter-sizer { width: 0.9%; }
}

#flashgallery .grid-item.label_red .grid-label .color-label {
	background-color: #e60000;
}

#flashgallery .grid-item.label_yellow .grid-label .color-label {
	background-color: #e2e200;
}

#flashgallery .grid-item.label_green .grid-label .color-label {
	background-color: #00a900;
}

#flashgallery .grid-item.label_blue .grid-label .color-label {
	background-color: #008cff;
}

#flashgallery .grid-item.filtered {
	display: none;
}

.menu_icon {
	position: absolute;
	width:14px;
	height:14px;
	left: 8px;
	top: 8px;
}

.icon_red {
	background-color: red;
}

.icon_yellow {
	background-color: yellow;
}

.icon_green {
	background-color: green;
}

.icon_blue {
	background-color: blue;
}

/* Play/Pause Button */
.pswp__button--playpause.play, .pswp__button--playpause.play:before {
    background: url('../images/play-wh.png') 0 0 no-repeat !important;
	background-size: 44px 44px;
	background-position: 0;
}
.pswp__button--playpause.pause, .pswp__button--playpause.pause:before {
    background: url('../images/pause-wh.png') 0 0 no-repeat !important;
	background-size: 44px 44px;
	background-position: 0;
}
.pswp__button {
    outline: none;
}

.pswp__labels {
	color: white;
}

.pswp__labels button {
	display: inline-block;
	width: 26px;
	height: 26px;
	position: relative;
	background-color: grey;
	margin-left: 3px;
	background-image: none !important;
}

.pswp__caption .pswp__caption__center {
	position: absolute;
	right: 0;
}

.pswp__caption .pswp__labels {
	position: absolute;
	left: 0;
    padding: 6px;
}

.pswp__labels .selected, .pswp__labels .label_none.selected {
	border: 1px dotted white;
}

.pswp__labels .label_none {
	background-color: #000000;
	border: 1px dotted #444444;
}

.pswp__labels .label_red {
	background-color: rgba(230,0,0,0.5);
}

.pswp__labels .label_yellow {
	background-color: rgba(226,226,0,0.5);
}

.pswp__labels .label_green {
	background-color: rgba(0,169,0,0.5);
}

.pswp__labels .label_blue {
	background-color: rgba(0,140,255,0.5);
}

.pswp__labels .label_red.selected {
	background-color: rgba(230,0,0,1);
}

.pswp__labels .label_yellow.selected {
	background-color: rgba(226,226,0,1);
}

.pswp__labels .label_green.selected {
	background-color: rgba(0,169,0,1);
}

.pswp__labels .label_blue.selected {
	background-color: rgba(0,140,255,1);
}

.pswp__button.pswp__button--add_to_cart {
    background: url('../images/cart.png') 0 0 no-repeat !important;
	background-size: 44px 44px;
	background-position: 0;
}

.pswp__button.pswp__button--help {
    background: url('../images/help_white.png') 0 0 no-repeat !important;
	background-size: 44px 44px;
	background-position: 0;
}

.pswp__img { max-width: initial !important; }


/* Gallery Formatting */
#flashgallery { text-align: center; width:100%; margin: auto; }
#flashgallery a {line-height: 0; }
/*.grid-item { line-height: 0; width: 185px; margin-bottom: 3px;} */

#gallerymenu {
	position: relative; 
	margin-bottom: 6px; 
	background-color: #e2e2e2;
	height: 32px;
	font-size: 14px;
    font-family: arial;
}

#gallerymenu #selectordiv {
    position: absolute;
    left: 10px;
    top: 4px;
}

#gallerymenu #filterdiv {
    position: absolute;
	right: 110px;
	top: 4px;
}

#gallerymenu #refreshdiv {
    position: absolute;
    right: 84px;
    top: 6px;
}

#gallerymenu #savediv {
    position: absolute;
    right: 58px;
    top: 6px;
}

#gallerymenu #sharediv {
    position: absolute;
    right: 32px;
    top: 6px;
}

#gallerymenu #helpdiv {
    position: absolute;
    right: 6px;
    top: 6px;
}

#gallerymenu #refreshdiv img, #gallerymenu #savediv img, #gallerymenu #sharediv img, #gallerymenu #helpdiv img{
    height: 20px;
	width: 20px;
	cursor: pointer;
}

/* Move filter and buttons to second line for small screens */
@media only screen and (min-width: 360px) and (max-width: 590px) {
	.jjpl_labelling {
		position: relative;
		top: 32px;
	}
	#gallerymenu {
		height: 64px;
	}
}

@media only screen and (max-width: 360px) {
	.jjpl_labelling {
		position: relative;
		top: 64px;
	}
	#gallerymenu {
		height: 96px;
	}
}


#jjpl_share_dialog, #jjpl_share_results_dialog, #jjpl_save_dialog, #jjpl_change_galley_dialog, #jjpl_help_dialog {
	display: none;
}
.ui-dialog-content p, .ui-dialog-content label { 
	font-size: 0.8em;
	display: block;
	line-height: 1.4;
	margin: 1em 0;
}
	
#jjpl_share_results_dialog textarea {
	font-size: 0.8em;
	display: block;
	line-height: 1.4;
	width: 95%;
    margin: auto;
}

#jjpl_share_dialog label input[type="checkbox"] {
	/*margin-right: 6px;
	width: 18px;
    height: 18px; */
}

#jjpl_share_dialog label {
  display: block;
  padding-left: 32px;
  text-indent: -16px;
}
#jjpl_share_dialog label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  margin:0 10px 0 0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
}

.loginformdiv p,.loginformdiv h3{ margin-bottom: 10px; text-align: center;}
.loginform label { display: block; font-size: 14px; text-align: left; }
.loginform .loginsubmit { display: block; margin: 0px auto; border-radius: 4px;}
.loginform input[type=text], .loginform input[type=password] { width: 100%; background-color: white; }

#rememberme { margin-right: 10px;}
