/* header */
/*#header-menu-1 .sub-menu {*/
	/*position: fixed;
	top: 80px;*/
	/*left: 50%;
	margin-left: -600px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 1200px !important;
	padding: 30px;
	pointer-events: default;
	
	li a {
		margin: 0;
		padding: 0;
	}
	
}*/
:root {
--dropdown-background-color: white;
}
.header-title {
	font-size: 24px;
}
.header-title a {
	color: var(--theme-palette-color-8);
	transition: color 0.3s ease-in-out;
}
[data-transparent-row="no"] {
	.header-title a {
		color: var(--theme-palette-color-4);
	}
}
#offcanvas.active .header-title a {
	color: var(--theme-palette-color-4);
	font-size: 24px;
}
.header-title:hover a {
	color: var(--theme-palette-color-1) !important;
}
.header-menu-dropdown {
	display: block;
}
.header-menu-dropdown ul {
  column-count: 2; 
  column-gap: 50px; 
	width: 100%;
}
@media (max-width: 999.98px) {
	.header-title {
		font-size: 18px;
	}
}

/* google reviews */
.ti-rating-text,
.ti-rating-text :is(span, strong) {
    color: white !important;
}

/* change color of menu links to white only on homepage when right at the top */
/*.home #header-title {
	  color: var(--theme-palette-color-8);
}
.home [data-sticky*="yes"] #header-title {
	  color: var(--theme-palette-color-4);
}
.home .ct-header [data-id="menu"] > ul > li > a {
    --theme-link-initial-color: var(--theme-palette-color-8);
}
[data-header*="SZGKOB"] [data-transparent] {
	background-color: transparent;
}*/

/* image curtain effect */
.image-curtain-effect {
	position: relative;
}
.image-curtain-effect::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% + 1px);
	height: calc(100% + 1px);
	/*border-radius: 20px;*/
	background: var(--theme-palette-color-5);
	clip-path: polygon(100% 100%, -100% 100%, 100% -100%);
  transition: clip-path 1s ease-in-out;
}
.image-curtain-effect-action::before {
		clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
}

/* text for content blocks */
.segel-content-block-text :is(h2, h3, p) {
	margin-bottom: 25px;
}


/* advanced menu */
#segel-advanced-menu {
	background-color: var(--theme-palette-color-6);
	list-style-type: none;
	margin: 0;
	padding: 0;
	border-radius: 20px;
	
	#sam-first-li {
		background: var(--theme-palette-color-4);
		color: white;
		border-bottom-color: var(--theme-palette-color-4);
		font-size: 20px;
		text-transform: uppercase;
		border-radius: 20px 20px 0 0;
		font-weight: bold;
	}
	li {
		padding: 10px 20px;
		border-bottom: 1px solid var(--theme-palette-color-5);
		transition: all 0.3s ease-in-out;
	}
	li:last-child {
		border-bottom: none;
		border-radius: 0 0 20px 20px;
	}
	a {
		color: var(--theme-palette-color-4);
	}
	li.advanced-menu-active, li:hover {
		background: var(--theme-palette-color-3);
		a {color: white;}
	}
}

/* link lists using greenshift -- modalities and evaluations; also some mega menu classes */
.sllgd-bottom-border {
	transition: width 0.5s;
}
.segel-link-list-greenshift-div a,
.segel-mega-menu-item a { 
	transition: color 0.5s;
}
.segel-link-list-greenshift-div:hover .sllgd-bottom-border {
	width: 100% !important;
}
.segel-greenshift-image-excerpt-container,
.segel-mega-menu-excerpt-container {
	position: absolute !important;
	opacity: 0;
	transition: opacity 0.5s;
}
.segel-image-excerpt-container-active {
	opacity: 1;
	z-index: 5 !important;
	transition: opacity 0.5s 0.5s;
}
@media (max-width: 999.98px) {
	.segel-greenshift-image-excerpt-container {
		position: relative !important;
		opacity: 1;
	}
}

/* link lists coded html from scratch -- modalities and evaluations */
#segel-link-list {
  /*display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;*/
	border-top: 1px solid var(--theme-palette-color-5);
}
.sll-div {
	position: relative;
	padding: 30px 0;
	border-bottom: 1px solid var(--theme-palette-color-5);
}
.sll-title { margin: 0; }
.sll-title a { 
	color: var(--theme-palette-color-4);
	transition: color 0.5s;
}
.sll-title a:hover { 
	color: var(--theme-palette-color-2); 
}
.sll-bottom-border {
	position: absolute;
	bottom: -1px;
	width: 0;
	height: 1px;
	background-color: black;
	transition: width 0.5s;
}
.sll-div:hover .sll-bottom-border {
	width: 100%;
}

/* link list -- left column */
#segel-ll-left-column {
	/*max-height: 500px;
	overflow-y: hidden;*/
}
.ssl-image-excerpt-container {
	position: absolute;
	opacity: 0;
	transition: opacity 0.5s;
}
.sll-image {
	width: 100%;
	height: 225px;
	object-fit: cover;
	margin-bottom: 20px;
}
.sll-excerpt {
	font-size: 14px;
}
/*.ssl-image-excerpt-container:first-child {
	opacity: 1;
}*/
.ssl-image-excerpt-container-active {
	opacity: 1;
	z-index: 5;
	transition: opacity 0.5s 0.5s;
}

/* display for testing */
/*#header-menu-1 #menu-item-1286 .sub-menu {
	z-index: 10;
	opacity: 1 !important;
  visibility: visible !important;
}
#header-menu-1 .sub-menu li {
	opacity: 1 !important;
  visibility: visible !important;
}*/

/* gravity forms */
#gform_wrapper_1 .gform_title {
	display: none;
}
/* footer contact section */
/*.footer-contact-section .gspb_backgroundOverlay {
    left: calc(40% + 50px) !important;
    width: calc(60% - 50px) !important;
		opacity: 1 !important;
}
.footer-contact-section .gspb_backgroundOverlay::after {
    content: '';
		position: absolute;
		top: 0;
		left: 0;
    width: 100%;
		height: 100%;
		opacity: 0.35;
		background-color: ;
}*/
/*#gform_wrapper_1, .gfield_description {
	color: white;
}
#gform_wrapper_1 .gfield_description {
	color: white !important;
}*/

/* legal column */
.legal-column-container :is(h3, h4, h5, p, ul) {
	margin-bottom: 20px;
}