.inside {
	h1 {
		margin-top: 0;
	}
}

.salacious-crumb {
	font-size: 15px;
	line-height: 1.33em;
	text-align: center;
	padding: 20px 0 0;
	margin: 0;

	a {
		text-decoration: none;
		font-weight: var(--fw-normal);
		color: var(--light-color);
	}

	.crumb-sep {
		margin: 0 8px;
		color: var(--primary-accent);
	}

	.current-crumb-item {
		color: var(--primary-accent);
	}
}

.sitemap-list {
	margin: 1em;
}

/* LEGACY - Use this if you're using contain on the desktop size */
/* .full-width {
	position: relative;
	width: 100vw;
	left: -20px;

@media (width >= 1024px) {
	left: calc(((40px + (50vw - (var(--desktop) / 2)))) * -1);
	left: -40px;
}

@media (width >= 1280px) {
	left: calc(((40px + (50vw - (var(--full) / 2)))) * -1);
}
}

*/
.gallery-columns-0 {

	/* Tablet Styles */
	@media (width >= 768px) {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.gallery-item {

		/* Tablet Styles */
		@media (width >= 768px) {
			width: 48% !important;
		}

		/* Desktop Styles */
		@media (width >= 1024px) {
			width: 32% !important;
		}

		img {
			width: 100%;
			height: auto;
		}
	}
}

/*===============================================
=            Rosemont Content Styles            =
===============================================*/

.rm-content-styles {
	a {
		font-weight: var(--fw-medium);
	}

	h2 {
		&:first-child {
			margin-top: 0;
		}
	}

	p {
		&:first-child {
			margin-top: 0;
		}
	}

}


ul,
ol {
	margin: 2em 40px;

	li {
		list-style-position: outside;
		
	}
	ul,
	ol {
		margin: 0 1em;
	}
}

ul {
	li {
		&::marker {
			color: var(--primary-color);
			/* font-size: 1.5em; */
		}
	}
}
ol {
	li {
		&::marker {
			font-weight: var(--fw-bold);
		}
	}
}

/*=================================================
=            Wordpress Default Gallery            =
=================================================*/

.gallery-size-medium {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

	.gallery-item {
		float: none !important;
		margin-right: 5px;
		margin-left: 5px;
		width: 45% !important;

		/* Tablet Styles */
		@media (width >= 768px) {
			margin-right: 10px;
			margin-left: 10px;
			width: 19% !important;
		}

		img {
			border: none !important;
			width: 100%;
			height: auto;
		}
	}
}

/*=============================================
=            Memberships Shortcode            =
=============================================*/

/* .memberships-sc-wrap {
	list-style: none !important;
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center;
	align-items: center;
	background-color: $lightColor;
	margin: 1em 0 !important;

	li {
		&:before {
			display: none;
		}
	}

	svg {
		height: 80px;
		width: auto;
	}
} */



.memberships-sc-wrap {
	column-gap: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	@media (width >= 768px) {
		column-gap: 50px;
	}
	.each-logo {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 100px;
		padding-bottom: 20px;
		min-width: 180px;
		position: relative;
		@media (width >= 1480px) {
			min-width: 200px;
		}
		&:after {
			content: '';
			position: absolute;
			left: 50%;
			height: 1px;
			width: 55px;
			background-color: var(--light-color);
			transform: translateX(-50%);
			bottom: 0;
		}
	}
	img,
	svg {
		/* max-width: 100%;
		max-height: 100%; */
		height: 132px;
		width: auto;
		@media (width >= 1480px) {
			height: 132px;
		}
	}
	.membership-label {
		font-size: 14px;
		line-height: 1.75em;
		text-align: center;
		text-wrap: balance;
		position: absolute;
		bottom: -10px;
		transform: translateY(100%);
	}
}


/* Membership Carousel */
/* .memberships-sc-wrap {

	margin: 1em 0 !important;



	.memberships-carousel {
		background-color: transparent;
		position: relative;

		.owl-stage {
			display: flex;
			width: 100%;
		}

		.owl-item {
			display: flex;
			justify-content: center;
			width: fit-content;

			svg,
			img {
				display: block;
				height: 100%;
				width: auto;
				margin: 0 auto;
			}
		}
	}

	.owl-nav {
		position: absolute;
		top: 30px;
		width: 100%;
		display: block;

		@media (width >= 768px) {
			top: 35px;
		}


		@media (width >= 1024px) {
			top: 45px;
		}

		.owl-prev {
			display: flex;
			position: absolute;
			left: 0;
			transform: translateY(-50%);

	
			@media (width >= 768px) {
				left: -20px;
			}
		}

		.owl-next {
			display: flex;
			position: absolute;
			right: 0;
			transform: translateY(-50%);

			@media (width >= 768px) {
				right: -20px;
			}
		}

		svg {
			height: 30px;
		}


	}

	.each-logo {
		display: flex;
		height: 60px;
		width: auto;
		max-width: 100%;


		@media (width >= 768px) {
			height: 70px;
		}


		@media (width >= 1024px) {
			height: 90px;
		}

		&:before {
			display: none;
		}
	}

	.carousel-arrow {
		display: flex;
		align-items: center;
		justify-content: center;
	}
} */

.owl-dots {
	display: flex;
	justify-content: center;
	margin-top: 1em;
	column-gap: 16px;


	.owl-dot {
		width: 16px;
		height: 16px;
		background-color: transparent;
		border: 1px solid var(--primary-color);
		border-radius: 50%;

		
		@media (width >= 1024px) {
			width: 16px;
			height: 16px;
		}

		&.active {
			background-color: var(--primary-color);
		}
	}
}

/*==============================================
=            Colors for Sample Page            =
==============================================*/

.sample-page {
	.color-grid {
		display: grid;
		grid-template-columns: 50px auto;
		row-gap: 5px;
	}

	.color {
		width: 40px;
		height: 40px;
	}

	.hex {
		display: flex;
		align-items: center;
	}
}

/*======================================
=            Online Reviews            =
======================================*/

#rmrr-ratingavgs {
	.avg-rating-box {
		font-family: var(--secondary-font);
	}

	.avgratingstarslabel {
		font-family: var(--primary-font);
	}

	.avgratingtitle {
		span {
			font-family: var(--primary-font);
		}
	}
}

