/* HOW Page - Yellow banner Removal */

.how .long-term-alert-banner {
    display: none;
}

@media screen and (min-width: 721px) {
    .how header {
        background: none;
        /* end blue background above breadcrumbs */
        margin-bottom: 0px;
        /*height: 0px;*/
    }


    .how .innerheader {
        padding-top: 0px !important;
    }
}



/*-- TEMP SLIDEDECK FIX -------------------------------------------*/

.slidedeck2h .size-hero .slide .teaser-block .teaser-body a {
    color: #005bbb;
}

/*-- Header -------------------------------------------------------*/


@media screen and (min-width: 721px) {
    header {
        background: #005bbb;
        /* end blue background above breadcrumbs */
        margin-bottom: 42px;
        height: 185px;
    }

    .eub-home header {
        /* adjust for no breadcrumbs on home page */
        margin-bottom: 0px;
    }

    .ub-logo-header-img {
        margin-top: 45px;
    }

    .header .affiliated-sponsored-endorsed-brand .top {
        display: none;
    }

    .innerheader {
        padding-top: 133px !important;
    }

    .header .tasknav {
        bottom: 30px;
    }

	.topnav {
        z-index: 7001;
    }
}


/*-- Top Nav -------------------------------------------------------*/

.topnav .main > ul > li.theme-harriman-blue > a span:before {
    background: #005bbb;
}

.topnav .main > ul > li.theme-harriman-blue > a span:after {
    background: none;
}

.topnav .main > ul > li > a {
    padding: 2px 10px 0;
}

.topnav .main > ul > li > a span {
    font-weight: 900;
    font-size: 16px;
}

.topnav .main > ul > li:hover > a span, .topnav .main > ul > li.hover > a span, .topnav .main > ul > li.active-trail > a span {
    line-height: 45px;
}

.topnav .right {
    right: -1px;
}

.topnav .search {
    left: -6px;
}

.audiencenav ul {
    width: 181px;
}

.topnav .main ul li:hover div.topnav-submenu-container,
.topnav .main ul li.hover div.topnav-submenu-container,
.topnav .main ul li a:focus + div.topnav-submenu-container {
	/* hide drop down menus */
    display: none;
}

/*-- Footer ----------------------------------------------------------*/

@media only screen and (min-width: 721px){
    .fatfooter .footer-mode-enhanced, .fatfooter .footer-mode-fat {
        overflow: visible;
    }
}


/*-- Home Page -------------------------------------------------------*/


@media screen and (min-width: 721px) {
    .eub-home .top .slidedeck2h {
        position: relative;
        margin-top: -16px;
        margin-bottom: 13px;
    }

    .eub-home .homepromo .title h2,
    .eub-home .homepromo-last .title h2 {
        margin-top: 1px;
    }
}

@media screen and (min-width: 961px) {
    .eub-home .top .slidedeck2h {
        height: 510px; /* fixed height removes jumpiness as slideshow loads */
    }
}

@media screen and (max-width: 720px) {
    .eub-home.page #columns #center-nocols .top {
        margin-top: 0;
        margin-bottom: -16px;
    }
}

.eub-home .col-1 .eventlistlocation {
    display: none;
}

#hp-fwc {
    margin-top: -26px;
}


#hp-fwc .collectioncarousel .flexmodule-style .teaser-title a {
    font-size: 14px;
    font-weight: 500;
}

.homepage #center-nocols .bottom {
    padding: 0 16px 0px;
}


/*-- Secondary Pages -------------------------------------------------------*/

.tlw2-introtext {
    font-family: Sofia;
    color: #fff;
    font-size: 28px;
    line-height: 36px;
    text-rendering: inherit;
}

.introbold {
    font-family: Sofia;
    font-weight: 900;
    text-transform: uppercase;
}

.tlw2-research-topbanner, .tlw2-globalreach-topbanner, .tlw2-lifeatub-topbanner {
    width: auto;
    padding: 48px 95px 48px 64px;
    background-size: cover;
    background-repeat: no-repeat;
}

.tlw2-research-topbanner {
    background-image: url(/content/dam/www/eub/life_at_ub/research-bkgd.png);

}

.tlw2-globalreach-topbanner {
    background-image: url(/content/dam/www/eub/life_at_ub/global-bkgd.png);
}

.tlw2-lifeatub-topbanner {
    background-image: url(/content/dam/www/eub/life_at_ub/life-bkgd.png);
}


