@font-face {
    font-family: DIN;
    src: url('../fonts/alte-din-1451-mittelschrift.regular.hinted.woff') format('woff');
}
* {
    box-sizing: border-box;
}
html {
    overflow-y: scroll;
}
body {
    background: url(../images/tri-left.png) calc(50% - 660px) 259px no-repeat, url(../images/bg.png) 50% top;
    color: #4c5f73;
    font: 16px/1.5 DIN, sans-serif;
    margin: 0;
    padding: 0;
}
body.page-template-page-template-home {
    background: url(../images/tri-left.png) calc(50% - 660px) 259px no-repeat, url(../images/tri-right.png) calc(50% + 660px) 204px no-repeat, url(../images/bg.png) 50% top;
}
a {
    color: #4c9ab5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a img {
    border: none;
}
img, object, embed {
    vertical-align: middle;
}
img {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

textarea, input, select {
    font: inherit;
}
hr {
    height: 0;
    border: none;
    border-top: 1px #ededed solid;
    margin: 15px;
}

h1 {
    color: #007ea6;
    font: 300 50px/1.1 DIN, sans-serif;
    padding: 5px 0;
    margin: 0 0 8px;
}
h2 {
    color: #007ea6;
    font: 24px/1.2 DIN, sans-serif;
    margin: 30px 0 26px;
}
h3 {
    color: #4e5f72;
    font: bold 18px/1.2 DIN, sans-serif;
    margin: 20px 0 12px;
}
h4 {
    color: #007ea6;
    font: bold 16px/1.2 DIN, sans-serif;
    margin: 16px 0 8px;
}
h5 {
    color: #007ea6;
    font: bold 15px/1.2 DIN, sans-serif;
    margin: 14px 0 7px;
}
h6 {
    color: #007ea6;
    font: bold 14px/1.2 DIN, sans-serif;
    margin: 13px 0 6px;
}
.widgettitle {
    color: #2f2f2f;
    font: 300 20px/1.2 DIN, sans-serif;
    margin: 0 0 15px;
}

hr, blockquote, pre, address, fieldset, figure {
    margin: 15px 0;
}

strong {
    font-weight: bold;
    color: #555;
}
a strong {
    color: #e05b3a;
}

p {
    margin: 15px 0;
}

h1 + p {
    margin-top: 8px;
}

ul, ol {
    margin: 16px 0 16px 0;
    padding-left: 30px;
}
li {
    margin: 2px 0;
}

pre {
    background: #f7f7f7;
    border: 1px rgba(0,0,0,0.7) solid;
    border-radius: 2px;
    color: #555555;
    font: 12px/1.5 Consolas, "Courier New", monospace;
    padding: 10px;
    -moz-tab-size: 4;
    tab-size: 4;
}

dt {
    font-weight: bold;
    margin: 10px 0 3px;
}
dd {
    margin: 3px 0 10px;
}

table {
    border-collapse: collapse;
}
td, th {
    padding: 5px;
}

#page {
    background: #fff;
    max-width: 1170px;
    min-height: 100vh;
    margin: 0 auto;
}

@media (min-width: 1170px) {
    #page {
        border: #4a5d71 solid;
        border-width: 0 4px;
    }
}

#header {
    padding: 2.152% 5.336%;
}
#header:after { clear: both; content: ''; display: block; }

#logo {
    float: left;
}

#menu-toggle {
    display: none;
}

#header-widget-area {
    float: right;
    margin-top: 3px;
}

#header-widget-area > .widget {
    float: left;
    margin: 0 1px 0 15px;
}

.social-button {
    background: #231f20;
    border-radius: 13px;
    color: white;
    display: inline-block;
    font-size: 17px;
    line-height: 29px;
    width: 23px;
    text-align: center;
    vertical-align: top;
}
.social-button.fa-facebook { font-size: 18px; }
.social-button:hover {
    text-decoration: none;
}
.social-button.fa-twitter:hover  { background: #019ad1; }
.social-button.fa-facebook:hover { background: #3b5998; }
.social-button.fa-linkedin:hover { background: #006699; }
.search-form {
    margin: 0;
    border: 1px black dotted;
}
.search-field {
    background: white;
    border: 0;
    color: inherit;
    line-height: normal;
    padding: 0 10px 0 15px;
    height: 29px;
    width: 176px;
    vertical-align: middle;
}
.search-submit {
    background: white;
    border: 0;
    height: 29px;
    vertical-align: middle;
    width: 29px;
    padding: 0 6px;
}
.search-submit i {
    font-size: 15px;
    color: #ccc;
}
#sticky-header {
    position: fixed;
    background: white;
    width: 1162px;
    top: 0;
    padding-right: 62px;
    padding-left: 235px;
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.08);
    z-index: 10;
}
.admin-bar #sticky-header {
    top: 32px;
}
#nav {
    clear: right;
    float: right;
    padding-top: 20px;
}
#sticky-header .main-menu {
    float: right;
}

