/*
Theme Name: FFD3
Theme URI:  http://www.un.org/esa/ffd/ffd3/
Description: Child Theme for the FFD3 conference site 
Author: Heidi Hunter
Template: ffdo
Version: 1.0.0
*/

/* =Import FfD Theme
-------------------------------------------------------------- */
@import url('../ffdo/style.css');

h1,h2,h3,h4,h5,
nav.main_menu > ul > li > a,
.block_single_post .title {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 600;
}
.block_single_post .title a {
    font-size: 20px;
    font-size: 2rem;
}
.tab_content h4, .tab_content h5 {
    font-family: Arial, Helvetica, sans-serif;
}
#header .bottom {
    height: auto;
}
#header .bottom .inner {
    background: none;
    height: auto;
}
#header h1 {
    float: left;
    margin-top: 2em;
}

#header .section_main_menu {
    background: none;
}
nav.main_menu > ul > li > a {
    font-size: 1.4rem;
    padding: 0 16px;
}
nav.main_menu > ul > li.current_page_item > a {
    background: none;
    padding: 0 16px;
    margin: 0;
}
nav.main_menu > ul > li.current_page_item > a:hover {
}
nav.main_menu > ul > li > a:hover {
    background: none;
    text-decoration: underline;
    padding: 0 16px;
    margin: 0;
}
nav.main_menu > ul > li {
    background: none;
}
nav.main_menu {
    background: none;
}
@media (max-width: 960px) {
    nav.main_menu > ul > li > a {
        font-size: 1rem;
        font-weight: normal;
    }
}
#footer {
    background: #efefef;
}
#footer .top {
    height: auto;
}
#footer .unFooterLinks {
    color: #444;
    padding: 1em 0;
    text-align: center;
}
#footer .unFooterLinks a {
    color: #444;
}
#footer .middle {
    display:none;
}

.main_content h2,
.main_content h3 {
    margin-top: 1em;
}
.main_content h2:first-child,
.main_content h3:first-child {
    margin-top: 0;
}
.main_content .list_3,
.main_content .list_5 {
    margin-bottom: 1.5em;
}
.right_sidebar .general_content {
    background: none;
}

@media (min-width: 768px) {
    .right_sidebar .sidebar {
        width: 30.668%;
        clear: right;
        margin-right: 0;
    }
    
}

li,
.list_5 li {
    padding-top: 0;
    line-height: 150%;
    margin-bottom: .4em;
}

#homeWidgetRow {
    clear: both;
}

#homeIconRow {
    background: url('images/green-dot-4px.png') repeat-x left top;
    margin: 2.5em 0 0;
    padding: 2.2em 0 0;
    text-align: center;
}
#homeIconRow a {
    display: block;
    padding: 0 2.4em;
}
#homeIconRow li {
    display: inline-block;
    *display: inline;
    float: left;
    height: 70px;
}
#homeIconRow ul:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

#homeIconRow .un {
    padding-top: 3px;
}
#homeIconRow .wbank {
    padding-top: 14px;
}
#homeIconRow .imf {
    padding-top: 3px;
}
#homeIconRow .wto {
    padding-top: 9px;
}
#homeIconRow .unctad {
}
#homeIconRow .undp {
    padding-top: 3px;
}
@media (max-width: 801px) {
    /*#homeIconRow li a {
        -moz-transform: scale(0.5,0.5);
        -ms-transform: scale(0.5,0.5); 
        -webkit-transform: scale(0.5,0.5);
        transform: scale(0.5,0.5);    
        -moz-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        transform-origin: top center;
    }*/    
    #homeIconRow a {
        padding: 0 1em;
    }
}

.home.widget,
.widget + .widget {
   margin-top: 2em;
}
/* for home page blog + social media spacing */
.one_third.last .home.widget + .widget {
    margin-top: 1em;
}
/* for home page main content top row */
.main_content > .home.widget:first-child,
.main_content > .home.widget:first-child + .widget,
.main_content > .home.widget:first-child + .widget + .widget {
    margin-top: 0;
}

