/*
  Theme Name: John Howard Society of Ontario
  Theme URI: http://www.johnhoward.on.ca
  Description: Custom JHSO theme based on HTML5 Blank WordPress Theme
  Version: 2.0
  Author: Michael Luscombe & updates by Cristian Ablachim
  Author URI: http://www.gocactus.com

*/


/*------------------------------------*\
    MAIN
\*------------------------------------*/
:root {
  --blue: #00A5DF;
  --yellow: #FFC400;
  --light-blue: #F1F8FF;
  --dark-blue: #01416B;
  --purple: #A15CBF;
  --light-grey: #F5F5F5;
  --medium-grey: #979797;
  --primary: var(--blue);
  --secondary: var(--yellow);
}

/* global box-sizing */

*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* -ms-word-break: break-all;
  */
  /* Be VERY careful with this, breaks normal words wh_erever */
  /* word-break: break-all;
  */
  /* Non standard for webkit */
  /* word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  */
}

html {
  font-size: 62.5%;
}

body {
  color: #444;
  font: 400 14px/22px "Roboto", sans-serif;
  ;
  overflow-x: hidden;
}

.d-none {
  display: none !important;
}

.clear:before,
.clear:after {
  content: ' ';
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  zoom: 1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.img.attachment-120x120.size-120x120.wp-post-image {
  width: 120px;
  height: 120px;
}

.download-wrapper img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 110px;
  height: 140px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #222222;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
  border: 1px solid #04A4CC;
}

::-webkit-input-placeholder {
  color: rgba(0, 138, 176, 0.5);
}

:-moz-placeholder {
  color: rgba(0, 138, 176, 0.5);
}

::-moz-placeholder {
  color: rgba(0, 138, 176, 0.5);
}

:-ms-input-placeholder {
  color: rgba(0, 138, 176, 0.5);
}

b {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h5 {
  margin-top: 16px;
  margin-bottom: 16px;
}

div.alpha {
  padding-right: 2%;
}

div.omega {
  padding-left: 2%;
}

li {font-size: 20px;    line-height: 1.4;}

/*------------------------------------*\ STRUCTURE \*------------------------------------*/


/* wrapper */

.wrapper {
  width: 85%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}



/* header */

.header {
  display: block;
  position: relative;
  height: 185px;
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 11;
}

body:not(.page-template-template-flexcontent) .fade-header {
  /*display: block;*/
  display: none;
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 25px;
  top: 185px;
  background-image: url('/wp-content/themes/jhso-new2014/img/fade-header.png');
  background-position: top center;
  background-repeat: no-repeat;
}


/* logo */

.logo {
  display: block;
  position: absolute;
  left: 5px;
  top: 21px;
  /*width: 316px;
 */
  height: 143px;
}

.logo a:active,
.logo a:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.logo-img {
  width: auto;
  height: 143px;
}


/* mobile nav */

#mobile-menu-switch {
  display: none;
}

#mobile-menu {
  display: none;
}


/* top nav */

.topbar {
  display: block;
  position: absolute;
  right: 0px;
  top: 26px;
}

.topbar ul {
  margin: 0px;
  padding: 0px;
}

.topbar ul li {
  display: inline-block;
  padding: 0px;
  margin: 0px;
}

.topbar ul li a {
  font-weight: 700;
  font-size: 14px;
  color: #008ab0;
}

section.general.pdflist .featured-downloads article ul.related__items li {
  font-size: 14px;
}

/*.topbar .top-contactus a:link,
.topbar .top-contactus a:visited {
  display: inline-block;
  padding: 14px;
  padding-left: 44px;
  color: #ffffff;
  font-size: 14px;
  line-height: 9px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #008ab0;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  margin-left: 25px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-mail-white.svg');
  background-repeat: no-repeat;
  background-size: 25px 17px;
  background-position: 11px 10px;
}

.no-svg .topbar .top-contactus a:link,
.no-svg .topbar .top-contactus a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-mail-white.png');
}*/

/*.topbar .top-contactus a:active,
.topbar .top-contactus a:hover {
  background-color: #666666;
}*/

.topbar .top-media a:link,
.topbar .top-media a:visited {
  display: inline-block;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px dotted #A1A1A1;
}

.topbar ul.nav-social,
.topbar > ul:not(.nav-social) li {
  border-left: 1px solid #DADADA;
  padding: 0 1em;
}

.topbar > ul:not(.nav-social) li {
  margin: 0 -2px;
}

.topbar ul.nav-social {
  margin-left: 1em;
}

.topbar .top-social {
  vertical-align: middle;
}

.topbar .top-social a:link,
.topbar .top-social a:visited {
  text-indent: -1000px;
  display: inline-block;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: 50%;
  overflow: hidden;
  margin-top: 4px;
  /*height: 37px;
  margin-bottom: -13px;*/
}

.topbar .top-facebook a:link,
.topbar .top-facebook a:visited {
  background-image: url(/wp-content/themes/jhso-new2014/img/icon-facebook.svg);
  background-size: 20px 20px;
}

.no-svg .topbar .top-facebook a:link,
.no-svg .topbar .top-facebook a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-facebook-blue.png');
}

.topbar .top-youtube a:link,
.topbar .top-youtube a:visited {
  background-image: url(/wp-content/themes/jhso-new2014/img/icon-youtube.svg);
  background-size: 24px 18px;
}

.no-svg .topbar .top-youtube a:link,
.no-svg .topbar .top-youtube a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-youtube-blue.png');
}

.topbar .top-instagram a:link,
.topbar .top-instagram a:visited {
  background-image: url(/wp-content/themes/jhso-new2014/img/icon-instagram.svg);
  background-size: 20px 22px;
}

.no-svg .topbar .top-instagram a:link,
.no-svg .topbar .top-instagram a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-instagram-blue.png');
}

.topbar .top-twitter a:link,
.topbar .top-twitter a:visited {
  background-image: url(/wp-content/themes/jhso-new2014/img/icon-twitter.svg);
  background-size: 24px 20px;
}

.no-svg .topbar .top-twitter a:link,
.no-svg .topbar .top-twitter a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-twitter-blue.png');
}

.topbar .top-linkedin a:link,
.topbar .top-linkedin a:visited {
  background-image: url(/wp-content/themes/jhso-new2014/img/icon-linkedin.svg);
  background-size: 24px 20px;
}

.no-svg .topbar .top-linkedin a:link,
.no-svg .topbar .top-linkedin a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-linkedin-blue.png');
}

.header .nav {
  display: block;
  position: absolute;
  right: 0px;
  bottom: 18px;
}

.header .nav ul,
.header .nav ul li {
  /*display: inline-block;*/
  /*position: relative;*/
  margin: 0px;
  padding: 0px;
}

.header .nav ul.wp-megamenu > li > a {
  font-weight: 700 !important;
  font-size: 17px !important;
  font-family: "Roboto" !important;
}

.header .nav ul li a:link,
.header .nav ul li a:visited {
/*  font-family: 'Roboto', sans-serif;
  font-weight: 700;*/
  color: var(--dark-blue);
  font-size: 17px;
  /*text-transform: uppercase;
  padding-left: 15px;
  margin-right: 11px;
  padding-top: 4px;
  padding-bottom: 4px;*/
  /*border-left: 1px dotted #b2b2b2;*/
}

.header .nav ul li a:active,
.header .nav ul li a:hover {
  color: #008ab0;
}

.header .nav ul li:first-child a:link,
.header .nav ul li:first-child a:visited {
  border-left: 0px;
}

.header nav > ul > li.menu-item-has-children > a {
  position: relative;
  margin-right: 34px !important;
}

/*.header nav > ul > li.menu-item-has-children > a:after {
  content: '';
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-triangle.svg');
  position: absolute;
  float: right;
  top: 50%;
  right: -24px;
  width: 14px;
  height: 11px;
  transform: translateY(-50%);
}*/

/*.header nav ul li:hover ul.sub-menu {
  display: block;
}*/

.header nav ul li ul.sub-menu {
  display: none;
  position: absolute;
  z-index: 2000;
  left: 0px;
  padding: 0px;
  margin: 0px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
}

.header nav ul li.menu-item-20 ul.sub-menu {
  width: 190px;
}

.header nav ul li ul.sub-menu li {
  display: block;
}

.header nav ul li ul.sub-menu li.pointer {
  height: 14px;
  background-image: url('/wp-content/themes/jhso-new2014/img/submenu-arrow.png');
  background-repeat: no-repeat;
  background-position: 17px 7px;
}

/*.header nav ul li ul.sub-menu li.first {
  border-top: 4px solid #0387ad;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #ffffff;
  padding-top: 8px;
}*/

#wp-megamenu-header-menu>.wpmm-nav-wrap .wp-megamenu>li>ul.wp-megamenu-sub-menu li.wpmm-type-widget>a {
  font-size: 14px;
}

.wp-megamenu>li>ul.wp-megamenu-sub-menu li.wpmm-type-widget>a {
  font-weight: 700 !important;
}

header .current_page_item > a,
header .current_page_parent > a,
header #wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li:hover>a,
header .wp-megamenu>li>ul.wp-megamenu-sub-menu a:hover {
  color: var(--primary) !important;
}

.wp-megamenu >li > ul.wp-megamenu-sub-menu li > a {
  word-break: break-word;
}

#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li a,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h1,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h2,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h3,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h4,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h5,
#wp-megamenu-header-menu>.wpmm-nav-wrap ul.wp-megamenu h6 {
  font-family: 'Roboto' !important;
}

@media( min-width: 769px ) {
  .sidebar .research-menu,
  .sidebar .affiliate-services-menu {
    margin-bottom: 24px;
  }

  .header nav ul li.mobile-only,
  .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu> li#wp-megamenu-item-wpmm-search-icon,
  .mobile-searchbar {
    display: none !important;
  }

  .header nav ul.wp-megamenu > li > a + ul.wp-megamenu-sub-menu {
    border-radius: 4px !important;
    border-top: 4px solid var(--primary) !important;
    border-bottom: 4px solid var(--primary) !important;
  }

  .header nav ul.wp-megamenu > li.menu__research .wpmm-col.wpmm-col-4:first-child {
    width: 25.333333%;
  }

  .header nav ul.wp-megamenu > li.menu__research .wpmm-col.wpmm-col-4:nth-child(2) {
    width: 41.333333%;
  }
}

/*.header nav ul li ul.sub-menu li.first a {}*/

/*.header nav ul li ul.sub-menu li.last {
  border-bottom: 4px solid #0387ad;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #ffffff;
  padding-bottom: 8px;
}*/

.header nav ul li ul.sub-menu li.last a {}

.header nav ul li ul.sub-menu li a:link,
.header nav ul li ul.sub-menu li a:visited {
  display: block;
  position: relative;
  white-space: nowrap;
  color: #444444;
  font: 400 14px/14px "Roboto", sans-serif;
  ;
  text-transform: none;
  background-color: #ffffff;
  margin-right: 0px;
  padding-left: 18px;
  padding-right: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-left: 0px;
  border-right: 0px;
}

.header nav ul li.menu-item-20 ul.sub-menu li a:link,
.header nav ul li.menu-item-20 ul.sub-menu li a:visited {
  white-space: normal;
}

.header nav ul li ul.sub-menu li a:active,
.header nav ul li ul.sub-menu li a:hover {
  background-color: #0387ad;
  color: #ffffff;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-stream-arrow.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 34px 10px;
}

.no-svg .header nav ul li ul.sub-menu li a:active,
.no-svg .header nav ul li ul.sub-menu li a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-stream-arrow-dropdown.png');
}

.header nav ul li ul.sub-menu li ul.sub-menu {
  display: block;
  position: relative;
  left: 0px;
  top: 0px;
  padding: 0px;
  margin: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.header nav ul li ul.sub-menu li ul.sub-menu li {

}

.header nav ul li ul.sub-menu li ul.sub-menu li:first-child {
  border-top: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.header nav ul li ul.sub-menu li ul.sub-menu li:last-child {
  border-bottom: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.header nav ul li ul.sub-menu li ul.sub-menu li a:link,
.header nav ul li ul.sub-menu li ul.sub-menu li a:visited {
  background-color: #EFEFEF;
  font-size: 12px;
  border-left: 19px solid #D2D2D2;
  padding-left: 16px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.header nav ul li ul.sub-menu li ul.sub-menu li a:active,
.header nav ul li ul.sub-menu li ul.sub-menu li a:hover {
  background-color: #0387AD;
}

.header nav ul li ul.sub-menu li ul.sub-menu li.first a:link,
.header nav ul li ul.sub-menu li ul.sub-menu li.first a:visited {
  padding-top: 12px;
}

.header nav ul li ul.sub-menu li ul.sub-menu li.last a:link,
.header nav ul li ul.sub-menu li ul.sub-menu li.last a:visited {
  padding-bottom: 12px;
}

.header .topbar ul li.mainnav-search a:link,
.header .topbar ul li.mainnav-search a:visited,
.header .nav ul li.mainnav-search a:link,
.header .nav ul li.mainnav-search a:visited {
  text-indent: -10000px;
  display: inline-block;
  margin-right: 0px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 20px 19px;
  background-position: 50%;
  padding-left: 32px;
}

/*.no-svg .header .topbar ul li.mainnav-search a:link,
.no-svg .header .topbar ul li.mainnav-search a:visited,
.no-svg .header .nav ul li.mainnav-search a:link,
.no-svg .header .nav ul li.mainnav-search a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-search.png');
}*/

.header .topbar ul li.mainnav-search a:active,
.header .topbar ul li.mainnav-search a:hover,
.header .nav ul li.mainnav-search a:active,
.header .nav ul li.mainnav-search a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-search.svg');
}

.no-svg .header .topbar ul li.mainnav-search a:active,
.no-svg .header .topbar ul li.mainnav-search a:hover,
.no-svg .header .nav ul li.mainnav-search a:active,
.no-svg .header .nav ul li.mainnav-search a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-search-blue.png');
}

.header #searchbar {
  display: none;
  position: absolute;
  z-index: 100000;
  right: 0px;
  padding: 20px;
  background-color: #ffffff;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 14px 13px rgba(8, 72, 93, 0.2);
}

.header #searchbar .search-input {
  display: inline-block;
  padding: 12px;
  background-color: #e5f3f7;
  border: none;
  color: #008ab0;
  font-size: 14px;
  line-height: 14px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.header #searchbar .search-submit {
  display: inline-block;
  padding: 12px;
  padding-top: 13px;
  padding-bottom: 13px;
  margin-left: -4px;
  background-color: #008ab0;
  border: none;
  color: #ffffff;
  font-size: 14px;
  line-height: 14px;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.header #searchbar .search-submit:hover {
  cursor: pointer;
  background-color: #444444;
}


