

body {
	background-color: cadetblue;
	margin-top: 0px;
}

.container {
	background-color: black;
	height: 820px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
}
.header {
	background-image: url(road.jpg);
	height: 170px;
	width: 950px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-style: groove;
    border-width: thick;
    border-color: red;
}
.sidebar {
	background-color: lightcyan;
	height: 600px;
	width: 170px;
	float: left;
    border-left-style: groove;
    border-left-width: 5px;
    border-left-color: red;
    border-right-style: groove;
    border-right-width: 5px;
    border-right-color: red;
}
.content {
	background-color: aqua;
    background-size: cover;
	float: left;
	height: 600px;
	width: 775px;
    border-right-style: groove;
    border-right-width: 5px;
    border-right-color: red;
}
.footer {
	background-color: lightgray;
	clear: left;
	float: left;
	height: 20px;
	width: 950px;
    border-style: groove;
    border-width: thick;
    border-color: red;
    text-align: center;
}

.header hgroup {
    display: block;
    text-align: center;
    color: darkblue;
    font-style: italic;

}

.sidebar nav {
   width: 77%;
   float:left;
   margin: 10px auto 10px -7%;
}

.sidebar nav li {
   display: block;
   width: 100%;
   margin-left: 1%;
   margin-bottom: 5px;
}

.sidebar nav li a {
   display: block;
   width: 100%;
   height: 30px;
   line-height: 30px;
   text-align: center;
   color: white;
   font-size: 0.8em;
   -moz-border-radius: 50px;
   -webkit-border-radius: 50px;
   border-radius: 50px;
   background-color: blue;
}

.sidebar nav li a:hover {
   background-color: rgb(235, 152, 66);
}

table {
    border-style: groove;
    border-width: medium;
    border-color: black;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 20px;
}

fieldset {
    background-color: rgb(255,246,205);
    border: 1px solid rgb(233,69,0);
    float:left;
    margin: 10px 0px 10px 2.5%;
    width: 46%;
}

legend {
    background-color: rgb(33,69,0);
    color: white;
    padding: 3px 0px;
    text-indent: 5px;
    width: 100%
}

label {
    clear: left;
    display: block;
    float: left;
    font-size: 0.9em;
    margin: 7px 4% 7px 5px;
    width: 40%;
}

input {
    display: block;
    float: left;
    font-size: 0.9em;
    margin: 7px 0px;
    width: 50%;
}

input#state {
    width:50px;
}

select {
    display: block;
    float: left;
    font-size: 0.9em;
    margin: 7px 0px;
}

input:focus#firstname, input:focus#lastname, input:focus#city, input:focus#state, input:focus#zip, input:focus#phone, input:focus#email, textarea:focus, select:focus {
    background-color: lightgreen;
}

input:invalid {
    background-color: lightcoral;
}

input:valid#firstname, input:valid#lastname, input:valid#city, input:valid#state, input:valid#zip, input:valid#phone ,input:valid#email {
    background-color: aqua;
}

input[type="submit"], input[type="reset"], input[type="command"] {
    background-color: rgb(33,69,0);
    width: 33%;
    float: left;
    clear: both;
    margin-left: 33%;
}

fieldset#buttons {
    float: left;
    clear: both;
    margin-left: 3%;
}

input[type="command"] {
    text-align: center;
}