.widget .news_scroll .fl {
    float: none;
}
.widget .attachment-thumb {
    max-width: 48px;
    max-height: 48px;
}
.widget .post_content {
    border: none;
    margin-left: 0;
    margin-right: 0;
}
.post-title {
    font-size: 13px;
    font-size: 1.3rem;
}
.widget .newsdesc .post-title a {
    color: #1A1A1A;
}
.widget .post_content h2 {
    padding-bottom: .2em;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 0;
}
.widget .post_date,
.main_content .lcp_catlist .post_date {
    font-size: 1.1rem;
    font-style: italic;
    color: #333333;
}

.lcp_catlist .newsdesc .post-title {
    display:block;
    line-height: 150%;
}
.lcp_catlist.news .newsdesc a + .post-title {
    padding-left: 52px;
}
.home.widget h5 {
    padding-bottom: 0;
    margin-bottom: .8em;
}
.sidebar .journal .newsdesc .post_thumbnail {
    margin-top: 0;
}
.widget .lcp_catlist.news.journal .newsdesc a + .post-title {
    padding: 4px 0 0 0;
}
.widget #social-icons {
    margin-bottom:1em;    
}
.widget #social-icons a {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 27px;
    margin-right: .25em;
}
#social-icons a span {
    text-indent: -9999px;
    display:block;
}
.widget #social-icons a.twitter {
    background: url('images/twitter_chiclet_small.png') no-repeat;
}
.widget #social-icons a.flickr {
    background: url('images/flickr-white-small-chiclet.png') no-repeat;
}
.widget #social-icons a.youtube {
    background: url('images/YouTube-social-squircle_red.png') no-repeat;
}
.widget #social-icons a.facebook {
    background: url('images/FB-logo-blue.png') no-repeat;
}
.widget #social-icons a.blog {
    background: url('images/blog_icon_25.jpg') no-repeat;
}
.home.widget #social-icons:first-child {
    margin-top: 1.5em;
    border-top: 1px solid #e8e8e8;
    padding-top: 1em;
    clear: both;
}
.widget #mailSubscribe {
    background: url("../ffdo/images/icon_button_mail.png") no-repeat scroll 0px 2px;
    display: inline-block:
    line-height: 120%;
    padding-left: 16px;
}
.widget #ffdo {
    background: url("../ffdo/images/icon_web_1.png") no-repeat scroll 0 2px;
    display: inline-block:
    line-height: 120%;
    padding-left: 16px;
}
.lcp_catlist.blog p.post_author {
    padding-bottom: 0;
    font-style: italic;
    color: #333;
}
.home.widget .lcp_catlist.blog li {
    background: url('images/blog_icon.jpg') no-repeat left 4px;
    padding-left: 40px;
}
.home.widget .lcp_catlist.blog .post_date {
    display:none;
}

/* Home sidebar News & Events */
.widget .newsdesc .post_thumbnail {
	float: left;
	margin-right: 20px;
    margin-top: 4px;
}
.sidebar .newsdesc .post_thumbnail + h2 {
    margin-left: 0;
}
.widget .news li:last-child {
    margin-bottom: 0;
}

.sidebar .post_content {
    margin: 0;
}
.sidebar .newsdesc {
    background: none;
    padding: 0;
    min-height: 0;
    min-width: 0;
    height: auto;
    margin-bottom: .8em;
}
.sidebar .post_content .post_date {
    padding-bottom: 0;
}
.twitter h3 {
    background: url('images/Twitter_logo_blue.png') no-repeat scroll right top;
}

.block_home_slider {
    border: 0 none;
    margin-bottom: 1.5em;
}
.block_home_slider + .line_2 {
    display: none;
}

/* Recent posts shortcode output - one column */
.block_home_col_1.recentposts .line_3 {
    display:none;
}
.block_home_col_1.recentposts .pic a {
    border: 0 none;
}
.block_home_col_1.recentposts .block_home_post {
    margin-top: 1.2em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid #efefef;
}
.block_home_col_1.recentposts .block_home_post:last-child {
    border-bottom: 0 none;
    padding-bottom: 0;
}