/* sidebar styles */
main {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 1em;
}

@media( min-width: 961px ) {
  main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content";
  }
  /*.index-wrapper main,
  body.search main,
  body.post-template-default.single main,
  body.employment-template-default main,
  body.page-template-page-research-events main,
  body.page-template-page-visiting main,
  body.post-type-archive main,
  body.page-template-page-about main,
  body.page-template-default main,
  body.page-template-page-research main,
  body.tax-download-category main {*/
  body .wrapper.affiliate main,
  body .wrapper.affiliate main {
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "content sidebar";
  }
  section.general {
    grid-area: content;
  }

  .wrapper.affiliate .sidebar {
    grid-area: sidebar;
    margin-top: 4em;
  }
}

.sidebar {
  display: block;
  position: relative;
  /* width: 390px;
  */
  /*width: 30%;*/
  margin-right: 14px;
  margin-top: 23px;
  margin-bottom: 20px;
  /*float: right;*/
}

.sidebar.desktop {
  display: block;
}

.sidebar.mobile {
  display: none;
}

.sidebar .sidebar-title {
  margin-top: 0px;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  color: #666666;
  font-size: 28px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 22px;
}

.affiliate-services-menu .services-title-affiliate {
  font-family: "Roboto", sans-serif;
  color: #666666;
  font-size: 15px;
  font-weight: 300;
  line-height: 15px;
  /*text-transform: uppercase;*/
  margin-bottom: 16px;
  font-weight: 700;
}

.affiliate-services-menu .services-title {
  font-family: "Roboto", sans-serif;
  color: #666666;
  font-size: 32px;
  font-weight: 300;
  line-height: 38px;
  /*text-transform: uppercase;*/
}

.sidebar .research-menu,
.sidebar .affiliate-services-menu {
  display: block;
  position: relative;
  width: 100%;
  min-height: 100px;
  /*background-color: #f4f4f4;*/
  background-color: #f5f5f5;
  padding: 24px;
  padding-bottom: 18px;
  margin-top: -24px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

.sidebar .research-menu ul,
.sidebar .research-menu ul li,
.sidebar .affiliate-services-menu ul,
.sidebar .affiliate-services-menu ul li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.sidebar .research-menu>ul>li,
.sidebar .affiliate-services-menu>ul>li {
  padding-bottom: 2px;
  padding-top: 2px;
  margin-bottom: 12px;
  border-bottom: 1px dotted #c9c9c9;
  font-size: 0px;
  line-height: 0px;
  clear: both;
}

.sidebar .research-menu>ul>li:last-child,
.sidebar .affiliate-services-menu>ul>li:last-child {
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom: none;
}

.sidebar .research-menu .res_desc,
.sidebar .affiliate-services-menu .res_desc {
  display: block;
  position: relative;
  font-size: 12px;
  line-height: 18px;
  margin-top: 0px;
  margin-bottom: 8px;
}

.sidebar .research-menu .res_desc {
  display: none;
}

.sidebar .research-menu ul>li>a:link,
.sidebar .research-menu ul>li>a:visited,
.sidebar .affiliate-services-menu ul>li>a:link,
.sidebar .affiliate-services-menu ul>li>a:visited {
  display: block;
  padding-bottom: 6px;
  font-size: 18px;
  line-height: 20px;
  font-family: "Roboto", sans-serif;
  color: var(--primary);
  /*text-transform: uppercase;*/
  /*background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');*/
  background-size: 11px 16px;
  background-repeat: no-repeat;
  background-position: top right;
  padding-right: 15px;
}

.sidebar .research-menu ul>li.current-menu-item>a:link,
.sidebar .research-menu ul>li.current-menu-item>a:visited,
.sidebar .affiliate-services-menu ul>li.current-menu-item>a:link,
.sidebar .affiliate-services-menu ul>li.current-menu-item>a:visited {
  /* -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  opacity: 0.5;
  */
  color: #7abfd2;
}

/*.no-svg .sidebar .research-menu ul>li>a:link,
.no-svg .sidebar .research-menu ul>li>a:visited,
.no-svg .sidebar .affiliate-services-menu ul>li>a:link,
.no-svg .sidebar .affiliate-services-menu ul>li>a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.png');
}*/

.sidebar .research-menu ul>li>a:active,
.sidebar .research-menu ul>li>a:hover,
.sidebar .affiliate-services-menu ul>li>a:active,
.sidebar .affiliate-services-menu ul>li>a:hover {
  color: #444444;
  /* background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-ltblue.svg');*/
  text-decoration: underline;
}

/*.no-svg .sidebar .research-menu ul>li>a:active,
.no-svg .sidebar .research-menu ul>li>a:hover,
.no-svg .sidebar .affiliate-services-menu ul>li>a:active,
.no-svg .sidebar .affiliate-services-menu ul>li>a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-ltblue.png');
}*/

.sidebar .research-menu ul.sub-menu,
.sidebar .affiliate-services-menu ul.sub-menu {
  display: none;
  position: relative;
  padding: 0;
  margin: 0;
  margin-bottom: 8px;
  clear: both;
}

.sidebar .research-menu ul.sub-menu li,
.sidebar .affiliate-services-menu ul.sub-menu li {
  display: inline-block;
  position: relative;
  width: 50%;
  vertical-align: top;
}


/* .sidebar .research-menu ul.sub-menu li#menu-item-261, .sidebar .affiliate-services-menu ul.sub-menu li#menu-item-261 {
  display: inline-block;
  position: relative;
  width: 100%;
  vertical-align: top;
}
*/

.sidebar .research-menu ul.sub-menu a:link,
.sidebar .research-menu ul.sub-menu a:visited,
.sidebar .affiliate-services-menu ul.sub-menu a:link,
.sidebar .affiliate-services-menu ul.sub-menu a:visited {
  display: block;
  position: relative;
  padding-left: 20px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 14px;
  text-transform: none;
  background-position: 0px 3px;
  background-size: 6px 18px;
}

/*.sidebar .research-menu ul.sub-menu a:active,
.sidebar .research-menu ul.sub-menu a:hover,
.sidebar .affiliate-services-menu ul.sub-menu a:active,
.sidebar .affiliate-services-menu ul.sub-menu a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
}

.no-svg .sidebar .research-menu ul.sub-menu a:active,
.no-svg .sidebar .research-menu ul.sub-menu a:hover,
.no-svg .sidebar .affiliate-services-menu ul.sub-menu a:active,
.no-svg .sidebar .affiliate-services-menu ul.sub-menu a:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.png');
}*/


/* large list link */

a.large-link:link,
a.large-link:visited {
  display: inline-block;
  padding-right: 18px;
  margin-top: 24px;
  font-size: 16px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');
  background-repeat: no-repeat;
  background-size: 8px 12px;
  background-position: right center;
}

.no-svg a.large-link:link,
.no-svg a.large-link:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.png');
}

a.large-link:active,
a.large-link:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
}

.no-svg a.large-link:active,
.no-svg a.large-link:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.png');
}


/* affiliate menu */

.affiliate-menu,
section.general .affiliate-menu {
  display: block;
  position: relative;
  padding: 8px;
  /*-moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;*/
  /*background-color: #008ab0;*/
  background-color: var(--primary);
  overflow: auto;
  border: 2px solid rgba(0,0,0,0.2);
}

.affiliate-menu ul,
section.general .affiliate-menu ul {
  /*list-style: none inside;
  overflow: hidden;

  */
  /* -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  */
  margin: 0px;
  padding: 0px;
}

@media(min-width: 961px) {
  .affiliate-menu ul,
  section.general .affiliate-menu ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .affiliate-menu ul li a,
  section.general .affiliate-menu ul li a {
    height: 100%;
  }
}

.affiliate-menu ul li,
section.general .affiliate-menu ul li {
  display: inline-block;
  position: relative;
  /*float: left;*/
  padding: 0px;
  margin: 0px;
  list-style: none inside;
  /*width: 25%;*/
  overflow: auto;
}

.affiliate-menu a:link,
.affiliate-menu a:visited {
  display: block;
  position: relative;
  background-color: #ffffff;
  width: 100%;
  padding: 12px;
  padding-bottom: 8px;
  border: 1px solid var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 16px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 34px 10px;
}

.no-svg .affiliate-menu a:link,
.no-svg .affiliate-menu a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue-affiliate.png');
}

.affiliate-menu .current-menu-item a:link,
.affiliate-menu .current-menu-item a:visited,
.affiliate-menu .current-page-ancestor a:link,
.affiliate-menu .current-page-ancestor a:visited {
  /*background-color: #80c5d8;*/
  /* background-color: var(--dark-blue);*/
  background-color: rgba(0,0,0,0.2);
  color: white;
}

.affiliate-menu a:active,
.affiliate-menu a:hover {}


/* affiliate feature image */

.affiliate-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}


/* research paper menu */

.research-paper-menu,
section.general .research-menu {
  display: block;
  position: relative;
  padding: 8px;
  /*-moz-border-radius: 4px;*/
  /*-webkit-border-radius: 4px;*/
  /*border-radius: 4px;*/
  /*background-color: #444444;*/
  background-color: var(--primary);
  overflow: auto;
  /*border: 2px solid rgba(0,0,0,0.2);*/
}

.research-paper-menu ul,
section.general .research-paper-menu ul {
  /*list-style: none inside;
  overflow: hidden;
  padding: 0px;
  margin: 0px;*/
  /* -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  */
  padding: 0px;
  margin: 0px;
  display: grid;
  grid-template-columns: 1fr;
}

