/*
 * Alumni CSS
 * Last update: 2016-09-19

    breakpoints:
        1200px
        990px
        720px
 */


/* Full-bleed interface with custom top navigation, social sharing and mobile links */
.maincontent {
    background: #333 !important;
    margin-top: 91px;
}
@media only screen and (max-width: 990px) {
     .maincontent {
        margin-top: 60px;
     }
}
.wrapcontent {
    width: 100%;
    margin-bottom: 5px;
    background-color: #333 !important;
}
.wrapcontent .hero {
    background-color: #333;
}
@media only screen and (max-width: 720px) {
    .hero .headings h1, .hero .headings h2 {
        color: white;
    }
}
.page, #wrapper {
    width: 100%;
}
.wrapcontent .hero img {
    max-height: 500px;
}
.home {
    float: none;
    margin-bottom: 100px;
}
.wrapcontent .home .headings {
    position: relative;
    padding-top: 10px;
    margin-top: 0;
    margin-left: 0px;
    padding-left: 50px;
    background: transparent none repeat scroll 0% 0%;
}
.home .headings h2 { color: white; }
@media only screen and (max-width: 990px) {
    .home .headings { margin-top: 200px; }
}
@media only screen and (max-width: 720px) {
    .wrapcontent .home .headings { margin-top: 20px; margin-left: 0; padding-left: 0px; }
    .home .headings h1 { margin-top: 220px; }
}
.hero .headings h1 {
    color: #FFE600;
}
.headings {
    margin-top: 20px;
    margin-left: 30px;
}
@media only screen and (max-width: 720px) {
    .headings {
        margin-left: 10px;
        padding-left: 10px;
    }
}
.wrapcontent .hero .headings {
    margin-left: 0;
    padding-left: 50px;
    background: -webkit-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: -moz-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(180deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);    
}
@media only screen and (max-width: 720px) {
    .wrapcontent .hero .headings {
        padding-left: 0;
    }
}


/* Top bar */
header#header .innercontent {
    overflow: visible;
    padding: 0;
    width: 100%;
}
div#header, header#header {
    position: relative;
    top: 0;
}
header#header {
    width: auto;
    min-height: inherit;
    height: 91px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 10px 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    background: #333 !important;
    z-index: 20;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}
@media only screen and (max-width: 990px) {
    header#header {
        height: 60px;
        min-height: 60px;
        position: fixed;
        width: 100%;
        z-index: 20;
    }
}
header#header.smallnav {
    height: 60px;
    padding-bottom: 0;
    background: #333 !important;
}
header#header.smallnav .innercontent {
    padding-bottom: 10px;
    padding-left: 20px;
}
header#header.smallnav .socialshare {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
header#header.smallnav .eylogo {
    height: 50px;
    width: 50px;
    padding: 0;
    margin: 0;
    background: url(https://www.ey.com/ecimages/logo_m.png) no-repeat;
    background-size: contain;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
header#header.smallnav .eylogo img {
    display: none;
}
.eylogo {
    float: left;
    height: 80px;
    position: static;
    margin-left: 50px;
    margin-right: 20px;
    background: none;
}
@media only screen and (max-width: 990px) {
    .eylogo {
        background: url('https://www.ey.com/ecimages/logo_m.png') no-repeat;
        background-size: contain;
        float: none;
        height: 60px;
        margin-top: 1px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .eylogo img {
        display: none;
    }
}
.sitename {
    position: relative;
    top: 70px;
    float: left;
}
.sitename a {
    color: #CCC;
    font-size: 110%;
}
@media only screen and (max-width: 990px) {
    .sitename {
        position: absolute;
        top:40px;
        left: 100px;
        float: none;
    }
}
#mainnav, ul#nav, .breadcrumb, .searchdiv, aside.asideA {
    display:none;
}
sup {
    font-size: 45%;
    top: -1.2em;
}


