body {
    background: #ebebeb url('img/layout/header_bg.png') repeat-x;
    color: #363636;
    font-size: 12px;
    text-align: center;
    min-width: 880px;
}

a {
    color: #3aacde;
    outline: none !important;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #3099C9;
}

#content h1 {
    font-size: 18px;
    margin-bottom: 20px;
}

#content h2 {
    font-size: 16px;
    margin-bottom: 20px;
}

#content h3 {
    font-size: 14px;
}

#content h4 {
    font-size: 12px;
}

hr {
    height: 1px;
    border: none;
    background: #ddd;
    margin-bottom: 20px;
    clear: both;
}

#header {
    position: relative;
}

#logo {
    padding-top: 17px;
}

#logo a {
    background: url('img/layout/MBI-Direct-Mail-Logo.png') no-repeat;
    display: block;
    height: 70px;
    width: 169px;
    text-indent: -99999px;
}

.center {
    width: 880px !important;
    margin: 0 auto;
    text-align: left;
}

#mast {
    background: url('img/layout/mast_bg.jpg') no-repeat top center;
}

#nav {
    background: url('img/layout/nav_bg.png') repeat-x top left;
    overflow: hidden;
    margin: 25px 0 20px 0;
    padding: 0 0 10px;
    list-style-type: none;
}

#nav li {
    display: block;
    float: left;
    padding-bottom: 0 0 15px 0;
    margin: 0;
}

#nav li a {
    border-right: 1px solid #CCC;
    border-left: 1px solid #FFF;
    color: #363636;
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 18px 7px;
    text-decoration: none;
    text-shadow: #fff 1px 1px 1px;
}

@-moz-document url-prefix(){ #nav li a { padding: 8px 17px 7px 16px; } }

#nav li.first a {
    border-left: none;
    background: url('img/layout/nav_first.png') top left no-repeat;
}

#nav li.first a:hover {
    border-left: none;
    background: url('img/layout/nav_first.png') 0px -40px  no-repeat #EEE !important;
}
#nav li.first a:active,
#nav li.first.active a
{
    border-left: none;
    background: url('img/layout/nav_first.png') 0px -40px  no-repeat #EEE !important;
}


#nav li.last a {
    border-right: none;
    padding: 8px 35px 7px 17px !important;
}

#nav li a:hover {
    background: #EEE url('img/layout/nav_bg_hover.png') !important;
/*    border-left: 1px transparent solid;*/
}

#nav li.active a,
#nav li a:active {
    color: #4d4d4d; 
    background: #EEE url('img/layout/nav_bg_active.png') !important;
    border-left: 1px transparent solid;
}


#nav_contact {
    background: url('img/layout/nav_quote2.png') no-repeat;
    position: absolute;
    top: -20px;
    right: -10px;
    display: block;
    height: 79px;
    width: 230px;
    text-indent: -9999px;
}

#nav_contact:hover {
    background-position: bottom left;
}

#nav_contact2 {
    background: url('img/layout/bettervendor.png') no-repeat;
    position: absolute;
    top: -80px;
    right: -10px;
    display: block;
    height: 154px;
    width: 230px;
    text-indent: -9999px;
}

#nav_contact2:hover {
    background-position: bottom left;
}

#nav_contact3 {
    background: url('img/layout/bettervendor2.png') no-repeat;
    position: absolute;
    top: -100px;
    right: -5px;
    display: block;
    height: 171px;
    width: 160px;
    text-indent: -9999px;
}

#nav_contact3:hover {
    background-position: bottom left;
}

#nav_contact_home {
    background: url('img/layout/bettervendor_home2.png') no-repeat;
    position: absolute;
    top: -100px;
    right: -5px;
    display: block;
    height: 171px;
    width: 160px;
    text-indent: -9999px;
}

#nav_contact_home:hover {
    background-position: bottom left;
}

#main_wrap {
    overflow: hidden;
}

#content {
    float: left;
    width: 575px;
    position: relative;
}

#content img {
/*    border: 1px solid #d7d7d7;*/
}

#content img.float_right {
    margin-left: 20px;
    margin-bottom: 10px;
}

#content img.float_left {
    margin-right: 20px;
    margin-bottom: 10px;
}

#sidebar {
    float: right;
    width: 235px;
    background: #FAFAFA;
    border: 1px solid #d7d7d7;
    margin-bottom: 20px;
    padding: 20px 20px 0;
}

#sidebar form {
    padding-bottom: 0;
}

