table {
	margin-top: 20px;
	margin-bottom: 30px;
}

table thead {
    background-color: #097896;
    color: #ffffff;
}

table thead a {
	color: #ffffff;
}

footer {
	margin-top: 50px;
}

label {
	font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    margin: 8px 0 4px 0; 
}


.research-group-last {
	width: 50%;
}

.mg-bt-40{margin-bottom: 40px;}
.mg-tb-20{margin: 20px 0;}
.mg-bt-30{margin-bottom: 30px;}
.mg-bt-20{margin-bottom: 20px;}
.pd-top-15{padding-top: 15px;}
.mg-top-20{margin-top: 20px;}
.mg-top-0{margin-top: 0;}

.form-wrapper {
	margin-bottom: 5px;
}

.addeventatc {
	z-index: 498 !important;
}

.form-actions {
    padding: 0;
    margin-top: 24px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-top: none;
}

.vertical-tabs__pane {
	padding: 10px 15px;
}

/*Editor Styles*/

/*

----- PLEASE NOTE ----------

Seven is the default theme for the Drupal 8 backend, the following style has been entered here (/www/sites/PhasD8/web/core/themes/seven/css/theme/ckeditor-dialog.css) to hide the additional image button

a.cke_button__drupalimage {
	display: none !important;
}

*/

p.lead {
    font-weight: 100;
    font-style: normal;
    color: #097896 !important;
    font-size: 20px;
    line-height: 28.008px;
    letter-spacing: 1px;
}

figcaption, .caption, .img-caption {
    font-size: 12px;
    font-style: italic;
    padding: 10px;
    width: 100%;
    background-color: #eee;
		word-break: break-all;
}

.inline-caption-container {
  padding:10px;
  background-color:#eee;
  overflow:auto;
}

.inline-caption-container img {
  float:left;
  margin-right:10px;
}

.inline-caption-container .img-caption {
  padding: 0;
}

.img-right .caption {
    max-width: 100%;
}

.img-right .caption .field__label {
    display: none;
}

.img-right, .image-right, img.image-right, div.image-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 8px;
    margin-top: 8px;
    background: #eee;
    padding: 10px;
    max-width: 350px;
}

.img-left, .image-left, img.image-left, div.image-left {
    float: left;
    margin-right: 15px;
    margin-bottom: 8px;
    margin-top: 8px;
    background: #eee;
    padding: 10px;
    max-width: 350px;
}

img.image-float-left {
    float:left;
    margin-right:15px;
    margin-bottom:8px;
    margin-top:8px;
    background:#eee;
    padding:10px;
    max-width: 350px;
}

img.image-float-right {
    float:right;
    margin-left:15px;
    margin-bottom:8px;
    margin-top:8px;
    background:#eee;
    padding:10px;
    max-width: 350px;
}

.img {
    margin-bottom:8px;
    margin-top:8px;
    background:#eee;
    padding:10px;
		max-width:350px;
}

.no-max-width {
    max-width:none !important;
}

p.highlight-to-edit{
    background-color:#FA58D0;
}

tr.table-sub-heading, tr.table-sub-heading td {
    background:#ddd;
    font-weight:bold;
}

tr.table-grey-row, tr.table-grey-row td {
    background:#eee;
}


/*----------------------*/

.page-node-type-biblio h1 {
    font-size: 28px;
 }   

.sidebar h2 {
	font-size: 18px;
}

.sidebar input.form-search { width: 75%; }

article.node--type-research-group {
    margin-bottom: 20px;
}

.node_view ul {
    float: right !important;
}

.flag-bookmark a:link, .flag-bookmark a:visited, .flag-bookmark a:hover, .flag-bookmark a:active {
	font-weight: 700;
	color: #2f5d7c;
	position: relative;
    top: 5px;
}

.non-clf .row {
	display: flex;
	flex-wrap: wrap;
}

.view-news-page .form-actions {
    margin-top: 0;
}

