/*
Theme Name: Children's Health Policy Centre 
Theme URI: http://childhealthpolicy.ca/
Author: Gwyn Pritchett
Author URI: http://gwyn.ca/
Description: Responsive WordPress theme for SFU's Children's Health Policy Centre.
Version: 2.0
*/

@import "lib/bootstrap/css/bootstrap-theme.min.css";

/* Typography */
body {
  color: #272727;
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.65em;
}
h1, h2, h3, h4, h5, h6 {
  color: #272727;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
h1 {
  font-size: 48px;
  color: #93092c;
  font-weight: 300;
}
@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }
}
a {
  color: #8e142f;
  text-decoration: none;
  outline: none;
}
a:hover, a:active, a:focus {
  color: #8e142f;
  text-decoration: underline;
}
a:hover, a:focus, a:active {
  outline: none !important;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
}

/* Bootstrap Grid, Wrappers */
.site-main {
  padding-top: 3em;
  padding-bottom: 5em;
}
/* Header */
#logo {
  margin-left: -5px;
}
.navbar {
  margin-bottom: 0;
  background-color: #8e142f;
  border: none;
  background-image: none;
}
.navbar a {
  text-decoration: none;
}
#menu-header_menu:first-child a {
  padding-left: 10px;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form{
  border:none;
}
.navbar.navbar-inverse .navbar-nav .menu-item a {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}
.navbar.navbar-inverse .navbar-nav .menu-item a:hover {
  color: #ccc;
}
.navbar-inverse .navbar-brand {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}
.navbar-header {
  background-color: #8e142f;
}
.navbar .navbar-toggle {
  border: none;
}
.navbar .navbar-toggle:focus, .navbar .navbar-toggle:hover, .navbar .navbar-toggle:active {
  background-color: transparent;
}
.navbar .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar > .container {
  padding-left: 5px;
}
.navbar-nav {
  font-size: 16px;
}
.navbar-nav .menu-item.menu-item-has-children {
  margin-right: 5px;
}
.navbar-nav .menu-item.menu-item-has-children > a:after {
  content: "";
  font-family: "FontAwesome";
  font-size: 20px;
  position: absolute;
  right: -1px;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu {
  position: absolute;
  display: none;
  list-style: none;
  background-color: rgba(221, 221, 221, 0.8);
  padding: 0;
  margin: 0;
  color: #000;
  width: 200px;
  z-index: 101;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu > li {
  padding: 0;
  border-bottom: 1px solid #ddd;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu > li > a {
  color: #000;
  outline: none;
  display: block;
  padding: 3px 10px;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu a {
  text-decoration: none;
}
.navbar-nav:not(.navbar-right) .menu-item.menu-item-has-children .sub-menu > li:hover {
  background-color: #000;
}
.navbar-nav:not(.navbar-right) .menu-item.menu-item-has-children .sub-menu > li:hover > a {
  color: #fff;
}
.navbar-nav .menu-item.menu-item-has-children .sub-menu > li:last-child {
  border-bottom: none;
}
.current-menu-item > a {
  color: #ccc !important;
}
.menu-item-has-children .current-menu-item > a {
  background-color: #000;
  color: #fff;
}
.navbar-nav .menu-item.menu-item-has-children a:hover ~ .sub-menu, .navbar-nav .menu-item.menu-item-has-children .sub-menu:hover {
  display: block;
}

.navbar li a.search-toggle {
  padding: 13px 15px;
}
.search-toggle > i {
  color: #fff;
  font-size: 20px;
}
.navbar-right #searchform {
  left: -365px;
  padding: 10px;
  position: absolute;
  text-align: center;
  top: 45px;
  width: 400px;
  background-color: rgba(235, 235, 240, 0.9);
  border: 1px solid rgba(30,30,30,.15);
}
.navbar-right #searchform .field {
  border: 2px solid #ccc;
  border-radius: 0;
  padding: 3px 10px;
  -moz-box-shadow: 0 0 5px #ccc inset;
  -webkit-box-shadow: 0 0 5px #ccc inset;
  box-shadow: 0 0 5px #ccc inset;
  color: #212121;
  width: 320px;
  height: 32px;
  font-family: Roboto, sans-serif;
  font-size: .9em;
  font-style: italic;
}
.navbar-right #searchform > i {
  color: #333;
  font-size: 24px;
  margin-right: 20px;
  vertical-align: sub;
}

