/**
 * Shamelessly ripped from Valve's Invoker kid persona leaf page.
 **/

@import url("s2r://panorama/styles/dotastyles.css");
@import url("file://{resources}/styles/shared/variables.css");

@define fgColor: #3c1b18;

.ViewerRoot {
  width: 100%;
  height: 100%;
}

.ViewerRoot.Hide {
  visibility: collapse;
}

.CloseButton {
  horizontal-align: right;
  width: 36px;
  height: 36px;
  margin-top: -4px;
  margin-right: -4px;
  wash-color: #fff;
}

.RefreshButton {
  horizontal-align: left;
  width: 36px;
  height: 36px;
  margin-top: -4px;
  margin-left: -4px;
  visibility: collapse;
  wash-color: #fff;
}

.Development .RefreshButton {
  visibility: visible;
}

.Viewer {
  horizontal-align: right;
  width: 640px;
  height: 840px;
  margin-top: 80px;
  margin-right: 180px;
  opacity: 1;
  transition-duration: 0s;
  transition-property: opacity;
}

.ViewerRoot.Hide .Viewer {
  opacity: 0;
  transition-duration: 1s;
}

.ViewerInformationBackground {
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: viewerBackground;
  background-repeat: no-repeat;
  background-size: contain;
}

.ViewerInformationBody {
  flow-children: down;
  width: 100%;
  margin-top: 60px;
}

#ViewerTitle {
  width: 555px;
  padding: 0 25px;
  margin-left: 45px;
  font-size: 21px;
  font-weight: black;
  color: fgColor;
  text-align: center;
  text-overflow: shrink;
  text-shadow: 0 0 5px 1px #000;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#ViewerScrollPanel {
  align: center top;
  width: 80%;
  height: 600px;
  padding-right: 20px;
  padding-bottom: 10px;
  overflow: squish scroll;
  opacity-mask: softEdgeVScrollWideMask;
}

#ViewerPropertiesSection {
  horizontal-align: center;
  width: 65%;
}

#ViewerDescription {
  width: 100%;
  margin-top: 18px;
  font-size: 18px;
  font-weight: semi-bold;
  line-height: 21px;
  color: fgColor;
  text-align: left;
}

.ViewerSection {
  flow-children: down;
  width: 100%;
  margin-top: 20px;
}

.ViewerSection .SectionLabel {
  font-size: 18px;
  font-weight: semi-bold;
  color: fgColor;
}

.ViewerSection .SectionHeader {
  flow-children: right;
  width: 100%;
  margin-bottom: 8px;
}

.ViewerSection .SectionHeader .SectionLabel {
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 2px 1 fgColor;
  text-transform: uppercase;
}

.ViewerSection .SectionRow {
  flow-children: right;
  width: 100%;
}

.ViewerAbilitiesBuildSection .ViewerAbilitiesBuild {
  flow-children: right;
  horizontal-align: center;
  margin-top: 22px;
  margin-bottom: 10px;
}

.ViewerAbilitiesBuild .AbilityCircle {
  width: viewerAbilityCircleSize;
  height: viewerAbilityCircleSize;
  border-radius: viewerAbilityCircleBorderRadius;
  box-shadow: #1c1d20ee 0 0 8px 0;
}

.ViewerAbilitiesBuildSection .ViewerOrb {
  margin-left: 8px;
}

.ViewerAbilitiesBuildSection .ViewerOrbLabel {
  align: right bottom;
  margin-right: 8px;
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: bold;
  color: fgColor;
  text-shadow: 1px 1px 1px #fffd;
  opacity-mask: softEdgeBoxIrregularMask;
}

#ViewerTalents {
  horizontal-align: middle;
  vertical-align: middle;
  tooltip-body-position: 33%;
  tooltip-position: left;
}

#ViewerSequence {
  flow-children: down;
  margin-top: 26px;
}

.ViewerVideo {
  width: 500px;
  height: 250px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: fill 0 2px 8px 0 rgba(0, 0, 0, 0.6);
}

.ViewerImage {
  max-width: 500px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: fill 0 2px 8px 0 rgba(0, 0, 0, 0.6);
}

.ViewerInlineImage {
  max-height: 200px;
  margin: 8px 10px 20px 0;
  box-shadow: fill 0 2px 8px 0 rgba(0, 0, 0, 0.6);
}

.ViewerFooter {
  horizontal-align: center;
  margin-bottom: 60px;
  vertical-align: bottom;
}

.ViewerButtons {
  flow-children: right;
  horizontal-align: center;
}

.ViewerButtons .PlayButton {
  width: 206px;
  height: 49px;
  background-color: viewerPlayButtonGradient;
  border-top: 1px solid #faa46a;
  box-shadow: #27110250 0 0 12px;
  opacity: 0.9;
  wash-color: #9992;
  transition-duration: 0.2s;
  transition-property: background-color;
}

.ViewerButtons .PlayButton:hover {
  background-color: viewerPlayButtonHoverGradient;
}

.ViewerButtons .PlayButton:active {
  wash-color: white;
}

.ViewerButtons .PlayButton .PlayLabel {
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  color: #d5d7d7;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  vertical-align: center;
}

.ViewerButtons .PlayButton:hover .PlayLabel {
  color: white;
}

/*****
 * Classes used within HTML content
 *****/

#ViewerTitle .sub-title,
#ViewerDescription .sub-title {
  font-size: 18px;
  font-weight: bold;
}

#ViewerTitle .intro-text,
#ViewerDescription .intro-text {
  font-size: 21px;
  font-weight: bold;
}
