/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700;800;900;1000&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url("../bridge/style.css");

/* font-family: 'Mulish', sans-serif;
font-family: 'Playfair Display', serif; */

/* ------------------- base css ------------------------ */
:root {
	--body-family: 'Mulish', sans-serif;
	--heading-famliy: 'Playfair Display', serif;

	--black-color: #000;
	--white-color: #fff;

	--primary-color: #962C31;
	--secondary-color: #262626;
	--golden-color: #F9D07F;

	--heading-color: var(--primary-color);
	--text-color: #1B1B1B;

	--body-font: 16px;
	--heading-h1: 48px;
	--heading-h2: 32px;
	--heading-h3: 28px;
	--heading-h4: 24px;
	--heading-h5: 22px;
	--heading-h6: 18px;

	--small-text: 15px;
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: none;
	margin: 0;
	padding: 0;
	font-style: normal;
	font-family: var(--body-family);
	font-size: var(--body-font);
	line-height: 1.3;
	color: var(--text-color);
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heading-famliy) !important;
	color: var(--heading-color);
}

a {
	text-decoration: none;
	display: inline-block;
	box-shadow: none;
	outline: none;
	transition: all 0.25s linear;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	color: var(--heading-color);
}

a:hover {
	text-decoration: none;
}

input,
textarea,
select,
button {
	outline: none !important;
	box-shadow: none !important;
	-webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 0.5rem;
	font-family: var(--body-family);
}

h1 {
	font-size: var(--heading-h1);
	font-weight: 900;
}

h2 {
	font-size: var(--heading-h2);
}

h3 {
	font-size: var(--heading-h3);
}

h4 {
	font-size: var(--heading-h4);
}

h5 {
	font-size: var(--heading-h5);
}

h6 {
	font-size: var(--heading-h6);
}

p {
	margin: 0 0 0.5rem;
}

button,
a,
select {
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ================== main css start here ====================== */

.q_logo img {
	max-width: 150px;
	object-fit: contain;
}

nav.main_menu ul li.menu-item a {
	color: var(--black-color);
	font-size: var(--small-text);
	letter-spacing: 0.2px;
}

nav.main_menu ul li.menu-item.current_page_item.active a {
	color: var(--primary-color);
}

nav.main_menu ul li.menu-item a span.menu_text:before {
	content: "";
	height: 2px;
	width: 0;
	position: absolute;
	background: var(--primary-color);
	bottom: -5px;
	left: 0;
	transition: all 0.25s linear;
}

nav.main_menu ul li.menu-item a:hover {
	color: var(--primary-color);
}

nav.main_menu ul li.menu-item a:hover span.menu_text:before {
	width: 100%;
}

nav.main_menu ul li.menu-item.current_page_item.active a span.menu_text:before {
	width: 100%;
	background: var(--primary-color);
}

.side_menu_button a.search_button {
	display: block;
	width: 25px;
	padding: 0;
	margin-left: 35px;
}

.qode-search-slides-from-top-opened .header_top_bottom_holder {
	transform: translateY(0);
}

.qode_search_form {
	opacity: 0;
}

.qode-search-slides-from-top-opened .qode_search_form {
	position: absolute;
	top: 100px;
	opacity: 1;
	height: auto;
	padding: 20px;
	z-index: 0;
}

.qode-search-slides-from-top-opened .sticky .qode_search_form {
	top: 60px;
}

.qode_search_form .container .qode_icon_in_search,
.qode_search_form .container input {
	color: var(--white-color);
	font-size: var(--small-text);
}

.drop_down .narrow .second .inner ul {
	background: var(--primary-color);
	border: 0;
}

.drop_down .narrow .second .inner ul li a {
	color: var(--white-color);
	font-size: 12px;
}

nav.main_menu ul .inner ul span.menu_text {
	display: block;
	position: relative;
}

.drop_down .narrow .second .inner ul li.current_page_item a span.menu_text:before,
.drop_down .narrow .second .inner ul li a:hover span.menu_text:before {
	width: 100%;
	background: var(--white-color);
}

.mobile_menu_button span {
	color: var(--black-color);
	font-size: 22px;
}

nav.mobile_menu {
	position: absolute;
	top: 100px;
	padding: 0 20px;
	max-height: 500px;
	overflow-y: auto;
	box-shadow: 0 2px 20px #ddd;
}

nav.mobile_menu ul li a {
	font-size: 14px;
	font-weight: 500;
}

nav.mobile_menu ul {
	width: 100%;
}

.wpcf7 form.invalid .wpcf7-response-output {
	color: #dc3232;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

/* -------------- home page css --------------- */
.equal-height-column .elementor-widget-wrap .elementor-element,
.equal-height-column .elementor-widget-wrap .elementor-element .elementor-widget-container {
	height: 100%;
}

.equal-height-column .elementor-widget-wrap .elementor-element img {
	height: 100%;
	object-fit: cover;
}

/* footer css */
.footer_top .widget_nav_menu li.menu-item a {
	color: var(--white-color);
	font-size: 14px;
	font-weight: 400;
	position: relative;
	display: inline-block;
}

.footer_top .widget_nav_menu li.menu-item a::before {
	content: "";
	height: 1px;
	width: 0;
	background: var(--golden-color);
	position: absolute;
	bottom: -3px;
	left: 0;
	transition: all 0.25s linear;
}

.footer_top .widget_nav_menu li.menu-item a:hover::before {
	width: 100%;
}

.footer_top .widget_nav_menu li.menu-item a:hover {
	color: var(--golden-color) !important;
}

.footer_top .textwidget a,
.footer_top .textwidget p,
.footer_bottom {
	font-size: 14px;
	color: var(--white-color);
	font-weight: 300;
}

.footer_top .textwidget p {
	margin-bottom: 1rem;
	line-height: 1.5;
}

footer .column1 .widget_media_image {
	margin-bottom: 1.5rem;
}

.footer_top .column_inner h5 {
	display: none;
}

footer .column1 .widget_media_image img {
	max-width: 160px !important;
	object-fit: contain;
}

.footer_top .widget.widget_nav_menu li {
	padding-bottom: 12px;
}

a#back_to_top span {
	background: var(--primary-color);
	border-radius: 100%;
	border-color: var(--primary-color);
}

a#back_to_top span i {
	color: var(--white-color);
	line-height: 1;
}