/* social media buttons */
.followus {
    position: absolute;
    width: 140px;
    top: 40px;
    right: 0px;
    font-size: 11px;
    min-height: 32px;
}
.maincontent .socialshare {
    margin-left: 0;
}
.sharelist {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
.fullwidth .socialshare li {
    margin-left: 4%;
}
.sharelist li.sharelabel {
    text-indent: 0;
    width: auto;
    color: #999999;
}
.sharelist .linkedin, .sharelist .twitter, .sharelist .print, .sharelist .email, .sharelist .youtube, .sharelist .instagram, .sharelist .facebook {
    background-image: url(https://cdn.ey.com/assets/images/ey-social-icons-gray.png);
}
.sharelist #connect-twitter, .sharelist .twitter {
    background-position: 0 0;
}
.sharelist #connect-linkedin, .sharelist .linkedin {
    background-position: 0 -16px;
}
.sharelist #connect-instagram, .sharelist .instagram {
    background-position: 0 -32px;
}
.sharelist #connect-facebook, .sharelist .facebook {
    background-position: 0 -48px;
}


/* navigation */
.localnav, .col1of2 {
    display: none;
}
.subnav {
    width: 20%;
    /*margin-top: 18%;*/
}
@media only screen and (max-width: 990px) {
    .subnav {
    width: 100%;
    }
}
nav.horizontal {
    float: right;
    white-space: nowrap;
    position: relative;
    top: 55px;
    margin-right: 20px;
}
nav.horizontal li {
    text-align: right;
    background: none;
    list-style-type: none;
    display: inline-block;
}
nav.horizontal a {
    color: #fff;
}
nav.horizontal a:hover {
    /*color: #ffe600;*/
}
.serviceslist li.nav-current a {
    color: black;
}
@media (max-width: 1200px) {
    nav.horizontal li {
        font-size: 70%;
    }
}
@media (max-width: 990px) {
    nav.horizontal {
        display: none;
    }
}
#mmenu {
    /*opacity: 0;*/
    opacity: 1;
    z-index: 21;
}
#mmenu.show {
    opacity: 1;
    display: block;
    position: fixed;
    cursor: pointer;
    background: transparent;
    overflow: hidden;
    font-size: 34px;
    top: 10px;
    z-index: 5;
    color: #fff;
}
.lessthan720 {
    visibility: hidden;
    display: none;
}
@media (max-width: 990px) {
    .lessthan720 {
        visibility: visible;
    }
}
@media (max-width: 990px) {
    #mmenu {
    position: fixed;
    }
}
.mobiledrop {
    z-index: 2;
    left: 0;
    right: 0;
}
.mobiledrop .utils {
    display: none;
}
@media only screen and (min-width: 990px) {
    .mlinks {
        display: block;
        margin-top: 60px;
        margin-bottom: 0;
    }
    .mlinks li {
        border-bottom: 2px solid #666;
        font-size: 15px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mlinks li a {
        padding: 12px;
        display: block;
        background: #333;
        color: #ccc;
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
    }
    .mlinks li a:hover {
        color: #fff;
        background: #808080;
    }
    .mlinks li.nav-current {
        background: transparent;
    }
    .mlinks li.nav-current a {
        color: #333;
        background: #ffe600;
    }
    .mlinks li.mainNavItem {
        background: #111;
    }
    .mlinks li.mainNavItem a {
        color: #FFF;
    }
    .mobiledrop {
        width: 36%;
        margin-left: 64%;
        display: none;
        background: #333;
        z-index: 2;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.57);
        left: 0;
        right: 0;
        position: fixed;
    }

}
@media (max-width: 990px) {
    .mobiledrop {
        position: fixed;
    }
}
@media (max-width: 990px) {
    .mlinks {
    padding-top: 69px;
    }
}
@media only screen and (max-width: 990px) {
    .mlinks a {
        color: #ccc;
    }
}
/* END OF Full-bleed interface with custom top navigation, social sharing and mobile links */




