/*
Theme Name: Fool-AU
Description: Child theme for motley fool Australia 
Author: Kurt Morris
Text Domain: fool-au-theme
Template: freesite-theme
*/


body {
    font-family:"Open Sans", "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
}

img.site-logo {
    position:relative;
    left:10px;
    top:8px;
}

/***********************************************************
Tophat
************************************************************/

#tophat p {
    font-size:11px;
    font-weight:bold;
    line-height:30px;
    padding-right:20px;
    margin-bottom:0;
    color:#fff;
}

#tophat ul.utility {
    margin:0;
    float:right;
    margin-top:0.2em;
}

#tophat ul.utility li {
    display:inline;
    border-right:1px solid #777;
    list-style-type: none;
    color:#fff;
    font-size:11px;
    padding:0 0.8em;
}

#tophat ul.utility li:last-child {
    border:none;
}
/* See parent theme styles.css for top position */
#tophat .top-bar-section li.topIcon a:before {
    background-position: 0px 0px;
}

/***********************************************************
Nav
************************************************************/


/* Sidebar Nav */
div.sidebar-nav ul#menu-secondary li,
div.sidebar-nav ul#menu-guidebook li,
div.sidebar-nav ul#menu-forums li,
div.sidebar-nav ul#menu li {
    background:#1c5ca1;
}

li.share-advisor-tab > a {
    background-image: url("/wp-content/common-images/icon-sa.svg") !important;
    background-position: 20px 50% !important;
    background-repeat: no-repeat !important;
    /*padding-left:30px !important;*/
    text-indent:30px;
}
li.hidden-gems-tab > a {
    background-color: transparent; 
    background-image: url("/wp-content/common-images/icon-hg.svg") !important;
    background-position: 20px 50% !important;
    background-repeat: no-repeat !important;
    /*padding-left:30px !important;*/
    text-indent:30px;
}
li.pro-tab > a {
    background-color: transparent; 
    background-image: url("/wp-content/common-images/icon-pro.svg") !important;
    background-position: 20px 50% !important;
    background-repeat: no-repeat !important;
    /*padding-left:30px !important;*/
    text-indent:30px;
}
li.dividend-investor-tab > a {
    background-color: transparent; 
    background-image: url("/wp-content/common-images/icon-di.svg") !important;
    background-position: 20px 50% !important;
    background-repeat: no-repeat !important;
    /*padding-left:30px !important;*/
    text-indent:30px;    
}
li.mdp-tab > a {
    background-color: transparent; 
    background-image: url("/wp-content/common-images/icon-mdp.svg") !important;
    background-position: 20px 50% !important;
    background-repeat: no-repeat !important;
    /*padding-left:30px !important;*/
    text-indent:30px;    
}

@media only screen and (max-width: 942px) {
    li.share-advisor-tab > a,
    li.hidden-gems-tab > a,
    li.pro-tab > a,
    li.dividend-investor-tab > a,
    li.mdp-tab > a {
        background-image:none !important;
        padding-left: 10px !important;
        text-indent: 0;
    }
} 

/***********************************************************
Home Page Featured Treatment
************************************************************/
.home a .featured h2 {
    color:#fff;
}
.home a:hover .featured h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    color:#faecc0;
}
.home a:hover .featured h2:after {
    content:" \00BB";   
}
.home .featured h2 {
    position:absolute;
    top:-4px;
    left:0px;
    padding:20px;
    background-color: rgba(8,34,71,0.8);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    width:100%;
}
.home .featured {
    border-radius: 5px;
}


/***********************************************************
Layout
************************************************************/
article section {
    background:#fff;
}

.home section.module {
    background:#fff;
}

section h6 {
    font-family: 'Open Sans','Helvetica Neue', Helvetica, sans-serif;
    border-bottom:1px solid #EAEFF0;
    padding:0.1em;
    font-size:13px;
    text-transform:uppercase;
    font-weight:bold;
    color:rgba(65, 90, 107, 0.8);
    margin-top:1em;
}

div.sections-wrap {
    background:#fff;
}