#header_right_description {
  text-align: right;
  color: #93092c;
  font-size: 24px;
  margin-top: 32px;
  font-family: 'Roboto', sans-serif;
}
#masthead > .container {
  margin: 10px auto;
}
header#masthead.site-header {
  border-top: 2px solid #8e142f;
}
.header-devider {
  width: 100%;
  height: 10px;
  background-color: #8e142f;
}
.page-child .header-devider {
  display: none;
}
::-webkit-input-placeholder {
  color: #212121;
}
::-moz-placeholder {  /* Firefox 19+ */
  color: #212121;  
}
:-ms-input-placeholder {  
  color: #212121;  
}
@media (max-width: 480px) {
  .navbar .navbar-header .navbar-brand {
    font-size: 17px;
    padding: 15px 5px 15px 15px;
  }
}
@media (max-width: 767px) {
  .page_header_main_img {
    padding: 0;
  }
}
@media (max-width: 991px) {
  #header_right_description {
    display: none;
  }
  .navbar-nav .menu-item.menu-item-has-children .sub-menu {
    background-color: rgba(33, 33, 33, 0.35);
    width:100%;
    position: static;
  }
  .navbar-nav .menu-item.menu-item-has-children .sub-menu > li {
    border-bottom: none;
    margin: 0;
  }
  .navbar-nav .menu-item.menu-item-has-children .sub-menu > li > a {
    color: #fff;
  }
  .navbar .navbar-collapse .navbar-nav .menu-item a {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
  }
  .navbar-nav:not(.navbar-right) .menu-item.menu-item-has-children .sub-menu > li:hover {
    background-color: transparent;
  }
  .navbar-nav .menu-item.menu-item-has-children .sub-menu > li:hover > a:hover {
    color: #ccc;
  }
  .navbar-nav .menu-item.menu-item-has-children a:hover ~ .sub-menu, .navbar-nav .menu-item.menu-item-has-children .sub-menu:hover {
    display: inherit;
  }
  .search-toggle > i {
    display: none;
  }
  .navbar-right #searchform {
    position: static;
    background-color: rgba(33, 33, 33, 0.15);
    border: 1px solid rgba(30,30,30,.15);
    width: auto;
  }
  .navbar-nav .menu-item.menu-item-has-children > a::after {
    position: static;
    margin-top: 2px;
    margin-left: 3px;
  }
  .navbar-right #searchform .field {
    width: auto;
  }
  .navbar-right .search-form {
    display: block !important;
  }
  .navbar .navbar-collapse .navbar-nav .menu-item {
    margin: 5px 0;
  }
  .navbar > .container {
    padding-left: 15px;
  }
  #menu-header_menu:first-child a {
    padding-left: 15px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .nav > li > a {
    padding-left: 13px;
    padding-right: 13px;
  }
}

/* Header Slider */
.page_header_img .slider-inside {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  font-family: 'Roboto', sans-serif;
}
.page_header_img #slider .swiper-container {
  height: 100%;
}
.page_header_img #slider .swiper-container, .page_header_img #slider .swiper-container h2 {
  color: #fff;
}
.page_header_img #slider .swiper-container a {
  color: #ece488;
  text-decoration: none;
}
.page_header_img #slider .swiper-container a:hover {
  text-decoration: underline;
}
.page_header_img #slider .swiper-container a.read-more {
  margin-top: 30px;
  display: inline-block;
}
#slider .slider-pagination {
  position: relative;
  bottom: 30px;
  text-align: center;
  z-index: 101;
}
#slider .slider-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: #fff;
  margin: 0 7px;
}
#slider .slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #ece488;
}
@media (max-width: 767px) {
  .page_header_img #slider {
    position: static;
  }
  #slider {
    padding-bottom: 20px;
  }
  #slider .slider-pagination {
    position: static;
    bottom: 0;
  }
}
/* Featured Image */
.page_header_img {
  background-color: #a0311e;
  background-image: url('images/hero_background.png');
  background-size: cover;
}
.page_header_img .container {
  position: relative;
}

#featured-image .page_header_main_img {
  background-size: cover;
  background-position: center center;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
#featured-image .page_header_main_img img {
  visibility: hidden;
}
.page_header_img .nav_parent {
  background-color: rgba(255, 255, 255, 0.8);
}
.page_header_img .nav_parent .title {
  font-size: 24px;
  line-height: 40px;
  padding: 15px 0;
  color: #000;
  display: block;
}
.page_header_img .nav_parent .description {
  color: #000;
  padding-bottom: 15px;
  display: block;
}
@media (max-width: 767px) {
  #featured-image .page_header_main_img {
    background-image: none;
  }
  #featured-image .page_header_main_img img {
    visibility: visible;
  }
}
/* Content */
.page_content h2, h2 {
  font-size: 24px;  
}
.page_content h3, h3 {
  font-size: 20px;
}

