/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
 */

@import "bootstrap.min.css";
@import "font-awesome.min.css";
@import "animations.css";
@import "responsive-nav.css";
@import "genericons.css";
@import "wptr.css";

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-overflow-scrolling: touch;
    margin: 0;
}

html, body,
#momo-main,
#momo-pages,
.momo-page,
#content,
.momo-loading {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
/*    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
/*    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
/*    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    font-size:14px;
    margin:0px;
    padding:0px;
    width:100%;
    background: #3e3f3a;
}

/* Portrait layout (default) */
#momo-main {
    display: table;
}

.navbar .nav>li>a,
.navbar .nav>li>a>i.fa {
    line-height: 20px !important;
}
.momo-loading {
    display: table-cell;
    vertical-align: middle; 
    text-align: center;
    padding-bottom: 60px;
}

.momo-loading-text {
    padding: 20px;
}

.momo-page-wrapper,
.momo-frame-wrapper {
    min-height: 100%;
    height: auto !important;
    margin: 0 auto -60px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.momo-image-viewer {
  z-index: 99999;
  background-color: black;
  background-image: url(...);
  background-size: contain;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFF;
}
.momo-image-viewer .momo-page-content-parent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 1%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,1) 99%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(1%,rgba(0,0,0,0)), color-stop(50%,rgba(0,0,0,0.9)), color-stop(99%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 50%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 50%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 50%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 1%,rgba(0,0,0,0.9) 50%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}
.momo-image-viewer a.momo-next,
.momo-image-viewer a.momo-previous {
    position: absolute;
    top: 50%;
    height: 30px;
    width: 30px;
    margin-top: -15px;
    color: #FFF;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .66);
    text-align: center;
}
.momo-image-viewer a.momo-next {
    right: 0;
}
.momo-image-viewer a.momo-previous {
    left: 0;
}
.momo-page iframe {
}
.momo-frame-wrapper {
    /*height: 100% !important;*/
    display: block;
}
.momo-frame-spinner {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    bottom:60px;
    right: 0;
    width:100%;
    height:100%;
}
.momo-frame-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom:60px;
    right: 0;
    width:100%;
    opacity: .5;
    background: #FE007F;
    z-index: 99;
    pointer-events: auto;
}
.disable-overlay .momo-frame-overlay {
    display: none;
}
.momo-page-wrapper:after {
    content: " ";
    display: block;
}
.momo-footer,
.momo-frame-wrapper:after,
.momo-page-wrapper:after {
    height: 60px;
    clear: both;
}
.momo-footer {
    position: relative;
    z-index: 999;
    margin-bottom: 0;
}
.momo-subnavbar {
    margin-top: 1px;
    margin-bottom: 0px;
    border: 0px;
}
.momo-container {
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    position: absolute;
    overflow: hidden;
}
.momo-page-content {
    padding: 20px 0;
}
.momo-page-content > :last-child,
.momo-page-title {
    margin-bottom: 0;
}
.momo-page-content:empty {
    padding: 0;
}
.momo-page iframe {
    width: 100%;
    border: 0;
    z-index: 1;
    min-height: 100%;
    min-height: 100vh; /* fix old views */
    position: relative;
}
.momo-page-pages {
    border-radius: 0px;
}
.momo-page-pages .list-group-item {
    border-radius: 0px;
}

.momo-pages {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.momo-page {
    width: 100%;
    height: auto;
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    visibility: hidden;
    display: none;
    overflow: auto;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    z-index:11;
    background: url("../img/greyzz.png") repeat scroll 0 0 #FFF;
 /*   -moz-box-shadow: 0px 0px 20px rgba(68,68,68,0.6);
    -webkit-box-shadow: 0px 0px 20px rgba(68,68,68,0.6);
    box-shadow: 0px 0px 20px rgba(68,68,68,0.6);

    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30);
    -ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";
    zoom: 1; */
}

img {
    vertical-align: bottom;
}

.momo-page-current,
.no-js .pt-page {
    visibility: visible;
    display: block;
}

.no-js body {
    overflow: auto;
}

.momo-page-ontop {
    z-index: 999;
}
.navbar {
    border: 0;
}

.navbar code {
    color: #79a736;
    background-color: #222;
    vertical-align: bottom;
}
.navbar .navbar-btn.pull-left {
    padding: 0 14px 0 7px;
}
.navbar .navbar-btn.pull-right {
    padding: 0 7px 0 14px;
}
.navbar .col-xs-8 {
    display: table;
}
.navbar-header {
    /*min-width: 300px;*/
}
.parent-navbar-brand {
    display: table;
    height: 60px;
    overflow: hidden;
}
.navbar .navbar-brand {
    /*padding: 10px 7px;*/
    padding: 0;
    float: none;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    line-height: 18px;
    min-width: 100px;
}

.navbar .navbar-btn {
    padding: 0 7px;
}

.btn {
    overflow: hidden;
    text-overflow: ellipsis;
}
.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
.container.small-gutters,
.container-fluid.small-gutters,
.small-gutters > [class*='col-'] {
    padding-right:7px;
    padding-left:7px;
    padding-bottom: 14px;
}
.container.tiny-gutters,
.container-fluid.tiny-gutters {
    padding:12px;
}
.tiny-gutters > [class*='col-'] {
    padding-right:2px;
    padding-left:2px;
    padding-bottom: 4px;
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
}

h1 {
    font-size:24px;
    font-weight:normal;
    margin:0px;
    overflow:visible;
    padding:0px;
}
h5 {
    font-size: 16px;
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}

.top-right {
    position: absolute;
    top: 6px;
    right: 7px;
}

.alert {
    margin: 0;
    border-radius: 0;
}

pre.code {
    color: #fff;
    background: #000000;
}
pre .string { color: #FFFFAF; }
pre .number { color: #D7AF87; }
pre .boolean { color: #7587A6; }
pre .null { color: #828282; }
pre .key { color: #CDA869; }
  
.top-0 {
    margin-top: 0px;
}
.top-10 {
    margin-top: 10px;
}
.top-20 {
    margin-top: 20px;
}
.bottom-0 {
    margin-bottom: 0px;
}
.bottom-10 {
    margin-bottom: 10px;
}
.bottom-20 {
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .navbar .navbar-btn {
        padding-left: 0;
    }
}
