body {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

h2 {
    margin-bottom: 40px;
}

h3 {
    margin-top: 0;
}

h3.larger.text-center {
    margin-bottom: 10px;
}

.jumbo {
    color: white;
    padding: 80px 0;
}

.btn-primary {
    background-color: #007bb4;
    border-color: #007bb4;
}

.image-container img {
    width: 100%;
    margin: 0 auto;
    display: block;
    height: auto;
    padding: 0;
}

.article p {
    margin: 20px 0;
}

.article.blue {
    background-color: rgb(0,78,117);
}

.article.blue h3, .article.blue p {
    color: white;
}

.rotating_banners .banner {
    background: rgb(0,78,117) !important;
    padding-top: 40px;
    height: 100%;
    min-height: 300px;
    display: table;
}

.rotating_banners p {
    font-size: 1em;
    text-align: left;
    padding: 10px 0;
}

.rotating_banners h3 {
    text-align: left;
    color: white;
}

.rotating_banners .rotating_banner {
    text-align: left;
    width: auto;
}

.rotating_banner_cont {
    border: none;
    display: table;
    height: auto;
    min-height: 300px !important;
}

.rotating_banner_image.banner_image.top {
    height: 300px !important;
    background-position: top !important;
    float: none !important;
    display: table-cell;
}

.rotating_banner_image.banner_image.center {
    height: 300px !important;
    background-position: center !important;
    float: none !important;
    display: table-cell;
}

section#articles {
    padding: 0;
}

.text-box {
    padding: 40px;
    height: 100%;
    min-height: 300px;
    display: table;
}

.values {
    position: relative;
    margin: 0 auto;
    max-width: 1386px;
}

.values ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    /* For IE, the outcast */
    zoom:1;
    *display: inline;
    width: 100%;
}

.values li {
    float: left;
    padding: 2px 5px;
    width: 20%;
    height: 200px;
    position: relative;
    box-sizing: border-box;
    background-size: cover;
}

#exploration, #socioeconomic-development {
    border-right: 5px solid white;
    border-left: 5px solid white;
}

.values li .bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background-color: rgba(0,78,117,0.9);
    text-align: center;
}

.values li .bottom-bar h4 {
    color: white;
    font-weight: 400;
    line-height: 1.25;
}

.values li:hover {
    cursor: pointer;
}

.no-break {
    white-space: nowrap;
}

.arrow {
    content: '';
    top: 104%;
    margin-left: 39%;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 34px solid #007bb4;
    clear: both;
    display: none;
    z-index: 2;
    opacity: 1;
}

.arrow.active {
    display: block !important;
}

.blurb {
    text-align: left;
    padding: 30px;
    background-color: #007bb4;
    margin: 20px auto 50px auto;
    width: 100%;
    max-width: 1200px;
    color: white;
}

.blurb p {
    color: white;
}

div.blog-feed .post {
    width: 100% !important;
}

iframe {
    max-width: 100%;
}

.post {
    margin-top: 30px;
    height: auto;
    background-position: center;
}

.post img {
    width: 100%;
    max-width: 100%;
    border: 1px solid lightgrey;
    margin-bottom: 10px;
}

.post a.btn {
    margin-right: auto;
    margin-left: auto;
    display: block;
    width: 115px;
}

.btn-primary.white {
    border-color: white;
    background-color: transparent;
}

.btn-primary.white:hover {
    background-color: white;
    color: #007bb4;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.col-sm-6 {
    padding: 0;
}

.rotating_banners.odd .rotating_banner_cont .rotating_banner.banner {
    background-color: white !important;
}

.rotating_banners.odd .rotating_banner_cont .rotating_banner.banner h3, .rotating_banners.odd .rotating_banner_cont .rotating_banner.banner p {
    color: rgb(51,51,51) !important;
}


@media screen and (max-width: 1100px) and (min-width: 991px){
    div.blog-feed .post .text {
        width: 100%;
    }
}

@media screen and (max-width: 1100px){
    .jumbo {
        font-size: 160%;
        padding: 50px;
    }
    .values-mobile {
        display: block !important;
        margin-bottom: 50px;
    }
    .values-mobile h4 {
        margin-top: 20px;
    }
    .values {
        display: none;
    }
    .blurb {
        display: none;
    }
    .main-value-title {
        display: none;
    }
    .background-top {
        height: 27em;
    }
}


@media screen and (max-width: 767px){
   .btn-primary:not(.post a) {
       margin-bottom: 20px;
   }
    .row.article.desktop {
        display: none;
    }
    .row.article.mobile {
        display: block !important;
    }
    .rotating_banners .rotating_banner, .rotating_banner_image.banner_image.top, .rotating_banner_image.banner_image.center {
        width: 100%;
        display: block;
        min-height: 300px;
        float: left !important;
    }
    .rotating_banners.odd.desktop {
        display: none;
    }
    .rotating_banners.odd.mobile {
        display: block !important;
    }
}

@media screen and (max-width: 600px){
    .jumbo {
        padding: 36px 0 0 0 !important;
    }
    .jumbo .light {
        font-size: 100% !important;
    }
    .rotating_banners .rotating_banner {
        padding-bottom: 40px;
    }
    .post {
        margin-top: 15px;
        margin-bottom: 0 !important;
    }
    .post a {
        margin-bottom: 5px;
    }
    .background-top {
        height: 20em;
    }
}

@media screen and (max-width: 622px){
    .rotating_banners .banner {
        height: auto !important;
    }
}