  /* ==========================================================================
   Site custom styles
========================================================================== */

/***    tweens  */
#fademe {
    visibility: hidden;
}
#zoomme {
    visibility: hidden;
}
#slideme {
    visibility: hidden;
}

/***    Header  */
.banner-first-logo {
    /*width: 70px;*/
    padding-right: 8px;
}
/*.banner-second-logo {
    max-width: 76%;
    padding-left: 10px;
}*/

.site-name {
    font-weight: 300;
}
/*.region-search {
    margin-top: 10px;
}*/
/* for video loop */
#page-featured-image {
    margin: -5px 0;
}
.site-title1 {
    font-size: 1em;
}
.site-title2 {
    font-size: 1.25em;
    line-height: 1em;
}

/***    Text */
body {
    line-height: 1.5;
}
#un-main-content a {
    text-decoration: underline !important;
}
#un-main-content a:hover {
    text-decoration: none !important;
}
.white-text, .white-text a, .white-text p {
    color: white;
}
.featured-text {
    position: absolute;
}
.front-page .blurb {
   font-size: 1.35em;
   font-family:'Roboto', sans-serif;
   font-weight: 300;
}
/* begin ---- for caption that opens up when clicking on the 'i' */
.image-metadata {
    padding-top: 8px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: #eeeeee solid 1px;
    float: none;
    margin-left: 0;
    margin-right: 0;
}
.image-metadata {
    font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 11.57px;
    
    color: #666666;
}
/* to make caption open up when clicking on the 'i' */
figcaption#imageDescription {
    z-index: -1;
}
.info-caption {
    position: absolute;
    color: #f2f2f2;
    font-size: 36.03px;
    cursor: pointer;
    z-index: 2;
    bottom: 0;
    padding: 5px 15px;
    right: 0;
}
.info-caption::after {
    font-family: 'FontAwesome';
    content: '\f05a';
    color: #fff;
    font-size: 20px;
}
.image-metadata {
    position: absolute;
    opacity: 0;
}
/* end ---- for caption that opens up when clicking on the 'i' */
.date {
    line-height: 19.18px;
    margin-bottom: 7px;
    color: #797979;
}
div.meta-tag {
    padding-bottom: 10px;
}
div.meta-tag .date {
    border-right: 1px solid;
    padding-right: 5px;
}

/***    Navigation  */

.no-bullets{
    list-style:none;
}
li.leaf > a {
    font-size: 1em;
}

