/*
Theme Name: WRI
Description: Theme for the Water Resources Institute
Author: Aquatic Sciences Center
Template: total
Version: 1.0.0
*/


/************************* Setup the Fonts ************************/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/2ffac9");

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Light';
  src: url('fonts/Roboto-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Bold';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Condensed';
  src: url('fonts/static/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Condensed-Light';
  src: url('fonts/static/RobotoCondensed-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/************************** Reset some styles **************************/

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, body, button, input, select, textarea {
    font-family: 'Roboto', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h2 {
    font: 24px 'Roboto-Bold', sans-serif;
}
h1 {
    font: 25px/1.25em 'Roboto-Condensed', sans-serif !important;
    letter-spacing: 1px;
}
h1.underline, h5.underline {
    border-bottom: 1px solid #5a5a5a;
    letter-spacing: 0;
}
h5.underline {
    border-bottom: 1px solid #e7e7e7;
}
h6 {
    font-weight: bold;
}

.ht-site-description, .ht-site-description a {
    font-family: 'Roboto-Light', sans-serif !important;
}
a {
	color: #d53526;
}
a:hover {
    cursor: pointer;
    text-decoration: none !important;
}

.site-container a:hover {
    /*color: #1188aa;*/
}


#ht-page {
    overflow: hidden;
}

.entry-figure {
    background: none;
    margin-bottom: 10px;
    text-align: left;
}

.entry-figure + .entry-header {
    background: none;
    margin-top: 0;
    width: 100%;
    padding: 15px 0;
}

.clear {
    clear: both;
}

.clearfix:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

button {
    word-wrap: normal;
    color: #fff;
}

button:hover {
    color: #fff;
    background: #333;
    border: none;
}

.center {
    text-align: center;
}

.left-align {
    text-align: left;
}

.no-list-style {
    list-style: none;
}

select::-ms-expand {
    display: none;
}

.ht-blog-excerpt h5 a {
   /* color: #ff6633;*/
	color: #d53526;
}

/* for highlighting the search term in the search results */
.hilite {
    background: yellow;
}

/*------------------------------------------------------------------
[Header Global Styles]
-------------------------------------------------------------------*/
#site-header { padding: 0 !important; position: relative; } /*no padding should be added here, add to header-inner please*/
#site-header-inner { position: relative; padding-top: 30px; padding-bottom: 30px; height: 100%; }
#site-navigation.container { position: relative; } /* IMPORTANT */

#site-header.header-builder #site-header-inner { padding: 0; }

/* Header > Main > Logo */
#site-logo { display: table; }
#site-logo-inner { display: table-cell; vertical-align: middle; }
#site-logo a { height: 100%; padding: 0; margin: 0; text-decoration: none; }
#site-logo a.site-logo-text { color: #222; font-size: 24px; font-weight: bold; transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; -webkit-transition: all 0.15s ease-in-out; }
#site-logo-fa-icon { margin-right: 10px; }
#site-logo-fa-icon.fa-wpex-hidden { margin-right: 0; }
#site-logo a:hover { text-decoration: none }
#site-logo img { display: inline; vertical-align: middle; height: auto; width: auto; max-height: 100%; max-width: 100%; }

/* Header > Main > Full-Width */
@media only screen and (min-width: 960px) {
    #site-header.header-one.wpex-full-width,
    #site-header.header-five.wpex-full-width { padding-left: 30px !important; padding-right: 30px !important; }
    #site-header.wpex-full-width .container { width: 100% !important; max-width: none !important; }
    #site-header.header-two.wpex-full-width #site-header-inner { padding-left: 30px; padding-right: 30px; }
}

/*------------------------------------------------------------------
[Sticky Header]
-------------------------------------------------------------------*/
#site-header.fixed-scroll { transform: translateZ(0); -moz-transform: translatez(0); -ms-transform: translatez(0); -o-transform: translatez(0); -webkit-transform: translateZ(0); z-index: 99; }
#site-header-sticky-wrapper.is-sticky #site-header { position: fixed; overflow: visible !important; z-index: 999; background: #fff; box-shadow: 0px 2px 5px rgba(0,0,0,0.1); -webkit-transform: translate3d(0, 0, 0); transform : translate3d(0, 0, 0); }
#site-header-sticky-wrapper.is-sticky #site-header-inner { z-index: 999; }

/* Sticky Header > Shrink */
#site-header.shrink-sticky-header { width: 100%; transition: opacity 0.3s; }
#site-header.shrink-sticky-header.sticky-header-shrunk #site-logo { padding-top: 0; padding-bottom: 0; }

/* shrink with animation*/
.anim-shrink-header #site-header-sticky-wrapper,
.anim-shrink-header #site-header,
.anim-shrink-header #site-header-inner,
.anim-shrink-header .navbar-style-five,
.anim-shrink-header .navbar-style-five #site-navigation,
.anim-shrink-header #site-logo,
.anim-shrink-header #site-logo-inner,
.anim-shrink-header #site-logo a,
.anim-shrink-header #site-logo img { transition: all 0.3s linear; }
.anim-shrink-header #site-logo img { backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); transform : translate3d(0, 0, 0); }
.anim-shrink-header #site-navigation-wrap { transition: top 0.3s linear; }

.sticky-header-shrunk #site-header-inner { height: 70px; padding-top: 10px !important; padding-bottom: 10px !important; }
.shrink-sticky-header.sticky-header-shrunk .navbar-style-five .dropdown-menu > li > a { height: 50px; }
.shrink-sticky-header.sticky-header-shrunk #site-logo img { max-height: 50px; }



/*------------------------------------------------------------------
[Header]
-------------------------------------------------------------------*/
.site-content {
    max-width: 1170px;
    margin: 0 auto;
}

.ht-container {
    position: relative;
}

.top-clear {
    height: 20px;
    opacity: .9;
    background: #fff;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 99999;
}

#ht-masthead {
    position: fixed;
    z-index: 99999;
    margin: 0px auto;
    /*top: 20px;*/
    top: 10px;
    left: 0;
    right: 0;
    background: #1188aa;
    border-bottom: none;
    border-top: none;
    height: 130px;
}

#ht-masthead .ht-container {
    height: 100%;
}

.ht-main-header {
    background: #e6e6e6;
}

.ht-site-title a {
    color: #fff;
    font-weight: bold;
}

#ht-site-branding {
    /*max-width: 20%;*/
    padding: 0;
}

#ht-site-branding img {
    max-height: 130px;
    margin-top: -2px;
    transition: 1550ms;
}

#ht-masthead.small-header #ht-site-branding img {
    max-height: 80px;
    transition: 800ms;
}

