/* Case Studies - Landing */

div.text-banner {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 4em;
}

div.case-studies {
    margin: 4em 0;
}

/* Case Studies - Single */

div.breadcrumbs {
    margin: 3em 0 1em 0;
    color: #767676;
}

div.breadcrumbs a {
    text-decoration: none;
    color: #767676;
}

div.breadcrumbs span.seperator {
    margin: 0 5px;
}

div.breadcrumbs a:hover {
    text-decoration: underline;
}

div.image-text-banner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

div.image-text-banner div.image-wrapper {
    width: 50%;
}

div.image-text-banner div.text-wrapper {
    width: 50%;
    padding-left: 4em;
}

div.image-text-banner div.text-wrapper ul.results {
    list-style-type: none;
    margin: 1em 0 0 0;
    padding: 0;
}

div.image-text-banner div.text-wrapper span.uppercase {
    display: block;
    text-transform: uppercase;
    font-family: 'Fredoka One', sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.15em;
    margin-top: 2em;
    margin-bottom: 1em;
}

div.image-text-banner div.text-wrapper ul.results li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

div.image-text-banner div.text-wrapper ul.results li span.icon {
    width: 100%;
    max-width: 30px;
    margin-right: 10px;
}

div.image-text-banner div.text-wrapper ul.results li span.text {
    margin-top: 2px;
}

div.image-text-banner div.text-wrapper a.category-btn {
    margin-bottom: 1em;
}

a.category-btn {
    font-family: 'Fredoka One', sans-serif;
    display: inline-block;
    padding: 0.75em 2em;
    background-color: #3C515B;
    color: #FFFFFF;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

a.category-btn:hover {
    background-color: #11ABFF;
}

.promo-module {
    padding-top: 0;
    margin-bottom: 4em !important;
    margin-bottom: calc(4em + 20px) !important;
}

.promo-module .promo-module-heading h3 {
    color: #212529 !important;
}

.promo-module .promo-module-heading strong {
    font-weight: 400;
}

@media only screen and (max-width: 800px) { 

    div.image-text-banner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    div.image-text-banner div.image-wrapper {
        width: 100%;
    }

    div.image-text-banner div.text-wrapper {
        width: 100%;
        padding-left: 0;
        margin-top: 1em;
    }

}

/* Featured Article */

article.featured-article {
    margin-top: 16em;
    background-color: #E4F3FB;
    border-radius: 10px;
}

article.featured-article.next-article {
    margin-bottom: 4em;
}

article.featured-article a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    text-decoration: none;
    padding: 2em;
}

article.featured-article a:hover div.content-wrapper span.icon {
    background-color: #11ABFF;
    border-color: #11ABFF;
}

article.featured-article.left div.image-wrapper {
    order: 1;
}

article.featured-article.left div.content-wrapper {
    order: 2;
    padding-left: 2em;
}

article.featured-article.right div.image-wrapper {
    order: 2;
}

article.featured-article.right div.content-wrapper {
    order: 1;
    padding-right: 2em;
}

article.featured-article div.image-wrapper {
    margin-top: -14em;
    width: 40%;
    overflow: hidden;
}

article.featured-article div.image-wrapper img {
    height: 100%;
    max-height: 375px;
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

article.featured-article div.content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 60%;
}

article.featured-article div.content-wrapper div.content-wrapper__text {
    padding-right: 2em;
    max-width: 600px;
}

article.featured-article div.content-wrapper div.content-wrapper__text span.uppercase {
    display: block;
    text-transform: uppercase;
    font-family: 'Fredoka One', sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.15em;
    margin-bottom: 1em;
}

article.featured-article div.content-wrapper div.content-wrapper__text h2 {
    font-family: 'Fredoka One', sans-serif;
    margin-bottom: 0.5em;
}

article.featured-article div.content-wrapper div.content-wrapper__text p {
    margin-bottom: 0;
}

article.featured-article div.content-wrapper span.icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 15px;
    border: 1px solid #F1BF50;
    background-color: #F1BF50;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

article.featured-article div.content-wrapper svg path {
    stroke: #FFFFFF;
}