#back_to_top:hover>span i {
	color: var(--primary-color);
}


/* flip box css */
.our_product-column .elementor-widget-wrap {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	perspective: 1000px;
}

.front,
.back {
	-webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	-o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	text-align: center;
	min-height: 100%;
	height: auto;
	color: var(--white-color);
	font-size: var(--small-text);
}

.back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	height: 100%;
}

.our_product-column .elementor-widget-wrap:hover .front,
.our_product-column .elementor-widget-wrap:hover .back {
	-webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	-o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.our_product-column .elementor-widget-wrap .back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.our_product-column .elementor-widget-wrap .front {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	line-height: 0;
	margin: 0;
}

.our_product-column .elementor-widget-wrap:hover .back {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.our_product-column .elementor-widget-wrap:hover .front {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.our_product-column .elementor-widget-wrap .front img {
	height: 100%;
}

.our_product-column .elementor-widget-wrap .front .caption {
	text-transform: none;
	font-size: var(--heading-h5);
	border-bottom: 1px solid var(--white-color);
	padding-bottom: 5px;
	display: inline-block;
}

.our_product-column .elementor-widget-wrap .front .text {
	top: auto;
	height: auto;
	min-height: 100px;
	bottom: 0;
}

.our_product-column .elementor-widget-wrap .front .shader {
	display: none;
}

.back .elementor-widget-container {
	height: 100%;
	width: 100%;
	background: var(--primary-color);
	padding: 15px;
	line-height: 1.5;
	min-height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-wrap: wrap;
}

.home-banner img {
	width: 100% !important;
	height: auto !important;
	max-height: calc(100vh - 100px);
	object-fit: cover;
}

@media screen and (max-width: 1199px) {
	nav.main_menu ul li.menu-item a {
		padding: 0 10px;
		font-size: 14px;
	}
}

@media screen and (max-width: 1024px) {
	.about_mobile_section {
		background: #ffffffd4;
		padding: 20px 15px;
	}

	.about_mobile_section_logo {
		margin: 0 !important;
	}

	.about_mobile_section_logo .elementor-widget-container {
		padding: 20px 15px;
		background: #ffffffd4;
		max-width: 450px;
		text-align: center;
	}
}

@media screen and (max-width: 767px) {
	.our_product-column .elementor-widget-wrap .back {
		transform: none;
		position: relative;
		top: auto;
		bottom: 0;
		padding: 0;
		height: auto;
	}

	.front,
	.back {
		min-height: auto;
		transform: none !important;
	}

	.our_product-column .elementor-widget-wrap .front .caption {
		opacity: 1;
	}

	.footer_top {
		padding: 70px 0 0;
	}

	.footer_top .widget.widget_nav_menu li {
		padding-bottom: 8px;
	}

	.about_mobile_section_logo .elementor-widget-container {
		max-width: 100%;
	}

	.about_mobile_section_logo .elementor-widget-container img {
		width: 100%;
	}
}