/*============================================================PRIMARY STRUCTURE============================================================*/

.container {
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================================
  SECTIONS
============================================================ */

section.module:last-child {
    margin-bottom: 0;
}

section.module h2 {
    margin-bottom: 40px;
    font-family: "Francois One", sans-serif;
    font-size: 30px;
}

section.module p {
    font-size: 16px;
    font-weight: 300;
}

section.module p:last-child {
    margin-bottom: 0;
}

section.module.content {
    padding: 40px 0;
}

section.module.parallax {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    position: relative;
}

section.module.parallax h1 {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Oswald", sans-serif;
    font-size: 48px;
    /*    line-height: 500px;*/
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    /*    height: 100px;*/
}

section.module.parallax h2 {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Oswald", sans-serif;
    font-size: 48px;
    /*    line-height: 500px;*/
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h1.thetitle {
    padding-top: 0.6em;
}

section.module.parallax-1 {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/un-projection.jpg");
    height: 500px;
}

section.module.parallax-p {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/preparation.jpg");
}

section.module.parallax-2 {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/vnrs2.jpg");
}

section.module.parallax-3 {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/confroom.jpg");
}

section.module.parallax-4 {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/news.jpg");
}

section.module.parallax-inputs {
    background-image: url("https://sustainabledevelopment.un.org/content/images/image18_6828.jpg");
}

section.module.parallax-special {
    background-image: url("https://sustainabledevelopment.un.org/content/images/hlpf2018/confroom2.jpg");
}

.innerArea {
    width: 100%;
    margin-top: 111px;
}

.mainArea {
    margin-top: 0;
    /*    hack to see the accountbox and search*/
    opacity: 0.99;
}

.menu {
    height: 28px !important;
}

#menu_container {
    position: absolute;
    bottom: 0;
    width: 100% !important;
    opacity: 0.85;
    background-color: rgb(41, 43, 44);
    z-index: 999999;
}

#hlpf_menu {
    width: 960px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.innerArea {
    color: #333;
    font-size: 16px;
    font-weight: 300;
}

.top,
.topBarArea,
.topBarArea_small {
    position: absolute;
    z-index: 0;
}

.menuBarArea {
    position: relative;
    top: 111px;
    z-index: 9;
}

.menuBarArea_small {
    position: fixed;
    top: 0;
    z-index: 9999999;
}

.menuArea {
    margin: 0 auto;
}

.menuOn {
    height: 28px;
}

a.navbar-brand:hover {
    font-size: 20px;
}

.affix {
    position: fixed !important;
    top: 28px;
    height: 56px;
    width: 100% !important;
    z-index: 10;
    opacity: 0.95 !important;
}

h2.thesub.hidden-xs-down {
    margin-bottom: 0.25em;
}

.totheR {
    float: right;
    padding-left: 1em;
}

.titleInImage {
    position: absolute;
    bottom: 2em;
    color: white;
    padding: 0.5em;
}

.container::after {
    clear: both;
    display: block;
    height: 0;
    content: " ";
}

/* news */

.newsBox {
    display: block;
    float: left;
    width: 40%;
    padding: 1em;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 12px;
    line-height: 1.64285714;
    color: #333333;
    border-bottom: 3px solid #f15163;
    margin-right: 1.5em;
}

.titleNews {
    color: #f15163;
    margin-bottom: 0;
    line-height: 1.3em;
}

.listDate {
    color: #999;
    margin-right: 5px;
    text-transform: uppercase;
    font-size: 11px;
    width: 70px;
}

.textNews {
    display: block;
    float: left;
    width: 66%;
    padding-right: 1em;
}

.imageNews {
    width: 30%;
}

#sdgwheel {
    vertical-align: baseline;
}

.btn:hover {
    background: #025aa5;
    font-size: inherit;
}

.img-rpm {
    margin-right: 0.6em;
}

.latest-link,
.latest-link:hover {
    padding: 0.4em 0 0.4em 1em;
    display: block;
    font-size: 12px;
    border-bottom: 1px solid #eee;
}

.accountbox,
.searchbox {
    top: 28px;
}

.videoContainer {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    z-index: -1;
}

#ytplayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#main_branding {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    white-space: nowrap;
}

/*
.affix-bottom {
    position: absolute;
}
*/

@media all and (min-width: 960px) {
    section.module.parallax h1 {
        font-size: 160px;
    }

    section.module.parallax h2 {
        font-size: 55px;
    }

    #sdgwheel {
        width: 130px;
        height: 130px;
    }
}

@media all and (min-width: 544px) and (max-width: 960px) {
    section.module h2 {
        font-size: 42px;
    }

    section.module.parallax h1 {
        font-size: 96px;
    }

    section.module.parallax h2 {
        font-size: 33px;
    }

    section.module.parallax-1 {
        height: 386px;
    }

    #sdgwheel {
        width: 80px;
        height: 80px;
    }
}

@media all and (max-width: 544px) {
    section.module.parallax-1 {
        height: 200px;
    }

    h1.thetitle {
        padding-top: 1.7em;
    }

    #sdgwheel {
        width: 40px;
        height: 40px;
    }
}