/*
Theme Name: Habits of Entrepreneurs
Theme URI: http://habitsofentrepreneurs.com/
Author: Glen Stansberry
Author URI: http://glenstansberry.com/
Version: 1.0
*/

/* RESET */
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: #ddd; color: #fff; text-shadow: none; } ::selection { background: #ddd; color: #fff; text-shadow: none; }

a, a:visited, a:hover { color: #454545; }
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; }

/*==== CUSTOM STYLES ====*/

/* GENERIC */ 
body { font-family: 'Libre Baskerville', serif; font-weight: normal; color: #333; }
.container { max-width: 800px; margin: 0 auto; }
a { text-decoration: none; color: #232323; }
a:hover { text-decoration: underline; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
h1, h2, h3, h4, h5 { font-weight: 300; }
p { font-size: 1em; line-height: 1.7; }

ul { padding-left: 15px; }
ul li { margin: 15px 0; }

/* HELPERS */
.center { text-align: center; margin: 0 auto; }
.italic { font-style: italic; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }

/* REGIONS */
.row { margin: 25px 0; }
.row:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }

/* Forms */
input, textarea { border-radius: 4px; background: #fff; border: 1px solid #ccc; }
select { display: inline-block; padding: 4px 6px; margin-bottom: 10px; vertical-align: middle; border-radius: 4px; height: 30px; *margin-top: 4px; line-height: 30px; width: 220px; background-color: #ffffff; border: 1px solid #cccccc; }

form { margin-top: 15px; }
form input, #single_product_page_container input, .gocheckout { padding: 7px; border-radius: 5px; }
.btn, .btn:visited, #submit, .wpsc_buy_button { border-radius: 4px; padding: 9px 13px; font-family: 'Helvetica Neue'; display: inline-block; color: #fff; border: none; background: #0cbaf7; font-weight: 200; letter-spacing: 1px; font-size: 1.3em; }
.btn:hover, #submit:hover { text-decoration: none; background: #0cafe8; border: none; color: #fff; }
.btn .arrow { background: url(images/arrow.png); width: 19px; height: 9px; display: inline-block; }
.wpsc_buy_button, .btn.green, .gocheckout, .make_purchase { background: #60d136; }
.wpsc_default_product_list .wpsc_buy_button { background: #444; font-size: 1em; color: #fff; }
#cart-widget-links { margin-top: 25px; float: left; }
a.gocheckout, a.gocheckout:visited { color: #fff; margin-top: 15px; display: block; }
#shoppingcart { border: 1px solid #ddd; padding: 10px; }
body.page-id-11 #shoppingcart { display: none; }
.checkout_link {}


/* Header */
.profile_bar { border-bottom: 1px solid #eee; width: 100%; padding: 0; height: 35px; margin-top: 7px; text-align: center; }
.sign_out { font-size: 0.9em; }



header { /*border-top: 12px solid rgba(0, 0, 0, 0.03); /*box-shadow: 0 3px 8px rgba(0, 0, 0, .05);*/}
h1 { margin: 25px auto; } 
.logo { margin: 20px auto 0; display: block; text-align: center; font-family: 'Helvetica Neue', 'Helvetica'; }
.logo span { font-style: italic; font-weight: 100; }
h1 a, h1 a:visited  { color: #454545; font-weight: bold; font-size: 1.3em; }
h1 a:hover { text-decoration: none; }

nav { margin: 0 auto 30px; text-align: center; line-height: 50px; }
.menu li { display: inline; margin: 0 15px; }
.menu li.left { text-align: left; }
.menu li.right { text-align: right; }
.menu li :last-child { margin-right: 0; }
.menu a { color: #444; font-size: 1.1em; padding: 14px 17px; }
.menu a:hover { color: #999; text-decoration: none; }
.menu .current_page_item a {   }
.menu .current_page_item a:hover { }
.menu .sub-menu { display: none; }

/* Body */

/* Home-only Styles */
.container.home { }
.home h2 { font-size: 2.5em; text-align: center; }

.home .info_left { width: 450px; float: left}
.home h3 { font-size: 1.7em; letter-spacing: 1px; line-height: 1.7; }

.preview { margin: 20px 0 30px 0; }
.more { margin: 15px 0; }
.more .btn {  }
.or { margin-right: 7x; }
.learn { display: inline-block; margin-left: 8px; font-size: 1.1em; }
.learn a { text-decoration: underline; }
.learn a:hover { text-decoration: none; }

/* Video list */
#scrollbar { margin: 70px 0 50px 0; width: 100%; padding: 10px 0 0 0; background: #e4e4e4; }
#scrollbar .scrollbar { position: relative; background-color: #c9c9c9; margin: 15px 0; }
#scrollbar .track { margin: 0; height: 15px; position: relative; }
#scrollbar .video_wrapper { float: left; margin-right: 15px; opacity: 0.6; }
#scrollbar :first-child { opacity: 1; }
#scrollbar .video_wrapper:hover { opacity: 1; }
#scrollbar .lead_image { clear: both; margin-bottom: 0; padding-bottom: 0; margin-right: 0; }
#scrollbar .text { margin: 0; background: #fff; clear: both; width: 260px; text-align: center; }
#scrollbar .text h4 { padding: 10px 0; margin: 0; }
#scrollbar .thumb { width: 200px; height: 15px; background: #8e8d8d; position: absolute; top: 0; overflow: hidden; margin: 0; }
#scrollbar .thumb .end { width: 1px; height: 1px; overflow: hidden; visibility: hidden }
#scrollbar .disable { display: none }
#scrollbar .viewport { width: 100%; height: 270px; position: relative; overflow: hidden; }
#scrollbar .overview { position: absolute; top: 0; left: 0; margin: 0; padding: 0; list-style: none; width: 2000px; }

/* Main */
.post_wrapper { background: #fff; padding: 20px 0; font-size: 1.18em; }
.list_wrapper { width: 760px; float: left; margin-right: 20px; }
.post_wrapper h3 { font-size: 2em; letter-spacing: 2px; }
.post_wrapper h2, .post_wrapper h3, .post_wrapper h4 { text-align: center; color: #666; }
.post .meta { font-size: 0.9em; font-style: italic; }
.post p { margin: .7em 0 1em 0; line-height: 1.635em; -webkit-font-smoothing: antialiased; }
.post li { line-height: 1.5em; padding: 0.2em 0 0 0; }
.post .video { margin: 20px auto; }
.entry { margin: 30px auto; max-width: 800px; }
.categories { margin: 20px 0; clear: both; }

.entry .wrap { text-align: center; }
.user-profile-links a { margin: 0 7px; }
.entry a, .profile_bar a { border-bottom: 1px solid #ddd; }
.entry a:hover, .profile_bar a:hover { border-bottom: none; text-decoration: none; }
.entry iframe { text-align: center; display: block; margin: 0 auto 25px; }

.notes { margin: 0 auto; padding: 15px 0; }

.purchase { margin: 40px; }
.purchase a { border-bottom: 1px solid #ddd; padding-bottom: 2px; }
.purchase a:hover { border-bottom: none; text-decoration: none; }
.purchase h3 { font-size: 1.3em; }

#loginform { width: 227px; clear: both; margin: 0 auto; }
#loginform label { clear: both; display: block; }
#loginform input { clear: both; margin: 5px 0; float: none;}
#loginform #submit { clear: both; float: right; display: block; }

.sidebar { width: 300px; float: left; }
.sidebar h3 { text-transform: uppercase; font-size: 1.3em; }
.sidebar ul { padding-left: 0; }
.sidebar li { list-style: none; margin: 8px 0; font-size: 0.95em; }
.sidebar a { color: #333; }

/* Products category page */
.subscribe_link { text-decoration: underline; } 
.subscribe_link:hover { text-decoration: none; }
body.page-template-default .entry .wrap { text-align: left; }
body.page-template-default .default_product_display .wpsc_product_title { padding-left: 10px; }
.default_product_display .wpsc_product_price { padding-left: 0; }

/* Checkout */
.wpsc-shopping-cart form { margin-top: 0; }
#checkout_page_container form input[type="submit"] { color: #fff; font-weight: 300; font-size: 1em; clear: both; padding: 5px 7px; border: none; }
.wpsc_checkout_table tr { margin: 17px 0; display: block; }
.wpsc_checkout_table td { vertical-align: middle; display: inline-block; }
th { padding-right: 25px; }

/* Footer */
footer { clear: both; margin: 20px auto 0; }
footer nav { float: none; text-align: center; font-family: 'Helvetica Neue', 'Helvetica'; text-transform: uppercase; font-size: 0.9em; }
footer .nav li { display: inline-block; margin-right: 30px; }
footer .nav a:hover { text-decoration: underline; }

/* SECTION SPECIFIC */

object, embed, iframe { max-width: 100%; }

  /* iPad/Tablet */
  @media only screen and (device-width: 768px) {
    h1 a { margin-left: 40px; }
  }
  


  /* Mobile */
  @media only screen and (max-width: 767px) {
    body { -webkit-text-size-adjust: none; }
    body { width: 100%; min-width: 0; margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; font-size: 0.9em; }
    .container, .column_wrapper { width: auto !important; float: none; margin-left: 0px; margin-right: 0px; padding-left: 20px; padding-right: 20px; }
    button, .btn { display: block; width: 100%; padding-left: 0px; padding-right: 0px; }
    .nav_toggle { display: block; float: right; padding: 4px 5px 3px 5px; margin-top: 20px; height: 20px; background: #010101; border: 1px solid #212121; border-radius: 5px; }
    .nav_wrapper { display: none; clear: both; }
    nav, .menu a { width: 100%; display: block; }
    nav { line-height: normal; }
    .menu a { padding: 12px 0 12px 10px; width: 100%; }
    .menu a:hover { background: #000; }
    .menu .current_page_item a { border-radius: 0; border: none; }
    .menu li { width: 100%; display: block; float: none; text-align: left; padding: 0; }
    .menu li:first-child { padding-top: 15px; }

    .masthead { height: 430px; }
    .masthead_text_wrapper { width: 45%; font-size: 0.7em; }
    .masthead .btn { padding: 7px;}

    footer { border-top: 1px solid #ddd; }
  }

.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; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  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: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  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; }
}
