/*******************************/
/* Gif/Png Export Setting panel*/
/*******************************/
.gif-download-button,
.gif-render-button {
  margin-top : 10px;
  margin-right : 10px;
}

.gif-export-preview,
.png-export-preview {
  position:relative;
  margin-top:10px;
  max-height:32px;
}

.gif-export-preview {
  max-width:32px;
}

.png-export-preview img {
  max-height:32px;
  float: left;
}

.png-export-preview .light-picker-background {
  max-width:240px;
}

.gif-upload-status {
  width: 180px;
  margin-left: 5px;
  margin-top: 10px;
}

.gif-upload,
.png-export-preview {
  overflow: hidden;
}

.gif-upload-status,
.gif-export-preview {
  float : left;
}

.preview-upload-ongoing:before{
  content: "Upload ongoing ...";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  text-align: center;
  padding-top: 45%;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  background: rgba(0,0,0,0.5);
  color: white;
}

.export-scale {
  margin-bottom: 10px;
}

.export-scale .scale-input {
  margin: 5px;
  vertical-align: middle;
  width: 150px;
}

.export-scale .scale-text {
  height: 31px;
  display: inline-block;
  line-height: 30px;
  width: 40px;
  border: 1px solid grey;
  box-sizing: border-box;
  border-radius: 3px;
  text-align: center;
}

.export-resize {
  margin: 10px 0;
  overflow: hidden;
}

.export-resize > * {
  float: left;
}

.export-resize > *:not(:last-child) {
  margin-right: 10px;
}

.export-resize > .resize-field {
  width: 70px;
}

.export-resize > .resize-label {
  height: 23px;
  line-height: 23px;
}

.export-tabs {
  overflow: hidden;
  position: relative;
}

.export-tabs:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  z-index: 0;
  background-color: gold;
}

.export-tab {
  float: left;
  cursor: pointer;
  padding: 5px;
  border: 1px solid transparent;
  /* Make sure the tab and its border are positioned above the :after element; */
  position: relative;
  z-index: 1;
}

.export-tab.selected,
.export-tab:hover {
  color: gold;
}

.export-tab.selected {
  border-color: gold gold #444 gold;
  border-style: solid;
  border-width: 1px;
}

.export-info {
  padding: 10px 5px 0px;
  font-weight: normal;
  text-shadow: none;
  font-style: italic;
}

.export-panel-section {
  padding: 5px;
  margin-top: 10px;
  border: 1px solid #5d5d5d;
  border-radius: 2px;
}

.export-panel-row {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.export-panel-gif .button {
  margin-right: 5px;
  width: 75px;
  flex-shrink: 0;
}

.export-panel-png .textfield {
  width: 50px;
}

.png-export-dimension-info {
  font-style: italic;
  font-weight: normal;
  margin-left: 5px;
}

#png-export-columns {
  /* Override default textfield padding-right to keep the number spinners
     aligned to the right. */
  padding-right: 0;
}
