﻿html, body, form {
    height: 100%;
}

body {
    font-family: Verdana, Arial, helvetica, sans-serif;
    font-size: 0.75em;
    line-height: 1.45em;
    background: url('./Images/sitebg.jpg');
}

p {
    margin: 10px;
}

p.indent {
    text-indent: 20px;
}

hr {
    margin-top: 0;
    color: #e4dcb8;
}

h2 {
    font-size: 1.6em;
    margin: 0 0 10px 0;
    color: #005747;
}

h3 {
    font-size: 1.4em;
    margin: 0 0 7px 0;
}
    
h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

input {
    font-family: Verdana, Arial, helvetica, sans-serif;
    padding: 1px;
    
}

fieldset {
    margin-bottom: 5px;
    padding: 0 15px 10px 15px;
    border: solid 1px #a0a0a0;
}

fieldset legend {
    margin: 0 3px;
    padding: 0 5px;
    font-weight: bold;
}

fieldset .actions {
    padding: 0;
}

textarea {
    width: 300px;
    height: 100px;
    padding: 1px;
}

/* Properly Align Checkboxes */
.checkboxlist input {
    margin-right: 3px;
    vertical-align: middle;
}

.checkboxlist label {
    vertical-align: middle;
}

.checkbox input {
    vertical-align: middle;
}

label.forcheckbox {
    vertical-align: middle;
}

label.fortextarea {
    vertical-align: top;
}


/* Clearing Floats */
.clear:after { 
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden; 
}

.clear { 
    display: inline-table; 
}

* html .clear { 
    height: 1%; 
}

.clear { 
    display: block; 
}

#pagewrap {
    width: 900px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    background: url('./Images/pagebg.png') repeat-y;
}

#page {
    height: 100%;
    padding-bottom: 50px;
}

#sendemail {
    background-color: #ffffff;
    margin: 20px;
    padding: 20px;
}

#error {
    background-color: #ffffff;
    margin: 20px;
    padding: 20px;
}

#sendemail p {
    text-align: center;
}

/* Header */
#header {
    height: 139px;
    background: url('./Images/header.jpg') no-repeat;
    position: relative;
}

#header #locatedealers {
    color: #005747;
    position: absolute;
    top: 14px;
    right: 20px;
    text-align: right;
}

#header #locatedealers label {
    font-weight: bold;
}

#header #locatedealers a {
    color: #005747;
    margin-right: 5px;
}

#header #locatedealers .textbox {
    padding: 2px 3px;
    border: solid 1px #005747;
}

#header #locatedealers .watermark {
    padding: 2px 3px;
    color: #666666;
    border: solid 1px #005747;
    text-align: right;
}

#header #locatedealers .button {
    color: #005747;
    padding: 2px 2px 0 2px;
    padding: 2px 2px 2px 2px !important;
    margin-right: 0;
    background-color: #e4dcb8;
    border: solid 1px #005747;
}

#header h1 {
    height: 0px;
    text-indent: -9999px;
}

/* Content */
#fullcontent {
    height: 100%;
    padding: 10px 20px;
}

/* Sidebar */
#sidebarcontent {
    float: right;

    width: 170px;
    height: 100%;
    padding: 5px 8px;
    background: #e4dcb8;
    border: solid 1px #005747;
}

#sidebarcontent .block {

}

#sidebarcontent .block h4 {
    color: #005747;
}

#sidebarcontent .block ul {
    list-style: none;
    margin: 3px 0;
}

#sidebarcontent .block ul li {
    padding: 4px 0;
    border-bottom: solid 1px #ffffff;
    line-height: 1.4;
    font-size: 0.95em;
}

#sidebarcontent .block ul li a {
    color: #333333;
    text-decoration: none;
}

#sidebarcontent .block ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
#maincontent {
    float: left;
    width: 654px;
    padding: 0 5px;
}

/* Footer */
#footer {
    width: 880px;
    height: 27px;
    margin: -43px auto 0 auto;
    line-height: 27px;
    color: #ffffff;
    font-size: 0.75em;
    background: #005747;
    position: relative;
    text-align: center;
}

#pagefooter {
    height: 16px;
    background:  url('./Images/footer.jpg') no-repeat bottom center;
}

