/* @file global.styles  Styles you add here will load for all device sizes, they are "global", as opposed to "responsive" styles, which only load for a given breakpoint (media query) that you set in theme settings. See the README for more details.   How to use this file: --------------------  There are many empty selectors and some basic styles to act as a guide. Nothing is set in stone and you can change anything - even delete all of it and start with your own clean slate.  To FORCE PRINT all selectors you can search and replace a single { (opening curly brace) and insert an empty comment. This is very useful in conjuction with FireSass: https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/  See global.base also which includes normalize.css and some additional helper classes and base styles. */
/* ============================================================================= Base ========================================================================== */
/* To preserve theme settings never apply font properties to the HTML element. This is critically important if you are using the Responsive JavaScript feature as this relies on being able to set a pseudo font family on the HTML element. If you need to set default font properties of any kind use the BODY element as these can be overridden using font theme settings. */
html { background: #fff; }

body { padding: 0px 0 50px 0; font-size: 17px; min-height: 100%; font-family: "pt-serif", "Trebuchet MS", "Helvetica Neue", Arial, Helvetica, sans-serif; font-weight: 400; font-style: normal; line-height: 27px; }

/* ============================================================================= HTML Elements ========================================================================== */
a, a:visited { font-weight: 400; font-style: normal; font-size: 18px; line-height: 26px; color: #3366cc; }

ul { margin: 10px 20px; padding: 10px 20px; }

li { font-weight: 400; font-style: normal; font-size: 16px; line-height: 26px; }
li a.active { font-weight: bold; color: #3366cc; }

pre, code, tt, samp, kbd, var { font-family: Consolas, Monaco, "Courier New", Courier, monospace, sans-serif; }

.masonry-item { width: 120px; background-color: #fff; border: 1px solid #DDDDDD; margin: 0.1%; padding: 0.2%; }

/* ============================================================================= Wrappers ========================================================================== */
/* Outer wrappers: - #page-wrapper: body > #page-wrapper - #page: body > #page-wrapper > #page - .container: body > #page-wrapper > #page.container  The .container class holds the page width value from theme settings. You can style the .container class but do not add width such as border, padding, margins etc. */
.tb-megamenu { background-color: #fff; /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; z-index: 1; background-color: rgba(255, 255, 255, 0.7); }
.tb-megamenu .dropdown-menu .active > a, .tb-megamenu .dropdown-menu .active > a:hover { background-color: transparent; background-image: none; }
.tb-megamenu .dropdown-menu .active > a:hover { background-color: transparent; }
.tb-megamenu .caret { display: none; border-top: 0px solid #000; border-right: 0px solid transparent; border-left: 0px solid transparent; }
.tb-megamenu .mega-inner { padding: 0px; }
.tb-megamenu .mega > .mega-dropdown-menu { min-width: 320px; margin-top: 5px; }
.tb-megamenu .nav > li > a { border-right: 0px solid #222; padding: 5px 10px; color: #000; }
.tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > a:hover, .tb-megamenu .nav li.dropdown.open > .dropdown-toggle { background-color: transparent; color: #000; }
.tb-megamenu .nav li.level-1 { border-bottom: 6px solid transparent; padding-top: 5px; }
.tb-megamenu .nav li.level-1:hover { border-bottom: 6px solid #000; }
.tb-megamenu .nav li.level-1 a:hover { color: #000; background-color: transparent; }
.tb-megamenu .nav li.level-1 li.level-2 a:focus, .tb-megamenu .nav li.level-1 li.level-2 a:hover { color: #fff; }
.tb-megamenu .nav li.level-1 .active { color: #000; }
.tb-megamenu .nav > li.level-1 a:focus, .tb-megamenu .nav > li.level-1 a:hover { color: #000; }
.tb-megamenu .dropdown-menu { background-color: rgba(0, 0, 0, 0.97); border: 0px solid #333; border-bottom: 0px solid #000; padding: 8px 10px 5px 10px; }
.tb-megamenu .dropdown-menu li > a { border-bottom: 1px solid #B8B6B6; border-top: 0px solid #B8B6B6; color: #B8B6B6; }
.tb-megamenu .dropdown-menu li > a:hover, .tb-megamenu .dropdown-menu .dropdown-menu li > a:focus, .tb-megamenu .dropdown-menu .dropdown-submenu:hover > a { color: #fff; }
.tb-megamenu .dropdown-menu .dropdown-submenu:hover > a { color: #fff; }

.not-front { background: url(../images/header/header-bkg.png); background-repeat: repeat-x; background-size: 10.5em; }
.not-front #main-content { background-color: #fff; padding: 20px; /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; }
.not-front #main-content .wrapper { padding: 20px 0px; }

.front { background: url(../images/header/header-bkg.png); background-repeat: repeat-x; }
.front section .wrapper { padding: 30px 0px; }
.front #home-hifa-vision { /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; background-color: #fff; }
.front #home-hifa-vision #main-text { padding-top: 30px; padding: 20px;  }
.front #home-hifa-vision #main-text-sub { padding: 30px 0px 10px 0px; margin: 0px 200px; color: #000; }
.front #home-hifa-vision #main-text-sub .heading { font-size: 36px; line-height: 44px; margin: 0px 0px .37em 0px; font-weight: 700; font-style: normal; font-family: "PT Sans"; }
.front #home-read-more { /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; background-color: #dcefed; }
.front #home-read-more .wrapper { padding: 60px 0px; }
.front #home-read-more #main-text .heading { font-size: 36px; line-height: 44px; margin: 0px 0px .37em 0px; font-weight: 700; font-style: normal; font-family: "PT Sans"; }
.front #home-read-more #main-text-sub { padding: 30px 0px 0px 0px; margin: 0px 0px; color: #999999; }
.front #home-read-more #read-more { padding: 5px 30px; background: #000; display: inline-block; border-radius: 5px; -moz-border-radius: 5px; color: #fff; margin-top: 20px; clear: both; }
.front #home-read-more #read-more a { color: #fff; }
.front #home-stats { /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; background-color: #fff; }
.front #home-stats .stats { border-left: 10px solid #4062A8; line-height: 40px; height: 70px; width: 220px; display: block; float: left; }
.front #home-stats .stat-num { font-size: 40px; font-weight: bold; color: #484C4B; margin-left: 10px; }
.front #home-stats .stat-text { margin-left: 10px; }
.front #home-stats #stats-more-info { clear: left; padding: 30px 0px 0px 0px; color: #7C7F7E; }

header #home-main-header { background-color: transparent; }
header #home-main-header h1 { color: #fff; font-size: 2em; margin: 0 0; padding: 2.0em 0.25em 0.25em 0em; line-height: 1.3em; }
header #home-main-header #main-text { width: 50%; background-color: transparent; float: left; }
header #home-main-header #main-text #cta-links { margin-top: 2.0em; }
header #home-main-header #main-text #cta-links .cta { background-color: #006D3E; padding: 5px 30px; color: #fff; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; margin-right: 20px; }
header #home-main-header #main-text #cta-links .cta a { border: 0px; text-decoration: none; }
header #home-main-header #header-img { float: right; position: relative; background: url(../images/header/header-img-trans.gif); background-size: 100%; height: 26.7em; width: 50%; background-color: transparent; background-repeat: no-repeat; float: right; }


/* NOT IN SASS YET EVU CODE */

#home-news {
    background-color: #e5e5e5; 
    margin: 0 -9999rem;
    padding: 0rem 9999rem;
    min-height: 300px;
}

#home-news  .views-field-body {width: 60%;float: left;     }
#home-news .wrapper {padding-left: 20px; padding-right: 20px;}
#home-news h2 {font-size: 2em;}
#modal-content  a {font-size: 100%;}
.ctools-modal-content  #modal-title {font-size: 24px;}
#modal-content, #modal-content a {font-size: 14px;}
.front #home-stats .wrapper {padding-left: 10px; padding-right: 10px;}
#home-stats .view-home-so-carousel {padding: 10px;}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
text-align: center;
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  background-color: #fefefe;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  text-align: center;
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #006D3E;
  color: white;
}

.modal-body {padding: 42px 16px 32px 16px;}
.modal-body .survey-link {font-size: 24px; font-weight: bold;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}






.front section .block { max-width: 960px; }

#page.container { max-width: 960px; }

/* Wraps all header elements - branding and .region-header */
/* Wraps the sidebars the content column */
/* Main content column wrapper */
/* Wraps the content region, avoid applying styles to this wrapper, its used mainly for position and invisible gutters and can be problematic to style */
/* following is to help us get full width bars  - see https://css-tricks.com/full-browser-width-bars/*/
html, body { overflow-x: hidden; }

/* Footer wrapper */
footer { background-color: #006d3e; }

footer #footer-columns { background-color: #006d3e; color: #fff; /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; display: block; }
footer #footer-columns a { color: #fff; }
footer #footer-columns .footer-block { float: left; text-align: left; display: block; overflow: auto; padding: 20px; margin: 0px; }
footer #footer-columns .footer-block .date-display-single { color: #cccccc; font-size: 14px; }
footer #footer-columns #footer-tweets { width: 28%; }
footer #footer-columns #footer-news { width: 28%; }
footer #footer-columns #footer-rss { width: 30%; }

#f-final { background-color: #000; /* add back negative margin value for full width bars*/ margin: 0 -9999rem; padding: 0rem 9999rem; color: #fff; }
#f-final .container { padding: 20px 0px; }
#f-final .row { clear: left; }
#f-final .title, #f-final .rights { clear: both; font-weight: bold; font-size: 120%; }
#f-final .title { position: relative; }
#f-final .links a { color: #fff; }
.social-links .social-icon { float: left; }
.social-links #ftr-dgroups span.icon-img, #f-final #footer-socials.social-links #ftr-dgroups span.icon-img-dgroups { background: url(../images/clean-icon-set/dgroups.jpg); background-size: 11.2em; height: 2.8em; width: 11.2em; margin-right: 2px; background-repeat: no-repeat; background-position: left; display: block; float: left; display: block; }
.social-links #ftr-twitter span.icon-img { background: url(../images/clean-icon-set/twitter.png); background-size: 3.0em; height: 3.5em; width: 3.0em; background-repeat: no-repeat; background-position: left; display: block; float: left; }
.social-links #ftr-linkedin span.icon-img { background: url(../images/clean-icon-set/linkedin.png); background-size: 2.7em; height: 3.5em; width: 2.7em; background-repeat: no-repeat; background-position: left; display: block; float: left; }
.social-links #ftr-rss span.icon-img { background: url(../images/clean-icon-set/rss.png); background-size: 3.0em; height: 3.5em; width: 3.0em; background-repeat: no-repeat; background-position: left; display: block; float: left; }
.social-links #ftr-facebook span.icon-img { background: url(../images/clean-icon-set/facebook.png); background-size: 3.0em; height: 3.6em; width: 3.0em; background-repeat: no-repeat; background-position: left; display: block; float: left; }
.social-links span.icon-img { top: -5px; position: relative; margin-left: 6px; }

/* Panels may need additional margin wrangling when in the $content region */
/* Full Width Wrappers These are used in the optional page--full-width-wrappers.tpl.php template. All have internal .container classes. In the full width wrapper template the .container classes set the width or max-width - you can style this but never add any width/margin/padding/borders etc to .container */
/* Wraps the leaderboard */
/* Wraps the header */
#header-wrapper { /* Debug styles, is this working */ background: rgba(255, 192, 203, 0.5); }

/* Wraps the nav elements */
/* Wraps breadcrumb */
.easy-breadcrumb { background: transparent; padding: 30px 0px 0px 0px; }

/* Wraps messages and help */
/* Wraps the secondary content/preface region */
/* Wraps the main content column */
/* Wraps the tertiary content/postfix region */
/* Footer wrapper */
#footer-wrapper { /* Debug styles, is this working? */ background: rgba(255, 192, 203, 0.5); }

/* ============================================================================= Branding ========================================================================== */
/* Wraps all the branding elements, logo, name and slogan */
#branding-logo { float: left; width: 468px; }
#branding-logo .logo-link { float: left; margin-right: 25px; }
#branding-logo .logo-link img { width: 96px; height: 94px; }
#branding-logo .logo-title { position: relative; top: 38px; float: right; }
#branding-logo .logo-title img { width: 345px; height: 20px; }

#head-right-col { height: 101px; float: right; width: 472px; }
#head-right-col #head-icon-links { width: 470px; margin-top: 30px; }
#head-right-col .expand-box-icon { width: 51px; height: 51px; display: block; position: static; top: -1px; font-family: verdana; font-size: 22px; padding: 0; margin: 0; border: 0; outline: 0; line-height: 50px; text-align: center; cursor: pointer; color: #dcddd8; background: url("../images/header/bar-icon.png") 0 0; }
#head-right-col .expand-box-icon .icon-img { width: 51px; height: 51px; display: block; z-index: 1001; position: absolute; }
#head-right-col #search-jq .expand-box-icon .icon-img { position: absolute; top: 13px; left: 13px; background: url("../images/header/search-icon.png") 0 0; background-repeat: no-repeat; }
#head-right-col #phone-jq .expand-box-icon .icon-img { top: 10px; left: 11px; background: url("../images/header/phone-icon.png") 0 0; background-repeat: no-repeat; }
#head-right-col #phone-jq .expand-input { top: 10px; position: relative; color: #fff; }
#head-right-col #www-jq .expand-box-icon .icon-img { top: 12px; left: 12px; background: url("../images/header/www-icon.png") 0 0; background-repeat: no-repeat; }
#head-right-col #www-jq .expand-input { top: 10px; position: relative; color: #fff; }
#head-right-col #www-jq .expand-input a { color: #fff; }
#head-right-col .expand-box { display: block; margin-left: 30px; position: static; float: right; }
#head-right-col .expand-box .expand-closed .expand-input, #head-right-col .expand-box .expand-input { display: none; }
#head-right-col .expand-box .expand-open .expand-input { display: block; }
#head-right-col .expand-box .expand-container { position: relative; min-width: 50px; width: 0%; height: 50px; float: right; overflow: hidden; -webkit-transition: width 0.3s; -moz-transition: width 0.3s; -ms-transition: width 0.3s; -o-transition: width 0.3s; transition: width 0.3s; }
#head-right-col .expand-box .expand-input { top: 0; right: 0; border: 0; outline: 0; background: transparent; width: 100%; height: 50px; margin: 0; padding: 0px 55px 0px 50px; font-size: 20px; color: #fff; }
#head-right-col .expand-box .expand-input ::-webkit-input-placeholder { color: #d3d3d3; }
#head-right-col .expand-box .expand-input :-moz-placeholder { color: #d3d3d3; }
#head-right-col .expand-box .expand-input ::-moz-placeholder { color: #d3d3d3; }
#head-right-col .expand-box .expand-input :-ms-input-placeholder { color: #d3d3d3; }
#head-right-col .expand-box .expand-box-submit { width: 51px; height: 51px; display: block; position: absolute; top: -1px; font-family: verdana; font-size: 22px; padding: 0; margin: 0; border: 0; outline: 0; line-height: 50px; text-align: center; cursor: pointer; color: #dcddd8; background: url("../images/header/bar-icon.png") 0 0; }
#head-right-col .expand-box .expand-open { width: 240px; height: 50px; background-color: #4062a9; border-radius: 25px; -moz-border-radius: 25px; -webkit-border-radius: 25px; }
#head-right-col .expand-box .expand-open .expand-box-icon { left: 250px; }
#head-right-col .expand-box .byline { position: absolute; top: 150px; left: 30%; text-align: center; font-size: 18px; }
#head-right-col .expand-box .byline a { text-decoration: none; color: #d74b4b; }

/* Site name (h1) */
#site-name { margin: 0; }
#site-name a:link, #site-name a:visited { text-decoration: none; }
#site-name a:hover, #site-name a:focus { text-decoration: underline; }

/* Site slogan (h2) */
#site-slogan { margin: 0; }

/* ============================================================================= Page content header ========================================================================== */
/* Main content header wraps the page title, tabs and actions links */
/* The main page title (h1) */
#page-title { margin: 0 0 15px 0; }

/* ============================================================================= Misc Global Styles ========================================================================== */
/* Feed icons */
/* Aggregator feed source */
#aggregator .feed-source .feed-icon { display: inline; float: none; margin-right: 10px; }

.feed-details dt, .feed-details dd { display: inline; margin: 0; }

/* Generic styles for the more link */
/* Generic styles for links. See the ul.links declaration in node and comment stylesheets */
ul.links { margin: 0; padding: 0; }
ul.links.inline { display: block; }
ul.links li { display: inline; list-style: none; padding: 0 10px 0 0; }

/* Search results are an ordered list so reset the margin */
.search-results { margin: 0; padding: 0; }

/* Attribution message and link */
.attribution { display: block; opacity: 0.65; padding: 1em 0; text-align: center; }
.attribution a { text-decoration: none; color: inherit; }
.attribution a:hover, .attribution a:focus { text-decoration: underline; }

/* ============================================================================= Regions ========================================================================== */
/* Standard region wrapper, don't add width to any regions, you will bork the layout - no margin, padding or borders etc */
/* Regions have an inner div - perfect for adding margin, padding or borders */
/* Regions can be nested, such as when using Panels */
/* Header region, embedded in the #header */
/* Generally used to output Drupals help block, if the help module is enabled */
/* Secondary content */
/* Sits above the main content header, like a content-top region */
/* Sits below the main content, like a content-bottom region */
/* Sidebars - targets both */
/* First sidebar */
/* Second sidebar */
.region-sidebar-second .region-inner { margin-top: 30px; margin-left: 10px; }
.region-sidebar-second .region-inner ul { margin: 10px 0px 0px 15px; padding: 0px 0px 0px 0px; }

/* Tertiary content */
/* Footer region */
/* ============================================================================= Links ========================================================================== */
a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* ============================================================================= Primary, Secondary and Menu Bar region menus ========================================================================== */
.nav { clear: both; margin: 10px 0; }
.nav ul, .nav ul.menu { margin: 0; padding: 0; }
.nav li, .nav ul.menu li { display: inline; float: left; list-style: none; margin: 0; padding: 0; }
.nav li a, .nav ul.menu li a { display: block; white-space: nowrap; padding: 0 10px; }
.nav .block { margin-bottom: 0; }

/* ============================================================================= Superfish ========================================================================== */
ul.sf-menu { margin-bottom: 0; }
ul.sf-menu a { border-left: 0; border-top: 0; padding: 0 10px; text-decoration: none; height: 2.5em; line-height: 2.5em; }
ul.sf-menu li:hover, ul.sf-menu li.sfHover { outline: 0; }
ul.sf-menu a:focus, ul.sf-menu a:hover, ul.sf-menu a:active { outline: 0; }

/* Superfish blocks */
.block-superfish ul { margin: 0 !important; padding: 0 !important; }
.block-superfish li { margin: 0 !important; padding: 0 !important; }

/* Vertical style */
.sf-vertical { width: 100%; }
.sf-vertical li { width: 100%; }
.sf-vertical li:hover ul, .sf-vertical li.sfHover ul { left: 100%; top: 0; margin: 0; padding: 0; }
.sf-vertical li a { padding: 0 10px; }

/* Navbar style */
.sf-navbar { padding-bottom: 0 !important; }

/* Sensible padding for the default style */
.sf-menu.sf-style-default a { padding: 0 10px; }

/* ============================================================================= Menu Toggles ========================================================================== */
.at-mt .at-menu-toggle, .at-mt .at-menu-toggle ul, .at-mt .at-menu-toggle ul.menu { margin-top: 0; margin-bottom: 0; padding: 0; }
.at-mt .at-menu-toggle-button { margin: 0; }
.at-mt .at-menu-toggle ul a { padding: 0 10px; white-space: nowrap; }

/* ============================================================================= Menus, usually blocks ========================================================================== */
ul.menu { padding-left: 15px; }
ul.menu ul { padding-left: 15px; }
ul.menu li { margin: 0; }

/* If li.content exists it's a problem, so reset the padding */
.block .menu li.content { padding: 0; }

/* ============================================================================= Book navigation menu ========================================================================== */
.book-navigation .page-up { /* Prevent text wrapping to a new line, assumes English "up" is used (two characters) */ min-width: 2em; white-space: nowrap; }
.book-navigation .menu { margin-left: 0; }

/* ============================================================================= Breadcrumbs ========================================================================== */
#breadcrumb { margin: 10px 0; /* If the label is set to show in theme settings the label class is added */ }
#breadcrumb .breadcrumb-label { font-size: 1em; display: inline; padding-right: 10px; }
#breadcrumb .breadcrumb-label:after { content: ":"; }
#breadcrumb ol { margin: 0; padding: 0; }
#breadcrumb .with-breadcrumb-label ol { display: inline; }
#breadcrumb li { list-style: none; display: inline; }

/* ============================================================================= Pagers ========================================================================== */
ul.pager { clear: both; margin: 0; text-align: center; }

.item-list ul.pager li { margin: 0; }

ul.pager li { background-image: none; display: inline; list-style-type: none; padding: .5em; }
ul.pager li.pager-current { font-weight: 700; }

.block ul.pager li { margin: 0; }

/* Theme the various states of pager links */
/* ============================================================================= Skip Navigation ========================================================================== */
#skip-link { left: 50%; margin-left: -6.5em; margin-top: 0; padding: 0 0.5em; position: absolute; width: 12em; z-index: 50; }
#skip-link a { background: #444; background: rgba(0, 0, 0, 0.6); color: #fff; display: block; line-height: 2; padding: 0; text-align: center; text-decoration: none; }
#skip-link a:link, #skip-link a:visited { background: #444; background: rgba(0, 0, 0, 0.6); color: #fff; display: block; line-height: 2; padding: 0; text-align: center; text-decoration: none; }
#skip-link a:hover, #skip-link a:focus, #skip-link a:active { outline: 0; }

/* ============================================================================= Tabs (local tasks) ========================================================================== */
#tasks { margin-bottom: 15px; }

ul.primary { border-bottom-color: #ccc; margin: 20px 0; padding: 0 0 0 5px; }
ul.primary li { display: block; float: left; margin: 0 1px -1px; }
ul.primary li a { background-color: #f5f5f5; border-color: #ccc; margin-right: 1px; padding: 0 10px; display: block; float: left; height: 1.5em; line-height: 1.5em; }
ul.primary li a:hover, ul.primary li a:focus { background-color: #eee; border-color: #ccc; }
ul.primary li.active a, ul.primary li.active a:hover, ul.primary li.active a:focus { background-color: #fff; border-bottom-color: #fff; }

ul.secondary { border-bottom: 1px solid #ccc; margin: 1em 0 0; padding: 0 .3em 1em; }
ul.secondary li { border-right: 0; list-style: none; padding: 0 10px 0 0; }
ul.secondary li a:hover, ul.secondary li a.active { border-bottom: none; text-decoration: underline; }

/* ============================================================================= Action links ========================================================================== */
ul.action-links { margin: 20px 0 0; list-style: none; }

/* ============================================================================= Field Styling ========================================================================== */
/* Wrapper for any field */
/* Above and inline classes are on the field wrapper */
/* When labels are set to inline in field display settings the clearfix class is automatically added */
.field-label-inline { /* Remove the margin on inline field lables to preserve vertical formatting */ }
.field-label-inline .field-label { margin: 0; }

/* Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted ineritance issues */
.field-label { font-size: 1em; font-weight: 700; font-family: inherit; line-height: inherit; margin-bottom: 0; }

/* Field types (Core) */
/* Image fields use the <figure> and <figcaption> elements from HTML5 */
.paragraphs-item-contact-role.view-mode-large_teaser .field a { font-size: 1.0em; }
.paragraphs-item-contact-role.view-mode-large_teaser .field-name-field-role-tax-ref { display: inline; }
.paragraphs-item-contact-role.view-mode-large_teaser .field-name-field-project-forum { display: inline; }
.paragraphs-item-contact-role.view-mode-large_teaser .label-inline { margin: 0px 5px; display: inline; }
.paragraphs-item-contact-role.view-mode-large_teaser .field a { font-size: 1.0em; }


.node-type-contacts .paragraphs-item-contact-role .field-name-field-role-tax-ref::before {
    content: "\00BB  "; margin-left
    display: inline;
    }
.node-type-contacts .paragraphs-item-contact-role .field-name-field-role-tax-ref {float:left; }
.node-type-contacts .paragraphs-item-contact-role .field-name-field-project-forum .label-inline {float: left; padding: 0px 5px;}

/* Taxonomy */
.field-type-taxonomy-term-reference { /* The same bottom margin as p, blockquote, ul, ol and dl */ margin-bottom: 1.5em; }
.field-type-taxonomy-term-reference.field-label-inline .field-items { margin: 0; padding: 0; }
.field-type-taxonomy-term-reference.field-label-inline .field-item { display: inline; list-style: none; padding: 0 10px 0 0; }

/* Text */
/* Long text */
/* Text with summary */
/* File */
/* Number/Integer */
/* Decimal */
/* Number float */
/* List */
/* List boolean */
/* List integer */
/* List float */
/* Field types (Contrib) */
/* Named fields */
/* Underscores in field name are replaced with dashes */
/* Image Alignment Theme Settings - included here so you can easily override */
/* Float none setting */
/* Float left setting */
.ia-l .field-type-image figure, .iat-l .field-type-image figure { margin: 5px 20px 15px 0; }

/* Centered setting */
.ia-c .field-type-image figure, .iat-c .field-type-image figure { margin: 5px auto 15px; }

/* Float right setting */
.ia-r .field-type-image figure, .iat-r .field-type-image figure { margin: 5px 0 15px 20px; }

/* ============================================================================= Block Styling ========================================================================== */
/* Main wrapper for most blocks, block_system_main does not have it */
.block { margin-bottom: 20px; }

/* Inner wrapper for most blocks, good for margin, padding and borders, block_system_main does not have it */
/* The first block in the region */
/* The last block in the region */
/* Zebra striping for each block in the region */
/* Zebra striping for each block in the region */
/* Block title */
.block-title { margin: 0; }

/* Block content wrapper */
/* Match item list and block menu margin and padding */
.block-content ul, .block-content ol { padding: 0 0 0 15px; }
.block-content li { margin: 0; padding: 0; }

/* Block for the latest news items in the first category */
/* Block for the latest news items in the first feed */
/* First block created with "Add block" link */
/* "Recent blog posts" block */
/* "Book navigation" block for the current book's table of contents */
/* "Recent comments" block */
/* "Active forum topics" block */
/* "New forum topics" block */
/* Language switcher block */
/* Custom menu block */
/* "Recent content" block */
/* "Syndicate" block for primary RSS feed; see also page.css's .feed-icon */
/* "Most recent poll" block */
/* "Author information" block for the profile of the page's author */
/* "Search form" block */
/* "Shortcuts" block */
/* "Popular content" block */
/* "Main menu" block */
/* "Management" block for Drupal management menu */
/* "Navigation" block for Drupal navigation menu */
/* "User menu" block for Drupal user menu */
/* "System help" block */
/* "Main page content" block */
/* "Powered by Drupal" block */
/* "User login form" block */
/* "Who's new" block for a list of the newest users */
/* "Who's online" block for a list of the online users */
/* ============================================================================= Node Styling ========================================================================== */
.node { margin-bottom: 20px; }
.node .node-title { margin: 0; }

/* All nodes are given a node-FOO class that describes the type of content that it is. If you create a new content type called "my-custom-type", it will receive a "node-my-custom-type" class. */
/* ============================================================================= Comment Styling - Comments, comment wrapper, comment form ========================================================================== */
/* Wrapper for the list of comments and its titles */
#comments { margin: 1.5em 0; }
#comments h2.comment-title { margin: 0; }
#comments h2.comment-form { margin: 0; }

/* Wrapper for a single comment */
.comment { margin-bottom: 20px; }

/* Comment title */
.comment-title { margin: 0; }

/* Comment states */
/* Preview of the comment before submitting new or updated comment */
/* "New" marker for comments that are new for the current user */
.new { color: #c00; }

/* Nested comments are indented */
.indented { margin-left: 40px; }

/* ============================================================================= Forms ========================================================================== */
/* Wrapper for a form element (or group of form elements) and its label */
.form-item input.error, .form-item textarea.error, .form-item select.error { border: 1px solid #c00; }
.form-item label { font-weight: 700; }
.form-item .description { font-size: 0.85em; }

/* Highlight marks and form required mark */
.marker, .form-required { color: #c00; }

/* The submit button */
.container-inline div, .container-inline label { display: inline; }

/* Define consistent borders */
fieldset { border: 1px solid #ccc; }

/* Tips for Drupal's input formats */
/* Buttons used by contrib modules like Media */
a.button { -moz-appearance: button; -webkit-appearance: button; }

/* Password confirmation */
.password-parent, .confirm-parent { margin: 0; }

/* ============================================================================= Tables ========================================================================== */
table { margin: 10px 0; padding: 0; width: 100%; }
table.sticky-header { z-index: 10; }

table, thead, tbody, tr, th, td { border-color: #ccc; }

table, td, th { vertical-align: middle; }

caption, th, td { text-align: left; }

thead tr { font-weight: 700; background-color: #e5e5e5; }

td, th { border-bottom: 0; margin: 0; padding: 5px 7px; }

tbody tr { border-top: 1px solid #ccc; }

tr { /* Table row striping */ }
tr.odd { background: #fff; }
tr.info, tr.even, tr:nth-child(2n+2) { border-bottom: 0; background-color: #f5f5f5; }
tr.odd td.active { background-color: #eee; }
tr.even td.active { background-color: #ebebeb; }

/* Forum tables Core sets white-space to nowrap, which makes no sense */
#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager { white-space: normal; }

/* ============================================================================= Messages ========================================================================== */
div.messages { margin-bottom: 10px; margin-top: 10px; }
div.messages ul { margin-top: 0; margin-bottom: 0; }

/* Unpublished nodes */
.node-unpublished p.unpublished, .comment-unpublished p.unpublished { color: pink; color: rgba(239, 170, 170, 0.4); font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif; font-size: 50px; font-weight: 700; line-height: 1.2; height: 0; margin: 0; padding: 0; overflow: visible; text-align: center; text-transform: uppercase; word-wrap: break-word; }
.ie6-7 .node-unpublished p.unpublished > *, .ie6-7 .comment-unpublished p.unpublished > * { position: relative; }

/* ============================================================================= Maintenance pages ========================================================================== */
.maintenance-page .container { padding: 40px 0; }
.maintenance-page #site-name, .maintenance-page #page-title { margin: 0; }

.db-offline .container { margin: 0 auto; padding: 40px 0; width: 100%; max-width: 960px; }
.db-offline div.messages { margin: 20px 0 0; }
.db-offline #content { padding: 20px 0; }

/* ============================================================================= Misc overrides for contrib modules ========================================================================== */
/* Admin menu overrides */
#admin-menu { margin: 0; padding: 0; }

/* Devel Module */
.dev-query { background: #eee; padding: 30px; }

/* Styleguide module tweaks */
#styleguide-header { padding: 0 10px; }
#styleguide-header .item-list { font-family: inherit; margin: 0 20px 20px 0; min-height: 260px; width: auto; }

.node-type-publications .group-left .horizontal-tabs .fieldset-wrapper .paragraphs-items .group-left { width: 20%; }
.node-type-publications .group-left .horizontal-tabs .fieldset-wrapper .paragraphs-items .group-right { width: 78%; }
.node-type-publications .group-left .horizontal-tabs .fieldset-wrapper .paragraphs-items .group-right .field-name-field-link-to-publication a { font-weight: bold; }
.node-type-publications .group-left .horizontal-tabs .fieldset-wrapper .entity-paragraphs-item { border-bottom: 1px solid #ccc; margin: 20px 0px; }

.node-type-hifa-forum .group-left { width: 70%; }
.node-type-hifa-forum .group-left .field-name-field-logo { float: left; padding-right: 20px; }
.node-type-hifa-forum .group-left .group-main { padding-right: 30px; }
.node-type-hifa-forum .group-right { width: 30%; }
.node-type-hifa-forum .group-right .field-group-div { border-bottom: 1px solid #B8B6B6; overflow: auto; padding-bottom: 20px; margin-bottom: 20px; clear: left; }
.node-type-hifa-forum .group-right .view-rss-feeds-general .views-row { padding: 10px 0px 0px 0px; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-membership-growth, .node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-map { float: left; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-map { margin-left: 10px; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-membership-growth .sb-image, .node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-map .sb-image { border: 1px solid blue; height: 70px; padding: 10px; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-membership-growth .sb-image:hover, .node-type-hifa-forum .group-right #node-hifa-forum-full-group-membership-info .field-name-field-map .sb-image:hover { border: 1px solid #333; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links .wrapper { padding: 20px 0px 0px 0px; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links .forum-image-link { clear: left; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links .forum-image-link .image { font-size: 15px; background: #dcefed; background: #dcefed; padding: 5px; -webkit-border-radius: 1100%; -moz-border-radius: 100%; -o-border-radius: 100%; border-radius: 100%; border: 2px solid #fff; color: #fff; box-shadow: 0 1px 10px rgba(0, 0, 0, 0.46); text-align: center; display: table-cell; vertical-align: middle; width: 50px; height: 50px; -moz-transition: .5s; -webkit-transition: .5s; -o-transition: .5s; transition: .5s; float: left; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links .forum-image-link .label { position: relative; top: 18px; left: 20px; }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links #il_field_er_join .image { background-repeat: no-repeat; background-position: center; background-size: 50px; background-color: #dcefed; background-image: url(../images/image_links/join1.png); }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links #il_field_er_working_discussion .image { background-repeat: no-repeat; background-position: center; background-size: 50px; background-color: #dcefed; background-image: url(../images/image_links/discussion.png); }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links #il_sister_forum_steering_group .image { background-repeat: no-repeat; background-position: center; background-size: 50px; background-color: #dcefed; background-image: url(../images/image_links/working_group_1.png); }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links #il_field_er_working_group .image { background-repeat: no-repeat; background-position: center; background-size: 50px; background-color: #dcefed; background-image: url(../images/image_links/working_group_1.png); }
.node-type-hifa-forum .group-right #node-hifa-forum-full-group-image-links #il_field_donate .image { background-repeat: no-repeat; background-position: center; background-size: 50px; background-color: #dcefed; background-image: url(../images/image_links/donate.png); }

#node_working_group_full_group_contacts .field-name-field-contacts .node-contacts, .context-taxonomy .node-contacts, .view-forum-contacts .views-row, .view-working-group-contacts .views-row { width: 13em; float: left; text-align: center; }

.group-publications .ds-2col-fluid > .group-left, .node-type-publications .ds-2col-fluid > .group-left { float: left; /* LTR */ width: 25%; }

.group-publications .ds-2col-fluid > .group-right, .node-type-publications .ds-2col-fluid > .group-right { float: right; /* LTR */ width: 75%; }

.group-publications .ds-2col-fluid > .group-left .field-name-image img { width: 180px; }

.node-type-article .group-header { margin-bottom: 20px; }
.node-type-article .group-left .field-name-image { float: left; padding-right: 20px; }

.node-working-group .group-header .field-name-field-quotation { float: left; width: 73%; }
.node-working-group .group-header .field-name-field-logo { float: right; width: 25%; text-align: right; }
.node-working-group .group-left { clear: both; }

#map-key #symbol1 .colour { display: inline-block; height: 15px; width: 15px; background-color: #2a4afd; }

/* BLUE */
#map-key #symbol2 .colour { display: inline-block; height: 15px; width: 15px; background-color: #009113; }

/* DARK GREEN */
#map-key #symbol3 .colour { display: inline-block; height: 15px; width: 15px; background-color: #2F4F4F; }

/* DARK GREY */
#map-key #symbol4 .colour { display: inline-block; height: 15px; width: 15px; background-color: #d3d3d3; }

/* LIGHT GREY */
#map-key #symbol5 .colour { display: inline-block; height: 15px; width: 15px; background-color: #FE9902; }

/* ORANGEY */
#map-key .symbol-title { display: inline-block; margin-left: 5px; padding-bottom: 3px; vertical-align: middle; }

#map-key { margin-bottom: 10px; }




/* TEMP ~TODO remove */
.page-node-18 .group-crs,
.page-node-15 .group-crs,
 .page-node-9 .group-crs,
  {display: none;}


#so-application-intro {border: 1px solid grey; padding: 10px; text-align: center;}
#if-support-join {text-align: center; margin-top: 30px;}
#so-applications-footer {border: 1px solid grey; padding: 10px; text-align: center; font-size: 11.5px; font-weight: bold;}
.webform-component--donatee-details .webform-component label { width: 300px; position: absolute;}
.webform-component--donatee-details .form-text {margin-left: 200px; width: 400px; }
.webform-component.webform-component-textarea {display: block;}
.webform-component.webform-component-textarea label {width: 200px; position: relative;  }
.webform-component--donatee-details textarea {  margin-left: 200px; width: 400px;}

.webform-client-form {padding: 10px;}
.field-name-body ul li {left: 20px; position: relative;}

.node-hifa-forum .group-left .field-items {float: left;}
.node-hifa-forum .group-left .field-name-field-partner-logos .sb-individual {float: left;}
.node-hifa-forum .group-left .field-name-field-partner-logos .sb-individual img {width: 140px; margin: 30px 0px 0px 20px;}

.node-hifa-forum .group-left .field-name-body {clear: left;}


.page-news .group-header h2 a {font-size: 24px; text-decoration: underline;}
.page-news .view-display-id-page .group-left {width: 22%;}
.page-news .view-display-id-page .group-right {width: 76%;}

.tb-megamenu .nav > .active > a, 
.tb-megamenu .nav > .active > a:hover, 
.tb-megamenu .nav > .active > a:focus {background-color: transparent; color: #000;  border-bottom: 6px solid #000;}