/***********************************************************
Typography
************************************************************/
h2,
h3 {
    color:#304957;    
}
.home article section.headline {
    background:#e4ebec;

}
.home article section.headline h2 {
    font-size:42px;
    line-height:46px;
    color:#008cba;
}
.home article section.headline p {
    color:#555;
}
a:hover section.headline {
    background:#f3e4cd;
}
a:hover section.headline h2 {
    color:#105d85;
}
a:hover section.headline h2:after {
    content:' \00BB';
}
a:hover section.headline p {
    color:#000;
}
small,
.small {
    font-size:12px;
}
/* Handle DE dateline/byline differently to accommodate language switcher. */
.dateline-r h6.byline,
.dateline-l h6.byline {
    border-bottom:none;
}
.dateline-r,
.dateline-l {
    padding:0;
}
.dateline-r {
    text-align:right;
}
.byline.language-switcher a:before {
    background-image: url("/wp-content/common-images/icon-flags.png");
    background-repeat: no-repeat;
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 10px;
    position: relative;
    width: 18px;
}
.byline.language-switcher.english a:before {
    background-position: 0px -26px;
}
.byline.language-switcher.german a:before {
    background-position: 0px -65px;
} 
/* Handle byline for stories on home page article lists. AU only for now. */
.home .article-list h3 {
    padding-bottom:4px !important;
}
.home .article-list h6.byline {
    color:#888;
}
/***********************************************************
Tables
************************************************************/
section.sidebar table {
    margin:10px 10px 0px 12px;
    background:transparent;
    border:none;
    width:90%;
    border-collapse:collapse;
}
section.sidebar table th {
    text-align:left;
    padding:0.8em 0.3em;
    color:rgba(65, 90, 107, 1.0);
}
section.sidebar table th:last-child {
    text-align:right;
}
section.sidebar table tr {
    background:transparent !important;
    border-bottom:1px solid #D3E4EC;
}
section.sidebar table tr:last-child {
    border-bottom:none;
}
section.sidebar table tr td {
    font-size:14px;
    padding:0.8em 0.3em;
    width:60%;
    vertical-align: bottom;
}
section.sidebar table tr td:last-child {
    width:40%;
    text-align:right;
}
section.sidebar ul {
    margin-top:10px;
}
section.sidebar ul li {
    border-bottom:1px solid #D3E4EC;
    padding-top:0.8em;
}

/***********************************************************
BBPress Overrides
************************************************************/
#bbpress-forums .bbp-header td {
    background: rgba(65, 90, 107, 0.3);
    font-weight:bold;
    color:#3F6072;
    text-transform:uppercase;
    font-size:12px;
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-header ul li {
    font-size:12px;
    color:#ccc;
}
#bbpress-forums li.bbp-header a {
    color:#fff;
}
#bbpress-forums li.bbp-header a:hover {
    text-decoration:underline;
}

.bbp-template-notice .bbp-author-avatar {
    display:none;
}
#bbpress-forums div.bbp-topic-tags,
#bbpress-forums div.bbp-breadcrumb {
    float:none;
}
#bbpress-forums div.bbp-topic-tags p,
#bbpress-forums div.bbp-breadcrumb p {
    font-size:1.2em;
}
div.bbp-template-notice.info {
    display:none;
}
#bbp-user-body {
    padding-top:20px !important;
}
#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar {
    width:100px;
    height:100px;
    margin:0;
}
#bbpress-forums #bbp-your-profile fieldset label[for] {
    width:35%;
}
#bbpress-forums #bbp-user-wrapper h2.entry-title {
    font-size:1.8em;
    padding-bottom:0;
}
#bbp-user-body fieldset.bbp-form {
    margin:10px 0 20px 0;
}
#bbpress-forums #bbp-your-profile fieldset select {
    width:60%;
}
#bbpress-forums div.bbp-forum-content, #bbpress-forums div.bbp-topic-content, #bbpress-forums div.bbp-reply-content {
    margin-left:20px;
}
#bbpress-forums .bbp-reply-content div.bbp-reply-author {
    width:inherit;
    border:2px solid #eee;
    padding:0 4px 6px;
    margin:0 10px 10px 0;
    text-align:center;
}
#bbpress-forums div.bbp-reply-author img.avatar {
    margin-top:4px;
}
#bbpress-forums div.bbp-reply-author a.bbp-author-name {
    margin:0;
}
#bbpress-forums button,
#bbpress-forums .button {
    border-radius:5px;
    padding:7px 16px;
    font-size:14px;
}
#bbpress-forums input[type="text"]#bbp_search {
    height:2em;
    margin-right:8px;
}