@media(min-width: 769px) {
  .research-paper-menu ul,
  section.general .research-paper-menu ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media( min-width: 1024px ) {
  .research-paper-menu ul,
  section.general .research-paper-menu ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.research-paper-menu ul li,
section.general .research-paper-menu ul li {
  /*display: inline-block;*/
  position: relative;
  /*float: left;*/
  padding: 0px;
  margin: 0px;
  list-style: none inside;
  /*width: 50%;*/
  overflow: hidden;
}

.research-paper-menu a:link,
.research-paper-menu a:visited {
  display: block;
  position: relative;
  background-color: #ffffff;
  width: 100%;
  padding: 12px 30px 12px 12px;
  padding-bottom: 8px;
  /*border: 1px solid #444444;*/
  border: 1px solid var(--primary);
  /*color: #444444;*/
  color: var(--dark-blue);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 14px;
  /*white-space: nowrap;*/
  height: 100%;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 34px 10px;
}

.no-svg .research-paper-menu a:link,
.no-svg .research-paper-menu a:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark-research.png');
}

.research-paper-menu .current-menu-item a:link,
.research-paper-menu .current-menu-item a:visited,
.research-paper-menu .current-page-ancestor a:link,
.research-paper-menu .current-page-ancestor a:visited,
.research-paper-menu .current-cat a:link,
.research-paper-menu .current-cat a:visited {
  /*color: #444444;*/
  color: #fff;
  /*background-color: #dedede;*/
  background-color: rgba(0, 0, 0, 0.2);
}

.research-paper-menu a:active,
.research-paper-menu a:hover {
  /*color: #ffffff;*/
  color: #444;
  /*background-color: #666666;*/
  background-color: #fff;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-white-right.svg');
}


/* donate button */

a.donate-large:link,
a.donate-large:visited {
  display: block;
  position: relative;
  overflow: hidden;
  margin-left: -26px;
  margin-top: -24px;
  margin-right: -26px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /* background-color: #ffffff;
  */
  background-color: #fff4d3;
  color: #444444;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

.sidebar a.donate-large:link,
.sidebar a.donate-large:visited {
  margin-left: 0px;
  margin-right: 0px;
}

a.donate-large:active,
a.donate-large:hover {
  background-color: #eaf5f9;
  /* -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  */
}

a.donate-large:active .donate-header,
a.donate-large:hover .donate-header {
  background-color: #D4EAF2;
}

a.donate-large .donate-header {
  display: block;
  position: relative;
  background-color: #ffc81f;
  padding: 24px;
  padding-bottom: 18px;
  font-size: 28px;
  color: #444444;
  line-height: 20px;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

a.donate-large .donate-header .icon {
  display: inline-block;
  position: relative;
  width: 37px;
  height: 33px;
  float: left;
  margin-right: 9px;
  margin-top: -8px;
  margin-left: -8px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-dark.svg');
  background-repeat: no-repeat;
  background-size: 37px 33px;
  background-position: 0px 0px;
  vertical-align: middle;
}

.no-svg .sidebar a.donate-large .donate-header .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-dark-sidebar.png');
}

.no-svg .home a.donate-large .donate-header .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-dark.png');
}

a.donate-large .donate-header .ch-logo {
  display: block;
  position: absolute;
  top: 11px;
  right: 18px;
  width: 100px;
  height: 41px;
  background-image: url('/wp-content/themes/jhso-new2014/img/canadahelps-logo.png');
  background-repeat: no-repeat;
  background-size: 100px 41px;
  background-position: 0px 0px;
}

a.donate-large .copy {
  padding: 16px;
  padding-left: 63px;
}

div.donate-now-clone,

/*donate now clone*/

div.donate-now-clone-spot {
  display: none;
}

div.donate-now-clone a.donate-large:link,
div.donate-now-clone a.donate-large:visited {
  margin-left: 0px;
  margin-top: 20px;
  margin-right: 0px;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

div.donate-now-clone-spot {
  margin-bottom: 25px;
}

.affiliate-menu {
  margin-bottom: 25px;
}


/* mailing list box */

body .wrapper.affiliate .sidebar .mailinglist,
body:not(.page-template-template-flexcontent) .sidebar .mailinglist {
  padding-left: 26px;
  padding-top: 12px;
  padding-right: 26px;
}

body .wrapper.affiliate .sidebar .mailinglist p,
body:not(.page-template-template-flexcontent) .sidebar .mailinglist p {
  margin-top: 1em;
  margin-bottom: 1em;
}

body .wrapper.affiliate .sidebar .mailinglist .sidebar-title,
body:not(.page-template-template-flexcontent) .sidebar .mailinglist .sidebar-title {
  margin-left: 0px;
}

body .wrapper.affiliate .mailinglist input[type=text],
body:not(.page-template-template-flexcontent) .mailinglist input[type=text] {
  display: inline-block;
  width: 78%;
  padding: 12px;
  background-color: #E5F3F7;
  -webkit-appearance: none;
  border-radius: 0;
  border: 0;
  color: #008AB0;
  font-size: 14px;
  line-height: 14px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

body .wrapper.affiliate .mailinglist input[type=submit],
body:not(.page-template-template-flexcontent) .mailinglist input[type=submit] {
  -webkit-appearance: none;
  border-radius: 0;
  border: 0;
  background-color: #E5F3F7;
  width: 45px;
  vertical-align: top;
  color: #008AB0;
  font-size: 14px;
  line-height: 16px;
  padding: 12px;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-list-mail.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 25px 17px;
}

body .wrapper.affiliate .no-svg .mailinglist input[type=submit],
body:not(.page-template-template-flexcontent) .no-svg .mailinglist input[type=submit] {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-list-mail.png');
  width: 45px;
  height: 40px;
}


/* Local office selector */

.sidebar .local-offices,
.home-left .local-offices {
  display: inline-block;
  position: relative;
  overflow: auto;
  overflow-y: visible;
  overflow-x: hidden;
  width: 390px;
  height: 293px;
  margin-left: -26px;
  margin-top: -24px;
  margin-right: -26px;
  background-color: #e7f3f8;
  background-repeat: no-repeat;
  background-image: url('/wp-content/themes/jhso-new2014/img/local-office-map.jpg');
  background-size: 100% auto;
  background-position: center bottom;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: inset 0px 0px 30px rgba(0, 138, 176, 0.2);
  -webkit-box-shadow: inset 0px 0px 30px rgba(0, 138, 176, 0.2);
  box-shadow: inset 0px 0px 30px rgba(0, 138, 176, 0.2);
}

.no-svg .sidebar .local-offices,
.no-svg .home-left .local-offices {
  background-image: url('/wp-content/themes/jhso-new2014/img/local-office-map-ie.jpg');
}

.sidebar .local-offices {
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
}

.home .local-offices h2,
.local-offices .sidebar-title {
  margin-left: 26px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.local-offices .note {
  display: block;
  position: absolute;
  left: 26px;
  bottom: 24px;
  color: rgba(0, 121, 164, 0.5);
  font-size: 12px;
  line-height: 18px;
}

.local-office-select {
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: 2000;
  width: 85%;
  height: 38px;
  margin-left: 26px;
  padding: 10px;
  padding-bottom: 7px;
  background-color: #ffffff;
  color: #008ab0;
  font-size: 15px;
  line-height: 15px;
  font-family: "Roboto", sans-serif;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-pulldown-arrows.svg');
  background-repeat: no-repeat;
  background-size: 11px 20px;
  background-position: 97% 10px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
  box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
}

.no-svg .local-office-select {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-pulldown-arrows.png');
}

.local-office-select.open {
  height: 190px;
  overflow: auto;
  background-image: none;
}

.local-office-select span.open,
.local-office-select.open span.close {
  display: block;
  cursor: pointer;
  padding-top: 4px;
  padding-bottom: 4px;
}

.local-office-select span.open:hover,
.local-office-select.open span.close:hover {
  color: #444444;
}

.local-office-select.open span.close {
  padding-left: 26px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-combo-close.svg');
  background-repeat: no-repeat;
  background-size: 16px 19px;
  background-position: 0px 0px;
}

.no-svg .local-office-select.open span.close {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-combo-close.png');
}

.local-office-select.open span.open,
.local-office-select span.close {
  display: none;
  cursor: pointer;
}

.local-office-select a:link,
.local-office-select a:visited {
  display: none;
}

.local-office-select.open a:link,
.local-office-select.open a:visited {
  display: block;
  margin-top: 4px;
  padding-top: 10px;
  padding-bottom: 4px;
  border-top: 1px solid #efefef;
}


/* donate now selector - on ontario donate page */

#donate-pulldown-real {
  display: block;
  position: absolute;
  overflow: hidden;
  z-index: 2000;
  width: 95%;
  margin: 3px auto;
  padding: 14px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: #008ab0;
  color: #ffffff;
  font-size: 16px;
  line-height: 16px;
  /* font-family: "Roboto",sans-serif;
  */
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-pulldown-arrows.svg');
  background-repeat: no-repeat;
  background-size: 11px 20px;
  background-position: 97% 12px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
  box-shadow: 0px 2px 5px rgba(0, 138, 176, 0.2);
}

.no-svg #donate-pulldown-real {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-pulldown-arrows.png');
}

#donate-pulldown-real.open {
  height: 190px;
  overflow: auto;
  background-image: none;
}

#donate-pulldown-real span.open,
#donate-pulldown-real.open span.close {
  display: block;
  cursor: pointer;
}

#donate-pulldown-real span.open:hover,
#donate-pulldown-real.open span.close:hover {
  color: #80c5d8;
}

#donate-pulldown-real.open span.close {
  padding-left: 26px;
  padding-bottom: 9px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-combo-close.svg');
  background-repeat: no-repeat;
  background-size: 16px 19px;
  background-position: 0px 0px;
}

.no-svg #donate-pulldown-real.open span.close {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-combo-close.png');
}

#donate-pulldown-real.open span.open,
#donate-pulldown-real span.close {
  display: none;
  cursor: pointer;
}

#donate-pulldown-real a:link,
#donate-pulldown-real a:visited {
  display: none;
}

#donate-pulldown-real.open a:link,
#donate-pulldown-real.open a:visited {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 4px;
  border-top: 1px solid #80c5d8;
}

#donate-pulldown-real.open a:active,
#donate-pulldown-real.open a:hover {
  color: #80c5d8;
}


/* footer */
footer {
  background: var(--light-blue);
  padding: 0.5em 14px;
  position: relative;
}

.footer {
  /*display: block;*/
  position: relative;
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 30px;
  overflow: auto;

}

.footer,
.footernav-rows {
  display: grid;
  grid-gap: 1em;
}

@media( min-width: 1024px ) {
  .footer {
    grid-template-columns: 3fr 2fr 1fr;
    grid-template-rows: minmax(min-content, max-content);
  }

  .footernav-rows {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer p.copyright {
    grid-column: 1/-1;
    grid-row: 2;
  }
}

.fade-footer {
  display: block;
  position: relative;
  z-index: 1000;
  clear: both;
  width: 100%;
  height: 25px;
  margin-top: 0px;
  background-image: url('/wp-content/themes/jhso-new2014/img/fade-footer.png');
  background-position: top center;
  background-repeat: no-repeat;
}

body .footer a {
  color: var(--dark-blue);
}

.footer .footernav {
  display: block;
  position: relative;
/*  float: left;
  width: 14%;
  margin-right: 2%;*/
  vertical-align: top;
}

.footer .footernav.research-and-policy {
  /*width: 31%;*/
  margin-right: 0px;
}

.footer .footernav.research-and-policy > .navigation {
  display: grid;
  grid-gap: 1em;
}

@media( min-width: 768px ) {
  .footer .footernav.research-and-policy > .navigation {
    grid-template-columns: 1fr 1fr;
  }
}

.footer .footernav ul,
.footer .footernav ul li {
  margin: 0px;
  padding: 0px;
  list-style: outside none;
}

.footernav ul li a:link,
.footernav ul li a:visited {
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 8px;
}

.footernav>ul>li>a:link,
.footernav>ul>li>a:visited,
.footernav>.split>ul>li>a:link,
.footernav>.split>ul>li>a:visited {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 20px;
  color: var(--primary);
}

.footernav>ul>li>a:active,
.footernav>ul>li>a:hover {
  color: #008ab0;
}

.footer .split a:link,
.footer .split a:visited {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 20px;
  /*color: #0a5064;*/
}

.footer .split a:active,
.footer .split a:hover {
  color: #008ab0;
}

.footer .split + .navigation > ul:first-child > li:first-child > a {
  display: none;
}

.footer .split + .navigation > ul:first-child > li:first-child > a + .sub-menu > li > a,
.footer .split + .navigation > ul:nth-child(2) > li > a {
  font-weight: 700;
}

.footer .footernav ul.sub-menu {
  margin-bottom: 16px;
}

.footernav.research-and-policy .rnp-col1,
.footernav.research-and-policy .rnp-col2 {
  width: 45%;
  float: left;
  vertical-align: top;
}

.footernav.research-and-policy .rnp-col1 {
  margin-right: 9%;
}

.footer .footernav.research-and-policy .rnp-col1>ul>li>a,
.footer .footernav.research-and-policy .rnp-col2>ul>li>a {
  font-weight: 600;
}

.footer .footernav.research-and-policy .rnp-col1>ul.sub-menu>li>a,
.footer .footernav.research-and-policy .rnp-col2>ul.sub-menu>li>a {
  font-weight: 500;
}

.footer .footernav.research-and-policy ul.sub-menu ul.sub-menu li a {}

.footer p.copyright {
  display: block;
  position: relative;
  clear: both;
  font-size: 12px;
  /*margin-bottom: 30px;
  margin-top: 393px;*/
  margin: 1em 0;
}

.footer .footer-contact {
  display: block;
  position: relative;
  /*float: right;*/
  /*width: 18%;
  min-height: 100px;*/
}

.footer .footer-contact#desktop-contact {
  display: block;
}

.footer .footer-contact#mobile-contact {
  display: none;
}

.footer .footer-contact a.donate:link,
.footer .footer-contact a.donate:visited {
  display: block;
  position: relative;
  padding: 14px;
  padding-left: 36px;
  margin-bottom: 20px;
  color: #444444;
  font-size: 14px;
  line-height: 9px;
  background-color: #ffc81f;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

.footer .footer-contact a.donate:active,
.footer .footer-contact a.donate:hover {
  background-color: #d4eaf2;
  /* -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  */
}

.footer .footer-contact a.donate .icon {
  display: block;
  position: absolute;
  top: 9px;
  left: 8px;
  width: 22px;
  height: 20px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-dark.svg');
  background-repeat: no-repeat;
  background-size: 22px 20px;
  background-position: 0px 0px;
  vertical-align: middle;
}

.no-svg .footer .footer-contact a.donate .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-dark.png');
}

.footer .footer-contact a.donate .arrow {
  display: block;
  position: absolute;
  top: 13px;
  right: 9px;
  width: 8px;
  height: 12px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-arrow.svg');
  background-repeat: no-repeat;
  background-size: 8px 12px;
  background-position: 0px 0px;
  vertical-align: middle;
}

.no-svg .footer .footer-contact a.donate .arrow {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-donate-arrow.png');
}

.footer .footer-contact .title {
  margin-top: 10px;
  color: #585858;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.03em;
}

.footer .footer-contact a.facebook:link,
.footer .footer-contact a.facebook:visited,
.footer .footer-contact a.instagram:link,
.footer .footer-contact a.instagram:visited,
.footer .footer-contact a.twitter:link,
.footer .footer-contact a.twitter:visited,
.footer .footer-contact a.youtube:link,
.footer .footer-contact a.youtube:visited,
.footer .footer-contact a.linkedin:link,
.footer .footer-contact a.linkedin:visited {
  display: block;
  margin-top: 10px;
  color: #585858;
  font-size: 14px;
}

