/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.hidden {
  display: none;
}

.page {
  padding: 0;
  margin: 0;
  height: 500px;
  width: 100%;
  overflow-x: hidden;
  color: #fff;
  opacity: 1;
  transition: opacity .5s;
}

.page.hidden {
  height: 0;
  width: 0;
  overflow: hidden;
  position: relative;
  opacity: 0;
  display: block;
}

.settings.page.hidden {
  display: none;
}

.mat-tab-group.inSetupFlow.hidden {
  display: block;
  opacity: 0;
  visibility: hidden;
}

.page.fullHeight {
  height: 100%;
}

.container {
  margin: auto;
  left: 0; right: 0;
  top: 0; bottom: 0;
  box-shadow:0px 0px 50px 0px rgba(0,0,0,0.2);
  position: absolute;
  /* Note: see notes in knob_page.component.ts about transitions. */
  transition: background-color 0.5s ease-in-out;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color, #512DA8);
}

.menuIcon {
  height: 20px;
  width: 20px;
  opacity: 1;
  /** Transition enabled for fading in after opening flow. */
  transition: opacity 1s ease-in-out 0.4s;
}

.menuIcon.aboutIcon {
  height: 16px;
  width: 15px;
}

.app-navigation.inSetupFlow .menuIcon {
  opacity: 0;
}

.fullWidthTab {
  width: 100%;
}

.tab {
  backgroundColor: #fff;
}
