/*
   Church Builders of America

   Author:   Lucy Weston   
   Date:     11/03/2015   
   Filename:    cba.css


*/
img {
    float: left;
    margin: auto 10px 5px 10px;
}

header {
    height: 50px; 
    padding: 2px; 
}

body {
    font-family: Times New Roman, sans-serif;
    font-weight: normal;
    font-size: 12px;
    background-image: url(parch2.jpg), url(parch2.jpg), url(parch2.jpg), url(parch.jpg);
    background-repeat: repeat-y, repeat-y, repeat-y, repeat;
    background-position: 86%, 94%, 100%, 0%;
    min-width: 1000px;
    max-width: 1400px;
}

nav {
    float: right;
    display: table;
    width: 20%; 
    border-spacing: 0;
    border-collapse: collapse:
    list-style-type: none;
    margin-left: 20px;
}

nav ul {
    display: table-row;
}

nav ul li {
    display: table-cell;
    border-bottom: 1px solid yellow;
}

nav a {
    border-bottom: 1px solid rgb(0, 0, 0);
    color: black;
    display: block;
    text-decoration: none;
}

nav a:hover {
   background-color: rgb(105, 96, 87);
   background-color: rgba(255, 255, 255, 0.3);
    
   text-shadow: rgb(211, 211, 211) 4px 6px 5px;
}

article {
   display: block;
   float: left;

   font-family: Times New Roman, Verdana, Geneva, sans-serif;
   margin: 0px auto;
   min-height: 100%;
   position: relative;
   width: 900px;
   font-size: 1.2em;
}

header img {
    transform:rotate(10deg);
    
    margin-top: 5px;
    width: 10%;
    
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    
   -moz-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
   -webkit-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
   box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
}

article img {
    background-color: rgb(90, 141, 191);
    box-shadow: inset rgb(0, 51, 101) -10px -15px 15px, inset white 5px 5px 5px;
}

#contactInfo {
    width: 30%;
    background-color: rgb(255, 246, 205);
    border: 1px solid rgb(0, 0, 153);
    float: left;
    margin: 10px 0px 10px 2.5%;
}

#contactList {
    width: 60%;
    background-color: rgb(255, 246, 205);
    border: 1px solid rgb(0, 0, 153);
    float: left;
    margin: 10px 0px 10px 2.5%;
}

#multiList {
    width: 40%;
    background-color: rgb(255, 246, 205);
    border: 1px solid rgb(0, 0, 153);
    float: left;
    margin: 10px 0px 10px 2.5%;
}


textarea {
    display: block;
    font-size: 0.9em;
    float: left;
    height: 100px;
    margin: 10px 0px 10px 0px;
    width: 95%;
}

fieldset {
    border: 1px solid rgb(70, 130, 180);
    float: left;
    width: 45%;
}

legend {
    background-color: rgb(70, 130, 180);
    color: white;
    padding: 3px 0px;
    text-indent: 5px;
    width: 50%;
}

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

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

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

fieldset.optionGroup {
    border-width: 0px;
}

fieldset.optionGroup label {
    display: inline;
    float: none;
    margin: 0px 0px 0px 5px;
    width: 20px;
}

fieldset.optionGroup input {
    display: inline;
    float: none;
    margin: 5px 0px 0px 5px;
    width: 12px;
}

form p {
    text-align: center
}

input[type="submit"], input[type="reset"] {
    display: inline;
    float: left;
    height: 40px;
    width: 200px;
    margin: 10px;
}

input:focus, select:focus, textarea:focus {
    background-color: rgb(220, 255, 220);
}

input:focus:valid {
    background: rgb(220, 255, 220) url(go.png) bottom right no-repeat;
    
    -o-background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
}

input:focus:invalid {
    background: rgb(255, 232, 233) url(stop.png) bottom right no-repeat;
    
    -o-background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
}

#newsletter {
    float: none;
    margin: 10px auto;
    text-align: center;
    width: 90%;
}

#newsletter input {
    display: inline;
    float: none;
    width: 20px;
}

footer{ 
    display: block;
    margin-top: 45%;
    text-align: center;
}