.page_content h2 {
  font-size: 32px;
  margin-top: 46px;
  margin-bottom: 22px;
  font-weight: 400;
  color: #333;
}

@media (max-width: 992px) {
  .page_content h2, h2 {
    font-size: 22px;  
  }
  .page_content h3, h3 {
    font-size: 18px;
  }
}

/* Sidebar */
/* *** CHANGE: Added #research-features-widget alongside #bchcp-features-widget *** */
#right_sidebar #updates-widget, #right_sidebar #bchcp-features-widget, #right_sidebar #research-features-widget {
  margin-bottom: 40px;
}
#right_sidebar #updates-widget h3, #right_sidebar #bchcp-features-widget h3, #right_sidebar #research-features-widget h3 {
  margin-top: 0;
}
.widget ul {
  padding: 0;
}
#updates-widget ul li a, #bchcp-features-widget ul li a, #research-features-widget ul li a {
  text-decoration: none;
}
#updates-widget ul li a.more-link, #bchcp-features-widget ul li a.more-link, #research-features-widget ul li a.more-link {
  display: inline;
}
#updates-widget ul li a, #bchcp-features-widget ul li a, #research-features-widget ul li a {
  text-decoration: none;
}
#updates-widget ul li a:hover, #updates-widget ul li a:active, #updates-widget ul li a:focus,
#bchcp-features-widget ul li a:hover, #bchcp-features-widget ul li a:active, #bchcp-features-widget ul li a:focus,
#research-features-widget ul li a:hover, #research-features-widget ul li a:active, #research-features-widget ul li a:focus
{
  color: #8e142f;
  text-decoration: underline;
}
/* *** END CHANGE *** */
h3.widget-title {
  color: #93092c;
  font-size: 32px;
  font-weight: 300;
}
.subscribes-widget .gform_wrapper .gform_body .gfield_label {
  display: none;
}
.subscribes-widget .gform_wrapper .gform_body .ginput_container {
  margin: 10px 0;
}
.subscribes-widget .gform_wrapper .gform_body input {
  height: 32px;
}
.subscribes-widget .gform_wrapper .gfield_select {
  padding-left: 10px
}
.subscribes-widget .gform_wrapper .gfield_select option {
  padding: 0 10px;
}
.subscribes-widget .gform_wrapper .gform_body input[type="text"] {
  border: 2px solid #ccc;
  border-radius: 0;
  padding: 3px 10px;
  -moz-box-shadow: 0 0 5px #ccc inset;
  -webkit-box-shadow: 0 0 5px #ccc inset;
  box-shadow: 0 0 5px #ccc inset;
  color: #212121;
  width: 100%;
}
.subscribes-widget .gform_wrapper .gform_body select {
  overflow: hidden;
  background: url("images/dropdown.png") no-repeat scroll right top / contain #fff;
  border: 1px solid #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 5px;
  font-size: 14px;
  height: 26px;
  width: 200px !important;
  outline: none;
  padding-right: 20px;
}
.subscribes-widget .gform_wrapper .gform_body select::-ms-expand {
    display: none;
}

.gform_body ul li:before {
  content: none;
}
.subscribes-widget .gform_wrapper .gform_footer {
  margin: 0;
}
.subscribes-widget .gform_wrapper .gform_footer .gform_button {
  border: 1px solid #214c9f;
  border-radius: 5px;
  background-color: #214c9f;
  float: right;
  color: #fff;
  padding: 5px 10px;
}
.subscribes-widget .validation_error {
  display: none;
}
.latest_quarterly-widget img {
  width: 100%;
}
@media (max-width: 767px) {
  h3.widget-title {
    font-size: 26px;
  }
  .sidebar {
    margin-top: 2em;
  }
  .widget {
    margin-top: 1.5em;
  }
  .secondary .widget {
    padding-top: 20px;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #8e142f;
  }
  .secondary .widget:last-child {
    border-bottom: none;
    padding-bottom: 0
  }
  .latest_quarterly-widget img {
    width: auto;
  }
  #right_sidebar {
    margin-top: 40px;
  }
}

