/*
Theme Name: Cogito Health 2
Theme URI: http://www.cogitohealth.com/
Description: Cogito Health 2
Version: 2.0
Author: Justin Sitter
Author URI: http://www.cogitohealth.com/
*/


/*
Cogito blue: #3a61a4
Cogito gray: #9b999a
*/

/* Reset CSS */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}ol,ul{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;}

@font-face {
  font-family: "Frutiger";
  src: url("/wordpress/fonts/frutiger.ttf");
  }

/*
a.post-edit-link { display: block; padding: 8px; background-color: #f00; font-weight: 900; color: #fff; position: fixed; top: 10px; left: 10px; }
*/

body { padding-bottom: 40px; font-size: 14px; font-family: Helvetica, 'Nimbus Sans L', Arial, sans-serif; color: #3b3b3b; position: relative; /* background: url('/wordpress/background-body-12.png'); */ background-color: #fcfcfc; }

body.home div.entry { font-size: 120%; }

p, ul { line-height: 160%; margin: 0 0 1.6em 0; }

a { text-decoration: none; color: #3a61a4; }

h1, h2, h3, h4, h5, h6 { font-family: Frutiger, Helvetica, 'Nimbus Sans L', Arial, sans-serif; /* font-weight: 900; */ font-weight: 400; margin-bottom: 0.5em; line-height: 160%; }
h2 { font-size: 200%; }
h3 { font-size: 175%; }
h4 { font-size: 150%; }
h5 { font-size: 125%; }
h6 { font-size: 110%; }



div#wrapper { background-color: #fff; width: 880px; margin: 0 auto 20px auto; /* padding: 0 0 40px 0; */ padding: 0; position: relative; border-width: 0 1px 1px 1px; border-style: solid; border-color: #ddd; /* background: url('/wordpress/bg.png'); background-repeat: no-repeat; background-attachment: fixed; background-position: bottom left; */ -moz-box-shadow: 0px 1px 18px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 18px rgba(0,0,0,0.2); -opera-box-shadow: 0px 1px 18px rgba(0,0,0,0.2); -presto-box-shadow: 0px 1px 18px rgba(0,0,0,0.2); box-shadow: 0px 1px 18px rgba(0,0,0,0.2); }

div#header { /* height: 100px; */ height: 51px; padding: 40px 40px 0 40px; background-color: #f8f8f8; }

div#header:after,
div#content:after,
div#wrapper:after { content: '.'; overflow: hidden; width: 0; height: 0; display: block; clear: both; }

div#header h1#logo { width: 300px; height: 37px; margin: 0; float: left; background: url('/wordpress/cogito-logo-2.png'); }
div#header h1#logo a { display: block; width: 100%; height: 100%; }

div#header a { color: inherit; }
div#header ul#menu-main>li>a:hover { /* background-color: #eee; */ }

div#header ul#menu-main { font-size: 87.5%; float: right; padding: 0; margin: 20px 0 0 0; /* border-width: 1px 1px 0 1px; border-style: solid; border-color: #ddd; */ /* font-weight: 900; */ /* color: #fff; */ }
div#header ul#menu-main>li { display: block; float: left; margin: 0; height: 2.5em; height: 31px; /* padding: 10px 0; */ font-weight: 900; }

/* cogito blue tabs */
div#header ul#menu-main>li>a { display: block; line-height: 2.5em; line-height: 31px; height: 31px; margin: 0 3px; position: relative; top: -2px; padding: 0 10px; background-color: #3a61a4; border-style: solid; border-color: #3a61a4; border-width: 1px; color: #888; color: #fcfcfc; }

/* blue-gray|lavender tabs */
div#header ul#menu-main>li>a { display: block; line-height: 2.5em; line-height: 31px; height: 31px; margin: 0 3px; position: relative; top: -2px; padding: 0 10px; /* background-color: #3a61a4; background-color: #eee; background-color: #9b999a; background-color: #c0d3ff; */ background-color: #8da6d0; background-color: #8f9fd0; background-color: #8f9fd0; border-style: solid; /* border-color: #3a61a4; border-color: #ddd; border-color: #c0d3ff; border-color: #8f9fd0; */ border-color: #7c91b5; border-bottom-color: #8f9fd0; border-width: 1px; color: #888; color: #fcfcfc; }

/* light gray tabs */
div#header ul#menu-main>li>a { display: block; line-height: 2.5em; line-height: 31px; height: 31px; margin: 0 3px; position: relative; top: -2px; padding: 0 10px; background-color: #eee; border-style: solid; border-color: #ddd; border-bottom-color: #eee; border-width: 1px; color: #666; }



/*
div#header ul#menu-main>li>a:hover { color: #555; background-color: #f2f2f2; }
*/


/* cogito blue tabs */
div#header ul#menu-main>li>a:hover { background-color: #3a61a4; /* line-height: 2.5em; */ top: -2px; color: #fff; }

/* blue-gray|lavender tabs */
div#header ul#menu-main>li>a:hover { border-color: #c3cce8; border-color: #8fa1bf; border-bottom-color: #a4b8db; background-color: #c3cce8; background-color: #a4b8db; /* line-height: 2.5em; */ top: -2px; color: #fff; }

/* light gray tabs */
div#header ul#menu-main>li>a:hover { background-color: #3a61a4; border-color: #3a61a4; /* line-height: 2.5em; */ top: -2px; color: #fff; }





/* blue-gray|lavender tabs OR cogito blue tabs */
div#header ul#menu-main>li.current_page_item>a,
div#header ul#menu-main>li.current_page_ancestor>a,
div#header ul#menu-main>li.current_page>a:hover { color: #3b3b3b; background-color: #fff; line-height: 3em; height: 37px; position: relative; /* top: -0.55em; */ top: -0.55em; /* border-width: 0.2em 1px 0 1px; */ border-width: 1px; border-color: #ddd; border-bottom-color: #fff; border-style: solid; }

/* light gray tabs */
div#header ul#menu-main>li.current_page_item>a,
div#header ul#menu-main>li.current_page_ancestor>a,
div#header ul#menu-main>li.current_page>a:hover { color: #3b3b3b; background-color: #fff; line-height: 3em; height: 37px; position: relative; top: -0.55em; border-width: 0.2em 1px 0 1px; border-color: #ddd; border-top-color: #3a61a4; border-bottom-color: #fff; border-style: solid; }

/* light gray tabs - no blue top */
div#header ul#menu-main>li.current_page_item>a,
div#header ul#menu-main>li.current_page_ancestor>a,
div#header ul#menu-main>li.current_page>a:hover { color: #3b3b3b; background-color: #fff; line-height: 3em; height: 37px; position: relative; top: -0.5em; border-width: 1px 1px 0 1px; border-color: #ddd; border-bottom-color: #fff; border-style: solid; }


div#header ul#menu-main:hover>li.current_page_item:hover>a,
div#header ul#menu-main:hover>li.current_page_ancestor:hover>a { background-color: #fff; }
div#header ul#menu-main li ul { display: none; }
div#header ul#menu-main li.current_page_item ul,
div#header ul#menu-main li.current_page_ancestor ul { font-weight: 400; color: #3b3b3b; display: block; padding: 6px 0; position: absolute; top: 140px; left: 0; width: 120px; }
div#header ul#menu-main li.current_page_item ul li,
div#header ul#menu-main li.current_page_ancestor ul li { border-color: #ddd; border-style: solid; border-width: 0 0 1px 0; }
div#header ul#menu-main li.current_page_item ul li a,
div#header ul#menu-main li.current_page_ancestor ul li a { display: block; padding: 5px 20px 5px 40px; }
div#header ul#menu-main li.current_page_item ul li:last-child,
div#header ul#menu-main li.current_page_ancestor ul li:last-child { border-width: 0px; }
div#header ul#menu-main li.current_page_item ul li.current_page_item,
div#header ul#menu-main li.current_page_ancestor ul li.current_page_item { background-color: #f8f8f8; }
div#header ul#menu-main li.current_page_item ul li.current_page_item:first-child,
div#header ul#menu-main li.current_page_ancestor ul li.current_page_item:first-child { border-width: 1px 0 1px 0; }
div#header ul#menu-main li.current_page_item ul li.current_page_item:last-child,
div#header ul#menu-main li.current_page_ancestor ul li.current_page_item:last-child { border-width: 0 0 1px 0; }


div#header ul#menu-sub { background-color: #eee; width: 100%; }
div#header ul#menu-sub li { display: inline-block; }


div#content { clear: both; margin: 0; min-height: 331px; padding: 40px 40px; border-top: 1px solid #ddd; /* -moz-box-shadow: 0px -2px 4px -2px rgba(0,0,0,0.2); */ background: url('/wordpress/bg-6.png'); background-repeat: no-repeat; /* background-position: -60px 0; */ /* background-position: 500px 0; */ background-position: 500px bottom; }

div.post, div.page { width: 440px; padding: 0 180px 0 0; float: right; }

span.post-meta { font-size: 80%; color: #888; font-style: italic; white-space: nowrap; }

div.entry { margin-bottom: 1.6em; }

div#sidebar { width: 10px; float: left; }


div#footer { width: 100%; clear: both; font-size: 66.67%; color: #888; text-align: center; margin: 10px 0 20px 0; /* position: absolute; bottom: 10px; */ }
div#footer a { color: inherit; }
div#footer a:hover { color: #3a61a4; }

.alignleft { display: block; float: left; margin: 0 1em 0 0; }
.alignright { display: block; float: right; margin: 0 0 0 1em; }


body.page-id-140 div.entry p { display: inline; }




/* Front Page */

body.home div.post-163 { width: 440px; padding: 0; float: left; }
/*
body.home div.post-163 p:first-child:first-line { font-size: 160%; line-height: 160%; }
*/
body.home div#blog, body.home div#news { float: right; width: 290px; margin: 0 0 1em 0; }
body.home div#blog p, body.home div#news p { display: inline; }
body.home div#blog div.post,
body.home div#news div.post { font-size: 70%; float: none; width: auto; padding: 0; margin: 0; }
body.home div#blog h2,
body.home div#news h2 { font-family: Helvetica, 'Nimbus Sans L', Arial, sans-serif; font-size: 90%; font-weight: 900; margin-bottom: 0.5em; }
body.home div#blog p,
body.home div#news p { margin-bottom: 0; }