/* modules/gallery/css/gallery.css */
/**
 * Gallery 3 core module styles
 *
 * Sheet organization:
 *  1)  End-user
 *  2)  Admin
 *  3)  Right to left language styles
 */

/** *******************************************************************
 * 1) End-user
 **********************************************************************/

/* Uploader ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-add-photos-canvas,
#g-add-photos-status {
  width: 469px;
}

#g-add-photos-canvas {
  border: 1px solid  #ccc;
  height: 200px;
  margin: .5em 0;
  padding: 2.8em 0 0 0;
  overflow: auto;
  position: relative;
}

#g-add-photos-canvas object,
#g-add-photos-button {
  left: 90px;
  margin: .5em 0;
  padding: .4em 1em;
  position: absolute;
  top: 0;
  width: 300px;
}

#g-add-photos-canvas object {
  z-index: 100;
  padding: 0em;
}

#g-add-photos-canvas .uploadifyQueue {
  margin-top: .5em;
}

#g-add-photos-canvas .uploadifyQueueItem {
  margin: 0;
}

#g-add-photos-button {
  z-index: 1;
}

#g-add-photos-status {
  border: 1px solid #ccc;
  height: 125px;
  margin: .4em 0;
  overflow: auto;
}

#g-add-photos-status .g-message-block {
  border: none;
}

#g-add-photos-status #g-action-status li {
  margin: 0 0 1px 0;
  padding-top: .7em;
  width: 433px;
}

#g-add-photos-form .g-breadcrumbs {
  margin: 0;
}

#g-add-photos-form p {
  margin-bottom: 0
}

/* different named form for dropzone uploads */
#gAddPhotosForm .g-breadcrumbs {
  margin: 0;
}

#gAddPhotosForm p {
  margin-bottom: 0
}

#g-add-photos-status-message {
  float: right;
}

/* Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-edit-permissions-form {
  clear: both;
}

#g-edit-permissions-form th {
  text-align: center;
}

#g-permissions .g-denied,
#g-permissions .g-allowed {
  text-align: center;
  vertical-align: middle;
}

/* Move items ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-move ul {
  padding-left: 1em;
}

#g-move .selected {
  background: #999;
}

/* In-place edit ~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-in-place-edit-form ul {
  margin: 0;
}

/* User profile ~~~~~~~~~~~~~~~~~~~~~~~~~ */

#g-user-profile h1 {
  margin: 1em 0;
}

#g-user-profile .g-avatar {
  margin-right: .6em;
}

#g-user-profile .g-block {
  margin-top: 0;
}

#g-user-profile .g-block-content {
  margin-top: 0;
}

#g-user-profile th,
#g-user-profile td {
  border: none;
}

#g-user-profile th {
  white-space: nowrap;
  width: 1%;
}

/* Unsupported movie download link ~~~~~~~~~~~~~~~~~~~~~~~~~ */

.g-movie-download-link {
  text-align: center;
}

/* Dialogs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/**
 * Newer Themeroller-based themes do this on their own, but older
 * themes need help ensuring that dialogs and overlays are on top
 */
.ui-front {
  z-index: 1000
}

/* Autocomplete ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.ui-autocomplete {
  text-align: left;
}

.ui-autocomplete-loading {
  background: #e8e8e8 url('https://wuchgallery.chriswuersch.com/modules/gallery/css/../images/loading-small.gif') no-repeat center center;
}

/** *******************************************************************
 * 2) Admin
 **********************************************************************/

.g-task-log {
  border: 1px solid #000;
  height: 400px;
  margin: .6em 0;
  overflow: auto;
  padding: .4em
}

#g-languages-form table {
  width: 40%;
  margin: 0 3em 1em 0;
}

#g-languages-form input {
  clear: both;
}

#g-translations ol {
  margin: 0 0 1em 2em;
}
#g-translations ol li {
  list-style-type: decimal;
  line-height: 150%;
}

