/***********************************
* BASE
**********************************/

.title-bg-updated {
  background-color: #FDDD03;
  color: #000;
  font-weight: bold;
  padding: 0.05em 0.25em;
  display: inline;
  white-space: nowrap;
  border-radius: 2px;
  line-height: 1;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.elementor-heading-title .title-bg::after {
	background: #FDDD03;
	color: #000000;
	border-radius: 4px;
	padding: 10px;
	content: '';
	width: 105%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	left: 50%;
	height: 100%;
	z-index: 0;
	margin-top: 5px;
}
.elementor-heading-title .title-bg {
	position: relative;
	color: #000;
	z-index: 99;
	margin: 0 5px;
	display: inline-block;
}
.elementor-heading-title .title-bg span {
	position: relative;
	z-index: 1;
}
/***********************************
* Divorce Record
**********************************/ 
.divorce-cards-grid {
	grid-template-columns: repeat(3, 1fr);
	display: grid;
	gap: 40px;
}
.divorce-card {
	background: #232323;
	border-radius: 16px;
	padding: 38px;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
.divorce-card:hover {
	background: #0045FF;
}
.card-number {
	font-size: 106px;
	color: #383838;
	line-height: 110px;
	text-align: right;
	transition: all 0.3s ease-in-out;
}
.divorce-card:hover .card-number{
	color: #007BE5;
}
.card-title {
	font-size: 40px;
	font-weight: 800;
	line-height: 44px;
	max-width: 290px;
	margin-bottom: 20px;
}
.divorce-card-mobile {
	padding: 60px;
	border-radius: 16px;
	background: #0045FF;
	display: flex;
	flex-direction: column;
}
.divorce-card-mobile .card-number {
	font-size: 100px;
	line-height: 1.25em;
	color: #007BE5;
	font-weight: 700;
	text-align: left;
}
.divorce-card-mobile .card-title {
	max-width: 100%;
	font-size: 35px;
	line-height: 1.25em;
}
.card-content {
	font-size: 20px;
	line-height: 1.25em;
}
/***********************************
* DIVORCE RECORD POPUP
**********************************/
.popup-container {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all .200s linear;
	z-index: -1;
}
.popup-container {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .200s linear;
	z-index: -9;
}
.popup-container.popup-visible {
	opacity: 1;
	visibility: visible;
	z-index: 9999;
}
.popup-content {
	width: 95%;
	max-width: 1064px;
	background: #0045FF;
	padding: 60px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	visibility: hidden;
	transition: all .2s linear;
	overflow-y: auto;
	border-radius: 16px;
	display: flex;
	gap: 40px;
}
.popup-content.popup-content-visible {
	opacity: 1;
	visibility: visible;
}
.popup-card-number {
	font-size: 150px;
	color: #007BE5;
	line-height: 145px;
}
.popup-content h3 {
	margin-bottom: 25px;
	font-size: 55px !important;
	max-width: 600px;
}
.contactus-popup-container .contactus-popup-content h3 {
	margin-bottom: 15px;
}
.popup-close {
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer; 
	width: 30px;
}

@media screen and (max-width: 1024px) {
	.divorce-cards-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.divorce-cards-grid {
		grid-template-columns: 1fr;
	}
	.popup-content {
		flex-direction: column;
		gap: 0;
	}
	.popup-content h3 {
		font-size: 40px !important;
		line-height: 1.25em !important;
	}
	.popup-card-number {
		font-size: 100px;
		line-height: 105px;
	}
	.divorce-card-mobile {
		padding: 60px 30px !important;
	}
	.divorce-card-mobile .card-number {
		font-size: 80px;
	}
	.divorce-card-mobile .card-title {
		font-size: 30px;
	}
	.card-content {
		font-size: 16px;
	}
}
/***********************************
* POP UP VIDEO
**********************************/ 
#sm-popup-video, .sm-popup-video-play {
	cursor: pointer;
}

#sm-popup-video-container
{
	display:none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: #ffffff90;
	top: 0;
}

#sm-popup-video-inner
{
	display:block;
	margin: auto;
	width: 870px;
	margin-top: 10%;
	border:10px solid #B0575C;
	position:relative;
}

#sm-popup-video-close
{
	color: #fff;
	background: #B0575C;
	font-size: 16px;
	display: block;
	width: 25px;
	height: 25px;
	line-height: 20px;
	text-align: center;
	border-radius: 50%;
	border: 0px solid #000;
	position: absolute;
	right: -24px;
	top: -24px;
	padding: 2px;
	font-weight: 600;
}

#sm-popup-video-close i::before
{
	font-size: 20px;
	padding: 5px;
	line-height: 21px;
}

/***********************************
* COPY TIP
**********************************/ 
#copytip {
	color: #fff;
	background-color: #161616;
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 13px;
	padding: 5px 15px;
	border-radius: 15px;
	opacity: 0;
	transition: all .5s;
}

#copytip.show {
	opacity: 1;
	top: -26px;
}

/***********************************
* STICKY HEADER EFFECT
**********************************/ 
#sm-home-sticky-header, #sm-page-sticky-header {
	top: 0;
}
#home-header-wapper img, #page-header-wapper img {
	transition: all .5s ease-in;
}
#home-header-wapper.scrolled, #page-header-wapper.scrolled {
	transition: all .5s ease-in;
	height:0px;
	overflow: hidden;
}
#home-header-wapper.scrolled-up, #home-header-wapper.scrolled-up-retainer {
	position: fixed;
	background: #000;
	z-index: 99999;
	height:156px;
	transition: all .5s ease-out;
	opacity: 1;
	overflow: hidden;
}
#page-header-wapper.scrolled-up, #page-header-wapper.scrolled-up-retainer {
	position: fixed;
	z-index: 99999;
	box-shadow: 0 1px 8px #00000050;
	height:156px;
	transition: all .5s ease-out;
	opacity: 1;
	/* 	overflow: hidden; */
}
#home-header-wapper.scrolled-down, #page-header-wapper.scrolled-down {
	transition: all .5s ease-in;
	height:0px;
	overflow: hidden;
}

#page-header-wapper.scrolled img, #page-header-wapper.scrolled-up-retainer img {
	max-width: 90px;
}