/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */


body {
    font-family:helvetica, arial, verdana;
    color:#474c4d;
    font-size:0.75em;
    background:url('../img/bg-top.jpg') repeat-x;
    line-height:1.5em
}

h2 {
    font-size:1.29em;
    font-weight:bold;
}

span.hide {
    display:none;
}

header,
footer {
    width:100%;
    clear:both;
    float:left;
}

header {
    height:106px;
}

footer {
    height:181px;
    background:url('../img/bg-footer.jpg') repeat-x;    
}

.content,
div.site-body{
    width:968px;
    margin:auto;
}

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

header .logo img {
    /*height:106px;*/
}

footer .contact {
    float:left;    
    width:720px;
    margin-left:34px;    
    max-height:112px;
}

footer .logo {
    float:left;
    width:214px;
    margin-top:4px;
}

a {
    text-decoration:underline;
    color:#7f6d5f;
}

a:hover {
    text-decoration:underline;
}

a.site-credits {
    text-decoration:none;
}

/**
 * main nav rules
 */
div.nav {
    height:106px;
    float:left;
    width:721px;
}

div.nav .item {
    float:left;
    height:96px;
    margin-top:10px;
}

div.nav .item a {
    background:url('../img/header-nav-sprite.jpg') no-repeat;
}

div.nav .item a {
    display:block;
    width:100%;
    height:100%;
}

/* item specific rules */
div.nav .consultation a {
    width:138px;
    background-position:0 0;
}

div.nav .vgb a {
    width:215px;
    background-position:-138px 0;
}
div.nav .pregnancy a {
    width:108px;
    background-position:-358px 0;
}
div.nav .wakeup a {
    width:254px;
    background-position:-466px 0;
}

div.nav .consultation.active a,
div.nav .consultation a:hover {
    background-position:0 -95px;
}

div.nav .vgb.active a,
div.nav .vgb a:hover {
    background-position:-138px -95px;
}

div.nav .pregnancy.active a,
div.nav .pregnancy a:hover {
    background-position:-358px -95px;
}

div.nav .wakeup.active a,
div.nav .wakeup a:hover {
    background-position:-466px -95px;
}

div.site-body .content {
    background:url('../img/bg-a-feature.jpg') no-repeat;
    float:left;
}

div.site-body .a-feature {
    width:940px;
    padding:24px 22px 0 19px;
}

div.content .subnav {
    height:36px;
    border-bottom:1px dotted black;
    width:920px;
    margin:20px 20px 10px 35px;
}

div.content .subnav ul {
    padding:10px 0px 10px 0px;
    margin:0px;
}

div.content .subnav ul li {
    float:left;
    list-style-type:none;
}

div.content .subnav ul li a {
    text-transform:uppercase;
    text-decoration:none;
    color:#37393a;
    font-size:1.2em;
    font-weight:bold;
    padding-right:16px;
}

div.content .subnav ul li.active a,
div.content .subnav ul li a:hover {
    color:#608275;
}

/* =============================================================================
   Home Page Styles
   ========================================================================== */
   
body#home .a-feature .left,
body#home .a-feature .right {
    float:left;
}

body#home .a-feature .left {
    margin-right:5px;
    width:229px;
}

body#home .a-feature .left .top {
    height:270px;
    background-color:#9ed4bc;
    padding:20px;
}

body#home h1 {
    color:#000;
    margin-top:25px;
    margin-bottom:16px;
    font-size:1.95em;
    text-transform:uppercase;
    line-height:1.05em;
}

body#home .a-feature .left p {
    margin-top:0px;
}

body#home .a-feature .left .consultation-link {
    text-transform:uppercase;
    font-size:1.125em;
    background:url('../img/bg-home-a-feature-link.jpg') no-repeat;
    width:230px;
    height:40px;
    margin-top:5px;
}

body#home .a-feature .left .consultation-link a {
    padding-top:12px;
    padding-left:20px;
    display:block;
    width:100%;
    height:100%;
    color:#7f6d5f;
    text-decoration:none;
    font-weight:bold;
}

.page-grid {
    margin-left:19px;
    margin-bottom:48px;
    clear:both;
    float:left;
}

.page-grid .grid-item {
    float:left;
    width:307px;
    height:203px;
    margin-top:10px;
    position:relative;
}

.page-grid .vert-border {
    width:1px;
    height:193px;
    margin:10px 0px;
    border-right:1px dotted black;
    float:left;
}

.page-grid .horiz-border {
    height:1px;
    width:288px;
    margin:0px 10px;
    border-bottom:1px dotted black;
    float:left;
    padding-top:32px;
    bottom:0px;
    position:absolute;
}

.page-grid .grid-item .copy {
    margin:20px 20px 0px 20px;
}

.page-grid .grid-item a.more-information {
    width:268px;
    height:25px;
    display:block;
    padding:5px 10px;
    text-decoration:none;
    margin-left:10px;
    bottom:32px;
    position:absolute;
}

.page-grid .grid-item a.more-information:hover{
    color:#fff;
    background:url('../img/bg-grid-more-info-hover.jpg') no-repeat;
}

.clear {
    clear:both;
    float:left;
}





/* =============================================================================
   Content Page Styles
   ========================================================================== */

.content .col-left {
    clear:both;
    float:left;
    width:680px;
    margin:0px 20px 80px 35px;
}

.content .col-right {
    float:left;
    width:220px;
	height:220px;
}



.img-right cushycms{
    float:left;
    width:220px;
}


h1 {
    font-size:1.6em;
    color:#608275;
    margin-top:16px;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media only screen and (min-width: 320px) and (max-width: 1024px){
body#home .a-feature .left {
    width:220px;
}
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
