/*
Parthenon EY add on CSS
21 July 2017 10:32 AM - JD
*/

@font-face {
    font-family: "EYfont";
    src: url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Regular.woff2") format("woff2"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Regular.woff") format("woff"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "EYfont-Bold";
    src: url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Bold.woff2") format("woff2"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Bold.woff2") format("woff"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "EYfont-Italic";
    src: url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Italic.woff2") format("woff2"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Italic.woff") format("woff"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "EYfont-Bold-Italic";
    src: url("https://www.parthenon.ey.com/ecimages/eyfonts/W01BoldItalic.woff2") format("woff2"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01BoldItalic.woff") format("woff"), url("https://www.parthenon.ey.com/ecimages/eyfonts/W01BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
.kicker,
.article-date,
.article-author,
.nav,
.pagenav,
.leadin {
    font-family: 'EYfont-bold', Helvetica, Arial, sans-serif;
}

.Media {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background: #f0f0f0;
    /*overflow: hidden;*/
}

@media (max-width: 480px) {
    .Media {
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
}

.Media h2,
.Media h3,
.Media h4 {
    color: #333;
}

.Media h4 {
    color: #808080;
}

.Media.container {
    padding: 0;
    width: auto;
}

@media (min-width: 1400px) {
    .Media.container>.span-8 {
        max-width: 90%;
        padding-left: 10%;
    }
}

@media (min-width: 1400px) {
    .about>* {
        max-width: 360px;
    }
}

.Media-figure {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 33.333%;
}

@media only screen and (max-width: 568px) {
    .Media-figure {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .Media-figure img {
        max-width: 100%;
    }
}

@media only screen and (min-width: 568px) {
    .Media-figure img {
        max-width: 100%;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
        margin-top: 15px;
        border: 2px solid white;
    }
}

.Media-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 15px;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
}

@media (max-width: 480px) {
    .Media-body {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
}

.side-column {
    width: 100%;
    flex: 1 0 auto;
}

.span-8 {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    width: 100%;
    flex: 1 0 auto;
}

@media (min-width: 736px) {
    .span-8 {
        width: calc(8/12 * 100%);
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
    .span-4 {
        width: calc(4/12 * 100%);
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
    }
}

.side-column {
    overflow: hidden;
    padding-right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

@media (max-width: 480px) {
    .side-column {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }
}


/******************/

.about {
    background: #DDE7EF;
    padding: 20px;
    font-size: 14px;
    -webkit-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /*max-height: 245px;*/
}

@media screen and (max-width: 820px) {
    .about {
        max-height: none;
    }
}

.about h3 {
    margin-top: 0;
}

.news {
    -webkit-box-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 14px;
    padding: 20px;
    background: #C6DBED;
    /*overflow: hidden;*/
}

.news h3 {
    margin-top: 0;
}

.news .row {
    margin-top: 2em;
}

.news img {
    display: block;
    max-width: 60%;
    margin: auto;
}

@media only screen and (min-width: 737px) {
    .news img {
        display: inline-block;
        max-width: 100%;
    }
}

.news img+img {
    margin-top: 0;
}

.featured-perspective {
    padding: 20px 0 0 20px;
    /*overflow: hidden;*/
}

@media (max-width: 667px) {
    .featured-perspective {
        padding: 60px 0 0;
    }
    .carousel-indicators li:nth-child(n+6) {
        display: none;
    }
}

.featured-perspective .perspective_date {
    border: none;
}

.home-perspectives {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    overflow: hidden;
}

.home-perspectives>div {
    width: 100%;
    padding: 20px;
    font-size: 14px;
}

.home-perspectives:last-child {
    justify-content: flex-end;
}

@media (min-width: 480px) {
    .home-perspectives>div {
        width: 33.333%;
    }
}

.perspective_title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
}

.perspective_title a {
    transition: all .25s;
    color: #337ab7;
    text-decoration: none;
    /*background-image: linear-gradient(to bottom,rgba(51, 122, 183,0) 50%,rgba(51, 122, 183,0.3) 50%);*/
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 15px;
}

.perspective_title a:hover {
    color: #337ab7;
}

.perspective_date {
    border-top: 6px solid #6AADE4;
    padding-top: 1em;
    font-size: 13px;
    color: #999;
}

[class^="section"] .btn-default {
    margin-bottom: 30px;
}

.btn-default {
    color: #333;
    border-color: #6AADE4;
    color: #6AADE4;
    transition: all .25s;
}

@media (min-width: 736px) {
    .right {
        float: right;
        text-align: right;
        margin-left: calc(8/12 * 100%);
    }
}

use {
    pointer-events: none;
}


/*hide carousel items higher than 5*/

.carousel-indicators li:nth-child(n+6) {
    /*display: none;*/
}

@media (min-width: 768px) {
    .leadin:first-letter {
        font-size: 110px;
        line-height: 93px;
    }
}

.related-perspectives {
  margin-top: 6rem;
  border-top: 5px solid #6AADE4;
  clear: left;
}
.article .maincolumn .related-perspectives .row h3 {
    margin: -5px 0 0 0;
    line-height: 1.2;
}