#cta_newsletter {
    position: relative;
}

#cta_newsletter .letter {
    background: url('img/layout/newsletter_bg.png') no-repeat;
    position: absolute;
    top: -25px;
    right: 20px;
    display: block;
    height: 70px;
    width: 67px;
    text-indent: -9999px;
}

#cta_newsletter form dt {
    display: none;
}

#cta_newsletter form dd {
    margin: 0;
    float: left;
    width: 167px;
}

#cta_newsletter form dd input {
    width: 155px;
}

#cta_newsletter form .form_controls input {
    padding: 7px 10px 6px;
    font-size: 12px !important;
}

#cta_ebook .image {
    position: relative;
    margin: 0 20px 20px 0;
}

.form_controls input:hover {
    cursor: pointer;
}

#cta_services ul,
#cta_products ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 20px;
}

#cta_services ul li,
#cta_products ul li {
    display: block;
    border-top: 1px solid #ddd;
    overflow: hidden;
    padding: 3px 0;
}

#cta_services ul li.first,
#cta_products ul li.first {
    border-top: none;
}

#cta_services ul a,
#cta_products ul a {
    font-weight: bold;
    display: block;
    float: left;
    width: 50%;
}


/* Home Page Carousel */

/* panes */
.flowpanes {
    width: 880px;
    height: 340px;
}

.flowpanes_sm {
    width: 510px;
    height: 265px;
}

.flowpanes_sm img {
    border: 1px solid #D7D7D7;
}

/* override the root element to enable scrolling */
.flowpanes_sm,
.flowpanes {
    position: relative;
    overflow: hidden;
    clear: both;
}

/* override single pane */
.flowpanes div {
    margin: 10px 60px 20px;
    float: left;
    display: block;
    width: 740px;
    font-size: 14px;
}

.flowpanes #carousel_products {
    width: 760px;
}

.flowpanes_sm div {
    float: left;
    display: block;
    width: 575px;
    font-size: 14px;
}

/* our additional wrapper element for the items */
.flowpanes_sm .items,
.flowpanes .items {
    color: #555555;
    width: 20000em;
    position: absolute;
    clear: both;
    margin: 0;
    padding: 0;
}

.flowpanes .items .content .col_1 {
    float: left;
    margin: 0 !important;
    width: 275px;
    padding-top: 20px;
}

.flowpanes .items .content .col_2 {
    float: right;
    margin: 0 !important;
    width: 465px;
    
}

.flowpanes .items .content p {
    font-size: 12px;
}

.flowpanes .items .content {
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
    width: 760px;
}

.flowpanes .items h2 {
    text-shadow: 1px 1px 1px #FFF;
    padding-bottom: 0px;
    margin: 0;
}

.flowpanes .items ul {
    padding-left: 0;
}

.flowpanes .items li {
    list-style-type: none;
    display: block;
    font-weight: bold;
    font-size: 16px;
    background: url('img/layout/icon_check.png') center left no-repeat;
    padding-left: 30px;
    padding-bottom: 5px;
}

.flowpanes .less, .flowpanes .less a {
    color: #999 !important;
    font-size: 11px;
}

/* Carousel Navigation*/
.flowpanes_sm_nav .next {
    border: none;
    position: absolute;
    right: 10px;
    top: 170px;
    background: url('img/layout/carousel_nav.png') top right no-repeat;
    display: block;
    height: 32px;
    width: 32px;
    text-indent: -99999px;
}

.flowpanes_sm_nav .prev {
    position: absolute;
    left: 10px;
    top: 170px;
    background: url('img/layout/carousel_nav.png') top left no-repeat;
    display: block;
    height: 32px;
    width: 32px;
    text-indent: -99999px;
}

.flowpanes_sm_nav .next:hover {
    background-position: bottom right !important;
}

.flowpanes_sm_nav .prev:hover {
    background-position: bottom left !important;
}

.flowpanes .next {
    border: none;
    position: absolute;
    right: 0;
    top: 150px;
    background: url('img/layout/next_home.png') no-repeat;
    display: block;
    height: 24px;
    width: 23px;
    text-indent: -99999px;
}

.flowpanes .prev {
    position: absolute;
    left: 0;
    top: 150px;
    background: url('img/layout/prev_home.png') no-repeat;
    display: block;
    height: 24px;
    width: 23px;
    text-indent: -99999px;
}

.flowpanes .disabled {
    background-position: bottom left !important;
    cursor: default !important;
}