/* Alumni network promo */
.network {
    border: 4px solid #ffe600;
    padding: 20px;
    background-image: url(img/ey-alumni-network-banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 30px;
    margin-bottom: 20px;
}
.network p {
    width: 50%;
}
@media only screen and (max-width: 720px) {
    .network {
        margin-right: 20px;
    }
    .network p {
        width: 100%;
    }
}


/* hero feature */
.flexslider {
    background-color: #111;
}
.flexslider .slides>li, .flexslider .slides img {
    width: 100%;
}
.flex-caption {
    text-align: left;
    background: none;
    margin-bottom: 0px;
    width: 100%;
    margin-left: 0px;
    padding-left: 50px;
    background: -webkit-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(255, 255, 255, 1) 100%);
    background: -moz-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(180deg, transparent 0%, transparent 10%, rgba(255, 255, 255, 1) 100%);
}
.dark {
    background: -webkit-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: -moz-linear-gradient(-90deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(180deg, transparent 0%, transparent 10%, rgba(0, 0, 0, 1) 100%);    
}
.flex-caption h3 {
    color: black;
    font-size: 220%;
    margin-bottom: 5px;
    width: 80%;
    text-shadow: 0px 0px 5px #555;
}
.flex-caption h4 {
    color: black;
    font-size: 120%;
    margin-bottom: 5px;
    width: 80%;
    text-shadow: 0px 0px 5px #555;
}
.flex-caption p {
    color: black;
    font-size: 120%;
    width: 80%;
    text-shadow: 0px 0px 5px #555;
}
@media only screen and (max-width: 990px) {
    .flex-caption {
        margin-bottom: 0px;
        width: 100%;
    }
    .flex-caption h3 {
        font-size: 160%;
    }
    .flex-caption h4 {
        font-size: 110%;
    }
    .flex-caption p {
        font-size: 110%;
    }
}
@media only screen and (max-width: 720px) {
    .flex-caption {
        position: relative;
        width: 90%;
        padding-left: 0px;
        margin-left: 20px;
        z-index: 11;
        background: none;
    }
    .flex-caption h3 {
        font-size: 120%;
        color: #ccc;
    }
    .flex-caption h4 {
        color: #ccc;
    }
    .flex-caption p {
        color: #ccc;
    }
}




/* two columns */
.col1 {
    width: 60%;
    float: left;
}
@media only screen and (max-width: 720px) {
    .col1 {
        width: 95%;
        float: none;
    }
}
.col1 p {
    margin-bottom: 10px;
}
.col2 {
    margin-left: 65%;
}
@media only screen and (max-width: 720px) {
    .col2 { 
        margin-left: 0;
        width: 100%;
    }
}
.col1 h2, .col2 h2 {
    border-top: 5px solid #444;
    padding-top: 10px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
    color: #FFE600;
}
.col1 h3, .col1 h4 {
    margin-top: 15px;
    color: white;
}



/* Body content */
body, .normal, h2, h3, h4 {
    color: #CCC;
}
.maincolumn.span100 {
    margin-left: 30px;
    width: 95%;
}
section.section h2 {
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;    
}
@media only screen and (max-width: 720px) {
    .maincolumn.span100 {
        margin-left: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    section.section h2 { clear: both; }
    section.section {
        padding: 10px;
        margin: 0px;
    }
}
.intro {
    font-size: 120%;
}
.question {
    font-weight: bold;
    text-indent: -16px;
    padding-left: 32px;
}
.question span {
    display: inline-block;
    width: 16px;
    color: #FFE600;
    font-size: 150%;
}
.answer {
    padding-left: 32px;
}
blockquote {
    color: #FFE600;
    font-size: 130%;
}
cite {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #EEE;
}


/* Related articles */
#relatedArticles div.article {
    border: 1px solid #CCC;    
}
#relatedArticles .article {
    margin-bottom: 30px;
}
#relatedArticles .article h4 {
    color: white;
    background-color: #111;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
}
#relatedArticles .article div {
    margin-top: -9px;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 120px;
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 30px;
}
#relatedArticles .article img {
    width: 100%;
}
#relatedArticles .article p {
    color: #CCC;
    font-size: 100%;
    margin-bottom: 5px;
    padding: 5px;
}
@media only screen and (max-width: 990px) {
    .content-section h2 { clear: both; }
    #relatedArticles .article p {
        font-size: 100%;
        width: 80%;
    }
}