/***    blockquotes and quotes  */
blockquote {
    border:none;
}
blockquote .wquote-text {
    font-size: 1.25em;
    font-weight: 300;
    border-left: none;
}
blockquote .wquote-text:before {
    text-indent: -1.5em;
    content: "\f10e";
    font-family: FontAwesome;
    /* font-size: 0.75em; */
    color: white;
    position: absolute;
    z-index: 1;
    margin: -15px;
}
blockquote .wquote-text:after {
    text-indent: 0.6em;
    content: "\f10d";
    font-family: FontAwesome;
    /* font-size: 0.75em; */
    color: white;
    position: absolute;
    z-index: 1;
    margin: 15px;
}
blockquote.hpg-video {
    padding: 0 !important;
}
.quote-box {
    border: none;
    background: #f2f2f2;
    padding: 2.5em;
    margin: 4em 0;
    position: relative;
}
.quote-box .quote-text {
    font-size: 21px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
.quote-box:before {
    top: -0.60em;
    left: -0.25em;
    content: "\f10d";
    font-family: FontAwesome;
    font-size: 3em;
    position: absolute;
    z-index: 1;
    color: #4d4d4d;
}
.quote-box:after {
    bottom: -0.60em;
    right: -0.25em;
    content: "\f10e";
    font-family: FontAwesome;
    font-size: 2em;
    position: absolute;
    z-index: 1;
    color: #4d4d4d;
}
.quote-picture-round {
    background: #fff;
    border-radius: 50%;
}

/***    Layout  */
.padded-top {
    margin-top: 1.5em;
}
.mg-sections {
    margin-top: 4em;
}
.mg-bottom-row {
    margin-bottom: 4em;
}
.mg-left {
    margin-left: 4em;
}
.mg-right {
    margin-right: 4em;
}
.mg-block {
    margin: 2em;
}
.un-margin-top {
    margin: 15px 0 5px 0;
    padding: 10px 0 5px 0;
}
.pd-hz-block {
    padding: 0 6em;
}
.pd-left {
    padding: 0 0 0 2em;
}
.pd-right { 
    padding: 0 2em 0 0;
}
.pd-quote {
    padding: 4em 2em;
}
.pd-quote-source {
    margin-top: 1em;
}
.pd-quote-title {
    font-size: 1.25em;
    font-weight: 300;
    border-left: none;
    margin: 2.5em 0 !important;
}
section.introduction {
    margin-bottom: 20px;
}
.blue-divider {
    border-bottom: 2px solid #00adef;
}
.gray-divider {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/***    Headings  */
.section-body .page-header {
    border-bottom: #9f742e solid 3px !important; /* grey #eeeeee */
    padding-bottom: 13px !important;
    font-size: 30px !important;
}
.page-header-sm {
    font-size: 22px !important;
}
h2,h3,h4,h5 {
    padding: 0;
    margin: 20px 0;
}
h2 {
    font-size: 2.3em;
line-height: 1.5;
}
h2#aroundtheworld {
    font-size: 1.25em;
    text-transform: none;
    margin: 5px;
}
h3 {
    font-size: 1.75em;
}
h3.exhibit-title {
    font-size: 1.25em;
    text-transform: uppercase;
    font-family: oswald;
}
h4 {
    font-size: 1.4em;
}
h5 {
    font-size: 1.25em;
}
.subhead {
    font-family: Oswald;
    font-size: 5em;
    color: #4d4d4d;
}
p.subhead-light {
    font-family: 'Roboto-Thin', sans-serif;
    font-size: 2.3em;
    color: #4d4d4d;
}
.tag {
    color: #337ab7;
    font-weight: 500;
}
p.tag:before {
    background: url(/ar/preventgenocide/rwanda/assets/img/arrows.png) no-repeat;
}
.story-paragraph {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.5;
}

/***    Graphic Elements  */
.fa {
    display: inline-block;
}
.block-title {
    padding-left: 1px;
    font-size: 1.75em;
    text-transform: uppercase;
    border-bottom: #9f742e solid 3px;
    padding-bottom: 15px;
    font-family: oswald;
    line-height: 1.5;
}
.block-title-bg {
    background-color: #868916;
    color: white;
    padding: 20px;
    font-size: 30px;
    text-transform: uppercase;
    margin: 1.5em 0 1em 0;
    font-family: oswald;
    line-height: 1.5;
}
.title-img {
    padding: 5px 5px 0 0;
}
.green-card {
    background: #868916;
}
h2.green-card-heading {
        border-bottom: none !important;
}
.blue-card {    /* reports-card */
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-01.svg) no-repeat;
}
.red-card {     /* action-card */
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-02.svg) no-repeat;
}
.orange-card {  /* science-card */
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-03.svg) no-repeat;
}
.blue-card-page {
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-arrows-01.svg) no-repeat;
}
.red-card-page {
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-arrows-02.svg) no-repeat;
}
.orange-card-page {
    background: url(/ar/preventgenocide/rwanda/assets/img/card-pages-arrows-03.svg) no-repeat;
}

/* **** TB *** for white 255,255,255, 0.3 greyish 188, 189, 162, 0.45 grey 126, 129, 143,0.75 olive 134, 137, 22, 0.6  green 132, 175, 132,0.8*/
.stories-card-light {
    background-color: rgba(185, 165, 117, 0.85);
}
.stories-card-dark {
    background-color: rgba(15, 61, 83, 0.6);
}
.stories-card-medium {
    background-color: rgba(134, 137, 22, 0.75);
}
section.bg-hero {
    position: relative;
}
section.bg-hero .stories-card-page {
    position: absolute;
    top: 2em;
    right: 4em;
}
.flex-item-card {
    width: 340px;
    height: 331px;
    margin: auto;
    padding: 2em;
}
.stories-card-page h1, .stories-card-page h2, .stories-card-page h3 {
    border-bottom: 2px solid;
    padding-bottom: 20px;
    font-family: Oswald;
    font-size: 35px;
}
.stories-card-page .tag {
    font-size: 20px;
}
.card h3, .card h1, .card h2 {
    font-size: 60px;
    border-bottom: 2px solid;
    padding-bottom: 20px;
    font-family: Oswald;
}
.card p, .card-sm p {
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 3px;  /* 10 px */
}
.card-sm h3, .card-sm h1, .card-sm h2 {
    font-size: 40px;
    border-bottom: 2px solid;
    padding-bottom: 10px;  /* 10 px */
    font-family: Oswald;
    line-height: 1.5;
}
.card-sm h2 { font-size: 25px; }
.card-sm p {
    font-size: 16px;
    line-height: 1.5;
}

