/*
Theme Name: SDHU Theme
Theme URI: https://sdhu-clients.soshal.ca
Description: A WP theme for SDHU
Version: 1.1
Author: Soshal
Author URI: http://soshal.ca
*/

/*
COLORS

Red: #C90062
Green: #00747A

Facebook: #3b5998
Google Plus: #dd4b39
Twitter: #00aced
RSS: #f60
YouTube: #bb0000
Instagram: #517fa4
Pinterest: #cb2027
*/

@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,300italic,400italic,600,600italic,700,700italic,900,900italic);
@import url(//fonts.googleapis.com/css?family=Sorts+Mill+Goudy:400,400italic);
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic);

html,
body{
  width:100%;
  overflow-x:hidden;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/* =============================================================================
   Structure
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }

html {
  font-size: 100%;
  /*overflow-y: scroll;*/
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: none; /* disable webkit text size adjust (for iPhone) */
  width: 100%;
  overflow-x: hidden; /* prevents right-padding on edge of device screen */
}

body {
  min-height: 100% !important;
  font: 300 16px 'Open Sans',helvetica,arial,sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
  background: #fff;
}

html, body {
  position: relative;
  /*height: 100%;*/
}

.print-header {
  display: none;
}

#turnkey-credit {
  display: none;
}

nav#mobileMenu {
  display: none;
}

nav#secondaryMenu {
  position: relative;
  width: 100%;
  height: 50px;
  background: #00747A;
  z-index: 98;
}

/*nav#secondaryMenu.subPage {
  background: url(images/secondaryNavBackgr.png) repeat-x;
}*/

nav#primaryMenu {
  position: relative;
  width: 100%;
  height: 184px;
  padding: 50px 0 0 0;
  background: url(images/transpWhite.png);
  z-index: 97;
}

nav#primaryMenu.subPage {
  background: #f2f6f3;
  border-bottom: 4px solid #d8e4d4;
}

.mobile-menu {
  display: none;
}

header {
  position: relative;
  width: 100%;
  height: 600px;
  margin: -220px 0 0 0;
  background: #01414a url(images/background-noise.png) fixed top center repeat;
  /*background-size: contain;*/
  z-index: 96;
}

.header--fr::before {
  background-image: url(images/hero-image-text-fr.svg);
}

header::before {
  content: '';
  position: absolute;
  display: block;
  bottom: 1.25rem;
  left: .5rem;
  width: 50%;
  height: 340px;
  background: url(images/hero-image-text-en.svg) center left no-repeat;
  background-size: contain;
}

header::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 1.75rem;
  left: auto;
  right: 0;
  width: 50%;
  max-width: 420px;
  height: 340px;
  background: url(images/hero-image-mark.svg) center left no-repeat;
  background-size: 537px 300px;
}

header .header__angle {
  bottom: 0;
  top: auto;
  background: none;
  height: 5.5rem;
  z-index: 6;
}

header .header__angle .angle1 {

  fill: #A9DC92;

}

header .header__angle .angle2 {

  fill: #72CE9B;

}


section#full {
  width: 1100px;
  margin: 0 auto;
}

#wrapper {
  width: 1100px;
  margin: 30px auto;
}

#sidebarLeft {
  float: left;
  width: 216px;
}

.toggle-sidebar {
  display: none;
}

.sidebarRight {
  float: right;
  width: 278px;
  font-size: 0.95em;
  margin: 0 0 30px 0;
}

#sidebarLeft section {
  margin: 0 0 20px 0;
  overflow: hidden;
}

.sidebarRight section {
  margin: 0 0 20px 0;
  padding: 20px;
  background: #fbfbfb;
  border: 1px solid #e4e4e4;
  overflow: hidden;
}

#main {
  float: left;
  min-height: 800px;
  width: 600px;
  padding: 0 20px 40px 20px;
}

#main.wide {
  width: 790px;
}

#main .grey-box {
  display: block;
  width: 100%;
  text-align: center;
  padding: 25px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

#main .white-box,
#main .ninja-forms-form-wrap {
  display: block;
  width: 100%;
  margin: 15px 0 25px 0;
  padding: 25px 25px 0 25px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

:focus#wrapper, :focus#main, :focus#sidebarLeft, :focus.sidebarRight {
  outline: none;
}

#homeQuicklinks {
  margin: 50px auto;
}

#homeQuicklinks .centeredImg {

  width: auto;

}

#homeNews, #homeFeatures {
  float: left;
  width: 485px;
  min-height: 490px;
  text-align: left;
  margin: 0 0 40px 0;
  padding: 20px;
  border: 1px solid #ddd;
}

#homeFeatures {
  float: right;
}

#homeNews article, #homeFeatures article {
  display: block;
  width: 100%;
  margin: 0 0 40px 0;
  overflow: hidden;
}

.opportunityTile {
  margin: 40px 0;
  padding: 50px 0;
  background: #eeece8;
  overflow: hidden;
  clear: both;
}

.opportunityTile p,
.opportunityTile h2 {
  display: inline-block;
  vertical-align: top;
  margin-top: 0;
}

.opportunityTile p {
  padding-top: 2rem;
  width: 29%;
  text-align: right;
}

.opportunityTile h2 {

  font-size: 1.8rem;
  font-weight: 400;
  color: #63656a;
  width: 70%;
  font-family: 'Unit Offc W01 Regular', 'Open Sans', helvetica, arial, sans-serif;

}

.opportunityTile h2 span {

  font-size: 3.2rem;
  line-height: .9em;
  margin-bottom: .3em;
  display: block;
  color: #a60064;
  font-family: 'Unit Offc W01 Black', 'Open Sans', helvetica, arial, sans-serif;

}

.snippet {
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
}

.snippet .snippet__link {
  font-size: 1em;
  line-height: 1.2em;
  color: #00747A;
  text-decoration: none;
  padding: 8px 0;
}

.snippet .snippet__link:hover, .sidebarRight .snippet__link:focus {
  color: #C90062;
  text-decoration: underline;
}

footer {
  width: 100%;
  min-height: 150px;
  padding: calc(2.5rem + 30px) 0 25px 0;
  background: #004750;
  overflow: hidden;
  clear: both;
  position: relative;
  margin-top: 40px;
}

footer section {
  float: left;
  width: 25%;
  color: #fff;
}

footer section#footerPrint {display:none;}

footer section#contactInfo {
  width: 15%;
  text-align: center;
}

footer section#socialNetworks {
  width: 35%;
  text-align: center;
}

footer section#contactInfo, footer section#footerPrint {
  font-size: 0.85em;
  line-height: 1.5em;
}

.inside {
  width: 1100px;
  margin: 0 auto;
}

.sevenhundred {
  width: 700px;
  margin: 0 auto;
}

.centered {
  text-align: center;
}

.third {
  float: left;
  width: 33.33%;
  margin: 0 0 50px 0;
}


/* =============================================================================
   Navigation
   ========================================================================== */

i.icon-menu {
  display: none;
}

nav#secondaryMenu ul.top-menu, nav#primaryMenu ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav#secondaryMenu ul.top-menu {
  float: left;
}

nav#primaryMenu ul {
  float: right;
}

nav#secondaryMenu ul.top-menu li, nav#primaryMenu li {
  display: inline;
}

nav#secondaryMenu ul.top-menu li {
  font-size: 0.8em;
  line-height: 50px;
  /*text-transform: uppercase;*/
}

nav#secondaryMenu ul.top-menu li a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px 0 0;
}

nav#primaryMenu li {
  display: table-cell;
  vertical-align: middle;
  width: 135px;
  height: 100px;
  font-size: 1em;
  font-weight: 400;
  text-align: center;
}

nav#primaryMenu li:first-of-type {
  width: 125px;
}

nav#primaryMenu li:nth-of-type(3) {
  width: 122px;
  padding: 0 10px 0 0;
}

nav#primaryMenu li:nth-of-type(5), nav#primaryMenu li:nth-of-type(6), nav#primaryMenu li:nth-of-type(7) {
  width: 75px;
}

nav#primaryMenu li:nth-of-type(4) {
  width: 140px;
  padding: 0 0 0 10px;
}

nav#primaryMenu li a {
  color: #C90062;
  text-decoration: none;
}

nav#secondaryMenu ul.top-menu li a:hover, #langToggler a:hover, #langToggler a:focus {
  color: #fff;
  text-decoration: underline;
}

nav#primaryMenu li a:hover, nav#primaryMenu li.current-menu-item a, nav#primaryMenu li a:focus {
  color: #00747A;
}

#langToggler a {
  float: right;
  font-size: 0.8em;
  line-height: 50px;
  color: #fff;
  text-decoration: none;
  margin: 0 0 0 25px;
}

.header__angle {
  height: 1.5rem;
  width: 100%;
  display: block;
  fill: #abdb92;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.footer__angle {
  height: 2.5rem;
  width: 100%;
  display: block;
  fill: #00747A;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
}

