/*
Theme Name: STEPS Centre 2017
Author: Stuart Haiz
Author URI: http://haizdesign.com/
Description: Built for STEPS Centre, STEPS 2017 is a responsive, accessible theme featuring  large images, and easy to read typography that scales to fit all screens. Other features include keyboard accessible navigation, optional social menu, sidebar- and footer widgets, no-sidebar page template, Aside post format, and collapsible author profile box.
Version: 3.4
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haizdesign
Domain Path: /languages/
Tags: white, green, light, one-column, two-columns, right-sidebar, responsive-layout, accessibility-ready, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post, threaded-comments, translation-ready, rtl-language-support

STEPS Centre 2017 is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc. and Simone https://github.com/mor10/simone

CSS structure 2.0 onwards based on http://mdo.github.io/code-guide/#css-syntax

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/* updated 16.11.17 */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
    2.1 - Links
3.0 - Elements
    3.1 - Lists
    3.2 - Grid Layout
    3.3 - Columns
4.0 - Forms
    4.1 - MailChimp Widget forms
5.0 - Navigation
    5.1 - Links
    5.2 - Main Menu
    5.3 - Social Menu
    5.4 - Paging Navigation
    5.5 - Footer Navigation
    5.6 - Sidebar Menus
    5.7 - Page Nav
    5.8 - Hub Page Nav
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Header
10.0 - Widgets
    10.01 - Page specific widget colours
    10.02 - Research Methods image widgets
    10.1 - Posts Slider
11.0 - Content
    11.1 - Posts and pages
        11.1.1 - Blog Lander
    11.2 - Index and Archives
    11.3 - Asides
    11.4 - Image Attachments
    11.5 - Comments
    11.6 - Author Box
    11.7 - Utility Styles
    11.8 - Landing Pages
        11.81 - News & Media
        11.82 - Research
        11.83 - Learning
        11.84 - Publications
    11.9 - Hub Pages
12.0 - Infinite scroll
13.0 - Media
14.0 - Footer
15.0 - Scrollup
16.0 - Plugins
    16.01 - Shortcodes
    16.1 - Accordions
    16.2 - Events
    16.3 - Reviews
    16.4 - ACF
    16.5 - Gravity Forms
    16.6 - Twitter
    16.7 - Video Gallery
    16.8 Meta Slider
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
    -webkit-font-smoothing: subpixel-antialiased;
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */ /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */ /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
    -webkit-box-sizing:         border-box;
    box-sizing:         border-box;
}

body { background: white; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}
ol, ul {
    list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a {
    -ms-word-break: break-word;
    word-break: break-word;
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active {
    outline: 0;
}
a img {
    border: 0;
}

a:focus img {
    outline: 1px dotted #e5e5e5;
}


/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    font-size: 18px;
    font-size: 1.8rem;
    font-family: 'Karla', sans-serif;
    line-height: 1.5;
    color: #788077;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    font-family: 'interface', sans-serif;
    color: #788077;
    text-transform: uppercase;
    letter-spacing: 1px;
    -ms-word-break: break-word;
    word-break: break-word;
}

h1 {
    font-size: 24px;
    font-size: 2.4rem;
    border-bottom: 1px solid #82ac03;
    margin-bottom: 30px;
}
h1.blog-latest,
.top-posts h1 {
    font-size: 26px;
    font-size: 2.6rem;
    border-bottom: none;
}
.hub-freetext h1,
.hub-freetext h2 {
    font-size: 40px;
    font-size: 4rem;
    color: #82ac03;
    border-bottom: 1px solid;
    margin-bottom: 1em;
}

h2.h2-blog {
    font-size: 26px;
    font-size: 2.6rem;
}

h3.news-title {
    color: #82ac03;
}

.sitemap h3 {
    border-top: 1px solid #82ac03;
    margin-top: 1em;
    padding-top: 1em;
}
h3.sitemap-pages {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

h2, h3, h4, h5, h6 {
}

p { margin-bottom: 1.5em; }

b, strong { font-weight: bold; }

dfn, cite, em, i { font-style: italic; }

address { margin: 0 0 1.5em; }

pre {
    max-width: 100%;
    padding: 1.6em;
    margin-bottom: 2em!important;
    overflow: auto;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    background: #eee;
}

code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    text-decoration: none;
    background: #fff9c0;
}

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

sup { bottom: 1ex; }

sub { top: .5ex; }

small { font-size: 75%; }

big { font-size: 125%; }

/*--------------------------------------------------------------
2.1 Links
--------------------------------------------------------------*/
a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.top-posts h1 a:link,
.top-posts h1 a:visited,
h3.news-title a:link,
h3.news-title a:visited {
    color: #82ac03;
}
.top-posts h1 a:hover,
.top-posts h1 a:active {
    color: #4b4c57;
}
h3.news-title a:hover,
h3.news-title a:active {
    color: #53412f;
}
:focus {
    outline: none;
}


/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
    height: 1px;
    margin-bottom: 1.5em;
    background-color: #e5e5e5;
    border: 0;
}

ul, ol { margin: 0 0 1.5em 3em; }

ul { list-style: disc; }

ol { list-style: decimal; }

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt { font-weight: bold; }

dd { margin: 0 1.5em 1.5em; }

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

figure { margin: 0; }

table {
    width: 100%;
    margin: 0 0 1.5em;
}

th { font-weight: bold; }

/*--------------------------------------------------------------
3.1 Lists
--------------------------------------------------------------*/
.entry ol,
.wpsm_panel-body ol {
    counter-reset:li; /* Initiate a counter */
    margin-top: 1em;;
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
.entry ol > li,
.wpsm_panel-body ol > li {
    position:relative; /* Create a positioning context */
    margin:0 0 6px 1em; /* Give each list item a left margin to make room for the numbers */
    padding:4px 30px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
}
.entry ol > li:before,
.wpsm_panel-body ol > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:-6px;
    left:-1.5em;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    height: 2em;
    margin-top: 8px;
    margin-right: 8px;
    padding: 3px 5px;
    color: #fff;
    background-color: #a0d500;
    font-weight: 700;
    font-family: 'Karla', Arial, sans-serif;
    font-size: 80%;
    text-align:center;
    border-radius: 50%;
}
.entry li ol,
.wpsm_panel-body li ol {margin-top:6px;}
.entry ol ol li:last-child,
.wpsm_panel-body ol ol li:last-child {margin-bottom:0;}

.sitemap ul {
    list-style: none;
    margin-left: 1em;;
}
.sitemap li:before {
    font-family: 'fontawesome';
    content: '\f054';
    color: #dadada;
    margin-right: 1em;;
}

/*--------------------------------------------------------------
3.2 Grid Layout
--------------------------------------------------------------*/
/* grid */
.row {
  margin: 0 -10px;
  margin-bottom: 20px;
}
.row:last-child {
  margin-bottom: 0;
}
[class*="col-"] {
  padding: 10px;
}

.themes .row { /* override for the research theme landing pages */
    margin-left: 0;
}

@media all and ( min-width: 600px ) {

    .col-2-3 {
        float: left;
        width: 66.66%;
    }
    .col-1-2 {
        float: left;
        width: 50%;
    }
    .col-1-3 {
        float: left;
        width: 31.9893983%;
        margin: 0 1.2893983% 16px 0;
    }
    .col-1-3.global-posts {
        min-height: 300px;
    }
    .col-1-4 {
        float: left;
        width: 25%;
    }
    .col-1-8 {
        float: left;
        width: 12.5%;
    }

}

/*------------------------------------------------------------
3.3 Columns
------------------------------------------------------------*/
.col {
  -webkit-column-count: 2;
          column-count: 2;
}


/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
4.1 MailChimp widget forms
--------------------------------------------------------------*/
.custom-html-widget .mc-field-group label,
.custom-html-widget .mc-field-group input {
    display: block;
    width: 90%;
    margin: 10px 0;
}


.btn,
button,
a.button,
input,
select,
textarea {
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
}

.btn,
button,
a.button,
a.news-more-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 0.5em 1em;
    font-size: 16px;
    font-size: 1.6rem;
    font-family: 'Karla';
    text-transform: uppercase;
    line-height: 1;
    color: #82ac03;
    background: white;
    border: 2px solid #82ac03;
    border-radius: 3px;
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
button.edit-btn {
    color: #df0046; 
    border-color: #df0046;
}
@media screen and (max-width: 600px) {
    
    .btn,
    button,
    a.button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        -webkit-appearance: none; /* Corrects inability to style clickable 'input' types in iOS */
    }
    
}

.btn {
    padding: 0;
}
.btn:hover,
button:hover,
a.button:hover,
a.news-more-link:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    color: white;
    background: #82ac03;
}

.entry-content a.news-more-link:hover {
    color: white;
}

.btn:focus,
button:focus,
a.button:focus,
a.news-more-link:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    color: white;
}

.site-footer a.btn {
    color: #82ac03;
    -webkit-appearance: initial;
}
.site-footer input[type="submit"] {
    color: white;
    background: #82ac03;
    border-color: #82ac03;
}
.site-footer input[type="submit"]:hover {
    color: #82ac03;
    background: white;
    border-color: #82ac03;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    width: 100%;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    padding: 0;
    border: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    padding: 8px;
    font-family: 'Karla', sans-serif;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #111;
}

textarea {
    width: 100%;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */

}

.comment-awaiting-moderation { /* Green background color to make moderation seem less aggressive */
    padding: .5rem 1rem;
    margin: 1rem 0;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    color: #fff;
    background: #84bd68;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
    text-decoration: none;
    color: #82ac03;
}

a:visited {
    color: #4b4c57;
}

a:hover,
a:focus,
a:active {
    color: #53412f;
    text-decoration: none;
}

/* other link styles */
.entry-title a {
    color: #82ac03;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.entry-title a:hover {
    color: #53412f;
}
.more-link {
    text-transform: uppercase;
}

/*--------------------------------------------------------------
5.2 Main Menu
--------------------------------------------------------------*/
.main-navigation {
    position: relative;
    display: block;
    width: 100%;
    clear: both;
    font-family: 'Karla', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    background: white;
}

.main-navigation ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.main-navigation li {
    position: relative;
    float: left;
}

.main-navigation a {
    display: block;
    padding: 0.75em 0.5em;
    font-size: 16px;
    font-size: 1.6rem;
    text-decoration: none;
    line-height: 2em;
    color: #788077;
}

.main-navigation ul ul {
    position: absolute;
    left: 0;
    z-index: 99999;
    display: none;
    float: left;
    padding: 0;
    background: #f2f2f2;
}

.main-navigation ul ul ul {
    top: 0;
    left: 100%;
}

.main-navigation ul ul a {
    color: #82ac03;
    width: 250px;
    padding-left: 2rem;
}

.main-navigation ul ul li { }

.main-navigation li:hover > a,
.main-navigation li > a:focus {
    color: white;
}