.flowpanes_sm_nav .next:hover,
.flowpanes_sm_nav .prev:hover,
.flowpanes .next:hover,
.flowpanes .prev:hover {
    background-position: bottom;
    cursor: pointer;
}

.flowpanes_sm_nav .next:active {
    right: 9px;
}

.flowpanes_sm_nav .prev:active {
    left: 9px;
}

.flowpanes_sm_nav .prev.disabled:active {
    left: 10px !important;
}

.flowpanes_sm_nav .next.disabled:active {
    right: 10px !important;
}

.flowpanes .next:active {
    right: -1px;
}

.flowpanes .prev:active {
    left: -1px;
}

.flowpanes .prev.disabled:active {
    left: 0 !important;
}

.flowpanes .next.disabled:active {
    right: 0 !important;
}

/* Homepage Blog Feed */
#blog h4 {
    margin: 0;
    padding-bottom: 5px;
}

.entry .title {
    padding-left: 40px;
    background: url('img/layout/icon_ical.png') no-repeat;
}

.timestamp {
    font-weight: bold;
    font-size: 11px;
    color: #464646;
    margin-bottom: 0;
    padding-bottom: 10px;
}

#hdr_news img {
    border: none;
    position: relative;
    top: 10px;
    margin-right: 10px;
}

h1.title {
    margin-bottom: 10px !important;    
}

h3.title {
    margin-bottom: 0px !important;
}

/* Footer */
#footer {
    clear: both;
    zoom: 1;
    position: relative;
}
#footer .nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#footer .nav.first {
    float: left;
    width: 155px;
}

#footer .nav.last {
    float: left;
    width: 95px;
}

#footer .nav li {
    border-bottom: 1px solid #DDD;
    margin: 0;
    padding: 3px 0;
}

#footer .nav li a {
    font-size: 11px;
}

#footer .nav li a:hover {

}

/* Sidebar Widgets */

#cta_get_started .call {
    font-size: 15px;
    padding-top: 10px;
    display: block;
}

/* Reusable Elements */
.container {
    background: #FFF;
    border: 1px solid #d7d7d7;
    margin-bottom: 20px;
    padding: 20px 20px 0;
}

.container .container {
    border: none;
    padding: 0;
    margin: 0;
}

#content .container {
    padding: 20px 27px 0 33px;
}

/* Full width content containers - for pages with tabs in the middle */
#content.full {
    background: #FFF;
    border: 1px solid #d7d7d7;
    margin-bottom: 20px;
    padding: 20px 0;
}

#content.full .container {
    padding: 0 30px;
    border: none;
}

.careers .container {
    margin-bottom: 10px;
}

#footer .container {
    padding: 20px 20px 0 30px;
}

.button {
    background: #8b090c url('img/layout/btn_bg.jpg') repeat-x scroll left top;
    border: none;
    color: #FFFFFF;
    font-size: 13px;
    padding: 7px 10px;
    text-shadow: 1px 1px 1px #333;
}

.button:hover {
    color: #EDEDED;
    text-shadow: -1px -1px 1px #333;
    text-decoration: none;
}

.button.block {
    display: block;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 2px 6px;
}

.one_third {
    width: 31%;
}

.left {
    float: left;
}

.right {
    float: right;
}

.left.pad {
    margin-right: 20px;
}


/* Forms */
form {
    padding-bottom: 20px;
}

form input {
    font-size: 14px;
    padding: 5px;
}

form.inline_labels dl {
    overflow: hidden;
}

form.inline_labels dt {
    width: 190px;
    float: left;
    text-align: right;
    padding-top: 3px;
}


form.inline_labels dd {
    width: 300px;
    float: left;
}

form.inline_labels .textarea dt,
form.inline_labels .textarea dd  {
    float: none;
    text-align: left;
    margin: 0;
    width: auto !important;
}

textarea.sm {
    height: 30px;
}

.required {
    color: #AD0E13;
    padding-left: 2px;
}

.captcha dt,
.captcha dd {
    display: block !important;
    float: none !important;
    text-align: left !important;
    width: auto !important;
    margin: 0;
}

form.inline_labels .captcha {
    padding-left: 190px;
}

.form_controls {
    overflow: hidden;
}

/* tabs */
.tabs {
    list-style-type: none;
    clear: both;
    padding: 0;
    margin: 0;
    position: relative;
    top: 1px;
    z-index: 9;
}

.center:after,
.tabs:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.tabs li {
    display: inline;
    margin: 0;
    padding: 0;
}