/******* working on this ****/
#ht-site-navigation{
	float: right;
	width: 70%;
	padding: 27px 0;
	transition: padding 0.3s ease;
	-moz-transition: padding 0.3s ease;
	-webkit-transition: padding 0.3s ease;
}

.ht-sticky #ht-site-navigation{
	padding: 17px 0;
}

.ht-main-navigation .ht-menu{
	float: right;
}

.ht-main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.ht-main-navigation li {
	float: left;
	position: relative;
	margin-left: 10px;
}

.ht-main-navigation a {
	display: block;
	text-decoration: none;
	color: #444;
	text-transform: uppercase;
	font-size: 14px;
	font-family: 'Oswald', sans-serif;
	line-height: 36px;
	padding: 0 15px;
	font-weight: 400;
    transition: none;
    -moz-transition: none;
    -webkit-transition: none;
}

.ht-main-navigation ul ul {
	display: none;
	position: absolute;
	left: 0;
	top: 100% ;
	background: #FFF;
	min-width: 200px;
	z-index: 999;
	padding: 8px;
	margin-top: 27px;
	border-top: 2px solid #F04c2d;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.05)
}

.ht-sticky .ht-main-navigation ul ul{
	margin-top: 17px;
}

.ht-main-navigation .ht-menu > ul > li:last-child > ul{
	left: auto;
	right: 0;
}

.ht-main-navigation ul ul ul {
	left: 100%;
	top: 0;
	margin: 0 0 0 8px;
	border-top: 0;
}

.ht-sticky .ht-main-navigation ul ul ul{
	margin-top: 0
}

.ht-main-navigation ul ul a {
	text-transform: none;
	font-weight: 400;
	color: #444;
	line-height: 1.5;
	padding: 10px 15px;
	font-size: 14px;
}

.ht-main-navigation ul ul li {
	float: none;
	margin: 0 0 5px;
	cursor: pointer;
}

.ht-main-navigation ul ul li a:hover {
	border-bottom: 3px solid #d53526;
	cursor: pointer;
}

.ht-main-navigation ul ul li:last-child{
	margin-bottom: 0;
}

.ht-main-navigation ul li:hover > ul {
	display: block;
}

.ht-main-navigation li {
	float: left;
	position: relative;
}

/******* end working on this ****/

.ht-site-description a {
    color: #fff;
}

.ht-main-navigation a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 0 20px 0 10px;
}

.ht-main-navigation a:last-child {
    padding: 0 20px;
}

.ht-main-navigation li {
    margin-left: 0;
}

.ht-container #ht-site-navigation {
    /*position: relative;*/
    /*height: 85px;*/
    width: 79%;
    position: absolute;
    right: 15px;
    height: 100%;
    float: none;
    padding: 0;
    display: block;
}

.ht-container #menu-main-menu {
    position: absolute;
    bottom: 0;
    right: 0;
}

.ht-main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}



.ht-main-navigation ul ul {
    top: 8px;

}

.ht-main-navigation ul ul a {
    font-size: 16px;
}

.sf-with-ul:after {
    content: '\f107';
    font-family: FontAwesome;
    position: absolute;
    right: 1em;
    height: 0;
    width: 0;
    color: #fff;
}


/*** Search ***/
.nav-container ul.menu .search-form {
    display: none;
    z-index: 10000;
    position: absolute;
    right: 0;
    top: 130px;
    padding: 15px;
    background: black;
}

.nav-container ul.menu .search-form.show-search {
    display: block;
}

.nav-container ul.menu .search-form.show-search {

}


/*------------------------------------------------------------------
[Content]
-------------------------------------------------------------------*/

#primary {
    width: 100%;
}

#primary, .entry-content {
    min-height: 200px;
    font-size: 18px;
}

.archive.category #primary, .entry-content{
    min-height: 50px;
}

.search .entry-content {
    min-height: 20px;
}

.no-results {
    margin-bottom: 20px;
}

#ht-content {
    margin-top: 138px;
}

.owl-carousel .owl-wrapper-outer {
    text-align: center;
}

.owl-carousel .owl-item {
    float: none;
    display: inline-block;
}

#total-breadcrumbs, .woocommerce .woocommerce-breadcrumb {
    font-weight: bold;
}

#total-breadcrumbs span:last-child {
	padding-right: 5px;
}

.breadcrumb-trail .breadcrumbs {
	display: none;
}

.hentry {
    margin: 0 0 20px;
}

.su-accordion.light-heading .su-spoiler-title {
    font-size: inherit;
    font-weight: bold;
    background: #e7e7e7;
}

.su-accordion .su-spoiler-icon-plus.su-spoiler-closed .su-spoiler-icon:before {
    content: "\002b" !important;
    font-size: 20px;
}

.su-accordion .su-spoiler-icon-plus .su-spoiler-icon:before {
    content: "\002d" !important;
    font-size: 25px;
}

.su-spoiler-style-default > .su-spoiler-content {
    border: 1px solid #e7e7e7;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#ht-back-top {
    height: 40px;
    line-height: 40px;
}

.page-nav-wrap {
    width: 100%;
}

.wp-pagenavi {
    margin-bottom: 20px;
}

.wp-pagenavi span, .wp-pagenavi a {
    border: none;
}

.entry-header .entry-title {
    letter-spacing: 0;
}

.page-template .site-main .ht-blog-thumbnail {
    margin-bottom: 20px;
}

.ht-blog-read-more a {
	background-color: #d53526;
}

/*------------------------------------------------------------------
[Home page]
-------------------------------------------------------------------*/
.home #homepage-slider {
    padding: 25px 20px;
}
.home #homepage-slider .metaslider {
    text-align: center;
    margin: 0 auto;
}

#ht-blog-section {
    background: #fff;
    padding-top: 30px;
}

.ht-section-title {
    text-align: center;
}
/*
.ht-blog-wrap {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*align-items: stretch;
}

.ht-blog-post {*/
    /*margin: 10px;*/
    /*!*width: 33%;*!*/
/*}*/
.ht-blog-wrap {
    margin-left: 0;
    /*float: left;*/
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    align-items: stretch;
}

.ht-blog-post {
    margin: 0 10px;
    width: 33%;
    border-bottom: none;
}

#ht-blog-section .ht-blog-post .ht-blog-thumbnail {
    max-height: 275px;
    overflow: hidden;
}

#ht-blog-section .ht-blog-post .ht-blog-excerpt {
    padding: 10px 0;
}

#news-section-links {
    /*margin-top: 20px;*/
    /*text-align: center;*/
}

#news-section-links {
    width: 33%;
    background: #e6e6e6;
    margin-left: 10px;
    padding: 20px;
}

