/* Styles for the form exercise */

* {
    padding:0;
    margin:0;
    box-sizing: border-box;
}


/* I am adding padding to my body for demonstration purposes only */
body {
    
}

#wrapper {
    width: 940px;
    margin:30px auto;
}

main {
    width:580px;
    float: left;
}

aside {
    width: 340px;
    float: right;
    padding: 5px;
}

img {
    max-width: 100%;
    display:block;
}

footer {
    clear:both;
    height:60px;
    line-height: 60px;
    display:flex;
    justify-content: left;
    border-top:1px dotted #800 ;
}

footer ul {
    display:flex
}

footer li {
    margin: 0 10px;
    list-style-type: none;
}

a {
    color: #800;
}

form {
    max-width:580px;
    margin-bottom: 20px;

}

fieldset {
    border-radius: 5px;
    border: 1px dotted #800;
    padding: 10px;
}

legend {
    font-size: 1.3em;
    font-style: italic;
    padding: 0 5px;
}

label {
    margin-bottom: 5px;
    display:block;
    font-weight: bold;
    font-size: 1.1em;
}

input {
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
}

input[type=radio],
input[type=checkbox] {
    margin-right: 3px;
    height:auto;
    width: auto;
    margin-bottom: 3px;
}

form ul {
    margin-left: 15px;
    margin-bottom: 10px;
}


form li {
    list-style-type: none;
}

input[type=submit] {
    width:auto;

}

select {
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
}

h1 {
    color: #800;
    font-size: 3em;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.8em ;
    margin-bottom: 15px;
}

p {
    line-height: 1.3;
    margin-bottom: 15px;
}

