/*
licensed under the GPL.
*/
/* 
    Created on : Dec 19, 2022, 10:52:21 PM
    Author     : rahap
*/
/* Hero Section Styles */
/**********************************
hero section
**********************************/

input:-internal-autofill-selected {
	background-image: none !important;
	background-color: #bf1e0d !important;
	color: white !important;
}

#pick-repair {
	height: fit-content;
	position: relative;
	border-bottom: 4px solid var(--secondary);
}

.border-divider {
	border-bottom: 4px solid var(--secondary);
}

.intro-carousel .intro-item .col-4 {
	height: 200px;
}

.device-list img {
	max-height: 5.5rem;
}

.repair-imgs a {
	padding: .4rem 2.5rem;
}

/**********************************
END hero section
**********************************/
/* Services Section Styles */
#services {
	padding: 80px 0;
	background-color: #f8f9fa;
}

#services h2 {
	font-size: 36px;
	color: #292b2c;
	text-align: center;
	margin-bottom: 30px;
}

#services .service-item {
	text-align: center;
}

#services .service-icon {
	font-size: 48px;
	color: #f8a91e;
}

#services .service-title {
	font-size: 24px;
	color: #292b2c;
	margin-top: 20px;
	margin-bottom: 10px;
}

#services .service-desc {
	font-size: 16px;
	color: #6c757d;
}

/* Products Section Styles */
#products {
	padding: 80px 0;
}

#products h2 {
	font-size: 36px;
	color: #292b2c;
	text-align: center;
	margin-bottom: 30px;
}

#products .product-item {
	text-align: center;
}

#products .product-img {
	max-width: 100%;
	height: auto;
}

#products .product-title {
	font-size: 24px;
	color: #292b2c;
	margin-top: 20px;
	margin-bottom: 10px;
}

#products .product-desc {
	font-size: 16px;
	color: #6c757d;
}

#about img {
	max-height: 325px;
	width: auto;
}

/* About Section Styles */
#about {
	padding: 80px 0;
}

#about h2 {
	font-size: 36px;
	color: #292b2c;
	text-align: center;
	margin-bottom: 30px;
}


@media (min-width: 768px) and (max-width: 991px) {
	#hero h1 {
		font-size: 40px;
	}
}

.device-list .border:hover {
	border: 1px solid black !important;
	transition: border-color .5s ease-in-out;
	cursor: pointer;
}

.device-list img {
	max-height: 5.5rem;
}

.text-center,
.device-list-label {
	text-align: center;
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-posts .post-box {
	transition: 0.3s;
	height: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}

.recent-posts .post-box .post-img {
	overflow: hidden;
	position: relative;
}

.recent-posts .post-box .post-img img {
	transition: 0.5s;
}

.recent-posts .post-box .meta {
	margin-top: 15px;
}

.recent-posts .post-box .meta .post-date {
	font-size: 15px;
	font-weight: 400;
	margin-top: 0px;
	color: var(--color-primary);
}

.recent-posts .post-box .meta .post-date svg,
.recent-posts .post-box .meta .post-author svg {
	color: var(--secondary);
}

.recent-posts .post-box .meta .post-author {
	font-size: 15px;
	font-weight: 400;
	margin-top: 0px;
	color: var(--color-secondary);
}

.recent-posts .post-box .post-title {
	font-size: 18px;
	color: var(--color-secondary);
	font-weight: 700;
	position: relative;
	transition: 0.3s;
}

.recent-posts .post-box p {
	color: rgba(27, 47, 69, 0.7);
}

.recent-posts .post-box .readmore .bi:after,
.recent-posts .post-box .readmore {
	color: var(--secondary);
}

.recent-posts .post-box .readmore .bi:hover:after,
.recent-posts .post-box .readmore:hover {
	color: var(--secondary-hover);
}

.recent-posts .post-box .readmore {
	display: flex;
	align-items: center;
	font-weight: 600;
	line-height: 1;
	transition: 0.3s;
	margin-top: 15px;
}

.recent-posts .post-box .readmore i {
	line-height: 0;
	margin-left: 4px;
	font-size: 18px;
}

.recent-posts .post-box:hover .post-title {
	color: var(--color-primary);
}

.recent-posts .post-box:hover .post-img img {
	transform: scale(1.1);
}

.owl-carousel .owl-item img {
	width: 336px;
	max-width: 336px;
	height: auto;
	align-self: center;
}

.owl-carousel .meta {
	height: 70px;
}

.owl-carousel .excerpt {
	height: 125px;
	margin-bottom: 0px;
}

.owl-carousel .post-title {
	min-height: 50px;
}

.owl-carousel .post-img {
	height: 300px;
	display: inline-flex;
}

.recent-posts .post-box a {
	color: var(--color-default);
}

/*--------------------------------------------------------------
# Repair image overlay Section
--------------------------------------------------------------*/
#repair-ovelay .btn {
	max-width: 150px;
}