#rmrrWidget {
	padding-bottom: 100px;

	#rmrr-tabs {
		li {
			font-family: var(--secondary-font);
			letter-spacing: 0;
			text-transform: none;

			a {
				text-decoration: none;

				span {
					font-family: var(--primary-font);
				}
			}
		}
	}
}

#rmrrWidget-contains-reviews {
	cite {
		.rmrr-review-author {
			font-family: var(--secondary-font);
		}

		.rmrr-review-date {
			font-family: var(--secondary-font);
		}
	}
}

#rmrrWidget-contains-pager-button-container {
	margin-top: 20px;

	button {
		cursor: pointer;
		display: inline-block;
		position: relative;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		font-family: var(--secondary-font);
		background-color: var(--primary-color);
		color: var(--light-color);
		padding: 12px 30px;

		&:hover,
		&:active,
		&:focus {
			background-color: var(--secondary-color);
			color: var(--light-color);
		}

		&.btn-inverse {
			background-color: var(--light-color);
			color: var(--primary-color);

			&:hover,
			&:active,
			&:focus {
				background-color: oklch(from var(--light-color) calc(l - 0.10) c h);
				color: var(--primary-color);
			}
		}

		&.btn-dark {
			background-color: var(--dark-color);

			&:hover,
			&:active,
			&:focus {
				background-color: oklch(from var(--dark-color) calc(l + 0.10) c h);
			}
		}
	}
}

/*===========================
=            404            =
===========================*/

#error_txt {
	padding-top: 100px;
}

/*===============================================
=            Hiding Elfsight Toolbar            =
===============================================*/

.eapps-widget-toolbar {
	display: none !important;
}

/*===================================
=            Inline Bnas            =
===================================*/


.inline-bnas {
  /* border: 3px solid var(--secondary-alt); */
  position: relative;
  margin-top: 100px;
  margin-bottom: 100px;
  
  @media (width >= 768px) {
    display: flex;
    justify-content: center;
  }
  
  .bnacase-imgset {
    padding: 20px 20px 50px 20px;
    margin: 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.12);
    @media (width >= 768px) {
      padding: 30px 30px 50px 30px;
      margin: 30px;
    }
    &:hover,
    &:active,
    &:focus {
      .overlay {
        opacity: 1;
      }
    }

    /* >div {
      &:nth-last-child(2) {
        .label {
          display: block;
        }
      }
    } */

    .overlay {
      /* display: none; */
      display: flex;
      opacity: 0;
      position: absolute;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
      transition: all 0.3s;

      .more-icon {
        width: 130px;
        height: 130px;
        background-color: rgb(from var(--primary-color) r g b / 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .bnacase-imgset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap:10px;
    row-gap: 10px;
		background-color: var(--light-color);
  }

  img {
    margin: 0;
    width: auto;
    height: 100%;
  }

  .before,
  .after {
    position: relative;

    .label {
      font-size: 14px;
      line-height: 1em;
      font-weight: var(--fw-regular);
      text-transform: uppercase;
      color: var(--text-color);
      position: absolute;
      left: 50%;
      bottom: -20px;
      transform: translate(-50%, 100%);
    }
  }
}

.mod-bna-button {
  /* display: block; */
  padding: 20px;
  text-align: center;
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* transform: translateY(50%); */
  /* z-index: 1; */
  /*
  @media (width >= 768px) {
    position: absolute;
    bottom: 0;
  } */
}

.pb-bnas {
  &.inline-bnas {
    padding: 0;
    margin: 0;
    border: none;
  }

  .case-group {
    .bnacase-imgset {
      margin-bottom: 20px;
      column-gap: 2px;
    }
  }
}

.icon-hero {
	.intro-icon {
		max-width: 174px;
	}
	&.icon-grayscale {
		.intro-icon {
			img {
					filter: grayscale();
				}
		}
	}
}

.no-contain {
	@media (width >= 1024px) {
		padding-left: 40px;
		padding-right: 40px;
	}
}

/* Unique additions */

.dr-professional-organizations {
	.memberships-sc-wrap {
		margin-top: 50px;
	}
}