body {
    margin:0;
    padding:0;
    background-color:#1b4866;
    font-family: "Dimbo",sans-serif;
}

div {
    box-sizing: border-box;
}

a, a:hover {
    color:inherit;
    text-decoration: none;
}

.left {
    float:left;
}

#main {
    position:relative;
    background:#1A4765;
    width:1117px;
    height:556px;
    margin: 100px auto 0 auto;
    background: url(images/ui/frame.png);
    padding: 70px 100px;
}

h1 {
    font-family: "Dimbo";
    font-size: 53px;
    color: rgb(255, 255, 255);
    padding-top: 0;
    margin-top:0;
    letter-spacing: 4px;
}

.stroke-single,
.stroke-double {
  position: relative;
  background: transparent;
  z-index: 0;
}
/* add a single stroke */
.stroke-single:before,
.stroke-double:before {
  content: attr(title);
  position: absolute;
  -webkit-text-stroke: 12px #348183; /* Chris Coyier's favorite color! */
  left: 0;
  z-index: -1;
}

.inset-text {
    /* Shadows are visible under slightly transparent text color */
    color: rgba(10,60,150, 0.8);
    text-shadow: 1px 4px 6px #000, 0 0 0 #000, 1px 4px 6px #000;
}

.text-block {    
float: left;
    width: 500px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    /*line-height: 1.648;*/
    line-height: 1.3;
    text-align: left;
    margin-bottom: 20px;
}

.clear-fix {
    clear: both;
}

.btn-nav {
    width:212px;
    height:84px;
    background: url(images/ui/btn-off.png);
    cursor: pointer;
    line-height: 70px;
    text-align: center;
    color: #124d1e;
    font-size: 32px;
}

.btn-nav:hover, .btn-nav:active {
    background: url(images/ui/btn-on.png);
}
.btn-nav input[type=submit]
{
	line-height: 70px;
    text-align: center;
    color: #124d1e;
    font-size: 32px;
    background-color:transparent;
    border:0;
     cursor: pointer;
     display:block;
     width:100%;
}
.formError {margin:0 0 20px 19px;color:#aa0000;font-size:20px;font-family: "Dimbo",sans-serif;}
.formSuccess {margin:0 0 20px 19px;color:#2a6062;font-size:20px;font-family: "Dimbo",sans-serif;}

.btn-group {
    margin-top: 50px;
}

.btn-group .btn-nav {
    float:left;
    margin-right: 20px;
}

::-webkit-input-placeholder { color: #2a6062; }
::-moz-placeholder { color: #2a6062; opacity: 1; }
:-ms-input-placeholder { color: #2a6062; }
:-moz-placeholder { color: #2a6062; }

/* intro */

#intro-container .btn-group {
    margin-top: -30px;
}

#intro-hero {
    float:right;
    margin-top:-80px;
}

/* rules */

#rules-legend {
    float: right;
    text-align: right;
    margin-top:-120px;
}

#rules-legend h3 {
    color:#fff;
    font-size: 26px;
    -webkit-text-stroke: 1.5px #348183;
    padding-top: 10px;
    padding-bottom:3px;
    margin:0;
}

#btn-rules-forward {
    margin-top: -100px;
}

/* form */
#form-container .text-block {
    width: 410px;
}

#form-holder {
    float: right;
    width: 480px;
}

#form-holder .btn-nav {
    float:left;
    margin-left:19px;
}

.formRow {margin-bottom:20px;}


input[type=submit] {
    font-family: "Dimbo",sans-serif;
    font-size: 20px;
}

input[type=text] {
    border-radius: 28px;
    border: 2px solid #47a1a5;
    background-color: #47a1a5;
    color: #2a6062;
    font-size: 20px;
    line-height: 56px;
    width: 200px !important;
    height: 56px;
    padding: 0 28px;
    margin-left: 19px;
    font-family: "Dimbo",sans-serif;
    /*float:right;*/
    box-sizing: border-box;
    display:inline-block;
}

input[type=text]:focus {
    outline:none;
    border: 2px solid #2a6062;
}
input.error {border-color:#aa0000;}

#form-inputs {
   /* height:100px;*/
   margin-top: -30px;
}

#form-btns {
    margin-top: 50px;
}

.form-display {
    position: relative;
    width:231px;
    height:101px;
    margin-left: -15px;
    margin-bottom: 10px;
    -ms-transform: scale(.8); /* IE 9 */
    -webkit-transform: scale(.8);     
    transform: scale(.8);
    float: left;
}

.form-display .display {
    top: 42px;
    left: 130px;
    color:#fff;
    font-size:32px;
}

#form-scores-display {
    background: url(images/ui/form-scores.png);
}

#form-timer-display {
    background: url(images/ui/form-timer.png);
}

/* game */
#game-container {
    position: relative;
    width:1090px;
    height:529px;
    margin:-60px -86px;
    border-radius: 60px;
    overflow: hidden;
}

label {
  color: #2a6062;
  padding-left: 30px;
  position: relative;
  margin-left: 20px;
}

label:before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #47a1a5;
  color: #2a6062;
}

label a {
  color: #2a6062;
  text-decoration: underline;
}
input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-left: 20px;
  position: relative;
  top: 3px;
  display: none;
}
input[type=checkbox]:checked + label:before {
  content: '\2713';
  line-height: 20px;
  font-weight: bold;
  font-size: 20px;
}