/**
 *  css for game elements
 *
 */
#num {
	padding-top:10px;
	width:310px;
	height:112px;
	margin:0 auto;
}
.element {	
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    behavior: url(PIE.htc);

    width: 19px;
    height: 16px;
    padding: 3px;
    margin: 2px;
    background: #fff;
    border: 1px solid #666;
    text-align: center;
    background-color: #ffff99;
    font: 12px Arial, sans-serif;
    float:left;
    display:block;
}
#container {
	height:700px;
	width:700px;
	margin: 0 auto;
	border: 1px solid #d7d7d7;
	background-image:url('scales3.jpg');
	background-repeat:no-repeat;
	background-position:center;
	background-size: 700px 600px;
}
#buttons {
	width:210px;
	margin:0 auto;
}
#leftPool {
	margin-top:220px;
	margin-left:30px;
	float:left; 
	width:220px;
	height:180px;
}
#LR,#RR,#leftSubSum,#rightSubSum {
	text-align:center;
	margin-bottom:3px;
	padding:3px;
} 
#LR,#RR,#leftCounter,#rightCounter, #realDifference {
	display:none;
}
#leftSubSum,#rightSubSum {
	display:block;
}

#rightPool {
	margin-top:220px;
	margin-right:20px;
	float:right; 
	width:220px;
	height:180px;
}
#resetButton {
	width:90px;
	margin-left:5px;
	margin-right:2px;
}
#submitButton {
	width:90px;
	margin-right:5px;
	margin-left:2px;
}
#result {
	margin:0 auto;
	margin-top:80px;
	width:220px;
	height:35px;
	text-align:center;
	background-color:#d3d3d3;
	padding:3px;
	border: 1px solid #3f3f3f;
}
.element:hover { 
	background-color: #ffff00;
	cursor: pointer;
}
/**
 *  css for the transparent overlay
 */
#curtain{
	position: fixed;
	_position: absolute;
	z-index: 99;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	_height: expression(document.body.offsetHeight + "px");
	opacity:0.6;
	background-color:#ffffff;
	filter:alpha(opacity=60); /* For IE8 and earlier */
}
#form {
    position: absolute;
    top: 150px;
    left: 50px;
    right: 50px;
    z-index:100;
}
.stop-scrolling {
   height: 100%;
   overflow: hidden;
}
/*
 *  css for the form
 */
.errorform {
        clear:both;
	width:50%;
	margin: 0 auto;
	margin-top:5px;
	margin-bottom:5px;
	text-align: center;
	background-color: #F9F8D3;
	padding: 2px;
	border: solid 2px #FFED75;
        background-image: url("");
}
.error p{
	  font: 14px Arial, sans-serif;
}
table {
	table-layout:fixed;
}
table td{
	text-align:left;
}
#form_buttons {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border:none;
    width: 750px;
}
.stylized {
    border: solid 2px #b7ddf2;
    background: #ebf4fb;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    padding: 20px;
}
.stylized label {
    display: block;
    font-weight: bold;
    text-align: right;
    width: 60px;
    float: left;
    margin: 15px;
    padding: 5px;;
}
.stylized input[type=text] {
	height: 26px;
	text-align: left;
    width: 300px;
    float: left;
    margin: 2px 2px 2px 2px;
    padding: 2px 2px;
}
.custom-select {
    float: left;
    padding: 2px 2px;
    background-color: #ebf4fb;
    border: solid 1px #b7ddf2;
    width: 306px;
    height: 30px;
    margin: 0px 2px 2px 2px;
}
.stylized select{
        height: 26px;
        text-align: left;
    width: 300px;
    float: left;
    margin: 2px 2px 2px 2px;
    padding: 2px 2px;
}

}

/*General rules*/
#form input {
    line-height:18px;
}
/*Text, email & tel input fields*/
#form input[type=text],
#form input[type=email],
#form input[type=tel] {
    width:300px;
    margin-bottom:8px;
    padding:2px 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #CCC;
}
/*Just the tel field*/
#form input[type=tel] {
    width:150px;
}
/*The Submit Button */
#form button{
    margin-top:50px;
    margin-left:60px;
    padding:2px 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight:bold;
}

