@charset "UTF-8";
/* Mayfly Internet Marketing Website CSS */


html {
width: 100%;
background: #a6b8cd url("../images/bodybg.gif") repeat-x;
}

body {
text-align: center;
padding: 25px 0 30px 0;
margin: 0;
font-family: "Arial", Verdana, sans-serif;
font-size: 12px;
color: #272626;
}

/* Sitewide Typography */

p, h1, h2, h3, ol, ul {
margin-bottom: 20px;
}

ul {
margin-right: 18px;
}

h1 {
font-size: 20px;
color: #24316e;
}

h2 {
font-size: 18px;
color: #24316e;
}

h3 {
font-size: 16px;
color: #24316e;
}

h4 {
font-size: 14px;
color: #24316e;
margin-bottom: 20px;
}


/*  Sitewide Hyperlink Styling */

a {
color: #24316e;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}	




/* Block Element Styling */

#container, #home #container {
width: 960px;
margin: 0 auto;
text-align: left;
background: #ffffff;
border: 1px solid #8da1b8;
padding: 40px 0 0 0;
overflow: hidden;
}

/* Header */

#header {
width: 960px;
position: relative;
}

#header img { /* Styles the logo in the header */
float: left;
margin-left: 17px;
}

#header ul.contactHead { /* Styles the telephone number and email address in the header */
float: right;
list-style: none;
font-size: 24px;
color: #26357a;
text-align: right;
margin: 0 15px 0 0;
position: relative;
top: -3px;

}

#header ul.contactHead a {
text-decoration: none;
color: #8fa2e5;
font-size: 20px;
font-weight: bold;
}

/* Top Navigation */

ul#topNav {
clear: both;
float: left;
list-style: none;
width: 960px;
background: #22306d url("../images/topnavbg.gif") repeat-x;
margin: 0;
padding: 0;
}

ul#topNav li {
float: left;
}

ul#topNav li ul {
list-style: none;
position: absolute;
width: 16em;
left: -999px;
background: #0c1643;
}

ul#topNav li:hover ul, ul#topNav li.sfhover ul {
left: auto;
}


ul#topNav li a {
display: block;
padding: 0 20px 0 20px;
line-height: 2.3em;
color: #fff;
text-decoration: none;
}

ul#topNav li a:hover {
background: #404f92;
}

#topNav li ul li a:hover{
text-decoration: underline;
background: none;
}

/* Home Page Callout */

#feature {
float: left;
width: 650px;
height: 259px;
margin: 15px 0 20px 15px;
padding: 0;
background: #212d68 url("../images/featurebg.gif") no-repeat bottom;
border: 1px solid #d9d9d9;
}

#feature a {
color: #fff;
text-decoration: underline;
}

#feature p {
color: #fff;
margin-left: 170px;
}

#feature p {
padding-right: 15px;
line-height: 17px;
}

#feature h2 {
font-size: 26px;
font-weight: normal;
margin-bottom: 10px;
margin-top: 18px;
margin-left: 170px;
color: #fff;
}

#services ul {
width: 277px;
list-style: none;
float: left;
margin: 15px 15px 0 0;
border-top: 1px solid #d9d9d9;
border-right: 1px solid #d9d9d9;
border-bottom: 1px solid #d9d9d9;
}

#services ul li {
border-left: none;
display: block;
height: 42px;
font-size: 12px;
color: #5f5f5f;
padding: 11px 0 11px 15px;
background: #fff url("../images/servicesbg.gif") repeat-x;
background-position: bottom;
padding-right: 8px;
border-top: 1px solid #d9d9d9;
}

#services h3 {
margin: 2px 0;
padding-left: 0;
}

#services ul li.first {
border: none
} 

#services ul li a {
text-decoration: none;
color: #24326f;
font-size: 14px;
}

/* Debugging */

.clearer { /* Clears floated Elements */
clear: both;
width: 100%;
height: 0;
line-height: 0;
font-size: 0;
}


/* PrimaryContent */


#home #primaryContent {
float: left;
width: 625px;
clear: left;
margin: 0 0 40px 15px;
padding: 0;
}

#contactUs #primaryContent {
float: left;
width: 475px;
clear: left;
margin: 20px 0 40px 15px;
}

#oneCol #primaryContent {
float: left;
width: 930px;
margin: 20px 15px 20px 15px;
}

#primaryContent {
margin: 20px 15px 50px 0;
float: left;
width: 755px;
}

#primaryContent ul {
margin-right: 20px;
margin-left: 30px;
}

#primaryContent ul li {
margin-bottom: 13px;
}

a.button { /* Button Styling */
background: #22306d url("../images/topnavbg.gif") repeat-x;
font-size: 11px;
height: 28px;
line-height: 28px;
color: white;
text-align: center;
padding: 6px 10px 6px 10px;
border: none;
}

#primaryContent p {
line-height: 18px;
}

/* SecondaryContent */

#secondaryContent {
float: right;
width: 280px;
padding: 0;
margin: 0 15px 0 0;
}

#secondaryContent .item { /* Use this class when adding extra items to the Secondary Content Bar */
padding: 20px 0 20px 0;
border-bottom: 1px solid #d9d9d9;
}

.date {
color: #696969;
font-size: 13px;
font-style: italic;
}