#repair-ovelay {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	z-index: 0;
	position: relative;
}

.bg-img {
	width: 100%;
	height: 100%;
	z-index: 2;
	position: absolute;
	display: block;
}

.bg-img:after {
	background-position: center center;
	background-size: cover;
	z-index: auto;
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.repair-imgs {
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
	flex-basis: 50%;
	z-index: 0;
	justify-content: center;
	padding-right: 10.5px;
	padding-left: 10.5px;
	position: relative;
	background-color: transparent;
	position: relative;
	/* establish positioning context for overlay */
	width: 50%;
	min-height: 300px;
	overflow: hidden;
	/* clip any overflow from absolute children */
}

/* Background Image */
.bg-image {
	background-size: contain;
	/* scale to fill, cropping if necessary */
	background-position: center;
	/* center the focal point */
	width: 100%;
	height: 100%;
	/* fill its wrapper fully */
	position: absolute;
	/* sit beneath overlay */
	top: 0;
	left: 0;
	z-index: 1;
}

#repair-ovelay .bg-image {
	background-size: cover;
	background-position: center;
	min-height: 300px;
	position: relative;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	/* Dark grey overlay */
	z-index: 2;
}

#repair-ovelay .text-container {
	position: absolute;
	bottom: 80px;
	/* Adjust this value as needed */
	width: 100%;
	z-index: 3;
}

@media (max-width: 767.98px) {
	#repair-ovelay .text-container {
		bottom: -125px;
		text-align: right;
	}
        #repair-ovelay .btn:hover{
            background-color: #6c757d !important;
            color:white!important;
        }
	.text-end .btn {
		right: 0;
		position: relative;
		display: inline;
	}

	.text-start .btn {
		left: 0;
		position: relative;
		display: inline;
	}

	.repair-imgs {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		flex-basis: 510%;
		z-index: 0;
		padding-top: 1em;
		padding-bottom: 7em;
		/* clip any overflow from absolute children */
	}

	#repair-ovelay .btn {
		text-align: right;
		width: auto;
	}
}

/*--------------------------------------------------------------
# Repair bg Section
--------------------------------------------------------------*/
.bg-image-screen {
	background-image: url('/wp-content/themes/salvation_repair/images/screen-repair-header.jpg');
	height: 300px;
	width: 100%;
}

.bg-image-battery {
	background-image: url('/wp-content/themes/salvation_repair/images/bg-img/battery_repair_nearby_laurel_ms.webp');
	height: 300px;
	width: 100%;
}

.bg-image-charging {
	background-image: url('/wp-content/themes/salvation_repair/images/bg-img/charging_port_repair_nearby_laurel_ms.webp');
	height: 300px;
	width: 100%;
}

.bg-image-diagnostics {
	background-image: url('/wp-content/themes/salvation_repair/images/device-diagnostics-header.webp');
	height: 300px;
	width: 100%;
}

/*--------------------------------------------------------------
# Contact Us Section
--------------------------------------------------------------*/

.bg-red {
	background-color: var(--red) !important;
}

.error {
	color: var(--red);
}

#contact {
	width: 100%;
	position: relative;
	padding: 120px 0;
}

#contact .form-floating>.form-control:focus~label::after {
	background-color: transparent !important;
}

#contact .form.is-red .form-control,
.form.is-red .form-control:hover,
.form.is-red .form-control:active {
	background-color: #bf1e0d;
	border-color: transparent !important;
	color: #fff;
}

#contact .callback-form .form-control {
	height: 3.5rem;
	line-height: 3.5rem;
}

#contact textarea.form-control {
	min-height: 13rem;
	overflow: hidden;
}

.bg-red {
	background-color: var(--red) !important;
}