/* Footer */
.site-footer {
  padding-top: 3em;
  padding-bottom:3em;
  background-color: #333;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 15px;
}
.site-footer h3 {
  color: #fff;
  margin-top: 0;
  font-weight: 300;
  font-size: 36px;
}
.site-footer a {
  color: #ddd;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer address {
  line-height: 1.6;
}
.site-footer .contacts a {
  text-decoration: underline;
}
.site-footer ul li:before {
  display: none;
}
@media (max-width: 992px) {
  .site-footer h3 {
    margin-top: 1em;
    font-size: 26px;
  }
}
.site-info {
  color: #ccc;
}
.site-info img {
  display: block;
  margin-bottom: 0.5em;
}

/* Page-Specific Styles */
.page-template-home_template #main {
  padding-bottom: 0;
}
.page-template-home_template section {
  padding-bottom: 3em;
}
.page-template-home_template section.primary .bchcp h3 {
  color: #204e99;
}
.page-template-home_template section.primary .bchcp li:before {
  display: none;
}
.page-template-home_template section.secondary{
  background-color: #f6f5ed;
  padding: 20px 0 40px;
}

.page-template-quarterly .page_separator ul li:before {
  display: none;
}
.page-template-quarterly .latest_issue .quat_content_issue {
  margin-top: 40px;
}

.page-template-quarterly .latest_issue img:hover {
	opacity: 0.8;
}

.page-template-quarterly h4 {
  margin-top: 20px;
}
.execSummary {
  color: #666;
  border: 1px solid #999;
  font-size: .6em;
  padding: .2em .6em;
  bottom: 1em;
  background-color: whitesmoke;
  vertical-align: middle;
  margin-left: 5px;
}
.execSummary:hover {
  color: #666;
  text-decoration: underline;
}

.letter-box {
  border: 1px solid #ccc;
  margin: 10px 0;
  overflow: hidden;
}
.letter-box .caption {
  background-color: #ccc;
  height: auto;
  width: 100%;
  text-transform: uppercase;
  padding: 2px 10px;
}
.letter-box .content {
  padding: 20px;
}
.letter-indexes {
  margin: 10px 0;
}
.letter-indexes .index-letter {
  border-left: 1px solid #ccc;
  padding: 0 5px;
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
}
.letter-indexes :first-child {
  border-left: none;
  padding-left: 0;
}
.hidden {
  display: none !important;
}
.breadcrumbs {
  margin-bottom: 20px;
}
.breadcrumbs :first-child {
  text-decoration: none;
  color: grey;
}
/* WordPress Required Styles */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 20px;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 20px;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.clear {
  clear: both;
}
/* Common styles */
hr {
  width: 30%;
  border: 1px solid #8e142f;
  margin: 40px auto;
}
ul {
  padding-left: 0
}
ul li {
  list-style: none;
}
.widget ul li:before, .site-main ul li:before {
  background-color: #8e142f;
  content: " ";
  display: inline-block;
  height: 10px;
  margin-right: 8px;
  width: 10px;
}
.gform_body ul li::before {
  content: none !important;
}
.more-link {
  display: block;
}
div.news_date, span.date {
  margin-bottom: 7px;
  display: block;
}

@media (max-width: 500px) {
  img.alignright {
    float: none;
    display: block;
    margin: 10px auto !important;
  }
}

.wp-pagenavi {
  clear: both;
  font-family: Roboto, sans-serif;
  font-size: .8em;
}
img.alignleft.size-full {
	margin-bottom: 15px;
}

/* Home Page Changes */
.page_header_main_img {
  padding-left: 0;
  padding-right: 0;
}

.page_header_img #slider {
  right:0px;
}

@media (max-width: 991px) {
  .page_header_img #slider {
    position: static;
    padding-bottom: 0;
  }
}
@media (max-width: 991px) {
  #slider .slider-pagination {
    position: static;
    bottom: 0;
  }	
}
@media (max-width: 991px) {
  .page_header_main_img {
    padding: 0;
  }
}
.slider-container h2 {
  line-height: 1.2;
}

.swiper-slide {
  font-size: 14px;
}

.page_header_img #slider .swiper-container a.read-more {
  margin-top:1em;
}

.swiper-pagination-bullet {
  opacity: .8;
}

.lead {
  font-size: 23px;
  line-height: 2.1em
}

.h1-block {
  display: flex;
  height: 110px;
}
.h1-block h1 {align-self: flex-end;}
.h1-block img {align-self: center;}


.bchcp h3 {
  font-size: 23px;
  line-height: 1.4em;
  margin-top:0.3em;
  margin-bottom:0;
}

.sidebar p {
  font-size: 19px;
  line-height: 1.5em;
}