@media (max-width: 879px) {
    #header {
        padding-left: 0;
        padding-right: 0;
    }
    #logo {
        margin-left: 5.336%;
    }
    #menu-toggle {
        display: block;
        float: right;
        padding: 10px;
        margin-right: 5.336%;
    }
    #menu-toggle > i {
        background: #4a5d71;
        display: block;
        height: 5px;
        width: 25px;
    }
    #menu-toggle > i + i {
        margin-top: 5px;
    }
    #widgets-and-nav {
        clear: both;
        display: none;
        margin: 0 auto;
        max-width: 510px; /* Extra room to accommodate #nav { box-shadow: ... } */
        padding-top: 1px;
    }
    #header-widget-area {
        float: right;
        padding: 30px 5px 0;
        margin-bottom: 20px;
    }
    #header-widget-area:after { clear: both; content: ''; display: block; }

    #nav {
        box-shadow: -5px 0 5px -5px rgba(0,0,0,0.5), 5px 0 5px -5px rgba(0,0,0,0.5);
        float: none;
        max-width: 500px;
        margin: 0 auto;
        padding-top: 0;
    }
    .main-menu {
        background: #99cedd;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .main-menu a {
        border-bottom: 1px #0084a9 solid;
        border-top: 1px #cce6ee solid;
        color: white;
        display: block;
        padding: 10px 15px;
    }
    .main-menu ul {
        list-style: none;
        margin: 0;
        padding: 0 0 0 30px;
    }
    .main-menu li {
        margin: 0;
    }
    .main-menu ul a {
        border-left: 1px #cce6ee solid;
    }
}

@media (min-width: 880px) {
    .main-menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .main-menu:after {
        clear: both;
        content: '';
        display: block;
    }
    .main-menu > li {
        float: left;
        margin: 0;
        white-space: nowrap;
    }
    .main-menu > li:last-child > a {
        padding-right: 0;
    }
    .main-menu a {
        color: #4a5e71;
        display: inline-block;
        font-size: 14px;
        line-height: 1.429;
        outline: none;
        padding: 9px 8px;
        text-transform: uppercase;
        vertical-align: middle;
    }
    .main-menu > li:after {
        content: '';
        border-right: 1px #0084a9 dotted;
        height: 10px;
        vertical-align: middle;
    }
    .main-menu > li:last-child:after {
        display: none;
    }
    .main-menu li.current-menu-item > a,
    .main-menu li.current-menu-ancestor > a,
    .main-menu li.current-page-ancestor > a,
    .main-menu a:hover,
    .main-menu a:focus {
        color: black;
    }
    .main-menu a:hover, .main-menu a:focus {
        text-decoration: none;
    }

    .main-menu > li > .sub-menu {
        background: white;
        box-shadow: 0 0 2px rgba(0,0,0,0.2);
        display: none;
        list-style: none;
        margin: 0;
        min-width: 150px;
        padding: 0;
        position: absolute;
        z-index: 1;
    }
    .main-menu > li:hover > .sub-menu {
        display: block;
    }
    .main-menu .sub-menu li {
        float: none;
        border-bottom: 1px #0084a9 dotted;
    }
    .main-menu .sub-menu li:last-child {
        border-bottom: none;
    }
    .main-menu .sub-menu a {
        display: block;
    }
    .main-menu .sub-menu .sub-menu {
        list-style: none;
        margin: 0 0 10px;
    }
    .main-menu .sub-menu .sub-menu a {
        padding: 4px 6px;
    }
}

.page-title {
    align-items: center;
    background: #0084a9 url(../images/title.png) 50% 50% / cover no-repeat;
    color: white;
    display: flex;
    font: 30px/1.1 DIN, sans-serif;
    min-height: 104px;
    padding: 2.582% 6%;
    margin-bottom: 0;
    text-transform: uppercase;
}

#breadcrumbs {
    border-bottom: 1px #e0ded8 solid;
    color: #444;
    font-size: 15px;
    padding: 10px 0;
    margin: 0 5.7%;
}
#breadcrumbs > .here {
    color: #4c9ab5;
}
#breadcrumbs > a {
    color: inherit;
    margin: 0 3px;
}
#breadcrumbs > a, #breadcrumbs > span {
    margin: 0 3px;
}
@media (min-width: 900px) {
    .has-sidebar #breadcrumbs {
        margin-right: 25.6%;
    }
}

#content {
    padding: 2.5% 6%;
}

#content > .wp-post-image {
    margin: 20px 0;
}

#sidebar {
    background: #e4e1dc;
    margin: 30px auto;
    width: 250px;
}

#sidebar .widget {
    padding: 20px;
}

#sidebar .widgettitle {
    color: #007da5;
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 13px;
}

#sidebar-2 {
    margin: 30px auto;
    width: 250px;
}

@media (min-width: 900px) {
    .has-sidebar main {
        background: url(../images/page-triangles.png) right 80% no-repeat, url(../images/bg-flag.png) left 100% no-repeat;
        padding-bottom: 340px;
    }
    .has-sidebar main:after { clear: both; content: ''; display: block; }

    .has-sidebar #content {
        float: left;
        margin-left: 5.680%;
        padding-right: 0;
        padding-left: 0;
        width: 68.847%;
    }

    .has-sidebar #sidebar {
        float: right;
        margin-top: 50px;
        margin-right: 5.680%;
        width: 17.212%;
    }

    .has-sidebar #sidebar-2 {
        float: right;
        margin-top: 50px;
        margin-right: 5.680%;
        width: 17.212%;
    }

    #sidebar .widget + .widget {
        margin-top: 120px;
    }
}