.collapse-text-details {
    margin-left: 14px;
}

.collapse-text-details summary {
	color: #097896 !important;
	font-weight: 700;
	border-bottom: 0.5px solid #4FB3CF;
	cursor: pointer;
}

.path-frontpage footer {
    margin-top: 0;
}

table .label {
    background-color: #097896;
}

select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {
	border-color: rgba(82,168,236,0.8);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(82,168,236,0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(82,168,236,0.6);
}

textarea {
    min-width: 100%;
}

.contact-form label, article .field__label, .search-form label, .page-node-type-biblio .field__label {
	font-weight: 700;
}

table.sticky-header thead:first-child th {
	padding-left: 10px;
}

.tablesaw-stack td .tablesaw-cell-label, .tablesaw-stack th .tablesaw-cell-label {
	width: 33%;
}

.form--inline .form-actions {
	display: inline-block;
}

/*.view-news-page .story-image {
	max-height: 200px;
}*/


.view-news-page .article-title a {
	text-decoration: none;
	font-size: 16px;
}

button, input[type="submit"], .form-actions .form-submit, .search-form .js-form-submit, .views-exposed-form .form-actions .form-submit {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    font-style: normal;
    color: #097896;
    background-color: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #097896;
    padding: 0px 16px;
}

#search-block-form input[type="submit"] {
	vertical-align:inherit;
	background-color: #097896;
	color: #fff;
	position: relative;
	padding:4px;
}

.form-actions .form-submit:hover, .search-form .js-form-submit:hover {
    color: #ffffff;
    background-color: #097896;
}

.non-clf .featured-link:hover {
    text-decoration: none;
}
.non-clf .featured-link:hover {
    color: #097896;
    padding-right: 50px;
    margin-right: 0px;
}

.non-clf .featured-link {
    display: inline-block;
    font-weight: 600;
    font-style: normal;
    color: #002145;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    text-decoration: none;
    cursor: pointer;
    margin-right: 25px;
    padding: 8px 25px 8px 0;
    background-position: 100% 50%;
    background-image: url('../images/icons/blue-arrow.png');
    background-repeat: no-repeat;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    transition: all ease 0.2s;
}

.non-clf .featured-link:hover {
    text-decoration: none;
}

.non-clf .featured-link:hover {
    color: #097896;
    padding-right: 50px;
    margin-right: 0px;
}

#block-featuredlinks .featured-links .link-wrapper{
	text-align: center;
}

#block-departmentlinks .link-wrapper div {
    background: #4FB3CF;	/*Default: #002145*/
    display: table;
    width: 100%;
}

#block-departmentlinks .link-wrapper div:hover {
    background: #097896;
}

#block-departmentlinks .link-wrapper div a {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 0 10px;
    text-decoration: none;
    font-size: 24px;
    line-height: 28.008px;
    letter-spacing: 1px;
    font-weight: 600;
    font-style: normal;
    color: #ffffff;
}

.tile-gradient {
    position: absolute;
    top: 0;
    left: 0;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    height: 100%;
    width: 100%;
    pointer-events: none;
    z-index: 1;
}

.block-md-slider {
	margin-bottom: 40px;
}

.md-object a:link, .md-object a:visited{
	color: #4FB3CF;
	text-decoration: none;
}

.md-object a:hover, .md-object a:active {
	color: #097896;
}

#ubc7-unit{
    background-color: #002145;
}

#block-departmentlinks{
    margin-top: 20px;
}

.item-hover-effect {
    display: block;
    overflow: hidden;
    background-color: #000000;
}

.item-hover-effect .item-hover:hover {
    opacity: 0.5;
    -webkit-transform: translate3d(0, 0, 0) scale(1.025);
    transform: translate3d(0, 0, 0) scale(1.025);
    -webkit-transition: transform 3s cubic-bezier(0.01, 0.61, 0, 0.99), opacity 0.5s ease-out;
    transition: transform 3s cubic-bezier(0.01, 0.61, 0, 0.99), opacity 0.5s ease-out;
}

