/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-size: 14px;
    color: #666;
    padding: 0 0 64px;
    background-color: #f6f6f6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

a {
    text-decoration: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
    padding: 0;
}

object {
    display: block;
    outline: 0;
}

.clearfix > :first-child {
    margin-top: 0;
}

.clearfix > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   chrome
   ========================================================================== */

#container {
    width: 1200px;
    margin: 0 auto;
}

#site-header {
    margin: 16px 0 16px;
}

#site-main {
    margin: 16px 0 32px;
}

#site-footer {
    padding: 32px;
    margin: 48px 0 48px;
    background-color: #ccc;
    color: #666;
}

#site-copyright {}

#site-credits {
    text-align: center;
}

#site-credits a {
    color: #ccc;
}

#site-title {
    font-size: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0;
}

.e {
    font-weight: normal;
    font-style: normal;
    color: #0092d2;
    margin-right: 2px;
}

/* ==========================================================================
   navigation
   ========================================================================== */

.nav-actions {
    height: 48px;
    line-height: 48px;
    float: right;
}

.nav-actions a {
    background-color: #fff;
    height: 48px;
    line-height: 48px;
    padding: 0;
    margin: 0 16px 0 0;
    color: #666;
    float: right;
}

.nav-actions a.active:hover,
.nav-actions a:hover {
    background-color: #fff;
    color: #000;
}

.nav-actions a.active {
    background-color: #fff;
    color: #000;
}

/* ==========================================================================
   grid layout
   ========================================================================== */

.grid {
    margin: 48px 0;
}

.grid-row {
    margin: 48px 0;
}

.grid-column {
    margin: 0;
    padding: 0;
    float: left;
}

.size-1of1 {
    width: 1200px;
}

.size-1of2 {
    width: 576px;
    margin-right: 48px;
}

.size-1of3 {
    width: 296px;
    margin-right: 36px;
}

.size-2of3 {
    width: 628px;
    margin-right: 36px;
}

.grid-column:first-child {
    margin-left: 0;
    padding-left: 0;
}

.grid-column:last-child {
    margin-right: 0;
    padding-right: 0;
}

.grid-column > :first-child {
    margin-top: 0;
}

.grid-column > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   box
   ========================================================================== */

/* ==========================================================================
   menu
   ========================================================================== */

/* ==========================================================================
   tools
   ========================================================================== */

.toolbars {
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
}

.toolbar-group {
    margin: 0;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.toolbar {
    float: left;
    height: 48px;
    line-height: 48px;
    background-color: transparent;
    margin: 0;
    padding: 0;
    position: relative;
}

.toolbar button,
.toolbar-button {
    display: block;
    float: left;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    color: #666;
    padding: 0 16px;
    margin: 0;
    border: none;
    margin-right: 0px;
    border-right: 1px solid #eee;
}

.toolbar button:hover,
.toolbar-button:hover {
    background-color: #eee;
}

.toolbar-menu {
    float: left;
}

.toolbar-menu-toggle {
    display: block;
    float: left;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    color: #666;
    padding: 0 16px;
    margin: 0;
    border-right: 1px solid #eee;
}

.toolbar-menu-flyout {
    display: none;
    position: absolute;
    z-index: 11;
    top: 48px;
    background-color: #eee;
    width: 240px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.4em;
    opacity: 1.0;
}

.toolbar-menu:hover .toolbar-menu-toggle {
    background-color: #eee;
}

.toolbar-menu:hover .toolbar-menu-flyout {}

.toolbar-menu.open .toolbar-menu-toggle {
    background-color: #eee;
}

.toolbar-menu.open .toolbar-menu-flyout {
    display: block;
}

.toolbar-menu-flyout .checkbox {
    margin: 16px 0;
}

.toolbar-slider {
    float: left;
    height: 48px;
    line-height: 48px;
    border-right: 1px solid #eee;
    padding: 0 16px;
    width: 240px;
}

.toolbar-slider .slider-container {
    margin: 0;
    padding: 0;
    width: 240px;
    height: 48px;
    line-height: 48px;
}

.toolbar-slider .slider-container label {
    float: left;
    height: 48px;
    line-height: 48px;
    margin: 0px;
    width: 96px;
    text-align: left;
}

.toolbar-slider .slider {
    float: left;
    margin: 18px 0 0;
    width: 144px;
    box-sizing: border-box;
}

.dock-right {
    float: right;
}

.dock-right .toolbar-button {
    float: right;
    border: none;
    border-left: 1px solid #eee;
}

.doc-right .toolbar-menu {
    float: right;
}

.dock-right .toolbar-menu-toggle {
    float: right;
    border: none;
    border-left: 1px solid #eee;
}

.dock-right .toolbar-menu-flyout {
    display: none;
    right: 0;
}

.drawing-loader {
    margin-left: 16px;
}


/* ==========================================================================
   drawing
   ========================================================================== */

.drawing {
}

.drawing-header {
    height: 48px;
    background-color: #fff;
}

.drawing-title {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    line-height: 48px;
    padding: 0 16px;
}

.drawing-display {
    background-color: #fff;
    width: 1200px;
    height: 600px;
    padding: 16px 0;
}

.drawing-container {
    width: 1200px;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.drawing-description {}

.drawing-steps {}

.drawing-display object,
.drawing-display article,
.drawing-display article.geogebraweb {
    position: absolute;
    width: 1202px;
    height: 602px;
    top: -1px;
    left: -1px;
    padding: 0;
    margin: 0;
    display: block;
}

.drawing-display article.geogebraweb table,
.drawing-display article.geogebraweb thead,
.drawing-display article.geogebraweb tbody,
.drawing-display article.geogebraweb tr,
.drawing-display article.geogebraweb th,
.drawing-display article.geogebraweb td {
    background-color: #fff;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
}

.GeoGebraFrame.applet-focused,
.GeoGebraFrame.applet-unfocused {
    border: none !important;
}

/*
canvas {
    width: 600px !important;
    height: 300px !important;
}
*/

/* ==========================================================================
   sliders
   ========================================================================== */

.slider-container {
    margin: 16px 0;
}

.slider-container label {
    margin: 4px 0;
    font-size: 14px;
}

.slider {
    margin: 4px 0;
}