.sidebar-menu-widget {
    font-size: 15px;
    line-height: 1.2;
}
.sidebar-menu-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-menu-widget > ul > li {
    margin: 7px 0;
}
.sidebar-menu-widget a {
    color: #4c5f73;
}
.sidebar-menu-widget > ul > li > a {
    font-weight: bold;
}
.sidebar-menu-widget > ul ul {
    padding-left: 10px;
}
.sidebar-menu-widget .current-menu-item > a {
    color: black;
    font-weight: bold;
}

/*
!* Mobile version of header *!
@media (max-width: 767px) {
    #header {
        padding-bottom: 20px;
        text-align: center;
    }
    #logo {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
    #logo > img {
        height: 80px;
        width: auto;
    }
    #menu-main-menu, #header-widget-area, #breadcrumbs {
        display: none;
    }
    #menu-toggle {
        background: #fc9a37;
        background: linear-gradient(to bottom, #fc9a37, #e66706);
        display: block;
        position: absolute;
        height: 46px;
        padding: 15px 14px 0;
        width: 46px;
        margin-top: 17px;
        left: 20px;
    }
    #menu-toggle > i {
        background: white;
        display: block;
        height: 3px;
        margin-bottom: 4px;
    }
}
@media (max-width: 370px) {
    #header {
        text-align: left;
        padding-left: 100px;
    }
}

body.mobile-menu-displayed {
    position: fixed;
    transition: margin-left 500ms;
    width: 100%;
}
body.mobile-menu-displayed #wpadminbar {
    position: fixed;
}

body.mobile-menu-displayed.in {
    margin-left: 250px;
}
.mobile-menu-displayed #mobile-menu-overlay {
    background: rgba(0,0,0,0.4);
    bottom: 0;
    box-shadow: 0 0  15px rgba(0,0,0,0.8);
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 500ms, visibility 500ms, left 500ms;
    visibility: hidden;
    z-index: 3;
}
.mobile-menu-displayed.in #mobile-menu-overlay {
    visibility: inherit;
    opacity: 1;
    left: 250px;
}
#mobile-menu-copy {
    display: none;
}
.mobile-menu-displayed #mobile-menu-copy {
    background: #00433f;
    bottom: 0;
    display: block;
    left: -250px;
    overflow: hidden;
    position: fixed;
    top: 0;
    transition: left 500ms;
    width: 250px;
    z-index: 2;
}
.mobile-menu-displayed.in #mobile-menu-copy {
    left: 0;
}

.admin-bar #mobile-menu-copy { margin-top: 32px; }

@media (max-width: 782px) {
    .admin-bar #mobile-menu-copy { margin-top: 46px; }
}

#mobile-menu-close {
    float: right;
    color: #ccc;
    padding: 10px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
#mobile-menu-close:before {
    content: '\2716'; !* multiplication symbol *!
    font-size: 30px;
    line-height: 30px;
}

#mobile-menu-content {
    position: absolute;
    left: 0;
    right: 0;
    overflow-y: auto;
    top: 0;
    bottom: 0;
    padding-top: 45px;
    padding-bottom: 1px;
}
#mobile-menu-content > ul {
    border-bottom: 1px #0d4d49 solid;
    border-top: 1px #002f2c solid;
    list-style: none;
    margin: 0 0 45px;
    padding: 0;
}
#mobile-menu-content li {
    border-bottom: 1px #002f2c solid;
    border-top: 1px #0d4d49 solid;
    margin: 0;
}
#mobile-menu-content li > a {
    color: #eee;
    display: block;
    font-size: 16px;
    line-height: 1.25;
    padding: 10px;
}
#mobile-menu-content li.current-menu-item > a,
#mobile-menu-content li.current-page-ancestor > a {
    background: #d36710;
    color: white;
}
*/
.home-slider-widget {
    position: relative;
    z-index: 0;
}

@media (min-width: 1170px) {
    .home-slider-widget .flexslider:before {
        /* This is the triangle pattern for the bottom-left.
           It must be inside .flexslider so that .flex-direction-nav appears on hover. */
        bottom: -18.585%;
        background: url(../images/slider-side.png) 50% 50% / 100% 100% no-repeat;
        content: '';
        left: 0;
        position: absolute;
        padding-top: 28.830%;
        width: 25.904%;
        z-index: 1;
    }
}

.flexslider {
    border: 0;
    border-radius: 0;
    margin-bottom: 39px;
}

.flexslider .slide {
    position: relative;
}
.flexslider .slide-caption {
    background: linear-gradient(30deg, transparent 10%, rgba(0, 131, 169, 0.6) 10%);
    color: white;
    padding: 20px 25px;
    position: absolute;
    right: 5.680%;
    top: 22.567%;
    width: 430px;
}
.flexslider .slide-caption a {
    border: 1px white dotted;
    color: white;
    display: table;
    font-size: 13px;
    font-weight: bold;
    margin: 14px 0 0 auto;
    padding: 2px 30px;
}

article.search-result {
    border-bottom: 1px #e0ded8 solid;
    padding: 0 0 25px;
    margin: 25px 0;
}

