/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * 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.
 */

.demo-ribbon {
  width: 100%;
  height: 40vh;
  background-color: #3F51B5;
  background-image: url('img/header.jpg');
  background-position: center center;
  background-size: cover;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.demo-main {
  margin-top: -35vh;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.demo-header .mdl-layout__header-row {
  padding-left: 40px;
}

.demo-container {
  max-width: 1600px;
  width: calc(100% - 16px);
  margin: 0 auto;
}

.demo-content {
  border-radius: 2px;
  padding: 80px 56px;
  margin-bottom: 120px;
}

.demo-layout.is-small-screen .demo-content {
  padding: 40px 28px;
}

.demo-content h3 {
  margin-top: 48px;
}

.demo-footer {
  padding-left: 40px;
}

.demo-footer .mdl-mini-footer--link-list a {
  font-size: 13px;
}


/*
* custom
*/

footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

main {
    position: absolute;
    min-height: calc(100% -100px);
}

/*
* file upload
*/
.file_input_div {
  /*margin: 0 auto;*/
  width: 140px;
  height: 40px;
}

.file_input {
  float: left;
}

#file_input_text_div {
  width: 67%;
  margin-top: -8px;
  margin-left: 5px;
}

.none {
  display: none;
}

.margin-top-80px {
    margin-top: 80px;
}
.margin-top-40px {
    margin-top: 40px;
}
.margin-top-20px {
    margin-top: 20px;
}

.bold {
    font-weight: bold;
}
.button-inline {
    display: inline-block;
}
.sticky {
    display: block;
    right: calc(7vw/2);
    top: 35vh;
    padding: 15px;
    z-index: 900;
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.sticky h5 {
    margin-top: 0;
}
.sticky button {

}

@media (max-width: 840px) {
    .sticky{
        position: inherit;

        box-shadow: none;
        padding: 0;
    }
}
@media (min-width: 840px) {
    .sticky{
        position: fixed;
    }
}
@media (max-width: 1024px) {
    .sticky{
        right: 5px;
    }
}