.main-navigation li.about:hover > a,
.main-navigation li.about > a:focus,
.main-navigation li.about.current_page_item > a,
.main-navigation li.about.current-menu-item > a {
    background: #83776b;
}
.main-navigation .about .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-about.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{ color: #83776b; }

.main-navigation li.research:hover > a,
.main-navigation li.research > a:focus,
.main-navigation li.research.current_page_item > a,
.main-navigation li.research.current-menu-item > a {
    background: #82ac03;
}
.main-navigation .research .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-research.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #82ac03; }

.main-navigation li.news:hover > a,
.main-navigation li.news > a:focus,
.main-navigation li.news.current_page_item > a,
.main-navigation li.news.current-menu-item > a {
    background: #FF8300;
}
.main-navigation .news .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-news.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #ff8300; }
.main-navigation li.news { clear: none; } /* override for the news plugin */

.main-navigation li.blog:hover > a,
.main-navigation li.blog > a:focus,
.main-navigation li.blog.current_page_item > a,
.main-navigation li.blog.current-menu-item > a {
    background: #b466c3;
}
.main-navigation .blog .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-blog.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #b466c3; }

.main-navigation li.publications:hover > a,
.main-navigation li.publications > a:focus,
.main-navigation li.publications.current_page_item > a,
.main-navigation li.publications.current-menu-item > a {
    background: #05CCEF;
}
.main-navigation .publications .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-publications.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #05ccef; }

.main-navigation li.learning:hover > a,
.main-navigation li.learning > a:focus,
.main-navigation li.learning.current_page_item > a,
.main-navigation li.learning.current-menu-item > a {
    background: #880c6f;
}
.main-navigation .learning .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-learning.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #880c6f; }

.main-navigation li.events:hover > a,
.main-navigation li.events > a:focus,
.main-navigation li.events.current_page_item > a,
.main-navigation li.events.current-menu-item > a {
    background: #df0046;
}
.main-navigation .events .sub-menu a,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-events.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { color: #df0046; }


.main-navigation ul ul :hover > a { }

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus,
.main-navigation .about .sub-menu a:hover,
.main-navigation .about .sub-menu a:focus,
.main-navigation .research .sub-menu a:hover,
.main-navigation .research .sub-menu a:focus,
.main-navigation .news .sub-menu a:hover,
.main-navigation .news .sub-menu a:focus,
.main-navigation .blog .sub-menu a:hover,
.main-navigation .blog .sub-menu a:focus,
.main-navigation .publications .sub-menu a:hover,
.main-navigation .publications .sub-menu a:focus,
.main-navigation .learning .sub-menu a:hover,
.main-navigation .learning .sub-menu a:focus,
.main-navigation .events .sub-menu a:hover,
.main-navigation .events .sub-menu a:focus {
    color: #53412f;
}

.main-navigation ul li:hover > ul { display: block; }

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a:hover,
.main-navigation .current-menu-item > a:hover,
.main-navigation .current_page_item > a:focus,
.main-navigation .current-menu-item > a:focus {
    color: white;
}

.main-navigation .current_page_ancestor {
    background: white;
    color: #45639D;
}
.main-navigation .current_page_ancestor a {
/*    border-bottom-color: white;*/
}

.main-navigation ul ul .current_page_parent,
.main-navigation .current_page_parent .current_page_item > a {
    color: #dadada;
    background: white;
}

/* mega menu */
form.mega-search ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}
form.mega-search ::-moz-placeholder { /* Firefox 19+ */
  color: white;
}
form.mega-search :-ms-input-placeholder { /* IE 10+ */
  color: white;
}
form.mega-search :-moz-placeholder { /* Firefox 18- */
  color: white;
}

/* Small menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    
    #mega-menu-wrap-primary .mega-menu-toggle #mega-toggle-block-3 .mega-search.mega-search-open input[type=text] {
        width: 240px;
    }
    /*
    .site-branding .title-box {
        padding: 1rem;
    }
    .site-title {
        margin-top: -1rem;
    }
    h1.menu-toggle { border: none; }
    .menu-toggle {
        display: none;
    }
    .main-navigation .menu-toggle a {
        font-size: 22px;
        font-size: 2.2rem;
    }

    .menu-toggle a:hover,
    .menu-toggle a:focus {
        background: transparent;
    }

    .main-navigation.toggled .nav-menu {
        display: block;
        border-top: 1px solid;
        border-top-color: #fff;
    }

    .main-navigation ul {
        display: none;
        padding-left: 0;
    }

    .main-navigation a {
        border-bottom: 0;
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 3rem;
    }
*/

    .main-navigation li { float: none; }

    .main-navigation li a {  padding: 1.3em 2em; }

    .main-navigation li li a { padding-left: 4em; }

    .main-navigation li li li a { padding-left: 6em; }

    .main-navigation li:hover > a,
    .main-navigation li > a:focus {
        background: white;
        border-bottom: none;
    }

    .main-navigation ul ul,
    .main-navigation ul ul ul {
        position: relative;
        top: inherit;
        left: 0;
        display: block;
        float: none;
        background: white;
    }

    .main-navigation ul ul a { width: 100%; }

    .main-navigation ul a:hover,
    .main-navigation ul ul a:hover,
    .main-navigation ul a:focus,
    .main-navigation ul ul a:focus{
        color: #a0d500;
    }

    .main-navigation .current_page_ancestor { background: inherit; }

    .main-navigation ul ul .current_page_parent {
        color: inherit;
        background: inherit;
    }

    .main-navigation .current_page_item > a,
    .main-navigation .current_page_item > a:hover,
    .main-navigation .current_page_item li:hover,
    .main-navigation .current_page_item > a:focus,
    .main-navigation .current_page_item li:focus,
    .main-navigation .current_page_parent .current_page_item > a  {
        color: #fff;
        background: #a0d500;
    }

} /* End responsive menu */

#mega-menu-wrap-primary.mega-sticky {
    -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.1) !important;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1) !important;
}

@media screen and (min-width:600px) {
    
    #mega-menu-wrap-primary.mega-sticky {
        margin-top: 0!important;
    }
    
}

/*--------------------------------------------------------------
5.3 Social Menu
--------------------------------------------------------------*/

.menu-social {
    position: absolute;
    right: 20px;
    top: 20px;
}

.menu-social ul {
    float: right;
    text-align: center;
    list-style: none;
    margin-top: 20px;
}

.menu-social ul li {
    position: relative;
    display:  inline-block;
}

.menu-social li a {
    border-bottom: none;
    margin-left: 5px;
}

.menu-social li a:before {
    display: inline-block;
    vertical-align: top;
    padding: 0 5px;
    font-family: 'Fontawesome';
    font-size: 18px;
    line-height: 1.8em;
    color: #fff;
    background: #d8d8d8;
    -webkit-font-smoothing: antialiased;
    content: '\f08e';
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.menu-social li a:hover:before {
    border-bottom: none;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background: #82ac03;
}

.menu-social li a[href*="steps-centre.org"]::before { content: '\f0e0'; }

.menu-social li a[href*="twitter.com"]::before { content: '\f099'; }

.menu-social li a[href*="facebook.com"]::before { content: '\f09a'; }

.menu-social li a[href*="youtube.com"]::before { content: '\f167'; }

.menu-social li a[href*="linkedin.com"]::before { content: '\f0e1'; }

.menu-social li a[href*="flickr.com"]::before { content: '\f16e'; }

.menu-social li a[href*="slideshare.net"]::before { content: '\f1e7'; }

.menu-social li a[href*="stumbleupon.com"]::before { content: '\f1a4'; }

.menu-social li a[href*="/feed"]::before { content: '\f09e'; }



@media screen and (max-width: 1189px ) {
    .menu-social ul {
        margin-right: 10px;
    }
}

@media screen and (max-width: 600px) {
    #menu-social ul {
        position: absolute;
        top: 0;
        right: 6rem;
        display: block;
    }

    #menu-social li a {
        padding-left:.5em;
        padding-right: .5em;
    }
}

/*--------------------------------------------------------------
5.4 Paging Navigation
--------------------------------------------------------------*/

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
    font-size: 18px;
    font-size: 1.8rem;
    font-family: 'Karla', sans-serif;
    color: #000;
}

.post-nav-box {
    padding: 2em 0;
    margin-bottom: 4em;
    border-top: 1px solid #e5e5e5;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
    padding-right: 15%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    width: 50%;
    padding-left: 15%;
    text-align: right;
}

.nav-indicator { margin-bottom: 1em; }

.nav-previous h1,
.nav-next h1 { font-weight: 400; }

.comment-navigation {
    padding: 1em 0;
    margin: 3em 0;
    border-top: hsl(0, 0%, 80%) solid 1px;
    border-bottom: hsl(0, 0%, 80%) solid 1px;
}

.comment-navigation i { margin: 0 1em; }

@media screen and (max-width: 600px) {
    .comment-navigation .nav-previous,
    .post-navigation .nav-previous,
    .comment-navigation .nav-next,
    .post-navigation .nav-next {
        float: none;
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .comment-navigation .nav-next,
    .post-navigation .nav-next { margin-top: 4rem; }
}

.paging-navigation ul { margin: 0; }

.paging-navigation li { display: inline; }

a.page-numbers,
span.page-numbers {
    padding: .3em .7em;
    color: #412b15;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a.prev.page-numbers {
    float: none;
}
a:hover.page-numbers,
a:focus.page-numbers{
    color: #53412f;
}

.paging-navigation .current {
    font-weight: bold;
    color: #53412f;
}

.nav-posts {
    margin: 2em auto;
}
.prev {
    float: left;
}
.next {
    float: right;
}
.prev:before,
.next:after {
    font-family: 'fontawesome';
    content: '\f104';
}
.prev:before {
    margin-right: 5px;
}
.next:after {
    content: '\f105';
    margin-left: 5px;
}

/*--------------------------------------------------------------
5.5 Footer Navigation
--------------------------------------------------------------*/
.footer-widgets .widget_nav_menu {
    margin-top: 0!important;
}
.footer-widgets .menu li {
    padding: 0;
}
.footer-widgets .menu li a,
.footer-widgets .menu li a:hover {
    padding: 0.5em 0;
    border-bottom: none;
}

.menu-footer-container {
    width: 310px;
}
ul#menu-footer li {
    display: inline-block;
    float: left;
    width: 150px;
}
ul#menu-footer li:nth-child(odd) {
    float: left;
    margin-right: 10px;
}
ul#menu-footer li:nth-child(even) {
    float: right;
}

/*--------------------------------------------------------------
5.6 Sidebar Menus
--------------------------------------------------------------*/
.widget_nav_menu {
    text-transform: uppercase;
    margin-top: 5rem!important;
}
.widget.widget_nav_menu a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#secondary .widget_nav_menu {
    background: #f2f2f2;
}

/* about */
.menu-about-container,
.menu-global-consortium-container {
    background: #efedea;
}
.about.widget a {
    color: #83776b;
}
.about.widget .gc-header a {
    color: #82ac03;
}
.about.widget .gc-header a:hover {
    padding-left: 1em;
}

/*------------------------------------------------------------
5.7 Page Nav
------------------------------------------------------------*/

/* research */
.menu-research-container {
    background: #f1ffed;
}

/* news */
.menu-news-media-container {
    background: #fbeee0;
}
.news.widget a {
    color: #ff8300;
}

/* publications */
.menu-publications-container {
    background: #ebfdff;
}
.publications.widget a {
    color: #05ccef;
}