.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky {
    background-color:#ffeec2 !important;
}
#bbpress-forums tr.bbp-header td {
    color:#3F6072;
}
#bbpress-forums table.bbp-replies tr:nth-of-type(even) {
    background-color:#fff;
}
#bbpress-forums table td {
    font-size:14px;
    vertical-align: top !important;
    border-bottom:1px solid #ccc !important;
    padding:20px 10px;
}
#bbpress-forums table.mceToolbar {
    background:transparent;
}
#bbpress-forums table.mceToolbar td {
    border-bottom:none !important;
}
#bbpress-forums table td p,
#bbpress-forums table td ul li,
#bbpress-forums table td ol li {
    font-size:14px;
}
#bbpress-forums table.bbp-replies td {
    border-bottom:none !important;
}
#bbpress-forums table td.bbp-meta img {
    height:40px;
    width:40px;
}
#bbpress-forums .bbp-forums-list li {
    display:block;
    font-size:12px;
    padding:6px 0;
}
#bbpress-forums .bbp-forums-list {
    border:none;
    padding-left:0;

}
#bbpress-forums td.bbp-forum-topic-count,
#bbpress-forums td.bbp-forum-reply-count {
    text-align: center;
    vertical-align: top;
}
#bbpress-forums td.bbp-forum-freshness {
    vertical-align: top;
}
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
    float:none;
}
#bbpress-forums div.bbp-meta {
    border-bottom:1px solid #eee;
    margin-bottom:10px;
    padding-bottom:10px;
}
div.tmf-admin-links {
    margin-top:30px;
    padding-top:6px;
    border-top:1px dotted #eee;"
    
}
#bbpress-forums span.bbp-admin-links a {
    color:#008cba;
}
#bbpress-forums span.bbp-admin-links a:hover {
    text-decoration:underline;
}
#bbpress-forums div.bbp-meta img.avatar {
    height:40px;
    width:40px;
    border:2px solid #eee;
    padding:2px;
}
#bbpress-forums span.bbp-admin-links {
    float:none;
}
#bbpress-forums div.tmf-post-header {
    background:#eee;
    border:1px solid #ddd;
    color:#444;
    margin-bottom:10px;
    padding:0.3em;
}

#bbpress-forums div.tmf-post-header a {
    color:#008cba
}
#bbpress-forums div.tmf-fav-links {
    text-align:right;
    margin-bottom:5px;

}
#bbpress-forums #bbp-single-user-details {
    width:100%;
    float:none;
}
#bbpress-forums #bbp-user-body {
    margin-left:0;
}
#bbpress-forums #bbp-single-user-details #bbp-user-navigation a {
    float:left;
}
/* Hide profile info */
#bbp-user-profile {
    display:none;
}
/* suppress current page breadcrumb */
.bbp-breadcrumb p span:nth-last-child(2),
#bbpress-forums .bbp-breadcrumb .bbp-breadcrumb-current {
    display:none;
}
/* contact page nav links */
#bbpress-forums #bbp-single-user-details #bbp-user-navigation a {
    float:none;
}
#bbpress-forums #bbp-single-user-details #bbp-user-navigation li {
    display:inline;
}
#bbp-user-navigation dl.faqs {
    margin-left:0;
    font-size:inherit;
    line-height:inherit;
    margin-bottom:inherit;
}
#bbp-user-navigation dt,
#bbp-user-navigation dl {
    margin-bottom:0;
}
#bbpress-forums #bbp-single-user-details #bbp-user-navigation dl.faqs dd a {
    float:none;
    display:inline;
    padding:0;
}
#bbp-user-navigation ul {
    line-height: inherit;
}

/* Style unread topics */
a.bbp-topic-permalink:visited {
    color:#bbb
}

