/* custom modal */
body.fixed {
	position: fixed;
	width: 100%;
}

.custom-modal {
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 99999;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .88);
	text-align: center;
	font-size: 16px;
	font-family: 'Montserrat';
	overflow-y: auto;
}

.custom-modal img {
	max-width: 100%;
	height: auto;
}

.custom-modal .modal-dialog {
	padding: 2rem 1rem;
}

.custom-modal .modal-content {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
	background-color: #fff;
}

.custom-modal .sub-title {
	font-size: 20px;
	color: #000;
	position: relative;
	display: inline-block;
	padding: 0 1rem;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.custom-modal .sub-title:before,
.custom-modal .sub-title:after {
	content: '';
	position:absolute;
	top: 50%;
	transform: translatey(-50%);
	width: 115px;
		height: 1px;	
background: -moz-linear-gradient(left,  rgba(0,0,0,0.79) 0%, rgba(255,255,255,0.21) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(0,0,0,0.79) 0%,rgba(255,255,255,0.21) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(0,0,0,0.79) 0%,rgba(255,255,255,0.21) 100%);


}
.custom-modal .sub-title:before  {
	right: 100%;
	transform: rotate(180deg) translatey(-50%);
}
.custom-modal .sub-title:after {
	left: 100%;
}
.custom-modal .title {
	font-size: 25px;
	color: #C7451C;
	margin-bottom: 10px;
	font-family: 'Montserrat';
	font-weight: 700;
	color: #C7451C;
	}

.custom-modal .phone {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #C7451C;
	margin-bottom: 28px;
	text-decoration: none;
	transition:ease .5s;
}
.custom-modal .phone:hover {
	color: #ed9635;
}

.custom-modal .modal-body__content {
	padding: 30px 15px; 
	position: relative;
	overflow: hidden;
}


.custom-modal .close {
	    position: absolute;
    top: -1rem;
    right: -1rem;
    border-radius: 50% !important;
    padding: 0;
    margin: 0;
    height: 28px;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 23px;
	background-color: #D8D8D8;
	border: none;
	color: #fff;
}

.custom-modal .close:hover {
	background-color: #ed9635;
}
.custom-modal .btn {
	font-weight: 700;
}


.custom-modal--alt .modal-content {
	max-width: 1178px;
}

.custom-modal--alt .sub-title {
	font-family: 'Open Sans';
	padding: 0;
}

.custom-modal--alt .sub-title:before {
	display: none;
}

.custom-modal--alt .sub-title:after {
	background: none;
	background-color: rgba(237, 150, 53, .13);
	display: inline-block;	
	width: 100%;
	height: 17px;
	left: 0;
	top: 1.4rem;
}

.custom-modal--alt .title {
	color: #393536;
}




@media (min-width: 768px) {
	.custom-modal .title {
		font-size: 35px;
		margin-bottom: 30px;
	}
	.custom-modal .sub-title {
		font-size: 25px;
		margin-bottom: 20px;
	}
	.custom-modal .phone {
		font-size: 27px;
	}
	.custom-modal--alt .title {
		font-size: 30px;
	}
}

@media (min-width: 992px) {
		.modal-body .row {
	display: flex;
		align-items: center;
}
	
.modal-body .row .modal-body__media {
	max-width: 43%;
	flex-basis: 43%;
	margin-bottom: -1px;
}
	

	
.modal-body .row .modal-body__content {
	max-width: calc(100% - 43%);
	flex-basis: calc(100% - 43%);
}
	

	
	.custom-modal--alt {
		align-items: center;
	}
	
}


@media (min-width: 1200px) {
	.custom-modal {
		font-size: 30px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.custom-modal .title {
		font-size: 55px;
		margin-bottom: 40px;
	}
	.custom-modal .sub-title {
		margin-bottom: 30px;
	}
	.modal-body__content {
	padding: 40px 40px 56px; 
}
	.custom-modal .phone {
		margin: 28px 0;
	}
	
	.custom-modal--alt .title {
		font-size: 37px;
	}
.custom-modal .btn {
	font-size:20px;
	padding: 1rem 30px;
}
	.custom-modal--alt .custom-modal .btn {
	font-size:19px;
}
	
	.custom-modal--alt	.modal-body__content {
		padding: 25px 90px;
	}

	
}

.d-none{
display:none;
}
@media only screen and (max-width: 768px) {
  .ss-exit-modal.custom-modal {
    display: none !important;
  }

  body {
    position: relative!important;
  }
}