.news-articles-teasers .news-article-teaser .story-image .article-date, .view-news-page .story-image .article-date {
    position: absolute;
    bottom: 4px;
    left: 4px;
    pointer-events: none;
    font-weight: 500;
    font-style: normal;
    color: #ffffff;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    z-index: 2;
}

.news-articles-teasers .news-article-teaser .article-title a{
    font-weight: 400;
    font-style: normal;
    color: #002145;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-articles-teasers .news-article-teaser .story-image {
    position: relative;
}

.item-hover-effect{
    display: block;
    overflow: hidden;
    background-color: #000000;
    position: relative;
}

.news-articles-teasers .news-article-teaser .article-title{
    margin: 0 0 10px 0;
    padding: 4px 4px 0 4px;
}

#block-views-block-news .view-footer {
    text-align: center;
    margin-bottom: 40px;
}

.user-login-form input[type="submit"].btn {
    color: #fff;
}

.view-footer a.apsc-btn-invert:hover {
	color: #ffffff;
    background-color: #097896;
}

.flickr-feed.row {
    margin-left: -15px;margin-right: -15px;
}

.view-footer a.apsc-btn-invert {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    font-style: normal;
    color: #097896;
    background-color: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #097896;
}

.news-events{
    background-color:#097896; /*default: #097896*/
    margin-top: 40px;
    padding: 10px 0 30px;
}

.news-events h2 {
    color: #fff;
}