/* hide certain stuff on profile page. TO DO: This is a hack. Need a better solution */
form#bbp-your-profile h2,
form#bbp-your-profile fieldset {
    /*display:none;*/
}

/* hide bio profile form on submit */
#bbp-user-body form {
    display:none;
}

@media only screen and (max-width: 480px) {
    #bbpress-forums div.bbp-reply-author img.avatar {
        position:relative;
        top:0;
    }
    #bbpress-forums span.bbp-reply-post-date {
        float:none;
    }
}
.bbp-pagination-count {
    line-height:38px;
}
#bbpress-forums .bbp-pagination-links  {
    font-size:16px;
    padding:20px;

}
.bbp-pagination-links a, 
.bbp-pagination-links span.current {
    margin-left:10px;
    padding:10px;
}
.bbp-pagination-links span.dots {
    margin-left:10px;
    padding:10px;
}


/***********************************************************
Tabbed Panels (Scorecard)
************************************************************/
.tabs dd>a {
    margin-right:2px;
    font-weight:200;
    font-size:14px;
    padding:10px;
    background:#fff;
}
.tabs dd.active a {
    background:#fff;
    color:#000;
    font-weight:600;
    border-bottom:3px solid #3F6072;
}
.tabs dd.active a:hover {
    text-decoration:none;
}
.tabs dd a:hover {
    background:#fff;
    color:#000;
    border-bottom:3px solid #5185A5;
}

/***********************************************************
Premium Feature Post
************************************************************/
#premium-feature {
    padding:0px !important;
    border:1px solid #ddd;
    background:#ebf3fa;
}
#premium-feature .article-container {
    padding:20px 80px;
}
#premium-feature h3.sub-heading {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #5a88a1;
    background-image:url("/wp-content/common-images/icon-pro.png");
    background-repeat: no-repeat;
    background-position: 20px 50%;
    padding:20px 20px 20px 48px;
    color:#fff;
    font-size:14px;
    font-weight:normal;
    letter-spacing:.1em;
    text-transform: uppercase;
    margin:0 !important;
}
#premium-feature.pro h3.sub-heading {
    background-image:url("/wp-content/common-images/icon-pro.svg");
}
#premium-feature.mdp h3.sub-heading {
    background-image:url("/wp-content/common-images/icon-mdp.svg");    
}
#premium-feature div,
#premium-feature section {

}
#premium-feature #wdsb-share-box {
    background:#ebf3fa !important;
    border:1px solid #ddd;
    border-right:none;
    padding-bottom:10px;
}
#premium-feature #wdsb-share-box.wdqs-inline {
    border:none;
}

/* -----------------------------------------
    Footer
----------------------------------------- */

footer {
  padding:20px 0 60px;
  clear:both;  
}

.menu-bottomnav-container {
    clear:both;
}

footer .row {
   float:left;
   width:100%;
   overflow:hidden;
   position:relative;
}
footer ul.menu {
  clear:left;
  list-style:none;
  margin:0 0 40px 0;
  padding:0;
  position:relative;
  text-align:center;
  display:inline-table;
}
footer ul.menu li {
  display:inline-block;
  float:left;
  list-style:none;
  margin:0;
  padding:0;
  position:relative;
} 
footer ul.menu li a:after {
    content: " | ";
    color: #999;
    display: inline-block;
    font-size: 100%;
    margin: 0 0 0 1.2em;
}
footer ul.menu li:last-child a:after {
    content:none;
}
footer ul.menu li a {
   display:block;
   margin:0 0 0 1px;
   padding:3px 10px;
   text-decoration:none;
   line-height:1.3em;
   color:#fff;  
   font-weight:600;
   font-size:0.8em;  
}
footer ul.menu li a:hover {
   color:#fc3;
}
footer  {
    color:#ccc;
}
footer #fn-serverinfo {
    color:#133F6C;
    font-size:10px;
    text-align:center;
}
footer .textwidget {
    margin-top:20px;
    padding-top:40px;
}

@media only screen and (max-width: 768px) {
    footer ul.menu li {
        display:none;
    }
    #premium-feature .article-container {
        padding:20px;
    }
}