/* Stories */
.story {
    margin-left: 20%;
    margin-right: 30%;
}
#stories, .stories {
}
.stories:after {
    clear:right;
    content:'';
    display:block;
}
#topicFilters a {
    color: #99F;
}
#stories .pod, .stories .pod {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
}
#stories .pod h3, .stories .pod h3 {
    color: #222;
	font-size: 17px;
}
#stories .pod p, .stories .pod p {
    color: #222;
}
#stories .pod:hover, .stories .pod:hover {
    background:#ddd;-webkit-transition:all .4s;-moz-transition:all .4s;-o-transition:all .4s;-ms-transition:all .4s;transition:all .4s;
}
#otherStories {
    background-color: #222;
}
#otherStories .pod {
    float: left;
    margin-bottom: 20px;
    padding: 20px;
    width: 90%;
    min-height: 280px;
}
#otherStories .pod p {
    color: #ccc;
    margin-left: 0;
}
#otherStories .pod img {
    opacity: .7;
}
#otherStories .pod:hover {
    background:#555;-webkit-transition:all .4s;-moz-transition:all .4s;-o-transition:all .4s;-ms-transition:all .4s;transition:all .4s;
}

.pod {
    width: 300px;
    min-height: 300px;
}
.pod h3 { 
    margin-top:10px;
}
.pod p { 
    font-size: 70%; 
}
.pod p{
    margin:10px 0;
}
@media only screen and (max-width: 720px) {
    .pod {
        width:90%;
        height: auto;
        margin-bottom: 20px;
    }
    .pod p{margin:10px}
}
.pod img{
    width: 100%;
}
.videothumbnail {
    display: block;
}
.videothumbnail img.playicon {
    z-index:10;
    position:absolute;
    width: 50px;
    height: 50px;
    margin: 10px;
}



/* video playback */
#videoMetaData {
    float: left;
    width: 40%;
    margin-left: 0;
    margin-top: 100px;
    display: none;
}
#videoMetaData h4 {
    font-size: 140%;
}
#videoMetaData p {
    font-size: 120%;
}
#videoArea {
    width: 40%;
    margin-left: 50%;
    margin-bottom: 30px;
    display: none;
}
@media only screen and (max-width: 990px) {
    #videoArea {
        width: 100%;
        margin-left: 0;
    }
    #videoMetaData {
        width: 90%;
        float: none;
        margin-left: 0;
        margin-top: 0;
    }
}
@media only screen and (max-width: 720px) {
    #videoMetaData {
    }
}



/* images and captions */
figure {
    border: 1px solid #ccc;
}
figure img {
    width: 100%;
}
figure.right {
    float: right;
    margin-left: 20px;
}
figure.left {
    float: left;
    margin-right: 20px;
}
figcaption {
    padding: 8px;   
}
div.callout { width:30%; }
div.callout img { width: 100%; border: 1px solid #ccc; }
.left { float: left; margin-left: 0; margin-right: 20px; margin-bottom: 20px;}
.right { float: right; margin-left: 20px; margin-right: 0px;}
.fadein { opacity:0.1; -webkit-transition:all 3s;-moz-transition:all 3s;-o-transition:all 3s;-ms-transition:all 3s;transition:all 3s; }
@media only screen and (max-width: 720px) {
    .left { float: none; }
    .right { float: none; }
}


/* buttons and links */
a {
    color: #CC2;
}
a.bttn {
    border: none;
    background: #555 none repeat scroll 0% 0%;
    padding: 0.5em 1.5em;
    border-radius: 0;
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    text-shadow: 0px 1px rgba(0, 0, 0, 0.5);
    box-shadow: none;
    border-right: 3px solid #ffe600;
    font-size: 16px;
}


.flag {
    position: absolute;
    right: 180px;
    top: 20px;
}

#careerRHF {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),url(https://cdn.ey.com/echannel/gl/en/about-us/our-people-and-culture/our-alumni/img/EY-careers-RHF.jpg);
}

.ui-accordion a.selected {
    color: #CC2;
}
.ui-accordion > li, .ui-accordion li ul > li {
    background: transparent;
}
.accordion {
    clear: both;
}
.accordion article {
    padding: 10px;
    border-left: #222 15px solid;
}
.accordion ul, .accordion li {
    list-style-type: none;
    background: none;
    margin-bottom: 30px;
    padding-left: 0;
}
.accordion a {
    font-size: 120%;
    color: white;
    background: url('https://www.ey.com/Media/vwLUExtFile/CFO-Program-2014/$FILE/more.png') no-repeat 0 center;
    padding-left: 60px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    background-color: #222;
    cursor: pointer;
}
.accordion a.open {
    background: url('https://www.ey.com/Media/vwLUExtFile/CFO-Program-2014/$FILE/less.png') no-repeat 0 center;    
}