footer section#contactInfo a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin: 0 0 15px 0;
}

footer section#contactInfo a:hover, footer section#contactInfo a:focus {
  color: #abdb92;
  text-decoration: underline;
}

footer ul {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

footer ul li a {
  float: left;
  display: block;
  width: 50%;
  font-size: 0.8em;
  color: #fff;
  text-decoration: none;
  padding: 9px 0;
}

footer ul li a:hover, footer ul li a:focus {
  color: #abdb92;
  text-decoration: underline;
}

footer a i {
  display: inline-block;
  width: 40px;
  height: 40px;
  font-size: 1.3em;
  line-height: 40px;
  color: #00747A;
  text-align: center;
  margin: 45px 5px 0 5px;
  background: #fff;
  border-radius: 100px;
}

footer a:hover i, footer a:focus i {
  color: #fff;
  background: #00747A;
}

.social span {
  vertical-align: middle;
  font-size: 0.9em;
  line-height: 45px;
  margin: 0 12px 0 0;
}

.social a i {
  display: inline-block;
  width: 45px;
  height: 45px;
  font-size: 1.3em;
  line-height: 45px;
  color: #fff;
  text-align: center;
  margin: 0 6px 0 0;
  background: #ccc;
  border-radius: 100px;
}

.social a i.icon-facebook {
  background: #3b5998;
}

.social a i.icon-twitter {
  background: #00aced;
}

.social a i.icon-gplus {
  background: #dd4b39;
}

.social a i.icon-chat {
  background: #C90062;
}

.social a i.icon-print {
  background: #00747A;
}

.social a:hover i, .social a:focus i {
  background: #ccc;
}

#lang_sel_click {float: left; height:auto; position:relative; z-index:99;  font-family: helvetica, verdana, arial, sans-serif;}

/* remove all the bullets, borders and padding from the default list styling */
#lang_sel_click ul, #lang_sel li {padding:0 !important; margin:0 !important; list-style-type:none !important;}

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

#lang_sel_click ul ul {width:100px;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#lang_sel_click li {float:left;width:100px;position:relative;}

/* style the links for the top level */
#lang_sel_click a, #lang_sel_click a:visited {display:block;font-size:1em;text-decoration:none !important; color:#fff; border:0; background:none; padding-left:0; line-height:70px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#lang_sel_click ul ul {visibility:hidden;position:absolute;height:0;top:25px;left:0; width:149px;border-top:1px solid #cdcdcd;}
/* another hack for IE5.5 */
* html #lang_sel_click ul ul {top:18px;t\op:19px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#lang_sel_click table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
#lang_sel_click ul ul a, #lang_sel_click ul ul a:visited {background:none; color:#fff; height:auto; line-height:1em; padding:5px 10px;border-width:0 1px 1px 1px;}

/* style the top level hover */
#lang_sel_click a:hover, #lang_sel_click ul ul a:hover, #lang_sel_click a:focus, #lang_sel_click ul ul a:focus{color:#000; background:#eee;}
#lang_sel_click :hover > a, #lang_sel_click ul ul :hover > a, #lang_sel_click :focus > a, #lang_sel_click ul ul :focus > a {color:#000; background:#eee;}

#lang_sel_click a.lang_sel_sel{
    background:none;
    color:#fff;
}
#lang_sel_click a.lang_sel_sel:hover, #lang_sel_click a.lang_sel_sel:focus{
    text-decoration: none;
    color:#000;
}

/* make the second level visible when hover on first level list OR link */
/* #lang_sel_click ul li:hover ul, #lang_sel_click ul a:hover ul{visibility:visible; } */

#lang_sel_click img.iclflag{display: none;}

#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  margin: 0;
}

#back-top a {
  display: block;
  width: 55px;
  height: 55px;
  font-size: 1.45em;
  line-height: 53px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: #00747A;
  border-radius: 100px;
  cursor: pointer;
}

#back-top a:hover, #back-top a:focus {
  background: #C90062;
}


/* =============================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-size: 2.5em;
  font-family: 'Unit Offc W01 Regular', 'Open Sans', helvetica, arial, sans-serif;
  line-height: 1.1em;
  color: #C90062;
  margin: 0 0 30px 0;
}

h1 {
  font-weight: 900;
  color: #004953;
  font-family: 'Unit Offc W01 Black', 'Open Sans', helvetica, arial, sans-serif;
}

h2 {
  color: #00747A;
  font-family: 'Unit Offc W01 Medium', 'Open Sans', helvetica, arial, sans-serif;
}

h4 {
  color: #004953;
}

h5 {
  color: #00747A;
}

.dark {
  color: #000;
}

h2, h3, h4, h5, h6 {
  font-size: 1.8em;
  margin: 30px 0 15px 0;
}

#homeNews h2, #homeFeatures h2 {
  font-size: 1.5em;
  margin: 0 0 30px 0;
  padding: 15px 0;
  border-bottom: 1px solid #aaa;
}

.snippet h2 {
  font-size: 2.3em;
  margin: 0 0 10px 0;
}

#main.search-results .snippet h2 {
  font-size: 1.8em;
}

h2 a {
  color: #C90062;
  text-decoration: none;
}

h2 a:hover {
  color: #000;
  text-decoration: underline;
}

#sidebarLeft h2 {
  font-size: 1.3em;
  margin: 0 0 15px 0;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #e4e4e4;
}

.sidebarRight h2 {
  font-size: 1.5em;
  margin: 0 0 15px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e4e4e4;
  font-weight: 400;
  font-family: 'Unit Offc W01 Regular', 'Open Sans', helvetica, arial, sans-serif;
}

footer h2 {
  font-size: 1em;
  font-family: 'Open Sans', helvetica, arial, sans-serif;
  color: #fff;
  margin: 15px 0 20px 0;
}

h3, h4, h5, h6 {
  font-size: 1.4em;
}

#homeNews h3, #homeFeatures h3 {
  font-size: 1.05em;
  letter-spacing: 0;
  margin: 10px 0 0 0;
  font-family: 'Open Sans', helvetica, arial, sans-serif;
}

h3 a {
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

h3 a:hover, h3 a:focus {
  color: #C90062;
  text-decoration: underline;
}

h4 {
  font-size: 1.25em;
}

h5, h6 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

p, address {
  line-height: 1.65em;
  margin: 0 0 20px 0;
}

p.double {
  font-size: 2.2em;
}

.snippet p {
  margin: 0 0 30px 0;
}

p.lastModified {
  display: block;
  font-size: 0.9em;
  line-height: 1em;
  color: #555;
  margin: 30px 0;
  padding: 9px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
}

p.notice {
  display: block;
  line-height: 1.4em;
  color: #555;
  margin: 30px 0 50px;
  padding: 9px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
}

p.shorter {
  margin: 0 0 4px 0;
}

#sidebarLeft p, .sidebarRight p {
  font-size: 0.95em;
  line-height: 1.3em;
  margin: 0 0 15px 0;
}

#main ul {
  margin: 0 0 20px 18px;
  padding: 0;
  list-style: square;
}

#main ul ul, #main ul ol {
  margin: 0 0 0 20px;
}

#main ul.noBullets {
  margin: 0 0 20px 0;
  list-style: none;
}

#main ol {
  margin: 0 0 20px 18px;
  padding: 0;
}

#main ul li, #main ol li {
  line-height: 1.6em;
  padding: 6px 0;
}

#main ul.noBullets li {
  padding: 3px 0;
}

#main ul.jumplinks {
  margin: 0;
  padding: 0 0 20px 0;
  list-style: none;
}

#main ul.jumplinks li {
  display: inline;
  font-size: 1.2em;
  line-height: 1.3em;
  padding: 0;
}

p a, #main ul li a, #main ol li a, #main table a , .nf-form-wrap a {
  color: #00747A;
  text-decoration: underline;
}

#main ul.jumplinks li a {
  float: left;
  display: block;
  text-decoration: none;
  margin: 0 8px 8px 0;
}

p a:hover, #main ul li a:hover, #main ol li a:hover, #main table a:hover, .nf-form-wrap a:hover 
p a:focus, #main ul li a:focus, #main ol li a:focus, #main table a:focus, .nf-form-wrap a:focus {
  color: #C90062;
}

#main ul.jumplinks li a:hover, #main ul.jumplinks li a:focus {
  text-decoration: underline;
}

p a.more-link {
  display: inline-block;
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  background: #00747A;
  border-radius: 4px;
}

p a:hover.more-link, p a:focus.more-link {
  background: #C90062;
}

.postDate {
  display: block;
  font-size: 0.9em;
  color: #888;
  margin: -15px 0 30px 0;
}

.snippet .postDate {
  margin: 0 0 15px 0;
}

.pagination {
  width: 100%;
  text-align: center;
  padding: 20px 0;
}

.pagination a {
  display: inline-block;
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
  margin: 0 30px;
  padding: 10px 20px;
  background: #00747A;
  border-radius: 4px;
}

.pagination a:hover, .pagination a:focus {
  background: #C90062;
}

/*#sidebarLeft ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebarLeft ul li {
  position: relative;
}

#sidebarLeft ul ul {
  margin: 0 0 0 16px;
  display: none;
}

#sidebarLeft ul ul ul {
  margin: 0 0 0 32px;
  display: none;
}

#sidebarLeft ul li a {
  display: block;
  font-size: 0.9em;
  line-height: 1.25em;
  color: #000;
  text-decoration: none;
  padding: 8px 0;
}*/

