/*
Theme Name: Fool-CAMF
Description: Child theme for motley fool Canada
Author: Kurt Morris
Text Domain: fool-ca-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 stles.css for top position */
#tophat .top-bar-section li.topIcon a:before {
    background-position: 0px -13px;
}

/***********************************************************
Nav
************************************************************/
li.stock-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.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;
}


/***********************************************************
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;
}

input#acceptTerms {
    margin-right:0.5rem;
    margin-bottom:8rem;
}

/* alignment tweaks for checkbox on sidebar & single-bottom ecaps only */
aside.large-4 input#acceptTerms {
    margin-top:0.8rem;
}

.ecap-legal {
    margin-bottom:1rem;
}

/***********************************************************
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;
}


/***********************************************************
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;
}

/* -----------------------------------------
    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;
}

