/*
FILENAME: globals.css
DESCRIPTION: This stylesheet serves global declarations to all ADVantage assets
*/

/* =BASE */

body {
  background: #2057a9 url("../images/bg_wrapper_blue.png") no-repeat center top;
  font: normal 62.5% 'Helvetica Neue', Helvetica, Arial, sans-serif; /* normalize font size across browsers */
  line-height: 18px;
  color: #444;
}

.hidden { display: none; }

a:link, a:visited {
  font-weight: bold;
  border-bottom: 1px dotted rgba(0, 0, 0, .5);
  text-decoration: none;
  color: #2057a9;
}

a:hover, a:active {
  background-color: #2057a9;
  border-bottom: 1px solid #2057a9;
  color: #fff;
}

p, ul, ol {
  margin-bottom: 18px;
  font-size: 1.3em;
}

strong {
  font-style: normal;
  color: rgba(32, 87, 169, .75);
}

/* =WRAPPER */

.wrapper {
  width: 960px;
  margin: 0 auto;
}

/* =HEADER */

.header {
  overflow: hidden;
  height: 102px;
}

.header .logo {
  float: left;
  width: 260px;
}

.header .logo a {
  display: block;
  background: transparent url("../images/logo_advantage_rev_190x54.png") no-repeat;
  width: 190px;
  height: 54px;
  margin-top: 24px;
  border: 0;
}

.header .logo img {
  display: block;
  width: 0;
}

.header .login {
  float: right;
  width: 152px;
}

.header .login a {
  display: block;
  background: transparent url("../images/button_customer_login.png") no-repeat;
  width: 152px;
  height: 36px;
  margin-top: 19px;
  border: 0;
  text-indent: -9999px;
}

/* =MENU */

.menu {
  clear: both;
  overflow: hidden;
  background: #b4b4b4 url("../images/bg_menu.png") repeat-x;
  border-bottom: 1px solid #646464;
  -moz-border-radius-topright: 12px;
  -moz-border-radius-topleft: 12px;
  -webkit-border-top-right-radius: 12px;
  -webkit-border-top-left-radius: 12px;
}

.menu ul {
  float: left;
  list-style-type: none;
  margin: 0;
  padding: 0 9px;
}

.menu li {
  float: left;
  padding: 0;
}

.menu a {
  display: block;
  padding: 0 18px;
  border: 0;
  line-height: 54px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, .5);
  color: #3b3b3b;
}

.menu a:hover {
  background: transparent;
  color: #666;
}

.menu li.selected a { color: #2057a9; }
.menu hr { display: none; }

/* =HEADINGS */

h2 {
  margin: 18px 0 27px 0;
  line-height: 27px;
  font-size: 2.6em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.6em;
}

h4 {
  margin-bottom: 9px;
  font-size: 1.3em;
}

hr {
  clear: both;
  height: 1px;
  margin-bottom: 17px;
  border: 0;
  border-bottom: 1px solid #d4d4d4;
}

/* =BANNER */

.banner a { border: 0; }
.banner a img { display: block; }

/* =CONTENT */

.content {
  overflow: hidden;
  background: #fff url("../images/bg_content.png") repeat-y;
  margin-bottom: 18px;
  -moz-border-radius-bottomright: 12px;
  -moz-border-radius-bottomleft: 12px;
  -webkit-border-bottom-right-radius: 12px;
  -webkit-border-bottom-left-radius: 12px;
}

.right_sidebar .col1 {
  float: left;
  width: 720px;
}

.right_sidebar .col2 {
  float: left;
  width: 240px;
}

/* =INTRO */

.intro { padding: 0 18px; }

.intro ul.portfolio {
  overflow: hidden;
  margin: 0 0 3px 0;
}

.intro ul.portfolio li {
  float: left;
  width: 333px;
  height: 188px;
  margin-right: 18px;
  padding: 0;
  background: #b4b4b4;
}

.intro ul.portfolio li.last {
  margin-right: 0;
}

.intro ul.portfolio li a {
  display: block;
  background: #d4d4d4;
  width: 315px;
  height: 170px;
  margin-right: 18px;
  padding: 9px 9px 0 9px;
  border-bottom: 9px solid #d4d4d4;
}

.intro ul.portfolio li a:hover { border-bottom: 9px solid #901b2d; }
h3.view_portfolio { margin-bottom: 24px; }

/* =BLOG =ENTRY */

.blog_entry {
  clear: both;
  padding: 0 18px;
}

.blog_header {
  overflow: hidden;
  background: #d4d4d4;
  margin: 0 -18px;
  margin-bottom: 18px;
  padding: 18px;
  border-top: 1px solid #b4b4b4;
  border-bottom: 1px solid #b4b4b4;
}

.blog_header h3 {
  margin-bottom: 3px;
  padding: 0;
  color: #901b2d;
}

.author {
  margin-bottom: 9px;
  font: normal 1.4em Palatino, serif;
  color: #828282;
}

.author em {
  font-weight: bold;
  font-style: normal;
  color: #4b4b4b;
}

.meta { overflow: hidden; }

.meta ul {
  overflow: hidden;
  float: left;
  list-style-type: none;
  margin: 0 18px 0 0;
  padding-left: 27px;
}

.meta ul li {
  float: left;
  padding: 0;
}

.meta ul.date { background: url("../images/time.png") 0 50% no-repeat; }
.meta ul.tags { background: url("../images/tag_red.png") 0 50% no-repeat; }
.post p, .post ul { padding-left: 18px; }
.post ul { color: #828282; }

.comments {
  overflow: hidden;
  background: #eee;
  margin-bottom: 18px;
}

.comments ul {
  overflow: hidden;
  float: left;
  list-style-type: none;
  width: 533px;
  margin: 0;
  padding: 0 9px;
  line-height: 36px;
}

.comments ul li {
  float: left;
  margin-right: 27px;
  padding: 0 0 0 27px;
}

.comments ul li#add_comment { background: url("../images/comment_add.png") 0 50% no-repeat; }
.comments ul li#view_comments { background: url("../images/comments.png") 0 50% no-repeat; }

/* =SIDEBAR */

.right_sidebar .sidebar { padding: 18px; }

.right_sidebar .sidebar h3 {
  margin-top: .5em;
  padding-bottom: 9px;
  border-bottom: 1px solid #d4d4d4;
}

/* =NEWS */

ul.articles { margin: 0; }

ul.articles li {
  margin-bottom: 18px;
  padding: 0;
}

ul.articles li strong { display: block; }

/* =FOOTER */

.footer {
  text-align: center;
  color: rgba(255, 255, 255, .5);
}

.footer a { color: rgba(0, 0, 0, .75); }
.footer a:hover {
  border-color: #fff;
  color: #fff;
}