/*#sidebarLeft ul li:first-of-type a {
  color: #C90062;
}*/

/*#sidebarLeft ul li:last-of-type a {
  border: 0;
}

#sidebarLeft ul li a:hover {
  color: #00747A;
}

#sidebarLeft ul li:hover > a {
  color: #C90062;
  border: 0;
}

#sidebarLeft ul li:hover > ul {
  display: block;
}

#sidebarLeft ul li a:after {
  content: '\00BB';
  padding: 0 0 0 5px;
}

#sidebarLeft ul li:hover ul li a {
  color: #00747A;
  padding: 5px 0;
}

#sidebarLeft ul li:hover ul li:last-child a {
  padding: 5px 0 8px 0;
  border: 0;
}

#sidebarLeft ul li:hover ul li a:hover {
  color: #C90062;
  text-decoration: underline;
}*/

#sidebarLeft ul {
  margin: 0;
  padding: 0;
}

/*#sidebarLeft ul li { list-style: none; }

#sidebarLeft ul li a {
  position: relative;
  display: table;
  margin-top: 1px;
  padding: 10px 10px;
  width: 100%;
  background: #00747A;
  text-decoration: none;
  text-align: left;
  vertical-align: middle;
  font-size: 0.9em;
  color: #fff;
  overflow: hidden;
  -webkit-transition-property: background;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-timing-function: ease-out;
  transition-property: background;
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

#sidebarLeft ul > li:first-child a { margin-top: 0; }

#sidebarLeft ul li a:hover {
  background: #C90062;
  -webkit-transition-property: background;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-timing-function: ease-out;
  transition-property: background;
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

#sidebarLeft ul li ul {
  margin: 0;
  padding: 0;
}

#sidebarLeft ul li li a {
  display: block;
  margin-top: 0;
  padding: 0 10px;
  height: 0;
  background: #f5f5f5;
  color: #C90062;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-timing-function: ease-out;
  transition-property: all;
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

#sidebarLeft ul > li:hover li a {
  display: table;
  font-size: 0.85em;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  width: 100%;
  height: 1em;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  -webkit-transition-property: all;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-timing-function: ease-out;
  transition-property: all;
  transition-duration: 0.4s;
  transition-timing-function: ease-out;
}

#sidebarLeft ul > li:hover li a:hover {
  color: #00747A;
  background: #fff;
  -webkit-transition-property: background;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-property: background;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.hassub:after {
  content: '\002B';
  color: #fff;
  position: absolute;
  right: 10px;
  top: 10px;
}*/

#sidebarLeft ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebarLeft ul li a {
  display: block;
  font-size: 0.9em;
  color: #00747A;
  text-decoration: none;
  padding: 8px 10px;
  background: #fbfbfb;
  border-right: 1px solid #e4e4e4;
  border-left: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
}

#sidebarLeft ul li:first-child a {
  border-top: 1px solid #e4e4e4;
}

#sidebarLeft ul li a:hover, #sidebarLeft ul li a:focus {
  color: #C90062;
  text-decoration: underline;
}

#sidebarLeft ul li.current_page_item a {
  font-weight: 400;
  color: #fff;
  background: #C90062;
}

#sidebarLeft ul li.current_page_item a:hover, #sidebarLeft ul li.current_page_item a:focus {
  color: #fff;
  background: #00747A;
}

#sidebarLeft ul ul {
  margin: 0 0 0 20px;
}

#sidebarLeft ul li.current_page_item ul li a {
  font-weight: 300;
  color: #00747A;
}

#sidebarLeft a.back-side {
  display: block;
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
  margin: 0 0 8px 0;
  padding: 8px 10px;
  background: #00747A;
  border-radius: 3px;
}

#sidebarLeft a:hover.back-side, #sidebarLeft a:active.back-side {
  color: #fff;
  text-decoration: none;
  background: #C90062;
}

.sidebarRight ul {
  margin: -10px 0 0 0;
  padding: 0;
  list-style: none;
}

.sidebarRight ul li a {
  display: block;
  font-size: 1em;
  line-height: 1.2em;
  color: #00747A;
  text-decoration: none;
  padding: 8px 0;
}

.sidebarRight ul li:last-child a {
  padding: 15px 0;
}

.sidebarRight ul li a:hover, .sidebarRight ul li a:focus {
  color: #C90062;
  text-decoration: underline;
}


/* =============================================================================
   Event Calendar Hacks
   ========================================================================== */

.em-calendar {
  width: 100% !important;
}

.em-calendar a, table.em-calendar td.eventful a, table.em-calendar td.eventful-today a, div.css-search a {
  font-weight: 400;
  color: #C90062 !important;
  text-decoration: none !important;
}

.em-calendar a:hover, table.em-calendar td.eventful a:hover, table.em-calendar td.eventful-today a:hover, div.css-search a:hover,
.em-calendar a:focus, table.em-calendar td.eventful a:focus, table.em-calendar td.eventful-today a:focus, div.css-search a:focus {
  color: #00747A !important;
  text-decoration: none !important;
}

table.em-calendar td.eventless-today, table.em-calendar td.eventful-today {
  color: #fff;
  background: #00747A !important;
}

.days-names {
  font-weight: 700;
}

div.css-search {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

div.css-search.has-advanced div.em-search-main {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

div.css-search div.em-search-text, div.css-search div.em-search-geo {
  margin: 0 !important;
  padding-left: 0 !important;
  background: none !important;
}

div.css-search div.em-search-main .em-search-submit {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -moz-border-radius: 4px !important;
  -webkit-border-radius: 4px !important;
  border-radius: 4px !important;
  border: none !important;
  display: block !important;
  text-shadow: none !important;
  line-height: 1em !important;
  width: auto !important;
  height: 55px !important;
  font: 300 1em 'Open Sans',helvetica,arial,sans-serif !important;
  color: #fff !important;
  margin: 0 0 40px 0 !important;
  padding: 0 25px !important;
  background: #C90062 url(images/searchBackgr.svg) center no-repeat !important;
  cursor: pointer;
}

div.css-search div.em-search-main .em-search-submit img {
  display: none !important;
}

div.css-search label {
  display: block;
  font-weight: 700;
  margin: 0 0 5px 0;
}

div.css-search select {
  display: block;
  margin: 0 0 20px 0;
  clear: both;
}



/* =============================================================================
   Gallery
   ========================================================================== */

.gallery {

}

.gallery__row {

  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;

}

.gallery__row--2up .gallery__block {

  width: calc(50% - .4rem);
  padding-top: calc(50% - .4rem);

}

.gallery__column {

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(33.3333% - .5rem);

}

.gallery__column--full {

  width: calc(66.6666% - .25rem);

}

.gallery__column .gallery__block {

  width: 100%;
  padding-top: 100%;

}

.gallery__block {

  width: calc(33.3333% - .5rem);
  position: relative;
  padding-top: calc(33.3333% - .5rem);

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

}

.gallery__block::before {

  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  opacity: .3;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.1+0,0.4+100 */
  /* background-image: -webkit-linear-gradient(top, rgba(0,0,0,.4) 30%,rgba(0,0,0,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
  /* background-image: linear-gradient(to bottom, rgba(0,0,0,.4) 30%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,.9) 0%,rgba(0,0,0,0.4) 70%); /* Chrome10-25,Safari5.1-6 */
  background-image: linear-gradient(to bottom, rgba(0,0,0,.9) 0%,rgba(0,0,0,0.4) 70%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

  transition: opacity .3s ease;

}

.gallery__block:hover::before {

  opacity: 1;

}

.gallery__content,
.gallery__link {

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;

}

.gallery__content {

  bottom: auto;

}

.gallery__content h2 {

  color: #FFFFFF;
  font-family: 'Unit Offc W01 Black', 'Open Sans', helvetica, arial, sans-serif;
  font-size: 1.4rem;
  text-shadow: 0 0 5px rgba(0, 0, 0, .5);
  margin-top: 0;

}

.gallery__link {

  z-index: 2;

}

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

  .gallery__row {

    flex-wrap: wrap;
    margin-bottom: 0;

  }

  .gallery__column {

    flex-direction: row;
    width: 100%;

  }

  .gallery__column .gallery__block {

    width: calc(50% - .4rem);
    padding-top: calc(50% - .4rem);

  }

  .gallery__column--full {

    width: 100%;

  }

  .gallery__column--full .gallery__block {

    width: 100%;
    padding-top: 100%;

  }

  .gallery__row--3up  .gallery__block {

    width: calc(50% - .4rem);
    padding-top: calc(50% - .4rem);

  }

  .gallery__row--3up  .gallery__block:first-child {

    width: 100%;
    padding-top: 100%;

  }

  .gallery__block {

    margin-bottom: .75rem;

  }

}

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

  .gallery__column,
  .gallery__row--2up {

    flex-direction: column;
    flex-wrap: wrap;

  }

  .gallery__column .gallery__block,
  .gallery__row--2up .gallery__block,
  .gallery__row--3up .gallery__block,
  .gallery__row--3up .gallery__block:first-child  {

    width: 100%;
    padding-top: 80%;

  }

}


/* =============================================================================
   Buttons
   ========================================================================== */

.button a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 12px 50px;
  background: #00747A;
  border-radius: 4px;
  font-family: 'Unit Offc W01 Regular', 'Open Sans', helvetica, arial, sans-serif;
}

