/*Olivero colors*/
/*droplets #e7edf1*/
/*Social background, gray header background #f7f9fa*/

/*Import Google fonts*/
@import url('https://fonts.googleapis.com/css?family=Merriweather|Lato|Arsenal');


/*Change font for site name; Candara=Windows, Optima=iOS, Arsenal=Android & Linux*/
.site-branding__name {
	font-family: Candara,Optima,Arsenal; 
	color:#333399;
	font-size: 3rem;
	letter-spacing: -0.5px;
}

@media (max-width: 699.9px) {
.site-branding__name {
	font-family: Candara,Optima,Arsenal; 
	color:#333399;
	font-size: 3rem;
	letter-spacing: -0.5px;
	padding-top: 16px;
	text-wrap: nowrap;
	}
}

@media (max-width: 430px) {
.site-branding__name {
	font-family: Candara,Optima,Arsenal; 
	color:#333399;
	font-size: 2.6rem;
	letter-spacing: -0.5px;
	padding-top: 8px;
	text-wrap: nowrap;
	max-width: 85%;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1;
	}
}

.site-branding__slogan {
	letter-spacing: 0.45px;
	text-align: center;
}

@media (max-width: 1199.9px) {
	.site-branding__slogan {
	letter-spacing: 0.45px;
	padding-top: 8px;
	}
}

@media (max-width: 503.9px) {
	.site-branding__slogan {
	letter-spacing: 0.45px;
	line-height: 1;
	padding-top: 12px;
	text-align: left;
	text-wrap: nowrap;
	}
}

@media (max-width: 430px) {
.site-branding__slogan {
	letter-spacing: 0.45px;
	line-height: 1;
	padding-top: 8px;
	text-align: left;
	text-wrap: nowrap;
	max-width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
	}
}

/*Set top navigation background to gray*/
.site-header__inner {
	background: #efefef;
}
.header-nav {
	background: #efefef;
}

/*Replace droplets background image with chessboard*/
html body {background-image:url('data:image/svg+xml,<svg width="84.84" height="84.84" viewBox="0 0 2 2" xmlns="http://www.w3.org/2000/svg" style="fill:white;"><rect x="0" y="0" width="1" height="1" /><rect x="1" y="1" width="1" height="1" /></svg>');}

/*Set chessboard background for social bar*/
/*.social-bar {background-image:url('data:image/svg+xml,<svg width="5.625rem" height="5.625rem" viewBox="0 0 2 2" xmlns="http://www.w3.org/2000/svg" style="fill:white;"><rect x="0" y="0" width="1" height="1" /><rect x="1" y="1" width="1" height="1" /></svg>');}*/

