.slides h1, .slides h2 {
    background: rgba(0,0,0,0.6);
    padding-left: 15px;
}
.slides .flex-button a {
    background: rgba(0,0,0,0.6);
}

.site-footer .widget ul li:before {
    position: absolute;
    left: 0;
}

#main .inner {padding: 20px 0 15px 0; }
a.learn-more,
a.learn-more:visited,
a.more-items,
a.more-items:visited {
    background: #007b3a;
    color: #fff;
    padding: .1em 0.5em;
    text-decoration: none;
    font-size: .9em;
    white-space: nowrap;
}
a.more-items,
a.more-items:visited {display: block; padding: .2em; text-transform: uppercase; text-align: center }
a.learn-more:hover,
a.more-items:hover {
    background: #006e34;
    color: #ffd300;
}
.alignnone { width: auto !important;}
.site-footer a, .site-footer a:visited { color: #FFA801;}
.site-footer a:focus, .site-footer a:active, .site-footer a:hover { color: #ffd300; }

#page .teaser-page-list {
    background: #FFA801;
    text-align: center;
}
.teaser-page-list .page-title {
    border: none;
}

#thematic-areas a {
    position: relative; display: block; height: 0; padding-top: 30%; margin: 0 0 10px 0;
    background-size: cover; background-position: 50% 50%;
}
#thematic-areas a:last-child { margin-right: 0;}
#thematic-areas a h2{
    position: absolute; left: 0; right: 0;
    background: rgba(3, 125, 60, 0.7);
    text-align: center;
    padding: 5px;
    top: 10%;
    line-height: normal;
    color: #fff;
}
#thematic-areas h3 {
    margin-bottom: 10px;
    margin-right: 2%;
}

#thematic-areas-slider h2 {border-bottom: solid 1px #ddd; margin-bottom: 10px; text-align: center}
#thematic-areas-slider .swiper-container {width: 100%; height: 280px; position: relative; overflow: hidden}
#thematic-areas-slider .swiper-container .swiper-slide a {display: block; position: absolute; left:0; right:0; top:0; bottom:0; text-decoration: none; background-size: cover; background-position: 50% 50%;}
#thematic-areas-slider .swiper-container .swiper-slide a h2 {
    background: rgba(95, 85, 75, 0.8);
    text-align: center;
    padding: 5px;
    margin-top: 20px;
    line-height: normal;
    color: #fff;
    transition: all 300ms ease-in-out;
}
#thematic-areas-slider .swiper-container .swiper-slide a:hover h2 { margin-top: 5px; background: rgba(95, 85, 75, 1)}
#thematic-areas-slider .swiper-button-next, #thematic-areas-slider  .swiper-button-prev { padding: 10px; background-color: rgba(0,0,0,0.3); color: #fff}

