/*
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

 html,
 body {
    margin: 0;
    padding: 0;
    overflow-x:hidden;
    overflow-y: hidden;
    display: block;
    left: 0;
    right: 0;
    height: 100%;
    min-height: 300px;
 }

.app-main {
  left: 0;
  right: 0;
  height:100%;
  padding-top: 10px;
}

.app-container {
  left: 0;
  right: 0;
  height:100%;
}

 .main-dataset-grid {
  padding: 0;
  display: block;
  align-items: center;
  height:100%;
 }

 .welcome {
  display: block;
  white-space: 'nowrap';
  overflow: 'hidden';
 }

.bold {
    font-weight: bold;
}

.selected-dataset {
    background-color: #b3b3b3;
}

.hover-dataset {
    background-color: #ececec;
}

.content-group {
  padding: 10px 0 10px 0;
}

/* Search, Description, Titles */

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.search-style {
    height: 32px;
    width: 100%;
    top: 54px;
    left: 16px;
    right: 16px;
    padding: 5px 0px 5px 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: 14px;
}

.search-style::-ms-clear {  display: none; width : 0; height: 0; }
.search-style::-ms-reveal {  display: none; width : 0; height: 0; }

.search-container {
  position: relative;
  width: 100%;
}

.search-container-internal {
  width: calc(100% - 38px) !important;
}

.envChoice {
  position: absolute !important;
  color: #969696 !important;
}

.ms-ContextualMenu-header span {
  color: black !important;
}

@media (max-width: 150px) {
  .search-container {
    display: none;
  }

  .envChoice {
    display: none;
  }
}

.search_clear {
  position: absolute !important;
}

.search_clear:hover {
  background-color: #D2D0CE;
  border: 1px solid #969696;
}

.search_clear:focus {
  background-color: #D2D0CE;
  border: 1px solid #969696;
}

@media screen and (-ms-high-contrast: active) {
  /* All high contrast styling rules */
  .search_clear:hover {
    background-color: #D2D0CE;
  }

  .search_clear:focus {
    background-color: #D2D0CE;
  }
}

.search_img {
  position: absolute;
}

.description {
  width: 100%;
  height: 18px;
  margin-left: 6px;
  top: 102px;
  font-size: 14px;
  margin: 0px;
  text-overflow: 'ellipsis';
  white-space: 'nowrap';
  overflow: 'hidden'
}

@media (max-width: 230px) {
  .description {
    display: none;
  }
}

/* Error Screen */

.error-text {
  line-height: 20px;
  font-size: 14px;
  text-overflow: 'ellipsis';
  display: 'flex';
  align-items: center;
  padding: 4px;
}

.error-link {
  color: inherit;
  text-decoration: none;
}

.error-link:hover {
  text-decoration: underline;
}

.error-link:focus {
  text-decoration: underline;
}

.error-header {
  padding: 5px 2px 5px 2px;
  font-size: '14px';
  text-overflow: 'ellipsis';
  white-space: 'nowrap';
  overflow: 'hidden';
}

.main-error-grid {
  padding: 0;
  display: block;
  align-items: center;
 }

.dataset-title-row {
  margin-left: 6px;
  margin-right: 10px;
  padding-top: 20px;
  display: flex;
}

@media (max-width: 290px) {
  .dataset-title-row {
    display: none;
  }
}

.dataset-label {
  flex: 100%;
  height: 20px;
}

.error-group-start {
  padding-top: 10px;
}

.expandable-header::before {
  content: '▶';
  padding: 4px;
}

.expandable-header:hover {
  text-decoration: underline;
}

.expandable-header:focus {
  text-decoration: underline;
}

/* Endorsement label */

.endorsement-label {
  flex: none;
  width: 115px;
  height: 20px;
}

.endorsement-badge-left {
  position: absolute;
  line-height: initial;
  display: inline-block;
  border-radius: 3px;
  height: 26px;
  width: auto;
  right: 200px;
  overflow: hidden;
  text-overflow: clip;
  background-color: white;
  top: 12px;

  z-index: 100;
}

.endorsement-badge-right {
  position: absolute;
  line-height: initial;
  display: inline-block;
  border-radius: 3px;
  height: 26px;
  width: auto;
  right: 14px;
  overflow: hidden;
  text-overflow: clip;
  background-color: white;
  top: 12px;

  z-index: 100;
}

.endorsement-type {
  font-size: 12px;
  position: relative;
  vertical-align: middle;
  bottom: 8px;
  padding-left: 3px;
  padding-right: 3px;
}

.promoted {
  border: 1px solid #045999;
  color: #045999;
  height: 26px;
}

.certified {
  border: 1px solid #1C6512;
  color: #1C6512;
  height: 26px;
}

/* Dataset Entry Card */

.datasetEntry-card {
  border: 1px solid #c6c6c6;
  color:  #323130;
  margin: 4px;
  padding: 5px 4px;
  background-color: rgb(255, 255, 255);
  display: block;
  width: calc(100% - 20px);
  left: 16px;
  cursor: pointer;
  overflow: hidden;
}

.datasetEntry-card:hover {
  background-color: #D2D0CE;
  border: 1px solid #969696;
}

.datasetEntry-card:focus {
  background-color: #D2D0CE;
  border: 1px solid #969696;
}

/* Hiding card labels */
@media (max-width: 250px) {
  .datasetEntry-label {
    display: none;
  }

  .datasetEntry-value {
    width: 100% !important;
  }
}

.datasetEntry-card-inner {
  padding: '0px'
}

.datasetEntry-card-title {
  margin-top: 5px;
  margin-left: 8px;
  margin-bottom: 7px;
  font-size: 14px;
  max-height: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.datasetEntry-card-title-no-label {
  margin-top: 5px;
  margin-left: 8px;
  margin-bottom: 7px;
  font-size: 14px;
  max-height: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dataset-card-details-row {
  overflow: hidden;
  max-height: 18px;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* Hiding endorsement labels */
@media (max-width: 290px) {
  .datasetEntry-card-title {
    width: calc(100% - 10px);
  }

  .workspace-row {
    width: calc(100% - 10px);
  }

  .endorsement-badge-left {
    display: none;
  }

  .endorsement-badge-right {
    display: none;
  }
}

/* Showing endorsement labels */
@media (min-width: 291px) {
  .datasetEntry-card-title {
    width: calc(100% - 130px);
  }
}

.datasetEntry-card-title-no-label {
  width: calc(100% - 10px);
}

.datasetEntry-card-inner {
  width: 100%;
  padding: 0px 0px;
}

.fontColor-datasetEntry-category {
  color: #605E5C;
  font-size: 12px;
}

.fontColor-datasetEntry-value {
  color: #000000;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.datasetEntry-sensitivity-value {
  width: calc(100% - 20px);
  float: left;
  margin-bottom: '4px';
}

hr.divider {
  border: none;
  border-top: 1px solid #E1DFDD;
  overflow: visible;
  text-align: center;
  height: 5px;
  left: 12px;
  right: 12px;
  top: 0px;
  margin-top: 10px;
  margin-bottom: 0px;
}

.icon {
  height: 16px;
  width: 16px;
}

/* Loading Screen */

.versionLabel {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  text-align: center;

  color: #969696;
}

/* Pagination */

.ArrowKeyStepperWrapper {
  flex: 1 1 auto;
  height: calc(100% - 130px);
}

.ArrowKeyStepperWrapper > div {
  height:100%;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.FocusedCell {
  background-color: #D2D0CE;
  border: 1px solid #969696;
}