#secondaryContent h2 {
font-size: 16px;
margin-bottom: 10px;
}


h2.blog-title {
border-bottom: 1px solid #d9d9d9;
padding-bottom: 4px;
margin: 0;
}


#secondaryContent h3 {
margin-bottom: 10px;
padding-left: 0;
}

#secondaryContent p { 
margin-bottom: 10px;
line-height: 18px;
}

#secondaryContent h5 {
margin: 0;
padding: 0;
}


/* Email Signup Container on Home Page */

div.email-signup-container {
margin:  5px 0 40px 0 ;
border: 1px solid #d9d9d9;
padding: 15px;
background: url("../images/siderbar-item-bg.jpg") repeat-x top;
}

form#email-subscribe input {
border: 1px solid #d9d9d9;
padding: 3px;
}

input#send { /* Button Styling */
background: #22306d url("../images/topnavbg.gif") repeat-x;
font-size: 11px;
height: 22px;
line-height: 22px;
color: white;
text-align: center;
padding: 0 5px 0 5px;
border: none;
}

/* SubMenu Links Column */

#subMenuRight { /* Aligns the SubMenu Bar to the right of the Page */
float: right;
width: 155px;
margin: 25px 15px 0 20px;
margin-left: 20px;
margin-right: 15px;
}

#subMenuLeft { /* Aligns the SubMenu Bar to the left of the Page */
float: left;
width: 155px;
margin: 25px 15px 0 20px;
padding: 0;
}

#subMenuLeft h3 {
margin-bottom: 10px;
color:#6c6c6c;
font-size: 14px;
padding-left: 0;
}

#subMenuLeft ul {
list-style: none;
margin-bottom: 18px;
font-size: 11px;
}

#subMenuLeft ul li {
line-height: 24px;
padding-left: 5px;
background: url("../images/seoservices.gif") no-repeat 0 50%;
padding-left: 10px;
}

#subMenuLeft ul li a {
display: block;
width: 125px;
text-decoration: none;
color: #6c6c6c;
}

#subMenuLeft  ul li a:hover {
color: #202d68;
}

/* Portfolio Images */

.portfolio-img {
float: right;
margin: 0 0 20px 30px;
padding: 5px;
border: 1px solid #d9d9d9;
}

/*	Email Marketing Page */

.email-case-study {
padding: 15px;
border: 1px solid #d9d9d9;
margin-bottom: 30px;
background: url("../images/siderbar-item-bg.jpg") repeat-x top;
overflow: hidden;
}

/* Footer */

#footer {
border-top: 2px solid #d9d9d9;
clear: both;
width: 930px;
margin: 15px 15px 0 15px;
padding: 15px 0 0 0;
color: #aeacac;
}

#footer p {
font-size: 11px;
padding-top: 15px;
}

#footer h3 {
color: #aeacac;
font-weight: bold;
padding-left: 0;
}

#footer ul.sitemap a {
text-decoration: none;
color: #aeacac;
}

#footer ul.sitemap {
font-size: 11px;
float: left;
width: 114px;
}

#footer ul.sitemap li {
list-style: none;
font-size: 11px;
}

#footer ul.sitemap li.page {
margin-bottom: 10px;
}

#footer ul.sitemap li.page a {
color: #6c6c6c;
}

#footer ul.sitemap li a:hover {
text-decoration: underline;
}

/* Classes */

.strapline { /* Styles the Strapline on Sub-Pages */
margin: 30px 0  30px 0;
font-style: italic;
}

.author { /* Styles the quote author text on the Product Management Page */
font-size: 12px;
font-style: italic;
color: #d9d9d9;
}

.cdetails { /* Styles the Contact details text */
font-size: 13px;
}


/* Quick Signup Form */

.quick-signup {
float: right;
width: 244px;
padding: 15px;
border: 1px solid #d9d9d9;
background: url("../images/siderbar-item-bg.jpg") repeat-x top;
margin: 0 0 30px 20px;
}

form#quick-contact input {
border: 1px solid #d9d9d9;
padding: 3px;
}

form#quick-contact label {
width: 60px;
float: left;
}


/* Contact Form Styling */

form#contact {
float: left;
width: 400px;
border: 1px solid #d9d9d9;
padding: 10px;
margin: 45px 15px 50px 25px;	
}

#contact fieldset {
margin: 15px 0;
padding: 10px 15px 0 15px;
}

#contact legend {
font-weight: bold;
}

#contact label {
float: left;
width: 120px;
}

#contact input[type='text'] {
width: 200px;
}

#contact input[type="submit"], input[type="reset"] {
width: 130px;
}

#contact input[type="submit"] {
margin-left: 120px;
}

#contact textarea {
width: 200px;
height: 125px;
}

#contact select {
margin-left: 15px;
}

.sent { /* Styles the form sent verification text */
padding: 0 0 10px 0;
margin: 20px 0px 0 0;
font-weight: bold;
color: #76b700;
font-size: 12px;
}

.warning { /* Styles the form warning text */
padding: 0 0 10px 0;
margin: 20px 0 0 0;
color: #dc281e;
font-size: 12px;
}

.star { /* Styles the stars that appear when a field has not been completed on the Contact Form */
color: red;
font-size: 15px;
}



