
html,body{
    height: 100%;
    overflow: visible;
}

body{
    background-color: #FFFFFF;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    font-family: 'Oxygen', sans-serif;
}

#root {
    height: 100%;
    width: 100%;
    overflow: visible;
}

.title{
    background-color: #4A2D10;
    padding: 8px 15px 8px 15px;
    position: relative;
    top: 20px;
    z-index: 10;
}

.title-text{
    color: #F0CD32;
    text-decoration: none;
    font-size: 3.5em;
    font-family: 'Ubuntu', sans-serif;
}

.title a, .title a:hover{
    text-decoration: none;
}

.outer-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    width: 100%;
}

#outer-header {
    flex: 0 1 80px;
    height: 80px;
    background-color: #A84E18;
    overflow: visible;
    box-shadow: 0 2px 5px rgba(0.3, 0.3, 0.3, 0.3);
    z-index: 5;
    align-items: center;
}

.header-content {
    max-width: 1000px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
}

#outer-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#outer-footer {
    flex: 0 1 200px;
    min-height: 200px;
    background-color: #A84E18;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    box-shadow: 0 -2px 5px rgba(0.3, 0.3, 0.3, 0.3);
}

.footer-bounds{
    display: flex;
    flex: 1 1 1000px;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
}

.footer-content {
    display: flex;
    max-width: 1000px;
    flex: 1 1 1000px;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
}

.footing-block{
    flex: 1 1;
    max-width: 200px;
    padding: 0.5em 0 0.5em;
}

.footing-block h4 {
    margin: 0 0 0 0;
}

.top-nav {
    display: flex;
    justify-content: space-between;
}

.top-nav a {
    color: #4A2D10;
    text-decoration: none;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    padding-right: 30px;
}

.main-column{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main-splash{
    position: relative;
}

.leaf-splash{
    background-image: url('/images/guillaume-jaillet-EIWCd0414xQ-unsplash.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 600px;
}

.toronto-splash{
    background-image: url('/images/pexels-nextvoyage-457937.jpg');
    background-size: cover;
    background-position: 50% 40%;
    height: 500px;
}

.splash-lede{
    width: 100%;
    position: absolute;
    bottom: 20%;
    text-align: center;
}

.splash-lede-text{
    /*background: rgba(255,255,255,.6);*/
    font-family: 'Ubuntu', sans-serif;
    font-size: 25px;
    text-align: center;
    font-weight: 700;
    margin-left: 40%;
    margin-right: 40%;
    border-radius: 3px;
    color: #FFFFFF;
}

.splash-credit {
    position: absolute;
    right: 3px;
    bottom: 3px;
    border-radius: 3px;
    color: #444444;
    background-color: #999999;
    opacity: 0.3;
    padding: 3px 3px 3px 3px;
}

.main-body {
    margin-top: 40px;
    min-width: 500px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-bottom: 80px;
}

.text-block{
    flex: 0 1 600px;
}

.body-slice {
    display: flex;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;

}

.body-insert{
    flex: 0 1 250px;
    height: 100%;
    position: relative;
}

.body-image-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.round-image{
    display: block;
    position: relative;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: auto auto auto auto;
}

.body-header {
    text-align: center;
    font-size: 40px;
    font-weight: 400;
}

.main-body hr {
    width: 50%;
}

.card-bin {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 10px 50px 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.policy-backlink {
    position: relative;
    width: 0;
    height: 0;
    left: -25%;
}

.policy-backlink-inner {
    position: absolute;
    width: 10em;
    height: 2em;
}


@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .title{
        top: 0;
        width: 100%;
        text-align: center;
    }

    #outer-header{
        height: auto;
    }

    .top-nav{
        padding: 0.2em 0 0.2em 0;
    }

    .header-content{
        flex-direction: column;
    }

    .outer-body {
        flex-direction: column;
    }

    .splash-lede-text {
        margin-right: 10%;
        margin-left: 10%;
    }

    .main-body{
        min-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 1em 0 1em;
    }

    #outer-footer{
        min-height: auto;
    }

    .footing-block{
        max-width: 100%;
    }

    .footer-bounds{
        flex-direction: column;
    }

    .footer-content{
        flex-direction: column;
        flex: 1 1 auto;
    }
}

@media only screen and (max-width: 950px) {
    .policy-backlink {
        left: 0;
        height: 2em;
        width: auto;
    }
}