/* learning */
.menu-learning-teaching-container {
    background: #feeafa;
}
.learning.widget a {
    color: #880c6f;
}

/* events */
.menu-events-teaching-container {}


.widget_nav_menu a:hover,
.widget_nav_menu a:active {
    color: #4b4c57;
    padding-left: 1.5em;
}

/*------------------------------------------------------------
5.8 Hub Page Nav
------------------------------------------------------------*/

ul#menu-hubs,
ul#menu-global-consortium {
    list-style: none;
    padding: 5px 0;
    margin-left: 0;
}

#menu-hubs li,
ul#menu-global-consortium li {
    display: inline-block;
    margin-left: 30px;
    text-transform: uppercase;
}

.menu-hubs-container,
.menu-global-consortium-container {
    background: #f2f2f2;
}

#menu-hubs li a:link,
#menu-hubs li a:visited,
#menu-global-consortium li a:link,
#menu-global-consortium li a:visited {
    color: #788077;
}
#menu-hubs li a:hover,
#menu-hubs li a:active,
#menu-global-consortium li a:hover,
#menu-global-consortium li a:active {
    color: #82ac03;
}


/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    top: 5px;
    left: 5px;
    z-index: 100000; /* Above WP toolbar */
    clip: auto !important;
    display: block;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    line-height: normal;
    color: #21759b;
    background-color: #f1f1f1;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    display: inline;
    float: right;
    margin-bottom: 1em;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.6em;
    clear: both;
}


/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.blog-latest-article:before,
.blog-latest-article:after {
    display: table;
    content: '';
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.blog-latest-article:after { clear: both; }

/*--------------------------------------------------------------
9.0 Header
--------------------------------------------------------------*/

#masthead {
    z-index: 100;
    position: relative;
    width: 100%;
    background: white;
}

.site-header {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 1em;
}

.site-branding {
    padding: 10px;
    margin-right: 20px;
    text-align: left;
    background: white;
    float: left;
    width: 45%;
}

.title-box {
    width: 141px;
    height: 71px;
    padding: 0;
    margin: 0;
    text-indent: -9999px;
    background: url(images/logos/steps-logo.svg) no-repeat;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.title-box:hover {
    opacity: 0.7;
}

.title-box h1 {
    border-bottom: 0;
}

.site-title {
    font-weight: 300;
    font-size: 14px;
    line-height: normal;
    padding-bottom: 0;
}

.site-description {
    position: absolute;
    left: 190px;
    top: 43px;
    font-size: 24px;
    text-transform: uppercase;
    color: #82ac03;
}

.site-branding a { text-decoration: none; }

.site-title a {
    color: #43619e;
    padding: 0;
    width: 141px;
    height: 71px;
    border-bottom: none;
}

.header-image img {
    display: inline-block;
    margin: 0 auto;
}

.header-background-image {
    background: no-repeat center;
    background-size: cover!important;
    -moz-background-size: cover!important;
    -webkit-background-size: cover!important;
}

.header-background-image .title-box {
    background: #333;
    background: hsla(0, 0%, 0%, .7);
}

/* Header responsive */
@media screen and (max-width: 900px) {

    .site-branding { padding: 0; }

    .title-box {
        max-width: 100%;
        padding: 4rem;
        border: none;
    }
}

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

    #masthead {
    z-index: 100;
    position: relative;
    top: 0;
    width: 100%;
}

    .site-branding {
        display: none;
    }

}

@media screen and (max-width: 399px) {
    .title-box { padding: 2rem; }
}

/* Header search */

.search-toggle {
    float: right;
    width: 32px;
    height: 32px;
    padding: 0 5px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0.5em;
    color: #82ac03;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    font-size: 1.8rem;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.search-toggle:hover,
.search-toggle.active {
    color: #788077;
}

.search-toggle .screen-reader-text {
    top: 0;
    right: 0;
}
.search-box-wrapper {
    z-index: 2;
    width: 100%;
}
.search-box {
    padding: 1em;
    background: #82ac03;
}

.search-box .search-field {
    max-width: 362px;
    float: right;
    padding: 1rem 2rem 1rem 4rem;
    font-size: 20px;
    font-size: 2rem;
    background-color: #fff;
    border: 0;
    border-radius: 3px;
}

.hide { display: none; }

.error404 .search-submit,
.search .search-submit,
.search-box .search-submit { display: none; }

@media screen and (max-width: 600px) {
    .menu-social {
        display: none;
    }
    .search-toggle {
        position: absolute;
        top: 5px;
        right: 10px;
        margin-top: 10px;
        margin-right: 0;
    }
    footer.site-footer {
        background-size: 320px 176px;
    }
    .site-info .copyright,
    .site-info .web-by-hd {
        float: none;
    }
}

/*--------------------------------------------------------------
10.0 Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 2em;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
}

.widget-title {
    margin-bottom: 1em;
    padding: 0;
    font-family: 'InterFace', sans-serif;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 400;
    color: #82ac03;
    background: transparent;
/*    border-radius: 2px;*/
    border: none;
}

.widget a {
    font-weight: 400;
    color: #82ac03;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.widget a:hover {
    color: #53412f;
}

.widget ul,
.widget ol {
    padding: 0;
    margin: -1em 0 0;
    list-style-type: none;
}

.widget li { padding: 1em 0 0; }

.widget li ul,
.widget li ol { margin-top: 0; }

.widget li li { margin-left: 1.5em; }

.widget_recent_entries li:before,
.widget_recent_comments li:before,
.widget_archive li:before {
    display: block;
    float: left;
    padding-top: 2px;
    margin-left: -2.5em;
    font-family: 'fontawesome';
    font-size: 14px;
    font-size: 1.4rem;
}

.widget_recent_entries li,
.widget_recent_comments li { margin: 0 0 .5em 2.5em; }

.widget_recent_entries li:before {
    content: "\f054";
    color: #82ac03;
}

.widget_recent_comments li:before {
    content: "\f075";
    color: #82ac03;
}

ul.rel-tag,
ul.rel-cat,
ul.rel-pub {
    list-style: none;
    margin-left: 0;
}
.rel-tag li,
.rel-cat li,
.rel-pub li {
    margin-left: 1em;
}

ul.rel-tag li:before {
    font-family: 'fontawesome';
    content: "\f02b";
    color: #82ac03;
    margin-right: 1em;
}
ul.rel-cat li:before {
    font-family: 'fontawesome';
    content: "\f07b";
    color: #82ac03;
    margin-right: 1em;
}
ul.rel-pub li:before {
    font-family: 'fontawesome';
    content: "\f02d";
    color: #82ac03;
    margin-right: 1em;
}

.widget_archive li { margin: 0; }

.widget_archive li:before {
    content: '';
}

.widget_nav_menu a,
.widget_pages a {
    display: block;
    padding: 1em;
}

.widget_nav_menu li,
.widget_pages li { padding-top: 0; }

.widget_rss li { margin-bottom: .5em; }

.widget_rss .rss-date,
.widget_rss cite {
    display: block;
    font-size: 85%;
}

.widget span.post-date {
    display: block;
    font-size: 12px;
}

/* 10.01 Page-specific widget colours */
.about aside.widget ul li:before {
    color: #83776b;
}

.news aside.widget ul li:before {
    color: #ff8300;
}
.blog aside.widget ul li:before {
    color: #8500a1;
}
.publications aside.widget ul li:before {
    color: #05ccef;
}

.blog aside.widget {
    background: #f8ecfa;
    color: #788077;
    padding: 1em;
}
.blog aside.widget h1.widget-title {
    color: #b466c3;
    border-bottom: none;
    padding: 0;
}
/* override this on the footer widgets */
.blog .footer-widgets aside.widget {
    background: transparent;
    color: #4b4c57;
    padding: 1em;
}
.blog .footer-widgets aside.widget h1.widget-title {
    color: #706458;
    border-bottom: 1px solid #706458;
    padding: 0;
}

/* Make sure select elements fit in widgets */
.widget select { max-width: 100%; }

/* Search widget */
.widget_search .search-submit { display: none; }

/* compensate for margins on footer widgets - below */
.footer-widgets { margin: 0 -4rem; }

.footer-widgets .widget-title,
.footer-widgets .widget a:hover,
.footer-widgets .widget a:focus {
    color: #82ac03;
    background: transparent;
    padding: 0;
    font-weight: 400;
}
.footer-widgets .widget-title { 
    color: #706458;
    border-color: #706458;
    font-size: 20px;
    font-size: 2rem;
    border-bottom: 1px solid #706458;
}
.footer-widgets .widget a.btn:hover,
.footer-widgets .widget a.btn:focus {
    text-transform: uppercase;
}

.footer-widgets .widget {
    float: left;
    width: 25%;
    margin: 0 4rem;
    padding: 0 4rem;
    font-size: 14px;
    font-size: 1.4rem;
}
/*
.footer-widgets .widget:last-child {
    margin-top: 4rem;
}
*/

.footer-widgets .aiwidget-title {
    display: none;
}
.footer-widgets .tweettext a,
.footer-widgets .widget .tweettext a {
    color: #82ac03;
}
.footer-widgets .aiwidgetscss img {
    display: none;
}

.footer-widgets input[type="email"] {
    min-width: 75%;
}

/* Footer widgets responsive */
@media screen and (max-width: 879px) {
    #footer-widgets { width: 100%!important; }

    .footer-widgets .widget {
        float: none;
        width: 100%;
        margin: 0 0 8rem;
    }
}
/* 10.02 Research Methods image widgets */
.research.widget h1 a {
    background: #82ac03;
    color: white;
    display: block;
    padding: 5px 10px;
    margin-top: -7px;
    font-size: 20px;
    font-size: 2rem;
}
.research.widget h1 a:hover {
    color: #e0edb9;
}
#secondary .related-content a:link,
#secondary div.related-content li a:visted {
    color: #82ac03 !important;
}
.related-content a:hover,
.related-content a:active {
    color: #53412f;
}
@media screen and (max-width:600px) {
    aside.research.widget.widget_sp_image img { width: 100%; }
}

/*--------------------------------------------------------------
10.1 Posts Slider
--------------------------------------------------------------*/
.metaslider.posts-slider .caption-wrap {
    background: white;
    background: rgba(255, 255, 255, 0.9);
    opacity: 1;
    font-size: 26px;
    font-size: 2.6rem;
}
.metaslider.posts-slider .caption strong {
    font-style: normal;
    font-weight: 300;
}
.metaslider.posts-slider .caption em { font-size: 75%; }
.metaslider.posts-slider .caption a { color: white; }