.button.hollow a {
  color: #00747A;
  background: none;
  border: 1px solid #00747A;
}

.button.right a {
  float: right;
  font-size: 0.9em;
  padding: 7px 18px;
}

.sidebarRight .button a {
  display: block;
  font-size: 0.95em;
  color: #fff;
  text-align: center;
  padding: 10px 30px;
}

.sidebarRight .sidebarRight__intro {
  /*color: #C90062;*/
}

.button a:hover, .button a:focus {
  background: #C90062;
}

.button.hollow a:hover, .button.hollow a:focus {
  color: #fff;
  background: #00747A;
  border: 1px solid #00747A;
}


/* =============================================================================
   Home page elements
   ========================================================================== */

#homePageTitle {
  display: block;
  font-size: 2.8em;
  font-weight: 300;
  line-height: 1.1em;
  color: #fff;
  text-align: center;
  text-shadow: 0px 0px 5px #222;
  margin: 0 auto 10px auto;
  padding: 320px 0 15px 0;
  font-family: 'Unit Offc W01 Medium', 'Open Sans', helvetica, arial, sans-serif;
  position: relative;
  z-index: 5;
}

#homePageTagline {
  display: block;
  width: 600px;
  font-size: 1.2em;
  line-height: 1.5em;
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 1px #222;
  margin: 0 auto 60px auto;
}

.healthyDay {
  display: block;
  font: italic 400 1.9em 'Sorts Mill Goudy',georgia,serif;
  color: #C90062;
  text-align: center;
  margin: 20px auto 0 auto;
}

.third i {
  display: block;
  width: 150px;
  height: 150px;
  font-size: 3.7em;
  line-height: 150px;
  color: #C90062;
  margin: 0 auto 20px auto;
  border: 2px solid #ddd;
  border-radius: 200px;
}

.third a:hover i, .third a:focus i {
  color: #00747A;
  border: 2px solid #00747A;
}

.postMeta {
  display: block;
  font-size: 1.15em;
  line-height: 1.1em;
  text-transform: uppercase;
  margin: 20px 0;
  overflow: hidden;
}

.postMeta.alert {
  background-color: #C90062;
}

.month {
    display: block;
    margin: 7px 0 0 0;
}

.postMeta .day {
  display: block;
  font-size: 1.55em;
  font-weight: 600;
}

html[lang=fr-FR] .month {
  font-size: 1.55em;
  font-weight: 600;
}

html[lang=fr-FR] .postMeta .day {
  font-size: 1em;
  font-weight: 300;
}

.postMeta.alert .month, .postMeta.alert .day {
  display: none;
}

.alertPostDate {
  display: block;
  color: #C90062;
  margin: 0 0 -8px 0;
}

.postMeta i {
  display: none;
}

.featuredIcon i {
  float: left;
}

.postMeta.alert i {
  display: block;
  font-size: 2em;
  font-weight: 400;
  line-height: 56px;
  color: #fff;
  padding: 0 0 4px 0;
  background: #C90062;
}

.postMeta, .featuredIcon {
  float: left;
  width: 60px;
  height: 60px;
  text-align: center;
  margin: 0 20px 0 0;
  border: 1px solid #C90062;
  border-radius: 100px;
}

.featuredIcon {
  padding: 0 0 0 5px;
  font-size: 2.3em;
  line-height: 60px;
  color: #00747A;
}

.wpp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpp-list li a {
  display: block;
  width: 100%;
  height: 60px;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 60px;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 20px 0;
  padding: 0 0 0 75px;
  background: url(images/popular-icon.svg) left no-repeat;
  background-size: 60px 60px;
  overflow: hidden;
}

.wpp-list li a:hover, .wpp-list li a:focus {
  color: #C90062;
  text-decoration: underline;
}

.wpp-views {
  display: none;
}


/* =============================================================================
   Misc
   ========================================================================== */

#main ul#breadcrumbs, #main .breadcrumb {
  display: block;
  margin: 0 0 25px 0;
  padding: 0;
  list-style: none;
}

#main ul#breadcrumbs li {
  display: inline;
  font-size: 0.8em;
  line-height: 1.4em;
}

#main .breadcrumb {
  font-size: 0.85em;
  line-height: 1.4em;
}

#main ul#breadcrumbs li a, #main .breadcrumb a {
  color: #00747A;
  text-decoration: none;
  margin: 0 5px 0 0;
}

#main ul#breadcrumbs li a:hover, #main .breadcrumb a:hover,
#main ul#breadcrumbs li a:focus, #main .breadcrumb a:focus {
  color: #C90062;
  text-decoration: underline;
}

#main ul#breadcrumbs li:after {
  content:'\003E';
  color: #bbb;
  margin: 0 5px 0 0;
}

#main ul#breadcrumbs li:last-of-type:after {
  content:'';
  margin: 0;
}

.right {
  float: right;
}

.red {
  color: #C90062;
}

#main table {
  width: 100%;
  font-size: 0.9em;
  margin: 40px 0;
  padding: 0;
  border-collapse: collapse;
  border: 1px solid #ddd;
  border-bottom: 0;
}

#main table thead td {
  font-weight: 400;
  color: #C90062;
  background: #eee;
}

#main table tr {
  background: #fff;
}

#main table td {
  line-height: 1.4em;
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

#main table td:nth-of-type(even) {
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

#main table td:hover {
  background: #fafafa;
}

#main table p {
  margin: 0;
}

hr {
  display: block;
  height: 1px;
  margin: 40px 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-top: 1px solid #ddd;
  clear: both;
}

blockquote {
  width: 80%;
  font-size: 1.1em;
  line-height: 1.6em;
  font-style: italic;
  color: #fff;
  margin: 30px auto;
  padding: 40px 45px;
  background: #00747A;
}

blockquote span {
  font-style: normal;
}

blockquote a {
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}

blockquote a:hover {
  color: #fff;
  text-decoration: underline;
}

blockquote p {
  margin: 0; /* removes P tag auto-added by WP */
}

abbr[title] { border-bottom: 1px dotted; }

dfn { font-style: italic; }

mark { background: #ff0; color: #333; font-style: italic; font-weight: bold; }

pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

code {
  color: #b00;
}

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/*::-moz-selection { background: #C90062; color: #fff; text-shadow: none; }
::selection { background: #C90062; color: #fff; text-shadow: none; }*/

a, a:hover, a:focus, input:focus, textarea:focus, select:focus {
  /*outline: none;*/
}

p strong, p b, #main ul li strong, #main ul li b, #main ol li strong, #main ol li b {
  color: #000;
}

br.clearfix {
  clear: both;
}


/* =============================================================================
   Images
   ========================================================================== */

#wrapper img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
  border: 0;
}

a:hover img {
  zoom: 1;
  filter: alpha(opacity=75);
  opacity: 0.75;
}

#logo, #footerLogo {
  float: left;
  margin: 24px 0 0 0;
  border: 0;
  height: 60px;
  width: auto;
}

#footerLogo {
  margin: 10px 0 0 0;
  width: 25%;
  padding-right: 60px;
}

#footerLogo img {
  width: 100%;
  height: auto;
  margin: 20px 0 0;
}

#curvedBar {
  display: block;
  margin: 0 auto;
}

.centeredImg {
  display: block;
  margin: 0 auto 30px auto;
}

/*
#main img {
  display: block;
  margin: 30px auto;
}
*/

img {
  display: block;
  margin: 30px auto;
}

#main .tablepress img {
  max-width: none;
  width: auto;
}

#sidebarLeft img, .sidebarRight img {
  display: block;
  margin: 0 auto;
}

