/**
 *   Header
 */

.ProjectDetail__header {
    position: relative;
    padding: 50px 4% 70px;
    color: #fff;
    background-color: #0081ab;
}

.ProjectDetail__textWrapper {
    position: relative;
    text-align: center;
    display: table;
    max-width: 40em;
    margin-right: auto;
    margin-left: auto;
}

.ProjectDetail__text {
    display: table-cell;
    vertical-align: middle;
}

.ProjectDetail__title {
    margin: 0 0 .3em;
    line-height: 1.05;
    font-size: 1.5em;
}

.ProjectDetail__titleProposedInvestment {
    display: inline-block;
    margin-top: 0.5em;
    padding: 0.3em 0.5em;
    border: 1px solid rgba(255,255,255, 0.7);
    font-size: 0.8em;
}

.ProjectDetail__more {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.ProjectDetail__moreBackground {
    height: 100%;
    position: absolute;
    left: 50%;
    margin-left: -1540px;
}

@media screen and (min-width: 1200px) {
    .ProjectDetail__header {
        padding-top: 90px;
        padding-bottom: 125px;
    }

    .ProjectDetail__title {
        font-size: 2.45em;
    }

    .ProjectDetail__more {
        height: 89px;
    }
}

/**
 *    Back
 */

.ProjectDetail__backToMap {
    display: block;
    position: absolute;
    top: -40px;
    width: 90px;
    height: 49px;
    color: #fff;
    text-decoration: none;
    background: #002b5c url(./ProjectDetail__map.png) no-repeat 87% 50%;
    background-size: 50px;
}

.ProjectDetail__backToMap:hover {
    color: #fff;
}

.ProjectDetail__backToMapText {
    display: block;
    text-indent: -999em;
}

.ProjectDetail__backToMap:before {
    content: '\2192';
    display: block;
    width: 16%;
    font-family: 'icons', sans-serif;
    font-size: 1.5em;
    line-height: 49px;
    transform: rotate(180deg);
    transition: width 0.2s ease;
}

.ProjectDetail__backToMap:hover:before {
    width: 14%;
}

@media screen and (min-width: 1200px) {
    .ProjectDetail__backToMap {
        top: -104px;
        width: 160px;
        height: 89px;
        background-size: 100px;
    }

    .ProjectDetail__backToMap:before {
        line-height: 89px;
    }
}

/**
 *    Main & Aside
 */

.ProjectDetail__body {
    position: relative;
    margin-bottom: 2em;
}

.ProjectDetail__main {
    grid-column: 2;
    grid-row: 2;
    max-width: 28em;
    margin: 0 auto;
    padding: 0 1em 1em;
    line-height: 1.4;
}

.ProjectDetail__aside {
    overflow: hidden;
    max-width: 28em;
    margin: 0 auto;
    padding: 0.3em 1em;
}

.ProjectDetail__aside--right {
    background-color: #f2f8fa;
}

.ProjectDetail__asideInner {
    font-size: 0.8em;
}

@media screen and (min-width: 1200px) {
    .ProjectDetail__body {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: auto 1fr;
        margin-top: 1.5rem;
    }

    .ProjectDetail__aside {
        max-width: 300px;
        margin: 0;
        padding: 0;
    }

    .ProjectDetail__aside--left {
        grid-row: 2;
        grid-column: 1;
    }

    .ProjectDetail__aside--right {
        grid-column: 3;
        grid-row: 2;
    }

    .ProjectDetail__asideInner {
        padding: 0.9em 1.7em;
    }
}

@media screen and (min-width: 1500px) {
    .ProjectDetail__main {
        max-width: 36em;
    }
}

/**
 *    Right
 */

.ProjectDetail__aside a {
    color: #002b5c;
}

.ProjectDetail__aside a:hover {
    color: #04a1ff;
}

.ProjectDetail__aside dl {
    margin: 0 0 1em;
}

.ProjectDetail__aside dt {
    margin-top: 1em;
    color: #2f98ba;
}

.ProjectDetail__aside dd {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
}

/**
 *    Left
 */

.ProjectDetail__disclaimerTitle,
.ProjectDetail__disclosureTitle {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #002b5c;
}

.ProjectDetail__disclaimerText,
.ProjectDetail__disclosureText {
    font-style: italic;
    font-size: 0.8em;
}

.ProjectDetail__questions {
    background-color: #f9a702;
    margin: 1.5em -1em 0;
    padding: 0.1em 1em;
}

@media screen and (min-width: 1200px) {
    .ProjectDetail__questions {
        margin-left: -1.7em;
        padding-left: 1.7em;
    }
}

.ProjectDetail__questionsTitle {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #002b5c;
}

.ProjectDetail__questionsText {
    font-size: 0.8em;
}

.ProjectDetail__questionsText a:hover {
    color: #002b5c;
}

/**
 * Related projects
 */

table {
	width: 100%;
    font-size: 0.9em;
}

th {
    padding: 0.2em 0.6em;
}

th {
	font-size: 0.9em;
	text-transform: uppercase;
    text-align: left;
}

tr.odd td {
    background: #f2f2f2;
}

tr.even td {
    background: #f8f8f8;
}

td a {
	display: block;
    padding: 0.2em 0.5em;
    text-decoration: none;
    color: #0081ab;
}

tr:hover a {
    color: #0090E7;
}

/**
 *    Info Label
 */

.ProjectDetail__infoLabel {
    position: relative;
    display: block;
    float: right;
    border-radius: 8px;
    margin-top: 0.21em;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    text-decoration: none;
    color: #fff !important;
    cursor: pointer;
    background-color: #0081ab;
}

.ProjectDetail__infoLabel:hover {
    color: #fff !important;
    background-color: #04a1ff;
}

.ProjectDetail__infoLabel:before {
    content: '?';
    display: block;
    width: 16px;
    height: 16px;
    font-size: 0.6em;
    font-family: 'Helvetica', sans-serif;
    line-height: 16px;
    text-align: center;
}

.ProjectDetail__popOver {
    position: absolute;
    right: 0;
    bottom: 20px;
    display: none;
    width: 200px;
    padding: 1em;
    text-indent: 0;
    z-index: 10;
    color: #fff;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ProjectDetail__popOver:after {
    content: "x";
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em;
    font-size: 1em;
    line-height: .8em;
}

.ProjectDetail__infoLabel--active .ProjectDetail__popOver {
    display: block;
}

/**
 *    Social Media
 */

/*.fmo-shareButtonsWrapper {*/
    /*display: none;*/
/*}*/

/*@media (min-width: 700px) {*/
    /*.fmo-shareButtonsWrapper {*/
        /*display: block;*/
    /*}*/
/*}*/

/*.fmo-shareButtonsWrapper {*/
    /*max-width: 28em;*/
    /*margin: 0 auto;*/
    /*padding: 0 1em 1em;*/
/*}*/

/*@media screen and (min-width: 1500px) {*/
    /*.fmo-shareButtonsWrapper {*/
        /*max-width: 36em;*/
    /*}*/
/*}*/

/*.fmo-shareButtons {*/
    /*display: inline-block;*/
/*}*/

/*.fmo-shareButtonsTitle {*/
    /*margin: 0;*/
    /*padding: .3em .5em;*/
    /*font-size: .8em;*/
    /*font-family: 'Futurapt Book', sans-serif;*/
    /*color: #fff;*/
    /*background-color: #002b5c;*/
/*}*/

/*.fmo-shareButtonsContent {*/
    /*padding: .3em .5em .2em;*/
    /*background-color: #dbecf3;*/
/*}*/

/**
 *    UN Goals
 */

.unGoal {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: 50px;
}

.unGoal1 {
    background-image: url(unGoal1.png);
}

.unGoal2 {
    background-image: url(unGoal2.png);
}

.unGoal3 {
    background-image: url(unGoal3.png);
}

.unGoal4 {
    background-image: url(unGoal4.png);
}

.unGoal5 {
    background-image: url(unGoal5.png);
}

.unGoal6 {
    background-image: url(unGoal6.png);
}

.unGoal7 {
    background-image: url(unGoal7.png);
}

.unGoal8 {
    background-image: url(unGoal8.png);
}

.unGoal9 {
    background-image: url(unGoal9.png);
}

.unGoal10 {
    background-image: url(unGoal10.png);
}

.unGoal11 {
    background-image: url(unGoal11.png);
}

.unGoal12 {
    background-image: url(unGoal12.png);
}

.unGoal13 {
    background-image: url(unGoal13.png);
}

.unGoal14 {
    background-image: url(unGoal14.png);
}

.unGoal15 {
    background-image: url(unGoal15.png);
}

.unGoal16 {
    background-image: url(unGoal16.png);
}

.unGoal17 {
    background-image: url(unGoal17.png);
}
