/* Font Links */
@font-face {
	font-family: "OldeEnglish";
	src: url("/Site_Data/Fonts/OldeEnglish") format("woff");
}
@import url("https://fonts.googleapis.com/css2?family=Lancelot&display=swap");
/* font-family: "Lancelot", serif; */

/* Main Colors Global */
:root {
	--black: #000000;
	--white: #ffffff;
	--color1: #315c2b;
	--color2: #274029;
	--color3: #181f1c;
	--color4: #e1ca96;
	--color5: #fbf2c0;
	--color6: #f7f4ef;
	--title: "OldeEnglish";
	--body: "Roboto";
}

body {
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	font-family: var(--body) !important;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	word-spacing: 3px;
	text-wrap: balance;
	position: relative;
}
svg#userInSvg {
	fill: white !important;
}

.fa-bars {
	color: white !important;
}
:is(p, h1, h2, h3, h4, h5, h6):empty,
.contact-card-widget .contact-card-title:empty {
	display: none;
}

.master-layout-1 {
	z-index: 1001;
}

/*-----------------------------max width adjustments-------*/
.master-layout-1 .container-fluid {
	max-width: 1440px;
}

/*---------------------------body max-width-------------------------------------------------*/
section :is(.basic-text-area, .basic-block) p,
section
	:is(.basic-text-area, .basic-block)
	:has(p)
	:is(h1, h2, h3, h4, h5, h6) {
	/* max-width:900px; */
	max-width: 1400px;
}
section :is(.basic-text-area, .basic-block) p.centered-text,
section
	:is(.basic-text-area, .basic-block)
	:has(p)
	:is(h1, h2, h3, h4, h5, h6).centered-text {
	margin-left: auto;
	margin-right: auto;
}
section :is(.basic-text-area, .basic-block).center p,
section
	:is(.basic-text-area, .basic-block).center
	:has(p)
	:is(h1, h2, h3, h4, h5, h6) {
	margin-left: auto;
	margin-right: auto;
}
/*max width adjustments*/
section .inner-wrap .container,
section .theme-secondary:not(.inner-wrap) > div {
	max-width: 1200px;
	margin: auto;
	float: none;
	display: flex;
	justify-content: center;
}
section .inner-wrap .container,
section .theme-secondary > div {
	max-width: 1400px;
	width: 100%;
	/* margin: auto; */
	float: none;
}
:is(
		.col-100,
		.col-70-left,
		.col-70-right,
		.col-30-left,
		.col-30-right,
		.col-50-left,
		.col-50-right
	)
	section
	.inner-wrap
	.container,
:is(
		.col-100,
		.col-70-left,
		.col-70-right,
		.col-30-left,
		.col-30-right,
		.col-50-left,
		.col-50-right
	)
	section
	.theme-secondary:not(.inner-wrap)
	> div {
	max-width: 100%;
}
.contact-card-widget .inner-wrap {
	max-width: 1440px;
	margin: auto;
	width: 100%;
	float: unset;
}

hr {
	border-color: var(--color1);
	border-width: 5px;
}

/* ------------------ Base Styles with Fluid Sizing ------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--title) !important;
	font-style: normal;
	margin-bottom: 0px;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 3.5rem);
}
h2 {
	font-size: clamp(2rem, 4.5vw, 3rem);
}
h3 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h4 {
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}
h5 {
	font-size: clamp(1.4rem, 3vw, 2.3rem);
}
h6 {
	font-size: clamp(1.2rem, 2.5vw, 2.1rem);
}

p,
a {
	font-family: var(--body);
	font-size: clamp(1rem, 2vw, 1rem);
	line-height: clamp(1.4rem, 3vw, 2rem);
	letter-spacing: clamp(0.5px, 0.8vw, 1px);
	font-weight: 400;
	font-style: normal;
	text-decoration: none;
	text-wrap: balance;
}

a {
	color: var(--black);
	background: transparent;
	font-family: var(--subTitle);
}
a:hover {
	font-family: var(--subTitle);
	text-decoration: none;
}

/* ------------------ Buttons & Links ------------------ */
.content-quicklink-menu .content-quicklink-menu-list,
.content-quicklink-menu .content-quicklink-menu-list a,
a.btn,
.e3-button,
.btn,
.btn-solid,
a#p_lt_ContentWidgets_pageplaceholder_p_lt_zoneLG70_CHO_Widget_TitleAndSummary_Large_hrefButton {
	font-weight: 400 !important;
	font-size: 1rem;
	line-height: 1.3rem;
	color: var(--white) !important;
	background: var(--color1) !important;
	border: none !important;
}
.content-quicklink-menu .content-quicklink-menu-list a:hover,
a.btn:hover,
.e3-button:hover,
.btn:hover,
.btn-solid:hover,
a#p_lt_ContentWidgets_pageplaceholder_p_lt_zoneLG70_CHO_Widget_TitleAndSummary_Large_hrefButton:hover {
	color: var(--black) !important;
	background-color: var(--color6) !important;
	font-weight: 400 !important;
	border: none !important;
}