#g-translations .g-button {
  padding: .5em;
  margin-bottom: 1em;
}

/** *******************************************************************
 * 3) Right to left language styles
 **********************************************************************/

.rtl #g-add-photos-status #g-action-status li {
  width: 407px;
}

.rtl #g-block-admin .g-left {
  margin-left: 1em;
  margin-right: 0;
}

.rtl #g-user-profile .g-avatar {
  margin-left: .6em;
}

.rtl #g-languages-form table {
  margin: 0 0 1em 3em;
}

.rtl #g-translations ol {
  margin: 0 2em 1em 0;
}

.rtl #g-add-photos-status-message {
  float: left;
}

/* lib/uploadify/uploadify.css */
/*
Uploadify v2.1.0
Release Date: August 24, 2009

Copyright (c) 2009 Ronnie Garcia, Travis Nickels

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
.uploadifyQueueItem {
	font: 11px Verdana, Geneva, sans-serif;
	border: 2px solid #E5E5E5;
	background-color: #F5F5F5;
	margin-top: 5px;
	padding: 10px;
	width: auto;
}
.uploadifyError {
	border: 2px solid #FBCBBC !important;
	background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
	float: right;
}
.uploadifyProgress {
	background-color: #FFFFFF;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #0099FF;
	width: 1px;
	height: 3px;
}

/* RTL support ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .uploadifyQueueItem .cancel {
	float: left;
}
/* modules/user/css/user.css */
/* User- and group-related form width ~~~~ */

#g-login-form,
#g-add-user-form
#g-edit-user-form,
#g-delete-user-form,
#g-user-admin {
  width: 270px;
}

/* User/group admin ~~~~~~~~~~~~~~~~~~~~~~ */

#g-user-admin {
  width: auto;
  margin-bottom: 4em;
}

#g-group-admin {
}

#g-user-admin-list .g-admin {
  color: #55f;
  font-weight: bold;
}

.g-group {
  display: block;
  border: 1px solid #999;
  margin: 0 1em 1em 0;
  padding: 0;
  width: 200px;
}

.g-group h4 {
  background-color: #eee;
  border-bottom: 1px dashed #ccc;
  padding: .5em 0 .5em .5em;
}

.g-group .g-button {
  padding: 0;
}

.g-group .g-member-list,
.g-group div {
  height: 180px;
  margin: 1px;
  overflow: auto;
}

.g-group p {
  margin-top: 1em;
  padding: .5em;
  text-align: center;
}

.g-group .g-user {
  padding: .2em 0 0 .5em;
}

.g-group .g-user .g-button {
  vertical-align: middle;
}

.g-default-group h4,
.g-default-group .g-user {
  color: #999;
}

.g-group.ui-droppable {
  padding: 0 !important;
}

/* Password strength meter ~~~~~~~~~~~~~~~ */

.g-password-strength0 {
  background: url('https://wuchgallery.chriswuersch.com/modules/user/css/../images/progressImg1.png') no-repeat 0 0;
  width: 138px;
  height: 7px;
}

.g-password-strength10 {
  background-position:0 -7px;
}

.g-password-strength20 {
  background-position:0 -14px;
}

.g-password-strength30 {
  background-position:0 -21px;
}

.g-password-strength40 {
  background-position:0 -28px;
}

.g-password-strength50 {
  background-position:0 -35px;
}

.g-password-strength60 {
  background-position:0 -42px;
}

.g-password-strength70 {
  background-position:0 -49px;
}

.g-password-strength80 {
  background-position:0 -56px;
}

.g-password-strength90 {
  background-position:0 -63px;
}

.g-password-strength100 {
  background-position:0 -70px;
}

/* modules/themedispatcher/css/themedispatcher.css */
.g-themedispatcher {
  font-size: 10px;
  text-align: center;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}