.footer .footer-contact a.facebook:active,
.footer .footer-contact a.facebook:hover,
.footer .footer-contact a.instagram:active,
.footer .footer-contact a.instagram:hover ,
.footer .footer-contact a.twitter:active,
.footer .footer-contact a.twitter:hover,
.footer .footer-contact a.youtube:active,
.footer .footer-contact a.youtube:hover,
.footer .footer-contact a.linkedin:active,
.footer .footer-contact a.linkedin:hover {
  color: #008ab0;
}

.footer .footer-contact a.youtube {
  margin-bottom: 10px;
}

.footer .footer-contact a.facebook .icon,
.footer .footer-contact a.instagram .icon,
.footer .footer-contact a.twitter .icon,
.footer .footer-contact a.youtube .icon,
.footer .footer-contact a.linkedin .icon {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

.footer .footer-contact div.nav-social {
  display: flex;
  flex-wrap: wrap;
}

.footer .footer-contact a.facebook .icon {
  width: 28px;
  height: 25px;
  margin-right: 6px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-facebook.svg');
  background-size: 28px 25px;
  background-position: 0px 0px;
}

.no-svg .footer .footer-contact a.facebook .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-facebook.png');
}

.footer .footer-contact a.instagram .icon {
  width: 28px;
  height: 25px;
  margin-right: 6px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-instagram.svg');
  background-size: 28px 25px;
  background-position: 0px 0px;
}

.no-svg .footer .footer-contact a.instagram .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-instagram.png');
}

.footer .footer-contact a.twitter .icon {
  width: 28px;
  height: 25px;
  margin-right: 6px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-twitter.svg');
  background-size: 28px 25px;
  background-position: 0px 0px;
}

.no-svg .footer .footer-contact a.twitter .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-twitter.png');
}

.footer .footer-contact a.linkedin .icon {
  width: 23px;
  height: 23px;
  margin-right: 6px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-linkedin.svg');
  background-size: 23px 23px;
  background-position: 0px 0px;
}

.footer .footer-contact a.youtube .icon {
  width: 23px;
  height: 23px;
  margin-right: 8px;
  margin-left: 2px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-youtube.svg');
  background-size: 23px 23px;
}

.no-svg .footer .footer-contact a.youtube .icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-youtube.png');
}

.footer-contact p {
  margin-bottom: 0px;
  margin-top: 0px;
}

.footer .logo {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: 80px;
}

.footer .logo .logo-img {
  max-width: 100%;
  height: auto;
  width: 52px;
}


/* general page styles */
body.page-template-template-flexcontent section.feat-img {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
}

body.page-template-template-flexcontent section.feat-img .wrapper,
body.page-template-template-flexcontent section.feat-img img {
  grid-column: 1/-1;
  grid-row: 1/-1;
  width: 100%;
}

body.page-template-template-flexcontent section.feat-img .wrapper {
  z-index: 10;
}

body.page-template-template-flexcontent section.feat-img .wrapper h1 {
  margin-top: 0px;
  font-family: "Roboto",sans-serif;
  margin-bottom: 22px;
  font-weight: bold;
  color: #fff;
  font-size: 28px;
  line-height: 30px;
  text-shadow: 2px 2px 26px rgba(0, 0, 0, 0.44);
  text-transform: none;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width:768px) {
  body.page-template-template-flexcontent section.feat-img .wrapper h1 {
    width: 90%;
  }
}

@media only screen and (max-width:480px) {
  body.page-template-template-flexcontent section.feat-img .wrapper h1 {
    width: 95%;
  }
}


@media (min-width: 768px) {
  body.page-template-template-flexcontent section.feat-img .wrapper h1 {
    font-size: 55px;
    line-height: 61px;
  }
}

body.page-template-template-flexcontent section.general,
body.tax-research-topic section.general {
  width: 100%;
  margin-left: 0;
}

body.page-template-template-programs #programs__wrapper,
body.page-template-template-programs #program-filters__wrapper,
body.page-template-template-programs #program-location__filters-wrapper,
body.page-template-template-programs .location-filters__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2em;
  margin-bottom: 2rem;
}

body.page-template-template-programs #program-filters__wrapper {
  margin-bottom: 2rem;
}

body.page-template-template-programs .card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgb(0 0 0 / 20%);
}

/*body.page-template-template-programs section.general form select {
  padding: 8px 32px 8px 16px;
  line-height: 1.2;
  border: 0;
  border-radius: 50px;
  font-weight:  700;
  letter-spacing:  0.2em;
  position:  relative;
  background-color: var(--light-grey);
  -webkit-appearance: none;
}

body.page-template-template-programs section.general form .select__wrapper {
  display:  inline-block;
  position: relative;
}

body.page-template-template-programs section.general form .select__wrapper:after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 10px;
  background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png);
  background-size: contain;
}*/

body.page-template-template-programs section.general h2 {
  font-size: 20px;
}
body.page-template-template-programs fieldset.location__filter {
  display: none;
}
/*
body.page-template-template-programs fieldset.location__filter {
  grid-column: 1;
  grid-row: 1/-1;
  grid-area: left;
}

body.page-template-template-programs fieldset#program_category {
  grid-column: 2;
  grid-row: 1;
  grid-area: right1;
}

body.page-template-template-programs fieldset#program_type {
  grid-column: 2;
  grid-row: 2;
  grid-area: right2;
}*/

body.page-template-template-programs fieldset#program_type,
body.page-template-template-programs fieldset#program_category {
  display: none;
}

body.page-template-template-programs fieldset.location__filter > div {
  display:  grid;
  /*grid-gap: 2rem;*/
}

body.page-template-template-programs section.general h4 {
  font-size: 16px;
  line-height: 1.2;
}

body.page-template-template-programs #programs__wrapper > .card {
  display: flex;
  flex-direction: column;
}

body.page-template-template-programs #programs__wrapper > .card a {
  margin-top: auto;
}

body.page-template-template-programs section.general .card__content p {
  font-size: 15px;
  line-height: 1.25;
}

body.page-template-template-programs .program__site p {
  font-size: 14px;
  line-height: 1.2;
}

body.page-template-template-programs .card .card__button {
  font-weight: 700;
}

html.modal--open {
  overflow: hidden;
}

body.page-template-template-programs .program__modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 11; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

body.page-template-template-programs .program__modal h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-top: 22px;
  font-weight: 500;
}

body.page-template-template-programs .program__modal p.program__meta:not(:last-of-type) {
  margin-bottom: 0.5em;
}

body.page-template-template-programs .program__modal p.program__meta {
  font-size: 16px;
}

/* Modal Content/Box */
body.page-template-template-programs .program__modal .card {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
body.page-template-template-programs .program__modal .modal__close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

body.page-template-template-programs .program__modal .modal__close:hover,
body.page-template-template-programs .program__modal .modal__close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media( min-width: 1024px ) {
  body.page-template-template-programs #programs__wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }

  body.page-template-template-programs #program-filters__wrapper,
  body.page-template-template-programs #program-location__filters-wrapper {
    grid-template-columns: 1fr 1fr;
    /*grid-template-rows: auto auto;
    grid-template-areas:
    "left right1"
    "left right2";*/
  }

  body.page-template-template-programs .location-filters__wrapper {
    grid-template-columns: 1fr 3fr;
  }

  body.page-template-template-programs fieldset.location__filter > div {
    grid-template-columns: 1fr 1fr;
  }
}

section.general {
  display: block;
  position: relative;
  /* width: 820px;
  */
  width: 65%;
  margin-left: 14px;
  margin-top: 40px;
  /*overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;*/
}

/*.index-wrapper section.general,
body.search section.general,
body.post-template-default.single section.general,
body.employment-template-default section.general,
body.page-template-page-research-events section.general,
body.page-template-page-visiting section.general,
body.post-type-archive section.general,
body.page-template-page-about section.general,
body.page-template-default section.general,
body.page-template-page-research section.general,
body.tax-download-category section.general {*/
section.general {
  width: auto;
  max-width: 100%;
}

section.general p {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 20px;
  line-height: 1.4;
}

section.general p:last-child {
  margin-bottom: 0;
}

section.general p.description,
section.general .description {
  line-height: 27px;
}

.research-header,
.affiliate-header {
  display: block;
  position: absolute;
  top: 185px;
  /*left: 50%;*/
  /*margin-left: -640px;*/
  /*width: 1280px;*/
  width: 100%;
  max-width: 100%;
  height: 190px;
  /*background-color: #444444;*/
  background-color: var(--primary);
}

.research-header .fade-left {
  /*display: block;*/
  display: none;
  position: absolute;
  height: 190px;
  width: 160px;
  top: 0px;
  left: -160px;
  background-image: url('/wp-content/themes/jhso-new2014/img/research-fade-left.png');
  background-repeat: repeat-y;
}

.research-header .fade-right {
  /*display: block;*/
  display: none;
  position: absolute;
  height: 190px;
  width: 160px;
  top: 0px;
  right: -160px;
  background-image: url('/wp-content/themes/jhso-new2014/img/research-fade-right.png');
  background-repeat: repeat-y;
}

/*.affiliate-header {
  background-color: #008ab0;
}*/

.affiliate-header .fade-left {
  /*display: block;*/
  display: none;
  position: absolute;
  height: 210px;
  width: 160px;
  top: 0px;
  left: -160px;
  background-image: url('/wp-content/themes/jhso-new2014/img/affiliate-fade-left.png');
  background-repeat: repeat-y;
}

.affiliate-header .fade-right {
  /*display: block;*/
  display: none;
  position: absolute;
  height: 210px;
  width: 160px;
  top: 0px;
  right: -160px;
  background-image: url('/wp-content/themes/jhso-new2014/img/affiliate-fade-right.png');
  background-repeat: repeat-y;
}

#breadcrumbs {
  color: #a3a3a3;
}

.affiliate #breadcrumbs {
  color: #a3cad9;
}

#breadcrumbs .sep {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
}

.research #breadcrumbs a:link,
.research #breadcrumbs a:visited {
  color: #ffffff;
}

.research #breadcrumbs a:active,
.research #breadcrumbs a:hover {
  color: #008AB0;
}

.affiliate #breadcrumbs a:link,
.affiliate #breadcrumbs a:visited {
  color: #ffffff;
}

.affiliate #breadcrumbs a:active,
.affiliate #breadcrumbs a:hover {
  color: #a3cad9;
}

section.general h1 {
  display: block;
  position: relative;
  margin-top: 14px;
  margin-bottom: 22px;
  font-family: "Roboto", sans-serif;
  color: #444444;
  font-weight: 400;
  font-size: 44px;
  line-height: 44px;
}

.research section.general h1 {
  /*color: #FFFFFF;*/
  margin-bottom: 1em;
}

body.employment-template-default .research section.general h1,
body.page-template-page-research-events .research section.general h1,
body.page-template-page-research .research section.general h1,
body.tax-download-category .research section.general h1 {
  color: #fff;
}

.affiliate-masthead {
  display: block;
  position: relative;
  margin-top: 14px;
  margin-bottom: 10px;
  font-family: "Roboto", sans-serif;
  color: #FFFFFF;
  font-weight: 400;
  font-size: 44px;
  line-height: 44px;
}

section.general h2 {
  color: var(--primary);
  font-family: "Roboto", sans-serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  counter-reset: my-ordered-counter;
  margin-top: 0.5em;
  margin-bottom: 0.75em;
}

section.general h3 {
  color: #000;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 41px;
  /*text-transform: uppercase;*/
  counter-reset: my-ordered-counter;
  margin-top: 26px;
  margin-bottom: 12px;
}

