html, body {
    position: relative;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    background-image: url("images/bg.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#clickarea-anywhere {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto.woff2") format("woff2"),
    url("fonts/Roboto.woff") format("woff");
}

body {
    font-family: "Roboto";
    font-size: 16px;
    line-height: 1.5em;
}

.site-header {
    background-color: #333333;
    width: 100%;
    height: auto;
    color: #ffffff;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.site-menu {
    width: 90%;
    height: 100%;
    max-width: 1280px;
    left: -100%;
    right: -100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
}

.site-menu-right {
    position: absolute;
    width: 90%;
    height: 64px;
    max-width: 1280px;
    left: -100%;
    right: -100%;
    margin-left: auto;
    margin-right: auto;
}

.site-menu-item, .site-menu-item-passive {
    height: 100%;
    min-width: 120px;
    text-align: center;
    background-color: #333333;
}

.site-menu-item:hover {
    background-color: #444444;
}

.site-menu-button {
    width: 64px;
    height: 64px;
    background-color: #333333;
    pointer-events: all;
    bottom: 0;
    padding: 0;
}

.site-menu-button:hover {
    background-color: #444444;
}

.site-menu-mobile-button {
    background-color: #333333;
    display: none;
    margin: 0;
    padding: 0;
    pointer-events: all;
}

.site-menu-mobile-button:hover {
    background-color: #444444;
}

.site-menu-icon {
    position: relative;
    width: auto;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 800px) {
    .site-header {
        width: 100%;
        height: 60px;
        display: block;
        flex-direction: unset;
        flex-wrap: unset;
        pointer-events: none;
    }
    
    .site-menu {
        z-index: 1000;
        position: relative;
        visibility: hidden;
        width: 50%;
        height: auto;
        left: 0;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        display: block;
        flex-direction: unset;
        flex-wrap: unset;
        pointer-events: all;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    }
    
    .site-menu-right {
    }
    
    .site-menu-item, .site-menu-item-passive {
        height: 60px;
        max-width: 100%;
        min-width: 100%;
        text-align: left;
        border-bottom: 1px solid #3a3a3a;
    }
    
    .site-menu-button {
        height: 60px;
        max-height: 60px;
        max-width: 100%;
        min-width: 100%;
        margin-left: 0;
    }
    
    .site-menu-mobile-button {
        display: block;
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }
    
    .site-menu-button .site-menu-icon {
        left: 0;
        transform: translate(0, -50%);
        margin-left: 20px;
        margin-right: 0;
    }
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
}

.site-cover {
    width: 100%;
    height: 280px;
    background-color: rgba(0,0,0,0.5);
}

.site-cover-image {
    position: relative;
    width: auto;
    max-width: 90%;
    height: auto;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.site-content {
    width: 90%;
    height: auto;
    max-width: 1280px;
    transform: translateY(-40px);
    left: -100%;
    right: -100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-top: 4px solid #ff9900;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

@media screen and (max-width: 800px) {
    .site-cover {
        height: 200px;
    }
}

@media screen and (max-width: 800px) {
    .site-content {
        width: 100%;
    }
}

.site-text-container {
    padding: 20px;
}

.site-content-bottom {
    width: 100%;
    height: auto;
    background-color: #222222;
    color: #999999;
    font-size: 12px;
}

.site-block-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    color: #ff9900;
}

.site-block-link:hover {
    color: #ffffff;
}

.site-comments {
    background-color: #ffffff;
    width: calc(100% - 40px);
    height: auto;
    padding: 20px;
}

a {
    text-decoration: none;
    color: #ff9900;
}

a:hover {
    text-decoration: underline;
}

.issue-cover {
    border-radius: 5px;
}

.rss-box {
    float: right;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
    .rss-box {
        float: none;
    }
}

/*
@media screen and (min-width: 800px) {
    #clickarea-anywhere {
        display: none;
    }
}
*/

.video_container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0;
    margin-bottom: 20px;
    padding-top: 56.25%;
}

/*
@media screen and (max-width: 800px) {
    .video_container {
        left: 50%;
        transform: translateX(-50%);
    }
}
*/

.video_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*
    margin: 0;
    padding: 0;
    border-width: 0;
    outline-width: 0;
    */
}