/* themes/sobriety/css/screen.css */
/* Common
----------------------------------------------- */
a, a:visited {

  color: #258;
  text-decoration: none;

  border-bottom: 1px dotted #469;
}

a:hover, a:active {
  color: #933;

  border-color: #b55;
  border-bottom-style: solid;
}

h1 {
  padding: 0 0 .5em;

  font-size: 1.7em;
  font-weight: normal;
  color: #543;

  border-bottom: 1px solid #ddd;
}



/* Page structure
----------------------------------------------- */

body {
  margin: 0;

  font-family: "Gill Sans", "Trebuchet MS", Verdana, sans-serif;
  font-size: small;
  color: #333;

  background-color: #ccb;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/body-bg.jpg');
  background-repeat: repeat-x;
  background-position: top;
}


/* ~~~~~ Header ~~~~~ */

div#g-header {
  padding: 0.5em 0;
  height: 1.5em;

  line-height: 1.5em;

  background-color: #000;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/body-breadcrumbs-bg.gif');
  background-repeat: repeat;
  background-position: top;

  border-bottom: 3px solid #bba;
}

a#g-logo, form#g-quick-search-form, div#g-site-menu {
  display: none;
}

#g-header-text{
  color: #fff;
  font: oblique small-caps bold 1em Georgia,serif;
  position: absolute;
  left: 15px;
  height: 1.5em;
  line-height: 1.5em;
}

ul#g-login-menu {
  list-style-type: none;
  
  position: absolute;
  top: 0;
  right: 0;

  display: block;
  margin: 0;
  /*padding: 0.5em;*/
  padding: 0;

  width: 20em;
  width: 2.5em;
  height: 2.5em;
  background: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-login-menu.png') no-repeat center center;
  z-index: 2;
}

ul#g-login-menu > li {
  display: none;
  text-align: right;
  padding: 2px 0;
  width: 20em;
  margin-left: -17.6em ; /* -(20-2.5) */
  background-color: #fcfcfc;
  color: #000;
}

ul#g-login-menu > li:first-child {
  margin-top: 2.4em;
}

ul#g-login-menu > li > a {
  margin-right: 0.5em;
}

ul#g-login-menu > li:hover, ul#g-login-menu > li:hover > a {
  background-color: #5266f3;
  color: #fff;
  border-color: #fff; /* a:hover */
}

ul#g-login-menu:hover {
  background-color: #5266f3;
}

ul#g-login-menu:hover > li {
  display: block;
}

ul.g-breadcrumbs {
  margin: 0;
  padding: 0;

  color: #777;
  text-align: center;
}

ul.g-breadcrumbs > li {
  display: inline;
  padding-left: 0.3em;
}

ul.g-breadcrumbs > li:after {
  content: "»";
}

ul.g-breadcrumbs > li.g-active:after {
  content: "";
}

ul.g-breadcrumbs > li > a {
  margin-right: 0.3em;

  color: #888;

  border-color: #777;
}


/* ~~~~~ Content ~~~~~ */

div#bd {
  padding: 15px;
}


/* ~~~~~ Footer ~~~~~ */
/* TODO */
#g-footer {
  clear: both;
  margin: 0 15px;
  border-top: 1px solid #ddc;
  color: #887;
  padding: .5em 0 2em 0;
  text-align: center;
}

#g-footer #g-credits {
  list-style: none;
  display: inline;
  margin: 0 auto;
  padding: 0;
}

#g-footer #g-credits li {
  display: inline;
}






/* Albums & Items
----------------------------------------------- */


.g-item,
#g-item .g-paginator li.g-first,
#g-item .g-paginator li.g-text-right {
  display: block;
  position: relative;
  text-align: center;

  background: #fff url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/thumb.png') no-repeat;

  border-radius: 5px;
  box-shadow: 3px 3px 0px #b7b7a7;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 3px 3px 0px #b7b7a7;
  -moz-border-radius: 5px;
  -moz-box-shadow: 3px 3px 0px #b7b7a7;
}