#news-section-links ul {
    list-style: none;
}


#news-section-links span {
    margin-right: 10px;
}

#news-section-links span:last-child {
    /*margin-right: 0;*/
}

#news-section-links span a {
    font-weight: bold;
}

#ht-cta-section .ht-section {
    padding: 30px 0;
}




/*** Research Section ****/
#ht-service-post-section {
    background: #e6e6e6;
}

.ht-service-left-bg {
    display: none;
}
.ht-service-posts {
    float: none;
    width: 100%;
    padding-right: 0;
}

.ht-service-post-wrap:after {
    background: none !important;
}

.ht-service-post-wrap {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    justify-content: space-around;
}

.ht-service-posts .ht-section-title-tagline {
    padding: 0 15px;
}

.ht-service-post {
    /*width: 47.5%;*/
    width: 48%;
    background: #fff;
    /*margin: 10px;*/
    margin: 10px 1%;
    padding: 15px;
    text-align: center;
}

.ht-service-icon {
    font-size: 30px;
    float: none;
    margin: 0 auto;
	background: #d53526;
}

.ht-service-excerpt {
    padding-left: 0;

}
.ht-service-excerpt h5 {
    font-weight: bold;
}
.ht-service-post .ht-service-text {
    text-align: left;
}


/****** News Section ********/

#ht-blog-section .ht-blog-post {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
    flex: 2;
}
#news-section-links {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
}
#ht-blog-section .ht-blog-post .ht-blog-thumbnail img {
    width: 450px;
}

#news-section-links ul {
    margin-left: 0;
}

#news-section-links ul li {
    margin-bottom: 20px;
}
#news-section-links ul li span {
    margin-right: 10px;
    display: inline-block;
}
#news-section-links ul li .ht-service-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
	background-color: #d53526;
}


/*------------------------------------------------------------------
[Social Media Section]
-------------------------------------------------------------------*/
#ht-cta-section .ht-cta-overlay {
    background: #e6e6e6;
}
#ht-cta-section h2 {
    color: #444;
}

#ht-cta-section .ht-section-title-tagline {
    margin-bottom: 15px;
}
#ht-cta-section .ff-errors {
    display: none;
}
.fts-jal-fb-header {
    display: none;
}

.fts-simple-fb-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    justify-content: space-around;
}

.fts-jal-single-fb-post {
    width: 30%;
    padding: 15px !important;
    margin: 10px;
    border: 1px solid #666;
}

.fts-jal-fb-description-wrap {
    max-width: 100% !important;
}

.fts-jal-fb-picture img {
    max-height: 200px;
    width: auto;
}

.fts-powered-by-text-popup a.fts-powered-by-text {
    display: none !important;
}

#ff-stream-2 {
    background-color: #fff !important;
}

#ff-stream-2 .ff-btn {
    background-color: #ff6633 !important;
    font-weight: bold !important;
}
#ff-stream-2 .ff-btn:hover {
    background-color: #333 !important;
}

.cookie-btn {
    padding: 10px 20px;
    margin-top: 0px;
	/*background: #f04c2d !important;*/
	background: #d53526 !important;
}

#cookie-notice .cn-button {
    margin: 0 0 0 10px;
    color: #fff;
    font-weight: bold;
}

/*------------------------------------------------------------------
[Pages]
-------------------------------------------------------------------*/
.navigation.pagination {
    margin-bottom: 20px;
}


/*------------------------------------------------------------------
[Archives]
-------------------------------------------------------------------*/
.archive .ht-container {
    padding-bottom: 20px;
}

/*------------------------------------------------------------------
[Video archives]
-------------------------------------------------------------------*/

.archive .featured-videos, .archive .videos {
    background: #F6F6F6;
    /*border: 1px solid #5a5a5a;*/
    padding: 10px 20px;
    margin-bottom: 20px;
}

.archive .featured-videos h3, .archive .videos h3 {
    border-bottom: 1px solid #5a5a5a;
    font-weight: bold;
}

.post-type-archive-videos .site-main {
    /*background: #e7e7e7;*/
    /*border: 1px solid #5a5a5a;*/
    /*width: 75%;
    float: left;
    padding-right: 20px;*/
}

.post-type-archive-videos .site-main article {
	float: left;
	width: 75%;
    padding-right: 20px;
}

.post-type-archive-videos .video-topics {
    width: 25%;
    float: right;
}

.archive .featured-videos .video-container, .archive .videos .video-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-start;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
}

.archive .featured-videos .video-summary, .archive .videos .video-summary {
    width: 31.25%;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 10px;
    /*border: 1px solid #e6e6e6;*/
    background: #fff;
    /*flex-grow: 1;*/
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
	overflow: auto;
}

.video-summary .video-title {
    display: block;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 25px;
}

.video-img {
    margin-bottom: 10px;
    display: inline-block;
	width: 100%;
}

.video-img img {
    /*max-width: 200px;*/
    max-width: 100%;
}

/*------------------------------------------------------------------
[Video Taxonomy pages]
-------------------------------------------------------------------*/
.tax-Video-Categories article {
    width: 75%;
    padding-right: 20px;
    /*background: orangered;*/
    float: left;
}

.tax-Video-Categories .videos .video-summary {
    width: 31.25%;
}

.post-type-archive-videos .video-topics,
.tax-Video-Categories .video-topics {
    background: #f6f6f6;
    padding: 15px 15px;
    width: 25%;
    float: right;
    margin-bottom: 30px;
    font-weight: bold;
}

.post-type-archive-videos .video-topics ul,
.tax-Video-Categories .video-topics ul {
    list-style: none;
    margin: 0;
}


/*------------------------------------------------------------------
[Single Video][Single News]
-------------------------------------------------------------------*/
.single-videos .video-container {
    margin-bottom: 10px;
}

.single-videos article, .single-news article {
    width: 75%;
    padding-right: 20px;
    /*background: #9ebaa0;*/
    float: left;
}

.single-news article .subtitle {
    background-color: #E9E9E9;
    padding: 5px 10px;
    margin: 0 0 20px;
    font-weight: bold;
}

.single-videos .related, .single-news .related {
    background: #F6F6F6;
    padding: 15px 15px;
    width: 25%;
    float: right;
    margin-bottom: 30px;
    font-weight: bold;
}

.single .ht-post-wrapper {
    padding-left: 0;
}

.single .related h4,
.tax-Video-Categories .video-topics h4,
.post-type-archive-videos .video-topics h4
{
    border-bottom: 1px solid #5a5a5a;
    margin-bottom: 15px;
    font-weight: bold;
}

.single .related ul {
    list-style: none;
    margin: 0;
}