/* search */
.sidebar .search {
    margin: 1.2em 0 2em;
}
.sidebar .widget + .widget .search {
    margin-top: 0;
    padding-top: 1.2em;
    border-top: 2px solid #efefef;
}
.block_newsletter .search .field {
    background: none;
    display: inline-block;
    width: 86%;
    border: 1px solid #ddd;
    border-radius: 2px;
    height: 33px;    
}
.search .field input {
    border: 0 none;
    padding: 9px 4px;
    margin-left: 0;
    width: 95%;
}
.search .button {
    background: #f9f9f9 url('images/search_icon.png') no-repeat center center;
    max-width: 35px;
    text-indent: -9999px;
    float: right;
    margin-left: 4px;
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 2px;
}
.block_newsletter .button:hover {
    background-position: center center;
}

/* TODO some kind of bullet icon fits with brand */
/* Prep process widget menu */
.widget .menu li {
    line-height: 200%;
}

.widget h3 {
    background: url('images/green-dot-4px.png') repeat-x left bottom;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.sidebar .menu a {
    background: none;
    color: #06c;
    display: inline;
    padding: 0;
    transition: none;
}
.sidebar .menu a:hover,
.sidebar .menu a:focus {
    background: none;
    margin-left: 0;
    text-decoration: underline;
}
.sidebar .menu li {
    border-bottom: 0;
}
.widget .sub-menu {
    padding-left: 1.2em;
}

.block_testimonial_type_1 p {
    font-weight: bold;
    font-size: 120%;
}

.block_testimonial_type_1 .text .tail {
    display: none;
}

.tab_content h4 {
    font-size: 1.3rem;
    margin-bottom: .5em;
    padding-bottom: 0;
} 
.tab_content ul li li {
    padding-left: 1.5em;
}
.tab_content ul + h4 {
    margin-top: 1.5em;
}

div.textwidget p {
    margin-top: 0;
}

/* Event Organizer */

.eo-events-widget li {
    padding: .4em 0 .4em 40px;
    line-height: 1.2em;
    background: url('images/calendar.png') no-repeat left 6px;
    min-height: 20px;
}
.eo-events-widget li:first-child {
    padding-top: 0;
    background-position: left top;
}

.main_content .eo-events {
    padding-bottom: 15px;
}
.table_1 td,
.table_1 th {
    color: #000;
}
.table_1 {
    margin-bottom: 1em;
}
.table_2.events td {
    font-size: 1.3rem;
    padding: .4em 0;
    border: 0 none;
    color: #000;
}
.table_2.events td:first-child,
.eo-events li .cell:first-child {
    width: 30%;
}
.table_2.events td + td,
.eo-events li span.cell + span.cell {
    padding-left: 1em; 
}
.eo-events li {
    clear: both;
}
.eo-events li .cell {
    float: left;
}
.eo-events li .cell + .cell {
    max-width: 70%; 
}
.eo-events li .cell {
    display: inline-block;
} 
.eo-events li:after {
    display:block;
    content: '.';
    height: 0;
    visibility: hidden;
    clear: both;
}
.eo-events li .cell img {
    display: block;
    margin: auto;
}
.eo-events li hr {
    clear: both;
    border-color: #EAEAEA;
    border-style: solid;
    border-width: 0 0 1px 0;
    background-color: #fff;
    padding-top: 1em;
    margin-bottom: 1em;
}

header {
    background: #fff url('images/dot-bar-blue-top.png') repeat-x left -27px;
    padding-top: 30px;
}
.general_content header {
    background: none;
    padding:0;
}
#header .section_main_menu {
    background: #255EA8;
    margin: 10px 0 7px;
}
#header {
    background: #fff;
}
#content {
    padding-bottom: 3em;
}
#header .bottom {
    padding: 10px 0;
}
#banner_top {
    margin: 0;
    padding: 0;
    float: none;
    line-height: 130%;
    font-size: 2rem;
    color: #00963f;
    text-align: right;
    font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}
