/**************************************
/* BASE
/**************************************/
.popup,
.extract-code-popup,
.extract-asset-popup,
.color-chip-popup,
.measurementPopup,
.measurementOffsetsBanner,
.layer-thumb-popup {
  width: 260px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.24);
  position: absolute;
  z-index: 3000;
  padding: 12px 15px;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0,0,0,0.24);
  box-shadow: 0 3px 9px rgba(0,0,0,0.24);
  -webkit-backface-visibility: hidden;
}
.popup .popup-footer,
.extract-code-popup .popup-footer,
.extract-asset-popup .popup-footer,
.color-chip-popup .popup-footer,
.measurementPopup .popup-footer,
.measurementOffsetsBanner .popup-footer,
.layer-thumb-popup .popup-footer {
  display: block;
  margin: 15px 0 0;
}
.popup .notch,
.extract-code-popup .notch,
.extract-asset-popup .notch,
.color-chip-popup .notch,
.measurementPopup .notch,
.measurementOffsetsBanner .notch,
.layer-thumb-popup .notch {
  position: absolute;
  width: 23px;
  height: 15px;
  overflow: hidden;
}
.popup .notch:after,
.extract-code-popup .notch:after,
.extract-asset-popup .notch:after,
.color-chip-popup .notch:after,
.measurementPopup .notch:after,
.measurementOffsetsBanner .notch:after,
.layer-thumb-popup .notch:after {
  content: "";
  background-color: #fff;
  width: 20px;
  height: 20px;
  display: block;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 1px solid rgba(0,0,0,0.24);
}
.popup.bottom,
.extract-code-popup.bottom,
.extract-asset-popup.bottom,
.color-chip-popup.bottom,
.measurementPopup.bottom,
.measurementOffsetsBanner.bottom,
.layer-thumb-popup.bottom {
  margin-top: 0px;
}
.popup.bottom .notch,
.extract-code-popup.bottom .notch,
.extract-asset-popup.bottom .notch,
.color-chip-popup.bottom .notch,
.measurementPopup.bottom .notch,
.measurementOffsetsBanner.bottom .notch,
.layer-thumb-popup.bottom .notch {
  top: -15px;
}
.popup.bottom .notch:after,
.extract-code-popup.bottom .notch:after,
.extract-asset-popup.bottom .notch:after,
.color-chip-popup.bottom .notch:after,
.measurementPopup.bottom .notch:after,
.measurementOffsetsBanner.bottom .notch:after,
.layer-thumb-popup.bottom .notch:after {
  margin-top: 7.5px;
}
.popup.top,
.extract-code-popup.top,
.extract-asset-popup.top,
.color-chip-popup.top,
.measurementPopup.top,
.measurementOffsetsBanner.top,
.layer-thumb-popup.top {
  margin-top: -15px;
}
.popup.top .notch,
.extract-code-popup.top .notch,
.extract-asset-popup.top .notch,
.color-chip-popup.top .notch,
.measurementPopup.top .notch,
.measurementOffsetsBanner.top .notch,
.layer-thumb-popup.top .notch {
  bottom: -15px;
}
.popup.top .notch:after,
.extract-code-popup.top .notch:after,
.extract-asset-popup.top .notch:after,
.color-chip-popup.top .notch:after,
.measurementPopup.top .notch:after,
.measurementOffsetsBanner.top .notch:after,
.layer-thumb-popup.top .notch:after {
  margin-top: -14px;
}
.popup .title,
.extract-code-popup .title,
.extract-asset-popup .title,
.color-chip-popup .title,
.measurementPopup .title,
.measurementOffsetsBanner .title,
.layer-thumb-popup .title {
  color: #000;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
}
.popup .subtitle,
.extract-code-popup .subtitle,
.extract-asset-popup .subtitle,
.color-chip-popup .subtitle,
.measurementPopup .subtitle,
.measurementOffsetsBanner .subtitle,
.layer-thumb-popup .subtitle {
  margin: 10px 0 0 0;
  font-size: 12px;
  font-weight: 100;
}
.popup .close-button,
.extract-code-popup .close-button,
.extract-asset-popup .close-button,
.color-chip-popup .close-button,
.measurementPopup .close-button,
.measurementOffsetsBanner .close-button,
.layer-thumb-popup .close-button {
  display: none;
}
.popup .close-button:hover,
.extract-code-popup .close-button:hover,
.extract-asset-popup .close-button:hover,
.color-chip-popup .close-button:hover,
.measurementPopup .close-button:hover,
.measurementOffsetsBanner .close-button:hover,
.layer-thumb-popup .close-button:hover {
  background-color: #e6e6e6;
}
.popup .action-button,
.extract-code-popup .action-button,
.extract-asset-popup .action-button,
.color-chip-popup .action-button,
.measurementPopup .action-button,
.measurementOffsetsBanner .action-button,
.layer-thumb-popup .action-button,
.popup .action-button:hover,
.extract-code-popup .action-button:hover,
.extract-asset-popup .action-button:hover,
.color-chip-popup .action-button:hover,
.measurementPopup .action-button:hover,
.measurementOffsetsBanner .action-button:hover,
.layer-thumb-popup .action-button:hover {
  background: #e5e9e8 !important;
  border: 1px solid #adaeae;
  -webkit-box-shadow: inset 0 1px rgba(255,255,255,0.4);
  box-shadow: inset 0 1px rgba(255,255,255,0.4);
  color: #454545;
  font-family: source-sans-pro;
  font-size: 12px;
  float: right;
  min-width: 60px;
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 3px 10px;
}
.popup .action-button:active,
.extract-code-popup .action-button:active,
.extract-asset-popup .action-button:active,
.color-chip-popup .action-button:active,
.measurementPopup .action-button:active,
.measurementOffsetsBanner .action-button:active,
.layer-thumb-popup .action-button:active {
  background: #d3d7d7;
  -webkit-box-shadow: inset 0 1px rgba(0,0,0,0.12);
  box-shadow: inset 0 1px rgba(0,0,0,0.12);
}
.popup select,
.extract-code-popup select,
.extract-asset-popup select,
.color-chip-popup select,
.measurementPopup select,
.measurementOffsetsBanner select,
.layer-thumb-popup select {
  background-color: #e5e9e9;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 3px 15px;
  font-size: 12px;
  width: 66px;
  border: 1px solid #adaeae;
  color: #454545;
  -webkit-box-shadow: inset 0 1px 0 #fff;
  box-shadow: inset 0 1px 0 #fff;
}
/**************************************
/* EXTRACT CODE POPUP
/**************************************/
.extract-code-popup {
  width: 235px;
}
.extract-code-popup.expanded {
  width: 460px;
}
.extract-code-popup.expanded .all-code:after {
  content: "View less";
}
.extract-code-popup textarea,
.extract-code-popup .topcoat-textarea {
  font-size: 12px;
  line-height: 18px;
  width: 100%;
  height: 50px;
  max-height: 200px;
  padding: 2px 4px;
  resize: none;
  margin-bottom: 0px;
}
.extract-code-popup .all-code {
  float: left;
  margin-top: 13px;
  margin-bottom: 0px;
  font-size: 12px;
}
.extract-code-popup .all-code:hover {
  color: #1397d0;
}
.extract-code-popup .all-code:after {
  content: "View more";
}
.extract-code-popup .action-button:after {
  content: "Copy";
}
.extract-code-popup .action-button.clipboard-enabled:after {
  content: "Copy";
}
.extract-code-popup .action-button.zeroclipboard-is-hover {
  background-image: -webkit-linear-gradient(top, #a5a5a5, #a5a5a5);
  background-image: -moz-linear-gradient(top, #a5a5a5, #a5a5a5);
  background-image: -o-linear-gradient(top, #a5a5a5, #a5a5a5);
  background-image: -ms-linear-gradient(top, #a5a5a5, #a5a5a5);
  background-image: linear-gradient(to bottom, #a5a5a5, #a5a5a5);
}
.extract-code-popup .action-button.copied {
  background-image: -webkit-linear-gradient(top, #2da1e4, #0080cf);
  background-image: -moz-linear-gradient(top, #2da1e4, #0080cf);
  background-image: -o-linear-gradient(top, #2da1e4, #0080cf);
  background-image: -ms-linear-gradient(top, #2da1e4, #0080cf);
  background-image: linear-gradient(to bottom, #2da1e4, #0080cf);
  border-color: rgba(30,30,30,0.25);
  pointer-events: none;
}
.extract-code-popup .action-button.copied:after {
  content: "Copied";
}
/**************************************
/* EXTRACT ASSET POPUP
/**************************************/
.extract-asset-popup {
  width: 230px;
  pointer-events: auto;
}
.extract-asset-popup label {
  color: #454545;
  display: block;
  float: right;
  font-size: 12px;
  margin: 0 7px 0 0;
}
.extract-asset-popup .file-name {
  margin: 0px;
  width: 100%;
  font-size: 12px;
}
.extract-asset-popup .optimize {
  width: 100%;
  height: 40px;
}
.extract-asset-popup .optimize-description {
  background-color: #eef0f0;
  margin: 3px 0 0;
}
.extract-asset-popup .format-description {
  height: 100%;
  font-size: 11px;
  margin: 5px;
}
.extract-asset-popup .quality-range {
  width: 80%;
  float: left;
  margin-top: 10px;
}
.extract-asset-popup .quality-percentage {
  margin: 1px 0px 0 3px;
  width: 37px;
  font-size: 12px;
  float: right;
}
.extract-asset-popup .extract-size {
  color: #888;
  float: left;
  font-size: 12px;
  line-height: 24px;
}
.extract-asset-popup .topcoat-button--cta {
  float: right;
}
.extract-asset-popup .select-file-type {
  background-image: url("../images/color_type_arrow.png");
  background-position: right 5px top 10px;
  padding-left: 6px;
  background-repeat: no-repeat;
}
.extract-asset-popup .options {
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 4px;
  position: relative;
}
.extract-asset-popup .options input[type=radio] {
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
}
.extract-asset-popup .options input[type=radio]:checked ~ p {
  background-color: #e0f0fa;
  -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.12);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.12);
  color: #454545;
}
.extract-asset-popup .options .disabled {
  opacity: 0.3;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=30);
}
.extract-asset-popup .options div {
  position: relative;
  display: inline-block;
}
.extract-asset-popup .options div p {
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  border: 1px solid #adaeae;
  border-right: none;
  display: inline-block;
  background-color: #e5e9e9;
  padding: 2px 10px;
  margin: 0px;
  font-size: 12px;
  color: #454545;
}
.extract-asset-popup .options div:first-child p {
  border-left: 1px solid #adaeae;
}
.extract-asset-popup .options div:last-child p {
  border-right: 1px solid #adaeae;
}
/**************************************
/* COLOR CHIP POPUP
/**************************************/
.color-chip-popup {
  width: auto;
  padding: 10px;
}
.color-chip-popup textarea,
.color-chip-popup .topcoat-textarea {
  font-size: 12px;
  width: 157px;
  height: 23px;
  margin: 1px;
  resize: none;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 2px;
}
.color-chip-popup .select-color-format {
  background-image: url("../images/color_type_arrow.png");
  background-position: right 5px top 8px;
  padding-left: 6px;
  background-repeat: no-repeat;
}
.color-chip-popup .color-format {
     display: inline-block;
     font-size: 12px;
     margin-right: 3px;
  }
.color-chip-popup .alpha-list .opacities-label {
  display: inline-block;
  width: 67px;
  font-size: 12px;
  margin: 0px;
}
.color-chip-popup .alpha-list ul {
  list-style: none;
  margin: 8px 0px 0px 0px;
  padding: 0px;
  display: inline-block;
}
.color-chip-popup .alpha-list ul .color-alpha {
  height: 20px;
  background-color: #777;
  display: inline-block;
  margin: 0px 3px 0px 0px;
  padding: 0px 5px;
  min-width: 15px;
  cursor: pointer;
}
.color-chip-popup .alpha-list ul .color-alpha p {
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  margin: 0px;
  color: #fff;
}
.color-chip-popup .alpha-list ul .color-alpha:hover,
.color-chip-popup .alpha-list ul .color-alpha.selected {
  background-color: #0987d3;
}
/**************************************
/* MEASUREMENT POPUP
/**************************************/
.measurementTooltip,
.measurementPopup,
.measurementOffsetsBanner {
  position: absolute;
  overflow: hidden;
  background-color: rgba(0,0,0,0.76);
  -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.24);
  box-shadow: 0 2px 6px rgba(0,0,0,0.24);
  color: #fff;
  width: auto;
  font-size: 12px;
  padding: 10px 12px 9px 12px;
  z-index: 800;
}
.measurementTooltip .measurementElementInfoPos,
.measurementPopup .measurementElementInfoPos,
.measurementOffsetsBanner .measurementElementInfoPos {
  border-right: none;
  padding: 0 0 0 8px;
}
.measurementElementInfoDim {
  vertical-align: top;
  display: inline-block;
  height: auto;
  overflow: hidden;
  padding-right: 8px;
}
.measurementElementInfoPos {
  display: inline-block;
  vertical-align: top;
  height: auto;
  overflow: hidden;
  border-width: 1px;
  border-style: none solid none solid;
  padding: 0 8px 0 8px;
}
.measurementElementAssetExtract {
  vertical-align: top;
  margin-top: 2px;
  background-image: url("../images/extract_asset.png");
  background-repeat: no-repeat;
  width: 23px;
  height: 25px;
  display: inline-block;
  overflow: hidden;
  pointer-events: auto;
}
.measurementElementAssetExtract:hover {
  background-image: url("../images/extract_asset_over.png");
  cursor: pointer;
}
.measurementElementCopyControls {
  height: auto;
  vertical-align: top;
  display: inline-block;
  overflow: hidden;
  padding: 0 0 0 7px;
  pointer-events: auto;
  margin-right: 7px;
}
.measurementElementCopyControls .zeroclipboard-is-hover {
  color: #004a7e;
}
.measurementElementCopyControls > span {
  cursor: pointer;
}
.measurementElementCopyControls .disabled {
  opacity: 0.3;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=30);
  cursor: default;
}
#notificationTooltip {
  position: absolute;
  border: none !important;
  background-color: #004a7e;
  font-size: 12px !important;
  color: #fff;
  padding: 6px 12px !important;
  margin-top: -6px;
  margin-left: -14px;
}
.xOffsetIcon,
.yOffsetIcon {
  background: url("../images/measurement-arrows.png") no-repeat;
  display: inline-block;
  width: 13px;
  height: 13px;
  vertical-align: middle;
  margin-right: 5px;
}
.xOffsetIcon {
  background-position: 0 3px;
}
.yOffsetIcon {
  background-position: 0 -12px;
}
.measurementPopup,
.measurementOffsetsBanner {
  background-color: #00a2ff;
  border: 1px solid #00a2ff;
  overflow: visible;
}
.measurementPopup .notch:after,
.measurementOffsetsBanner .notch:after {
  background-color: #00a2ff;
  border: none;
}
.measurementPopup .measurementElementInfoPos,
.measurementOffsetsBanner .measurementElementInfoPos {
  border-color: #007fff;
}
.measurementPopup .measurementElementAssetExtract,
.measurementOffsetsBanner .measurementElementAssetExtract {
  border-color: #007fff;
}
#measurementPopupInfo {
  white-space: nowrap;
  line-height: 1.3em;
}
.measurementOffsetsBox {
  position: absolute;
  left: 100px;
  top: 200px;
  overflow: visible;
  border: 1px dotted #000;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-filter: drop-shadow(1px 1px 0.5px rgba(255,255,255,0.2));
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.measurementOffsetsBox .measurementOffsetsCanvas {
  position: absolute;
  width: 120;
  height: 179;
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.measurementOffsetsBanner {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  background-color: #000;
  border: 1px solid #000;
  font-size: 12px;
  font-weight: 400;
}
.measurementOffsetsBanner .notch {
  height: 5px;
}
.measurementOffsetsBanner .notch:after {
  margin-top: 5px;
  background-color: #000;
}
.measurementOffsetsBanner .noWrap {
  white-space: nowrap;
}
/**************************************
/*   KEYBOARD SHORTCUTS HELP DIALOG
/**************************************/
.keystroke-window-overlay {
  background-color: rgba(0,0,0,0.5);
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 10000;
  position: absolute;
}
.keystroke-window-wrapper {
  background-color: #dfe2e2;
  position: absolute;
  top: 5%;
  width: 400px;
  max-height: 88%;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 10px 10px 7px;
  border: 1px solid rgba(0,0,0,0.7);
  -webkit-box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(0,0,0,0.24);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(0,0,0,0.24);
}
.keystroke-header {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 5px;
  padding-left: 20px;
}
.keystroke-header-title {
  color: #454545;
  font-size: 21px;
  font-weight: 400;
}
.keystroke-info-icon {
  background-image: url("../images/help-alt.svg");
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-background-size: 20px 20px;
  -moz-background-size: 20px 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  margin: 0 3px 0 0;
  position: relative;
  top: 3px;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
.keystroke-main-col {
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 20px;
}
.keystroke-item {
  margin-top: 5px;
  position: relative;
  display: block;
}
.keystroke-separator {
  border-bottom: 1px solid #c3c6c5;
  margin-bottom: 10px;
}
.keystroke-item-title {
  color: #454545;
  font-size: 12px;
  line-height: 1em;
  font-weight: 700;
}
.keystroke-item-text {
  color: #454545;
  font-size: 11px;
  font-weight: 400;
  margin-top: 9px;
  margin-right: 55px;
  padding-top: 0px;
}
.keystroke-item-keys {
  display: inline-block;
  margin: 0 5px 0 0;
}
.keystroke-item img {
  margin-left: -5px;
  height: 24px;
  width: 24px;
}
.keystroke-item-key {
  display: inline;
  background: #fff;
  border: 1px solid #adaeae;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  color: #000;
  cursor: default;
  font-size: 12px;
  font-weight: 400;
  padding: 1px 6px 1px 6px;
}
/**************************************
/* LAYER THUMB POPUP
/**************************************/
.layer-thumb-popup {
  width: auto;
  height: auto;
  padding: 10px 10px 10px;
  z-index: 4100;
  font-size: 12px;
}
.layer-thumb-popup .layer-thumb {
  max-width: 240px;
  max-height: 240px;
  overflow: hidden;
}
.sprite_preview {
  background: url("../images/light_checker_bg.png");
  border: 1px solid #c4c4c4;
}