.single .related ul li,
.single .related ul li.related-posts
{
    margin-bottom: 20px;
    border-bottom: 1px solid #e7e7e7;
}

.single .related ul li:last-child {
    margin-bottom: 0px;
    border-bottom: none;
}

.single .related ul li.related-posts:last-child {
    margin-bottom: 20px;
}

.single .related ul li img {
    width: 100%;
    margin-bottom: 10px;
}

.single-news .site-main .entry-content .wp-caption {
    /*border: 1px solid #e7e7e7;*/
    /*padding: 10px;*/
}

.wp-caption .wp-caption-text {
    font-size: 14px;
    text-align: start;
}

/*------------------------------------------------------------------
[News archives] [News Taxonomy pages]
-------------------------------------------------------------------*/
.archive.post-type-archive-news #main,
.archive.tax-News-Categories #main,
.archive.post-type-archive-research #main,
.archive.tax-Research-Categories #main
{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: stretch;
    align-content: flex-start;
    -webkit-align-content: flex-start;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.archive.tax-News-Categories #main .archive-wrap .ht-blog-thumbnail,  
.post-type-archive-news #main .archive-wrap .ht-blog-thumbnail
{
    max-height: 210px;
	/*max-height: 425px;*/
    overflow: hidden;
}

.featured-img,
.archive.tax-News-Categories #main .featured-img {
    max-height: 500px;
    overflow: hidden;
}

.entry-figure.featured-img {
    margin-bottom: 20px;
	position: relative;
}

.entry-figure.featured-img img {
    width: 100%;
}

.entry-figure.featured-img .featured-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    padding: 5px 10px;
    opacity: .7;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.4em;
    width: 100%;
}

.archive.post-type-archive-news #main .archive-wrap,
.archive.tax-News-Categories #main .archive-wrap,
.archive.post-type-archive-research .archive-wrap,
.archive.tax-Research-Categories #main .archive-wrap
{
    /*flex-grow: 1;*/
    /*margin: 10px 10px 20px;*/
    margin: 10px 0.5% 20px;
    /*background: #e7e7e7;*/
    border: 1px solid #e7e7e7;
    width: 32.3%;
}

.archive.post-type-archive-news #main .archive-wrap .ht-blog-post,
.archive.tax-News-Categories #main .archive-wrap .ht-blog-post,
.archive.post-type-archive-research #main .archive-wrap .ht-blog-post,
.archive.tax-Research-Categories #main .archive-wrap .ht-blog-post
{
    width: 100%;
    margin: 0;
}

.archive.post-type-archive-news #main .archive-wrap .ht-blog-post .news-excerpt,
.archive.tax-News-Categories #main .archive-wrap .ht-blog-post .news-excerpt,
.archive.post-type-archive-research #main .archive-wrap .ht-blog-post .research-excerpt
{
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}


.media-contacts-container {
    width: 100%;
    /*border: 1px solid #e7e7e7;*/
    padding: 10px;
    margin-top: 15px;
}

.media-contacts-container h1 {
    text-align: center;
}

.tax-News-Categories #main .featured-img {
    width: 1170px;
}

.archive ul.news-list {
    list-style: none;
    margin-top: 20px;
    margin-left: 0px;
}

.archive ul.news-list li {
    margin-bottom: 20px;
	border-bottom: 2px solid #e4e4e4;
    padding-bottom: 20px;
}

.archive ul.news-list li h5 a {
    color: #444;
    font-weight: bold;
}



/*------------------------------------------------------------------
[audio archives] [audio Taxonomy pages]
-------------------------------------------------------------------*/

.content-heading {
    margin-bottom: 20px;
}
.playlist-list .playlist-items {
    list-style: none;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 1px solid #e7e7e7;
}


.playlist-list .playlist-items:last-of-type {
    border-bottom: none;
}
.playlist-thumb-wrap {
    display: inline-block;
    width: 100px;
    /*height: 100px;*/
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.playlist-thumb {
    width: 100px;
    height: 100px;
}
.fa-fw {
    width: 100px;
}
.playlist-description {
    width: 80%;
    float: left;
}

.playlist-description .playlist-title {
    font-weight: bold;
}

.podcast-descriptions div.desc:last-of-type {
    border-bottom: none;
}



/*------------------------------------------------------------------
[research archives] [research Taxonomy pages]
-------------------------------------------------------------------*/


.ht-blog-excerpt h5 {
    font-weight: bold;
    font-size: 20px;
}

.page-template-page-research-cfs-publications .projects-pubs-desc,
.page-template-page-research-all-gcc-projects .projects-pubs-desc,
.research-archive-desc {
    width: 78%;
    float: right;
    padding: 10px 0 30px;
}

.term-research-archives #primary,
.tax-Research-Categories #primary
{
    /*width: 75%;*/
    /*float: right;*/
}

.tax-Research-Categories #primary.current-research
{
    width: 75%;
    float: right;
}

.research-sidebar,
.term-research-archives .research-sidebar,
.tax-Research-Categories .research-sidebar
{
    width: 20%;
    float: left;
    padding: 10px 20px 20px 0;
    font-size: 18px;
}

.research-sidebar h1,
.term-research-archives .research-sidebar h1 {
    /*text-align: center;*/
    margin-top: 0;
}

.research-sidebar ul,
.term-research-archives .research-sidebar ul,
.tax-Research-Categories .research-sidebar ul
{
    list-style: none;
    margin-left: 0;
}

.archive.tax-Research-Categories #main .archive-wrap {
    width: 48.5%;
}


.post-type-archive-research .ht-blog-post {
    /*border: 1px solid #e7e7e7;*/
}

.post-type-archive-research .ht-blog-post .ht-blog-thumbnail
{
    max-height: 200px;
    overflow: hidden;
}

.archive.tax-Research-Categories #main .archive-wrap .ht-blog-post .ht-blog-thumbnail
{
    max-height: 250px;
    overflow: hidden;
}

.research-list li {
    /*border-bottom: 1px solid #e7e7e7;*/
    margin-bottom: 15px;
}

.research-list li:last-child {
    /*border-bottom: none;*/
    margin-bottom: 0px;
}

#menu-research-sidebar {
    font-weight: bold;
}

#menu-research-sidebar li:nth-child(3) {
    margin-bottom: 15px;
}

#menu-research-sidebar .current-menu-item {
    background: #ff6633;
	background: #d53526;
    color: #fff;
    padding: 5px 3px;
}
#menu-research-sidebar .current-menu-item a {
    color: #fff;
}
/*
#menu-research-sidebar .current-menu-item a {
    background: #ff6633;
    color: #fff;
    padding: 5px 3px;
}
*/