.g-item > a,
#g-item .g-paginator li.g-first a,
#g-item .g-paginator li.g-text-right a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  vertical-align: middle;
}

.g-item > a {
  display: table-cell;
}

#g-item .g-paginator li.g-first a,
#g-item .g-paginator li.g-text-right a {
  border-bottom: none;
  text-indent: -9999em;
  font-size: 1px;
  color: #fff;
}

.g-item > h2 {
  position: absolute;
  left: 15px;
  bottom: 8px;
  margin: 0;
  padding-top: 8px;

  background: #fff;
  text-align: center;
  color:#333;
  line-height: 10px;

  font-size: 10px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.g-item > h2 a {
  border: 0;
}

#g-item .g-paginator li.g-text-right {
  position: absolute;
  top: 0px;
}




/* ~~~~~ Album ~~~~~ */
.g-item {
  float:left;
  margin:0 10px 10px 0;
}

.g-item.g-album >  a {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/emblems/g-item_g-album.png');
  background-repeat: no-repeat;
}





#g-content > #g-info {
  clear:left;
  float:left;
  width:22%;
  margin:0;
  line-height:1.4em;
}
#g-content > #g-info h1 {
  margin:0 0 .5em;
  text-align:left;
  text-transform:none;
  letter-spacing:0;
  }
#g-content > #g-info .g-description {
  line-height:1.6em;
  margin-bottom:1em;
  }


#g-content > #g-album-grid {
  float:right;
  position:relative;
  width:75%;
  margin:0 0 15px;
  padding:0;
  list-style:none;
  line-height:1.4em;
  }
#g-content > #g-album-grid li.g-item {
  }

/*.g-item .g-context-menu,*/
.g-item .g-metadata
{
  display: none;
}


.g-item > ul.g-context-menu {
    list-style-type: none;

    display: none;
    position: absolute;
    top: 0px;
    left: 0px;

    font-size: 12px;

    width: 32px;
    height: 32px;
    padding: 2px;
    margin: 0;
}

.g-item:hover > ul.g-context-menu {
    display: block;
}

.g-item:hover > ul.g-context-menu > li {

    display: block;
    width: 32px;
    height: 32px;
    background: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/emblems/g-context-menu.png') no-repeat;
}

.g-item:hover > ul.g-context-menu > li:hover {
    background: none;
}

.g-item:hover > ul.g-context-menu > li > a {
    display: none;
}

.g-item:hover > ul.g-context-menu > li > ul {
    list-style-type: none;
    background: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/000000_opacity50.png') 0 0 repeat;
    padding: 5px 2px ;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 230px;
    text-align: left;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    z-index: 2;
}

.g-item:hover > ul.g-context-menu > li:hover > ul {
    display: block;
}
.g-item:hover > ul.g-context-menu > li:hover > ul > li {
    line-height: 16px;
    padding: 0px 0 0px 20px;
}
.g-item:hover > ul.g-context-menu > li:hover > ul > li > a {
    color: #fff;
    text-decoration: none;
    border: none;
    display: block;
    padding: 4px 0;
}

.g-item:hover > ul.g-context-menu > li:hover > ul > li > a > span {
    height: 16px;
    width: 16px;
    display: block;
    position: absolute;
    left: 2px;
    background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/ui-icons_d8e7f3_256x240.png');
}
.g-item:hover > ul.g-context-menu > li:hover > ul > li:hover > a {
    color: #f9bd01;
}
.g-item:hover > ul.g-context-menu > li:hover > ul > li:hover > a > span {
    background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/ui-icons_f9bd01_256x240.png');
}

span.ui-icon-pencil { background-position: -64px -112px; }
span.ui-icon-folder-open { background-position: -16px -96px; }
span.ui-icon-star { background-position: -224px -112px; }
span.ui-icon-trash { background-position: -176px -96px; }
span.ui-icon-rotate-ccw { background-position: -192px -64px; }
span.ui-icon-rotate-cw { background-position: -208px -64px; }
span.ui-icon-plus { background-position: -16px -128px; }
span.ui-icon-note { background-position: -64px -96px; }
span.ui-icon-key { background-position: -112px -128px; }







