/* Copyright 2017 Esri
 *
 * 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.
 *
 */

 html {
   overflow: hidden !important;
 }

 div#app-container > div.container {
   overflow: hidden;
   width: 100vw;
   height: 100vh;
   display: flex;
   flex-direction: column;
 }

 .hidden {
   display: none !important;
 }

 .top-nav {
   padding: 0 20px 0 20px;
   flex: 0 0 auto;
 }

 .app-main {
   position: relative;
   flex: 1 0 auto;
 }

 .websceneview {
   position: absolute;
   height: 100%;
   width: 100%;
 }

 .websceneview > div {
   width: 100%;
   height: 100%;
 }

 .app-widgets {
   margin: 15px;
   float: right;
 }

 .time-nav,
 .shadow-nav {
   width: 300px;
   margin-bottom: 5px;
 }

 .time-nav > div> label,
 .shadow-nav > div > fieldset {
   margin: 0;
 }

 .identity {
   display: flex;
   align-items: center;
 }

 .identity > .dropdown > button {
   display: flex;
   align-items: center;
   padding: 13px 0 12px 0;
 }

 .identity > .dropdown > button > img {
   width: 36px;
   height: 36px;
   margin-right: 10px;
 }

 .identity > .dropdown > button > i {
   margin-left: 10px;
 }


 /* Calcite fixes */

 button.top-nav-link {
   cursor: pointer;
   background: inherit;
   border-left: none;
   border-right: none;
   border-top: none;
   box-sizing: border-box;
   margin: 0; /* Safari adds a 2px margin to buttons for no reason */
 }

 button.dropdown-link {
   cursor: pointer;
   background: inherit;
   border: none;
 }