.news-events .event-listing .event-listing-content {
    position: relative;
    background-color: #ffffff;
}
.news-events .event-listing .event-listing-content .event-link {
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    z-index: 1;
}
.news-events .event-listing .event-listing-content .event-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #097896;
    padding: 0px 6px 2px 0px;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 600;
    font-style: normal;
    color: #ffffff;
}
.news-events .event-listing .event-listing-content .event-details {
    padding: 12px 4px 0 36px;
    min-height: 95px;
}
.news-events .event-listing .event-listing-content .event-details .event-title {
    font-weight: 600;
}
.news-events .event-listing .event-listing-content .event-details a {
    color: #002145;
    text-decoration: none;
}
.news-events .event-listing .event-listing-content .event-details a:hover {
    text-decoration: underline;
}
.news-events .event-listing .event-listing-content .event-details p {
    font-size: 12px;
    line-height: 14.0016px;
    letter-spacing: 0px;
}
.news-events .event-listing .event-listing-content:hover .event-details a {
    text-decoration: underline;
}
.text-uppercase{text-transform: uppercase;}
.news-events .row{
    margin-left: -15px;
    margin-right: -15px;
}
.news-events .event-listing > h3{color: #fff;margin-top: 0;font-weight: 500;}
.content-header{
    position: relative;
}
.content-header .landing-header{
    position: absolute;
    left: 10px;
    bottom: 10px;
}
.non-clf .landing-header {
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    text-transform: uppercase;
    z-index: 2;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 2px;
}
.news-events .event-listing,.research-cluster .gallery-hover{box-sizing: border-box;}
.news-events .each-item{display: none;}
.view-research-industry ul > li > a{
    padding: 5px 0 5px 25px;
    display: block;
    text-decoration: none;
    color: #002145;
}
.view-research-industry ul > li > a:hover{
    background-color: #097896;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
}
.view-research-industry ul > li{
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #cfcbc2;
}

.view-research-industry ul{
    margin: 0;
    list-style: none;
}
.crumbs.container{padding: 0;margin-bottom: 20px;}
.gallery-hover-effect .gallery-hover{
    overflow: hidden;
    background-color: #000000;
}
.gallery-hover-effect .gallery-hover .gallery-tile .tile-gradient {
    z-index: 1;
}
.gallery-hover-effect .gallery-hover .gallery-tile .gallery_tile_img {
    transition: transform 3s cubic-bezier(0.01, 0.61, 0, 0.99), opacity 0.5s ease-out;
    position: absolute;
    top: 0.5%;
    left: 0.5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 99%;
    height: 99%;
    z-index: 0;
}
.gallery-hover-effect .gallery-hover .gallery-tile .tile-content {
    padding: 0 10%;
    position: relative;
    top: 65%;
    line-height: 24px;
    height: 24px;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    -webkit-transition: all 0.5s cubic-bezier(0.01, 0.61, 0, 0.99);
    transition: all 0.5s cubic-bezier(0.01, 0.61, 0, 0.99);
    z-index: 1;
    background: none;
}
.gallery-hover-effect .gallery-hover .gallery-tile .tile-content h2,
.gallery-hover-effect .gallery-hover .gallery-tile .tile-content .hover-text {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 500;
    font-style: normal;
    color: #ffffff;
    text-rendering: optimizeLegibility;
}
.gallery-hover-effect .gallery-hover .gallery-tile .tile-content h2 {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0px;
}
.gallery-hover-effect .gallery-hover .gallery-tile .hover-content {
    opacity: 0;
    -webkit-transform: translate3d(0, 30%, 0);
    transform: translate3d(0, 30%, 0);
    -webkit-transition: all 0.5s cubic-bezier(0.01, 0.61, 0, 0.99);
    transition: all 0.5s cubic-bezier(0.01, 0.61, 0, 0.99);
}
.gallery-hover-effect .gallery-hover .gallery-tile:hover .hover-content {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.gallery-hover-effect .gallery-hover:hover .gallery_tile_img {
    opacity: 0.5;
    -webkit-transform: translate3d(0, 0, 0) scale(1.025);
    transform: translate3d(0, 0, 0) scale(1.025);
}
.gallery-hover-effect .gallery-hover:hover .tile-content {
    height: 95%;
}
.gallery-hover-effect.border-less .gallery-hover {
    padding: 0;
}
.gallery-hover-effect.border-less .gallery-hover .gallery-tile .gallery_tile_img {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
}
.gallery-hover-effect.responsive-resize .gallery-hover {
    padding-top: 22%;
    padding-bottom: 6%;
}
.gallery-hover-effect .gallery-hover .gallery-tile{height: 400px;}
.apsc-btn-explore {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    font-style: normal;
    color: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #ffffff;
}
.apsc-btn-explore:hover {
    color: transparent;
    background-color: #ffffff;
}
.apsc-btn-explore:hover {
    color: #097896;
    background-color: #ffffff;
}
.view-recent-news ul > li > a{text-decoration: none;}
.view-recent-news ul > li > a:hover{text-decoration: underline;}
/*#ubc7-unit-menu .nav>li.active>.btn-group .btn, #ubc7-unit-alternate-navigation .nav>li.active>.btn-group .btn{
    background: #002145;
    color: #fff;
}*/

.field--name-field-news-thumbnail{word-break: break-all;}

.view-footer .apsc-btn-dark-bg-invert{
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-clip: padding-box;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    font-style: normal;
    color: #097896;
    background-color: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #ffffff;
}

.view-footer .apsc-btn-dark-bg-invert:hover{
    background-color: #097896; /*default: #002145*/
    color: #fff;
}

.flickr-feed .google-plus-post {box-sizing: border-box;margin-bottom: 30px;}

/*.view-events .view-footer {text-align: center;margin-top: 20px;}
#all-month > .row >.event-listing > h3 {visibility: hidden}
#all-month > .row >.event-listing:first-child > h3{visibility: visible;}*/

.view-events .view-footer {
	text-align: center;
    margin-top: 100px;
}

#all-month > div.event-active:nth-child(2) {
    top: 80px;
}

#all-month > .row >.event-listing:first-child > h3 {
    display: block;
    position: absolute;
    top: -39px;
}

#all-month > .row >.event-listing > h3 {
    display: none;
}