#g-content > .g-paginator {
  clear:left;
  float:left;
  width:22%;
  position: relative;
  padding: 2em 0 0 0;
  margin: 0;
}

#g-content > .g-paginator li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#g-content > .g-paginator .g-info {
  position: absolute;
  top: 0;
  width: 100%;
  background:#bba;
  text-align: center;
  padding:2px 0;
  margin:0 0 .5em;
}

#g-content > .g-paginator .g-first,
#g-content > .g-paginator .g-text-right {
  width: 45%;
  float: left;
}
#g-content > .g-paginator .g-text-right {
  float: right;
  text-align: right;
}

#g-content > .g-paginator .g-first a + a:before {
  content: "« ";
}

#g-content > .g-paginator .g-text-right a:first-child:after {
  content: " »";
}

#g-content > .g-paginator .g-first a:first-child,
#g-content > .g-paginator .g-text-right a + a,
#g-content > .g-paginator .ui-state-disabled {
  display: none;
}

#g-sidebar {
  clear:left;
  float:left;
  width:22%;
}

#g-sidebar .g-block {
  margin-top: 1em;
}

#g-sidebar .g-block h2 {
  width: 100%;
  background:#bba;
  text-align: center;
  padding:2px 0;
  margin:0 0 .5em;
  font-size: 1em;
  font-weight: normal;
}


/* ~~~~~ Item ~~~~~ */

#g-item {
  position: relative;
}

#g-item #g-photo,
#g-item #g-movie {
  text-align: center;
  display: inline;
  position: relative;
  left: 50%;
  background: #b7b7a7;
}

#g-item #g-photo a {
  border: none;
}

#g-item #g-movie,
#g-item #g-movie a {
  display: block;
}

#g-item #g-photo img,
#g-item #g-movie object {
  border: 10px solid #fff;
  -webkit-box-shadow: 3px 3px 0px #b7b7a7;
  -moz-box-shadow: 3px 3px 0px #b7b7a7;
}

#g-item .g-paginator {
  position: absolute;
  left: 50%;
  width: 0px;
  height: 0px;

  list-style: none;
  padding: 0;
  margin: 0;
}

#g-item .g-paginator li {
  padding: 0;
  margin: 0;
  display: inline;
}

#g-item .g-paginator li.g-info {
  display: block;
  position: absolute;
  right: 340px; /* 640/2 + 10 + 10 */
  top: 260px;
  width: 230px;
  height: 30px;
  padding-top: 10px;
  text-align: right;
  font-style: italic;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/divider_l.png');
  background-position: right top;
  background-repeat: no-repeat;
}

#g-item .g-paginator li.g-first a:hover span,
#g-item .g-paginator li.g-text-right a:hover span {
    display: block;
    position: relative;
    height: 22px;
    top: 10px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}
#g-item .g-paginator li.g-first a:hover span {
    background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/photonav_prev.png');
}

#g-item .g-paginator li.g-text-right a:hover span {
    background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/photonav_next.png');
}

#g-item .g-context-menu {
  display: none;
}

#g-item #g-info {
  width: 230px;
  position: absolute;
  top: 260px; /* (230 + 30) */
  left: 50%;
  margin-left: 340px; /* (640/2 + 10 + 10) */
  padding-top: 10px;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/divider_r.png');
  background-position: left top;
  background-repeat: no-repeat;
}

#g-item #g-info h1 {
  text-align: left;
  font-size: 1em;
  border: none;
}

#g-item .g-block {
  display: block;
  margin: auto;
}