.home-slider .flex-control-paging li a,
.posts-slider .flex-control-paging li a {
    background: #d8d8d8;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.home-slider .flex-control-paging li a:hover,
.posts-slider .flex-control-paging li a:hover {
    background: #53412f;
}
.home-slider .flex-control-paging li a.flex-active,
.posts-slider .flex-control-paging li a.flex-active {
    background: #82ac03;
}

/*--------------------------------------------------------------
11.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
11.1 Posts and pages
--------------------------------------------------------------*/
article.sticky {
    color: white;
    width: 100%;
    position: relative;
}
.sticky .entry-title a {
    color: white;
}
.sticky .entry-meta {
    margin-bottom: 0;
}
.sticky .entry-meta a:hover,
.sticky .entry-title a:hover {
    color: #b8e336;
}
.sticky .index-box {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 380px;
}
.sticky .entry-header {
    position: absolute;
    left: 30px;
    top: 280px;
    padding-right: 4em;;
}
.sticky .entry-header .entry-title {
    font-size: 30px;
    font-size: 3rem;
    text-shadow: 0 2px 5px #171717;
    border-bottom: none;
}
@media screen and (max-width: 600px) {
    .sticky .index-box { min-height: 200px; }
    .sticky .entry-header { left: 20px; top: 20px; padding-right: 1em;}
}
@media screen and (max-width: 320px) {
    .sticky .entry-header .entry-title {
        font-size: 20px;
        font-size: 2rem;
    }
}

.hentry { margin: 0 0 1.5em; }

.updated { display: none; }

.single .byline,
.group-blog .byline { display: inline; }

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 1em 4em;
}
.hub-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 1em 3em;
}

.site-content.container {
    padding: 1em;
}

.page-content,
.entry-content,
.entry-summary { margin: 1.5em 0 0; }

.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.flex-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-flex: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 20px;
    margin: 10px 0 0 2%;
}

.page-links {
    margin: 0 0 1.5em;
    clear: both;
}

.entry-title {
    margin: 0 0 2rem;
    font-weight: 400;
    font-size: 40px;
    font-size: 4rem;
    line-height: 1.3em;
    color: #82ac03;
}

.page .entry-title { margin-top: .6em; }

.entry-content a {
    text-decoration: none;
    font-weight: normal;
    color: #82ac03;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.entry-content a:hover { color: #4b4c57; }

/* Typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { margin-bottom: .4em; }

.entry-content h1,
h1.page-title {
    font-size: 32px;
    font-size: 3.2rem;
}

.entry-content h2 {
    font-size: 30px;
    font-size: 3.0rem;
}

.entry-content h3 {
    font-size: 28px;
    font-size: 2.8rem;
}

.entry-content h4 {
    font-size: 26px;
    font-size: 2.6rem;
}

.entry-content h5 {
    font-size: 24px;
    font-size: 2.4rem;
}

.entry-content h6 {
    font-size: 22px;
    font-size: 2.2rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.6em;
}

.entry-content blockquote p {
    font-family: 'EB Garamond', times, serif;
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 1.5em;
}

blockquote cite {
    font-size: 18px;
    font-size: 1.8rem;
}

.callout {
    border: none;
    background-color: #e7eae1!important;
    border-radius: 3px!important;
    margin: 0 0 1.5em 0;
    padding: 1em;
}

.reading-time {
    display: inline-block;
    padding-bottom: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.reading-time:before {
    font-family: 'fontawesome';
    content: '\f017';
    margin-right: 5px;
}

/* Smaller fonts for smaller screens */
@media screen and (max-width: 680px) {
    .entry-title {
        font-size: 32px;
        font-size: 3.2rem;
        line-height: 1.3em;
    }
    .entry-content h1 {
        font-size: 28px;
        font-size: 2.8rem;
    }

    .entry-content h2 {
        font-size: 26px;
        font-size: 2.6rem;
    }

    .entry-content h3 {
        font-size: 24px;
        font-size: 2.4rem;
    }

    .entry-content h4 {
        font-size: 22px;
        font-size: 2.2rem;
    }

    .entry-content h5 {
        font-size: 20px;
        font-size: 2rem;
    }

    .entry-content h6 {
        font-size: 18px;
        font-size: 1.8rem;
    }

    .entry-content p,
    .entry-content ul,
    .entry-content ol  {
        font-size: 18px;
        font-size: 1.8rem;
    }

    .entry-content blockquote p {
        font-size: 22px;
        font-size: 2.2rem;
        line-height: 1.5em;
    }

    blockquote cite {
        font-size: 14px;
        font-size: 1.4rem;
    }
}

/* Blockquotes */
blockquote {
    padding: 0.5em 1.5em 1px;
    margin-bottom: 1em;
    font-style: italic;
    border-left: solid 3px #858585;
    background: #f5f5f5;
    position: relative;
}


blockquote.alignleft {
    float: left;
    width: 50%;
    padding: 1em 0 0;
    margin-right: 2em;
}

blockquote.alignright {
    float: right;
    width: 50%;
    padding: 1em 0 0;
    margin-left: 2em;
}

.index-box blockquote.alignleft,
.index-box blockquote.alignright {
    background: #fff;
    border: none;
}

blockquote em {
    font-style: normal;
}

blockquote cite {
    display: block;
    margin-top: 1em;
    margin-left: 40%;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    line-height: 1.5em;
    text-align: right;
}

/* Blockquotes responsive */
@media screen and (min-width: 1820px) {
    .index-box blockquote.alignright { padding-right: 2em; }
}

@media screen and (min-width: 1320px) {
    .index-box blockquote.alignleft { padding-left: 2em; }
}

@media screen and (max-width: 780px) {
    blockquote.alignleft,
    blockquote.alignright { width: 40%; }
}

@media screen and (max-width:600px) {
    blockquote.alignleft,
    blockquote.alignright {
        width: 100%;
        padding: 1em 1.5em 0;
    }
}

/* Image borders for white-on-white images */

.border-gray {
    border: #b9b9b9 solid 1px;
}

.border-black {
    border: #000 solid 1px;
}

.border-custom {
    border: #cdcd00 solid 1px;
}

/* Meta */
.category-list {
    margin: 1.3em 0 1em;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    display: inline;
}

.category-list a:link,
.category-list a:visited,
.category-list ul li a:link,
.category-list ul li a:visited {
    color: #D18AE0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.single-publication .category-list a:link,
.single-publication .category-list a:visited,
.single-publication .category-list ul li a:link,
.single-publication .category-list ul li a:visited,
.single-publication .entry-footer ul li a:link,
.single-publication .entry-footer ul li a:visited {
    color: #05ccef;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

article .category-list a:before {
    content: '\f07b';
    font-family: 'fontawesome';
    margin-right: 5px;
}

.category-list a:hover,
.category-list a:focus,
.category-list ul li a:hover,
.category-list ul li a:focus {
    color: #cdcd00;
}
.single-publication .entry-footer a:hover,
.single-publication .entry-footer a:focus,
.single-publication .entry-footer ul li a:hover,
.single-publication .entry-footer ul li a:focus {
    color: #53412f;
}

a.post-edit-link:before {
    content: '\f040';
    font-family: 'fontawesome';
    margin-right: 5px;
}

.entry-meta {
    margin-bottom: 2rem;
    padding: 0;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    color: #788083;
}

.entry-meta i,
.reading-time:before {
    color: #D18AE0;
}

.entry-meta a {
    font-weight: 400;
    color: #788083;
}
.sticky .entry-meta a,
.sticky .entry-meta i {
    color: white;
}

.author a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.author a:hover {
    color: #b8e336;
}
span.posted-on,
span.author {
    margin-right: 10px;
}

/* Hides 'on' and '.' in post meta on wide screens. */
.mobile-hide {
    display: inline;
}

/* Meta responsive */
@media screen and (min-width: 1320px) {

    .single .byline,
    .single .posted-on,
    .single .comments-link {
        display: inline-block;
        margin-bottom: 1em;
    }

    .single .author {
        display: inline-block;
        margin-right: 10px;
    }

/*
    .single .mobile-hide {
        display: none;
    }
*/
}

.entry-footer {
    margin-top: 3rem;
    margin-bottom: 5rem;
    font-family: 'Karla', sans-serif;
}

.entry-footer a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.entry-footer ul {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 2em;
    list-style-type: none;
}

.entry-footer li {
    display: inline-block;
    margin-right: 4rem;
}

.entry-footer i {
    margin-right: .5rem;
}

.entry-footer li i {
    color: #d18ae0;
}
.single-publication .entry-footer li i {
    color: #05ccef;
}
.sc-logos {
    margin: 0 auto 0;
    text-align: center;
}
.sc-logos img {
    margin-right: 20px;
}
.sc-logos img:last-of-type {
    margin-right: 0;
}

/*------------------------------------------------------------
11.1.1 Blog Lander
------------------------------------------------------------*/
.entry-content.sticky {
    background: #b466c3;
    padding: 1em 2em;
    margin-top: -2em;
}

.blog-latest .blog-thumbnail,
.top-posts:first-of-type {
    margin-left: -10px;
}
.top-posts {
/*    position: relative;*/
    min-height: 360px;
}

.top-posts .entry-meta {
/*
    position: absolute;
    bottom: 10px;
*/
    font-size: 12px;
    font-size: 1.2rem;
}
.top-posts img {
    width: 397px;
    height: 219px;
}
@media screen and (min-width:601px) and (max-width:1100px) {
    .top-posts img {
    width: 397px;
    height: 150px;
    }
    .top-posts h1 {
        font-size: 20px;
        font-size: 2rem;
    }
}


/*--------------------------------------------------------------
11.2 Index and Archive
--------------------------------------------------------------*/
.taxonomy-description {
    padding-top: 2rem;
    margin: 2rem 0;
    font-family: 'Karla', sans-serif;
    font-style: italic;
    border-top: 1px solid hsl(0, 0%, 75%);
}

.sticky-post {
    position: absolute;
    top: 1rem;
    right: 3rem;
}
.sticky .entry-content p,
.blog-latest p {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.4em;
}

.continue-reading {
    margin: 0 4rem;
    font-family: 'Karla', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.continue-reading a:link,
.continue-reading a:visited {
    color: #cdcd00;
}
.continue-reading a:hover,
.continue-reading a:active {
    color: #53412f;
}

.continue-reading i { margin-left: .5em; }

.search-no-results .content-area,
.error404 .content-area { 
    margin-top: 4rem;
}
.missing404 {
    padding: 3em;
    background: #83776b;
    color: white;
}

.blog-archive {
    padding-bottom: 1.5em;
    border-bottom: 1px solid #d8d8d8;
}
.blog-archive:after {
    clear: both;
}
.blog-archive .blog-thumbnail img {
    padding-right: 1em;
}

/*--------------------------------------------------------------
11.3 Asides
--------------------------------------------------------------*/
.format-aside .entry-content { margin-top: 1em; }

/*--------------------------------------------------------------
11.4 Image Attachments
--------------------------------------------------------------*/

.attachment .entry-title { margin-top: .7em; }

.entry-attachment { margin-bottom: 3rem; }

.featured-caption,
.attachment-caption {
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'EB Garamond', times, serif;
}
.featured-caption {
    margin-bottom: 1.5em;
    padding: 10px;
    background: #f2f2f2;
    max-width: 940px;
}
.featured-caption-hubs {
    margin-bottom: -1.5em;
    padding: 10px;
    color: #464746;
    font-size: 22px;
    font-size: 2.2rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    word-wrap: break-word;
    border-bottom: 8px solid #82ac03;
    z-index: 20;
    position: relative;
    bottom: 60px;
}
@media screen and (min-width: 1160px) and (max-width: 1355px) {
    .featured-caption {
        margin-right: 36px;
    }
}


/*--------------------------------------------------------------
11.5 Comments
--------------------------------------------------------------*/
.comments-link { }

.comments-title {
    font-weight: 300;
    font-size: 22px;
    font-size: 2.2rem;
}

.comments-area > ol {
    padding: 0;
    margin: 2em 0;
    list-style-type: none;
}

ol.children { list-style-type: none; }

.comment-author .avatar {
    display: block;
    float: left;
    width: 50px;
    margin-right: 20px;
}

.comment-author .fn {
    font-weight: 300;
    font-family: 'Karla', sans-serif;
    font-size: 20px;
    font-size: 2rem;
}

.comment-metadata {
    font-size: 14px;
    font-size:1.4rem;
}

.comment-meta { margin-bottom: 1em; }

.comment-content { font-size: 90%; }

.comment-content,
.reply { margin-left: 70px; }

.comment-body {
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: solid hsl(0, 0%, 80%) 1px;
}

.comment-list ol { margin-left: 50px; }

.comment-content a { word-wrap: break-word; }

.reply {
    font-weight: 700;
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'Karla', sans-serif;
}

.comment-content ol { margin-left: 1.5em; }

.bypostauthor > .comment-body {
    position: relative;
    padding: 1em;
    margin-bottom: 2em;
    background: hsl(0, 0%, 93%);
    border: none;
}

/* Comments responsive */
@media screen and (max-width:600px) {
    .comment-list ol { margin-left: 0; }

    .comment-content ol { margin-left: 1.5em; }

    .comment-content,
    .reply { margin-left: 0; }
}

.comment-reply-title {
    margin-bottom: .5em;
    font-weight: 400;
    font-size: 30px;
    font-size: 3rem;
}

.comment-form {
    padding-bottom: 4rem;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
}

.comment-form textarea {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    font-size: 1.8rem;
}

.comment-form label { display: block; }

.required { color: red; }

/*--------------------------------------------------------------
11.6 Author Box
--------------------------------------------------------------*/
.reveal-bio {
    max-width: 780px;
    max-width: 78rem;
    margin: 0 auto;
    background: #fff;
}

.reveal-bio a {
    display: block;
    padding: 2rem 0;
    margin: 0 auto;
    font-weight: 700;
    font-size: 26px;
    font-size: 2.6rem;
    color: #bfbfbf;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.reveal-bio a:hover,
.reveal-bio a:focus {
    text-decoration: none;
    color: #82ac03;
}

.shorter { padding: 0!important; }

.hide-fix {
    padding: 0!important;
    margin-bottom: 2rem!important;
}
.author-info {
    padding-top: 1rem;
    margin: 0 4rem 0 0;
}
.author-avatar {
    float: left;
    margin: 0 2rem 0 0;
    width: 100px;
    height: 100px;
}
.author-avatar img {
    display: block;
    border: 3px solid #ddd;
    border-radius: 50%;
}
.author-title {
    margin-bottom: .8rem;
    font-size: 36px;
    font-size: 3.6rem;
    line-height: 1;
}
.author-meta {
    border-bottom: 3px solid #82ac03;
    background: #f2f2f2;
    padding: 1em 1em 0;
    margin-bottom: 2rem;
    font-family: 'Karla', sans-serif;
}
.share-and-more {
    padding: .1rem 0 1.1rem;
    font-size: 20px;
    font-size: 2rem;
    font-style: italic;
}
@media screen and (max-width: 600px) {
    .archive.author .page-header { margin-bottom: 0; padding: 1em 0 0; }
    .archive.author h1.page-title { font-size: 28px; font-size: 2.8rem; }
    .reveal-bio { display: none; }
    .author-avatar { margin: 1rem 2rem 0 1rem; width: 80px; height: 80px; }
    .author-info { margin: 0; }
    .author-title { font-size: 24px; font-size: 2.4rem; }
    .share-and-more { font-size: 14px; font-size: 1.4rem; }
    .author-social-media a { margin-top: 0.5em; margin-left: 0; display: block; }
}
.author-social-media { 
    display: block;
    font-size: 16px;
    font-size: 1.6rem;
}

.author-social-media a {
    margin-left: 1.5rem;
    color: #82ac03;
}

.author-social-media a:hover,
.author-social-media a:focus { text-decoration: none; }

a.author-link {
    font-weight: 300;
    font-family: 'Karla', sans-serif;
    color: #82ac03;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a.author-link:hover {
    color: #53412f;
}

.author-link i { margin-left: 1rem; }

.author-meta,
.author-description { margin-left: 12rem; }

.author-description h1 {
    margin-left: -12rem;
}

/* Author Box responsive */
@media screen and (max-width: 600px) {
    .author-meta,
    .author-description,
    .author-description h1 { margin-left: 0; }
}

/*--------------------------------------------------------------
11.7 Utility Styles
--------------------------------------------------------------*/
.clear,
.clearfix {
    clear: both;
}
.full-width {
    padding: 1em 0; /* was just 1em */
}
.border {
    border: 1px solid #e5e5e5;
}
.grey-bg {
    background: #f5f5f5;
    padding: 10px;
}
.pad-0 {
    padding: 0;
}
.pad-1 {
    padding: 1em;
}
.ml-4 {
    padding: 1em 0;
}
.mr-10 {
    margin-right: 10px;
}
.mb-1 {
    margin-bottom: 1em;
}
.mb-1-5 {
    margin-bottom: 1.5em;
}
.red-text {
    color: #df0046;
}
.small {
    font-size: 12px;
    font-size: 1.2rem;
}
.rnd-corners {
    border-radius: 3px;
}
.no-padding {
    margin: -2em -2em 2em;
}

/*--------------------------------------------------------------
11.8 - Landing Pages
--------------------------------------------------------------*/

/* 11.81 - News & Media */
.news-media .lander-widget {
    background: #f5f5f5;
    width: 48%;
    float: left;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin: 120px 1% 2em;
    padding: 2em;
    min-height: 470px;
    position: relative;
}
h1.lander-title,
.lander-widget .widget-title {
    color: #788077;
    font-size: 18px;
    font-size: 1.8rem;
    border-bottom: none;
    padding-left: 0;
    margin-bottom: 20px;
    padding-top: 20px;
}
.news-media .lander-widget:before {
    position: absolute;
    left: 0;
    top: -120px;
    width: 100%;
    display: block;
    font-family: 'fontawesome';
    text-align: center;
    font-size: 80px;
    color: white;
    background: #ff8300;
    border-bottom: 0 solid #ff8300;
    padding: 0.05em;
    content: '\f08e';
}
.news-media .lander-widget:nth-child(1):before {
    content: '\f130'; /* microphone */
}
.news-media .lander-widget:nth-child(3):before {
    content: '\f03d'; /* video camera */
}
.news-media .lander-widget:nth-child(4):before  {
    content: '\f0a1'; /* megaphone */
}
.news-media .lander-widget:nth-child(2):before {
    content: '\f1ea'; /* newspaper */
}
.news-media ul {
    margin-left: 0;
}

/* 11.82 Research */
/* Masonry Custom CSS  */

/* Masonry container */
body.page-template-research section#blocks,  {
-webkit-column-count: 4;
column-count: 4;
-webkit-column-gap: 1em;
column-gap: 1em;
}

/* Masonry bricks or child elements */

#blocks article {
background-color: #82ac03;
display: inline-block;
margin: 1em 1em 0 0;
width: calc(32.5% - 1em);
vertical-align: top;
text-align: center;
margin-bottom: 10px;
position: relative;
}
body.page-template-research-lander #blocks article:last-child {
    margin: 1em auto;
    /*left: 32.5%;*/
}
body.page-template-learning-lander #blocks article {
    background: #880c6f;
}

body.archive .archive-header,
body.blog .paging-navigation,
body.archive .paging-navigation {
background-color: #ffffff;
-webkit-column-span: all;
column-span: all;
}

#blocks h1 a:link,
#blocks h1 a:visited {
    color: white;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#blocks h1 a:hover,
#blocks h1 a:active {
    opacity: 0.7;
}

