/*
Theme Name: DESA Bootstrap Library
Template: desa-bootstrap
Theme URI:  http://www.un.org/desa
Description: Apply DESA Bootstrap theme to multimedia library
Author: Mohammed Amir, Heidi Hunter
Author URI: www.un.org/desa
Version: 1.0
*/

#filters {
    background: #f2f2f2;
}

/* Footer */
#footer-wrapper {
    border-top: 1px solid #4D4D4D;
}
footer {
    padding-bottom: 2em;
}
footer h6 {
    margin-top: .8em;
    font-size: 14px;
}
footer h6:after {
    background-color: #414042;
    content: "";
    display: block;
    height: 1px;
    /* TODO more precise dimensions */
    width: 3em;
    margin: .3em 0 .8em;    
}
footer li a {
    color: #000;
    font-size: 12px;
}
footer li a:active,
footer li a:focus,
footer a:hover {
    text-decoration: underline;
    cursor: pointer;
}

#major-publications,
#major-publications ul,
#latest-video ul {
    margin-bottom: 0;
}
#major-publications ul.media-list li,
#latest-video ul.media-list li {
    margin-bottom: 1em;
}
#major-publications li:first-child .media-body,
#major-publications li:first-child + li .media-body {
    padding-top: .5em;
}
#major-publications .media,
#latest-video .media-list .media {
	border-bottom: 1px solid #ccc;
}
#major-publications .media-body > div {
    height: 130px;
    overflow: hidden;
}

#latest-video .featured-video {
    margin: 0 0 1em;
}
#latest-video .featured-video .media-object {
    width: 75%;
}
#latest-video .featured-video .media-body {
    padding-top: .5em;
}
#latest-video .featured-video h4 {
    font-size: 18px;
}

#sidebar-right .widget a {
    color:#4d4d4d;
}
#sidebar-right .widget {
    background-color: #F2F2F2;
}
#sidebar-right .widget h4 {
    margin: 1em 0 .5em;
}
#sidebar-right #filters header + h4 {
    margin-top: .5em;
}
.widget li:before {
    content: '\f0da';
    font-family: 'FontAwesome';
    color: #4d4d4d;
    margin: 0 0.4em 0 -0.8em;
}
.widget ul{
    padding-left: .8em; 
  }
.widget li {
    margin-bottom: .4em;
}
.widget .media-list li:before {
    content: '';
    margin: 0;
} 
nav.menu-desa-container .sf-menu {
    margin-bottom: 0;
}
nav.menu-desa-container {
    margin-bottom: 1em;
}
@media screen and (min-width: 768px) {
    /* show faux subnav area always */
    nav.menu-desa-desktop {
        height: 67px;
        background-color: #F2F2F2;
    }
    nav.menu-desa-mobile {
        display: none;
    }
}

.related .link:before {
    content: '\f0ac';
    font-family: 'FontAwesome';
}
.related .pdf:before {
    content: '\f1c1';
    font-family: 'FontAwesome';
}
.related .shop:before {
    content: '\f07a';
    font-family: 'FontAwesome';
}
.related .shop:before,.related .pdf:before ,.related .link:before  {
	margin-right:5px;
}
body.single article.graphic img.wp-post-image {
    margin: 0 auto 1em;
}
/* width-constrain publications archives so the thumbnails line up */
body.post-type-archive-publication .media-list .media-object img,
body.archive .media-list li.publication .media-object img,
body.archive .media-list li.post .media-object img {
    width: 90px; /* using most common width from legacy images */
}
/* center images in mixed-type archives */
body.archive.date .media-list .media-object,
body.archive.category .media-list .media-object {
    width: 150px;
    text-align: center;
}

dl.working-papers dt {
    font-weight: 500;
}
dl.working-papers dt a {
    color: #000;
    line-height: 20px;
}
dl.working-papers dd span {
    line-height: 20px;
}
dl.working-papers dd .category,
dl.working-papers dd .category a {
    color: #808285;
    font-weight: 500;
}
dl.working-papers dd {
    border-bottom: 1px solid #808285    
}
dl.working-papers dt {
    padding-top: .75em;
}
dl.working-papers dd {
    padding: 0 0 .5em .5em;
}
dl.working-papers dt:first-child {
    padding-top: .5em;
}
.single-working-paper .post-meta span {
    line-height: 17px;
}