#g-item .g-block#sobriety-actions-menu {
  text-align: right;
  display: block;
  width: 300px; /* 230px is not enought: french is verbose */
  position: absolute;
  right: 50%;
  margin-right: 340px; /* (640/2 + 10 + 10) */
  top: 300px; /* (230 + 30 + 10 + 30) */
}

#g-item .g-block#sobriety-actions-menu h2 {
  font-size: 1em;
  padding-top: 10px;
  text-align: right;
  font-style: italic;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/divider_l.png');
  background-position: right top;
  background-repeat: no-repeat;
}

#g-item .g-block#sobriety-actions-menu ul {
  list-style: none;
  padding: 0;
}






































/* Status and validation messages ~~~~ */

.g-message-block {
  background-position: .4em .3em;
  border: 1px solid #ccc;
  padding: 0;
}

#g-action-status {
  width: 75%;
  float: right;
  margin-bottom: 1em;
}

#g-action-status li,
p#g-action-status,
div#g-action-status {
  padding: .3em .3em .3em 30px;
}

#g-site-status li {
  border-bottom: 1px solid #ccc;
  padding: .3em .3em .3em 30px;
}

.g-module-status {
  clear: both;
  margin-bottom: 1em;
}

.g-message {
  background-position: 0 50%;
}

.g-warning {
  background: #fcf9ce url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/ico-warning.png') no-repeat .4em 50%;
}





/* ~~~~~ Dialog ~~~~~ */

.ui-widget-overlay {
  background: #000;
  opacity: .8;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.ui-dialog {
  background: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/f0f0f0_opacity80.png');
  position: fixed !important;
  padding: 0;
}

.ui-dialog-titlebar {
  display: none;
}

#g-dialog {
  padding: 0 2em 0 15px;
  margin: 0;
  min-height: 64px !important;
}

#g-dialog form,
#g-dialog div#g-edit-permissions-form {
  padding: 0 0 0 63px; /* 48 + 15 */
  margin: 0;
  background-repeat: no-repeat;
  background-position: 0px 1em;
  min-height: 64px; /* ~1em + 48px */
}
#g-dialog form#g-add-album-form {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-add-album-form.png');
}
#g-dialog form#g-edit-album-form {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-edit-album-form.png');
}
#g-dialog form#g-add-photos-form {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-add-photos-form.png');
}
#g-dialog form#g-confirm-delete {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-confirm-delete.png');
}
#g-dialog div#g-edit-permissions-form {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/icons/g-edit-permissions-form.png');
}


#g-dialog form fieldset,
#g-dialog div#g-edit-permissions-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

#g-dialog form fieldset legend,
#g-dialog div#g-edit-permissions-form fieldset legend {
  font-size: 1em;
  font-weight: bold;
  display: block;
  padding: 1em 0 1em 0;
}


#g-dialog form fieldset ul,
#g-dialog div#g-edit-permissions-form fieldset ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#g-dialog form fieldset ul li,
#g-dialog div#g-edit-permissions-form fieldset ul li {
  padding-bottom: 0.8em;
}

/*#g-dialog form fieldset ul li label {
  padding-bottom: 0.5em;
}*/

#g-dialog input.textbox,
#g-dialog input[type=text],
#g-dialog input[type=password],
#g-dialog textarea {
  /*border: 1px solid #000;*/
  width: 100%;
  padding: 0;
  margin: 0;
}

#g-dialog textarea {
  height: 8em;
}

#g-dialog input[type=submit].submit {
  float: right;
}

#g-dialog a.g-cancel {
  float: right;
  -moz-appearance: button;

  -webkit-appearance: push-button;
  color: black;
  cursor: default;
  margin-bottom: 2px;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 2px;
  /*clear: left;*/
}

/* SUPPRESSION */
#g-dialog > div > p {
  padding-left: 63px;
}

#g-dialog form#g-confirm-delete {
  left: 15px;
  min-height: 64px;
  position: absolute;
  right: 2em;
  top: 0px;
}