#blocks img.attachment-full {
    margin-bottom: -8px;
}

/* 11.83 Learning */
body.page-template-learning-lander #blocks article:last-child {
    margin: 1em auto;
}

/* 11.84 Publications */
.grid-publications {
    position: relative;
    background-color: #05ccef;
    height: 260px;
    padding: 10px;
    margin-bottom: 60px;
    font-size: 18px;
    font-size: 1.8rem;
    text-align: center;
    display: table;
}
.grid-content {
    display: table-cell;
    vertical-align: middle;
}
.grid-publications a:link,
.grid-publications a:visited {
    color: white;
}
.grid-publications a:hover,
.grid-publications a:active {
    color: white;
    color: rgba(255,255,255,0.6);
}
.publications-author {
    color: white;
    font-size: 14px;
    font-size: 1.4rem;
    padding-top: 1em;
}
.publication-list {
    min-height: 220px;
}
.publications-author.list {
    color: #788077;
    border-bottom: 1px solid #f2f2f2;
}
.publications-type {
    position: absolute;
    left: 0;
    bottom: -45px;
    width: 100%;
    padding: 10px;
    background: #dadada;
    text-transform: uppercase;
}
.type-of-publication {
    text-transform: uppercase;
    font-style: italic;
    float: right;
    width: 120px;
    height: 120px;
    background: white;
    border: 3px solid #82ac03;
    border-radius: 50%;
    display: table;
    text-align: center;
    margin-top: -10px;
}
.type-info {
    display: table-cell;
    vertical-align: middle;
    font-size: 80%;
}
.type-info .fa {
    display: block;
    font-size: 200%;
}
.publication-info {
    padding: 1em;
    background: #f2f2f2;
    border-bottom: 3px solid #82ac03;
    margin-bottom: 1rem;
}
@media screen and (max-width: 600px) {
    .type-of-publication { width: 100px; height: 100px; }
}
.list-header {
    padding: 1em;
    background: #f2f2f2;
    margin-bottom: 1em;
}
.entry-content p.article-authors {
    margin-bottom: 0;
}
.list-fields,
.list-fields ul {
    font-size: 14px;
    font-size: 1.4rem;
}
.list-fields ul {
    list-style: none;
    margin-left: 0;
}
.list-excerpt {
    margin-bottom: 2em;
}
.list-excerpt p {
    font-size: 14px;
    font-size: 1.4rem;
}
.dl-link {
    padding-bottom: 2em;
    border-bottom: 1px solid #f2f2f2;
}
/* publications sidebars */
#search_author_form { margin-bottom: 2em; }

/*------------------------------------------------------------
11.9 Hub Pages
------------------------------------------------------------*/
.hub-bnr img,
.hubs .overlay-blog img {
    width: 100%;
}
.hubs .overlay-blog img {
    max-height: 162px;
}

.hubs div.col-1-3 {
    text-align: center;
    padding-bottom: 30px;
}