.widget_nv_mediapartners_widget {margin-bottom: 0}
.widget_nv_mediapartners_widget img {max-width: 100%; margin: 0 auto}
.tns-controls {position: relative}
.tns-controls button{
    border: none;
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 18px;
}
.tns-controls button:hover {background: rgba(0,0,0,0.4);}
.tns-controls button[data-controls="next"]{position: absolute; right: 0}
.tns-nav {
    text-align: center;
    margin: 10px 0;
}
.tns-nav > [aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}
.tns-nav > .tns-nav-active { background: #999; }

#toolbar .tb-list .share-item-icon-flickr a {
    padding-top: 12px;
    width: 40px;
    height: 28px;
    background: none;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
#toolbar .tb-list .share-items .share-item-icon-flickr a:hover, #toolbar .tb-list .share-item-icon-flickr a:hover { background: #128fdc;}
.widget h3 a { display: inline-block }
.flexslider-gallery .slides figure{
    text-align: center;
    background: #333;
    width: 100%;
    height: 328px;
    display: flex;
}
.flexslider-gallery .slides figure img{
    max-height: 328px;
    width: auto;
    margin: auto;
}
/**
* Home widgets
*/
aside.widget { clear: both;}
figure img {max-width: 100%;}
img.alignleft {
    float: left;
    display: inline;
}
img.alignright {
    float: right;
    display: inline;
}
h2.home-widget-title {border-bottom: solid 1px #dddddd;padding-top: 1em;}
h2.home-widget-title a {display: block; color: #007b3a; text-decoration: none; transition: all 400ms ease-in-out}
h2.home-widget-title a:hover {background-color: #007b3a; color: #fff; padding-left: 0.5em}

.home-news {}
.home-news .hentry {padding: 10px 0; border-bottom: solid 1px #dddddd}
.home-news .hentry.post_publications {
    width: 33%;
    float: left;
    padding-right: 6px;
    padding-left: 6px;
    box-sizing: border-box;
}
.home-news .hentry.post_publications:first-child {
    padding-right: 12px;
    padding-left: 0;
}
.home-news .hentry.post_publications:last-child {
    padding-right: 0;
    padding-left: 12px;
}
.home-news figure {width: 100%;}
.home-news h3 {font-size: 18px; line-height: normal; display: inline-block }
.home-news p {font-size: 14px; line-height:1.4em; margin-bottom: 0}


.home-campaigns {}
.home-campaigns .post, .home-campaigns .post_causes {padding: 10px 0; border-bottom: solid 1px #dddddd}
.home-campaigns .post:after, .home-campaigns .post_causes:after {content: ''; display: block; clear: both}
.home-campaigns img {width: 100%; max-width: 100%; height: auto}
.home-campaigns h3 {font-size: 18px; line-height: normal; display: inline-block }
.home-campaigns p {font-size: 14px; line-height:1.4em; margin-bottom: 0}

.home-events {}
.home-events .post {padding: 7px 0; border-bottom: solid 1px #dddddd}
.home-events .post:after {content: ''; display: block; clear: both}
.home-events img {max-width: 100%; height: auto; padding: 5px; border: solid 1px #ddd}
.home-events a {text-decoration: none}
.home-events h3 {font-size: 18px; line-height: normal }

.media-partners > div { box-sizing: border-box; padding: 20px 25px}
.media-partners > div img{ max-width: 360px; height: auto; margin: 0 auto}

.single-post_causes .entry-meta,
.single-post_publications .entry-meta {overflow: visible; line-height: 32px}
.entry-meta a{text-decoration: none}
.flexslider-gallery .slides .caption { background: #fff; color: #111; }

h2.fp-widget-title { border-bottom: solid 1px #dddddd}
.widget .thematicarea-news h3 { display: block; padding-bottom: 2px; border-bottom: solid 1px #ddd; line-height: 1.1em }
.widget .thematicarea-news h3 a { display: block; font-size: 16px }

.home a.more-items, .home a.more-items:visited {
    background: #fff;
    color: #007b3a;
    padding: 0.5em;
    border: solid 1px #007b3a;
    margin-top: 5px;
}
.home a.more-items:hover { background: #006e34; color: #ffd300;}

#secondary aside.widget_dpe_fp_widget, #secondary .query.widget {margin-bottom: 20px}

.widget-causes-body .cause-item.banner {background-color: #e5ffc6}
.widget-causes-body .cause-item.banner img {max-width: 100%; height: auto}



/**
* Tiles widgets
*/
aside.widget.carbon_fields_navdanya_tiles_widget { margin-bottom: 1em }
.carbon_fields_navdanya_tiles_widget .home-widget-title{ text-align: center }
.nv-tiles {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.nv-tiles a{
    text-decoration: none;
    padding: .5em;
    flex-grow: 1;
    flex-basis: 0;
}
.nv-tiles.tiles a{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5em;
    padding: 2em 1em;
    margin: .5em;
    background-color: #007b3a;
    background-size: cover;
    background-position: 50% 50%;
}
.nv-tiles.icons a img{
    max-width: 60%;
    margin: 1.5em auto;
    transition: all 500ms;
}
.nv-tiles.icons a:hover img{
    max-width: 65%;
    margin: 1.2em auto;
}
.nv-tiles a h4{
    text-align: center;
}
.nv-tiles.icons a h4{
    text-transform: uppercase;
}
.nv-tiles.tiles a h4{
    color: #fff;
    background: #007b3ae0;
}
.nv-tiles.tiles a:hover h4{
    text-shadow: #000 0 1px 5px;
}

/**
* Footer widgets
*/
#colophon .widget ul li { padding: 7px;}
.widget_dpe_fp_widget ul li { position: relative;}
.widget_dpe_fp_widget ul li:before { position: absolute; left: 0;}

.widget_archive ul {height: 420px; overflow-y: auto}
.widget_archive ul::-webkit-scrollbar { width: 12px; background-color: #004f27; border-radius: 10px;}
.widget_archive ul::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);  border-radius: 10px;}
.widget_archive ul::-webkit-scrollbar-thumb {background-color: #007B3A; border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);}

.site-footer .tnp-widget label { color: #fff; }

/**
* Media queries
*/

@media screen and (min-width: 641px){

    .home-top-left {width: 65%; float:left; box-sizing: border-box;}
    .home-top-right {width: 32.5%; float:right; box-sizing: border-box; padding-left: 10px;}
    .home-bottom-left {width: 65%; float:left; box-sizing: border-box;}
    .home-bottom-right {width: 32.5%; float:right; box-sizing: border-box; padding-left: 10px;}

    .home-top-left aside.widget,
    .home-top-right aside.widget { margin-bottom: 0}

    .homenews-3cols {display: flex; }
    .homenews-3cols .home-news {width: 32%; margin: 0 1%}
    .homenews-3cols .home-news.alpha {margin-left: 0}
    .homenews-3cols .home-news.omega {margin-right: 0}

    .media-partners > div { width: 33%; float: left;}
    .media-partners > div img{ max-width: 100%;}

    .container_16 .home-news.grid_8 { width: 50%; margin: 0; padding-right: 10px; box-sizing: border-box}
    .container_16 .home-news.grid_8:first-child { }
    .container_16 .home-news.grid_8:last-child { padding-right: 0; padding-left: 10px;}

    .third-home-widget-area:after {
        content: '';
        clear: both;
    }
    .third-home-widget-area .widget_dpe_fp_widget {
        width: 25%;
        float: left;
    }
    .nv-tiles {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nv-tiles a{
        flex: 0 0 42%;
    }

}

@media screen and (min-width: 769px) {
    #thematic-areas a { width: 18%; margin: 0 2.5% 0 0; padding-top: 18%; float: left; }
    .media-partners > div { width: 20%; float: left;}
    .flexslider-gallery .slides figure { height: 440px }
    .flexslider-gallery .slides figure img { max-height: 440px }
    .nv-tiles {
        flex-wrap: nowrap;
    }
    .nv-tiles a{
        flex-grow: 1;
        flex-basis: 0;
    }

}

@media screen and (min-width: 1201px) {
    .teaser-page-list .page-title { font-size: 48px;}
    .single-post .teaser-page-list .page-title { font-size: 32px;}
    .media-partners > div { padding: 20px 30px}
    .flexslider-gallery .slides figure { height: 600px }
    .flexslider-gallery .slides figure img { max-height: 600px }
}


.forth-home-widget-area img {
    box-sizing: border-box;
    padding: 0 24px;
    margin: 0 auto;
}
#colophon .widget ul li ul {
    display: none;
}

.page-template-template-thematic-areas-page #main .inner,
.page-template-template-thematic-areas-fullwidth #main .inner {padding-top: 32px}

.term-post-format-video #main .inner {padding-top: 1%;}
.term-post-format-video article.format-video {width: 24%; margin: 0 1% 1% 0; float: left; padding-bottom: 0; border: 1px solid #ddd; box-sizing: border-box}
.term-post-format-video article.format-video .entry-meta {border-bottom: none;}
.term-post-format-video article.format-video .short-content .entry-header {display: block; padding: 2px 6px;}
.term-post-format-video article.format-video .short-content .buttons { padding: 11px 12px;}
.term-post-format-video article.format-video .short-content .buttons.fright:hover {color: #000; background: #ffa801;}
.term-post-format-video article.format-video .short-description p {margin-bottom: 0}
.term-post-format-video article.format-video .embed-youtube{position: relative; width: 100%; height: 0; padding-bottom: 56.25%;}
.term-post-format-video article.format-video .embed-youtube iframe.youtube-player{position: absolute; width: 100%; height: 100%; top:0; left: 0;}
.term-post-format-video article.format-video .video-embed iframe  {width: 100%; height: auto;}
.wpml-ls-current-language a { border-bottom: 1px solid #fff;}