/***    Upcoming Events Section  */
section#greyed-out-bkgd {
    background: #f2f2f2;
}
section#greyed-out-bkgd .cc-events-row { /* .cc-events-row */
    margin: 2em;
}
section#greyed-out-bkgd .panel-default {
    margin: 2em;
    box-shadow: 0 8px 21px -12px #a4a4a4;
}
section#greyed-out-bkgd h2 {
    font-size: 1.75em;
    text-transform: uppercase;
    font-family: oswald;
}
.panel-body {
    padding: 20px;
    min-height: 335px;
}
.panel-body-facts {
    padding: 20px;
    min-height: auto;
}
.panel-body-facts .source-tag {
    color: #2E87C8;
    font-weight: 400;
    margin-top: 20px;
}
.panel-body p, .panel-body-facts p {
    padding-top: 20px;
    font-weight: 400;
    font-size: 14px;
}
.panel-footer {
    font-family: 'Roboto-Light', sans-serif;
    font-size: 14px;
    color: #4d4d4d;
}
.panel-footer p {
    margin: 5px;
}
.panel-media {
    background-color: black;
}

/***    content block  ** TB */
.media-object {
    max-height: 137px; 
}
.media-date {
    color: #797979;
    border-bottom: 2px solid #f2f2f2;
}
.media-top-body {
    margin: 2em 0;
}
.media-top-list {
    margin: 1em -1.5em;
    padding-right: 2em;
}
.media-top-heading {
    margin: 20px 0 10px;
    font-size: 1.5em;
}
.media-heading a,  .media-top-heading a {
    color: #333;
}
.media-left {
    padding-right: 20px;
}
.media-description {
    font-weight: 100;
    font-size: 1.32em;
}
.media-top-description {
    font-size: 1.3em;
}
.media-description, .panel-body p {
        font-size: 18px;
        font-weight: 300;
    }
section.bg-blue {
    background: url(/ar/preventgenocide/rwanda/assets/img/bkgd_rwanda_logo.png) no-repeat #9f742e;  /* arrows #2E87C8 blue #5b5942 olive */
    background-position: right;    
}
section.bg-blue-no-watermark {
    background-color: #9f742e;
}

/***    block with background image  HPG TB*/
.heading-image-container {
    position: relative;
}
.heading-image {
    position: absolute;
    width: max-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /* border: 4px solid rgba(134, 137, 22); */
    background-color: rgba(0, 0, 0, 0.75); /* dark 56, 57, 23, 0.75 olive rgba(134, 137, 22, 0.7); */
    padding: 11px 36px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.50);
}
.heading-text{
    font-size: 4em;
    font-family: Oswald;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.50);
    font-weight: 700;
}

