﻿* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

contentrow {
    height: 100%;
    width: 100%;
}

/* Style the top navigation bar */
.topnav {
    background-color: #b0afe0;
    color: white;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    font-family: Sans-Serif;
    text-decoration: none;
    border: none;
}

.menubtn {
    background-color: #4C50AF;
    color: white;
    padding: 6px;
    font-size: 14px;
    border: none;
}

    .menubtn.active {
        background-color: #373575;
    }

    .menubtn:hover {
        background-color: #6f6ae8;
    }

.menudropbtn {
    background-color: #4C50AF;
    color: white;
    padding: 6px;
    font-size: 14px;
    border: none;
}

.menudropdown {
    position: relative;
    display: inline-block;
}

.menudropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    font-size: 14px;
    font-weight: normal;
    width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
}

    .menudropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .menudropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.menudropdown:hover .menudropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.menudropbtn:hover {
    background-color: #6f6ae8;
}

.disabled {
    background-color: #2f2e61 !important;
    color: #464185 !important;
}

/* Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

/* The container div - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd
        }

.selected {
    background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.column {
    float: left;
    padding: 10px;
    height: 90%;
    z-index: 0;
}

    .column.spacer {
        width: 20%;
        height: 90%;
    }

    .column.main {
        width: 60%;
        height: 90%;
    }

    .column.editor {
        width: 15%;
        height: 90%;
        background-color: #3e8e41;
        color: white;
        font-size: 18px;
        font-weight: bold;
        font-family: Sans-Serif;
        display: block;
        border: none;
        position: relative;
    }

        .column.editor button {
            width: 100%;
            background-color: #72ae75;
            color: white;
            margin-right: 4px;
            margin-bottom: 4px;
            padding: 6px;
            font-size: 14px;
            border: none;
            text-align: left;
        }

            .column.editor button:hover {
                background-color: #98e0a2;
            }

    .column.canvas {
        width: 55%;
        height: 90%;
        outline-style: none;
    }

    .column.output {
        width: 30%;
        height: 90%;
    }

.section {
    background-color: #ebebeb;
    padding: 3px 10px;
    margin: 10px 0px;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Style the tab */
.tab {
    overflow: hidden;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: #b0afe0;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 5px 5px;
        font-size: 14px;
        font-weight: bold;
        font-family: Sans-Serif;
        color: white;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #6f6ae8;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #4C50AF;
        }

        .pane {
            height: 100%;
        }

.footer {
    float: right;
    width: 100%;
    color: gray;
    text-align: right;
    font-size: smaller;
    padding: 2px;
    padding-right: 10px;
}

    .footer a {
        text-decoration: none;
        color: gray;
        visited: gray;
    }

figure {
    float: right;
    text-align: center;
    font-style: italic;
    font-size: smaller;
    text-indent: 0;
    border: thin silver solid;
    margin: 0.5em;
    padding: 0.5em;
}

canvas {
    border: 1px solid black;
}

textarea#console {
    position: relative;
    color: green;
    background-color: black;
    font-family: monospace;
    text-decoration: none;
    word-break: break-all;
    font-size: 18px;
    overflow-y: hidden;
    height: 80%;
    width: 100%;
    border: 0;
}
