﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: "Glyphicons Halflings";
    src: url(/fonts/glyphicons-halflings-regular.ttf) format("truetype");
}

@font-face {
    font-family: "El Messiri";
    src: url(/fonts/ElMessiri-Bold.ttf) format("truetype");
}

html, body, .react-app, .row {
    height: 100vh;
    background: #222;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    margin: 0;
    width: 100vw;
}

img {
    vertical-align: middle;
    border: 0;
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.glyphicon-home:before {
    content: "\E021";
}

a {
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        text-decoration: underline;
    }

h1 {
    font-size: 36px;
    margin: 0.67em 0;
}

h2 {
    font-size: 30px;
    border-top: 1px solid #888;
    padding-top: 4px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
}

.sr-only {
    position: absolute;
    left: -100000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {

    nav.wizbar {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        overflow: hidden;
    }

        nav.wizbar.responsive {
            display: block;
        }

    .wiznav {
        width: 100%;
        padding-top: 10px;
        border-bottom: 8px solid #E34234;
    }

        .wiznav .wizbar-header {
            float: none;
            display: inline-block;
        }

        .wiznav a.link-to-home {
            display: inline-block;
            margin-right: 30px;
        }

        .wiznav img.logo {
            max-height: 50px;
        }

    @keyframes grow-max-height {
        from {
            max-height: 50px;
        }

        to {
            max-height: 500px;
        }
    }

    .wiznav .wiznav-links {
        display: inline-block;
        justify-content: space-between;
        flex-direction: row;
        max-height: 50px;
    }

    .responsive .wiznav-links {
        display: flex;
        width: 100%;
        flex-direction: column;
        max-height: 500px;
        animation-name: grow-max-height;
        animation-duration: 1s;
    }

    .wiznav .wiznav-links a {
        color: #eee;
        font-weight: bold;
        padding: 10px 16px;
        font-size: 15px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        display: none;
    }

    .responsive .wiznav-links a {
        display: block;
        border-radius: 0;
    }

    .wiznav .wiznav-links a.active {
        background: #E34234;
        display: inline-block;
        text-decoration: none;
    }

    .navbar-toggle {
        position: absolute;
        top: 10px;
        right: 20px;
        background-color: transparent;
        background-image: none;
        border: none;
        border-radius: 4px;
        padding: 2px 10px;
    }

        .navbar-toggle .icon-bar {
            width: 25px;
            height: 3px;
            margin: 6px 0;
            background-color: white;
            border-radius: 3px;
            display: block;
        }
}

@media (min-width: 768px) {

    .body {
        height: calc(100vh - 70px);
        overflow-y: scroll;
    }

    .navbar-toggle {
        display: none;
    }

    .wiznav {
        width: 100%;
        height: 70px;
        padding-top: 10px;
        border-bottom: 8px solid #E34234;
    }

        .wiznav .wizbar {
            border-radius: 0;
            border-width: 0;
            height: 100%;
            vertical-align: bottom;
            display: flex;
            flex-direction: row;
            align-items: flex-end;
        }

        .wiznav .wizbar-header {
            float: none;
            display: inline-block;
        }

        .wiznav img.logo {
            max-height: 50px;
        }

        .wiznav .link-to-home {
            padding: 0;
            display: inline-block;
            margin-left: 20px;
            margin-right: 30px;
        }

        .wiznav .wiznav-links {
            display: inline-block;
            overflow: hidden;
        }

            .wiznav .wiznav-links a {
                color: #eee;
                font-weight: bold;
                padding: 10px 16px;
                font-size: 15px;
                display: inline-block;
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
            }

                .wiznav .wiznav-links a:first-child {
                    padding-right: 19px;
                }

                .wiznav .wiznav-links a.active {
                    background: #E34234;
                }

        .wiznav .navbar-collapse {
            border-top: 1px solid #444;
            padding: 0px;
        }

        .wiznav .navbar li a {
            padding: 10px 16px;
            border-radius: 4px;
        }

        .wiznav .navbar a {
            /* If a menu item's text is too long, truncate it */
            width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
}

.full-height {
    height: 100%;
}

.quixe-frame {
    width: 100%;
    height: 100%;
    border: 1px solid #333;
    color: green;
}


.content-area {
    padding-bottom: 24px;
}

a {
    color: #E34234;
}

    a:hover {
        color: #f36254;
    }

    a:visited {
        color: #d33224;
    }

div.body-container {
    display: flex;
    flex-direction: column;
}

div.content {
    padding: 10px 40px;
    max-width: 1000px;
    width: 100%;
    margin: auto;
}

.dark {
    background: #222;
    color: #aaa;
}

    .dark strong {
        color: #ccc;
    }

.light {
    background: white;
    color: #222;
}

    .light strong {
        color: black;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Germania One', sans-serif;
}

.light h1, .light h2, .light h3, .light h4, .light h5, .light h6 {
    color: #222;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: #ddd;
}

div.error {
    display: block;
    margin: 10px;
    padding: 10px;
    background-color: pink;
    color: darkred;
    border-radius: 6px;
}

.github-xsmall {
    min-width: 16px;
    height: 16px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.dark .github-xsmall {
    background-image: url(/icons/github/GitHub-Mark-Light-32px.png);
}

.light .github-xsmall {
    background-image: url(/icons/github/GitHub-Mark-32px.png);
}

.github-small {
    min-width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.dark .github-small {
    background-image: url(/icons/github/GitHub-Mark-Light-32px.png);
}

.light .github-small {
    background-image: url(/icons/github/GitHub-Mark-32px.png);
}

.chat-small {
    min-width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

.dark .chat-small {
    background-image: url(/icons/chat-white.png);
}

.light .chat-small {
    background-image: url(/icons/chat-black.png);
}

.pdf-small {
    background-image: url(/icons/pdf-icon.png);
    background-repeat: no-repeat;
    background-size: 32px;
    min-width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

    .pdf-small > span {
        padding-left: 42px;
        font-weight: bold;
        font-size: 16pt;
    }


.throbber {
    background-repeat: no-repeat;
    background-position: center;
    min-width: 45px;
    min-height: 45px;
}

.dark .throbber {
    background-image: url(/throbber-dark.gif);
}

.light .throbber {
    background-image: url(/throbber-light.gif);
}


.project-status {
    font-weight: bolder;
}

.dark .project-status .dormant {
    color: pink;
}

.light .project-status .dormant {
    color: darkblue;
}

.footer {
    margin-top: 20px;
    font-size: 75%;
}

h1.page-title {
    text-align: center;
}

a.physics-link {
    color: white;
    font-weight: bold;
}