#January, #February, #March, #April, #May, #June, #July, #August, #September, #October, #November, #December {
    position: relative;
    top: 36px;
}

[class^="col"]{box-sizing: border-box;}
#block-newsandtweets{
    margin: 50px auto;
    width: 70%;
    overflow: hidden;
}
#block-newsandtweets h2{margin-top: 0;}

.in-the-media .news-coverage-entry, .view-phas-in-the-media .news-coverage-entry {
    margin-bottom: 15px;
    padding: 20px 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #e2e2e2;
}

.in-the-media .news-coverage-entry .coverage-source-info, .view-phas-in-the-media .news-coverage-entry .coverage-source-info {
    font-weight: 500;
    font-style: normal;
    color: #002145;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0px;
    margin: 0 0 10px 0;
}

.in-the-media .news-coverage-entry .coverage-source-info .source-name, .view-phas-in-the-media .news-coverage-entry .coverage-source-info .source-name  {
    text-transform: uppercase;
}

.in-the-media .news-coverage-entry .news-coverage-title, .view-phas-in-the-media .news-coverage-entry .news-coverage-title {
    margin: 0 0 10px 0;
    text-decoration: underline;
    font-weight: 600;
    font-style: normal;
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.in-the-media .news-coverage-entry .news-coverage-title:hover, .view-phas-in-the-media .news-coverage-entry .news-coverage-title:hover {
    text-decoration: none;
}

.in-the-media .news-coverage-entry .coverage-summary p, .view-phas-in-the-media .in-the-media .news-coverage-entry .coverage-summary p {
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 100;
    font-style: normal;
    color: #000000;
}

#block-twitterblock{min-height: 600px;overflow: auto;height: 600px;}
#block-departmentlinks .link-wrapper{margin-bottom: 10px;}
#block-departmentlinks .link-wrapper div a:hover {
    text-decoration: none;
}

#ubc7-unit-menu .dropdown:hover .btn-group .ubc7-arrow.right-arrow{
    background-position: -1113px -261px !important;
}

#ubc7-unit-menu .dropdown .btn-group:hover .btn, #ubc7-unit-menu .dropdown .btn-group:hover .dropdown-toggle, 
#ubc7-unit-alternate-navigation .nav>li.active>.btn-group:hover .btn, 
#ubc7-unit-alternate-navigation .dropdown .btn-group:hover .btn, 
#ubc7-unit-alternate-navigation .dropdown .btn-group:hover .dropdown-toggle
#ubc7-unit-menu .nav-collapse .nav>li>a:hover, #ubc7-unit-menu .nav-collapse .dropdown-menu a:hover, #ubc7-unit-alternate-navigation .nav-collapse .nav>li>a:hover, #ubc7-unit-alternate-navigation .nav-collapse .dropdown-menu a:hover
 {
	background: #097896 !important;
}

