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

html.locked,
html.locked body {
  overflow: hidden;
  height: 100%;
}

.app.locked {
  overflow: hidden;
}

.app-sections {
  background: #FFF;
}

.app-sections__card-breaker {
  clear: both;
  display: block;

  &:after {
    content: '';
    clear: both;
    display: table;
  }
}

@media (min-width: 600px) {
  .app-sections__card-breaker {
    clear: none;
    display: none;
  }
}

@media (min-width: 960px) {

  .app-sections {
    background: none;
  }

  .app__group {
    background: #FFF;
    max-width: 960px;
    margin: 0 auto 20px auto;
    border-radius: 3px;
    @include shadow-z2();

    &:after {
      content: '';
      clear: both;
      display: table;
    }
  }

  .app__group--bottom {
    padding-top: 4px;
    margin-bottom: 155px;
  }

  .app__group--livestream {
    border-radius: 3px;
    overflow: hidden;
  }
}