.sidebar ul.morelinks li {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1em;
  margin-top: 1em;
}

.widget ul,
.sidebar ul,
.subscribes-widget ul {
  margin-top: 0;
  margin-bottom: 32px;
}

h3.widget-title	{
  margin-top:0;
  margin-bottom: 12px;
}

/* *** CHANGE: Added #research-features-widget alongside other widgets *** */
.page_content ul li,
#updates-widget ul li,
.textwidget ul li,
#bchcp-features-widget ul li,
#research-features-widget ul li {
  margin-left: 1.6em;
  margin-bottom: .9em;
}

.page_content ul li:before,
#updates-widget ul li:before, 
.textwidget ul li:before,
#bchcp-features-widget ul li:before,
#research-features-widget ul li:before {
  background-color: #8e142f;
  content: " ";
  display: inline-block;
  height: .6em;
  width: .6em;
  margin: 0.1em 0.75em 0 -1.5em;
}
/* *** END CHANGE *** */

.latest_quarterly-widget { /* styles the text-link below the cover image */
  font-family: Roboto, sans-serif;
  font-size: .8em;
}

.subscribes-widget .gform_wrapper .gform_body input,
div.ginput_container_select {
  font-family: Roboto, sans-serif;
  font-size: .9em;
  color: #212121;  
}
.subscribes-widget .gform_wrapper .gform_footer .gform_button {
  font-family: Roboto, sans-serif;
}

.site-main {
  padding-bottom: 0; /* style.css has a margin-bottom of 5em which pads white below footer, but unsure if it's needed elsewhere */
}
.site-main .container .row {
  margin-bottom: 2em;
}

/* Secondary Pages changes */
/* Change the break point -- from col-md- to col-lg- */

div.sec_page_header_main_img.col-lg-8,
div.page_header_main_img.col-md-8 {
  padding-left:15px;
  padding-right:15px;
}

.page_header_img .nav_parent {
  background: rgba(0, 0, 0, .6);
}

.nav_parent.col-lg-4 {
  min-height: 266px;
  height: 266px;
}

.nav_parent.col-md-4 {
  min-height: 200px;
  height:auto;
}

.navbar-nav .menu-item.menu-item-has-children.expanded a ~ .sub-menu {
  display: block;
}
.navbar-nav .menu-item.menu-item-has-children a.collapsed ~ .sub-menu {
  display: none;
}

@media (min-width: 992px) {
  .page-template-default .page_header_main_img {
    height: 276px!important;
  }
  .nav_parent.col-md-4 {
    height: 276px!important; /*responsive image height shrinks down to 125px in Safari*/
    overflow: hidden;	
  }
}

.nav_parent.col-md-4 h3 {
  font-size: 20px;
  line-height: 1.3em;
  padding: 10px 0 0;
  color: #fff;	
}
.nav_parent.col-md-4 p {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.8em;
  color: #fff;
}
@media (min-width: 320px/*767px/*992px*/) and (max-width: 992px) {
  .nav_parent.col-md-4 {
    margin: 0;
    padding-top: 15px;
  }
}
.page_content h1 {
  margin-top: 0;
}

div.person {
  clear: both;
  margin-bottom: 30px;
}

.bio-photo {
  float: left;
}
.bio-contact {
  margin-left: 125px;
}
@media (max-width: 480px) {
  .bio-contact { 
    margin-left: 0;
    float: left;
    margin-bottom: 10px;
    width: 100%;
  }
}
.bio {
  margin-left: 100px;
  padding-left: 25px;
  border-left: 1px solid #ccc;
  clear: both;
}
@media (max-width: 991px) {
  .bio {
    margin-left: 0px; 
    padding-left: 0px; 
    border-left: medium none;
  }
}

/* Features List */
.lcp_catlist {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 3em;
  border-left: 1px solid #ddd;
  margin-left: 0em !important;
  padding-left: 0.8em;
}

.page_content .lcp_catlist li:before {
  display:none;
}

.lcp_catlist li {
  margin-top:3em;
}

.lcp_catlist li:first-child {
  margin-top: 1.5em;
  padding-top: 0;
  border-top: 0;
}

.lcp_catlist li a.title {
  line-height: 1.3;
  font-size: 18px;
  font-weight: 400;
  font-family: Roboto, sans-serif;
  text-decoration: none;
}

.lcp_catlist .small,
span.date,
div.news_date {
  display: block;
  color: #666;
  margin-bottom: 5px;
  font-family: Roboto, sans-serif;
}

.lcp_catlist li a {
  display: block;
}