.hubs a.more-link:link,
.hubs a.more-link:visited {
    color: white;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0.5em 1em;
    border: 2px solid white;
    border-radius: 3px;
    text-align: center;
    margin: 1em auto;
    position: relative;
    z-index: 2;
}
.hubs a.more-link:hover,
.hubs a.more-link:active {
    background: white;
    opacity: 1;
    color: #880c6f;
}
.hubs .research-projects a.more-link:hover,
.hubs .research-projects a.more-link:active {
    color: #acb131;
}
.hubs .research-publications a.more-link:hover,
.hubs .research-publications a.more-link:active {
    color: #05ccef;
}
.hubs .research-news a.more-link:hover,
.hubs .research-news a.more-link:active {
    color: #ff8300;
}
@media screen and (max-width: 600px) {
    nav#hub-navigation {
    display: none;
    }
    .col-1-3.global-posts:after {
    clear: both;
    display: table;
    content: '';
    }
}
.global-comment,
.meet-the-team {
    padding: 2em;
    margin: 1.5em 0;
}
.global-news,
.global-comment {
     margin: 1.5em 0;
}
.global-news:after,
.global-comment:after {
    clear: both;
    display: table;
    content: '';
}
.glb-post-thumb img { max-height: 162px; }

.glb-post-title { }

.glb-post-title h2.glb-hub-name {
    font-size: 22px;
    font-size: 2.2rem;
}

.hubs .overlay-blog .mask.research-projects,
.hubs .research-publications .overlay-publications {
    font-size: 18px;
    font-size: 1.8rem;
}
.col-1-3.global-posts h2{
    color: #788077;
}
ul.hub-team {
    list-style: none;
    margin-left: 0;
}
li.team-member {
    text-align: center;
    float: left;
    width: 31.9893983%;
    margin: 0 1.2893983% 16px 0;
}
li.team-member .team-photo,
li.team-member .team-name,
li.team-member .team-title,
li.team-member .team-email {
    display: block;
    margin: 10px auto;
}
li.team-member .team-name {
    text-transform: uppercase;
    font-weight: 700;
}
li.team-member .team-title,
li.team-member .team-email {
    font-size: 12px;
    font-size: 1.2rem;
}
img.team-photo {
    max-width: 250px;
    max-height: 250px;
    border-radius: 50%;
}
ul.hub-team:after {
    clear: both;
    display: table;
    content: '';
}
.global-hub a:link,
.global-hub a:visited {
    color: #82ac03#82ac03;
}
.global-hub a:hover,
.global-hub a:active {
    opacity: 0.8;
}
.global-hub h1,
.global-hub h2,
.global-hub .hub-freetext h1,
.global-hub .hub-freetext h2 {
    color: #82ac03;
    border-color: #82ac03;
    font-size: 36px;
    font-size: 3.6rem;
}
.global-hub .global-comment {
    color: white;
    background: #82ac03;
}
.global-hub .global-comment h1,
.global-hub .global-comment h2.glb-hub-name,
.global-hub .global-comment a:link,
.global-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

.entry-header.hubs,
.entry-content.hubs {
    max-width: 1300px;
    max-width: 130rem;
    padding: 0;
}
.hub-freetext:after {
    clear: both;
    display: table;
    content: '';
}
/* Hub archives */
.tag-africa-sustainability-hub .taxonomy-description {
    display: none;
}

.tag-archives .index-box {
    padding: 1em 2em;
}
.tag-archives .entry-title {
    color: white;
    background: #f2f2f2;
    padding: 10px 1em;
}
.tag-archives .entry-title.post {
    background: #b466c3;
}
.tag-archives .entry-title.project {
    background: #acb131;
}
.tag-archives .entry-title.publication {
    background: #05CCEF;
}
.tag-archives .entry-title.news {
    background: #FF8300;
}
p.tag-type {
    text-transform: uppercase;
}
.tag-type.post:before {
    font-family: 'fontawesome';
    content: '\f0f6';
    margin-right: 10px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 50%;
}
.tag-type.post {
    color: #b466c3;
}
.tag-type.project:before {
    font-family: 'fontawesome';
    content: '\f085';
    margin-right: 10px;
    padding: 15px;
    border: 1px solid;
    border-radius: 50%;
}
.tag-type.project {
    color: #acb131;
}
.tag-type.publication:before {
    font-family: 'fontawesome';
    content: '\f02d';
    margin-right: 10px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 50%;
}
.tag-type.publication {
    color: #05CCEF;
}
.tag-type.news:before {
    font-family: 'fontawesome';
    content: '\f1ea';
    margin-right: 10px;
    padding: 15px;
    border: 1px solid;
    border-radius: 50%;
}
.tag-type.news {
    color: #FF8300;
}

/* Africa */
.africa-hub a:link,
.africa-hub a:visited {
    color: #2B8000;
}
.africa-hub a:hover,
.africa-hub a:active {
    opacity: 0.8;
}
.africa-hub .featured-caption-hubs {
    border-bottom-color: #2B8000;
}
.africa-hub h1,
.africa-hub h2,
.africa-hub .hub-freetext h1,
.africa-hub .hub-freetext h2{
    color: #2B8000;
    border-color: #2B8000;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.africa .menu-hubs-container {
    background: #2b8000;
}
.hub-navigation.africa #menu-hubs li a:link,
.hub-navigation.africa #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.africa #menu-hubs li a:hover,
.hub-navigation.africa #menu-hubs li a:active {
    opacity: 0.7;
}
.africa-hub .meet-the-team {
    background: url(images/style/africa-team.jpg) no-repeat;
    background-size: cover;
}
.africa-hub .global-comment {
    color: white;
    background: #2b8000;
}
.africa-hub .global-comment h1,
.africa-hub .global-comment h2.glb-hub-name,
.africa-hub .global-comment a:link,
.africa-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

/* China */
.china-hub a:link,
.china-hub a:visited {
    color: #d80d0d;
}
.china-hub a:hover,
.china-hub a:active {
    opacity: 0.8;
}
.china-hub .featured-caption-hubs {
    border-bottom-color: #d80d0d;
}
.china-hub h1,
.china-hub h2,
.china-hub .hub-freetext h1,
.china-hub .hub-freetext h2{
    color: #d80d0d;
    border-color: #d80d0d;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.china .menu-hubs-container {
    background: #d80d0d;
}
.hub-navigation.china #menu-hubs li a:link,
.hub-navigation.china #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.china #menu-hubs li a:hover,
.hub-navigation.china #menu-hubs li a:active {
    opacity: 0.7;
}
.china-hub .meet-the-team {
    background: url(images/style/china-team.jpg) no-repeat;
    background-size: cover;
}
.china-hub .global-comment {
    color: white;
    background: #d80d0d;
}
.china-hub .global-comment h1,
.china-hub .global-comment h2.glb-hub-name,
.china-hub .global-comment a:link,
.china-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

/* Europe */
.europe-hub a:link,
.europe-hub a:visited {
    color: #1337c5;
}
.europe-hub a:hover,
.europe-hub a:active {
    opacity: 0.8;
}
.europe-hub .featured-caption-hubs {
    border-bottom-color: #1337c5;
}
.europe-hub h1,
.europe-hub h2,
.europe-hub .hub-freetext h1,
.europe-hub .hub-freetext h2{
    color: #1337c5;
    border-color: #1337c5;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.europe .menu-hubs-container {
    background: #1337c5;
}
.hub-navigation.europe #menu-hubs li a:link,
.hub-navigation.europe #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.europe #menu-hubs li a:hover,
.hub-navigation.europe #menu-hubs li a:active {
    opacity: 0.7;
}
.europe-hub .meet-the-team {
    background: url(images/style/europe-team.jpg) no-repeat;
    background-size: cover;
}
.europe-hub .global-comment {
    color: white;
    background: #283a80;
}
.europe-hub .global-comment h1,
.europe-hub .global-comment h2.glb-hub-name,
.europe-hub .global-comment a:link,
.europe-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

/* Latin America */
.latin-hub a:link,
.latin-hub a:visited {
    color: #891906;
}
.latin-hub a:hover,
.latin-hub a:active {
    opacity: 0.8;
}
.latin-hub .featured-caption-hubs {
    border-bottom-color: #891906;
}
.latin-hub h1,
.latin-hub h2,
.latin-hub .hub-freetext h1,
.latin-hub .hub-freetext h2{
    color: #891906;
    border-color: #891906;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.latin .menu-hubs-container {
    background: #891906;
}
.hub-navigation.latin #menu-hubs li a:link,
.hub-navigation.latin #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.latin #menu-hubs li a:hover,
.hub-navigation.latin #menu-hubs li a:active {
    opacity: 0.7;
}
.latin-hub .meet-the-team {
    background: url(images/style/latin-team.jpg) no-repeat;
    background-size: cover;
}
.latin-hub .global-comment {
    color: white;
    background: #ce4932;
}
.latin-hub .global-comment h1,
.latin-hub .global-comment h2.glb-hub-name,
.latin-hub .global-comment a:link,
.latin-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

/* South Asia */
.asia-hub a:link,
.asia-hub a:visited {
    color: #bd209e;
}
.asia-hub a:hover,
.asia-hub a:active {
    opacity: 0.8;
}
.asia-hub .featured-caption-hubs {
    border-bottom-color: #bd209e;
}
.asia-hub h1,
.asia-hub h2,
.asia-hub .hub-freetext h1,
.asia-hub .hub-freetext h2{
    color: #bd209e;
    border-color: #bd209e;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.asia .menu-hubs-container {
    background: #bd209e;
}
.hub-navigation.asia #menu-hubs li a:link,
.hub-navigation.asia #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.asia #menu-hubs li a:hover,
.hub-navigation.asia #menu-hubs li a:active {
    opacity: 0.7;
}
.asia-hub .meet-the-team {
    background: url(images/style/asia-team.jpg) no-repeat;
    background-size: cover;
}
.asia-hub .global-comment {
    color: white;
    background: #bd209e;
}
.asia-hub .global-comment h1,
.asia-hub .global-comment h2.glb-hub-name,
.asia-hub .global-comment a:link,
.asia-hub .global-comment a:visited {
    color: white;
    border-color: white;
}


/* America */
.america-hub a:link,
.america-hub a:visited {
    color: #CC9900;
}
.america-hub a:hover,
.america-hub a:active {
    opacity: 0.8;
}
.america-hub .featured-caption-hubs {
    border-bottom-color: #CC9900;
}
.america-hub h1,
.america-hub h2,
.america-hub .hub-freetext h1,
.america-hub .hub-freetext h2{
    color: #CC9900;
    border-color: #CC9900;
    font-size: 36px;
    font-size: 3.6rem;
}
.hub-navigation.america .menu-hubs-container {
    background: #CC9900;
}
.hub-navigation.america #menu-hubs li a:link,
.hub-navigation.america #menu-hubs li a:visited {
    color: white;
}
.hub-navigation.america #menu-hubs li a:hover,
.hub-navigation.america #menu-hubs li a:active {
    opacity: 0.7;
}
.america-hub .meet-the-team {
    background: url(images/style/america-team.jpg) no-repeat;
    background-size: cover;
}
.america li.team-member {
    min-height: 440px;
}
@media screen and (max-width: 1046px) {
    .america li.team-member {
    min-height: 400px;
    }
    img.team-photo {
        max-width: 200px;
    }
}
@media screen and (max-width: 825px) {
    .america li.team-member {
    width: 45%;
    margin-right: 4.5%;
    word-break: break-word;
    }
    .team-name {
        font-size: 14px;
        font-size: 1.4rem;
    }
    img.team-photo {
        max-width: 100%;
    }
}
.america-hub .global-comment {
    color: white;
    background: #CC9900;
}
.america-hub .global-comment h1,
.america-hub .global-comment h2.glb-hub-name,
.america-hub .global-comment a:link,
.america-hub .global-comment a:visited {
    color: white;
    border-color: white;
}