@media (max-width: 767px) {
    article.search-result {
        padding: 0 0 10px;
        margin: 10px 0;
    }
}

.post-listings {
}
.post-listings:after { clear: both; content: ''; display: block; }
.post-listing {
    background: #e4e1dc;
    border-top: 14px #0099bc solid;
    color: #4e5f72;
    margin: 11px auto;
    padding: 0 10px 20px 130px;
    width: 500px;
    max-width: 100%;
}
.post-listing:nth-child(3n + 2) { border-top-color: #aea59a; }
.post-listing:nth-child(3n)     { border-top-color: #4a5d71; }

.post-listing:after { clear: both; content: ''; display: block; }
.post-listing > .image {
    background: url(../images/default-post-thumbnail.png) 50% 50% / auto 100% no-repeat;
    border-top: 7px white solid;
    height: 150px;
    margin: 0 -10px 7.732% -130px;
}
@media (max-width: 767px) {
    .post-listing > .image {
        background: none;
        height: 0;
    }
}
.post-listing > .meta {
    float: left;
    font-size: 11px;
    line-height: 1.2;
    margin-left: -115px;
    width: 105px;
}
.post-listing time {
    border: 1px white dotted;
    border-radius: 50%;
    box-shadow: inset 0 0 0 7px #e4e1dc, inset 0 0 0 8px #c6beb6, inset 0 0 0 44px white;
    display: block;
    height: 88px;
    font: bold 16px/18px DIN, sans-serif;
    margin-left: 4px;
    text-transform: uppercase;
    text-align: center;
    width: 88px;
    padding-top: 16px;
}
.post-listing .taxonomy {
    font-weight: bold;
    margin-top: 15px;
}
.post-listing .taxonomy a {
    color: inherit;
}
.post-listing > .summary {
    float: right;
    font-size: 14px;
    line-height: 1.286;
    padding-right: 10px;
}
.post-listing > .summary > h2 {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.112;
}

@media (min-width: 768px) {
    .post-listing {
        float: left;
        clear: both;
        width: 48.5%;
        margin-left: 0;
        margin-right: 0;
    }
    .post-listing:nth-child(2n) {
        float: right;
        clear: none;
    }
    /* If flex-wrap is available then use flexbox to force equal-height rows */
    .has-flex-wrap .post-listings {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .has-flex-wrap .post-listings:after { display: none; }
}

.pagination {
    margin: 15px 0;
    text-align: center;
}
.pagination a,
.pagination span {
    background: #fafafa;
    border: 1px #ddd solid;
    display: inline-block;
    font-size: 16px;
    line-height: 1.25;
    margin: 1px 8px;
    min-width: 30px;
    padding: 5px;
    text-align: center;
}

#about {
    padding: 0 5.680%;
}
#about:after { clear: both; content: ''; display: block; }
#scholar-stories {
    float: left;
    width: 48.544%;
}
.scholar-stories-widget .widgettitle {
    background: #e4e1dc;
    color: #0084a9;
    font: bold 18px/1 DIN, sans-serif;
    padding: 15px;
}
.scholar-story {
    background-color: #c4bcb4;
    color: #4c5d71;
    font-size: 14px;
    margin-bottom: 30px;
}
.scholar-story > a {
    color: inherit;
    display: block;
}
.scholar-story > a:hover {
    text-decoration: none;
}
.scholar-story .image {
    background: 50% 50% / cover;
    height: 144px;
    position: relative;
    z-index: 0;
}
.scholar-story:hover .image:before {
    background: rgba(0, 131, 169, 0.52);
    bottom: 5px;
    content: '';
    left: 7px;
    position: absolute;
    right: 7px;
    top: 5px;
    z-index: 1;
}
.scholar-story:hover .image:after {
    color: white;
    content: 'READ';
    bottom: 18px;
    left: 34px;
    right: 34px;
    padding: 2px 0;
    border: 1px white dotted;
    position: absolute;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}
.scholar-story .summary {
    display: block;
    padding: 15px;
}
.scholar-stories-widget .col2 > article {
    background-color: #c4bcb4;
}
.scholar-stories-widget .col2 > article:nth-of-type(2n) {
    background-color: #aea59a;
    color: #ffffff;
}
.scholar-stories-widget .col3 > article:nth-of-type(2n+1) {
    background-color: #aea59a;
    color: #ffffff;
}
@media (min-width: 521px) {
    .scholar-stories-widget > .col1and2 {
        float: left;
        width: 64.5%;
    }
    .scholar-stories-widget .widgettitle {
        float: right;
        width: 44.962%;
    }
    .scholar-stories-widget > .col1and2 > .col1 {
        float: left;
        width: 44.962%;
        border-top: 13px #0099bc solid;
        padding-top: 20px;
        border-bottom: 120px #e4e1dc solid;
    }
    .scholar-stories-widget > .col1and2 > .col2 {
        float: right;
        width: 44.962%;
    }
    .scholar-stories-widget > .col3 {
        float: right;
        width: 29%;
    }
}
@media (max-width: 520px) {
    .scholar-stories-widget {
        width: 170px;
        margin-left: auto;
        margin-right: auto;
    }
}
.single-scholar_story .wp-post-image {
    float: right;
    margin: 0 0 15px 15px;
}

#latest-news {
    float: right;
    width: 48.544%;
}