/*-- Academics Video -------------------------------------------------------*/

    .academics .heroVidContainer{
        width: 100%;
        position:relative;
        text-align: center;
        height: 522px;
	    margin-top: -2px;
        overflow: hidden;
    }
    .academics .heroVidContainer:before {
        content: "";
        margin-top: 2px;
        height: 100%;
        width: 100%;
        background: url("/content/dam/www/brand/img/homepage-images/tarantula-still.jpg") no-repeat center center;
        background-size: cover;
        display: block;
        position: absolute;
        z-index: 0;
        -webkit-filter: blur(8px);
    }
   .academics .textOverlay {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: url("/content/dam/www/brand/img/homepage-images/tarantula-still.jpg") no-repeat center center;
        background-size: cover;
    }
    .textSpace{
        font-family: sofiaWebRegular; 
        font-size: 36px;
        text-transform: uppercase;
        color: #FFF;
        margin-top: 10px;
    }
    .textSpace .supTitle{
        font-family: sofiaWebBold;
        font-size: 65px;
        display: block;
        line-height: 1em;
        margin-top: 12%;
    }
    .arrowSpace {
        display: inline-block;
        height: 75px;
        width: 75px;
        border: solid 4px #FFF;
        border-radius: 45px;
        color: #FFF;
        font-size: 45px;
        padding: 7px 3px 5px 14px;
        box-sizing: border-box;
        cursor:pointer;
        margin-top: 20%;
		box-shadow: 0px 0px 28px #000000;
	    text-shadow: 0px 3px 28px #000000;
    }
    #conditionizr.windows .arrowSpace {
        font-size: 60px;
        line-height: 1em;
        padding: 1px 3px 5px 9px;
    }
    #conditionizr.windows.ie .arrowSpace {
        padding-top: 4px;
    }
    .arrowSpace:hover{
        color: #005BBB;
        border-color: #005BBB;
    }
    #ytplayer{
        z-index: 1;
        position:relative;
        height: 100%;
        margin-top: 1px;
    }
    
    #conditionizr.ie #ytplayer{
        margin-left:-9999px;
    }
    
    .imgSpace{
        margin-top: 3.5%;
    }
    .imgSpace img{
        width: 33%;
    
    }
    
    @media only screen and (max-width: 950px){
        .textSpace{
            font-size: 18px;
            line-height: 1.2em;
            margin-top: 10px;
        }
        .textSpace .supTitle{
            font-size: 50px;
            margin-top: 10%;
            line-height: 1em;
        }
        
        .imgSpace{
            margin-top: 3%;
    	}
        
        .arrowSpace {
            height: 45px;
            width: 45px;
            font-size: 24px;
            padding: 5px 4px 5px 10px;
            margin-top: 20%;
            position:relative;
        }
        .arrowSpace{
            font-size: 0px;
        }
        .arrowSpace:before {
            content: "";
            width: 0;
            height: 0;
            border-bottom: 15px solid rgba(0, 0, 0, 0);
            border-top: 16px solid rgba(0, 0, 0, 0);
            border-left: 20px solid #FFF;
            font-size: 0;
            line-height: 0;
            position: absolute;
            left: 13px;
            top: 3px;
			box-shadow: 0px 0px 28px #000000;
    		text-shadow: 0px 3px 28px #000000;
		}
        .arrowSpace:hover:before {
            color: #005BBB;
        }
    }

@media only screen and (max-width: 720px){
    	/*-- homepage hero image --*/
        .imgSpace img{
            width: 45%;
            min-width: 208px;
        }
        .textSpace{
            line-height: 1.2em;
            font-size: 23px;
        }
        .textSpace .supTitle{
            font-size: 42px;
            margin-top: 18%;
            line-height: 1.2em;
        }
        .arrowSpace {
            height: 45px;
            width: 45px;
            font-size: 34px;
            padding: 4px 3px 5px 10px;
        }
        
        .arrowSpace{
            font-size: 0px;
        }
        .arrowSpace:before {
        	left: 13px;
            top: 3px;
        }
}


/*-- Page Body -------------------------------------------------------*/

a.rss {
    display: none;
}

.newsline .divider {
    margin-bottom: 10px;
}

.newsline .title {
    font-weight: 900;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: -9px;
}

.break-news .list-style-links-news .teaser-inline a .teaser-title {
    color: #900;
    border-bottom-color: #fbb
}

