/*
 * Copyright 2018 The Outline Authors
 *
 * 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.
 */

/* Copy of style.css with changes for new Cloud Installation Page */

/* If Polymer fails to load, this prevents the styles in <core-style> elements
   from being erroneously displayed to the user. */
core-style {
  display: none;
}

paper-dropdown {
  box-shadow: 0px 0px 20px #999999;
}

/* Show gray background when a dialog is opened */
core-overlay-layer.core-opened {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #263238;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.54);
  -webkit-font-smoothing: antialiased;
}

div#wrapper {
  min-height: 100%;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

section:not(#header):not(:last-of-type) {
  border-bottom: 1px solid #eee;
  padding: 100px 40px;
}

@media screen and (max-width: 630px) {
  section:not(#header):not(:last-of-type) {
    padding: 70px 40px;
  }
}

section:last-of-type {
  border-bottom: none;
  padding: 100px 40px 0;
}

/* headings */

h1,
h2,
h3,
h4 {
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.5em;
}

h1 {
  font-size: 40px;
  padding-top: 12px;
  margin-bottom: 17px;
}

h2 {
  font-weight: 500;
  font-size: 16px;
}

h3 {
  font-weight: 400;
  line-height: 28px;
  font-size: 16px;
  margin: 0px 0px 14px 0px;
  padding: 14px 12% 32px 12%;
}

h3 span {
  font-weight: 500;
}

h4 {
  font-size: 14px;
  font-weight: 500;
}

/* normal text and links */
p {
  color: var(--medium-gray);
  font-size: 14px;
  line-height: 1.5em;
}

a {
  text-decoration: none;
}

a:hover {
  color: #00ac9b;
}

p a {
  color: #808080;
}

/* pre */
pre {
  font-family: monospace;
}

paper-menu {
  white-space: nowrap;
}

paper-progress {
  border-radius: 2px;
}
