@import 'styles_config';

.prgv_content {
  display: flex;
  flex-direction: column;

  color:  $LAYER1_FG;
  border: $LAYER1_BORDER;
  background-color: $LAYER1_BG;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#prgv_header h1 {
  font-size: 48pt;
  text-align: center;
  margin-top: 5px;
}

#prgv_header hr {
  background: -moz-radial-gradient(   circle, $COL_RADIAL_UNDERLINE_START,   $COL_RADIAL_UNDERLINE_END);
  background: -webkit-radial-gradient(circle, $COL_RADIAL_UNDERLINE_START 0%,$COL_RADIAL_UNDERLINE_END 100%);
}

.prgv_top {
  display: flex;
  flex-direction: row;
  margin-top: 15px;
}

.prgv_left {
  display: inline-flex;
  justify-content: center;

  border: $LAYER2_BORDER;

  flex-grow: 1;
  margin-left: 10px;

  margin-top: auto;
  margin-bottom: auto;
}

.prgv_left img {
  height: 100%;
  width: 100%;
  object-fit: contain
}

.prgv_right {
  background: $LAYER2_BG;
  border: $LAYER2_BORDER;
  color: $LAYER2_FG;
  margin: 0 10px;
  padding: 8px 5px 2px 5px;

  min-height: 250px;
  min-width:  235px;

  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto auto auto 1fr auto;
  grid-column-gap: 15px;
  grid-row-gap: 2px;
}

.prgv_right_key {
  font-weight: bold;
}

.prgv_right_value a {
  color: $LAYER2_FG;
  text-decoration: none;
}

.prgv_right_value a:hover {
  color: $LAYER2_FG_LINKHOVER;
  text-decoration: none;
}

.prgv_right_comb {
  grid-column: 1 / span 2;
}

.prgv_right_lang {
  display: flex;
  justify-content: flex-end;
}

.prgv_dl_download { background: $COL_BUTTON_DOWNLOAD_PRIMARY; }
.prgv_dl_github   { background: $COL_BUTTON_DOWNLOAD_GITHUB; }

.prgv_right_lang img {
  display: inline;
  height: 16pt;
  max-width: 32px;
  margin: 1px 2px 0 2px;
}

.prgv_center {
  margin: 0 8px 8px 8px;
  padding: 16px;
  background: $LAYER2_TXTBLOCK_BG;
  color: $LAYER2_TXTBLOCK_FG;
  border:$LAYER2_TXTBLOCK_BORDER;
}

.prgv_sep {
  margin: 40px 0 40px 0;
  display: block;
  border: none;
  color: white;
  height: 1px;
  background-color: $COL_RADIAL_UNDERLINE_START;
  background: -moz-radial-gradient(   circle, $COL_RADIAL_UNDERLINE_START,   $COL_RADIAL_UNDERLINE_END);
  background: -webkit-radial-gradient(circle, $COL_RADIAL_UNDERLINE_START 0%,$COL_RADIAL_UNDERLINE_END 100%);
}

@include rdmedia_range(0,2)  {
  .prgv_content { border: none; }
}

@include rdmedia(0)  {

  .prgv_top {
    flex-direction: column;
    margin-top: 0;
  }

  .prgv_left {
    margin: 0 10px 10px 10px;
  }

  .prgv_right {
    min-height: 0;
    min-width:  0;
  }

  .prgv_right_lang {
    justify-content: space-evenly;
  }

  #prgv_header h1 {
    font-size: 28pt;
  }
}

.progv_extra {
  height: 500px;
  border: $LAYER2_BORDER;
  background: $LAYER2_BG;
  margin: 10px;
}