#g-dialog form#g-confirm-delete fieldset {
  bottom: 0px;
  left: 0px;
  position: absolute;
  right: 0px;
}

#g-dialog form#g-confirm-delete fieldset legend {
  display: none;
}


#g-add-photos-canvas-sd {
  height: 33px;
  /*margin-right: 63px;*/
  position: relative;
}

#g-add-photos-button-sd {
  z-index: 1;
  display: block;
  position: relative;
  width: 150px;
  height: 20px;
  top: 6px;
  padding: 0;
  margin: auto;
}

#g-add-photos-canvas-sd object {
  margin: 0;
  z-index: 100;
  position: relative;
  display: block;
  margin: auto;
  top: -20px;
  /*top: 0;
  left: 50%;
  padding-right: 75px;*/
  /*position: relative;display: none;*/
}

.uploadifyQueue {
  display: none;
}

#g-add-photos-progress {
  margin-top: 1em;
}

#g-add-photos-progress li {
  padding: 0;
}

#g-add-photos-progress-text {
  font-size: 1.2em;
}

#g-add-photos-progressbar-frame {
  width: 100%;
  padding: 0 !important;
  border: 1px solid #aaa;
}

#g-add-photos-progressbar {
  display: block;
  height: 22px;
  width: 0%;
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/pbar-ani.gif');
  background-repeat: repeat-x;
}
#g-add-photos-progressbar.stop {
  background-image: url('https://wuchgallery.chriswuersch.com/themes/sobriety/css/../images/backgrounds/pbar-ani-stop.gif');
}

#g-dialog div#g-edit-permissions-form table {
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  border-spacing: 0px;
  border-collapse: collapse;
}
#g-dialog div#g-edit-permissions-form table a {
  border: none;
}
#g-dialog div#g-edit-permissions-form tbody tr {
  border-bottom: 1px solid #aaa;
}
#g-dialog div#g-edit-permissions-form thead th {
  font-weight: normal;
}
#g-dialog div#g-edit-permissions-form tbody th {
  text-align: left;
}
#g-dialog div#g-edit-permissions-form td {
  width: 65px;
}

/*#g-dialog input[type=submit].submit {
  float: right;
}
#g-dialog a.g-cancel {
  float: left;
  clear: left;
}*/

/* Forms in dialogs and panels ~~~~~~~~~ */

/*#g-dialog ul li {
  padding-bottom: .8em;
}



input[readonly] {
      background-color: #F4F4FC;
}

#g-dialog input.textbox,
#g-dialog input[type=text],
#g-dialog input[type=password],
#g-dialog textarea {
  width: 97%;
}*/

/* Short forms ~~~~~~~~~~~~~~~~~~~~~~~ */

/*.g-short-form legend,
.g-short-form label {
      display: none;
}

.g-short-form fieldset {
      border: none;
        padding: 0;
}

.g-short-form li {
      float: left;
        margin: 0 !important;
          padding: .4em 0;
}

.g-short-form .textbox,
.g-short-form input[type=text] {
      color: #666;
        padding: .3em .6em;
          width: 100%;
}

.g-short-form .textbox.g-error {
      border: 1px solid #f00;
        color: #f00;
          padding-left: 24px;
}

.g-short-form .g-cancel {
      display: block;
        margin: .3em .8em;
}

#g-sidebar .g-short-form li {
  padding-left: 0;
    padding-right: 0;
}*/

/* Dialogs and panels ~~~~~~~~~~~~~~~~~~ */

/*#g-dialog {
  text-align: left;
}



#g-dialog .g-cancel {
  margin: .4em 1em;
}

#g-panel {
  display: none;
    padding: 1em;
}*/

/* Inline layout  ~~~~~~~~~~ */

/*.g-inline li {
      float: left;
        margin-left: 1.8em;
          padding-left: 0 !important;
}

.g-inline li.g-first {
      margin-left: 0;
}*/