/*Change background color from white to gray*/
div.main-content {background:#efefef;}

/*Remove blue color from site slogan (blue means clickable and it's not)*/
.site-branding__slogan {color:black;}

/*Remove blue color from site header (blue means clickable and it's not)*/
.site-header__initial {background:#efefef;}
.site-branding--bg-gray {background:#d7d3d3;}

/*Remove space between site header and social bar*/
.site-header {border-bottom:none;}

/*Reduce padding above main content area*/
@media (min-width: 43.75rem) {
.main-content__container {
	padding-top: 3rem;
	}
}

/*Reduce height of site header */
@media (min-width: 75rem) {
	.site-header {
		min-height: 120px;
		height: 120px;
	}
	.site-branding {
		min-height: 120px;
		height: 120px;
	}
	body.toolbar-horizontal.toolbar-fixed.toolbar-tray-open:not(.is-always-mobile-nav) .site-header__fixable.is-fixed {
		top: 4.3rem;
	}
	.mobile-buttons {
		margin-top: 4.5rem;
	}
}

/*When not logged in*/
@media (min-width: 75rem) {
	body:not(.is-always-mobile-nav) .site-header__fixable.is-fixed {
		top: -0.8rem;
	}
}
	
/*Remove background color from top navigation icons*/
@media (min-width: 75rem) {
	body:not(.is-always-mobile-nav) .primary-nav__button-toggle .icon--menu-toggle {
	background: none;
	}
}

/*Set menu label color to black, otherwise it's a weird blue on iPad*/
span.mobile-nav-button__label {
	color: #000;
}

/*Style site map links in site footer*/
.site-footer a {text-decoration:none;color:#aaa;}
.site-footer a:hover {text-decoration:underline;color:white;}
.site-footer .menu__link--level-1 {text-transform:capitalize; font-weight:600;font-size:1.5rem;}
.site-footer .menu__item.menu__item--link.menu__item--level-1 {width: calc((100% - 96px)/3);min-width: 190px; float: left;margin-right: 32px;margin-bottom:32px;}
.site-footer .menu__item.menu__item--link.menu__item--level-1.menu__item--has-children {min-height: 220px;}
.site-footer .menu__item.menu__item--link.menu__item--level-2 {line-height: 1.2; margin-top: 1rem;}
.site-footer .menu ul.menu.menu--level-2 {margin-left:0;}
/*
/*Chess knight background*/
nav#block-olivero-sitemap {
	background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" style="fill: rgb(255 255 255 / 5%);" viewBox="0 0 448 512"><path d="M96 48L82.7 61.3C70.7 73.3 64 89.5 64 106.5V238.9c0 10.7 5.3 20.7 14.2 26.6l10.6 7c14.3 9.6 32.7 10.7 48.1 3l3.2-1.6c2.6-1.3 5-2.8 7.3-4.5l49.4-37c6.6-5 15.7-5 22.3 0c10.2 7.7 9.9 23.1-.7 30.3L90.4 350C73.9 361.3 64 380 64 400H384l28.9-159c2.1-11.3 3.1-22.8 3.1-34.3V192C416 86 330 0 224 0H83.8C72.9 0 64 8.9 64 19.8c0 7.5 4.2 14.3 10.9 17.7L96 48zm24 68a20 20 0 1 1 40 0 20 20 0 1 1 -40 0zM22.6 473.4c-4.2 4.2-6.6 10-6.6 16C16 501.9 26.1 512 38.6 512H409.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L384 432H64L22.6 473.4z"/></svg>');
	background-repeat: no-repeat;
  background-size: cover;
  background-position: top center, 50%, 50%;
}
*/
@media (min-width: 75rem) {
.site-footer__inner {
	padding-bottom:0;
	}
}

div.region--footer_top__inner {
	margin-bottom:0;	
}

/*Add left border to side bar in wide view*/
@media (min-width: 62.5rem) {
	.region.region--sidebar {padding: 2rem 0 0 2rem;border-left:solid 2px #0000001a;
	}
}	

/*Match border color in top navigation*/
@media (min-width: 75rem) {
	body:not(.is-always-mobile-nav) .secondary-nav:before {
		background: #0000001a;
	}
}

/*Smaller font size and line height for content teaser titles (front page news and publications, for example)*/
@media (min-width: 62.5rem) {
    .node--view-mode-teaser .node__title {
        font-size: 1.125rem;
        line-height: 1.3rem;
    }
}

/*Remove bottom margin after teaser title*/
.node--view-mode-teaser .node__title {
    margin-bottom: 0.5rem;
}

/*Smaller margin and padding for news teasers*/
@media (min-width: 62.5rem) {
article.contextual-region.node.node--type-article.node--promoted.node--view-mode-teaser {
    margin-bottom: 1.125rem;
		}
article.contextual-region.node.node--type-article.node--promoted.node--view-mode-teaser:after {
		border-top: solid 2px #0000001a;
		}
}

article.node.node--type-article.node--promoted.node--view-mode-teaser:after {
		border-top: solid 2px #0000001a;
		}
		
article.node.node--type-publication.node--promoted.node--view-mode-teaser:after {
		border-top: solid 2px #0000001a;
		}


@media (min-width: 62.5rem) {
article.contextual-region.node.node--type-article.node--promoted.node--view-mode-teaser div.node__content {
    padding-bottom: 1.125rem;
		}
}


/*Smaller line height for paragraphs*/
@media (min-width: 43.75rem) {
    p {
        line-height: 1.5;
    }
}



/*Smaller font size for page titles*/
@media (min-width: 43.75rem) {
    h1 {
        font-size: 2.25rem;
        line-height: 3.5rem;
    }
}


/*Smaller font size for quotes*/
.text-content blockquote, .cke_editable blockquote {
	font-size: 1.3125rem;
	line-height: 2.25rem;
}


/*Smaller font size and spacing for search results*/
@media (min-width: 62.5rem) {
    .search-results__item {
        margin-bottom: 2rem;
    }
}

@media (min-width: 62.5rem) {
    .search-result__title {
    		margin-bottom: 0.5rem;
    		font-size: 1.125rem;
    		line-height: 1.3rem;
    }
}

@media (min-width: 62.5rem) {
    .search-result__snippet.text-content {
    		padding-bottom: 0;
    		font-size: 1.125rem;
    }
}

@media (min-width: 43.75rem) {
    .search-results__item {
        margin-bottom: 2rem;
    }
}

@media (min-width: 43.75rem) {
    .search-result__title {
    		margin-bottom: 0.5rem;
    		font-size: 1.125rem;
    		line-height: 1.3rem;
    }
}

@media (min-width: 43.75rem) {
    .search-result__snippet.text-content {
    		padding-bottom: 0;
    		font-size: 1.125rem;
    }
}

/*Turn off grid display for bibliography - this fixes the narrow look (likely a bug)*/
div.view.view-bibliographic-entries-all.view-id-bibliographic_entries_all.view-display-id-page_1 {
	display: revert;
}

/*Turn off grid display for news - this fixes the narrow look (likely a bug)*/
div.view.view-all-news.view-id-all_news.view-display-id-page_1 {
	display: revert;
}

/*Turn off grid display for nabokv-l - this fixes the narrow look (likely a bug)*/
div.view.view-all-nabokv-l-posts.view-id-all_nabokv_l_posts.view-display-id-page_1 {
	display: revert;
}

/*More dense display for nabokv-l table*/
div.view.view-all-nabokv-l-posts.view-id-all_nabokv_l_posts.view-display-id-page_1 :is(.forum table, .text-content table, .views-table, .draggable-table) td {
	border-block-end: none;
	min-width: 180px;
	padding: 8px 0;
}

div.view.view-all-nabokv-l-posts.view-id-all_nabokv_l_posts.view-display-id-page_1 div.view-content {
	gap: 0;
}

/* Preserves the font-weight that was in place from the patch on https://www.drupal.org/project/drupal/issues/3188136#comment-14042109 */
body .site-branding__text {font-weight:700;}