/*
      IT - 270 Website Design
      Final Project
      Home Page Stylesheet

      Midsouth Challengers
      Author: Michael Coffey 
      Date: March 20, 2016

                 

*/

/* Article Styles */

article#introduction {
    clear: both;
    width: 100%;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 10%;
}

article#introduction h1 {
    font-weight: bold;
    color: white;
    font-size: 2.3em;
    
}

article#introduction p {
    color: darkorange;
    margin-left: 20%;
    margin-right: 20%;
    font-size: 1.5em;
}

article#introduction h2 {
    font-style: italic;
    color: white;
    font-size: 2.0em;
    
}

article p a {
    text-decoration: none;
}

article p a:link {
    color: dodgerblue;
}

article p a:visited {
    color: dodgerblue;
}

article p a:hover {
    color: white;
}


/* Footer styles */

footer {
    text-align: center;
    font-size: em 1.1;
    width: 100%;
    color: dodgerblue;
    margin-top: 15%;
}

/* Section #back styles */

section#back {
    float: left;
    clear: left;
    width: 100%;
    text-align: center;
    margin-top: 3%;
    margin-bottom: 5%;
}

section#back a{
    text-decoration: none;
    color: darkorange;
}

/* Form styles */

h1#survey {
    color: dodgerblue;
    font-size: 1.1em;
    text-align: center;
}

form {
    margin-left: 40%;
    margin-right: 40%;
    text-align: center;
}

form label {
    color: white;
}

label {
    float: left;
    clear: left;
}
input{
    float: left;
}

fieldset.optionGroup label {
    display: inline;
    float: left;
    margin: 0px 3px 0px 0px;
    width: 30px;
}

fieldset.optionGroup input{
    display: inline;
    float: left;
    margin: 0px 20px 0px 0px;
    width: 20px;
}

/* Validation styles */

input:focus {
    background-color: green;
}

input:focus:valid {
    background-color: green;
    background-size: contain;
}

input:focus:invalid {
    background-color: fuchsia;
    background-size: contain;
        
}