/* Navigation Bar */
#navigationbar {
    height: 27px;
    margin: 0 10px;
    line-height: 27px;
    background: #005747;
}

#navigationbar ul {
    list-style: none;
    margin: 0 10px;
}

#navigationbar ul li {
    display: inline;
    margin: 0 2px;
}

#navigationbar ul li a {
    padding: 3px 20px 4px 20px;
    color: #e4dcb8;
    border: solid 1px #005747;
    border-bottom: none;
    text-decoration: none;
}

#navigationbar ul li a:hover {
    color: #005747;
    background: #e4dcb8;
}

.navhover {  /* Used for javascript version of hover */
    background: #e4dcb8;
    border: solid 1px #005747;
    border-bottom: none;
    color: #005747 !important;
}

/* Navigation Bar Drop Down Menus */
.dropdownmenu {
    width: 150px;
    padding: 5px;
    background: #e4dcb8;
    border: solid 1px #005747;
    border-top: none;
    z-index: 9999;
}

.dropdownmenu.last {
    width: 100px;
}

.dropdownmenu ul {
    list-style: none;
}

.dropdownmenu ul li {
    margin: 0 3px;
    padding: 4px 0 4px 0;
    border-bottom: solid 1px #ffffff;
}

.dropdownmenu a {
    font-size: 0.9em;
    color: #005747;
    text-decoration: none;
}

.dropdownmenu a:hover {
    text-decoration: underline;
}

/* Grids */
.grid {
    width: 100%;
    margin: 5px 0;
}

.grid th {
    padding: 3px;
    background: #e4dcb8;
    text-align: left;
}

.grid td {
    padding: 3px;
    font-size: 0.95em;
}

.grid .footer {
    padding: 3px;
    background: #e4dcb8;
}

.grid .footer td {
    padding: 1px 3px;
}

/* Admin User Grid */
.adminusergrid .username {
    width: 20%;
}

.adminusergrid .approved {
    width: 15%;
    text-align: center;
}

/* Admin Dealer Grid */
.admindealergrid .action {
    width: 5%;
    text-align: center;
}

.admindealergrid .name {

}

.admindealergrid .city {
    width: 25%;
}

.admindealergrid .state {
    width: 10%;
    text-align: center;
}

/* Admin Calendar Events Grid */
.admineventsgrid .name {
    width: 50%;
}

.admineventsgrid .startdate, .admineventsgrid .enddate {
    width: 15%;
    text-align: right;
}

.admineventsgrid .createdby {
    width: 15%;
    text-align: right;
}

.admineventsgrid .action {
    text-align: center;
}

/* Admin Document Grid */
.admindocumentgrid .action {
    width: 1%;
    text-align: center;
}

.admindocumentgrid .sortorder {
    text-align: right;
}

.admindocumentgrid .documentcategory {
    font-weight: bold;
}

/* Forms */
ul.form {
    list-style: none;
}

ul.form li {
    margin: 3px 0;
}

ul.form li label {
    display: inline-block;
}

ul.form li .checkbox input {
    margin: 0 4px 0 0;
    vertical-align: middle;
}

ul.form li .checkbox label {
    width: auto;
    vertical-align: middle;
}

.required {
    font-weight: bold;
}

/* Send Email Form */
ul.sendemailform {
    margin-top: 15px;
}

ul.sendemailform label {
    width: 100px;
}

/* Cox College Form */
ul.coxcollegeform {
    margin: 20px 20px 0 20px;
}

ul.coxcollegeform label {
    width: 160px;
}

ul.coxcollegeform .checkboxlist {
    margin-left: 166px;
}

ul.coxcollegeform .checkboxlist label {
    width: auto;
}

ul.coxcollegeform li.learnmore {
    margin-bottom: 10px;
}

ul.coxcollegeform li.learnmore textarea {
    margin-left: 166px;
}

/* Submit Project Photos Form */
ul.submitprojectphotosform {
    margin: 20px 20px 0 20px;
}

ul.submitprojectphotosform label {
    width: 140px;
}

/* Request Literature Form */
ul.requestliteratureform {
    margin: 20px 20px 0 20px;
}

ul.requestliteratureform label {
    width: 140px;
}

/* Customer Service Form */
ul.customerserviceform {
    margin: 20px 20px 0 20px;
}