/* Hub archives */
.tag-africa-sustainability-hub .taxonomy-description,
.tag-china-sustainability-hub .taxonomy-description,
.tag-america-sustainability-hub .taxonomy-description {
    display: none;
}

@media screen and (max-width:700px) {
    
    .global .container {
        padding: 0;
    }
    .featured-caption-hubs {
        font-size: 12px;
        font-size: 1.2rem;
        bottom: 46px;
    }
    .hubs h1,
    .hubs .hub-freetext h1,
    .hubs .hub-freetext h2 {
        font-size: 26px;
        font-size: 2.6rem;
    }
    img.alignleft {
        display: block;
        margin-right: auto;
        margin-bottom: 1em;
        margin-left: auto;
        float: none;
    }
    li.team-member {
        width: 45%;
    }
}

/*--------------------------------------------------------------
12.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
13.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
        border: none;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption-text { text-align: left; }

.wp-caption .wp-caption-text,
.gallery-caption {
    padding: 0.8075em 1em;
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'EB Garamond', serif;
    background: #e5e5e5;
}

.site-main .gallery { margin-bottom: 1.5em; }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 50%;
    width: 100%;
    padding: 6px 8px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
    text-align: left;
    background-color: hsla(0, 0%, 0%, .8);
    opacity: 0;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption{ opacity: 1; }

.site-main .gallery a img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: none;
}

.site-main .gallery-item {
    position: relative;
    float: left;
    max-width:100%;
    margin-right: 3.333333333%;
    margin-bottom: 3rem;
    overflow: hidden;
    background: #333;
}

.site-main .gallery dd,
.site-main .gallery figcaption { margin: 0; }

.site-main .gallery-columns-4 .gallery-item { }

.site-main .gallery-columns-4 .gallery-item img { }

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object { max-width: 100%; }

img.circle {
    border-radius: 50%;
    border: 5px solid #f2f2f2;
}

/* Featured Images */
.featured-images {
    margin-bottom: 1.5em;
    max-width: 940px;
}

.single-post-thumbnail {
    max-width: 940px;
}
.single-post-thumbnail.lander-img {
    max-width: 100%;
}

.front-index-thumbnail { margin-bottom: -3.2em; }

@media screen and (max-width: 779px){
    .front-index-thumbnail { margin-bottom: 0; }
}

.single-post-thumbnail img,
.front-index-thumbnail img,
.single-post-thumbnail.lander-img img {
    display: block;
    margin: 0 auto;
    margin-left: 0;
}

@media screen and ( max-width: 1355px ) and ( min-width: 1160px ) {
    
    .single-post-thumbnail img,
    .front-index-thumbnail img {
        padding-right: 2em;
    }
    
    
}

.single-post-thumbnail.lander-img img {
    width: 100%;
}

.has-thumbnail {
    position: relative;
    margin-top: -8em;
}

.small-index-thumbnail { margin-top: -1em; }

/*--------------------------------------------------------------
14 Footer
--------------------------------------------------------------*/

.site-footer {
    padding: 2em;
    font-size: 16px;
    font-size: 1.6rem;
    font-family: 'Karla', sans-serif;
    color: #4b4c57;
    background: #DADADA;
    background-size: 640px 352px;
}
.site-footer.with-map {
    background-position: 50% 77%;
}

.site-footer.credits {
    color: #fff;
    background: #788077;
    padding: 1em 4em;
    border-top: 6px solid #82ac03;
}

.client-logos { /* logo slider */
    padding-bottom: 2em;
    border-bottom: 1px solid #e5e5e5;
}
.home .client-logos {
    padding: 1em 0;
    background: #f2f2f2;
}
.client-logos img.grayscale {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); /* For Webkit browsers */
    filter: gray; /* For IE 6 - 9 */
    -webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    opacity: 0.5;
    cursor: pointer;
}

.client-logos img.grayscale:hover {
filter: grayscale(0%);
-webkit-filter: grayscale(0%);
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    opacity: 1;
}

div.metaslider + #supplementary {
    padding-top: 2em;
}

.site-footer a {
    color: #4b4c57;
}

.site-info { text-align: center; }

.site-info a { color: #fff; }

.site-info a:hover { color: #82ac03; }

.footer-widgets form label {
    display: block;
}

/*--------------------------------------------------------------
15 Scrollup
--------------------------------------------------------------*/
a#scrollup {
    background-color: #82ac03;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: #fff;
    display: none;
    -webkit-font-smoothing: antialiased;
    font: normal 24px/1 'fontawesome';
    padding: 5px;
    position: fixed;
    right: 20px;
    bottom: 42px;
    text-decoration: none;
    vertical-align: top;
    opacity: 0.9;
    filter:alpha(opacity=80); /* For IE8 and earlier */
    z-index: 999;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a#scrollup:before {
    content: '\f077';
}
a#scrollup:hover {
    opacity: 1;
    filter:alpha(opacity=100); /* For IE8 and earlier */
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
@media screen and (max-width: 767px) {

    a#scrollup {
        font-size: 22px;
        padding: 3px;
        bottom: 20px;
    }

}

/*--------------------------------------------------------------
16 Plugins
--------------------------------------------------------------*/

/*--------------------------------------------------------------
16.01 Shortcodes
--------------------------------------------------------------*/
/* accordions */
.su-spoiler {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
}
#main .su-accordion .su-spoiler-style-default .su-spoiler-title span.su-spoiler-icon {
    color: white;
    right: 10px;
}
#main .su-spoiler-title {
    color: white;
    font-size: 20px;
    font-size: 2rem;
    font-weight: 300;
    background: #cdcd00;
    border-radius: 3px;
}
.su-spoiler-content {
    padding-right: 1em!important;
    background: white;
}
/* tabs */
#main .su-tabs-nav span {
    font-size: 20px;
    font-size: 2rem;
    color: #cdcd00;
}
/* columns */
[class*="su-column"] + [class*="su-column"]:last-child {
    margin-right: 0;
}
.su-column-inner h2 {
    background: #cdcd00;
    margin: 0 -0.6em;
    color: white;
}
/* notes */
div.su-note,
div.su-note-inner {
    border: none;
    background-color: #fceff9!important;
    border-radius: 3px!important;
}

/*--------------------------------------------------------------
16.1 Accordions
--------------------------------------------------------------*/

@media screen and ( max-width: 600px ) {
    
    #accordions-8895 .btn,
    #accordions-8895 button,
    #accordions-8895 a.button,
    #accordions-8895 input[type="button"],
    #accordions-8895 input[type="reset"],
    #accordions-8895 input[type="submit"] {
        font-size: 14px;
        font-size: 1.4rem;
        padding: 0.75em 0.5em;
    }
    #accordions-10440 .accordions-head {
        font-size: 16px;
        font-size: 1.6rem;
    }
    
}


/*--------------------------------------------------------------
pick accordions
--------------------------------------------------------------*/
.accordions .accordion-icons.left {
    float: right;
}
.ui-accordion .ui-accordion-header,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: none;
    border-radius: 0;
    text-transform: uppercase;
}

/*--------------------------------------------------------------
16.2 Events
--------------------------------------------------------------*/
/* events photo layout */
body.tribe-events-photo div.content-area,
body.tribe-events-uses-geolocation div.content-area  {
    width: 100%;
    float: none;
    margin-right: 0;
}

/* titles */
.tribe-events-list #tribe-events-photo-events .tribe-events-event-details h2 a {
    color: #df0046;
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 1em;
}
/* meta date/time */
.tribe-events-loop .tribe-events-event-meta {
    padding: 1em 0;
}

/* content */
.tribe-events-loop .tribe-events-content p {
    font-size: 18px;
    font-size: 1.8rem;
}

#tribe-geo-results h2.tribe-events-page-title,
h2.tribe-events-page-title {
    color: #82ac03;
    font-weight: 400;
    font-size: 40px;
    font-size: 4rem;
    padding-left: 20px;
    text-align: left;
    border-bottom: 1px solid #82ac03;
}

/* export month's events bg */
#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
    background-color: #858585;
}

/* current date */
#tribe-events-content .tribe-events-calendar td.tribe-events-present.mobile-active:hover, .tribe-events-calendar td.tribe-events-present.mobile-active, .tribe-events-calendar td.tribe-events-present.mobile-active div[id*="tribe-events-daynum-"], .tribe-events-calendar td.tribe-events-present.mobile-active div[id*="tribe-events-daynum-"] a {
    background-color: #53412f;
}

/* month pagination under calendar */
.tribe-events-sub-nav li a {
    background: #f5f5f5;
    color: #858585;
}
.tribe-events-sub-nav li a:hover {
    color: #FF2842;
}

/* tooltip styling */
#tribe-events-content .tribe-events-tooltip h4 {
    font-weight: 400;
}
#tribe-events-content .tribe-events-tooltip h4, 
#tribe_events_filters_wrapper .tribe_events_slider_val, 
.single-tribe_events a.tribe-events-gcal, 
.single-tribe_events a.tribe-events-ical,
.tribe-events-has-events h3 a {
    color: #ff2842;
}
.tribe-events-event-body p {
    font-size: 15px;
    font-size: 1.5rem;
}
/* photo events page */
#tribe-events-photo-events {
    min-height: 700px;
}
/* event page styling */
span.tribe-event-date-start,
span.tribe-event-time,
span.timezone,
h3.tribe-events-single-section-title,
.tribe-events-meta-group .tribe-events-single-section-title {
    font-weight: 300;
}

.single-tribe_events .tribe-events-content {
    word-break: break-word;
}
.tribe-events-notices {
    background: #ff2842;
    border-color: transparent;
    color: white;
    text-shadow: none;
}
#tribe-events-pg-template .tribe-events-content h3,
.tribe-events-after-html h3,
.tribe-events-before-html h3,
#tribe-events-pg-template .tribe-events-content h4,
.tribe-events-after-html h4,
.tribe-events-before-html h4 {
    color: #858585;
    font-size: 28px;
    font-size: 2.8rem;
    text-transform: capitalize;
}
.tribe-events-cost { margin-right: 20px; }
.event-ticket-btn {
    display: inline-block;
}
.event-ticket-btn a {
    color: white;
    background: #ff2842;
    padding: 3px 15px;
    text-transform: uppercase;
    border-radius: 3px;
}
.event-ticket-btn a:hover {
    color: white;
    background: #ff2842;
}