@media only screen and (max-width: 1200px) {

    article.featured-article {
        margin-top: 4em;
    }

    article.featured-article div.image-wrapper {
        margin-top: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    article.featured-article div.image-wrapper img {
        height: auto;
        -o-object-fit: unset;
        object-fit: unset;
    }

}

@media only screen and (max-width: 800px) {

    article.featured-article a {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    article.featured-article div.image-wrapper {
        width: 100%;
    }

    article.featured-article.left div.content-wrapper {
        padding-left: 0;
        margin-top: 1em;
    }

    article.featured-article.right div.content-wrapper {
        padding-right: 0;
        margin-top: 1em;
    }

    article.featured-article.right div.image-wrapper {
        order: 1;
    }

    article.featured-article.right div.content-wrapper {
        order: 2;
    }

    article.featured-article div.content-wrapper {
        width: 100%;
    }

    article.featured-article div.content-wrapper div.content-wrapper__text {
        max-width: unset;
    }

}

@media only screen and (max-width: 600px) {

    article.featured-article div.content-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    article.featured-article div.content-wrapper div.content-wrapper__text {
        padding-right: 0;
    }

    article.featured-article div.content-wrapper span.icon {
        margin-top: 1em;
    }
    
}

/* Charts */

div.chart-data {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

div.chart-data.y2 {
    margin-bottom: 3em;
}

div.chart-data__text {
    width: 30%;
}

div.chart-data__svg {
    width: 70%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

div.chart {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-right: 1em;
}

div.chart:last-of-type {
    margin-right: 0;
}

svg.circular-chart {
    display: block;
    margin: 0 auto 1em auto;
    max-width: 200px;
}

svg.circular-chart path.circle-bg {
    fill: none;
    stroke: #F5F5F5;
    stroke-width: 4;
}

svg.circular-chart path.circle {
    fill: none;
    stroke-width: 4;
    -webkit-animation: progress 1s ease-out forwards;
    animation: progress 1s ease-out forwards;
}

@-webkit-keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

svg.circular-chart.green path.circle {
    stroke: #0BDA51;
}

svg.circular-chart.green text.percentage {
    fill: #0BDA51;
}

svg.circular-chart.blue path.circle {
    stroke: #11ABFF;
}

svg.circular-chart.blue text.percentage {
    fill: #11ABFF;
}

svg.circular-chart text.percentage {
    font-family: 'Fredoka One', sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}

span.chart__text {
    font-weight: 600;
}

div.two-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-top: 4em;
    padding-bottom: 4em;
}

div.two-columns div.two-columns__left {
    width: 30%;
}
div.two-columns div.two-columns__right {
    width: 70%;
}

@media only screen and (max-width: 1200px) {

    div.two-columns {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 0;
    }

    div.two-columns div.two-columns__left {
        width: 100%;
        order: 2;
        margin-top: 4em;
    }

    div.two-columns div.two-columns__right {
        width: 100%;
        order: 1;
    }

}

@media only screen and (max-width: 1000px) {

    div.chart-data {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    div.chart-data__text,
    div.chart-data__svg {
        width: 100%;
    }

    div.chart-data__text {
        text-align: center;
        margin-bottom: 1em;
    }

}

@media only screen and (max-width: 800px) {

    div.chart-data__svg {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    div.chart {
        margin-right: 0;
        margin-bottom: 1em;
    }

    div.chart {
        margin-right: 0;
        margin-bottom: 1em;
    }

    div.chart:last-of-type {
        margin-bottom: 0;
    }

}

/* Social Menu */

nav.social-menu {
    position: sticky;
    top: 4em;
}

nav.social-menu span.uppercase {
    display: block;
    text-transform: uppercase;
    font-family: 'Fredoka One', sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.15em;
    margin-bottom: 1em;
}

nav.social-menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav.social-menu ul li {
    display: inline-block;
    margin-right: 10px;
}

nav.social-menu ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 10px;
    background-color: #F1BF50;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

nav.social-menu ul li a:hover {
    background-color: #11ABFF;
}

nav.social-menu ul li:last-child {
    margin-right: 0;
}

nav.social-menu ul li a svg {
    width: 20px;
    fill: #FFFFFF;
}

@media only screen and (max-width: 1200px) {

    nav.social-menu {
        position: static;
        top: unset;
        text-align: center;
    }

}