body
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

ul
{
    list-style-type: none;
}

#javascript_fallback
{
	position: absolute;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 1);
	vertical-align: middle;
	text-align: center;
	z-index: 9999;
}

#javascript_reminder
{
	display: inline-block;
	margin-top: 50px;
	padding-top: 50px;
}

#outer_container
{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 1);
}

.header_list li
{
    display: block;
}

.save_list
{
    margin: auto;
    display: table-cell;
    clear: both;
}

.save_list li
{
    margin: auto;
    position: relative;
    display: block;
    clear: both;
}

.ui_html_button
{
    font-size: 12px;
}

#head_div
{
    width: 538px;
    background-color: rgba(255, 255, 255, 1);
    border: 1px outset rgba(0, 0, 0, 1);
    cursor: default;
    padding: 10px;
}

.ui_button_div
{
    padding-left: 10px;
    display: inline-block;
}

#palette
{
    height: 422px;
    width: 260px;
    top: 200px;
    left: 0px;
    background-color: white;
    position: absolute;
    text-align:center;
    border-style: solid;
    border-width: 1px;
}

#handle
{
    padding-left: 0;
    padding-right: 0;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-image: url('../img/drag_handle_repeatable208x36.png');
    height: 36px;
    width: 260px;
    position: relative;
}

#palette_swatches
{
    padding-left: 0;
    padding-right: 0;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: white;
    height: 60px;
    width: 242px;
    position: relative;
}

#palette_canvas {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#hue_sat_click_canvas
{
    position: absolute;
    top: 177px;
    left: 8px;
    pointer-events: none;
}

.save_img_slot
{
    display: block;
    margin: auto;
}


.container_div
{
    bottom: 0;
    left: 0;
    margin: auto auto auto auto;
    position: absolute;
    top: 0;
    right: 0;
}

.center_canvas
{
    bottom: 0;
    left: 0;
    margin: auto auto auto auto;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
     
}

.save_slot_container
{

    float: left;
    margin-left: 5px;
    border-width: 1px;
    border-style: solid;
    position: relative;
    display: block;
}

 
#save_div
{
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline;
    margin: auto;
    z-index: -1;
    border-width: 1px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 255);
    overflow: hidden;
}

#save_image_div
{
    position: relative;
    display: block;
    margin: 10px;
    background-color: rgba(255, 255, 255, 255);
    overflow: hidden;
    
}

#save_image_form
{
    position: relative;
    margin: auto;
    display: block;
}

#save_slots_div
{
    height: 100%;
    position: relative;
    margin: auto;
    display: block;
    overflow: hidden;
}

.save_status_message
{
    display: inline;
    padding-top: 10px;
    color: rgba(255, 0, 0, 255);
}

#save_close
{
    color: rgba(0, 0, 255, 255);
    text-decoration: underline;
    float: right;
    padding-top: 10px;
    cursor: pointer;
}

#login_close
{
    color: rgba(0, 0, 255, 255);
    text-decoration: underline;
    float: right;
    padding-top: 10px;
    cursor: pointer;
}

#background_canvas
{
    background-image: url('../img/square_bg.gif');
    background-repeat: repeat;
}

#background_ctrl
{
    margin-top: -1%;
}

#login_div
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 260px;
    display: inline;
    margin: auto;
    padding: 10px 10px 10px 10px;
    z-index: -1;
    border-width: 1px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 255);
}

#login_div_content
{
    height: 200px;
    overflow: hidden;
}

#register_error
{
    min-height: 15px;
}

#login_div_footer
{
    height: 20px;
    clear: both;
}

.gridoodle_logo_small
{
    margin-bottom: 10px;
}

#resize_warning_container
{
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto auto auto auto;
    position: absolute;
    background-color: rgba(0, 0, 0, .2);
    z-index: -1;
    cursor: default;

}

#resize_warning
{
    position: relative;
    margin: auto auto auto auto;
    padding-top: 20px;
    height: 80px;
    width: 350px;
    top: 50%;
    border-color: rgba(0, 0, 0, 255);
    border-width: 1px;
    border-style: solid;
    background-color: rgba(255, 255, 255, 255);
    text-align: center;
    color: rgba(255, 0, 0, 255);
}

#resize_confirmation
{
    padding-top: 20px;
}

.ui_button_text
{
    font-size: 12px;
    text-align: center;
    cursor: default;
}


input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}

#set_canvas_width, #set_canvas_height
{
	width: 75px;
	height: 15px;
}