#main figure {
  display: block;
  margin: 30px auto;
}

#main .gallery-item {
  float: left;
  width: 48% !important;
  text-align: center;
  margin: 0 0 20px 0 !important;
  margin-top: 0 !important;
}

#main :nth-of-type(2n).gallery-item {
  float: right !important;
}

#main .gallery-item img {
  margin: 0 auto !important;
}

#main .gallery {
  margin: 0 0 30px 0 !important;
  overflow: hidden;
}

#main .gallery br {
  display: none;
}

#sidebarLeft figure, .sidebarRight figure {
  display: block;
  margin: 0 auto;
}

#main figure img, #sidebarLeft figure img, .sidebarRight figure img {
  margin: 0 auto;
}

#main figure figcaption {
  display: block;
  font-size: 0.85em;
  line-height: 1.3em;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: #00747A;
}


/* =============================================================================
   Video embeds
   ========================================================================== */

div.vid {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin: 40px 0;
  clear: both;
}

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


/* =============================================================================
   Forms
   ========================================================================== */

form {
  margin: 0;
  padding: 0;
  border: 0;
}

nav#secondaryMenu form {
  float: right;
}

form#searchLarge {
  display: block;
  text-align: center;
  position: relative;
  z-index: 5;
}

nav#secondaryMenu input {
  width: 170px;
  height: 30px;
  font: 300 0.8em 'Open Sans',helvetica,arial,sans-serif;
  margin: 10px 0 0 0;
  padding: 0 20px 0 34px;
  background: #fff url(images/searchBackgrSmall.svg) 9px 7px no-repeat;
  background-size: 18px 18px;
  border: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 100px;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

nav#secondaryMenu input:focus {
  width: 300px;
}

form#searchLarge input {
  display: inline-block;
  height: 55px;
  margin: 0;
}

form#searchLarge input[type=text] {
  width: 600px;
  font: 300 1em 'Open Sans',helvetica,arial,sans-serif;
  text-align: center;
  padding: 0 10px;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-border-top-left-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

form#searchLarge input[type=submit] {
  width: 55px;
  height: 55px;
  font: 300 1em 'Open Sans',helvetica,arial,sans-serif;
  color: #fff;
  margin: 0 0 0 -5px;
  padding: 0;
  background: #C90062 url(images/searchBackgr.svg) center no-repeat;
  border: 0;
  overflow: hidden;
  text-indent: -1000%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-border-radius: 0 6px 6px 0;
  -moz-border-radius: 0 6px 6px 0;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

#main label {
  display: block;
  margin: 10px 0;
}

#main input, #main textarea, #main div.css-search input.em-search-text, #main div.css-search input.em-search-geo {
  display: block;
  width: auto;
  font: 300 1em 'Open Sans',helvetica,arial,sans-serif;
  margin: 0;
  padding: 8px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  -ms-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  /*-webkit-appearance: none;
  -moz-appearance: none;*/
}

#main label input {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

/* Ninja Forms */
#main .field-wrap label {
  float: none;
}

#main .field-wrap ul {
  margin: 0;
}

  #main .field-wrap li {
    padding: 0;
  }

  #main .field-wrap ul label {
    margin: 0;
    padding: 5px 10px;
  }

  .nf-field-container{
    margin-bottom: 8px;
  }

  .nf-field-label label {
    margin: 0 !important;
  }
  

#main div.css-search input.em-search-text, #main div.css-search input.em-search-geo {
  width: 75%;
  padding: 12px 14px;
}

#main textarea {
  width: 70%;
  min-height: 150px;
  resize: none;
  line-height: 1.2em;
}

#main input:focus, #main textarea:focus, #main div.css-search input:focus.em-search-text, #main div.css-search input:focus.em-search-geo {
  background: #fff;
  border: 1px solid #C90062;
}

#main input[type=submit], #main input[type=button] {
  width: auto;
  font: 300 1em 'Open Sans',helvetica,arial,sans-serif;
  color: #fff;
  margin: 0 0 40px 0;
  padding: 10px 15px;
  background: #00747A;
  border: 0;
  cursor: pointer;
}

#main input[type=submit]:hover, #main input[type=submit]:focus, #main input[type=button]:hover, #main input[type=button]:focus {
  background: #C90062;
}

#main .grey-box form {
  margin: 0;
}

#main .grey-box input[type=text] {
  width: 80%;
  margin-right: 8px;
  background: #fff;
}

#main .grey-box input[type=text], #main .grey-box input[type=submit] {
  float: none;
  display: inline-block;
  margin-bottom: 0;
}

#main .white-box input[type=text], #main .white-box input[type=email], #main .white-box textarea,
#main .ninja-forms-form-wrap input[type=text], #main .ninja-forms-form-wrap input[type=email], #main .ninja-forms-form-wrap textarea {
  width: 100%;
}

/* NINJA FORM v3 HACKS */

.label-left .nf-after-field {
  margin-left: 0 !important;
}

.label-left .nf-field-label {
  width: 100% !important;
  text-align: left !important;
}

.label-above .nf-field-label {
  margin-bottom: 0 !important;
}

.label-left .nf-field-element li input {
  margin: 0 !important; 
}

#main .field-wrap ul label {
  float: left;
  padding: 0 !important;
}

#main .field-wrap li {
  padding: 0;
  line-height: 1.5;
}

#main .nf-field-element ul input {
  float: left;
  margin: 5px 6px 0 !important;
}

.label-left .nf-field-element {
  /*width: auto !important;*/
  width: 100%;
}

.label-left .nf-field-element {
  width: 100% !important;
}

.field-wrap>div input  {
  width: 100% !important;
}

.field-wrap {
  display: block !important;
}

.nf-saves-cont{
  display:none;
}

/* =============================================================================
   < 1280
   ========================================================================== */

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

#wrapper, .inside {
  width: 1024px;
}

nav#primaryMenu li {
  width: 130px;
}

nav#primaryMenu li:first-of-type {
  width: 120px;
}

nav#primaryMenu li:nth-of-type(3) {
  width: 120px;
}

nav#primaryMenu li:nth-of-type(5), nav#primaryMenu li:nth-of-type(6), nav#primaryMenu li:nth-of-type(7) {
  width: 70px;
}

nav#primaryMenu li:nth-of-type(4) {
  width: 135px;
}

#sidebarLeft {
  width: 200px;
}

.sidebarRight {
  width: 250px;
}

#main {
  width: 570px;
}

#main.wide {
  width: 750px;
}

} /* end */



/* =============================================================================
   < 1024
   ========================================================================== */

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

header {
  height: 620px;
}

header::before {
  bottom: 2rem;
}

header::after {
  bottom: 2rem;
}

.header__angle,
.footer__angle {
  display: none;
}

#wrapper, .inside  {
  width: 768px;
}

#homeNews, #homeFeatures {
  float: none;
  width: 100%;
  height: auto;
  min-height: 80px;
  margin: 0 0 30px 0;
  overflow: hidden;
}

#sidebarLeft {
  float: none;
  width: 100%;
}

#sidebarLeft {
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
}

.sidebarRight {
  float: none;
  width: 100%;
}

#main {
  float: none;
  width: 100%;
}

#main.wide {
  float: none;
  width: 100%;
}

nav#secondaryMenu ul.top-menu li:first-of-type a, /*.mobile-menu ul.top-menu li:first-of-type a*/ {
  display: none;
}

i.icon-menu {
  float: right;
  display: block;
  font-size: 2.5em;
  color: #C90062;
  margin: 5px 0 0 0;
  cursor: pointer;
}

i:hover.icon-menu, i.icon-menu.open {
  color: #00747A;
}

.icon-cancel-circled {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.3em;
  color: #fff;
  cursor: pointer;
}

:hover.icon-cancel-circled {
  color: #222;
}

.mobile-menu {
  position: absolute;
  top: 50px;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  margin: 0;
  padding: 0;
  background: #eff5f7;
  overflow: auto;
  z-index: 99;
}

.mobile-menu ul  {
  margin: 0;
  padding: 1rem 2rem;
  list-style: none;
}

.mobile-menu ul.top-menu {
  display: none;
  margin: 0;
}

.mobile-menu ul li a {
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: 600;
  color: #ba2b54;
  text-align: left;
  text-decoration: none;
  padding: 4px 0;
}

.mobile-menu ul.top-menu li a {
  font-size: 0.85em;
  padding: 3px 0;
}

.mobile-menu ul.top-menu li:last-child a {
  margin: 0 0 20px 0;
}

.mobile-menu ul li a:hover, .mobile-menu ul li a:active {
  text-decoration: underline;
}

nav#primaryMenu {
  height: auto;
  text-align: center;
  padding: 35px 0;
  overflow: hidden;
}

nav#primaryMenu.subPage {
  padding: 35px 0 0;
}

nav#primaryMenu ul {
  display: none;
}