@media (max-width:767px) {
    #banner_top {
        display: none;
    }
}

#logo_top {
    padding: 0;
    float: left;
}

footer,
#footer {
    background: #255ea8;
    padding: 0;
    color: #fff;
}
footer .inner {
    background:  url('images/chev-circle-blue.png') no-repeat -23px -37px;
    padding: 30px 0 25px;
}
#footer a,
#footer a:hover,
#footer a:visited {
    color: #fff;
}
#footer a {
    margin: .4em 0;
}
#footer .one_half.last {
    text-align: right;
}
#footer p {
    padding: 0;
}
@media (max-width: 479px) {
    footer .inner {
        background: none;
        padding: 1em;
    }
    #footer .one_half.last {
        text-align: left;
    }
}

.img-credit {
    font-size: 1.1rem;
    color: #666;
}
article + article {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 2px solid #efefef;
}

ul.list_5 li,
ul.list_5 li:first-child {
    background: url('images/bullet.png') no-repeat 0 6px;
}
ul.list_5 li li,
ul.list_5 li li:first-child {
    background: none;
}

blockquote {
    font-size: 1.3rem;
    line-height: 150%;
    color: #333;
    padding: .6em 0 0 1em;
    font-family: Arial, Helvetica, sans-serif;
}

.wp-caption p.wp-caption-text {
    text-align: left;
    padding-bottom: 0;
    color: #333;
    font-style: italic;
    font-size: 1.1rem;
}
.wp-caption {
    margin-bottom: 0;
}

.block_single_post .subtitle {
    color: inherit;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    font-style: italic;
}

.block_accordeon_type_2 .button_outer {
    font-size: 16px;
    font-size: 1.6rem;
}
/* blogs */
.block_blog_1 li:first-child .blog_post {
    border-top-width: 2px;
}
#allBlogs h4 {
    padding-bottom: .25em;
    font-size: 1em;
}
#allBlogs {
    line-height: 150%;
}
#allBlogs dt {
    font-size: 13px;
    font-size: 1.3rem;
    font-weight: bold;
}
#allBlogs dd {
    padding-left: 1em;
    margin-bottom: 1em;
}
.general_info_box.warning p {
    color: #896b00;
}
.widget .general_info_box .close {
    display: none;
}
.widget .general_info_box {
    padding: 14px;
}
.general_info_box a {
    text-decoration: underline;
}
.widget .view_all_link {
    background: url(images/blue_chevron_single_horiz.png) no-repeat scroll 1px center;
    padding-left: 12px;
    line-height: 140%;
}
.general_button.w_icon {
    font-size: 14px;
    font-size: 1.4rem;
    color: #255EA8;
}
#programCalendar {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1em;
}
#programCalendar th,
#programCalendar td {
    border: 4px solid white;
    vertical-align: middle;
}
#programCalendar th div,
#programCalendar td div {
    background-color: #bbd3e7;
    border: 1px solid #bbd3e7;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 10px;
    min-height: 26px;
}
#programCalendar tr:first-child th div,
#programCalendar .empty {
    background-color: #dfdfdf;
    border-color: #dfdfdf;
}
#programCalendar th:first-child div {
    background-color: #f9c3c3;
    border-color: #f9c3c3;
}
#programCalendar td:first-child div {
    background: none;
    border: 0 none;
}
#programCalendar a,
#programCalendar a:visited {
    color: #000000;
    display: block;
    height: 100%;
}
/* Brightcove player for webtv*/
.bc-containing-block {
      width: 100%;
}
.bc-outer-container {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}
.BrightcoveExperience {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* commitments display */
table.commitment th {
    font-weight: bold;
    text-align: left;
    padding-right: .8em;
}
table.commitment {
    line-height: 150%;
}
table.commitment th,
table.commitment td {
    padding: .2em .8em .2em 0;
}
table.commitment p {
    padding: 0;
}
#logo_top .header_large,
#logo_top .header_small {
	visibility: hidden;
}