#contact .form-control:active label::after,
.form-control:focus label::after,
.form-control:active label,
.form-control:focus label #contact .form-floating .label-top::after,
#contact .form-floating .label-top:hover::after,
#contact .form-floating .label-top:active::after,
#contact .form-floating .label-top:focus::after,
#contact .form-floating .label-top:visited::after {
	background-color: transparent !important;
}

#contact .form-floating>.form-control-plaintext~label::after,
#contact .form-floating>.form-control:focus~label::after,
#contact .form-floating>.form-control:not(:placeholder-shown)~label::after,
#contact .form-floating>.form-select~label::after {
	background-color: transparent !important;
}

#contact .form-control:active,
#contact .form-control:focus {
	background-clip: padding-box;
	border: 1px solid transparent !important;
}

#contact .form-control:hover,
#contact .form-control:focus,
#contact .form-control:active {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 3.5rem;
	color: var(--black);
	background-color: transparent;
	background-clip: padding-box;
	border: 1px solid var(--secondary) !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0.375rem;
	box-shadow: .5em .5em .5em .5em transparent;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#contact .callback-form.is-vert .form-group .control-label-float {
	position: absolute;
	top: 12px !important;
	left: 25px;
	pointer-events: none;
	transition: all .2s ease;
	font-size: 20px;
}

.form.is-red .control-label-float {
	color: #fff;
}

#contact .form .control-label-float {
	position: absolute;
	color: #605f5d;
	top: 1px !important;
	left: 6px;
	font-size: .9rem;
	pointer-events: none;
}

label {
	display: inline-block;
	margin-bottom: 0.5rem;
}

.form.is-red .invalid-feedback {
	color: #fff;
}

.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: 0.25rem;
	font-size: 80%;
	color: #d73827;
}

.btn:not(:disabled):not(.disabled) {
	cursor: pointer;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
	cursor: pointer;
}

@media (max-width: 991.98px) {
	#contact_us_btn {
		display: block;
		width: 100% !important;
	}
}

.btn-rounded,
.btn-rounded::after,
.btn-rounded::before {
	border-radius: 10rem !important;
}

.btn-danger-lite:before,
.btn-red-lite:before {
	border-color: #bf1e0d;
}

.btn-danger-lite:after,
.btn-red-lite:after {
	border-color: #9c1e11;
}

#contact .btn {
	text-align: center;
	vertical-align: middle;
	user-select: none;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#contact .form-floating>.form-control:active~label,
.form-floating>.form-control:focus~label {
	transform: scale(.85) translateY(-2.5rem) translateX(0.15rem) !important;
	transform-origin: -2.5rem 0.15rem !important;
	transition: transform .1s ease-in-out;
}

input:-internal-autofill-selected {
	appearance: menulist-button;
	background-image: none !important;
	background-color: -internal-light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
	color: fieldtext !important;
}

.is-red input:hover,
.is-red input:active,
.is-red input:focus {
	border: none !important;
	outline: none !important;
	border-color: transparent !important;
	box-shadow: 0 0 0 transparent !important;
}

#contact .form-floating>.form-control:autofill~label {
	transform: scale(.85) translateY(-2.5rem) translateX(0.15rem) !important;
	transform-origin: -2.5rem 0.15rem !important;
	transition: transform .1s ease-in-out;
}

#contact .form-floating>.form-control:-webkit-autofill~label {
	opacity: .65;
	transform: scale(.85) translateY(-2.5rem) translateX(0.15rem) !important;
}

#contact .form-floating>.form-control:-webkit-autofill {
	border-color: black !important;
}

#contact .form-floating>.form-control:autofill {

	border-color: black !important;
}

.link-white {
	color: white;
	font-weight: bold;
	border-bottom: 1px solid #EEE;
	font-size: calc(1rem + 1vw);
	line-height: 1.2;
	transition: all .5s ease-in-out;
}

.link-white:hover {
	color: whitesmoke;
}

@media (min-width: 768px) {
	.device-list figure {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 768px) {
	.device-list figure {
		display: flex;
		align-items: center;
	}

	.device-list figcaption {
		font-size: 120%;
		font-weight: 500;
	}

	.device-list .d-grid {
		display: flex !important;
		justify-content: center;
	}

	.device-list-label {
		text-align: left;
		width: auto;
	}
}

iframe {
	overflow-clip-margin: content-box !important;
	overflow: clip !important;
	border-width: 2px;
	border-style: inset;
	border-color: initial;
	border-image: initial;
	max-width: 100%;
}

.advert {
	align-items: center;
}