#homePageTitle {
  padding: 340px 0 10px 0;
}

/*nav#primaryMenu li {
  display: inline-block;
  width: 50%;
  height: 1.3em;
  margin: 10px;
}

nav#primaryMenu li:first-of-type, nav#primaryMenu li:nth-of-type(3), nav#primaryMenu li:nth-of-type(4), nav#primaryMenu li:nth-of-type(5), nav#primaryMenu li:nth-of-type(6), nav#primaryMenu li:nth-of-type(7) {
  width: 50%;
  padding: 0;
}

nav#primaryMenu li a {
  color: #fff;
  padding: 9px 11px;
  background: #C90062;
  border-radius: 4px;
}

nav#primaryMenu li a:hover {
  color: #fff;
  background: #00747A
}*/

.toggle-sidebar {
  display: block;
  width: 100%;
  font-size: 0.8em;
  color: #fff;
  text-align: center;
  margin: 0 0 20px 0;
  padding: 8px 0;
  background: #00747A;
  border: 1px solid #00747A;
  border-radius: 4px;
  cursor: pointer;
}

:hover.toggle-sidebar {
  background: #C90062;
  border: 1px solid #C90062;
}

.toggle-sidebar.open {
  color: #999;
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
}

#sidebarLeft #secondaryMenu2 {
  display: none;
}

#sidebarLeft #secondaryMenu2.is-open {
  display: block;
}

footer {
  padding: 25px 0;
}

#footerLogo {

  display: block;
  float: none;
  margin: 0 auto 25px;
  width: 260px;
  padding-right: 0;

}

footer section#socialNetworks {

  width: 35%;

}

footer section#contactInfo {

  width: 32.5%;

}

footer section#SiteInfo {

  width: 32.5%;
  padding-left: 5%;

}

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

  #sidebarLeft #secondaryMenu2 {
    display: block;
  }

}

#logo {
  float: left;
  height: 60px;
  margin: 0;
}


#main .grey-box input[type=text] {
  display: block;
  width: 100%;
  margin: 0 0 8px 0;
}

.mobile-menu form {
  display: none;
}

.mobile-menu input {
  display: block;
  width: 40%;
  font: 400 0.9em 'Open Sans',helvetica,sans-serif;
  color: #444;
  margin: 20px auto 0 auto;
  padding: 10px 20px 10px 36px;
  background: #fff url(images/searchBackgrSmall.png) left no-repeat;
  border: 0;
  border-radius: 100px;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.mobile-menu input:focus {
  width: 80%;
}

} /* end */


/* =============================================================================
   < 768
   ========================================================================== */

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

header {
  /*background: #f4f4f4 url(images/background-noise.jpg) fixed top center;*/
}

header::before {
  width: 55%;
  opacity: .5;
}

header::after {
  width: 38%;
  background-size: 380px 212px;
}

.opportunityTile h2 {
  width: auto;
  display: block;
  text-align: center;
}

.opportunityTile p {
  display: block;
  width: auto;
  text-align: center;
}

.opportunityTile .button a {
  display: inline;
}

#wrapper, .inside  {
  width: 600px;
}

#main {
  min-height: 300px;
}

footer {
  padding: 15px 0;
}

footer section, footer section#contactInfo, footer section#socialNetworks, footer section#SiteInfo  {
  float: none;
  width: 100%;
  text-align: center;
}

.third {
  float: none;
  width: 100%;
  margin: 0 auto 30px auto;
}

.sevenhundred {
  width: 90%;
}

nav#secondaryMenu ul.top-menu li a {
  margin: 0 5px;
}

footer ul li a {
  width: 33.33%;
}

footer a i {
  margin: 25px 5px 0 5px;
  background: #fff;
  border-radius: 100px;
}

.social a i.icon-facebook, .social a:hover i.icon-facebook {
  background: #3b5998;
}

.social a i.icon-twitter, .social a:hover i.icon-twitter {
  background: #00aced;
}

.social a i.icon-gplus, .social a:hover i.icon-gplus {
  background: #dd4b39;
}

.social a i.icon-chat, .social a:hover i.icon-chat {
  background: #C90062;
}

.social a i.icon-print, .social a:hover i.icon-print {
  background: #00747A;
}

#footerLogo {
  float: none;
  display: block;
  margin: 10px auto 25px;
}

#homePageTitle {
  padding: 340px 20px 10px 20px;
}

#homePageTagline {
  width: 90%;
  margin: 0 auto 40px auto;
}

form#searchLarge input[type="text"] {
  width: 400px;
}

nav#secondaryMenu ul.top-menu {
  display: none;
}

.mobile-menu ul {
  margin: 0;
}

.mobile-menu ul.top-menu {
  display: block;
  margin: 0;
}

#langToggler a {
  float: right;
  width: auto;
  margin: 0 0 0 10px;
}

nav#secondaryMenu form {
  float: left;
}

nav#secondaryMenu input {
  width: 350px;
}

nav#secondaryMenu input:focus {
  width: 350px;
}

} /* end */


/* =============================================================================
   < 600
   ========================================================================== */

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

header {
  /*background: #f4f4f4 url(images/homeBanner-small.jpg) center;*/
  height: 600px;
}

header::before {
  width: auto;
  right: .5rem;
  background-position: center;
  bottom: 1.25rem;
}

header::after {
  display: none;
}

#wrapper, .inside  {
  width: 480px;
}

.icon-cancel-circled {
  top: 15px;
  right: 20px;
  font-size: 2em;
}

.mobile-menu ul.top-menu {
  margin: 0;
}

.mobile-menu ul.top-menu li:last-child a {
  margin: 0;
}

.mobile-menu ul li a {
  padding: 5px 0;
}

.mobile-menu ul.top-menu li a {
  padding: 3px 0;
}


.social span {
  display: block;
  width: 100%;
  line-height: 1em;
  margin: 0 0 12px 0;
}

.postMeta, .featuredIcon {
  float: right;
  margin: 10px 0 0 20px 20px;
}

#back-top {
  bottom: -999px;
}

blockquote {
  width: 90%;
}

#main .gallery-item {
  float: none;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  margin-top: 0 !important;
}

#main :nth-of-type(2n).gallery-item {
  float: none !important;
}

#main input, #main textarea {
  width: 100%;
}

nav#secondaryMenu input {
  width: 200px;
}

nav#secondaryMenu input:focus {
  width: 200px;
}

.mobile-menu input {
  margin: 10px auto 0 auto;
  padding: 6px 12px 6px 36px;
}

} /* end */


/* =============================================================================
   < 480
   ========================================================================== */

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

#wrapper, .inside  {
  width: 300px;
}

#homeNews, #homeFeatures {
  width: 300px;
}

.icon-cancel-circled {
  top: 10px;
  right: 15px;
  font-size: 1.8em;
}

#homePageTitle {
  font-size: 1.8em;
  padding-left: 1rem;
  padding-right: 1rem;
}

#homePageTagline {
  font-size: 1.1em;
}

.pagination a {
  margin: 5px 0;
}

.postMeta, .featuredIcon {
  margin: 10px 0 20px 20px;
}

blockquote {
  width: 95%;
}

#logo {
  width: 200px;
}

nav#secondaryMenu input {
  width: 175px;
}

nav#secondaryMenu input:focus {
  width: 175px;
}

form#searchLarge input[type="text"] {
  width: 250px;
}

} /* end */



/**
 * Responsive tables.
 */
.no-js .table--js {
  display: none;
}

.table--responsive {
  border: 0 !important;
}

  .table--responsive .table__head {
    display: none;
  }

    .table--responsive .table__heading {
      position: relative;
      padding: 12px 24px 12px 12px;

      color: #fff !important;
      text-align: left !important;
      background-color: #00747A !important;

      cursor: pointer;
    }

    .table--responsive .table__heading:hover {
      background-color: #006454 !important;
    }

    .table--responsive .table__heading.is-sorted-asc::after,
    .table--responsive .table__heading.is-sorted-desc::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 5px;

      width: 0;
      height: 0;

      border: 6px solid transparent;
    }

    .table--responsive .table__heading.is-sorted-asc::after {
      margin-top: -3px;
      border-top-color: #fff;
    }

    .table--responsive .table__heading.is-sorted-desc::after {
      margin-top: -9px;
      border-bottom-color: #fff;
    }

  .table--responsive .table__row,
  .table--responsive .table__cell {
    display: block;
  }

  .table--responsive .table__row {
    margin: 1rem 0;
    border: 1px solid #ddd !important;
  }

  .table--responsive .table__row:nth-child(2n) .table__cell {
    background-color: #fafafa;
  }

  .table--responsive .table__row.is-hidden {
    display: none;
  }

    .table--responsive .table__cell {
      border: 0 !important;
    }

    .table--responsive .table__row--odd .table__cell {
      background-color: #fafafa;
    }

    .table--responsive .table__cell::before {
      content: attr(data-heading);
      display: block;
      font-weight: bold;
    }

      .table__label {
        display: none;
      }

      .no-js .table__label {
        display: block;
      }

      .no-js .js-add-resource {
        display: none;
      }