.dropdown-menu>li>a {
    padding: 3px 30px 3px 20px
}
.r-arrow{
    height: auto !important;
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border-left: 1px solid #d7e0e7;

}
.r-arrow i{
    color: #002145;
    padding: 6px;
    cursor: pointer;
}
.r-arrow.open i{color: #fff;}
ul.dropdown-menu.open{
    display: block;
    top: -1px;
    left: 100%;
}
.region-sidebar-first #mainNav > li{
    display: block;width: 100%;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #cfcbc2;}
.region-sidebar-first #mainNav > li a,.region-sidebar-first #mainNav > li .btn-group{display: block;width: 100%;}
.region-sidebar-first #mainNav .btn-group.open ul.dropdown-menu{display: block;position: relative;width: 100%;border: none;box-shadow: none;margin: 0;}

.region-sidebar-first #mainNav button.dropdown-toggle{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    height: 34px;
}
.region-sidebar-first #mainNav button.dropdown-toggle{
    background: none;border: none;box-shadow: none;
}
.region-sidebar-first #mainNav .btn-group.open ul.dropdown-menu a{padding-left: 40px;}
.region-sidebar-first #mainNav .dropdown-menu li{
    border-bottom: 1px solid #cfcbc2;
}
.region-sidebar-first #mainNav > li a{
    line-height: 24px;
    padding: 5px 0 5px 25px;
    width: 100%;
    height: 100%;
    font-weight: 100;
    font-style: normal;
    color: #002145;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
}
.region-sidebar-first .ubc7-arrow{display: none;}
.region-sidebar-first #mainNav > li a:hover{
    background-color: #097896;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
}
.fa-angle-down{color: #000;}
.region-sidebar-first #mainNav .btn-group.open ul.dropdown-menu > li:last-child{border-bottom: none;}
.page-title{text-transform: uppercase;}
.events-page .event-listing.September > h3,.events-page .event-listing > h3{display: none;color: #77787b;}
.events-page .event-listing.January:first-child > h3{display: block;}
.events-page .event-listing.February:first-child > h3{display: block;}
.events-page .event-listing.March:first-child > h3{display: block;}
.events-page .event-listing.April:first-child > h3{display: block;}
.events-page .event-listing.May:first-child > h3{display: block;}
.events-page .event-listing.June:first-child > h3{display: block;}
.events-page .event-listing.July:first-child > h3{display: block;}
.events-page .event-listing.August:first-child > h3{display: block;}
.events-page .event-listing.September:first-child > h3{display: block;}
.events-page .event-listing.October:first-child > h3{display: block;}
.events-page .event-listing.November:first-child > h3{display: block;}
.events-page .event-listing.December:first-child > h3{display: block;}
.events-page .event-listing.September + .October > h3{display: block;}
.events-page .event-listing.March + .April > h3{display: block;}
.events-page .event-listing.April + .May > h3{display: block;}
.events-page .event-listing.May + .June > h3{display: block;}
.events-page .event-listing.June + .July > h3{display: block;}
.events-page .event-listing.July + .August > h3{display: block;}
.events-page .event-listing.August + .September > h3{display: block;}
.events-page .event-listing.September + .October > h3{display: block;}
.events-page .event-listing.October + .November > h3{display: block;}
.events-page .event-listing.November + .December > h3{display: block;}
.events-page .event-listing.December + .January > h3{display: block;}
.events-page .event-listing.January + .February > h3{display: block;}
.events-page .event-listing.February + .March > h3{display: block;}
.page-node-type-media .node--type-media h1{color: #002145}
.events-page{margin-bottom: 30px;}
.view-news-page .img-right{float: none;}
#all-month > div{display: none;}
#all-month > div.event-active:nth-child(1){display: block;}
#all-month > div.event-active:nth-child(2){display: block;}
.node--type-event .field--name-body{display: none;}
.node--type-event .field__label{font-weight: bold;margin-top: 20px;}
.node--type-event .node__links{display: none;}
.news-text{
    color: #0055b7;
    font-weight: 400;
    font-size: 24px;
}
.page-title{font-weight: 400;letter-spacing: 2px;}
.addeventatc .copyx,.addeventatc .ateyahoo{display: none !important;}
.node--type-event  .field--name-field-event-date,.node--type-event  .field--name-field-event-end-date{display: inline-block;}
.node--type-event  .field--name-field-event-end-date .datetime:before{content: "- "}
.node--type-event .field--name-field-event-date,.node--type-event .field--name-field-event-end-date{display: none;}
/*Media Queries*/

@media (max-width: 1366px) {
    #block-departmentlinks .link-wrapper div a {
        height: 120px;
    }
}

@media (min-width: 1366px) {
    #block-departmentlinks .link-wrapper div a {
        height: 180px;
    }
}

@media (min-width: 1200px) {
    #block-departmentlinks .link-wrapper div a {
        font-size: 30px;
        line-height: 35.00016px;
        letter-spacing: 2px;
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    .non-clf .gallery-hover-effect.responsive-resize .gallery-hover {
        padding-top: 19%;
        padding-bottom: 9%;
    }
}

@media (max-width: 979px) {
	.news-events {
		padding: 20px;
		width: 100%;
		margin: 0 -20px;
	}
    .nav-collapse .dropdown-menu .menu-item--expanded > a {
        padding-left: 35px;
    }
    .r-arrow i {
    	padding: 12px;
    }
    .r-arrow .fa-angle-right {
    	display: none;
    }
    .nav-collapse .dropdown-menu.open a {
    	padding-left: 45px;
    }
    #slideshow {
    	margin: 0 -20px;
	}
}