.tabs li a {
    background: url('img/layout/tab-top_bg.png') repeat-x;
    font-size: 12px;
    font-weight: bold;
    display: block;
    float: left;
/*    padding: 15px 2px 5px;*/
/*    min-height: 19px;*/
    text-align: center;
    width: 76px;
    line-height: 1em;
}

.tabs li a span {
    display: block;
    padding: 15px 2px 5px;
    min-height: 19px;
    margin-top: 1px;
    border-left: 1px solid #FFF;
    border-right: 1px solid #ddd;
}

.tabs li a:active {
    color: #3AACDE;
}

.tabs li.active a {
    color: #363636;
}

.tabs li a.multi_line span {
    padding: 7px 2px 3px;
    min-height: 29px;
}

/* Top of the page tabs*/
.tabs li.first a {
    background: url('img/layout/tab-top_first.png') top left no-repeat;
}

.tabs li.first a span {
    border-left: none;
}

.tabs li.last a {
    background: url('img/layout/tab-top_last.png') top right no-repeat;
    width: 79px;
}

.tabs li.last a span {
    border-right: none;    
}

.tabs li.first.active a,
.tabs li.first a:hover {
    background: url('img/layout/tab-top_first.png') 0px -42px no-repeat transparent !important;
}

.tabs li.last.active a,
.tabs li.last a:hover {
    background: url('img/layout/tab-top_last.png') 100% -42px no-repeat transparent !important;
}

.tabs li a:hover,
.tabs li.active a {
    background: url('img/layout/tab-top_bg.png') 0px -42px repeat-x;
    text-decoration: none;
}

/* Middle of the page tabs overrides */
.full .tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #CCC;
}

.careers .tabs {
    padding-left: 18px;
}

.marketing .tabs {
    padding-left: 30px;
}

.data_list .tabs {
    padding-left: 30px;
}

.full .tabs li a {
/*    border-left: 1px solid #FFF;
    border-right: 1px solid #ddd;
*/    background: url('img/layout/tab-mid_bg.png') repeat-x;
/*    min-height: 22px; */
    width: auto;
/*    width: 123px;*/
    padding: 0;
    position: relative;
    top: 1px;
    margin-top: 1px;
/*    border-left: none;*/
}

.full .tabs li a span {
    display: block;
    border-left: 1px solid #FFF;
    border-right: 1px solid #ddd;
    min-height: 22px;
    width: 123px;
/*    top: 1px;*/
/*    margin-top: 1px;*/
    margin-bottom: 1px;
/*    border-left: none;*/
}

.careers .tabs li a span {
    width: 99px;
}

.full .tabs li a span {
    padding: 14px 2px 4px;
}

.full .tabs li a.multi_line span {
    padding: 9px 2px 7px;
}

.full .tabs li.first a {
/*    border-left: none;
*/    background: url('img/layout/tab-mid_first.png') top left no-repeat;
}

.full .tabs li.first a span {
    border-left: none;
}

.full .tabs li.last a {
    background: url('img/layout/tab-mid_last.png') top right no-repeat;
}

.full .tabs li.last a span {
    width: 122px;
    border-right: none;
}

.full .tabs li.first .current,
.full .tabs li.active.first a,
.full .tabs li.first a:hover {
    background: url('img/layout/tab-mid_first.png') 0px -42px no-repeat transparent !important;
}

.full .tabs li a:hover {
    border-bottom: 1px solid #ccc;
    min-height: 21px;
}

.full .tabs li a:hover {
    border-bottom: none !important;
    min-height: 22px !important;
}

.full .tabs li.last .current,
.full .tabs li.last.active a,
.full .tabs li.last a:hover {
    background: url('img/layout/tab-mid_last.png') 100% -42px no-repeat transparent !important;
}

.full .tabs li a:hover,
.full .tabs li .current,
.full .tabs li.active a {
    background: url('img/layout/tab-mid_bg.png') 0px -42px repeat-x;
    text-decoration: none;
}

/* position and dimensions of the navigator */
.nav_dots {
    margin: 0 auto;
    width: 150px;
    height: 20px;
    text-align: center;
}

/* items inside navigator */
.nav_dots a {
    width: 8px;
    height: 8px;
/*    float: left;*/
    margin: 3px;
    background: url('img/layout/nav_dots.png') 0 0 no-repeat;
    display: inline-block;
    font-size: 1px;
}

/* mouseover state */
.nav_dots a:hover {
    background-position: 0 -8px;
}