.form__element {
  margin: 0 !important;
}
#main input.form__element--resources {width:5em;}

.no-js .filter-label,
.no-js .filter-input {
  display: none !important;
}


/**
 * Buttons.
 */
.js-add-resource,
.js-remove-resource {
  width: auto;
  /*font: 300 1em 'Open Sans',helvetica,arial,sans-serif;*/
  color: #fff;
  /*margin: 0 0 40px 0;*/
  padding: 10px 15px;
  background: #00747A;
  border: 0;
  cursor: pointer;
}

.js-add-resource:hover,
.js-add-resource:focus,
.js-remove-resource:hover,
.js-remove-resource:focus {
  background: #C90062;
}

#ninja_forms_field_310_div_wrap {
  display: none;
}

.no-js #ninja_forms_field_310_div_wrap {
  display: block;
}

@media screen and (min-width: 40em) {

  .table--responsive {
    border: 1px solid #ddd !important;
  }

    .table--responsive .table__head {
      display: table-header-group;
    }

      .table--responsive .table__head .table__heading {
        border: 1px solid #00747A !important;
      }

    .table--responsive .table__row {
      display: table-row;
    }

    .table--responsive .table__cell {
      display: table-cell;
      border-left: 1px solid #ddd !important;
    }

    .table--responsive .table__cell--size {
      white-space: nowrap;
    }

    .table--responsive .table__cell:first-child {
      border-left: 0 !important;
    }

    .table--responsive .table__cell::before {
      display: none;
    }

}


/**
 * Ninja forms messages.
 */
.ninja-forms-error-msg {
  margin: 20px 0;
  padding: 15px;

  border-color: #9a2b30;
  color: #9a2b30;
  background-color: #f3dedf;
}

.ninja-forms-req-symbol {
  color: #e00 !important;
}


/**
 * SVG icons
 */
.icon {
  display: inline-block;
  vertical-align: middle;

  width: 3em;
  height: 3em;

  padding: 0.5em;

  line-height: 1;

  fill: #C90062;
}

.icon:hover,
.icon:focus {
  fill: #00747A
}


/* Circle containing icons */
.icon-circle {
  display: block;

  width: 150px;
  height: 150px;

  margin: 0 auto 20px auto;

  padding: 40px;

  border: 2px solid #ddd;
  border-radius: 200px;
}

.icon-circle:hover,
.icon-circle:focus {
  border-color: #C90062;
}

.icon-circle:hover .icon,
.icon-circle:focus .icon {
  fill: #00747A;
}


/* Menu icon */
.icon--menu {
  display: none;
  cursor: pointer;
}


/* Cancel icon */
.icon--cancel {
  cursor: pointer;
  fill: #fff;

  position: absolute;
  top: 20px;
  right: 25px;
}

@media screen and (min-width: 768px) {

  .icon--cancel {
    fill: #415963;
  }

}

.icon--cancel:hover,
.icon--cancel:focus {
  fill: #00747A;
}


/* Medkit icon */
#homeQuicklinks .icon--medkit,
#homeQuicklinks .icon--clipboard,
#homeQuicklinks .icon--chat {
  width: 4em;
  height: 4em;

  padding: 0;
}

.icon-wrap {
  display: inline-block;

  width: 2.5em;
  height: 2.5em;

  padding: .25em;

}

footer .icon-wrap {
  margin: 45px 5px 0 5px;
}

.icon-wrap:hover,
.icon-wrap:focus {
  opacity: .8;
}

.icon-wrap .icon {
  width: 2.5em;
  height: 2.5em;

  padding: .25em;

  fill: #fff;
}

.icon-wrap--facebook .icon {
  fill: #3b5998;
}

.icon-wrap--twitter .icon {
  fill: #00aced;
}

.icon-wrap--print .icon {
  fill: #00747A;
}

.icon--warning {
  fill: #fff;
}
.icon--warning:hover,
.icon--warning:focus {
  fill: #fff;
}

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

  .icon--menu {
    display: block;
    float: right;

    margin-top: 10px;
  }

}



/**
 * Mobile menu adjustments.
 */
.menu-top-menu-container {
  background-color: #415963;
}

.mobile-menu .menu-top-menu-container li a {
  color: #fff;
}



/**
 * Skip link.
 */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;

  color: #fff;

  background-color: #C90062;
}

.skip-link:focus {
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  z-index: 99999;

  padding: 1rem 2rem;
}

/**
* Image Alignments
**/
img.alignright { float: right; margin: 0.5em 0 1em 2em; }
img.alignleft { float: left; margin: 0.5em 2em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-top:1em; margin-bottom:1em; }
.alignright { float: right; margin: 0.5em 0 1em 2em;}
.alignleft { float: left; margin: 0.5em 2em 1em 0;}
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
div.wp-caption p {font-weight:bold; margin-bottom: 0;}
div.wp-caption img { margin-top: 0.5em; margin-bottom:0.5em; }

@media screen and (max-width: 480px) {
  img {width: 100%; height: auto;}
}

/**
 * Accordion
 */

.accordion-group {

  margin-bottom: 2rem;
  margin-top: 2rem;

}

.accordion-button-ctn {
  text-align: right;
}

.expand-all, .close-all {
  display: inline-block;
  cursor: pointer;
}

.expand-all {
  margin-right: 20px;
}

.expand-all:hover, .close-all:hover {
  text-decoration: underline;
}

.accordion {
  position: relative;
}

.accordion h2 {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  padding: 0 20px 0 0;
  border: none;
  background-color: transparent;
  text-align: left;
  color: #C90062;
  font-weight: 300;
  line-height: 1.3em;
  font-size: 1.8em;
  cursor: pointer;
  outline: none;
}

.accordion h2::after {
  content: '-';
  position: absolute;
  right: 0;
}

.accordion h2:focus, .accordion h2:hover {
  cursor: pointer;
}

.accordion-list-item {
  padding-bottom: 5px;
}

.accordion-list-item-content {
  margin-bottom: 15px;
  display: none;
}

.accordion-list-item-content > div {
  border: 1px solid transparent;
}

.accordion .is-closed::after {
  content: '+';
}

#main .accordion .accordion-list-item-content ul {
  margin-left: 40px;
}

.accordion-list-item-content p {
  margin-left: 0px;
}



/**
 * Footer.
 */
.print-footer {
  display: none;
}



/**
 * Community Drug
 */
.skip-link--community-drug {

  background-color: rgb(225, 5, 140);

}

.primary-menu--community-drug .logo-link {

  width: 300px;
  height: 75px;
  position: relative;
  z-index: 99;
  display: inline-block;
  float: left;

}

.primary-menu--community-drug #logo {

  height: 75px;
  max-height: 75px;
  width: auto;
  margin: 7px 0 0;

}

nav#primaryMenu.primary-menu--community-drug {
  background: none;
  padding: 20px 0 0;
  height: 144px;
  z-index: auto;
}

nav#primaryMenu.primary-menu--community-drug li {

  display: inline-block;
  width: auto;

}

nav#primaryMenu.primary-menu--community-drug li,
nav#primaryMenu.primary-menu--community-drug li:nth-of-type(3),
nav#primaryMenu.primary-menu--community-drug li:nth-of-type(3) {

  margin-right: 0;
  margin-left: 2em;
  padding: 35px 0 0;

}

nav#primaryMenu.primary-menu--community-drug li a {

  color: rgb(225, 5, 140);
  font-family: "Museo Slab W01_500", 'Open Sans', helvetica, arial, sans-serif;

}

nav#primaryMenu.primary-menu--community-drug li a:focus,
nav#primaryMenu.primary-menu--community-drug li a:hover {

  color: rgb(129, 41, 144);

}

nav#secondaryMenu.secondary-menu--community-drug {

  height: 48px;
  background: #e4e4e4 url(images/community-drug/secondaryNavBackgr.png);
  position: relative;

}

nav#secondaryMenu.secondary-menu--community-drug::before {

  content: '';
  height: 172px;
  width: 678px;
  background: url(images/community-drug/cornerArtwork.png);
  background-size: 678px 172px;
  background-position: top right;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

}

.secondary-menu--community-drug #langToggler a {
  line-height: 48px;
  color: #444;
  font-family: "Museo Slab W01_500", 'Open Sans', helvetica, arial, sans-serif;
  font-size: .9em;
}

.mobile-menu--drug-program {

  top: 48px;
  font-family: "Museo Slab W01_500", 'Open Sans', helvetica, arial, sans-serif;
  font-size: .9em;
  z-index: 100;

}

