/*******************************************************************
 * Dialog wide styles
 */

#g-organize {
  margin: 0 !important;
  min-height: auto;
  padding: 0 !important;
  position: relative;
  width: 100%;
}

#g-organize-content-pane {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  width: 100%;
}

/*******************************************************************
 * Album Tree styles
 */

#g-organize #g-organize-tree-container {
  margin: 0;
  min-height: 100%;
  padding: 0;
  position: relative;
  width: 20%;
}

#g-organize #g-organize-tree-container h3 {
  margin-bottom: 0.1em;
}

#g-organize-album-tree {
  overflow: auto;
}

#g-organize-album-tree ul li {
  padding: 0 0 .2em 1.2em;
  width: 90%;
}

.rtl #g-organize-album-tree ul li {
  padding: 0 1.2em .2em 0;
  width: 90%;
}

.g-organize-album span {
  cursor: pointer;
}

.g-organize-album-text {
  cursor: pointer;
  display: block;
  margin: 2px 0px 1px 2px;
  width: auto;
}

.rtl .g-organize-album-text {
  cursor: pointer;
  display: block;
  margin: 2px 2px 1px 1px;
  width: auto;
}

.g-organize-album-text:hover {
  border-width: 1px;
  border-style: dotted;
}

/*******************************************************************
 * Album panel styles
 */

#g-organize #g-organize-detail {
  margin: 0 !important;
  min-height: 100%;
  padding: 0 !important;
  position: relative;
  width: 80%;
}

#g-organize #g-organize-detail .g-message-block {
  margin: 0;
}

#g-organize #g-organize-detail .g-message-block li {
  padding-bottom: .2em;
  padding-top: .2em;
  width: auto;
}

#g-organize-microthumb-grid {
  border-width: 1px;
  border-style: solid;
  bottom: 1.8em;
  left: 0;
  margin: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  padding: .4em !important;
  position: absolute;
  right: 0;
  top: 1.6em;
}
.g-organize-microthumb-grid-cell {
  display: block;
  height: 100px;
  margin: 6px;
  padding: .4em 0 !important;
  position: relative;
  text-align: center;
  width: 110px;
}

.ui-selectable-helper {
  z-index: 2000 !important;
}

.g-organize-microthumb-grid-cell .ui-icon {
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: 4000;
}

/****************************************************************
 * Controls styles
 */

#g-organize-controls {
  bottom: 0;
  height: 1.9em;
  left: 0;
  margin: 0 !important;
  padding: .1em .4em;
  position: absolute;
  right: 0;
}

#g-organize-controls #g-organize-sort-order-text {
  padding: .2em 0 0 0;
}


#g-organize-controls select {
  margin-left: .42em;
  display: inline;
}

#g-organize-close {
  margin-right: 12px;
}