#topicFilters {
    margin-bottom: 20px;
    font-weight: bold;
    margin-top: 10px
}
#topicFilters a.selected {
    border-bottom: 2px solid #FF0;
}


.module img { 
    width: 100%;
}

/* Connect magazine */
.connect-col1 {
    width: 30%;
    background-color: #222;
    padding: 10px 20px 200px 20px;
}
.connect-col2 {
    margin-left: 40%;
}
.connect-col2 h2 {
    border: 0;
}

/* connect magazine */
.connect .pod {
    background-color: #CCC;
    border: 1px solid #444;
}
@media only screen and (max-width: 720px) {
    .connect-col1 {
        width: 95%;
        float: none;
    }
    .connect-col2 { 
        margin-left: 0;
        margin-right: 10px;
        width: 100%;
    }
    .connect {
        width: inherit;
    }
    .connect div {
        width: 100%;
        float: none;
    }
    .connect img {
        height: auto;
    }
}


/* Canadian additions */
div.alumcontactus { clear: both; min-height: 150px; }
div.alumcontactus .contacts {width:100%;border-top:1px solid #cccccc;margin-top:15px;margin-bottom:15px;padding-top:7px;}
div.alumcontactus .contacts .contact {width:100%; max-width:320px;float:left;margin-right:10px;margin-bottom:10px;}
div.alumcontactus .contacts .contact img {float:left;margin-right:15px;}
div.alumcontactus .contacts .contact text {float:left; font-size: 0.75em; line-height: 1.4em;}
div.alumcontactus .contacts .contact text strong {font-size: 1.25em; line-height: 1.4em;}

.ProfileHighlight {
    border: 2px #ffe600 solid; max-width: 600px; nargin-top: 10px; nargin-bottom: 20px; padding: 15px 10px 15px 15px; background: #ededed;
    background: -moz-linear-gradient(top, #ededed 0%, #f7f7f7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#f7f7f7));
    background: -webkit-linear-gradient(top, #ededed 0%,#f7f7f7 100%);
    background: -o-linear-gradient(top, #ededed 0%,#f7f7f7 100%);
    background: -ms-linear-gradient(top, #ededed 0%,#f7f7f7 100%);
    background: linear-gradient(to bottom, #ededed 0%,#f7f7f7 100%);
    filter: progid:dximagetransform.microsoft.gradient( startcolorstr='#ededed', endcolorstr='#f7f7f7',gradienttype=0 );
    margin-bottom: 20px;
}
.ProfileHighlight img {float: left; padding-right: 15px; padding-bottom: 10px;}
.ProfileHighlight h3.AlumniName {float: none; font-size: 1.4em; color: #58585b; margin-top:10px; margin-bottom: 0px;}
.ProfileHighlight .AlumniPosition {font-size: 1.0em; line-height: 1.2em; color: #58585b; margin-top:0px; margin-bottom: 5px; width: 95%;}
.ProfileHighlight .AlumniDate {font-size: 11px; line-height: 1.6em; font-weight: bold; color: #222222;}
.ProfileHighlight .AlumniContent {margin-Top: 10px;}
.ProfileHighlight .AlumniQuestion {font-weight: bold; font-size: 0.75em; line-height: 1.4em; font-style: italic; color: #666666; margin: 15px 0px 0px 0px;}
.ProfileHighlight .AlumniContent {display: table-cell; color: #666666; font-size: 0.8em; padding-top: 5px;}


.iomheader {
    position: absolute;
    width: 140px;
    top: 40px;
    right: 150px;
    font-size: 11px;
    min-height: 32px;
}
@media only screen and (max-width: 720px) {
    .iomheader {
        display: none;
    }
}


/* Print CSS */

@media print {
    .wrapcontent .hero img, .flexslider .slides > li { display: block; float: none; position: static; }
    .col2, .eylogo, .twitter-timeline, .iframe { display: none; }
    .col1 { width: 100%; float: none; }
    .wrapcontent .hero img { max-height: auto; }
    .flex-caption { position: static; }
}