.latest-news-widget {
    background: linear-gradient(30deg, transparent 34px, #cec9c2 34px);
    color: #4c5f73;
    font-size: 15px;
    line-height: 1.2;
    padding: 32px 38px 32px;
}

@media (max-width: 767px) {
    .latest-news-widget {
        padding: 6% 4% 40px;
    }
}

.latest-news-widget h2 {
    color: #007da5;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.167;
}

.latest-news-widget article {
    margin: 15px 0;
}

.latest-news-widget h3 {
    color: #007da5;
    font-size: 16px;
    margin: 4px 0;
}
.latest-news-widget h3 > a {
    color: inherit;
}

@media (max-width: 1059px) {
    #scholar-stories {
        float: none;
        width: 500px;
        max-width: 100%;
        margin: 0 auto;
    }
    #scholar-stories:after { clear: both; content: ''; display: block; }

    #latest-news {
        float: none;
        width: 700px;
        max-width: 100%;
        margin: 0 auto;
    }
}
@media (min-width: 768px) {
    #about {
        background: url(../images/home-triangles.png) right bottom no-repeat;
        padding-bottom: 250px;
    }
    #about + #above-footer {
        margin-top: -50px;
    }
}

#footer {
    background: #c4bcb4;
    color: white;
    padding: 3.584% 5.205%;
    position: relative;
}
@media (min-width: 768px) {
    #footer {
        background: #c4bcb4 url(../images/footer.png) 10% 50% / cover no-repeat;
    }
}
#footer:after { clear: both; content: ''; display: block; }
#footer a { color: inherit; }
#footer strong {
    color: #4a5e71;
}

@media (min-width: 600px) {
    #footer > .logo {
        float: left;
    }
    #footer-left {
        float: left;
        margin-left: 33px;
    }
    #footer-right {
        float: right;
    }
}
@media (max-width: 599px) {
    #footer > .logo, #footer-left, #footer-right {
        display: table;
        margin: 20px auto;
    }
}
#footer-left {
    font-size: 14px;
}
.big-btn {
    background-color: white;
    border: 1px #b0a79d dashed;
    color: black !important;
    display: inline-block;
    font-weight: bold;
    padding: 25px 40px;
}
@media (min-width: 768px) {
    .big-btn {
        padding: 25px 70px;
    }
}
#sidebar .big-btn {
    display: block;
    text-align: center;
    padding: 15px 30px;
    font-size: 15px;
    border-color: #c2bfbb;
}
.big-btn:hover, .big-btn:focus {
    text-decoration: none;
}
.read-more {
    background: #4a5d71;
    border: 1px white dotted;
    border-spacing: 0;
    color: white;
    display: table;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    margin: 7px 0 15px;
}