/*--------------------------------------------------------------
16.3 Reviews
--------------------------------------------------------------*/
#secondary.events #ttshowcase_0 .tt_theme_speech .ttshowcase_rl_quote_sided .ttshowcase_rl_quote,
#secondary.events #ttshowcase_0 .tt_theme_speech .ttshowcase_rl_quote_block .ttshowcase_rl_quote,
#secondary.events #ttshowcase_0 .tt_theme_speech .ttshowcase_rl_quote_sided .ttshowcase_rl_quote a,
#secondary.events #ttshowcase_0 .tt_theme_speech .ttshowcase_rl_quote_block .ttshowcase_rl_quote a, /* rounded style */
#secondary.events .ttshowcase_rl_quote_block,
#secondary.events #ttshowcase_0 .tt_theme_card .ttshowcase_rl_quote_sided,
#secondary.events #ttshowcase_0 .tt_theme_card .ttshowcase_rl_quote_block .ttshowcase_rl_quote, #ttshowcase_0 .tt_theme_card .ttshowcase_rl_quote_sided a,
#secondary.events #ttshowcase_0 .tt_theme_card .ttshowcase_rl_quote_block .ttshowcase_rl_quote a {
    background: white;
}
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-left,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-left a,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-right,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-right a,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-below,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-below a,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-above,
#secondary.events #ttshowcase_0 .tt_theme_card .tt_info-above a {
    background: #b2b2b2;
    color: white;
}
/* for case studies, sectors & training */
#main div.tt_quote_info-below.ttshowcase_rl_quote_block .ttshowcase_rl_quote {
    background: #45639d;
    color: white;
}
#main div.tt_quote_info-below.ttshowcase_rl_quote_block  .ttshowcase_rl_quote::after {
    border-top-color: #45639d;
}
/* home page override */
body.home #main div.tt_quote_info-below.ttshowcase_rl_quote_block .ttshowcase_rl_quote {
    background: #e8e8e8;
    color: #333;
}
body.home #main div.tt_quote_info-below.ttshowcase_rl_quote_block  .ttshowcase_rl_quote::after {
    border-top-color: #e8e8e8;
}


/*--------------------------------------------------------------
16.4 ACF
--------------------------------------------------------------*/
section.photo-credits {
    font-size: 10px;
    font-size: 1rem;
    border-top: 1px solid #f2f2f2;
    padding-top: 10px;
}
section.project-footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 1.5em;
    margin-top: 1.5em;
}
/*--------------------------------------------------------------
16.5 Gravity Forms
--------------------------------------------------------------*/
.gform_wrapper .gform_body li {
    margin-bottom: 10px;
}
.gform_wrapper .gform_body .top_label .gfield_label {
    font-family: 'Karla', sans-serif;
    font-weight: 300;
    color: #45639d;
    line-height: 1;
    margin-bottom: 0;
}
#main .gform_wrapper input[type=email],
#main .gform_wrapper input[type=number],
#main .gform_wrapper input[type=password],
#main .gform_wrapper input[type=tel],
#main .gform_wrapper input[type=text],
#main .gform_wrapper input[type=url],
#main .gform_wrapper textarea {
    font-size: 14px;
    font-size: 1.4rem;
    padding: 5px;
    line-height: 2.2;
}
#main .gform_wrapper div.validation_error {
    color: #95227e;
    font-size: 1.2em;
    font-weight: 300;
    border-top: 2px solid #95227e;
    border-bottom: 2px solid #95227e;
}
#main .gform_wrapper li.gfield.gfield_error,
#main .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    border-top: 2px solid #95227e;
    border-bottom: 2px solid #95227e;
    background-color: #fceff9;
}
#main .gform_wrapper .validation_message {
    color: #95227e;
    font-weight: 300;
}


/*--------------------------------------------------------------
16.6 Twitter
--------------------------------------------------------------*/
.aiwidgetscss.widget {
    padding: 10px;
    background: #f2f2f2;
}
.aiwidgetscss.widget h3.widget-title {
    display: none;
}

/*--------------------------------------------------------------
16.7 Video Gallery
--------------------------------------------------------------*/
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 {
    background: #ff8300 !important;
    border: none;
    max-width: 277px;
}
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 .title-block_1 {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 .title-block_1 h3 {
    color: white;
    font-size: 14px !important;
    padding-right: 0 !important;
    padding-left: 2% !important;
}
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 .title-block_1 .button-block {
    border-left: none !important;
}
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 .title-block_1 a,
.entry-content .video-element_1 .title-block_1 a:link,
.entry-content .video-element_1 .title-block_1 a:visited,
.entry-content #huge_it_videogallery_content_1 #huge_it_videogallery_container_1 .video-element_1 .title-block_1 a:hover,
.entry-content .video-element_1 .title-block_1 a:focus,
.entry-content .video-element_1 .title-block_1 a:active {
    background: #ff8300 !important;
    border: 1px solid white !important;
    text-transform: uppercase;
}
/* popup */
.pupup-element .button-block a,
.pupup-element .button-block a:link,
.pupup-element .button-block a:visited {
    background: white !important;
    color: #ff8300 !important;
    border: 1px solid #ff8300 !important;
    border-radius: 3px;
    text-transform: uppercase; 
}
.pupup-element .button-block a:hover,
.pupup-element .button-block a:focus,
.pupup-element .button-block a:active {
    background: #ff8300 !important;
    color: white !important;
}
#huge_it_videogallery_popup_list_1 .popup-wrapper_1 .image-block_1 {
    border-right: none !important;
}

/*------------------------------------------------------------
16.8 Meta Slider
------------------------------------------------------------*/
.metaslider.home-slider {
    margin-bottom: 0;
}
.home-slider a.more-link {
    color:white;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.home-slider a.more-link:hover {
    padding-left: 10px;
}
.home-slider a.more-link::after {
    margin-left: 10px;
}
.home-slider .metaslider .caption-wrap {
    color: #464746;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
    font-size: 26px;
    font-size: 2.6rem;
    padding: 10px 20px;
    border-bottom: 8px solid #82ac03;
}
#home-slider ul.flex-direction-nav a {
    background: url(images/style/bg_direction_nav.png) no-repeat;
}
#home-slider .flex-direction-nav .flex-prev {
    left: 20px;
    background-position: 0 2px;
}
#home-slider .flex-direction-nav .flex-next {
    right: 20px;
    background-position: -26px 2px;
}
@media screen and (max-width: 600px) {
    
    .metaslider .slides img {
        height: 180px;
    }
    
    .home-slider .metaslider .caption-wrap {
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1.2;
        padding: 0;
    }
    
}
@media screen and (max-width:320px) {
    .metaslider .slides img {
        height: 160px;
    }
    .home-slider.container {
        margin-bottom: -90px;
    }
    .home-slider .metaslider .caption-wrap {
        font-size: 12px;
        font-size: 1.2rem;
    }
    .flex-control-nav {
        display: none;
    }
}



/*------------------------------------------------------------
responsive overlays
------------------------------------------------------------*/
/* remove padding for containing divs */
.col-1-3.research-posts,
.col-1-2.research-publications,
.col-1-3.research-news,
.col-1-4.research-projects {
    padding: 0 0 10px;
}
.col-1-2.research-publications {
    width: 48.7289%;
    margin-bottom: 16px;
}
.col-1-2.research-publications:first-of-type {
    margin-right: 1.2893983%;
}

.col-1-4.research-projects {
    width: 23.7%;
    margin: 0 1.2893983% 16px 0;
}
.col-1-3.research-posts:last-of-type,
.col-1-4.research-projects:last-of-type {
    margin-right: 0;
}

.type-heading {
    color: white;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}
.research-posts {
    background: #880c6f;
    min-height: 100px;
}
.research-publications {
    background: #05ccef;
}
.research-news {
    background: #ff8300;
    min-height: 100px;
}
.research-events {
    background: #df0046;
}
.research-projects {
    background: #acb131;
    min-height: 120px;
}
.grid-links {
    text-align: right;
    margin-right: 10px;
    padding: 5px 10px;
    clear: both;
    min-height: 20px;
}
@media screen and (max-width:600px ) {
    .research-posts,
    .research-news { 
        min-height: 60px; margin-bottom: 1em; 
    }
    .grid-links { margin-right: 0; min-height: 20px; }
    .col-1-2.research-publications,
    .col-1-4.research-projects { 
        width: 100%; margin-bottom: 1em; 
    }
    .research-projects { min-height: 80px; }
    
}
.grid-links.research-posts {
    background: #f3daee;
}
.grid-links.research-posts a {
    color: #880c6f;
}
.grid-links.research-publications {
    background: #def6fb;
} 
.grid-links.research-publications a {
    color: #05ccef;
}
.grid-links.research-news {
    background: #ffe9d2;
}
.grid-links.research-news a {
    color: #ff8300;
}
.grid-links.research-events {
    background: #f2b3c7;
}
.grid-links.research-events a {
    color: #df0046;
}
.grid-links.research-projects {
   background: #f5f7d7; 
}
.grid-links.research-projects a {
    color: #acb131;
}
.grid-links a:hover {
    opacity: 0.6;
}
.show {
    width: 100%;
    height: 100%;
    text-align: left;
    cursor: default;
    display: block;
}
.show .mask {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}
.overlay-blog img {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.show img {
    max-height: 107px;
}
.overlay-blog .mask {
    opacity: 1;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.overlay-blog .mask.research-posts {
    background-color: #880c6f;
    background-color: rgba(136, 12, 111, 0.6);
    margin-top: 10px;
}
.research-publications .overlay-publications  {
    background-color: #05ccef;
    background-color: rgba(5, 204, 239, 0.7);
    height: 180px;
    padding: 10px;
    font-size: 22px;
    font-size: 2.2rem;
}
.overlay-blog .mask.research-news {
    background-color: #ff8300;
    background-color: rgba(255, 131, 0, 0.7);
}
.overlay-blog .mask.research-projects {
    background-color: #acb131;
    background-color: rgba(172, 177, 49, 0.8);
    font-size: 16px;
    font-size: 1.6rem;
    margin-top: 10px;
}

.mask a {
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
}
.mask a:link,
.mask a:visited,
.overlay-publications a:link,
.overlay-publications a:visited {
    color: white;
}
.mask a:hover,
.mask a:active,
.overlay-publications a:hover,
.overlay-publications a:active {
    color: rgba(255, 255, 255, 0.6);
}

.overlay-blog:hover .mask {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
} 

.overlay-blog:hover img {
    -webkit-transition-delay: 0.1s;
            transition-delay: 0.1s;
}
@media screen and (max-width: 600px) {
    .research-publications .overlay-publications { font-size: 16px; font-size: 1.6rem; height: auto; }
    
}
/* related projects */
.rel-projects.widget-title {
    padding-top: 1.5em;
    margin-bottom: 0;
    border-top: 1px solid #e5e5e5;
    text-align: left;
}
.rel-projects { /* container */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
.rel-projects article { /* items */
    background: #acb131;
    padding: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 300px;
    margin: 10px;
}
a.related-project {
    color: white;
}
a.related-project:hover{
    opacity: 0.6;
}

/*------------------------------------------------------------
Users
------------------------------------------------------------*/

.user {
    text-align: center;
    width: calc(50% - 10px);
    margin-right: 5px;
    margin-bottom: 5px;
    min-height: 350px;
}
@media screen and (max-width:600px){
    .user { width: 100%; }
}
.entry-content h3.user-name {
    display: inline-block;
}
.entry-content h3.user-name:after {
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    background: #82ac03;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.entry-content h3.user-name:hover:after {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.entry-content .user-title {
    font-size: 16px;
    font-size: 1.6rem;
    text-transform: uppercase;
}
a.user-photo img {
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    -webkit-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}
a.user-photo img:hover {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}
a.button:hover {
    color: white;   
}