#research-gcc-and-past-projects-table .funding-agency,
#research-gcc-and-past-projects-table .project-year
{
    text-align: center;
}

/*------------------------------------------------------------------
[research archives pages]
-------------------------------------------------------------------*/

.page-desc {
    margin-bottom: 30px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 18px;
}

.research-archive-wrap {
    width: 100%;
}

.wri-research-wrap .archive-year-wrap {
    margin-left: 0;
    margin-bottom: 20px;
    /*padding: 5px;*/
    /*border: 1px solid #e7e7e7;*/
}

.wri-research-wrap .archive-year-wrap .archive-year {
    /*border-bottom: 1px solid #5a5a5a;*/
    /*margin-bottom: 10px;*/
}

.wri-research-wrap .archive-year-wrap .sf-with-ul:after {
    position: relative;
    right: 0;
    color: #fff;
    margin-left: 10px;
}

.panel-default .panel-heading li:after {
    /*content: "";*/
    /*position: relative;*/
    /*top: 1px;*/
    /*display: inline-block;*/
    /*font-family: 'Glyphicons Halflings';*/
    /*font-style: normal;*/
    /*font-weight: 400;*/
    /*line-height: 1;*/
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
    /*float: right;*/
    /*transition: transform .25s linear;*/
    /*-webkit-transition: -webkit-transform .25s linear;*/
}

/* accordion styling */
.archive-year-wrap .inner {
    padding: 10px;
    margin-left: 0px;
    overflow: hidden;
    display: none;
    border: 1px solid #e7e7e7;
}

.archive-year-wrap .inner.show {
    /*display: block;*/
}

.archive-year-wrap .inner.show li {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 10px;
    padding: 5px 0;
}

.archive-year-wrap .inner.show li a b {
    color: #5a5a5a;
}

.archive-year-wrap .inner.show li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.archive-year-wrap .archive-year a.toggle {
    width: 100%;
    display: block;
    background: rgba(0,0,0,0.78);
    color: #fefefe;
    padding: .75em;
    border-radius: 0.15em;
    transition: background .3s ease;
    font-weight: bold;
}


.archive-year-wrap .archive-year a.toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}






/*------------------------------------------------------------------
[Bio Content]
-------------------------------------------------------------------*/
.bio-excerpt h6 {
    font-size: 18px;
    font-weight: bold;
}

.bio-categories-wrap .bio-category {
    border-top: 1px solid #5a5a5a;
    padding-top: 20px;
    margin-bottom: 20px;
}

.bio-categories-wrap .archive-wrap {
    border-bottom: 1px solid #e7e7e7;
}

.bio-categories-wrap div.archive-wrap:last-of-type {
    border-bottom: none;
}

.bio-category .archive-wrap {
    padding-top: 20px;
}

.bio-category h2 {
    margin-bottom: 10px;
    font-weight: bold;
}

.bio-category .bio-thumbnail {
    width: 20%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}

.bio-category .bio-thumbnail img {
	max-width: 150px;
}

.bio-category .ht-blog-excerpt {
    width: 78%;
    display: inline-block;
}

.bio-category .archive-wrap .ht-blog-read-more {
    padding-bottom: 10px;
}

/*------------------------------------------------------------------
[Fellow Content] [Student Content]
-------------------------------------------------------------------*/

.fellow .entry-header, .student .entry-header {
    font-weight: bold;
}

.fellow h5, .student h5 {
    font-weight: bold;
}

.wri-blog-post .ht-blog-excerpt {
    padding-top: 0;
}


/*------------------------------------------------------------------
[single research]
-------------------------------------------------------------------*/
.single-research .content-area .research-info h5 {
    font-weight: bold;
}

.single-research h6 {
    font-size: 20px;
}

.single-research .content-area .research-info h5 {
    font-weight: bold;
    font-size: 20px;
}


.single-research .content-area .research-info .researcher-list,
.single-research .content-area .research-info .research-list
{
    list-style: none;
	margin-left: 0;
}

.single-research .content-area .entry-figure {
    margin-bottom: 20px;
}

.single-research .download-links-container {
    min-height: 50px;
}

.single-research .content-area .research-info .research-abstract {
    min-height: 50px;
}

/*------------------------------------------------------------------
[Single News]
-------------------------------------------------------------------*/
.news-featured-img {
    display: none;
}



/*------------------------------------------------------------------
[Partner Projects] [DataTables]
-------------------------------------------------------------------*/
.no-display {
    display: none;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td
{
    border-top: none;
}


.fa-trash-o.left {
    color: red;
}

.fa-pencil-square-o.left, .fa-trash-o.left {
    margin-right: 10px;
    float: left;
}

.fa-pencil-square-o.left:hover, .fa-trash-o.left:hover {
    cursor: pointer;
}

.page-template-project_publications-template .entry-content,
.page-template-partner_projects .entry-content
{
    border-bottom: 1px solid #5a5a5a;
    margin-bottom: 30px;
    font-size: 18px;
    padding-bottom: 20px;
}

.page-template-partner_projects .entry-content {
    min-height: 100px;
}

.page-template-project_publications-template .entry-content p {
    font-size: 18px;
}


table {
    table-layout: fixed;
    /*-ms-word-wrap: break-word;*/
    /*word-wrap:break-word;*/
    min-width: 950px;
}

.datatable thead tr th {
    text-align: center;
}

.page-template-partner_projects .site-container .ht-container .site-main {
    min-height: 750px;
}

#partner-projects-table_wrapper {
    font-size: 15px;
}

#project-publications-table {
    font-size: 18px !important;
}

.dataTables_length,
.partner-projects .dataTables_length,
.project-publications .dataTables_length
{
    display: inline-block;
    width: 30%;
    padding: 10px;
}

.dataTables_filter,
.partner-projects .dataTables_filter,
.project-publications .dataTables_filter
{
    display: inline-block;
    width: 70%;
    text-align: right;
    padding: 10px;
}

.dataTables_filter label,
.partner-projects .dataTables_filter label,
.project-publications .dataTables_filter label
{
    line-height: 45px;
    height: 45px;
}

.dataTables_filter label input,
.partner-projects .dataTables_filter label input {
    margin-left: 5px;
}

.partner-projects #partner-projects-table {
    /*table-layout: fixed;*/
    font-size: 15px;
}

.partner-projects #partner-projects-table thead th {
    font-size: 15px;
}

.wri-projects-archive {
    font-size: 15px;
}

#wri-projects-archive-table thead th,
.partner-projects #partner-projects-table thead th ,
.project-publications #project-publications-table thead th
{
    text-align: center;
}