section.general h4 {
  /*font-size: 22px;
  line-height: 30px;*/
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

section.general h5 a:link,
section.general h5 a:visited {
  display: inline-block;
  padding: 14px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  font-size: 16px;
  line-height: 16px;
  font-weight: normal;
  text-align: center;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /*background-color: #008AB0;*/
  background-color: var(--primary);
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

section.general h5 a:active,
section.general h5 a:hover {
  color: #ffffff;
  /*background-color: #444444;*/
  background-color: var(--dark-blue);
}

section.general h6 a:link,
section.general h6 a:visited {
  display: inline-block;
  padding: 14px;
  color: #008AB0;
  font-size: 14px;
  line-height: 9px;
  font-weight: 400;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #efefef;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

section.general h6 a:active,
section.general h6 a:hover {
  color: #ffffff;
  background-color: #008AB0;
}

section.general blockquote {
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  margin: 0px 0px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  /*text-align: center;*/
  color: #444444;
}

section.general blockquote p {
  /*font-size: 26px;
  line-height: 36px;*/
  font-style: italic;
  font-weight: 400;
  margin: 0px;
  /*padding: 1em 0;*/
}

section.general ol {
  list-style: none outside;
  margin: 0px;
  padding: 0px;
}

section.general ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
}

section.general ol li:before {
  content: counter(my-ordered-counter);
  counter-increment: my-ordered-counter;
  position: absolute;
  left: 0px;
  color: #008ab0;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

section.general.jhso-quiz ol li:before {
 display: none;
}

/*section.general ul {
  margin: 0px;
  padding: 0px;
  margin-top: 12px;
  margin-bottom: 12px;
  list-style: inside none;
}*/

/*section.general ul:not([class*="sy-"]):not(.slick-dots):not(.soliloquy-slider):not(.soliloquy-thumbnails) li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  list-style: inside none;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: 0px 7px;
}*/

/*.no-svg section.general ul li {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.png');
}*/

section.general a.post-edit-link:link,
section.general a.post-edit-link:visited {
  display: block;
  width: 90px;
  padding: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  text-align: center;
  font-weight: 700;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: orangered;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

section.general a.post-edit-link:active,
section.general a.post-edit-link:hover {
  background-color: #666666;
}

.research article.type-page {
  margin-top: 64px;
}

body.tax-download-category section.general.pdflist div.download-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em;
}

body.tax-download-category section.general.pdflist div.download-wrapper > div,
body.tax-download-category section.general.pdflist h1 + div > div {
  grid-column: 1/-1;
}

body.tax-download-category section.general.pdflist div.download-wrapper article,
body.tax-download-category section.general.pdflist h1 + div article {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: repeat(4, auto);
  margin-bottom: 1.5em;
}

body.tax-download-category section.general.pdflist div.download-wrapper article > a.preview-image,
body.tax-download-category section.general.pdflist h1 + div article > a.preview-image {
  grid-row: 1/-1;
}

body.tax-download-category section.general.pdflist div.download-wrapper article > *:not(.preview-image),
body.tax-download-category section.general.pdflist h1 + div article > *:not(a):not(.preview-image) {
  grid-column: 2;
}

body.tax-download-category section.general.pdflist div.download-wrapper article h2,
body.tax-download-category section.general.pdflist h1 + div article h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-top: 0;
}

@media( min-width: 768px ) {
  body.tax-download-category section.general.pdflist div.download-wrapper,
  body.tax-download-category section.general.pdflist h1 + div {
    grid-template-columns: 1fr 1fr;
  }
}

@media( min-width: 1024px ) {
  body.tax-download-category section.general.pdflist div.download-wrapper,
  body.tax-download-category section.general.pdflist h1 + div {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* blocks */
section.general section[class*="block-"] {
  margin-top: 2em;
  margin-bottom: 2em
}

section.general img.img-rounded {
  border-radius: 50%;
}

section.general section.block-cta {
  margin-top: 0;
  margin-bottom: 0;
}

section.general .block-copy {

}

section.general .block-copy a {
  text-decoration: underline;
}

section.general .block-copy .btn-wrapper {
  margin-top: 1.5em;
}

section.general .block-cta h2 {
  color: #000;
}

section.general .block-cta a {
  color: #000;
  text-decoration: underline;
}

section.general .block-cta .cta__content {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

section.general .block-cta img {
  display: none;
}

@media( min-width: 768px ) {
  section.general .block-cta .wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }

  section.general .block-cta img {
    display: block;
  }
}

section.general .team__wrapper {
	display: grid;
	gap: 1.5rem;

	@media( min-width: 768px ) {
		grid-template-columns: repeat(3, 1fr);
	}
}

section.general .team__member {
	text-align: center;
}

section.general .team__wrapper a {
	color: #444;
}

section.general .team__member h4 {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

section.general .team__headshot {
	aspect-ratio: 1/1;
	border-radius: 100%;
	object-fit: cover;
	max-width: 200px;
	outline-offset: 4px;
}

section.general .block-grid .grid-wrapper,
section.general .block-resources .resources-wrapper {
  display: flex;
  /*justify-content: space-between;*/
  flex-wrap: wrap;
  margin: 0 -1em;
}

.block-newsletter form,
section.general.pdflist .research-search form {
  display: flex;
  margin-bottom: 3em;
}

.mobile-searchbar form {
  display: flex;
  margin-bottom: 1em;
  padding: 0 12px;
}

.mobile-searchbar a.js-wpml-ls-item-toggle {
  display: inline-block !important;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

.mobile-searchbar a.js-wpml-ls-item-toggle:after {
  right: 0;
}

.mobile-searchbar #lang_sel_click {
  top: 0;
  height: auto;
}

.mobile-searchbar #lang_sel_click ul ul {
  top: 42px;
}

.mobile-searchbar #lang_sel_click li {
  background: #fff;
  float: none;
}

body.page-template-template-programs #programs__filter input[type="text"] {
  width: 100%;
}

body.page-template-template-programs #programs__filter .btn-group label,
body.page-template-template-programs #programs__filter button[type="submit"],
body.page-template-template-programs #programs__filter button.form__reset {
  font-size: 24px;
}

body.page-template-template-programs .location__filter .locations__choice,
body.page-template-template-programs #programs__filter .fieldset__choice {
  font-size: 16px;
  font-weight: 500;
}

.block-newsletter form input,
section.general.pdflist .research-search form input,
body.page-template-template-programs #programs__filter input {
  font-size: 24px;
}

.mobile-searchbar form input,
.mobile-searchbar form button {
  font-size: 16px;
}

.block-newsletter form input,
section.general.pdflist .research-search form input {
  border-radius: 0;
}

.mobile-searchbar form input[type="text"],
.mobile-searchbar form input[type="search"],
.block-newsletter form input[type="text"],
section.general.pdflist .research-search form input[type="text"],
body.page-template-template-programs #programs__filter input[type="text"] {
  border: none;
  background: #fafafa;
  padding: 0.75em 0.5em;
  flex: 1 1 auto;
  border: 1px solid #E1E1E1;
}

body.page-template-template-programs form .btn-group,
/*body.page-template-template-programs form fieldset,*/
body.page-template-template-programs section.general button[type="submit"],
body.page-template-template-programs section.general button.form__reset,
body.page-template-template-programs form .input__wrapper {
  margin-bottom:  2rem;
}

body.page-template-template-programs form .btn-group label {
  border: 2px solid var(--dark-blue);
  font-weight: 700;
  padding: calc(0.75em - 2px);
  color:  var(--dark-blue);
  transition:  all 250ms ease-out;
  margin-right:  1rem;
  display: inline-block;
}

body.page-template-template-programs form .btn-group input {
}

body.page-template-template-programs form input[type="checkbox"] + label {
  margin-left:  1rem;
}

body.page-template-template-programs form fieldset {
  border-color:  var(--blue);
  border-width: 2px;
}

body.page-template-template-programs form fieldset legend {
  font-weight:  700;
  color:  var(--blue);
  font-size: 18px;
  line-height: 1.5;
  padding: 0 8px;
}

body.page-template-template-programs form .btn-group label.active {
  background: var(--dark-blue);
  color: #fff;
}

body.page-template-template-programs section.general form select,
body.page-template-template-programs section.general button[type="submit"],
body.page-template-template-programs section.general button.form__reset,
.mobile-searchbar form button[type="submit"],
.block-newsletter form input[type="submit"],
section.general.pdflist .research-search form input[type="submit"],
body.page-template-template-programs #programs__filter input[type="submit"] {
  border: none;
  background: var(--dark-blue);
  font-weight: 700;
  padding: 0.75em;
  color: #fff;
}

body.page-template-template-programs section.general button[type="submit"] {
  margin-right: 0.5em;
}

body.page-template-template-programs section.general button.form__reset {
  color: var(--dark-blue);
  background: var(--light-grey);
}

section.general .block-downloads .downloads-wrapper,
section.general.pdflist .articles-wrapper,
section.general.pdflist .featured-downloads,
body.post-type-archive-download section.general .downloads__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em;
  grid-auto-rows: auto;
  margin: 0 -1em 3em;
}

section.general.pdflist article .download-item__content > a {
  font-weight: 700;
  display: inline-block;
}