.mobile-menu--drug-program .mobile-menu__wrapper  {

  max-width: 812px;
  position: relative;
  margin: 0 auto;

}

.mobile-menu--drug-program ul {

  padding-top: 1.5rem;

}

.mobile-menu--drug-program ul li a{

  font-weight: 500;

}

.mobile-menu--drug-program .icon--cancel {

  right: 15px;
  fill: rgb(129, 41, 144);

}

.mobile-menu--drug-program .icon--cancel:focus,
.mobile-menu--drug-program .icon--cancel:hover {

  fill: rgb(225, 5, 140);

}

.wrapper--community-drug h1,
.wrapper--community-drug h2,
.wrapper--community-drug h3,
.wrapper--community-drug h4,
.wrapper--community-drug h5,
.wrapper--community-drug h6 {

  color: rgb(129, 41, 144);

}

.wrapper--community-drug a,
.wrapper--community-drug p a,
.wrapper--community-drug #main ul#breadcrumbs li a,
.wrapper--community-drug #main .breadcrumb a {

  color: rgb(225, 5, 140);

}

.wrapper--community-drug .pagination a,
.wrapper--community-drug a.more-link {
  color: #fff;
  background: rgb(129, 41, 144);
}

.wrapper--community-drug .pagination a:hover,
.wrapper--community-drug .pagination a:focus,
.wrapper--community-drug a.more-link:hover,
.wrapper--community-drug a.more-link:focus {
  color: #fff;
  background: #C90062;
}

.wrapper--community-drug #main ul li a,
.wrapper--community-drug #main ol li a,
.wrapper--community-drug .sidebarRight ul li a {
  color: rgb(166, 32, 108);
}

.wrapper--community-drug a:focus,
.wrapper--community-drug a:hover,
.wrapper--community-drug p a:focus,
.wrapper--community-drug p a:hover,
.wrapper--community-drug #main ul#breadcrumbs li a:focus,
.wrapper--community-drug #main ul#breadcrumbs li a:hover,
.wrapper--community-drug #main ul li a:focus,
.wrapper--community-drug #main ol li a:focus,
.wrapper--community-drug #main ul li a:hover,
.wrapper--community-drug #main ol li a:hover,
.wrapper--community-drug #main .breadcrumb a:focus,
.wrapper--community-drug #main .breadcrumb a:hover,
.wrapper--community-drug .sidebarRight ul li a:focus,
.wrapper--community-drug .sidebarRight ul li a :hover {

  color: rgb(129, 41, 144);

}

.wrapper--community-drug #sidebarLeft ul li a {

  color: #666;

}

.wrapper--community-drug #sidebarLeft a.back-side {

  background: rgb(129, 41, 144);

}

.wrapper--community-drug #sidebarLeft a.back-side:focus,
.wrapper--community-drug #sidebarLeft a.back-side:hover {

  background: rgb(225, 5, 140);

}

.wrapper--community-drug #sidebarLeft ul li.current_page_item a {

  background: #e7e7e7;

}

.wrapper--community-drug #sidebarLeft ul li.current_page_item a:focus,
.wrapper--community-drug #sidebarLeft ul li.current_page_item a:hover {

  background: #444;

}

/*.wrapper--community-drug #main {

  margin-left: 216px;

}*/

.wrapper--community-drug #sidebarLeft + #main {

  margin-left: 0;

}

.wrapper--community-drug .toggle-sidebar {

  background: rgb(129, 41, 144);
  border-color: rgb(129, 41, 144);

}

.wrapper--community-drug .toggle-sidebar.open {
    color: #999;
    background: #f4f4f4;
    border-color: #e0e0e0;
}

/* 
  Modified entire footer on 2024/11/04 to resolve broken alignment and mobile issues (Nicholas)
  Changes:
  - Removed individual styling classes and now control sizing / padding using section
  - Removed redudant code 
  - Fixed outstanding alignment issues / sizing
  - Added comments for readability
*/

/* 
  Footer Styling for the Community Drug section 
  Provides layout, alignment, and responsive behavior 
*/
.footer--community-drug {
  font-family: "Museo Slab W01_300", 'Open Sans', helvetica, arial, sans-serif;
  background: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* 
  Container for the footer content 
  Centers items and ensures responsive width 
*/
.footer--community-drug .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; 
  padding: 0 15px; 
}

/* 
  Wrapper for grouping footer sections 
  Allows wrapping and centers content 
*/
.footer--community-drug .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  width: 100%;
}

/* 
  General styles for all footer sections 
  Controls sizing, alignment, and padding 
*/
.footer--community-drug section {
  flex: 1 1 200px;
  max-width: 300px; 
  margin: 5px;
  text-align: center; 
  padding: 10px; 
}

/* 
  Specific styles for the footer logo 
  Ensures responsive sizing while maintaining aspect ratio 
*/
.footer--community-drug section#footerLogo img {
  width: 80%; 
  max-width: 300px; 
  height: auto; 
}

/* 
  Specific styles for the GSPS logo 
  Ensures responsive sizing while maintaining aspect ratio 
*/
.footer--community-drug section#gspsLogo img {
  width: 60%; 
  max-width: 200px; 
  height: auto; 
}

/* 
  Styles for contact and GSPS info sections 
  Aligns text and controls width and font size 
*/
.footer--community-drug section#contactInfo,
.footer--community-drug section#gspsInfo {
  text-align: left;
  width: calc(30% - 190px); /* Calculate width based on the layout */
  padding-right: 45px;
  font-size: .85em;
}

/* 
  Heading styles for contact info sections 
  Ensures consistent font weight and spacing 
*/
.footer--community-drug section#contactInfo h2,
.footer--community-drug section#gspsInfo h2 {
  font-weight: 900;
  margin-bottom: 0;
  line-height: 1em;
}

/* 
  Styles for links in contact info sections 
  Controls display and spacing for links 
*/
.footer--community-drug section#contactInfo a,
.footer--community-drug section#gspsInfo a {
  width: auto;
  float: none;
  display: inline;
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 1em;
}
/* 
  Responsive adjustments for smaller screens 
  Modifies layout and spacing for mobile devices 
*/
@media screen and (max-width: 768px) {
  /* 
    Adjusts wrapper layout for mobile (vertical  view)
    Stacks items vertically and centers them 
  */
  .footer--community-drug .wrapper {
    flex-direction: column;
    align-items: center; 
  }

  /* 
    Modifies section behavior on mobile 
    Ensures sections fill available width 
  */
  .footer--community-drug section {
    flex: 1; /* Allow sections to take available space */
    padding: 0 15px; /* Optional: add side padding if needed */
  }  

  /* 
    Adjusts width for contact info sections on mobile 
    Ensures full width layout 
  */
  .footer--community-drug section#contactInfo,
  .footer--community-drug section#gspsInfo {
    width: 100%;
    padding-right: 0;
  }

  /* 
    Adjusts heading margins for better spacing on mobile 
  */
  .footer--community-drug section#contactInfo h2,
  .footer--community-drug section#gspsInfo h2 {
    margin-bottom: 5px;
  }
  
}


.footer--community-drug a:focus,
.footer--community-drug a:hover,
.footer--community-drug section#contactInfo a:focus,
.footer--community-drug section#contactInfo a:hover {

  color: rgb(225, 5, 140);

}

.footer--community-drug .copyright {

  float: none;
  clear: both;
  color: #fff;
  font-size: .75em;
  text-align: center;
  color: #b9b9b9;
  padding-top: 30px;
  /*padding-right: 100px;*/
  /*margin-bottom: -20px;*/

}

#back-top.back-top--community-drug a {

  background-color: rgb(129, 41, 144);

}

#back-top.back-top--community-drug a:focus,
#back-top.back-top--community-drug a:hover {

  background-color: rgb(225, 5, 140);

}

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

  nav#secondaryMenu.secondary-menu--community-drug::before {

    width: 628px;

  }

}



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


  nav#primaryMenu.primary-menu--community-drug {

    padding-top: 1rem;

  }

  nav#primaryMenu.primary-menu--community-drug .icon {

    fill: rgb(129, 41, 144);

  }

  nav#primaryMenu.primary-menu--community-drug .icon:focus,
  nav#primaryMenu.primary-menu--community-drug .icon:hover {

    fill: rgb(225, 5, 140);

  }

  nav#secondaryMenu.secondary-menu--community-drug {

    background: rgb(129, 41, 144);

  }

  nav#secondaryMenu.secondary-menu--community-drug::before {

    display: none;

  }

  .secondary-menu--community-drug #langToggler a {

    color: rgb(255, 255, 255);

  }


}


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

  .primary-menu--community-drug .logo-link {

    width: 250px;
    height: 62px;

  }

  .mobile-menu--drug-program .mobile-menu__wrapper  {

    max-width: 340px;

  }

}

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

  .primary-menu--community-drug #logo {
    height: 60px;
  }

}