.partner-projects #partner-projects-table thead th#summary_link {
    width: 65px;
}
.partner-projects #partner-projects-table thead th#final_report {
    width: 50px;
}
.partner-projects #partner-projects-table thead th#proj_num {
    width: 90px;
}
.partner-projects #partner-projects-table thead th#proj_year {
    width: 40px;
}
.partner-projects #partner-projects-table thead th#proj_title {
    min-width: 140px;
}
.partner-projects #partner-projects-table thead th#proj_funding_agency {
    max-width: 175px;
    width: 175px;
}
.partner-projects #partner-projects-table thead th#proj_focus_area {
    max-width: 250px;
    width: 250px;
}

.datatable thead th.sorting,
.datatable thead th.sorting_desc,
.datatable thead th.sorting_asc,
#research-assoc-pubs-table thead th.sorting,
#research-assoc-pubs-table thead th.sorting_desc,
#research-assoc-pubs-table thead th.sorting_asc,
#wri-projects-archive-table thead th.sorting,
#wri-projects-archive-table thead th.sorting_desc,
#wri-projects-archive-table thead th.sorting_asc,
.partner-projects #partner-projects-table thead th.sorting,
.partner-projects #partner-projects-table thead th.sorting_desc,
.partner-projects #partner-projects-table thead th.sorting_asc,
.project-publications #project-publications-table thead th.sorting,
.project-publications #project-publications-table thead th.sorting_desc,
.project-publications #project-publications-table thead th.sorting_asc
{
    cursor: pointer;
}


#wri-projects-archive-table td,
#wri-projects-archive-table .pdf-link,
#wri-projects-archive-table .project-number,
.partner-projects #partner-projects-table td,
.partner-projects #partner-projects-table .pdf-link,
.partner-projects #partner-projects-table .project-number,
.project-publications #project-publications-table td
{
    text-align: center;
    vertical-align: middle;
}

#wri-projects-archive-table td.project_title,
#wri-projects-archive-table td.project_title,
#wri-projects-archive-table td.left-align,
.partner-projects #partner-projects-table td.project_title,
.project-publications #project-publications-table td.project_title,
.project-publications #project-publications-table td.left-align
{
    text-align: left;
}

.dataTables_paginate,
.partner-projects .dataTables_paginate,
.project-publications .dataTables_paginate
{
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
    float: right;
}

.dataTables_info,
.partner-projects .dataTables_info,
.project-publications .dataTables_info
{
    font-size: 16px;
    display: inline-block;
}

.dataTables_paginate a:first-child.previous,
.partner-projects .dataTables_paginate a:first-child.previous,
.project-publications .dataTables_paginate a:first-child.previous
{
    margin-right: 5px;
}

.dataTables_paginate span a,
.partner-projects .dataTables_paginate span a,
.project-publications .dataTables_paginate span a
{
    margin-right: 3px;
}

.dataTables_paginate a.next,
.partner-projects .dataTables_paginate a.next,
.project-publications .dataTables_paginate a.next
{
    margin-left: 5px;
}

#uws-projects-table thead tr.table-heading th:hover {
    cursor: pointer;
}

#uws-projects-table .project-year {
    text-align: center;
}


.datatable tr td.summary-report,
.datatable tr td.final-report
{
    text-align: center;
	vertical-align: middle;
}

.datatable tr td .cfs-hyperlink:before {
    content: '\f0c1';
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    font-size: 2em;
    text-decoration: inherit;
}
.datatable tr td .cfs-hyperlink span.text {
    display: none;
}


/***** adding/editing form *****/
tfoot tr th:last-child {
    text-align: right;
}

#add-partner-project-form-start {
    position: absolute;
    top: 0px;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: rgba(22,22,22,0.5);
}

#add-charge-div, #edit-charge-div {
    width: 100%;
    height: 100%;
    top: 0;
    margin-left: -20px;
    position: absolute;
    visibility: hidden;
    display: none;
    background-color: rgba(22,22,22,0.5); /* complimenting your modal colors */
}
#edit-charge-div {
    display:block;
    visibility: visible;
}
#add-charge-div:target, #edit-charge-div:target {
    visibility: visible;
    display: block;
}
.reveal-modal {
    background:#e1e1e1;
    margin: 0 auto;
    width:80%;
    height: 700px;
    overflow: scroll;
    position:relative;
    z-index:41;
    top: 20%;
    padding:30px;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4);
    box-shadow:0 0 10px rgba(0,0,0,0.4);
}

#add-form-div #add-form .form-label-input-container {
    margin-bottom: 10px;
}
#add-form-div #add-form .form-label-input-container:last-child {
    margin-bottom: 0;
}

#add-form-div #add-form label {
    margin-right: 10px;
}

#add-form-div #add-form input[type="text"] {
    width: 100%;
}

#add-form-div #add-form select {
    background-color: #fff;
}

#add-form-div #add-form p.form-label {
    font-weight: bold;
}

#add-form-div #add-form .checkbox-container {
    background: #fff;
    padding: 10px;
    display: inline-block;
}

#add-form-div #add-form .checkbox-container label {
    font-weight: normal;
}

#add-form-div #add-form .checkbox-container input {
    margin-right: 10px;
}

#add-form .error_msg {
    font-weight: bold;
    font-size: 18px;
    color: #ff0000;
}

.cancel-submit-container {
    text-align: center;
}

.cancel-submit-container #cancel-btn, .cancel-submit-container .cancel-edit {
    display: inline-block !important;
}

#add-partner-project-btn {
    height: 100%;
    padding: 10px;
}

#loading {
    position: fixed;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
}


/*------------------------------------------------------------------
[Research Opportunities]
-------------------------------------------------------------------*/
.page-template-page-research-template .ht-container {
    padding-bottom: 20px;
}

.page-template-page-research-template #main {
    width: 75%;
    /*background: yellow;*/
    float: left;
    display: inline-block;
    padding-right: 20px;
}

#primary-sidebar {
    width: 25%;
    float: right;
    /*background: #666;*/
    display: inline-block;
    border: 1px solid #e7e7e7;
    padding: 15px;
}

#primary-sidebar .rounded {
    border-bottom: 1px solid #5a5a5a;
    font-weight: bold;
    margin-top: 0;
}

#primary-sidebar.widget-area a {
    color: #ff6633;
}


/*------------------------------------------------------------------
[contact forms]
-------------------------------------------------------------------*/
.contact-form {
    width: 90%;
    display: block;
    margin: 10px auto;
    background: #e7e7e7;
    padding: 20px;
}
.contact-form input {
    width: 100%;
}
.contact-form .submit-wrap {
    text-align: center;
    display: block;
}
.contact-form .submit-wrap .wpcf7-submit {
    width: initial;
}