/***    Partners OR Visions album TB  */
section.bg-green {
    background: url(/ar/preventgenocide/rwanda/assets/img/arrows.png) no-repeat #48773E;
    background-position: right;    
}
main.speeches-page .flex-start {
  justify-content: flex-start !important;
}
.flex-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  justify-content: space-around;
}
.flex-container-center {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  justify-content: center;
}
.flex-item-profile {
    width: 250px;
    height: auto;
    position: relative;
    margin: 20px;
    background-color: black;
}
.flex-item-profile .image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.flex-item-profile:hover .image {
  opacity: 0.5;
}
.flex-item-profile:hover .bg-middle {
  opacity: 0.5;
}
.flex-item-profile:hover .middle {
  opacity: 1;
}
.name {
  color: white;
  font-size: 1.5em;
  padding: 5px 20px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid white;
  margin-bottom: 5px;
}
.name > a {
  color: white;
}
.post {
  color: white;
  font-size: 1.5em;
  padding: 5px 20px;
}
.post > a {
  color: white;
}
.embed-responsive-video {
    padding-bottom: 49.25%;
}
.button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    outline: none;
    white-space: normal;
    padding: 0 22px;
    line-height: 40px;
    background-color: #00adef;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.button-light {
    line-height: 40px;
    color: #666666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
    box-shadow: inset 0 0 0 0 transparent;
    background: #f2f2f2;
}
.button-light-contrast {
    line-height: 40px;
    color: white;
    font-weight: 400;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
    box-shadow: inset 0 0 0 0 transparent;
    background: transparent;
    border: 2px solid #FFF;
    padding: 7px 0; /* 10px 20px; */
}
.button-light-contrast a {
    
}
a.button-dark {
    background: #868916;
}
a.button-dark:hover {
    color: white;
    text-decoration: none;
}
a#no-underline {
    text-decoration: none !important;
}
.box-shadow {
    box-shadow: 0 8px 21px -12px #a4a4a4;
}
.flex-item-speech {
    width: 300px;
    border-left: 5px solid #eee;
}


/***    Media Queries  */
@media (max-width: 660px){
    .site-header-sm {
        width: 130% !important;
        font-size: 1em !important;
        margin-top: 0 !important;       
    }
    /* 
    .site-header-sm {
        padding-left: 5px; ---- this padding needs to be identical to the banner-first-logo padding TB ---
    }
    .banner-first-logo {
        padding-left: 5px; /* ---- this padding needs to be identical to the site-header-sm padding TB ----
    }*/
    .masthead-sm {
        padding-left: 10px !important; /* TB */
    }
    .mg-block {
         padding-top: 1em; /* TB */
    }
    blockquote {
        padding: 0 !important; /* TB */
    }
    .quote-box:before, .quote-box:after {  /* TB */
    font-size: inherit;
    }
    .side-links {
        margin-top: 1.5em;
    }
}
@media (min-width: 769px) {
    
    .featured-img-sm {
        display: none;
    }
    .green-card {
        margin-top: 1em; /* TB */
    }
}
@media (max-width: 768px) {
    .side-links {
        margin-top: 1.5em; /* TB */
    }
    .green-card {
        margin-top: 1em; /* TB */
    }
    .featured-img-lg {
        display: none;
    }
    .second-banner-logo {
        max-width: 80%;
        padding: 5px 0;
    }
    .sub-nav {
        position: inherit;
    }
    .nav-menu {
        display: none;
    }
    .menu-active {
        display: block;
    }
    .featured-text {
        visibility: hidden;
    }
    .search-form {
        display: none;
    }
    .un-banner-logo {
        width: 40px;
        padding: 0;
    }
    /* .masthead-sm {
        padding: 0;
    } */
    .mg-block {
        margin: 0;
    }
    .speeches-page .mg-block {
        margin: 2em;
    }
    .pd-hz-block {
        padding: 20px;
    }
    .mg-left, .mg-right{
        margin-right: 0;
        margin-left: 0;
    }
    .pd-quote {
        margin: 0;
        padding: 0;
    }
    .subhead {
        font-size: 3em;
    }
    .un-no-padding {
        padding: 0;
    }
    .heading-text {
        /* padding-left: 1px; */
        font-size: 4em;
        /* text-transform: uppercase; */
        letter-spacing: 0.03em;
        /* border-bottom: #00adef solid 3px; */
        padding-bottom: 7px;
        margin-bottom: 2em;
        font-family: oswald;
        position: initial;
        text-shadow: none;
        color: #FFFFFF;
        margin-bottom: 20px;
    }
    .heading-image {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        -ms-transform: initial;
        border: none;
        padding: 0;
        box-shadow: none;
        width: initial;
    }
    .mg-sections {
        margin-top: 4em;
        margin-bottom: 1em;
        padding-bottom: 2em;
    }
    blockquote {
        margin: 20px 10px;
        padding: 0 !important; /* TB */
    }
    section#greyed-out-bkgd .cc-events-row{ /* .cc-events-row */
        margin: 0;
    }
    section#greyed-out-bkgd .panel-default {
        margin: 15px 0em;
        box-shadow: 0 8px 21px -12px #a4a4a4;
    }
    .row {
        margin-left: 0;
        margin-right: 0; 
    }
    section.bg-hero .orange-card-page, section.bg-hero .red-card-page, section.bg-hero .blue-card-page, section.bg-hero .stories-card-page, section.bg-hero .cop24-card-page, section.bg-hero .events-card-page {
        position: relative;
        left: 0;
        background: none;
    }
    section.bg-hero .orange-card-page .flex-item-card, section.bg-hero .red-card-page .flex-item-card, section.bg-hero .blue-card-page .flex-item-card, section.bg-hero .stories-card-page .flex-item-card, section.bg-hero .cop24-card-page .flex-item-card, section.bg-hero .events-card-page .flex-item-card {
        padding: 1em;
        height: auto;
    }    
    .stories-card-page h1, .stories-card-page h2, .stories-card-page .tag, .stories-card-page p,
    .red-card-page h1, .red-card-page p,
    .orange-card-page h1, .orange-card-page p,
    .blue-card-page h1, .blue-card-page p,
    .cop24-card-page h1, .cop24-card-page p,
    .events-card-page h1, .events-card-page p {
        color: #4d4d4d
    }
    .flex-item-card {
        width: 100%;
        height: auto;
        padding: 1em;
        /* margin-bottom: 30px; */
    }
    /* .cop24-card-page h1, .cop24-card-page p {
        display: inherit;
    } */
    .pd-left {
        padding: 0;
    }
    .pd-right {
        padding: 0;
    }

    #hero-video { 
        display: none;
    }
    .hero-image {
        padding-left: 0;
        padding-right: 0;
    }    
    #page-featured-image {
        margin: 0;
    } 
    .info-caption {
        top: 6em;

    } 
    .countdown li {
        font-size: 16px;
        padding: 10px 20px;
    }
    .countdown {
        padding: 10px;
    }
    .countdown li span {
        font-size: 4rem;
    }
    .cop24-page ol {
        padding: 1em;
    }
    aside.col-xs-12.col-md-3.cop24-aside {
        margin-top: 10px;
    }
}