/* Subject Index and Table Edits */

.letter-box .caption {
  font-family: Roboto, sans-serif;
  background-color: #ccc;
  height: auto;
  width: 100%;
  text-transform: uppercase;
  padding: 2px 10px;
}	

.content ul li:before {
  background-color: #ccc;
}

.letter-indexes {
  font-family: Roboto, sans-serif;
  font-size: 8px;
  text-align: center;
}

.letter-indexes .index-letter {
  padding: 0 6px;
  cursor: pointer;
  font-weight: normal;
}

.tablepress tfoot th, .tablepress thead th,
.tablepress tfoot th, .tablepress thead {
  font-weight: normal !important;
}

.tablepress {
  font-family: Roboto, sans-serif !important;
}

.tablepress tfoot th, .tablepress thead th {
  background-color: #ccc !important;
  color: #000 !important;
}

#Refer-Button {
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  cursor: pointer;
}
svg:hover #Refer-Button {
  fill: #8E1430;
  cursor: pointer;
}
.main_img_caption {
  bottom: 10px;
  position: absolute;
  right: 20px;
}

.nav_parent.col-md-4 p a {
  color: #f3eca8;
  text-decoration: underline;
  outline: none;
}
.nav_parent.col-md-4 p a:hover {
  color: #f3d777;
  text-decoration: none;
}
#page {
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 992px) {
  .home-featured-image {
    height: 300px;
    max-height: 300px;
  }
  .home-featured-image #slider {
    height: 300px;
    max-height: 300px;
  }
  .home_splash {
    height: 300px;
    max-height: 300px;
  }
}
@media (max-width: 991px) {
  .page_header_img .slider-inside {
    position: relative;
    clear: both;
    padding: 10px 20px;
    background-color: transparent;
  }
  #featured-image.home-featured-image .slider-pagination {
    bottom: 10px;
    margin: 0 auto;
    width: 100%;
  }
  .home-featured-image #slider .swiper-container {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .home-featured-image #slider {
    padding: 0;
  }
  #featured-image .page_header_main_img {
    min-height: 200px;
  }
}

.page_header_img.home-featured-image #slider .swiper-container a.read-more {
  display: block;
}
.letter-indexes .top-link {
  display: block;
  font-size: 12px;
}

.didyouknow-banner {background: url(https://childhealthpolicy.ca/wp-content/uploads/2019/09/did-you-know_background.png); padding: 15px; display: inline-block; margin-top: 20px;}
.didyouknow-banner-text {font-family: 'Roboto', sans-serif; background-color: #fff; padding: 10px 15px 5px; display: inline-block; color: #204e99}
.didyouknow-banner-text h3 {font-size: 15px; text-transform: uppercase; font-weight: bold;}
.didyouknow-banner-text p {font-size: 18px; line-height: 1.3; font-weight: normal;}
.didyouknow-banner-text a {font-size: 12px; color: #fff; text-transform: uppercase; background: #8E142F; padding: 5px 20px; display: inline-block; border-radius: 20px;}
.didyouknow img {max-width: 100%; height: auto; padding-top: 20px}

.didyouknow-banner-text ul.lcp_catlist {border-left: 0px; padding-left: 0px; margin-bottom: 10px;}
.didyouknow-banner-text ul.lcp_catlist a {font-size: 16px; font-weight: 500; color: #204e99; text-transform: none; background: none; padding: 0px 0px; display: inline-block; border-radius: 0px;}
.didyouknow-banner-text ul.lcp_catlist a:hover {text-decoration: none;}
.didyouknow-banner-text ul.lcp_catlist li {margin-top: 1em;}


@media (min-width: 768px) {
  .page-template-home_template-php #main .content-area {
    margin-top: 30px;
  }
  .page-template-home_template-php #main .sidebar.bchcp {
    margin-top: -9px;
  }
}

@media (max-width: 767px) {
  .page-template-home_template section.primary .container > .row {
    margin-bottom: 0;
  }
  .page-template-home_template section.primary .container > .row ul {
    margin-bottom: 0;
  }
  
  .lead {
    font-size: 20px;
    line-height: 1.5em
  }
  #featured-image .page_header_main_img {
    min-height: 150px;
  }
}
@media (max-width: 480px) {
  #featured-image .page_header_main_img {
    min-height: 100px;
  }
}
.wrapper-list-mode h4{
  font-size: 20px;
  margin-bottom: 25px;
  margin-top: 25px;
}
.wrapper-list-mode ul li a{
  font-size: 17px;
}