/*=============================================*/
/* TYPEFACES */
/*=============================================*/

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&family=Playfair+Display:wght@400;600&display=swap');

:root, html, body,
.body-font {
	font-family: 'Cabin',
	-apple-system,
	BlinkMacSystemFont,
	'Segoe UI',
	Roboto,
	'Helvetica Neue',
	Arial,
	'Noto Sans',
	'Liberation Sans',
	sans-serif;
	font-weight: 400;
}

:root, html, body {
	line-height: 1.688em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'PLayfair Display', times, serif;
	font-weight: 600;
}

.font-playfair {
	font-family: 'PLayfair Display', times, serif;
	font-weight: 600;
}

.font-playfair-regular {
	font-family: 'PLayfair Display', times, serif;
	font-weight: 400;
}

.font-size-1-15 {
	font-size: 1.15rem;
}
.font-size-1-5 {
	font-size: 1.5rem;
}
.font-size-1-75 {
	font-size: 1.75rem;
}
.font-size-2 {
	font-size: 2rem;
}
.font-size-2-25 {
	font-size: 2.25rem;
}

.line-height-3 {
	line-height: 3rem;
}

/*=============================================*/
/* COLORS */
/*=============================================*/

:root {
	--primary: #7F5251;
	--secondary: #A00603;
	--dark: #543B3A !important;
}

body {
	background-color: #FEFBFB;
}

.bg-dark {
	background-color: #543B3A !important;
}

.bg-secondary {
	background-color: #D1BCBB !important;
}

.bg-off-white {
	background-color: #FEFBFB;
}


.btn-primary {
	color: #fff;
	background-color: #7F5251;
	border-color: #7F5251;
}
.btn-primary:hover,
.btn-primary:focus {
	color: #fff;
	background-color: #69403f;
	border-color: #69403F;
}

.btn-tertiary {
	color: #fff;
	background-color: #BB0704;
	border-color: #BB0704;
}
.btn-tertiary:hover,
.btn-tertiary:focus {
	color: #fff;
	background-color: #8b1514;
	border-color: #8b1514;
}

.text-primary {
	color: #7F5251 !important;
}

a.text-primary:focus, a.text-primary:hover {
	color: #69403f!important;
}

.text-tertiary {
	color: #BB0704 !important;
}

.text-secondary {
	color: #A00603 !important;
}


.table .thead-dark th {
	color: #fff;
	background-color: #543B3A;
	border-color: #3e2f2e;
}

/*=============================================*/
/* GLOBAL */
/*=============================================*/

html {
	scroll-behavior: smooth;
}

.object-fit-cover {
	object-fit: cover;
}

.text-last-center {
	text-align-last: center;
}

.break-before {
	break-before: column;
}

.text-columns-2 {
	columns: 2;
	column-gap: 3rem;
}
@media screen and (max-width: 991.98px) {
	.text-columns-2 {
		columns: 1;
	}

	.break-before {
		break-before: unset;
	}
}

.avoid-break {
	break-inside: avoid-column;
	page-break-inside: avoid;
}


@media screen and (min-width: 992px) {
	.w-lg-25 {
		width: 25% !important;
	}
}


.no-bullets {
	list-style: none;
	padding-inline-start: 0;
}

.no-list-padding {
	padding-inline-start: 1rem;
	padding-left: 1rem;
}

.opacity-75 {
	opacity: 75%;
}

.h-10rem {
	height: 10rem;
}

.w-15rem {
	width: 15rem !important;
}

.pt-6 {
	padding-top: 4rem !important;
}


/*=============================================*/
/* NAVBAR ELEMENT */
/*=============================================*/

.navbar-light .navbar-nav .nav-link {
	color: #655454 !important;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
	color: #BB0704 !important;
}

.navbar-adjustment-padding {
	margin-top: 3.6875rem;
}

.position-lg-absolute {
	position: absolute;
}
@media screen and (max-width: 991.98px) {
	.position-lg-absolute {
		position: static;
	}
}

/*=====================================================================================*/
/* PHOTO MODAL ELEMENT */
/*=====================================================================================*/

.with-light-box {
	cursor: pointer;
}

.photo-modal .modal-dialog, .photo-modal .modal-dialog .modal-content .modal-body {
	width: fit-content;
	max-width: 95vw;
	height: fit-content;
	max-height: 95vh;
}

.photo-modal .modal-dialog .modal-content .modal-body {
	position: static;
}
.photo-modal .modal-dialog .modal-content .modal-body button {
	position: absolute;
	right: 1.3rem;
	top: 0;
	width: 2rem;
	height: 2.25rem;
	border-bottom-left-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
	background-color: var(--roots-primary);
	color: var(--roots-ex-light);
	opacity: 100%;
}

.photo-modal .modal-dialog .modal-content .modal-body button span {
	position: absolute;
	right: 0.466rem;
	top: 0.533rem;
}


.photo-modal .modal-dialog .modal-content .modal-body img {
	height: auto;
	width: auto;
	max-height: calc(95vh - 2rem);
	max-width: calc(95vw - 2rem);
}

.modal-open .modal.show {
	display: flex !important;
	align-items: center;
}

/*=============================================*/
/* Census Online Page */
/*=============================================*/

.tree-branch-y-2 {
	border-bottom-width: 2px !important;
	border-top-width: 2px !important;
	border-left-width: 4px !important;
	border-right-width: 4px !important;
	border-color: #543B3A !important;
}
.tree-branch-y-4 {
	border-bottom-width: 4px !important;
	border-top-width: 4px !important;
	border-left-width: 4px !important;
	border-right-width: 4px !important;
	border-color: #543B3A !important;
}

/*=============================================*/
/* Case Study Page */
/*=============================================*/

a.nav-link {
	color: #7F5251;
}
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
	color: #fff;
	background-color: #7F5251;
}

.sticky-top {
	top: 58px;
	border-bottom: 1px solid #D8D1D1;
}

.case-study-anchor {
	position: relative;
	top: -130px;
}
@media screen and (max-width: 1200px) {
	.case-study-anchor {
		top: -180px;
	}
}
@media screen and (max-width: 524.98px) {
	.case-study-anchor {
		top: -230px;
	}
}

/*=============================================*/
/* Victorian Life Page */
/*=============================================*/

.inline-quote {
	font-size: 1.15rem;
	font-style: italic;
	text-align: justify;
	line-height: 1.6em;
	padding-left: 2rem;
	padding-right: 4rem;
	color: #7F5251;
}

/*=============================================*/
/* Links Page */
/*=============================================*/

#link main a {
	font-weight: bold;
	color: #BB0704 !important;
}

.margin-space-top {
	margin-top: 1.5rem;
}