/*------------------------------------------------------------------
[water-facts]
-------------------------------------------------------------------*/
.quote {
    background: #e8e8e8;
    padding: 20px;
    border-radius: 5px;
    /*margin-bottom: 20px;*/
    width: 95%;
    margin: 0 auto 30px;
}
.quote h4 {
    font-weight: bold;
}
.quote p:last-of-type {
    margin-bottom: 0;
}
.facts-container {
    margin-bottom: 30px;
}



/*------------------------------------------------------------------
[search-results]
-------------------------------------------------------------------*/
.search-results article {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.search-results article:last-of-type {
    border-bottom: none;
}

.search-results article .entry-readmore {
    margin-top: 10px;
}


/*------------------------------------------------------------------
[Footer]
-------------------------------------------------------------------*/

#ht-colophon {
    text-align: center;
    background: #fff;
    padding: 20px 0px;
    margin-top: 0;
}

#top-footer {
    padding: 30px 0 5px;
}

.top-footer-block {
    padding: 0px 0;
    text-align: center;
}

.site-footer {
    border-top: 5px solid #ff6633;
}

.top-footer-block .widget-title {
    margin: 0;
    padding: 10px 0px;
    line-height: 16px;
    border-bottom: 1px solid #5a5a5a;
    background: none;
    position: relative;
    margin-bottom: 20px;
    color: #5a5a5a;
    font-size: 16px;
    overflow: hidden;
}

#footer-login-container {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
}

#footer-links {
    margin-bottom: 0;
}

#footer-links img {
    margin:  0 20px;
    max-width: 100px;
    vertical-align: bottom;
}

#footer-links a:first-child img {
    margin-left: 0;
}

#footer-links a:last-child img {
    margin-right: 0;
}

.footer-mid {
    background: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer-mid .footer-comments {
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.footer-mid img {
    padding: 10px;
}

.footer-bottom {
    text-align: center;
}

#footer-login-container {
    text-align: center;
    font-size: 13px;
}

.footer-mid {
    background: #e7e7e7;
    text-align: center;
    padding: 30px 0;
}

.footer-mid .footer-comments {
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.footer-mid img {
    padding: 10px;
	position: relative;
}

.footer-mid #gift a {
    display: inline-block;
    /*background: #a81930;*/
    /*color: #fff;*/
    /*font-weight: bold;*/
    /*padding: 3px 10px;*/
    /*margin-top: 10px;*/
    /*border-radius: 3px;*/
    /*box-shadow: #666 0px 1px 6px;*/
}

.footer-mid #gift a:hover {
    /*background: #000;*/
}

.footer-mid #gift img {
    padding: 0;
}

.footer-bottom {
    text-align: center;
}


#footer-logos {
    display: -webkit-box; /* OLD - iOS 6, Safari 3.1-6 */
    display: -moz-inline-box; /* OLD - Firefox 19- */
    display: -ms-inline-flexbox; /* IE 10- */
    display: -webkit-inline-flex; /* Chrome */
    display: inline-flex;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
    margin: 0 20px 20px;
}

#footer-logos p {
    /*margin: 0 58px;*/
    margin: 0 3.85em;
    /*vertical-align: bottom;*/
    display: inline-block;
	z-index: 99999999;
}
#footer-logos p:first-child {
    margin-left: 0;
}
#footer-logos p:last-child {
    margin-right: 0;
}
#footer-logos p:last-child img {
    /*margin-top: -1em;*/
}

#ht-bottom-footer {
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
}

#ht-bottom-footer .ht-container {
    padding-top: 20px;
}

#ht-bottom-footer .ht-site-info {
	color: #000;
}

#ht-bottom-footer .ht-site-info a {
    border-bottom: none;
	color: #f04c2d !important;
}

#ht-bottom-footer .ht-site-info a:hover {
	color: #000;
}

/*------------------------------------------------------------------
[Responsive]
-------------------------------------------------------------------*/
@media screen and (max-width: 1000px) {
    #ht-site-branding {
        max-width: 70%;
    }
    .ht-container #wri-site-navigation {
        position: absolute;
        right: 0;
        float: right;
        width: 100%;
		top: 0;
    }
    .toggle-bar {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        top: 80px;
        height: 50px;
        width: 50px;
        background: #f04c2d;
        cursor: pointer;
        /*transition-delay: 380ms;*/
    }

    #wri-site-navigation #menu-main-menu {
        display: none;
    }
    .ht-container #menu-main-menu {
        position: absolute;
        bottom: initial;
        top: 130px;
        right: 0px;
        width: 100%;
        /*min-height: 600px;*/
        height: 90%;
        overflow: hidden;
        overflow-y: scroll;
        background: #313131;
    }
    /** smaller menu */
    #ht-masthead.small-header .ht-container #menu-main-menu.show-nav {
        top: 30px;
    }
    #ht-masthead.small-header .ht-container .search-form {
        top: 79px;
        transition: 300ms;
    }
    #ht-masthead.small-header .ht-container #menu-main-menu.show-nav {
        top: 79px;
        transition: 500ms;
    }

    #wri-site-navigation #menu-main-menu.show-nav {
        display: block;
    }
    .ht-main-navigation li {
        text-align: left;
		display: block;
		width: 100%;
    }
    #menu-main-menu li:last-child.menu-item-type-custom {
        display: none;
    }
    .ht-main-navigation ul ul {
        display: block !important;
        position: relative;
        width: 100%;
        top: 0;
        margin-left: 20px;
        background: #313131;
        border: none;
		margin-top: 0;
    }
    .ht-main-navigation ul ul a {
        color: #fff;
        font-size: 16px;
    }
    .sub-menu {
        border: none;
    }
    .ht-main-navigation ul ul li {
        /*padding-left: 20px;*/
    }
    .sf-with-ul:after {
        position: relative;
        left: 5px;
    }

    .nav-container ul.menu .search-form {
        display: none;
        position: relative;
        transition: 300ms;
    }
    .nav-container ul.menu .search-form .searchform {
        position: relative;
    }
    #wri-site-navigation #menu-main-menu.show-nav {
        display: block;
        position: relative;
        max-height: 400px;
    }
    .nav-container ul.menu .search-form.show-search {
        padding: 10px 10px;
        background: #313131;
        width: 100%;
        display: block;
        position: relative;
    }
    .nav-container ul.menu .search-form.show-search input {
        width: 100%;
        padding: 0 60px 0 10px;
    }
    .nav-container ul.menu .search-form.show-search .searchsubmit {
        position: absolute;
        top: 0;
        right: 0;
        height: 40px;
        width: 55px;
        border-radius: 0 !important;
    }

    #ht-blog-section .ht-blog-post {
        -webkit-flex: 1;
        -moz-flex: 1;
        -ms-flex: 1;
        -o-flex: 1;
        flex: 1;
    }

    .playlist-desc {
        width: 48%;
    }
    .audio-player {
        max-width: initial;
    }

	.table-responsive {
        border: none !important;
    }

    #footer-logos p {
        margin: 0 3.55em;
        margin: 0 40px;
    }
	.archive .videos .video-summary {
		width: 49%;
		margin-right: 1%;
	}
}

