﻿body
{
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: ivory;
}
select, span
{
    font-size: 1em;
}
button, label, input[type=checkbox]
{
    cursor: pointer;
}
button
{
    font-size: 1em;
    text-align: center;
    color: black;
    border: 1px solid steelblue;
    border-radius: 4px;
    background-color: lightsteelblue;
    box-shadow: 0 0 4px black;
}
canvas
{
    cursor: crosshair;
    box-shadow: 1px 1px 10px;
}

#background
{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
    bottom: 0;
    background-color: steelblue;
    background: -webkit-radial-gradient(white, steelblue);
    background: -moz-radial-gradient(white, steelblue);
    background: -ms-radial-gradient(white, steelblue);
    background: radial-gradient(white, steelblue);
}

#main
{
    position: relative;
}

#toolbar
{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
    height: 2.1em;
    padding: 0 4px;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid black;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.4);
    min-width: 40em;
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: auto;
}
#toolbar > button
{
    padding-left: 8px;
    height: 2em;
    box-shadow: none;
    margin: 2px 0 0 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
}
#toolbar > button:hover
{
    background-color: #CCC;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}
#toolbar > button.selected
{
    background-color: #EEE;
    background-color: rgba(255, 255, 255, 0.95);
}
#toolbar > h1
{
    float: right;
    margin: 0 1em 0 0;
    font-weight: bold;
    font-size: 1.5em;
    text-shadow: 0px -3px 5px #aaa;
    color: white;
}
#toolbar button>span
{
    display: inline-block;
    background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-position: 16px 16px;
    width: 16px;
    height: 16px;
    vertical-align: text-top;
    margin-right: 4px;
}
#toolbar button.show-settings > span
{
    background-position: -64px 0;
}
#toolbar button.show-about > span
{
    background-position: -48px 0;
}
#toolbar button.show-help > span
{
    background-position: -32px 0;
}
#toolbar button.nav-prev > span
{
    background-position: 0 0;
}
#toolbar button.nav-next > span
{
    background-position: -16px 0;
}
#toolbar button.zoom > span
{
    background-position: -80px 0;
}
#toolbar button.export > span
{
    background-position: -96px 0;
}
#toolbar button.stop-drawing > span
{
    background-position: -112px 0;
}
#toolbar button.start-drawing > span
{
    background-position: -128px 0;
}

#mandelbrot
{
    position: fixed;
    overflow: auto;
    padding: 1em;
    top: 2.5em;
    bottom: 2em;
    left: 0;
    right: 0;
    text-align: center;
}
#mandelbrot>canvas
{
    background-color: black;
    margin: 0 auto;
}

#statusbar
{
    position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
    height: 1.5em;
    padding: 2px 1em;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    box-shadow: 0 -3px 4px rgba(0, 0, 0, 0.4);
}
#statusbar > .status
{
    display: inline-block;
    width: 12em;
}
#statusbar > progress
{
    display: none;
    width: 8em;
}


#main > .overlay
{
    display: none;
    position: absolute;
    top: 2.25em;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px 2px black;
    padding: 1em;
    border-radius: 4px;
}

#settings
{
    left: 0.5em;
}
#settings label
{
    display: inline-block;
    width: 8em;
    text-align: right;
    padding-right: 4px;
}
#settings button
{
    margin-top: 2px;
}
#settings > button
{
    margin-top: 0.5em;
}
#settings input
{
    font-size: 1em;
    margin: 2px 0;
}
#settings .save-settings
{
    float: right;
}

#about, #help
{
    left: 50%;
    width: 40em;
    margin-left: -20em;
    overflow: auto;
}
#about > div
{
    clear: both;
}
#about h1, #help h1
{
    margin: 0;
}
#about .logo
{
    font-weight: bold;
    font: 1.5em Georgia, serif;
}
#about .app-logo
{
    float: left;
    background-image: url(images/icons.png);
    background-position: 0 -16px;
    margin-right: 1em;
    width: 96px;
    height: 96px;
}
#about .wt-logo
{
    float: left;
    background: url(images/icons.png) no-repeat center;
    background-position: -96px -16px;
    margin: 2em 2em 0 0;
    width: 80px;
    height: 115px;
}