@media( min-width: 768px ) {
  section.general .block-downloads .downloads-wrapper,
  section.general.pdflist .articles-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media( min-width: 1024px ) {
  section.general .block-downloads .downloads-wrapper,
  section.general.pdflist .articles-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

section.general .block-resources .resource-item,
section.general .block-grid .grid-item {
  width: calc( 100% - 2em);
  display: flex;
  flex-direction: column;
  margin: 1em;
}

section.general .block-grid .grid-item {
  text-align: center;
  align-items: center;
}

section.general .block-downloads .download-item,
section.general.pdflist .articles-wrapper article,
section.general.pdflist .featured-downloads article,
body.post-type-archive-download section.general .downloads__wrapper article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin: 1em;
  grid-gap: 16px;
}

section.general.pdflist .featured-downloads article,
body.post-type-archive-download section.general .downloads__wrapper article {
  grid-template-columns: 1fr 4fr;
}

section.general .block-grid img {
  margin-bottom: 20px;
}

section.general.pdflist .featured-downloads article a,
body.post-type-archive-download section.general .downloads__wrapper a {
  font-weight: bold;
}

section.general.pdflist .featured-downloads article div.links,
body.post-type-archive-download section.general .downloads__wrapper article div.links {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 1fr;
}

section.general.pdflist .featured-downloads article div.links a span,
body.post-type-archive-download section.general .downloads__wrapper article div.links a span {
  font-weight: 400;
  color: #444;
}

section.general.pdflist .featured-downloads article ul.related__items a,
body.post-type-archive-download section.general .downloads__wrapper article ul.related__items a {
  font-weight: 400;
}

@media( min-width: 768px ) {
  section.general.pdflist .featured-downloads article div.links,
  body.post-type-archive-download section.general .downloads__wrapper article div.links {
    grid-template-columns: 1fr 3fr;
  }

  section.general.pdflist .featured-downloads article ul.related__items,
  body.post-type-archive-download section.general .downloads__wrapper article ul.related__items {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

section.general.pdflist .featured-downloads article ul.related__items,
body.post-type-archive-download section.general .downloads__wrapper article ul.related__items {
  margin-top: 0;
  list-style: none;
  padding-left: 0;
}

section.general .block-resources h4,
section.general .block-grid h4,
section.general .block-downloads h4,
section.general.pdflist .articles-wrapper h2.h4,
section.general.pdflist .articles-wrapper h4,
section.general.pdflist .featured-downloads h3,
body.post-type-archive-download section.general .downloads__wrapper h3 {
  margin: 0 0 10px;
}

section.general.pdflist .articles-wrapper h2.h4 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

section.general .block-resources p.description,
section.general .block-grid p.description,
section.general .block-downloads p.description,
section.general.pdflist .articles-wrapper p.description,
section.general.pdflist .articles-wrapper p.meta,
section.general.pdflist .articles-wrapper div.excerpt p,
section.general .block-downloads p.description,
section.general .block-downloads p.meta,
section.general .block-downloads div.excerpt p {
  margin: 0;
  margin-bottom: 1em;
  font-size: 16px;
}

section.general.pdflist .featured-downloads div.excerpt p,
body.post-type-archive-download section.general .downloads__wrapper div.excerpt p {
  margin-bottom: 1em;
}

section.general .block-resources .btn-wrapper {
  margin-top: auto;
}

@media( min-width: 768px ) {
  section.general .block-grid .grid-item {
    width: calc( 50% - 2em);
  }
}

@media( min-width: 1024px ) {
  section.general .block-grid.grid-two .grid-item {
    width: calc( 50% - 2em);
  }


  section.general .block-resources .resource-item,
  section.general .block-grid.grid-three .grid-item {
    width: calc( 33.33% - 2em);
  }

  section.general .block-grid.grid-four .grid-item {
    width: calc( 25% - 2em);
  }

  section.general .block-grid.grid-five .grid-item {
    width: calc( 20% - 2em);
  }
}

section.general .block-widgets {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 1fr;
}

section.general .block-widgets h3,
section.general .block-widgets h4 {
  margin-top: 0;
  margin-bottom: 0;
}

section.general .block-widgets .widget__col {
  border: 1px solid var(--medium-grey);
  background: var(--light-grey);
}

section.general .block-widgets .widget__col .widget__body {
  padding: 1em;
}

section.general .block-widgets .widget__col .widget__body li {
  margin-bottom: 1.5em;
}

section.general .block-widgets .widget__col .widget__body.widget--downloads li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 1em;
}

section.general .block-widgets h3,
section.general .block-widgets h4 {
  background-color: var(--purple);
  color: #fff;
  padding: 8px;
}

section.general .block-widgets ul {
  list-style: none;
  padding-left: 0;
}

section.general .block-widgets ul li a span {
  color: #444;
}

@media( min-width: 768px ) {
  section.general .block-widgets {
    grid-template-columns: 1fr 1fr;
  }
}

@media( min-width: 960px ) {
  section.general .block-widgets {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

section.general section.block-columns .columns__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em;
  width: 85%;
  max-width: 1080px;
  margin: 0 auto;
}

section.general section.block-columns .columns__wrapper .wrapper {
  width: 100%;
}

@media( min-width: 1024px ) {
  section.general section.block-columns .columns__wrapper.halfhalf {
    grid-template-columns: 1fr 1fr;
  }

  section.general section.block-columns .columns__wrapper.onethird-twothirds {
    grid-template-columns: 1fr 2fr;
  }

  section.general section.block-columns .columns__wrapper.twothirds-onethird {
    grid-template-columns: 2fr 1fr;
  }

  section.general section.block-columns .columns__wrapper.onethird-onethird-onethird {
    grid-template-columns: 1fr 1fr 1fr;
  }

  section.general section.block-columns .columns__wrapper [class*="-wrapper"] {
    grid-template-columns: 1fr;
  }
}


/*@media( min-width: 768px ) {
  section.general .block-downloads .download-item {
    width: calc( 50% - 2em);
  }
}*/

/*@media( min-width: 1024px ) {
  section.general .block-downloads .download-item {
    width: calc( 33.333% - 2em);
  }
}*/

/* gallery slider */
section.general .sy-list a {
  margin: 0 auto;
}

section.general .sy-list img {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}

/* pagination */
.wp-pagenavi {
  margin: 4em 0 0;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  border: none;
  background-color: #D8D8D8;
  padding: 5px 7px;
  font-weight: 700;
}

/* accordion */
.accordion {
  max-width: 768px;
  margin: 3em auto;
}

.accordion dt {
  background-color: #F5F5F5;
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 27px;
}

.accordion dt, .accordion dd {
  padding: 10px;
  border: 1px solid #979797;
}

.accordion dt:last-of-type, .accordion dd:last-of-type {
 border-bottom: 1px solid #979797;
}

.accordion dt a {
  display: block;
  color: black;
  font-weight: 400;
}

.accordion dd a {
  text-decoration: underline;
  color: black;
}

.accordion dd {
  border-top: 0;
  font-size: 16px;
  line-height: 1.5;
  margin-left: 0;
  margin-bottom: 6px;
}

.accordion dd:last-of-type {
  border-top: 1px solid white;
  position: relative;
  top: -1px;
}

.accordion dd p {
  margin-top: 0;
}


/* Video styles */

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* upcoming events */

.page-template-page-research-events-php div.gpp-sc-grid_6.omega h3 {
  margin-top: 0px;
  margin-bottom: 24px;
}

.type-upcoming-event a.download-pdf:link,
.type-upcoming-event a.download-pdf:visited {
  margin-left: 0px;
}


/* Pagination */

.pagination {
  display: block;
  position: relative;
  clear: left;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 24px;
}

.pagination a.page-numbers:link,
.pagination a.page-numbers:visited {
  display: inline-block;
  position: relative;
  padding: 14px;
  margin: 3px;
  color: #FFF;
  font-size: 16px;
  line-height: 9px;
  white-space: nowrap;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: var(--primary);
  /*-moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);*/
}

.pagination a.page-numebrs:active,
.pagination a.page-numbers:hover {
  background-color: #444444;
}

.pagination span.current {
  display: inline-block;
  position: relative;
  padding: 14px;
  margin: 3px;
  color: #FFF;
  font-size: 16px;
  line-height: 9px;
  white-space: nowrap;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #444444;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

.pagination span.dots {
  display: inline-block;
  position: relative;
  padding: 14px;
  margin: 3px;
  color: #444444;
  font-size: 16px;
  line-height: 9px;
  white-space: nowrap;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #ffffff;
}

.pagination a.next .arrow {
  display: block;
  position: relative;
  float: right;
  width: 8px;
  height: 12px;
  margin-top: -1px;
  margin-bottom: -2px;
  margin-left: 12px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-white-right.svg');
  background-repeat: no-repeat;
  background-size: 8px 12px;
  background-position: 0px 0px;
  vertical-align: middle;
}

.no-svg .pagination a.next .arrow {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-white-right.png');
}

.pagination a.prev .arrow {
  display: block;
  position: relative;
  float: left;
  width: 8px;
  height: 12px;
  margin-top: -1px;
  margin-bottom: -2px;
  margin-right: 12px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-white-left.svg');
  background-repeat: no-repeat;
  background-size: 8px 12px;
  background-position: 0px 0px;
  vertical-align: middle;
}

.no-svg .pagination a.prev .arrow {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-white-left.png');
}


/* search results */

.search-results .search-post-type {
  display: inline-block;
  float: left;
  margin-right: 4px;
  margin-top: 4px;
  color: #444;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  text-align: center;
  padding-right: 6px;
  border-right: 1px solid #888;
}



.search-results a.read-more:link,
.search-results a.read-more:visited {
  width: 118px;
  margin-top: 12px;
  padding-right: 14px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');
  background-repeat: no-repeat;
  background-size: 6px 10px;
  background-position: right center;
}

.no-svg .search-results a.read-more:link,
.no-svg .search-results a.read-more:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.png');
}

.search-results a.read-more:active,
.search-results a.read-more:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
}

.no-svg .search-results a.read-more:active,
.no-svg .search-results a.read-more:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.png');
}

/*.search-results .pdflist article h2 {
  margin-bottom: 0px;
  margin-top: 0px;
  font-size: 26px;
  line-height: 26px;
  font-weight: 600;
}

.search-results .pdflist article.type-download h2 {
  margin-top: 10px;
}

.pdflist article a.preview-image:link,
.pdflist article a.preview-image:visited {
  margin-left: -8px;
  margin-top: -10px;
}*/


/* in page form styles */

body.not(.page-template-template-flexcontent) .general article form {}

.ninja-forms-required-items {
  display: block;
  padding-bottom: 10px;
}

.ninja-forms-field-error {
  display: block;
  padding: 12px;
  margin-top: 4px;
  text-align: center;
  color: #810201;
  background-color: #f0cccc;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

body.not(.page-template-template-flexcontent) .general article form label {
  display: inline-block !important;
  width: 32%;
  float: left;
  margin-right: 1%;
  background-color: #efefef;
  padding: 12px;
  color: #444444;
  font-size: 14px;
  line-height: 14px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

body.not(.page-template-template-flexcontent) .general article form input[type=text] {
  display: inline-block;
  width: 65%;
  padding: 12px;
  background-color: #E5F3F7;
  -webkit-appearance: none;
  border: 0;
  color: #008AB0;
  font-size: 14px;
  line-height: 14px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

body.not(.page-template-template-flexcontent) .general article form textarea {
  display: inline-block;
  width: 65%;
  padding: 12px;
  background-color: #E5F3F7;
  -webkit-appearance: none;
  border: 0;
  color: #008AB0;
  font-size: 14px;
  line-height: 14px;
  outline: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

body.not(.page-template-template-flexcontent) .general article form input[type=submit] {
  display: block;
  padding: 14px;
  padding-left: 56px;
  border: 0px;
  margin: 0 auto;
  color: #FFF;
  font-size: 18px;
  line-height: 14px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: #008AB0;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-mail-white.svg');
  background-repeat: no-repeat;
  background-size: 32px 23px;
  background-position: 11px 10px;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

body.not(.page-template-template-flexcontent) .general article form input[type=submit]:hover {
  background-color: #444444;
}


/* JHSO in the News Styles */

article.latest-news,
.general .latest-news {
  margin-bottom: 24px;
}

article.latest-news:last-of-type,
.general .latest-news:last-of-type {
  margin-bottom: 0px;
}

article.latest-news a.title,
.general .latest-news a.title {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 28px;
}

article.latest-news .excerpt,
.general .latest-news .excerpt {
  color: #888888;
  font-size: 14px;
  line-height: 22px;
}

a.read-more:link,
a.read-more:visited {
  display: inline-block;
  padding-right: 14px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');
  background-repeat: no-repeat;
  background-size: 6px 10px;
  background-position: right center;
}

.no-svg a.read-more:link,
.no-svg a.read-more:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.png');
}

a.read-more:active,
a.read-more:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
}

.no-svg a.read-more:active,
.no-svg a.read-more:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.png');
}

span.news-date {
  font-weight: 600;
}

.news-navigation {
  overflow: auto;
  margin-bottom: 24px;
  border-top: 1px solid #999999;
  padding-top: 16px;
  /* border-bottom: 1px solid #999999;
  padding-bottom: 16px;
  */
}

.news-navigation .news-previous {
  display: block;
  width: 50%;
  float: left;
  text-align: center;
  padding-right: 20px;
}

.news-navigation .news-next {
  display: block;
  width: 50%;
  float: right;
  text-align: center;
  padding-left: 20px;
}

.news-navigation .heading {
  display: block;
  color: #444444;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

.news-navigation a:link,
.news-navigation a:visited {
  font-size: 18px;
  line-height: 24px;
}


/* Careers page styles */

section.careers article h3 {
  margin-bottom: 0px;
}

section.careers article h3 a:link,
section.careers article h3 a:visited {
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: normal;
}

section.careers .date {
  display: block;
  margin-bottom: 20px;
  margin-top: 4px;
  text-transform: inherit;
  font-weight: normal;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

section.careers .description-section .rich-text {
  display: inline;
  color: #444444;
}

section.careers .description-section a.read-more:link,
section.careers .description-section a.read-more:visited {
  display: inline-block;
  padding-right: 14px;
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.svg');
  background-repeat: no-repeat;
  background-size: 6px 10px;
  background-position: right center;
}

section.careers .description-section a.read-more:active,
section.careers .description-section a.read-more:hover {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-dark.svg');
}

.no-svg section.careers .description-section a.read-more:link,
.no-svg section.careers .description-section a.read-more:visited {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-blue.png');
}

section.careers h1 {
  margin-bottom: 0px;
}


/* map list pro styles */

.prettyMapList .mapHolder {
  border: none !important;
  border-radius: 4px;
}

div.wpgmp_tabs_container div.wpgmp_tab_item span.arrow img,
.wpgmp_map div[role=button] > img,
.wpgmp_tabs_container .wpgmp_tab_item .wpgmp_cat_title span.arrow {
  height: auto !important;
  width: 14px !important;
  margin-right: 0 !important;
  margin-top: 0px !important;
}

@media (min-width: 1200px) {
  div.wpgmp_tabs_container div.wpgmp_tab_item span.arrow img,
  .wpgmp_map div[role=button] > img {
    width: 20px !important;
    margin: 0px !important;
  }


  .wpgmp_tabs_container .wpgmp_tab_item .wpgmp_cat_title span.arrow {
    width: 20px !important;
    margin-top: -5px !important;
    margin-right: 10px !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .wpgmp_tabs_container {
    width: 44% !important;
    max-width: 44% !important;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1824px) {
  .wpgmp_tabs_container {
    width: 36% !important;
    max-width: 36% !important;
  }
}

@media only screen and (min-width: 1824px) {
  .wpgmp_tabs_container {
    width: 30% !important;
    max-width: 30% !important;
  }
}

#main .location-accordion .show-locations,
.location-accordion .show-locations {
  /*background-color: #0089b1 !important;*/
  background-color: var(--primary) !important;
  cursor: pointer;
  color: #FFF;
  font-size: 18px !important;
  padding: 4px !important;
  padding-left: 18px !important;
  padding-bottom: 2px !important;
  margin-bottom: 5px !important;
  border-radius: 4px;
  -moz-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  -webkit-box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
  box-shadow: 0px 3px 8px rgba(8, 72, 93, 0.2);
}

#main .location-accordion .show-locations:hover,
.location-accordion .show-locations:hover {
  /*background-color: #444444 !important;*/
  background-color: var(--dark-blue) !important;
}

.location-accordion .location-list {
  overflow: auto;
}

section.general ul.location-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  list-style: inside none;
  background-image: none;
  width: 50%;
  float: left;
}

section.general ul.location-list li:hover {
  color: #0089b1;
}

.infoWindowContainer {
  /* border: none !important;
  */
  border-radius: 4px !important;
  overflow: hidden;
}

.infoWindowContainer .address {
  display: block;
  float: left;
  width: 50%;
}

.infoWindowContainer .address p {
  font-size: 12px;
  line-height: 18px;
  padding-left: 11px;
  margin-top: 6px;
}

.infoWindowContainer ul {
  display: block;
  width: 50%;
  float: left;
  margin-top: 6px !important;
}

.infoWindowContainer ul li {
  font-size: 12px;
  line-height: 18px;
  margin: 0px;
  margin-bottom: 0px !important;
}


/* twitter display */

#twitterframe ul {
  display: block;
  padding: 0;
  margin: 0;
}

#twitterframe ul li {
  display: block;
  padding: 0;
  margin: 0;
  white-space: pre-line;
  word-wrap: break-word;
}

.user,
.tweet,
.timePosted {}

.user {
  width: 25%;
}

.tweet {
  display: block;
  width: 100%;
  margin-top: 0;
  margin-bottom: 8px;
  color: #094a60;
  white-space: pre-line;
  word-wrap: break-word;
}

.timePosted {
  width: 100%;
  margin-top: 0;
  color: #a4b3ba;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 20px;
}

.user {
  clear: left;
}

.user a {
  width: 100px;
}

.user span span {
  width: 100px;
  display: block;
  margin-top: 10px;
}

.user img,
.user a>span {}

.interact {
  width: 100%;
  margin-top: -7px;
}

.interact a:link,
.interact a:visited {
  display: inline-block;
  float: left;
  padding-left: 24px;
  margin-right: 18px;
  color: #a4b3ba;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  background-repeat: no-repeat;
}

.interact a:active,
.interact a:hover {
  color: #094a61;
}

.interact a.twitter_reply_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-reply.svg');
  background-size: 20px 17px;
  background-position: 0px 1px;
}

.no-svg .interact a.twitter_reply_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-reply.png');
}

.interact a.twitter_retweet_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-retweet.svg');
  background-size: 20px 17px;
  background-position: 0px 2px;
}

.no-svg .interact a.twitter_retweet_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-retweet.png');
}