.link-cards {
    background: #feb745;
    background: linear-gradient(to bottom, #f1e767 0%, #feb745 100%);
    font-weight: 400;
    margin: 25px 0;
}
.link-card {
    padding: 16px;
    text-align: center;
    margin: 0;
}

@media (min-width: 768px) {
    .link-cards {
        border: hidden; /* inhibits outside borders */
        border-collapse: collapse;
        display: table;
        width: 100%;
    }
    .link-cards-row {
        display: table-row;
    }
    .link-card {
        border: 1px black solid;
        display: table-cell;
        vertical-align: middle;
    }
}
@media (max-width: 767px) {
    .link-card {
        border-top: 1px black solid;
    }
    .link-cards-row:first-child > .link-card:first-child {
        border-top: none;
    }
}
.flexslider.uninitialised > .slides > .slide { display: none; }
.flexslider.uninitialised > .slides > .slide:first-child { display: block; }

li.slide p:first-child { margin-top: 0; }
li.slide p:last-child { margin-bottom: 0; }



.fulbrighter-icons {
    margin: 0 -20px;
}
@media (min-width: 700px) and (max-width: 899px) {
    .fulbrighter-icons { width: 620px; margin: 0 auto; }
}
@media (min-width: 500px) and (max-width: 699px) {
    .fulbrighter-icons { width: 420px; margin: 0 auto; }
}
@media (max-width: 499px) {
    .fulbrighter-icons { width: 220px; margin: 0 auto; }
}

.fulbrighter-filter {
    background: #e4e1dc;
    color: #4e5f72;
    padding: 15px 25px 15px 30px;
    margin-top: 20px;
}
.fulbrighter-filter > label {
    font-size: 22px;
    line-height: 1.819;
    font-weight: bold;
    margin: 5px auto;
}
.fulbrighter-filter:after { clear: both; content: ''; display: block; }
@media (max-width: 499px) {
    .fulbrighter-filter {
        padding: 5px;
    }
}
.fulbrighter-filter > .options {
    clear: right;
    float: right;
    margin: 5px 0 5px 25px;
}
.fulbrighter-filter select {
    padding: 2px 4px;
}
@media (min-width: 1170px) {
    .has-flex-wrap .fulbrighter-filter {
        display: flex;
        align-items: center;
    }
    .has-flex-wrap .fulbrighter-filter > label {
        flex-grow: 1;
    }
    .has-flex-wrap .fulbrighter-filter:after {
        display: none;
    }
}
input.country-flag {
    display: none;
}
input.country-flag + label {
    cursor: pointer;
    background: 50% 50% / 80% auto no-repeat;
    display: inline-block;
    height: 30px;
    margin-left: 15px;
    opacity: 0.6;
    position: relative;
    vertical-align: middle;
    width: 40px;
}
input.country-flag:checked + label {
    background-color: white;
    opacity: 1;
}
input.country-flag[value="australian"] + label,
input.country-flag[value="au"] + label {
    background-image: url(../images/aus-flag.png);
}
input.country-flag[value="usa"] + label,
input.country-flag[value="us"] + label {
    background-image: url(../images/usa-flag.png);
}
.fulbrighters-title {
    text-align: center;
}
.fulbrighters-title > h1 {
    margin: 30px 0 0;
}
.fulbrighters-title > h2 {
    font-size: 30px;
    margin: 0 0 20px;
}
.fulbrighters-title > .no-results {
    display: none;
}

.fulbrighter-icons:after { clear: both; content: ''; display: block; }
.fulbrighter-icon {
    border: 1px #ccc dotted;
    border-radius: 50%;
    margin: 25px 15px;
    float: left;
    padding: 8px;
    transition: transform 150ms;
}
.fulbrighter-icon > figure {
    position: relative;
    margin: 0;
}
.fulbrighter-icon > figure > .image {
    background-size: cover;
    border-radius: 50%;
    height: 157px;
    width: 157px;
}
.fulbrighter-icon > figure > figcaption {
    background: rgba(0, 131, 169, 0.55);
    border-radius: 50%;
    bottom: 8px;
    color: white;
    font-size: 14px;
    line-height: 1.072;
    left: 8px;
    position: absolute;
    padding-top: 27px;
    opacity: 0;
    right: 8px;
    top: 8px;
    transition: visibility 150ms, opacity 150ms;
    text-align: center;
    visibility: hidden;
}
.fulbrighter-icon h2 {
    color: inherit;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.067;
    margin: 0 auto 6px;
    min-height: 32px;
    width: 108px;
}
.fulbrighter-icon .group {
    margin: 6px auto;
    min-height: 30px;
    width: 132px;
}
.fulbrighter-icon .read-btn {
    border: 1px white dotted;
    display: table;
    font-size: 12px;
    padding: 5px 13px;
    margin: 0 auto;
}

.fulbrighter-icon:hover, .fulbrighter-icon.active {
    transform: scale(1.212);
}
.fulbrighter-icon:hover > figure > figcaption, .fulbrighter-icon.active > figure > figcaption {
    opacity: 1;
    visibility: inherit;
}

.fulbrighter-profile {
    display: none;
}
.fulbrighter-profile.active {
    display: block;
}
.fulbrighter-profile > h2 > .group {
    font-size: 18px;
    margin-left: 7px;
}
.edit-fulbrighter {
    float: right;
    height: 40px;
    overflow: hidden;
    padding-top: 40px;
    width: 40px;
    background: #eee url(../images/pencil-icon.png) 50% 50% no-repeat;
    opacity: 0.5;
    border: 1px #bbb solid;
    border-radius: 5px;
}
.edit-fulbrighter:hover {
    opacity: 1;
}

.annual-reports > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.annual-reports > ul > li {
    display: inline-block;
    vertical-align: middle;
    padding: 15px 15px;
    margin: 0;
}

/* If flexbox is available then add borders */
.has-flex-wrap .annual-reports > ul {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
}

.has-flex-wrap .annual-reports > ul > li {
    align-items: center; /* for vertical alignment of contents */
    box-shadow: inset -1px -1px black, 0 -1px black, -1px 0 black, -1px -1px black;
    display: flex; /* for vertical alignment of contents */
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    background: #ffad00;
    color: black;
    padding: 5px;
    margin-top: 1px;
    text-align: center;
}

.image-gallery {
    margin-left: auto;
    margin-right: auto;
}
.image-gallery:after {
    clear: both;
    content: '';
    display: block;
}
.image-gallery-item {
    border: 1px #ccc solid;
    padding: 4px;
    float: left;
    margin: 9px;
}

@media (max-width: 400px) {
    .image-gallery {
        width: 290px;
        margin-left: auto;
        margin-right: auto;
    }
    .image-gallery-item img {
        width: 117px;
        height: auto;
    }
}

.gallery-pages > .wp-caption {
    float: left;
    max-width: 32%;
    margin-left: 0.66%;
    margin-right: 0.66%;
}
.has-flex-wrap .gallery-pages {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 601px) {
    .gallery-pages > .wp-caption:nth-child(3n+1) { clear: left; }
}
@media (max-width: 600px) {
    .gallery-pages > .wp-caption:nth-child(2n+1) { clear: left; }
    .gallery-pages > .wp-caption {
        max-width: 48%;
        margin-left: 1%;
        margin-right: 1%;
    }
}
@media (max-width: 500px) {
    .gallery-pages > .wp-caption {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}

/* align captions */
.has-flex-wrap .gallery-pages > .wp-caption { display: flex; flex-direction: column; }
.has-flex-wrap .gallery-pages > .wp-caption > .wp-caption-text { flex-grow: 1; }

.sponsor-widget > h2 {
    font-size: 50px;
    font-weight: 300;
    color: #007da5;
    text-align: center;
}

.sponsors {
    margin: 20px auto;
    width: 800px;
}
@media (max-width: 499px) {
    .sponsors { width: 200px; }
}
@media (min-width: 500px) and (max-width: 699px) {
    .sponsors { width: 400px; }
}
@media (min-width: 700px) and (max-width: 799px) {
    .sponsors { width: 600px; }
}
.sponsors .slide-inner {
    text-align: center;
    height: 100px;
    width: 200px;
    padding: 0 15px;

    /* If flexbox is available, also center the images vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}
.sponsors .slide img {
    display: inline;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}
.sponsors .flex-prev, .sponsors .flex-next {
    background: none;
    border-top: 21px transparent solid;
    border-bottom: 21px transparent solid;
    height: 0;
    margin-top: -21px;
    padding: 0;
    width: 0;
}
.sponsors .flex-direction-nav .flex-prev {
    border-right: 37px #ddd8d3 solid;
    left: -44px !important;
}
.sponsors .flex-direction-nav .flex-next {
    border-left: 37px #ddd8d3 solid;
    right: -44px !important;
}

/* Essential WP styles */
.screen-reader-text,
.screen-reader-text span,
.ui-helper-hidden-accessible {
    position: absolute;
    margin: -1px;
    padding: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
}

.alignleft {
    float: left;
    margin: 0 0.667em 0 0;
}

.alignright {
    float: right;
    margin: 0 0 0 0.667em;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 1.75em;
}

blockquote.alignleft {
    margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}

blockquote.alignright {
    margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}

blockquote.aligncenter {
    margin-bottom: 1.473684211em;
}

@media (max-width: 767px) {
    .alignleft, .alignright {
        clear: both;
        display: block;
        float: none;
        margin: 1.467em auto;
    }
}

/* Slider overrides */
.flex-direction-nav a {
    background: url(../images/slider-buttons.png) no-repeat;
    height: 50px;
    margin-top: 0;
    top: 40px;
    padding-top: 50px; /* Hide text by pushing it off the bottom of the box */
    width: 50px;
    z-index: 2;
}
.sponsors .flex-direction-nav a {
    opacity: 0.7;
}
.flex-direction-nav a:before {
    content: none !important;
}
.flex-direction-nav .flex-prev {  left: 10px; background-position: left bottom; }
.flex-direction-nav .flex-next { right: 10px; background-position: left top; }

.flex-control-nav { bottom: -38px; }
.flex-control-paging li a {
    background: #aea59a;
    border-radius: 50%;
    box-shadow: none;
    height: 11px;
    overflow: hidden;
    padding-top: 11px;
    text-indent: 0;
    width: 11px;
}
.flex-control-paging li { margin: 0 0 0 5px; }
.flex-control-paging li:first-child { margin-left: 0; }

.flex-control-paging li a:hover,
.flex-control-paging li a:focus { background: #d6d2cc; }
.flex-control-paging li a:active { background: #4a5d71; }
.flex-control-paging li a.flex-active { background: #4a5d71; }

.article-full .post-tag {
    background: #f7f7f7;
    border: 1px #dcd9d1 solid;
    border-right: 0;
    display: inline-block;
    margin-left: 10px;
    margin-right: 13px;
    padding: 0 5px 0 5px;
    position: relative;
    line-height: 20px;
    height: 24px;
    vertical-align: middle;
}
.article-full .post-tag:after {
    content: '';
    position: absolute;
    right: -13px;
    width: 13px;
    height: 24px;
    top: -1px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAYCAMAAAAWLodmAAAAdVBMVEXc2dH////c2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dHc2dH39/fp6OT39/fg3tfo5uL09PPy8vD19fTz8/Lc2dHk4t3u7evt7Onj4dv19fXh3thtOVMtAAAAGHRSTlMAAD+q5ySE21TqLeEVwAaWZg+x1bDUDgAKz5rGAAAAd0lEQVR4XnXQxw7EMAgE0LGT7b0DTraW///EDZIPw2Hn9iQL8OA+BKkGOqQdocb1OuxIWvYsfY9Z18mUpP1sTtLnYklSWa2BTsykcz42gDQ5N+L6fLewnFI2l97aqPgyTokbeHu8jK/+96Ny5CZO56rYkjd4STU/8qoTqd9mk+QAAAAASUVORK5CYII=);
}
.scholarship + .scholarship {
    margin-top: 40px;
}

.scholarship .closing {
    color: #666;
    font-weight: bold;
    text-align: right;
}

.scholarship-search {
    background: #e4e1dc;
    padding: 20px;
}
.scholarship-search:after { clear: both; content: ''; display: block; }
.scholarship-search > h2 {
    color: #4e5f72;
    font: bold 22px/1.2 DIN, sans-serif;
    margin-top: 6px;
}
.scholarship-search .search-box {
    background: transparent;
    border: 1px white dotted;
    padding: 3px 15px;
    margin-top: 5px;
    width: 250px;
    max-width: 100%;
}
.scholarship-search .types > label {
    float: left;
    width: 180px;
    margin: 5px 0;
    padding-left: 24px;
    text-indent: -24px;
    line-height: 1.1;
}
.scholarship-search .big-btn {
    clear: left;
    padding: 20px 30px;
    display: table;
    margin-left: auto;
    margin-right: 0;
}
@media (min-width: 768px) {
    .scholarship-search > h2 {
        float: left;
    }
    .scholarship-search > .location-selector {
        float: left;
        margin-left: 20px;
    }
    .scholarship-search > .search-box {
        float: right;
    }
    .scholarship-search .types {
        clear: both;
        float: left;
        width: 75%;
    }
    .scholarship-search .types > label {
        width: 33%;
    }
    .scholarship-search .big-btn {
        clear: none;
        float: right;
    }
}
@media (max-width: 767px) {
    .scholarship-search > .search-box {
        display: block;
        margin: 15px 0;
    }
    .scholarship-search > .types:after { clear: both; content: ''; display: block; }
    .scholarship-search .big-btn {
        margin-top: 20px;
    }
}

.scholarship-search .au,
.scholarship-search .us {
    display: none;
}
.scholarship-search[data-selected-location="au"] .au,
.scholarship-search[data-selected-location="us"] .us {
    display: block;
}

.read-more-content {
    display: none;
    padding: 1px 0;
}
.read-more-trigger {
    display: table;
    font-size: 11px;
    font-weight: bold;
    line-height: 13px;
    padding: 10px;
    text-transform: uppercase;
    /*width: 100px;*/
}
.read-more-trigger > .more {
    display: block;
}
.read-more-trigger > .more:before {
    content: '';
    display: inline-block;
    background: url(../images/readmore.png) 0 0 / 100% 100% no-repeat;
    height: 13px;
    vertical-align: middle;
    width: 13px;
}
.read-more-trigger > .less {
    display: none;
    text-transform: uppercase;
}
.read-more-trigger > .less:before {
    content: '';
    display: inline-block;
    background: url(../images/readless.png) 0 0 / 100% 100% no-repeat;
    height: 13px;
    vertical-align: middle;
    width: 13px;
}
.in > .read-more-trigger > .more { display: none; }
.in > .read-more-trigger > .less { display: block; }
.in > .read-more-content { display: block; }

.box {
    background: #e4e1dc;
    display: flex;
    margin: 20px auto;
    padding: 20px;
}
a.box {
    text-decoration: none;
}
.box > .box-image {
    flex-shrink: 0;
    margin-right: 20px;
}
.box > .box-content > h2:first-child,
.box > .box-content > p:first-child {
    margin-top: 0;
}
.box > .box-content > h2:last-child,
.box > .box-content > p:last-child {
    margin-bottom: 0;
}

.box-row > .box {
    max-width: 400px;
}

@media (min-width: 768px) and (max-width: 1170px) {
    .box > .box-image {
        display: none;
    }
}

@media (min-width: 768px) {
    .box-row {
        display: flex;
        justify-content: space-between;
    }
    .box-row > .box {
        margin-left: 20px;
        width: 100%;
    }
    .box-row > .box:first-child {
        margin-left: 0;
    }
}

.wpcf7-text, .wpcf7-textarea {
    border: 1px #b1a89e dotted;
    padding: 4px 10px;
    width: 100%;
}
.wpcf7-select {
    border: 1px #b1a89e dotted;
    min-width: 150px;
}
.submit-row {
    text-align: right;
}
.wpcf7-submit {
    background-color: white;
    border: 1px #b0a79d dashed;
    color: black !important;
    padding: 15px 40px;
}

.donate {
    background: #e4e1dc;
    max-width: 420px;
    padding: 20px;
}
.donate .ref {
    margin-bottom: 20px;
}
.donate select {
    background: #f6f6f6;
    border: 1px #bbb solid;
    margin: 2px 0;
    padding: 4px 10px;
    width: 100%;
}
.donate .big-btn {
    background: #faf8f9;
    display: table;
    margin-left: auto;
    padding: 20px 40px;
    text-transform: uppercase;
}

.fulbrighter-info table {
    border-collapse: collapse;
    margin: 30px 0;
}
.fulbrighter-info th {
    color: #007ea6;
    font-weight: bold;
    width: 130px;
}
.fulbrighter-info th,
.fulbrighter-info td {
    text-align: left;
    vertical-align: top;
}
.fulbrighter-info img {
    display: block;
    height: auto;
    margin: 30px 0;
    max-height: 240px;
    max-width: 28%;
    width: auto;
}

.sticky-footer-uninitialised {
    display: none;
}
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #4a5d71;
    color: #e8e8e8;
}
.sticky-footer-content strong, .sticky-footer-content a {
    color: inherit;
}
.sticky-footer-spacer {
    position: static;
    visibility: hidden;
}
.sticky-footer-inner {
    display: flex;
    max-width: 1170px;
    padding: 10px;
    margin: 0 auto;
}
.sticky-footer-content {
    flex: 1 1 auto;
    text-align: center;
}
.sticky-footer-button {
    align-self: flex-start;
    background: white;
    border: 1px #b0a79d dashed;
    color: black !important;
    display: inline-block;
    flex: 0 0 auto;
    font-weight: bold;
    margin-top: -26px;
    margin-left: 20px;
    padding: 12px 30px;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
.sticky-footer-button:hover {
    text-decoration: none;
}