@media (min-width: 768px) and (max-width: 979px) {
    .non-clf .gallery-hover-effect.responsive-resize .gallery-hover {
        padding-top: 35%;
        padding-bottom: 10%;
    }
}

@media screen and (max-width: 768px) {
	.md-slider-wrap, .md-slide-item {
		/*min-height: 200px !important;*/
	}
	.md-objects {
		font-size: 5px !important;
	}
	.md-object {
		width: 60% !important;
	}
	.md-object img {
		width: 190% !important;
	}	
    .flickr-feed .item-hover {
    	text-align: center;
    }
    .non-clf .landing-header {
    	font-size: 20px;line-height: 20px;
    }
    .hide-mobile {
    	display: none !important;
    }
}

@media (max-width: 568px) {
    #block-newsandtweets {
    	width: 100%;
    }

    .md-object img {
		width: 250% !important;
	}

    img.align-right, img.align-left, img.image-float-right, img.image-float-left, img.image-right, img.image-left, img.img-right, .image-right, .image-left, .img-right {
    	display: block;
        max-width: 400px;
        float: none;
    	clear: both;
    	margin: auto;
        margin-bottom: 20px;
    }

    div.image-right, div.image-left {
    	float: none;
    	clear: both;
    	margin: auto;
	    background: #eee;
	    padding: 10px;
	    max-width: 272px;
	}

}
.path-events .view-filters{display: none;}
.view-academic-year-events-listing .field__label,.view-taxonomy-term .field--name-field-events-location .field__label{font-weight: bold;}
.region-sidebar-first .dropdown-menu li > a.is-active,.region-sidebar-first .dropdown-menu .active>a:hover,.region-sidebar-first .dropdown-menu .active>a:focus{
    background-color: #097896 !important;
    color: #ffffff !important;
}
/*@media (min-width: 468px) and (max-width: 767px) {
    .view-news-page .story-image, .view-news-page .story-image img {
    	height: 250px;
    }
}*/

.directory table th {
        padding:4px 8px;
        text-align:left;
}
.directory table td {
        padding:4px 8px;
}

.in-memoriam {
  margin-top:20px;
}

.in-memoriam .person {
  overflow: auto;
}

.in-memoriam h5 {
  margin:0;
}

.in-memoriam .bio {
  overflow: hidden;
}

.in-memoriam .photo {
  margin-right: 15px;
  float:left;
  overflow:auto;
}

.in-memoriam img {
  padding:10px;
  max-width:350px;
  background: #eee;
}

.affiliations img {
  padding:10px;
  max-width:350px;
  background: #eee;
}

.affiliations .affiliation {
  overflow: auto;
}

.affiliations .logo {
  margin-right:15px;
  float:left;
  overflow:auto;
}

.affiliations h3 {
  margin-bottom:15px;
}

.affiliations img {
  padding:10px;
  max-width:350px;
  background: #eee;
}

input {
	width:100%;
	box-sizing:border-box!important;
	height:auto!important;
	padding:0.25em!important;
}

.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.node--type-it-cat img { margin: 10px 10px 10px 0px; }

article[about="/elab"] #title-one { font-size:30px; }

.md-slide-items img {max-width:100% !important; max-height:100% !important;}

.views-table tr:nth-child(even) {background: #e6e6e6}