@media (min-width: 1600px) {
    .photo-grid {
        width: 1580px;
    }
}

/ tabs/nav pills * TB */
div.tab {
  overflow: hidden;
}
/* Style the buttons inside the tab */
div.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 7px 8px;
  transition: 0.3s;
  font-size: 17px;
}
/* Change background color of buttons on hover */
div.tab button:hover {
  background-color: #868916; /* olive #9f742e blue #0a97d9 */
  color: #ffffff;
}
/* Create an active/current tablink class */
div.tab button {
  background-color: #ddd;
  cursor: pointer;
  margin-right: 5px;
  margin-bottom: 5px;
}
div.tab button.active {
  background-color: #868916; /* olive #9f742e blue #0a97d9 */
  color: #ffffff;
}

/ video/image caption * TB */
.media-title{
    font-size: 1.2em;
    padding: 0.75em;
    margin-bottom: 2em;
    /* text-align: right; */
    /* position: absolute; 
    bottom: 0;
    right: 0;
    */
    background-color: #eaeaea;
    /* border-bottom: 1px #333333 solid; */
    opacity: 0.9;
}
.video-caption {
    font-size: 1.2em;
    padding: 0.75em;
}
.photo-credit {
    font-size: 0.85em;
    padding: 5px 0 3px 8px;
    background: #f2f2f2; /* #cccccc73; */
}
a.audio:before {
    content: "\f130";
    font-family: FontAwesome;
    margin-right: 1em;
}


/***    Arabic Overrides carry over from the CC website */

body.i18n-ar .mg-left {
    margin-right: 4em;
    margin-left: 0;
}
body.i18n-ar .mg-right {
    margin-right: 0;
    margin-left: 4em;
}
body.i18n-ar .pd-right {
    padding: 0 0 0 2em;
}
body.i18n-ar .pd-left { 
    padding: 0 2em 0 0;
}
body.i18n-ar .date {
    border-left: 1px solid;
    padding-left: 5px;
    border-right: none;
    padding-right: 0;
}