.eventlisttext {
    margin-top: 11px;
}

.eventlist_wrapper .eventlist {
    min-height: 76px;
}

.eventlist .eventlistimagemonth {
    font: 15px/1.2 Sofia, Arial, sans-serif;
    text-transform: uppercase;
}

.eventlist .eventlistimageday {
    font: 500 32px/18px Sofia, Arial, sans-serif;
}

.eventlist .eventlistimagedate {
    margin-top: 11px;
}

.eventlisttext a {
    border-bottom: medium none;
}

.eventlisttext a:hover {
    border-bottom: medium none;
    text-decoration: underline;
}

.eventlistblurb {
    color: #041a9b;
}

.homepage .homepromo, .homepage .homepromo-last {
    margin-bottom: 0px;
}

.collectioncarousel .collectioncarousel-container {
    padding: 30px 35px 0px;
}


/*-- Footer -------------------------------------------------------*/

.socialbutton, .socialbutton + .socialbutton, .socialbutton + [class^=cq-placeholder] + .socialbutton {
    margin-right: 6px;
    margin-left: 0px;
}

/*.fatfooter .text p a {
    border-bottom: none;
}*/


/*-- Mobile ------------------------------------------------------ */

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

.header .affiliated-image {
        display: none;
    }

.slidedeck2h .size-hero .teaser-title, .slidedeck2h .size-xl .teaser-title, .slidedeck2h .size-l .teaser-title, .slidedeck2h .size-m .teaser-title, .slidedeck2h .size-s .teaser-title {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.slidedeck2h .size-hero .teaser-content {
    height: 120px;
}

.slidedeck2h .size-hero .teaser-body, .slidedeck2h .size-xl .teaser-body, .slidedeck2h .size-l .teaser-body, .slidedeck2h .size-m .teaser-body, .slidedeck2h .size-s .teaser-body {
    display: inherit;
    text-align: center;
    font-family: sofia;
    font-size: 14px;
}

.slidedeck2h .size-hero .lSSlideWrapper, .slidedeck2h .size-xl .lSSlideWrapper, .slidedeck2h .size-l .lSSlideWrapper, .slidedeck2h .size-m .lSSlideWrapper, .slidedeck2h .size-s .lSSlideWrapper {
    background: #002f56;
}

.homepromo .col-1 .parsys .newsline .title {
    font-weight: 900;
    font-size: 14px;
    background: none;
    color: #000;
    text-transform: uppercase;
    padding: 0px 0px 0px 16px;
    margin-bottom: -9px;
}

body div.slidedeck2h {
    margin-bottom: 30px;
}

}


/* ------- TLW Story Grid - Blue Flag Alert -------------- */

/* BLUE ALERT */

.gridstorylist .teaser.teaser-block .teaser-image.with-bluealert .a {
    margin-bottom: 0px;
}

.grid-story-teaser .teaser-image.with-bluealert .a:after {
    border-width: 0 20px 9px;
    border-style: solid;
    height: 34px;
    width: 0;
    position: absolute;
    right: 16px;
    border-color: #005bbb;
    border-bottom-color: transparent;
	margin-top: -28px;
    content: " ";
}

.grid-story-teaser .teaser-image.with-bluealert:after {
    background-image: url(/content/dam/www/coronavirus/heart-outline.svg);
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
    content: " ";
    position: relative;
    top: -19px;
    left: 194px;
    padding: 14px;
}

.teaser-image.with-bluealert.image-border-hide {
    margin-bottom: -17px;
}

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

.gridstorylist .teaser.teaser-block .teaser-inner .teaser-images .teaser-image.with-bluealert .a {
    position: relative;
    display: inline-block;
}

.gridstorylist .teaser.teaser-block .teaser-inner .teaser-images .teaser-image.with-bluealert .a:after {
    top: 0;
    left: 16px;
    border-width: 0 15px 6px;
    text-indent: -12px;
    line-height: 28px;
    height: 26px;
    margin: 0;
    font-size: 24px;
    position: absolute;
    display: block;
    z-index: 2;
}
.grid-story-teaser .teaser-image.with-bluealert:after {
    background-image: url(/content/dam/www/coronavirus/heart-outline.svg);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    content: " ";
    position: relative;
    top: -103px;
    left: -103px;
    padding: 14px;
    z-index: 2;
}

}



