/* ------------------------------------

    Contact wjbelz2 for questions

------------------------------------*/


/* -- general styles -------------------------------- */

.hide {
    display:none !important;
}

table th {
    background:#005bbb !important; /*007681*/
    color:#fff !important;
    font-size:16px !important;
    font-weight:normal !important;
}

.slidedeck-slides .teaser-body a {
    color:#041a9b;
    border-bottom:1px solid #8c9ae4; /*3e50b2*/
    font-weight:bold;
}

.onThisPage a:before {
    content: ">";
}

.collapsible-container {
    padding-bottom:5px;
    border-bottom:1px dashed #e1e1e1;
}

.callout li {
    font-family:Sofia,SofiaWebRegular,ubcms,Arial !important;
}

#dev { /* when sharing review links pre launch, include h3 ID dev at top with 'This page is IN DEVELOPMENT' */
    text-align:center;
    background:#f00;
    color:white;
}

.img-left{
    float:left !important;
    margin:0 15px 0 0 !important;
}

.img-right{
    float:right !important;
    margin:0 0 0 15px !important;
}

.img-center{
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
}


/* -- faculty db embeds on program pages ------------ */

.facultybio .class_photo img {
    overflow: hidden;
    object-position: top;
    object-fit: cover;
    width: 60px;
    height: 60px;
}

.facultybio .research_area {
    margin: 5px auto auto 70px;
}

/*
.facultybio .research_area b {
   	text-transform:uppercase;
}
*/


/* -- faculty db profile pages ---------------------- */

.facultybio span#lblFacultyName {
    line-height:1.3;
}

.facultybio .facultypronouns {font-size:20px;}

.facultybio h6 {
    font-size:16px;
    font-weight:bold;
    margin:15px 0 2px;
}

.facultybio .title a:link,
.facultybio .title a:visited,
.facultyprofilecontentbody a:link,
.facultyprofilecontentbody a:visited {
    text-decoration:none;
    border-bottom:1px solid #d1e1f3;
}

.facultybio .title a:hover,
.facultybio .title a:active,
.facultyprofilecontentbody a:hover,
.facultyprofilecontentbody a:active {
    text-decoration:none;
    border-bottom:1px solid #005bbb;
}

.facultybio #lblAcademicOfficeAddress a {
    text-decoration: none !important;
}

.facultybio .title p {
    margin-top:7px;
}

.facultybio .title a.loginlink {
    border:0;
}


/* -- magazine -------------------------------------- */

#center .h1-label {
    font-size:13px;
    margin:10px 0;
    text-transform:uppercase;
}

#center .h1-label.larger {
    font-size:16px;
}

#center .h1-label span {
    background:#ebec00; /*ede823*/
	padding:4px 8px;
    box-decoration-break:clone;
    -webkit-box-decoration-break:clone;
}

@media only screen and (max-width:720px){
    .h1-label {margin-top:20px;}
}


/* -- YouTube embeds --------------------------------

    Manual YT embeds sometimes look better, title card thumbnail is clearer,
    alleviates black bars from mismatched dimensions of video, even standard 16x9.

    Use this code in an HTML snippet:

    <div class="embed-container"><iframe src="http://www.youtube.com/embed/xxxxxxxxxxx" frameborder="0" allowfullscreen></iframe></div>

    05/17/2017 wjb
*/

.embed-container {
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    max-width:100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}