ul.customerserviceform label {
    width: 180px;
}

/* Login Form */
ul.loginform {
    width: 275px;
    margin: 0 auto;
}

ul.loginform label {
    width: 80px;
}

/* Admin Calender Event Form */
ul.calendareventform {
    margin: 15px 0;
}

ul.calendareventform li .addlinfo {
    display: block;
    margin-left: 125px;
}

ul.calendareventform label {
    width: 120px;
}

/* Admin Dealer Edit Form */
ul.dealereditform {

}

ul.dealereditform label {
    width: 110px;
}

/* Admin Document Edit Form */
ul.documenteditform {
    margin: 15px 0;
}

ul.documenteditform label {
    width: 130px;
}

ul.documenteditform .uploadbutton {
    margin-left: 137px;
}

ul.documenteditform .errortext {
    display: block;
    margin-left: 137px;
}

/* Admin Edit User Form */
ul.edituserform label, ul.createuserform label {
    width: 90px;
}

.calendaricon {
    vertical-align: middle;
}

.actions {
    padding: 10px;
    text-align: center;
}


/* Change Password Form */
ul.changepasswordform {
    width: 350px;
    margin: 0 auto;
}

ul.changepasswordform label {
    width: 140px;
}

/* Block List */
table.blocklist {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

table.blocklist th {
    padding: 2px 3px;
    background: #e4dcb8;
    border: solid 1px #e4dcb8;
    font-size: 1.1em;
}

table.blocklist td {
    padding: 5px 5px;
    border: solid 1px #e4dcb8;
}

/* Dealer Locator */
table.nearestdealers .contactinfo {
    width: 75%;
    text-align: left;
}

table.nearestdealers .distance {
    width: 25%;
    text-align: center;
}

table.nearestdealers .dealername {
    font-weight: bold;
    font-size: 1.1em;
}


/* Calendar Events */
table.calendarevents .eventname {
    font-weight: bold;
}

table.calendarevents td {
    vertical-align: top;
}

table.calendarevents .dates {
    width: 25%;
}

table.calendarevents .details {
    width: 75%;
}

.calendar {
    width: 100%;
    margin: 10px 0;
    font-size: 0.9em;
}

.calendarheader {
    color: #ffffff;
    font-weight: bold;
    background-color: #005747;
}

.calendarheaderlink {
    color: #ffffff;
}

.calendarday {
    background-color: #ffffff;
}

/* Literature & documents Page */

.documentitem {
    padding: 5px;
    background-color: #e6e6e6;
    margin: 0 5px 5px 5px;
}

.documentitem input {
    margin-left: 30px;
}

.documentitem .pdficon img {
    vertical-align: middle;
}

.documenttitle {
    font-weight: bold;
    font-size: 1.1em;
}

.documentimage {
    float: left;
    margin-right: 10px;
}

.documentgroup {
    background-color: #b1b1b1;
    margin: 0 5px 5px 5px;
    padding: 6px 5px 2px 5px;
}

.documentgroup h4 {
    text-transform: uppercase;
}




/* Dealer Map */

#map {
    width: 600px;
    height: 400px;
    margin: 25px;
}

.center {
    text-align: center;
}

.imageleft {
    margin: 5px;
    float: left;
}

.imageright {
    margin: 5px;
    float: right;
}

.textlabel {
    font-weight: bold;
}

.error {
    display: block;
    margin: 10px 0;
    padding: 10px;
    color: #cc0000;
    background-color: #ffeeee;
    border: solid 1px #ff0000;
    text-align: center;
}

.errortext {
    color: #cc0000;
}

.bold {
    font-weight: bold;
}

/* Front Page Boxes */
#indexboxes {
    text-align: center;
	font-family: Verdana, Arial, helvetica, sans-serif;
    color:#ffffff;
}

#indexboxes a:link {
    display: block;
	font-family: Verdana, Arial, helvetica, sans-serif;
    color:#ffffff;
}

#indexboxes a:visited {
	font-family: Verdana, Arial, helvetica, sans-serif;
    color:#ffffff;
}

#indexboxes a:hover,a:active {
	font-family: Verdana, Arial, helvetica, sans-serif;
    color:#e9e9e9;
}