/* active state (current page state) */
.nav_dots a.current {
    background-position: 0 -16px;
}


/* Pagination */

.pagination {
    padding: 20px 0 0;
    text-align: center;
}

.pagination strong,
.pagination a {
    background: #F1F1F1;
    font-weight: bold;
    display: inline-block;
    border: 1px solid #ddd;
    padding: 0px 8px;
}

.pagination strong {
    background: none;
    border: none;
}

.pagination a:hover {
    background: #DDD;
    text-decoration: none;
}

dl.inline.two_small input,
#days_available input {
    width: 40px;
    margin: 0 10px;
    display: inline;
}

dl.inline.two_med input
{
    width: 55px;
    margin: 0 10px;
    display: inline;
}


#application_form  .textarea dd  {
    text-align: left;
    margin-left: 1.5em ;
    float:left;
    width:250px;
}

#application_form  .textarea dt {
    float:left !important;
    padding-top:3px !important;
    text-align:right !important;
    width: 190px !important;
}


#application_form textarea {
    width: 250px;
    height: 60px;
}

#application_wizard .prev:hover, 
#application_wizard .next:hover {
    cursor: pointer;
}

#application_wizard .prev {
    float: left;
} 

#application_wizard .next {
    float: right;
}

.add_employer {
    font-weight: bold;
}

.employer_extra {
    display: none;
}

.zebra {
    padding-left: 0;
}

.zebra li {
    padding: 2px 10px;
    list-style-position: inside;
}

.zebra .alt {
    background: #eee;
}

ol.zebra li {
    font-weight: bold;
}

.zebra  li span {
    font-weight: normal;
}

ul.zebra {
    list-style-type: none;
}

.zebra.half {
    width: 49%;
    float: left;
    margin-right: 0;
}

#marketing_blocks {
    overflow: hidden;
    padding-left: 0;
}

#marketing_blocks li {
    display: block;
    float: left;
    font-weight: bold;
    width: 23%;
    margin-right: 13px;
/*    background: #EEE;*/
}

#marketing_blocks li img {
    display: block;
}

#marketing_blocks li.last {
    margin-right: 0;
}

#marketing_blocks li a:hover {
    text-decoration: none;
}

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.testimonial {
    width: 511px;
    margin-bottom: 30px;
    overflow: hidden;
}

.testimonial .outer {
    background: url('img/layout/test_bottom.png') bottom left no-repeat #e9f6fc;
    margin-bottom: 10px;
}

.testimonial .inner {
    background: url('img/layout/test_top.png') top left no-repeat;
    padding: 10px 20px 15px;
    font-style: italic;
}

.testimonial .title {
    text-align: right;
}

.testimonial h3 {
    margin-bottom: 0px;
}

#copy {
    font-size: 11px;
}

#copy .inline  {
    list-style-type: none;
}

#copy .inline .text {
    padding: 0 5px;
    position: relative;
    top: 4px;
}

#copy .inline li {
    display: inline;
    vertical-align:  top;
}













#nav_test {
    background: url('img/layout/nav_bg.png') repeat-x top left;
    overflow: hidden;
    margin: 25px 0 20px 0;
    padding: 0px;
    list-style-type: none;
}

#nav_test li {
    display: block;
    float: left;
    padding-bottom: 0 0 15px 0;
    margin: 0;
}

#nav_test li a {
    border-right: 1px solid #CCC;
    border-left: 1px solid #FFF;
    color: #363636;
    display: block;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 13px 7px;
    text-decoration: none;
    text-shadow: #fff 1px 1px 1px;
}

#nav_test li.first a {
    border-left: none;
    background: url('img/layout/nav_first.png') top left no-repeat;
}

#nav_test li.first a:hover {
    border-left: none;
    background: url('img/layout/nav_first.png') 0px -40px  no-repeat #EEE !important;
}
#nav_test li.first a:active,
#nav_test li.first.active a
{
    border-left: none;
    background: url('img/layout/nav_first.png') 0px -40px  no-repeat #EEE !important;
}


#nav_test li.last a {
    border-right: none;
    padding: 8px 35px 7px 17px !important;
}

#nav_test li a:hover {
    background: #EEE url('img/layout/nav_bg_hover.png') !important;
/*    border-left: 1px transparent solid;*/
}

#nav_test li.active a,
#nav_test li a:active {
    color: #4d4d4d; 
    background: #EEE url('img/layout/nav_bg_active.png') !important;
    border-left: 1px transparent solid;
}