.interact a.twitter_fav_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-favorite.svg');
  background-size: 18px 17px;
  background-position: 0px 0px;
}

.no-svg .interact a.twitter_fav_icon {
  background-image: url('/wp-content/themes/jhso-new2014/img/icon-tweet-favorite.png');
}

.user a>span {
  margin-left: 10px;
}

#linkage {
  position: fixed;
  top: 0px;
  right: 0px;
  padding: 5px;
  background-color: #3d3d3d;
  color: #ffffff;
  text-decoration: none;
}

#flags {
  display: none;
}


/* WPML */

.topbar ul {
  display: inline-block;}

#lang_sel_click {
  display: inline-block;
  top: 13px;
  height: 37px;
  position: relative;
  /*z-index: 99;*/
  z-index: 1000000;
  font-family: Roboto, arial, sans-serif;
  width: 80px;
  background: transparent !important;
}

* html #lang_sel_click {
  width: 12em;
}

* html #lang_sel_click a {
  width: 88px;
}

* html #lang_sel_click a:visited {
  width: 88px;
}

* html #lang_sel_click ul ul {
  top: 18px;
}

* html #lang_sel_click ul ul a {
  width: 80px;
}

* html #lang_sel_click ul ul a:visited {
  width: 80px;
}

#lang_sel_click ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}

#lang_sel_click ul ul {
  width: 88px;
  visibility: hidden;
  position: absolute;
  height: 0;
  top: 27px;
  left: 0;
  border-top: none;
}

#lang_sel_click ul ul a {
  /*background: #E5F3F7;*/
  background: transparent;
  color: #008ab0;
  height: auto;
  line-height: 14px;
  padding: 12px;
  border-width: 0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

#lang_sel_click ul ul a:visited {
  /*background: #E5F3F7;*/
  color: #008ab0;
  height: auto;
  line-height: 14px;
  padding: 12px;
  border-width: 0;
}

#lang_sel_click li {
  float: left;
  width: 88px;
  position: relative;
  background: white;
}

#lang_sel_click li:before {
  content: '' !important;
}

#lang_sel_click a {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 12px;
  text-decoration: none;
  color: var(--primary);
  border: none;
  /*background: #E5F3F7;*/
  background: transparent;
  padding-left: 0px;
}

#lang_sel_click a.wpml-ls-item-toggle {
  text-decoration: underline;
}

#lang_sel_click a:visited {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 14px;
  /*text-decoration: none !important;*/
  color: #008ab0;
  border: none;
  /*background: #E5F3F7;*/
  background: transparent;
  padding-left: 0px;
}

#lang_sel_click a.lang_sel_sel {
  /*background: #E5F3F7;*/
  background: transparent;
  color: #008ab0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 12px;
}

#lang_sel_click a.lang_sel_sel:hover {
  /*text-decoration: none;*/
  color: #444444;
}

#lang_sel_click a:hover,
#lang_sel_click ul ul a:hover,
#lang_sel_click :hover>a,
#lang_sel_click ul ul :hover>a {
  color: #444444;
  /*background: #E5F3F7;*/
  background: transparent;
}

#lang_sel_click img.iclflag {
  width: 18px;
  height: 12px;
  position: relative;
  top: 1px;
}

#lang_sel_click table {
  position: absolute;
  top: 0;
  left: 0;
  border-collapse: collapse;
}


/* /WPML */


/* YouTube */

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-bottom: 20px;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*------------------------------------*\ RESPONSIVE \*------------------------------------*/

@media (max-width: 1024px) {
  .header .logo,
  .header .logo-img {
    height: 52px;
  }
}

@media only screen and (max-width:1280px) {
  /* local office selector */
  .sidebar .local-offices {
    /* width: 119.5%;
      */
    width: 100%;
  }
  /* donate button */
  a.donate-large .donate-header {
    padding: 20px;
    padding-bottom: 14px;
    font-size: 22px;
    line-height: 12px;
  }
  a.donate-large .donate-header .icon {
    width: 30px;
    height: 27px;
    background-size: 30px 27px;
  }
  a.donate-large .donate-header .ch-logo {
    width: 80px;
    height: 31px;
    top: 8px;
    right: 12px;
    background-size: 80px auto;
  }
  a.donate-large .copy {
    padding-left: 52px;
  }
  /* generic sidebar styles */
  .sidebar .sidebar-title {
    font-size: 22px;
    line-height: 12px;
  }
}

@media only screen and (max-width:1024px) {

}

@media only screen and (min-width: 960px) and (max-width: 1100px) {
  /* donate button */
  a.donate-large .donate-header {
    padding: 20px;
    padding-bottom: 14px;
    font-size: 20px;
    line-height: 10px;
  }
  a.donate-large .donate-header .icon {
    width: 26px;
    height: 23px;
    background-size: 26px 23px;
  }
  a.donate-large .donate-header .ch-logo {
    width: 70px;
    height: 29px;
    top: 9px;
    right: 9px;
    background-size: 70px auto;
  }
  a.donate-large .copy {
    padding: 12px;
    padding-left: 47px;
  }
  /* generic sidebar styles */
  .sidebar .sidebar-title {
    font-size: 20px;
    line-height: 10px;
  }
  /* search results */
  .search-results .search-post-type {
    /* width: 20%;
      margin-right: 4%;
      */
  }
  .search-results .pdflist article {
    width: 76%;
  }
}

@media only screen and (max-width:960px) {
  .affiliate-menu .current-menu-item a:hover,
  .affiliate-menu .current-menu-item a:link,
  .affiliate-menu .current-menu-item a:visited,
  .affiliate-menu .current-page-ancestor a:link,
  .affiliate-menu .current-page-ancestor a:visited {
    background-color: transparent;
  }

  .affiliate-menu .sidebar-widget,
  .affiliate .donate-now-clone-spot,
  .affiliate .affiliate-services-menu .res_desc {
    display: none !important;
  }

  .affiliate-menu,
  section.general .affiliate-menu {
    margin: 0 calc(-2.5% - 1px);
    padding: 0 calc( 2.5% + 1px);
    border-radius: 0;
    border: none;
  }

  section.general .affiliate-menu  .sidebar.mobile {
    width: 100%;
  }

  section.general .affiliate-menu  .sidebar.mobile .affiliate-services-menu {
    background-color: transparent;
    margin-top: 0;
    box-shadow: none;
    padding: 0;
    min-height: auto;
    border-top: 1px solid white;
    padding-top: 1em;
    border-radius: 0;
  }

  .affiliate section.general .affiliate-masthead,
  .affiliate section.general .affiliate-menu  .sidebar.mobile .affiliate-services-menu .services-title {
    /*font-size: 16px;*/
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 10px;

    /*color: #444;*/
    color: #fff;
    text-transform: none;
  }

  .sidebar .research-menu ul>li>a:link,
  .sidebar .research-menu ul>li>a:visited,
  .sidebar .affiliate-services-menu ul>li>a:link,
  .sidebar .affiliate-services-menu ul>li>a:visited {
    text-transform: none;
    font-size: 16px;
  }

  /*.affiliate section.general .affiliate-menu > ul {
    margin-left: -15px;
    margin-right: -15px;
  }*/

  section.general .affiliate-menu  .sidebar.mobile .affiliate-services-menu .services-title-affiliate {
    display: none;
  }

  .sidebar .research-menu ul>li>a:link,
  .sidebar .research-menu ul>li>a:visited,
  .sidebar .affiliate-services-menu ul>li>a:link,
  .sidebar .affiliate-services-menu ul>li>a:visited {
    background-image: none;
    padding: 8px 0;
    color: white;
  }

  .sidebar .research-menu ul>li>a:link,
  .sidebar .research-menu ul>li>a:visited {
    color: white;
  }

  .affiliate-menu ul,
  section.general .affiliate-menu ul {
    padding-left: 0;
    display: grid;
    column-gap: 1em;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex-wrap: wrap;
  }

  .affiliate-menu ul li,
  section.general .affiliate-menu ul li {
    float: none;
    display: block;
    width: auto;
    border-bottom: none !important;
  }

  .affiliate-menu a,
  .affiliate-menu a:link,
  .affiliate-menu a:visited {
    background: none;
    border: none;
    color: white;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* footer */
  .footer .footer-contact {
    display: block;
    position: relative;
    float: left;
    width: 31%;
    min-height: 100px;
  }
  .footer .footer-contact#desktop-contact {
    display: none;
  }
  .footer .footer-contact#mobile-contact {
    display: block;
  }
  .footer .footernav {
    width: 31%;
    margin-right: 2%;
  }
  .footer .footernav.research-and-policy {
    width: 64%;
    margin-right: 2%;
    clear: left;
  }
  .footernav.research-and-policy .rnp-col1 {
    margin-right: 6.5%;
  }
  /* page styles */
  section.general {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
  }
  section.general h1,
  .affiliate-masthead {
    font-size: 42px;
    line-height: 42px;
  }
  .sidebar.desktop {
    display: none;
    width: 100%;
    float: none;
  }
  .sidebar.mobile {
    display: block;
    /*width: 96%;*/
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
/*  .research-header,
  .affiliate-header {
    height: 160px;
  }*/
  div.donate-now-clone,
  /*donate now clone*/
  div.donate-now-clone-spot {
    display: block;
  }
}

@media only screen and (max-width:890px) {

}

@media only screen and (max-width:768px) {
  /* header & top bar */
  section.general section.block-columns .columns__wrapper {
    max-width: 90%;
  }

  .wrapper {
    width: 90%;
  }
  .topbar {
    display: none;
  }
  .wp-megamenu-wrap .wpmm-nav-wrap > ul > li.wpmm-hide-desktop {
    display: inline-block;
  }

  .wp-megamenu-wrap.wpmm-mobile-menu ul.wp-megamenu {
    width: calc(100% + 2em);
    left: -1em;
    box-shadow: 0px 20px 10px 0px rgba(0, 0, 0, 0.04);
  }

  .header {
    height: 70px;
  }
  .fade-header {
    top: 70px;
  }
  .research-header,
  .affiliate-header {
    top: 70px;
  }
  .affiliate-header {
    width: 100%;
    left: 0;
    margin-left: 0px;
  }
  .affiliate-header .fade-left,
  .affiliate-header .fade-right {
    display: none;
  }


  .header .topbar {
    position: relative;
    right: auto;
    top: 15px;
    text-align: center;
  }
  .topbar ul li {
    vertical-align: top;
  }

  .topbar .top-media a:link,
  .topbar .top-media a:visited {
    margin-left: 8px;
    padding-left: 10px;
  }

  .header .nav {
    /*display: none;*/
    position: relative;
    top: 7px;
  }
  .logo {
    top: 14px;
    width: auto;
    height: 48px;
  }
  .logo .logo-img {
    width: auto;
    height: 48px;
  }
  #mobile-menu-switch {
    display: block;
    position: absolute;
    top: 14px;
    right: 0px;
    width: 40px;
    height: 40px;
    padding: 0px;
    padding-top: 40px;
    color: #FFF;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background: #0093B6;

    background: var(--primary);
    text-align: center;
  }

  #mobile-menu-switch .icon {
    display: block;
    position: absolute;
    top: 11px;
    left: 8px;
    width: 24px;
    height: 18px;
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-mobile-menu.svg');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 24px 18px;
  }
  .no-svg #mobile-menu-switch .icon {
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-mobile-menu.png');
  }
  #mobile-menu {
    display: none;
    position: fixed;
    z-index: 3000;
    width: 100%;
    height: 100%;
    background-color: #008ab0;
    overflow: auto;
  }
  #mobile-menu #close {
    display: block;
    position: relative;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    background-color: #009dc1;
  }
  #mobile-menu #close .icon {
    display: inline-block;
    position: relative;
    width: 13px;
    height: 14px;
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-menu-close.svg');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 13px 14px;
    vertical-align: middle;
    margin-right: 6px;
    margin-bottom: 2px;
  }
  .no-svg #mobile-menu #close .icon {
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-menu-close.png');
  }
  #mobile-menu #close:hover {
    cursor: pointer;
    background-color: #444444;
  }
  #mobile-menu .mobile-searchbar {
    text-align: center;
  }
  #mobile-menu .mobile-searchbar .search-input {
    display: inline-block;
    padding: 12px;
    background-color: #e5f3f7;
    border: none;
    color: #008ab0;
    font-size: 14px;
    line-height: 14px;
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  #mobile-menu .mobile-searchbar .search-submit {
    display: inline-block;
    padding: 12px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-left: -4px;
    background-color: #006692;
    border: none;
    color: #ffffff;
    font-size: 14px;
    line-height: 14px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  #mobile-menu .mobile-searchbar .search-submit:hover {
    background-color: #134d6d;
  }
  #mobile-menu .nav-mobile {
    margin-top: 10px;
  }
  #mobile-menu .nav-mobile ul,
  #mobile-menu .nav-mobile ul li {
    list-style: none outside;
    padding: 0px;
    margin: 0px;
  }
  #mobile-menu .nav-mobile ul li.mainnav-search {
    display: none;
  }
  #mobile-menu .nav-mobile ul>li>a:link,
  #mobile-menu .nav-mobile ul>li>a:visited {
    display: block;
    padding: 14px;
    padding-bottom: 12px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 44px 10px;
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-down.svg');
  }
  .no-svg #mobile-menu .nav-mobile ul>li>a:link,
  .no-svg #mobile-menu .nav-mobile ul>li>a:visited {
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-down.png');
  }
  #mobile-menu .nav-mobile ul>li>a:active,
  #mobile-menu .nav-mobile ul>li>a:hover {
    background-color: #009dc1;
  }
  #mobile-menu .nav-mobile ul>li>a.active:link,
  #mobile-menu .nav-mobile ul>li>a.active:visited {
    background-color: #009dc1;
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-up.svg');
  }
  .no-svg #mobile-menu .nav-mobile ul>li>a.active:link,
  .no-svg #mobile-menu .nav-mobile ul>li>a.active:visited {
    background-image: url('/wp-content/themes/jhso-new2014/img/icon-arrow-up.png');
  }
  #mobile-menu .nav-mobile ul li .sub-menu {
    display: none;
    width: 100%;
    background-color: #006692;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #mobile-menu .nav-mobile ul li .sub-menu li {
    display: inline-block;
    position: relative;
    /* width: 49%;
      */
    width: 100%;
    vertical-align: top;
  }
  #mobile-menu .nav-mobile ul li ul.sub-menu a:link,
  #mobile-menu .nav-mobile ul li ul.sub-menu a:visited {
    display: block;
    padding: 12px;
    padding-bottom: 11px;
    padding-left: 14px;
    text-transform: none;
    margin: 2px;
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 4px;
    background-color: #006692;
    font: 400 15px/17px "Roboto", sans-serif;
    ;
    background-image: none;
  }
  #mobile-menu .nav-mobile ul li ul.sub-menu a:active,
  #mobile-menu .nav-mobile ul li ul.sub-menu a:hover {
    background-color: #444444;
    background-image: none;
  }
  #mobile-menu .nav-mobile ul li .sub-menu li .sub-menu {
    display: block;
    width: 100%;
    background-color: #005c84;
    padding-top: 3px;
    padding-bottom: 3px;
  }
  #mobile-menu .nav-mobile ul li .sub-menu li .sub-menu li {
    width: 49%
  }
  #mobile-menu .nav-mobile ul li ul.sub-menu li ul.sub-menu a:link,
  #mobile-menu .nav-mobile ul li ul.sub-menu li ul.sub-menu a:visited {
    display: block;
    padding: 12px;
    padding-bottom: 11px;
    padding-left: 14px;
    text-transform: none;
    margin: 2px;
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 4px;
    background-color: #005c84;
    font: 400 14px/16px "Roboto", sans-serif;
    ;
    background-image: none;
  }
  #mobile-menu .nav-mobile ul li ul.sub-menu li ul.sub-menu a:active,
  #mobile-menu .nav-mobile ul li ul.sub-menu li ul.sub-menu a:hover {
    background-color: #444444;
  }
  /* basic page styles */
  section.general h1,
  .affiliate-masthead {
    font-size: 40px;
    line-height: 40px;
  }
  section.general h2 {
    font-size: 30px;
    line-height: 30px;
  }
  section.general h3 {
    font-size: 26px;
    line-height: 26px;
  }
  section.general blockquote p {
    font-size: 22px;
    line-height: 32px;
  }
  /* search results */
  .search-results .search-post-type {
    /* margin: 0 auto;
      margin-bottom: 12px;
      float: none;
      width: 35%;
      */
  }
  .search-results .pdflist article {
    width: 100%;
    float: none;
  }
}