.content-quicklink-menu .content-quicklink-menu-list {
	background: transparent !important;
}

.content-quicklink-menu .content-quicklink-menu-list a {
	color: var(--white) !important;
	font-size: 1rem;
	line-height: 1.3rem;
	font-weight: 400 !important;
	margin: 10px 10px;
}

section[id*="TextArea"] [class*="row"] [class*="e3-table-wrap"] {
	padding: 50px;
}

section[id*="TitleAndSummary"] [id*="divInnerWrap"] {
	padding: 0px 50px !important;
}

section[id*="TitleAndSummary"] [id*="divInnerWrap"] {
	padding: 40px 50px !important;
}

section[id*="TitleAndSummary"] [id*="divImageBlock"] {
	position: relative;
	margin: 20px 0;
}

.basic-block .basic-block-wrapper .img-block {
	overflow: visible;
	border-radius: 10px;
}

section[id*="TitleAndSummary"]:not(.background-image, .center)
	[id*="divImageBlock"]:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	outline: 2px solid var(--color4);
	width: 100%;
	height: 100%;
	outline-offset: 20px;
	z-index: 999;
	border-radius: 2px;
}

.master-layout-1 nav #main-menu li,
.master-layout-1 nav #main-menu a {
	margin-top: 0.5rem;
	font-size: 16px !important;

	@media (max-width: 1024px) {
		color: #2a2a2a;
		font-size: 25x;
		padding: 20px;
		background: transparent;
		margin-top: 1.5rem;
	}
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px),
	screen and (-ms-high-contrast: none) and (min-width: 1025px) {
	.master-layout-1 #divMainMenu nav #main-menu > li > a:hover,
	.master-layout-1 #divMainMenu nav #main-menu > li > a.highlighted,
	.master-layout-1 #divMainMenu nav #main-menu > li > a.active-link {
		box-shadow: none !important;
	}
	span#p_lt_Header_MyProfilePages_lblMemberName {
		box-sizing: border-box;
		width: auto;
		color: white;
	}
	.master-layout-1 .MyProfile_Member {
		width: auto;
		transition: all 0.2s;
		z-index: 1;
		height: auto;
	}

	.master-layout-1 .container-fluid {
		padding-left: 10px;
		padding-right: 10px;
		display: flex;
		align-items: center;
	}
	header:not(.scrolled-head):not(.no-banner) {
		background: transparent !important;
		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0) !important;
	}
	body:not(.module-page) .header-space {
		display: none !important;
	}
	header:not(.no-banner):not(.scrolled-head) ul,
	header:not(.no-banner):not(.scrolled-head) ul li,
	header:not(.no-banner):not(.scrolled-head) ul li a {
		color: white !important;
		background-color: transparent !important;
	}
	header:not(.no-banner):not(.scrolled-head) ul li a:hover {
		color: black !important;
	}

	.master-layout-1 .MyProfile_Member .MyProfile_SignedIn .SignedIn_container {
		box-sizing: border-box;
		width: auto;
		position: relative;
		transition: all 0.2s;
		height: 100%;
	}
	.master-layout-1 .MyProfile_Member .MyProfile_SignedIn,
	.master-layout-1 .MyProfile_Member .MyProfile_SignedOut {
		height: auto;
		margin: 0;

		padding: 80px 0 0 !important;
		span {
			text-transform: capitalize;
			font-size: 16px;
		}
	}
}

ul.child-nav {
	background-color: white !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px),
	screen and (-ms-high-contrast: none) and (min-width: 1025px) {
	.master-layout-1.scrolled-head {
		height: 100px;
		a {
			color: black;
		}
		.logo img {
			filter: invert(1);
		}
		span#p_lt_Header_MyProfilePages_lblMemberName {
			box-sizing: border-box;
			width: auto;
			color: black;
			margin: -48px 0 0 !important;
		}
	}
}
.master-layout-1.scrolled-head .logo img {
	filter: invert(1);
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px),
	screen and (-ms-high-contrast: none) and (min-width: 1025px) {
	.master-layout-1 #divMainMenu {
		transform: translate(calc(-50% + 70px));
	}
	.master-layout-1 #divMainMenu nav #main-menu {
		margin-right: 0;
	}
}
@media (pointer: fine) and (min-width: 1440px) and (max-width: 1600px) {
	.master-layout-1 #divMainMenu {
		transform: translate(calc(-50% + 150px));
	}
}

@media (pointer: fine) and (min-width: 1800px) {
	.master-layout-1 #divMainMenu {
		width: calc(100% - 450px);
		transform: translate(calc(-50% - 120px));
	}
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.master-layout-1 #divMainMenu {
		width: calc(100% - 400px);
		transform: translate(calc(-50% + 50px));
	}
}

