header, main, footer {
    padding-left: 360px;
}

main {
    overflow:hidden;
}

@media only screen and (min-width: 0) {
    html {
        font-size: 14.5px;
    }
}

@media only screen and (min-width: 1200px) {
    html {
        font-size: 14.5px;
    }
}

@media only screen and (max-width: 992px) {
    header, main, footer {
        padding-left: 0;
    }
    .sidenav.sidenav-fixed {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        position: static;
        width: 100% !important;
    }
}

#nav-mobile li.search {
    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    margin-top: 1px;
    padding: 1px 0 0 0;
    z-index: 2;
}

ul.sidenav.sidenav-fixed {
    width: 360px;
}

ul.sidenav.sidenav-fixed li.logo {
    text-align: center;
    padding-top: 32px;
    padding-bottom: 39px;
    margin-bottom: 62px;
    background-image: url(/images/trianglify.svg);
    background-size: cover;
}

#nav-mobile li.search .search-wrapper {
    color: #777;
    margin-top: -1px;
    /* border-top: 1px solid rgba(0,0,0,0.14); */
    -webkit-transition: margin .25s ease;
    transition: margin .25s ease;
    border-bottom: 1px solid rgba(0,0,0,0.14);
}

#nav-mobile li.search .search-wrapper input#search {
    color: #777;
    display: block;
    font-size: 16px;
    font-weight: 300;
    width: 100%;
    height: 62px;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 45px 0 30px;
    border: 0;
}

#nav-mobile li.search .search-wrapper i.material-icons {
    position: absolute;
    top: 21px;
    right: 10px;
    cursor: pointer;
}

.sidenav #summary {
    /* border-bottom: 1px solid rgba(0,0,0,0.14); */
}
#page-list ul li:first-child {
    border-top: 1px solid rgba(0,0,0,0.14);
}
#page-list ul li {
    line-height: 24px;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.14);
}
#page-list ul li .page-title, #page-list ul li .page-url {
    padding: 0 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
}

#page-list ul li .page-url {
    color: #999;
}

#page-list ul li:hover {
    background-color: #f5d2a3;
}
#page-list ul li.active {
    background-color: #e6886e;
    color: #fff;
}

#page-list ul li.active .page-url {
    color: #ddd;
}
#preview #timeline {
    height: 72px;
    border-bottom: 1px solid rgba(0,0,0,0.14);
}

#timeline {
    overflow-x: scroll;
}

#timeline ul {
    white-space: nowrap;
    margin: .2rem 0 0 0;
}

#timeline ul li {
    white-space: normal;
    display: inline-block;
    cursor: pointer;
    height: 48px;
    padding: .2rem .4rem;
    width: 100px;
    text-align: center;
    margin: 0 .2rem;
}

#timeline ul li.active {
    background-color: #e6886e;
    color: #fff;
}

#preview #frame {
    height: calc(100vh - 72px);
    width: 100%;
}

#preview #frame #iframe {
    width: 100%;
    height: 100%;
    border: none;
}

a.sidenav-trigger.top-nav i {
    font-size: 32px;
}

#cnzz_stat_icon_1275613491 {
    display: none;
}

li.logo {
    position: relative;
}
li.logo #donate-flag::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255,255,128,0.85);
}
li.logo #donate-flag {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
li.logo #donate-flag i {
    position: absolute;
    bottom: 1px;
    right: -3px;
    font-size: 20px;
}