@media only screen and (max-width:640px) {
  div.alpha {
    padding-right: 0;
  }
  div.omega {
    padding-left: 0;
  }

  /* basic page styles */
  section.general h1,
  .affiliate-masthead {
    font-size: 36px;
    line-height: 36px;
  }
  section.general h2 {
    font-size: 24px;
    line-height: 24px;
  }
  section.general h3 {
    font-size: 26px;
    line-height: 26px;
  }
  section.general blockquote p {
    font-size: 20px;
    line-height: 28px;
  }
  /* affiliate menu */
  /*.affiliate-menu ul li,
  section.general .affiliate-menu ul li {
    width: 50%;
  }*/
  .affiliate-menu ul,
  section.general .affiliate-menu ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  /* download archives */
  .post-type-archive-download section.pdflist article,
  .tax-download-category section.pdflist article,
  .programs-services-across-ontario section.pdflist article {
    width: 100%;
    margin-right: 0px;
  }
  .pdflist article {
    width: 100%;
  }
  /* map list pro styles */
  section.general ul.location-list li {
    width: 100%;
    float: none;
  }
}

@media only screen and (max-width:480px) {
  section.general section.block-columns .columns__wrapper {
    max-width: 95%;
  }

  .wrapper {
    width: 95%;
  }
  .affiliate-menu ul,
  section.general .affiliate-menu ul {
    grid-template-columns: 1fr 1fr;
  }
  /* footer */
  .footer {
    width: 90%;
  }
  .footer .footer-contact {
    display: block;
    position: relative;
    float: left;
    width: 100%;
    min-height: 100px;
  }
  .footer .footer-contact#desktop-contact {
    display: none;
  }
  .footer .footer-contact#mobile-contact {
    display: block;
    text-align: center;
  }
  .footer .footer-contact a.donate:link,
  .footer .footer-contact a.donate:visited {
    padding: 16px;
    padding-left: 50px;
    font-size: 20px;
    line-height: 16px;
    text-align: left;
  }
  .footer .footer-contact a.donate .icon {
    width: 33px;
    height: 30px;
    background-size: 33px 30px;
  }
  .footer .footer-contact a.donate .arrow {
    width: 13px;
    height: 22px;
    background-size: 13px 22px;
  }
  .footer .logo {
    width: 60%;
    margin: 0 auto;
  }
  .footer .footer-contact a.twitter:link,
  .footer .footer-contact a.twitter:visited,
  .footer .footer-contact a.youtube:link,
  .footer .footer-contact a.youtube:visited {
    display: block;
  }
  .footer .footernav {
    width: 100%;
    margin-right: 0%;
    clear: left;
  }
  .footer .footernav ul.sub-menu li {
    display: inline-block;
    width: 44%;
    margin-right: 10%;
    vertical-align: top;
  }
  .footer .footernav ul.sub-menu li:nth-child(even) {
    margin-right: 0;
  }
  .footernav ul.sub-menu li a:link,
  .footernav ul.sub-menu li a:visited {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 18px;
  }
  .footer .footernav.research-and-policy {
    width: 100%;
    margin-right: 0%;
    clear: left;
  }
  .footernav.research-and-policy .rnp-col1,
  .footernav.research-and-policy .rnp-col2 {
    width: 44%;
  }
  .footernav.research-and-policy .rnp-col1 {
    margin-right: 10%;
  }
  .footer .footernav.research-and-policy ul.sub-menu li {
    display: inline-block;
    width: 100%;
    margin-right: 0%;
    vertical-align: top;
  }
  /* basic page styles */
  section.general h1,
  .affiliate-masthead {
    font-size: 24px;
    line-height: 28px;
    /*font-weight: 700;*/
  }
  section.general h2 {
    font-size: 22px;
    line-height: 24px;
  }
  section.general h3 {
    font-size: 20px;
    line-height: 20px;
  }
  section.general blockquote p {
    font-size: 20px;
  }
  /* in page form styles */
  body.not(.page-template-template-flexcontent) .general article form label {
    width: 100%;
    margin: 0;
    float: none;
    clear: both;
  }
  body.not(.page-template-template-flexcontent) .general article form input[type=text],
  body.not(.page-template-template-flexcontent) .general article form textarea {
    width: 100%;
    margin-left: 0 !important;
  }
}

@media only screen and (max-width:320px) {}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {}


/*------------------------------------*\ MISC \*------------------------------------*/

::selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}


/*------------------------------------*\ WORDPRESS CORE \*------------------------------------*/

.alignnone {
  margin: 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  /* background:#FFF;
  border:1px solid #F0F0F0;
  */
  max-width: 100%;
  /* padding:5px 3px 10px;
  */
  text-align: center;
}

.wp-caption.alignnone {
  margin: 0;
}

.wp-caption.alignleft {
  margin: 0px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 0px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 14px;
  line-height: 22px;
  margin: 0;
  padding: 20px 4px 5px;
}

.sticky {}

.bypostauthor {}


/*------------------------------------*\ PRINT \*------------------------------------*/

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: 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;
  }
}

/* London */
body.site-id-10 #wp-megamenu-header-menu {
display: none;
}

.sidebar-widget img {
  border-radius: 4px
}

/** Training & LearnDash */

  .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-label,
  .learndash-wrapper .ld-course-status-label,
  .learndash-wrapper #btn-join, .learndash-wrapper .btn-join,
  .learndash-wrapper .ld-progress .ld-progress-heading,
  .learndash-wrapper .ld-button {
    font-size: 1em !important
  }


  .ld-course-list-content {
    padding-top: 20px;
    border-top: 1px solid lightgray
  }

  .ld-course-list-items .ld_course_grid .thumbnail.course {
    border: 0;
    position: relative;

  }

  .ld-course-list-items .ld_course_grid .wp-post-image {
    width: 100%;
  }

  .ld-course-list-items .ld_course_grid .thumbnail.course .ribbon {
    background: #5cb85c;
    box-shadow: 0 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px rgba(0,0,0,0.2);
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.3);
    position: absolute;
    font-size: 14px;
    left: -8px;
    top: 10px;
    padding: 3px 10px;
    z-index: 2;
    font-weight: bold;
  }

  .ld-course-list-items .ld_course_grid .thumbnail.course .ribbon:before {
    border: 4px solid transparent;
    border-top: 4px solid #348c34;
    border-right: 4px solid #348c34;
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .caption h3 {
  margin-top:0
}

.ld_course_grid_button {
  margin-top:20px
}

.ld-course-list-items .ld_course_grid .thumbnail.course .caption {
  padding: 20px 0
}

@media (min-width: 768px) {
  
  .ld-course-list-items .ld_course_grid .thumbnail.course .caption {
    padding: 0
  }

  .ld-course-list-items .ld_course_grid {
    margin: 0
  }

  .ld-course-list-items .col-xl, .ld-course-list-items .col-xl-auto, .ld-course-list-items .col-xl-12, .ld-course-list-items .col-xl-11, .ld-course-list-items .col-xl-10, .ld-course-list-items .col-xl-9, .ld-course-list-items .col-xl-8, .ld-course-list-items .col-xl-7, .ld-course-list-items .col-xl-6, .ld-course-list-items .col-xl-5, .ld-course-list-items .col-xl-4, .ld-course-list-items .col-xl-3, .ld-course-list-items .col-xl-2, .ld-course-list-items .col-xl-1, .ld-course-list-items .col-lg, .ld-course-list-items .col-lg-auto, .ld-course-list-items .col-lg-12, .ld-course-list-items .col-lg-11, .ld-course-list-items .col-lg-10, .ld-course-list-items .col-lg-9, .ld-course-list-items .col-lg-8, .ld-course-list-items .col-lg-7, .ld-course-list-items .col-lg-6, .ld-course-list-items .col-lg-5, .ld-course-list-items .col-lg-4, .ld-course-list-items .col-lg-3, .ld-course-list-items .col-lg-2, .ld-course-list-items .col-lg-1, .ld-course-list-items .col-md, .ld-course-list-items .col-md-auto, .ld-course-list-items .col-md-12, .ld-course-list-items .col-md-11, .ld-course-list-items .col-md-10, .ld-course-list-items .col-md-9, .ld-course-list-items .col-md-8, .ld-course-list-items .col-md-7, .ld-course-list-items .col-md-6, .ld-course-list-items .col-md-5, .ld-course-list-items .col-md-4, .ld-course-list-items .col-md-3, .ld-course-list-items .col-md-2, .ld-course-list-items .col-md-1, .ld-course-list-items .col-sm, .ld-course-list-items .col-sm-auto, .ld-course-list-items .col-sm-12, .ld-course-list-items .col-sm-11, .ld-course-list-items .col-sm-10, .ld-course-list-items .col-sm-9, .ld-course-list-items .col-sm-8, .ld-course-list-items .col-sm-7, .ld-course-list-items .col-sm-6, .ld-course-list-items .col-sm-5, .ld-course-list-items .col-sm-4, .ld-course-list-items .col-sm-3, .ld-course-list-items .col-sm-2, .ld-course-list-items .col-sm-1, .ld-course-list-items .col, .ld-course-list-items .col-auto, .ld-course-list-items .col-12, .ld-course-list-items .col-11, .ld-course-list-items .col-10, .ld-course-list-items .col-9, .ld-course-list-items .col-8, .ld-course-list-items .col-7, .ld-course-list-items .col-6, .ld-course-list-items .col-5, .ld-course-list-items .col-4, .ld-course-list-items .col-3, .ld-course-list-items .col-2, .ld-course-list-items .col-1 {
    padding: 0
  } 

  .ld-course-list-items .ld_course_grid .thumbnail.course {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
  }

  .ld-course-list-items .ld_course_grid .thumbnail.course .caption {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .ld-course-list-items .ld_course_grid .thumbnail.course .ribbon,
  .ld-course-list-items .ld_course_grid .thumbnail.course a {
    grid-column: 7 / -1;
    grid-row: 1;
  }

}


.learndash {margin-bottom: 60px; }
.ld-video {margin-bottom: 20px}