/* 
Notes:
- Black Logo link : /getmedia/5ed94790-0215-4ed1-bc04-510ebe1162af/SomersetLogoTextRight_Black.aspx
- White Logo link : /getmedia/8cd7aeb2-2abb-4d11-b925-b415a0683d84/SomersetLogoTextRight.aspx
*/
@media (min-width: 768px) {
	.cho-hero-textwidget.height100 {
		height: 100dvh;
		width: 100dvw;
	}
	.col-sm-10 {
		width: 100% !important;
	}
	.col-sm-offset-1 {
		margin-left: 0%;
	}
	.basic-block .basic-block-wrapper {
		flex-wrap: nowrap;
		align-items: none !important;
		justify-content: center;
	}
}

.hero .col-md-5 {
	width: 100%;
	height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero .cho-hero-textwidget-content .container {
	border: 2px solid var(--color6);
	border-radius: 10px;
	margin-top: 80px;
	margin-bottom: 50px;
	height: calc(100% - 130px);
	max-width: 1400px;
	width: 100%;
}

.timelinecontainer {
	background: var(--primary-color);
	margin: 20px auto;
	padding: 20px;
	display: flex;
	justify-content: center;
}

/* Timeline Container */
.timeline {
	background: var(--primary-color);
	margin: 0px auto;
	padding: 0px;
	justify-content: center;
	max-width: 1400px;
}

/* Card container */
.card {
	position: relative;
	max-width: 600px;
}

/* setting padding based on even or odd */
.card:nth-child(odd) {
	padding: 30px 0 30px 30px;
}
.card:nth-child(even) {
	padding: 30px 30px 30px 0;
}
/* Global ::before */
.card::before {
	content: "";
	position: absolute;
	width: 50%;
	border: solid var(--color1);
}

/* Setting the border of top, bottom, left */
.card:nth-child(odd)::before {
	left: 0px;
	top: -4.5px;
	bottom: -4.5px;
	border-width: 5px 0 5px 5px;
	border-radius: 50px 0 0 50px;
}

/* Setting the top and bottom to "-5px" because earlier it was out of a pixel in mobile devices */
@media only screen and (max-width: 400px) {
	.card:nth-child(odd)::before {
		top: -5px;
		bottom: -5px;
	}
}

/* Setting the border of top, bottom, right */
.card:nth-child(even)::before {
	right: 0;
	top: 0;
	bottom: 0;
	border-width: 5px 5px 5px 0;
	border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.card:first-child::before {
	border-top: 0;
	border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.card:last-child:nth-child(odd)::before {
	border-bottom: 0;
	border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.card:last-child:nth-child(even)::before {
	border-bottom: 0;
	border-bottom-right-radius: 0;
}

/* Information about the timeline */
.info {
	display: flex;
	flex-direction: column;
	background: #e1ca96;
	color: Black;
	border-radius: 10px;
	padding: 10px;
}

/* Title of the card */
.title {
	color: #181f1c;
	position: relative;
}

/* Timeline dot  */
.title::before {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	background: white;
	border-radius: 999px;
	border: 3px solid #315c2b;
}

/* text right if the card is even  */
.card:nth-child(even) > .info > .title {
	text-align: right;
}

@media (max-width: 1024px) {
	.timeline .col-sm-4 {
		width: 100% !important;
		float: none !important;
	}
}

/* setting dot to the left if the card is odd */
.card:nth-child(odd) > .info > .title::before {
	left: -45px;
}

/* setting dot to the right if the card is odd */
.card:nth-child(even) > .info > .title::before {
	right: -45px;
}
.timeline .row {
	margin-left: 0;
	margin-right: 0;
}

section[id*="StaticImageBanner"] {
	position: relative;
	overflow: hidden;
	max-height: 50vh;
}

section[id*="StaticImageBanner"] .cho-hero-textwidget-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	z-index: -1;
}

.customFooter {
	background-color: transparent;
	padding: 0;
	max-width: 100dvw;
	overflow: hidden;
	margin-left: 155px;
	padding: 0 20px;
	a,
	p {
		color: black;
		text-decoration: none;
		font-size: 18px;
	}
	a:hover {
		color: black;
		text-decoration: underline;
	}
	.infoCol {
		padding: 0;
	}
}

section[class*="contact-card-widget"] [class*="inner-wrap"] {
	padding: 0px !important;
}

section[class*="contact-card-widget"]
	[class*="inner-wrap"]
	[class*="contact-card-item"]
	a {
	background: var(--color6) !important;
	color: var(--color1) !important;
}

section[class*="contact-card-widget"]
	[class*="inner-wrap"]
	[class*="contact-card-item"]
	.card-details,
section[class*="contact-card-widget"]
	[class*="inner-wrap"]
	[class*="contact-card-item"]
	.card-details
	p {
	background: var(--color6) !important;
	color: var(--color1) !important;
}

/* Custom footer for home page Only. 

.customFooter {
    margin-top: -80px;
    position: absolute;
    z-index: 10;
    background-color: transparent;
    padding: 0;
    max-width: 100dvw;
    overflow: hidden;
    margin-left: 155px;
    padding: 0 20px;
    a,
    p {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }
    a:hover {
        color: white;
        text-decoration: underline;
        
    }
    .infoCol {
        padding: 0;
    }
}
*/
