html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--page-scroll-gap, 0);
}

.grid-container {
	max-width: 87.5rem;
}

.container {
	margin-inline: auto;
	max-width: 87.5rem;
	padding-inline: 1.5rem;
}

#page {
	min-height: 100vh;
	overflow: hidden;
	position: relative;
}

#main {
	padding-bottom: 3rem;
}

.sidebar {
	padding-top: 2.25rem;
}

@media(min-width:1201px) {
	#sidebar-first {
		order: -1;
	}
}

@media(min-width:901px) {
	#sidebar-first {
		padding-right: 2rem;
	}

	#sidebar-second {
		padding-left: 2rem;
	}
}

#content-bottom {
	margin-left: 0;
	margin-right: 0;
}

#content-bottom .demo-block {
	width: 100%;
}

#main .main {
    padding-bottom: 1rem;
    padding-top: 2.25rem;
}

.field-label,
.field__label {
	font-weight: 700;
}

.field--label-inline {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.field--label-inline :where(.field-label,.field__label):after {
	content:":";
	padding-right: .25rem;
}

.node-meta {
	color: gray;
	display: flex;
    font-size: 14px;
    font-style: italic;
}

.node-meta > div:not(:last-child) {
	margin-right: 3rem;
}


/* ELEMENTS: BLOCKS
----------------------------------------------- */
aside section.block, main section.block {
	margin-bottom: 1.75em;
}

.views-row .teaser {
	margin-bottom: 1rem;
}

/* featured content block */
/* teaser */
#region-content .type-page.teaser,
#content-bottom .block:not(.display-content-right) .type-page.teaser {
	display: block;
	padding-right: 1rem;
    padding-left: 1rem;
}

#region-content .type-page.teaser .cell,
#content-bottom .block:not(.display-content-right) .type-page.teaser > .cell {
	min-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#content-bottom .block-title {
	border: none;
}

#content-bottom h2:not(.block-title) {
	text-transform: none;
}



/* ELEMENTS: PAGINATION
----------------------------------------------- */

nav.pager > ul {
    text-align: center;
}

.pagination .current {
	background: none;
}

ul.pagination a {
	cursor: pointer;
}

ul.pagination li.current a {
	background: #002654;
	color: #fff;
}



/* ELEMENTS: SOCIAL ICONS
----------------------------------------------- */
.social-icons a {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
	border-radius: 50%;
	display: inline-block;
	font-size: 0;
	height: 32px;
	margin-right: 7px;
	overflow: hidden;
	position: relative;
	width: 32px;
}

.social-icons a:last-child { margin-right: 0; }

.social-icons a svg {
	bottom: 0;
	fill: #fff;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;

}

.social-icons a.facebook {
	background-color: #6D85B5;
}

.social-icons a.twitter {
	background-color: #89BEE1;
}

.social-icons a.linkedin {
	background-color: #1786B0;
}

.social-icons a.youtube {
	background-color: #DF5844;
}

.social-icons a.instagram {
	background-color: #F06597;
}

.social-icons a.srjc_app {
  background: #182952;
}



/*** Google CUstom Search ***/
.gsc-results-wrapper-visible {
    min-height: 50vh;
}

.gsc-control-wrapper-cse .gsc-modal-background-image-visible {
	height: 200vh;
    top: -50vh;
}

/* accordions */
.ckeditor-accordion .accordion-title,
.ckeditor--accordion .accordion-title {
  background-color: var(--srjc-blue);
  color: var(--white);
  font-size: 1.35714rem;
  margin-bottom: 0;
}

.ckeditor-accordion .accordion-item:nth-child(even) .accordion-title,
.ckeditor--accordion .accordion-item:nth-child(even) .accordion-title {
  background-color: var(--light-blue);
  color: var(--srjc-blue);
}