@media screen and (max-width: 830px) {
    #ht-service-post-section .ht-service-posts .ht-service-post {
        /*width: 100%;*/
        /*margin: 0px 0px 25px;*/
    }
    #ht-service-post-section .ht-service-posts .ht-service-post:last-child {
        margin-bottom: 0;
    }

    #news-section-links ul li {
        /*height: 40px;*/
    }
	.archive .videos .video-summary {
		width: 100%;
	}
	.archive.post-type-archive-news #main .archive-wrap {
		width: 49%;
	}
}

@media screen and (max-width: 783px) {
    #ht-content {
        /*margin-top: 124px;*/
    }

}

@media screen and (max-width: 768px) {
    #ht-blog-section .ht-container .ht-blog-wrap {
        display: block;
		/*padding: 0 20px 0 0;*/
        padding: 0;
    }
    #ht-blog-section .ht-blog-post
    {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
	.home #ht-blog-section .ht-blog-post {
        border: 1px solid #e7e7e7;
        padding: 20px 20px 0;
		margin-left: 0;
    }
	#ht-blog-section .ht-blog-post .ht-blog-thumbnail {
        max-height: 100%;
    }
    #ht-service-post-section {
        padding: 30px 0;
    }
    #news-section-links {
        display: block;
        width: 100%;
		margin-left: 0;
    }
 	#news-section-links ul,
	#news-section-links ul li:last-of-type 
	{
        margin-bottom: 0;
    }

    .post-type-archive-research .ht-blog-post .ht-blog-thumbnail {
        max-height: none;
    }

    #ht-blog-section .ht-blog-post .ht-blog-thumbnail img {
        width: 725px;
    }

	.post-type-archive-videos .site-main article {
		width: 100%;
		float: none;
		padding-right: 0;
	}
    .archive .featured-videos .video-summary, .archive .videos .video-summary {
        width: 48%;
		width: 100%;
    }
	.archive .videos .video-summary {
		
	}

    .single-videos article,
    .single-news article,
    .tax-Video-Categories article,
    .post-type-archive-videos .site-main
    {
        width: 100%;
        padding-right: 0px;
        float: none;
        margin-bottom: 15px;
    }

    .single-videos .related,
    .single-news .related,
    .tax-Video-Categories .video-topics,
    .post-type-archive-videos .video-topics
    {
        width: 100%;
        float: none;
    }

    .single .related ul li.related-posts {
        margin-bottom: 30px;
    }

    .archive.post-type-archive-news #main .archive-wrap,
    .archive.tax-News-Categories #main .archive-wrap,
    .archive.post-type-archive-research #main .archive-wrap,
    .archive.tax-Research-Categories #main .archive-wrap
    {
        width: 100%;
        display: block;
    }

    .term-research-archives #primary, .tax-Research-Categories #primary {
        margin-bottom: 0;
    }

	.page-template-page-research-cfs-publications .projects-pubs-desc,
	.page-template-page-research-all-gcc-projects .projects-pubs-desc,
    .research-archive-desc {
        float: none;
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

	.research-sidebar,
    .tax-Research-Categories .research-sidebar {
        width: 100%;
        float: none;
        padding: 0px 0 10px;
    }

    .archive.tax-Research-Categories #main .archive-wrap .ht-blog-post .ht-blog-thumbnail,
	.archive.tax-News-Categories #main .archive-wrap .ht-blog-thumbnail
    {
        max-height: 325px;
    }

    /* https://getbootstrap.com/css/#tables
    https://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685*/
    @-moz-document url-prefix() {
        fieldset { display: table-cell; }
    }

    .partner-projects .dataTables_length {
        display: block;
        width: 100%;
    }
    .partner-projects .dataTables_filter {
        display: block;
        text-align: left;
        float: none;
        width: 100%;
    }

    .playlist-desc, .playlist-description {
        width: 100%;
        display: block;
        float: none;
        margin-bottom: 20px;
    }

    .page-template-page-research-template #main,
    .page-template-page-research-template #primary-sidebar
    {
        width: 100%;
    }

    .entry-figure.featured-img {
        overflow: visible;
        max-height: 100%;
    }

    .entry-figure.featured-img .featured-img-caption {
        position: relative;
		opacity: 1;
    }
	
	.archive.tax-News-Categories #main .archive-wrap .ht-blog-thumbnail, .post-type-archive-news #main .archive-wrap .ht-blog-thumbnail {
		max-height: 425px;
	}

    #footer-logos {
        display: block;
    }
    #footer-logos p {
        margin: 0 20px;
    }
}

@media screen and (max-width: 700px) {
    .table-responsive {
        border: none !important;
    }
}

@media screen and (max-width: 700px) {
    #footer-logos p {
        margin: 0 10px;
    }
}
@media screen and (max-width: 630px) {
    .fts-simple-fb-wrapper {
        /*display: block;*/
    }
    .fts-jal-single-fb-post {
        width: 100%;
    }
    #ht-service-post-section .ht-service-post {
        width: 100%;
    }
    .archive .featured-videos .video-summary, .archive .videos .video-summary {
        width: 100%;
        margin-right: 0;
    }
	.bio-category .bio-thumbnail {
		width: 100%;
		display: block;
		text-align: left;
	    margin-left: 20px;
	}
    #footer-logos p {
        display: block;
        margin: 10px 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .ht-post-info {
        width: 20%;
        float: left;
        display: inline-block;
        margin-right: 10px;
    }
    .entry-meta.ht-post-info .entry-date {
        text-align: left;
    }
    .ht-post-wrapper {
        padding-left: 0;
        display: inline-block;
        width: 75%;
    }
	.single-fellow .ht-post-wrapper,
    .single-news .ht-post-wrapper 
	{
        width: 100%;
    }
 	.research .ht-post-wrapper {
        width: 100%;
    }
    .ht-post-info .entry-date span.ht-day {
        font-size: 15vw;
    }
    .ht-post-info .entry-date span {
        font-size: 5vw;
    }
    .partner-projects .dataTables_paginate,
    .partner-projects .dataTables_info {
        float: none;
        display: block;
        margin-left: 10px;
    }
}






