/* header */
.module-header.style-8 {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
	padding: 35px 0; }
.module-header.style-8 .ry-left {
	width: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center; }
.module-header.style-8 .ry-left img {
	max-width: 220px;
	width: 100%; }
@media (max-width: 1024px) {
	.module-header.style-8 .ry-left img {
		width: 150px; } }
.module-header.style-8 .ry-right {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	padding: 0;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	max-width: 1000px; }
.module-header.style-8 .ry-right .ry-leads {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 0;
	max-width: 1000px;
	float: right;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget {
	margin-right: 20px;
	width: 280px; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control {
	height: 72px;
	background-color: transparent;
	border: 1px solid rgba(191, 191, 191, 0.4);
	border-right: none !important;
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 16px 28px;
	color: #ffffff;
	letter-spacing: 1px;
	text-decoration: none;
	display: block;
	font-weight: 500; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::-webkit-input-placeholder {
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s;
	color: #ffffff !important;
	letter-spacing: 1px;
	text-decoration: none;
	display: block;
	font-weight: 500;
	opacity: 1; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control:-ms-input-placeholder {
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s;
	color: #ffffff !important;
	letter-spacing: 1px;
	text-decoration: none;
	display: block;
	font-weight: 500;
	opacity: 1; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::-ms-input-placeholder {
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s;
	color: #ffffff !important;
	letter-spacing: 1px;
	text-decoration: none;
	display: block;
	font-weight: 500;
	opacity: 1; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::placeholder {
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s;
	color: #ffffff !important;
	letter-spacing: 1px;
	text-decoration: none;
	display: block;
	font-weight: 500;
	opacity: 1; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus {
	color: #ffffff; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus:-ms-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-ms-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder {
	opacity: 0.3;
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-webkit-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus:-ms-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::-ms-input-placeholder, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control::focus::placeholder {
	opacity: 0.3;
	-webkit-transition: opacity ease 0.3s;
	transition: opacity ease 0.3s; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary {
	height: 72px;
	background-color: transparent !important;
	border: 1px solid rgba(191, 191, 191, 0.4);
	border-left: 0 !important;
	position: relative;
	left: 1px;
	padding: 16px 26px !important;
	border-radius: 0 !important; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:before, .module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:after {
	display: none !important; }
.module-header.style-8 .ry-right .ry-leads .search-bar-widget .btn-primary:hover {
	background-color: transparent; }
@media (max-width: 1160px) {
	.module-header.style-8 .ry-right .ry-leads .search-bar-widget {
		width: 220px; }
	.module-header.style-8 .ry-right .ry-leads .search-bar-widget .form-control {
		padding: 16px 0 16px 15px; } }
.module-header.style-8 .ry-right .ry-leads .ry-contact {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	min-width: 450px; }
@media (max-width: 1160px) {
	.module-header.style-8 .ry-right .ry-leads .ry-contact {
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
		min-width: 400px; } }
.module-header.style-8 .ry-right .ry-leads .ry-contact li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	width: 225px;
	position: relative;
	overflow: hidden;
	cursor: pointer; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:hover .contact__overlay {
	-webkit-transform: scale(15);
	transform: scale(15); }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:hover span {
	color: #333333; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__overlay {
	position: absolute;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	top: 22px;
	left: 20px;
	z-index: -1;
	-webkit-transition: -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
	transition: -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
	transition: transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
	transition: transform 1.6s cubic-bezier(0.24, 1, 0.3, 1), -webkit-transform 1.6s cubic-bezier(0.24, 1, 0.3, 1);
	-webkit-transform: scale(0);
	transform: scale(0); }
.module-header.style-8 .ry-right .ry-leads .ry-contact li span.call_us, .module-header.style-8 .ry-right .ry-leads .ry-contact li a {
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
	font-weight: 600;
	font-size: calc(15px + 0 * ( (100vw - 500px) / 1100));
	line-height: 19px !important; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(1) a {
	color: #ffffff;
	letter-spacing: 2px;
	text-decoration: none;
	display: block; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(1):hover span {
	color: #ffffff !important; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) {
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2):hover span {
	color: #ffffff !important; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2):hover .contact__overlay {
	-webkit-transform: scale(0);
	transform: scale(0); }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) .contact__overlay {
	-webkit-transform: scale(15);
	transform: scale(15);
	left: 25px; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) span.call_us, .module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) a {
	color: #333333;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	max-width: 137px;
	line-height: 18px !important;
	text-decoration: none;
	text-align: left;
	font-size: calc(14px + 0 * ( (100vw - 500px) / 1100)); }
.module-header.style-8 .ry-right .ry-leads .ry-contact li:nth-child(2) fa {
	position: relative;
	left: 1px; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon {
	min-width: 45px; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon .icon__wrap {
	width: 35px;
	height: 35px;
	display: block;
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 50%; }
.module-header.style-8 .ry-right .ry-leads .ry-contact li .contact__icon .fa {
	color: #ffffff;
	font-size: 13px; }
@media (max-width: 1160px) {
	.module-header.style-8 .ry-right .ry-leads .ry-contact li {
		width: 200px; } }
.module-header.style-8 .ry-right .ry-menu {
	width: 100%; }
.module-header.style-8 .ry-right .ry-menu .nav-menu {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	position: relative;
	top: 30px;
	max-width: 1024px;
	float: right; }
.module-header.style-8 .ry-right .ry-menu .nav-menu li {
	list-style-type: none; }
.module-header.style-8 .ry-right .ry-menu .nav-menu li a {
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 1px;
	text-decoration: none;
	font-size: calc(16px + 1 * ( (100vw - 500px) / 1100));
	padding-bottom: 18px !important;
	display: block; }
@media screen and (min-width: 992px) and (max-width: 1199px) {
	.module-header.style-8 .ry-right .ry-menu .nav-menu li a {
		font-size: 14px; } }
.module-header.style-8 .ry-right .ry-menu .nav-menu li:hover .dropdown-menu {
	opacity: 1 !important;
	visibility: visible !important;
	-webkit-transition: all ease 0.4s;
	transition: all ease 0.4s;
	padding: 0;
	top: 44px; }

/*The following added for opening the menu from left for the last children */
/* START */
.module-header.style-8 .ry-right .ry-menu .nav-menu li:last-child:hover .dropdown-menu:last-child {
    left: unset;
    right: 0;
}
/* END */

.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu {
	display: block;
	opacity: 0;
	visibility: hidden;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	border: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 30px 10px;
	margin-top: 2px;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.03);
	box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.03);
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s; }
.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	/*
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
	*/
	position: relative; }
.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li a {
	width: 100% !important;
	padding: 4px 30px !important;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-transition: all ease 0.3s;
	transition: all ease 0.3s;
	text-transform: uppercase;
	line-height: 24px !important;
	font-size: calc(13px + 1 * ( (100vw - 500px) / 1100)); 
	color: #111111 !important;
}
.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li a:after{
background:trasparent;}
.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li a:hover {
	opacity: 0.6; }
.module-header.style-8 .ry-right .ry-menu .nav-menu li .dropdown-menu li:hover a {
	background: transparent; }
body.default .module-header.style-8 {
	position: relative; }
body.default .module-header.style-8.fixed {
	position: fixed; }
@media (max-width: 1024px) {
	.module-header.style-8 {
		padding: 30px 40px 30px 0; } }
.module-header.style-8.style2 .ry-right .ry-leads .ry-contact li:nth-child(2) span.call_us {
	color: #fff; }
.module-header.style-8.style2 .ry-right .ry-menu .nav-menu li .dropdown-menu li:hover a {
	background: transparent; }

/* HEADER */
.module-header.style-8 {
	padding-top: 0 !important;
	padding-bottom: 0;
	position: relative;
	background: #fff !important;
	background-size: contain;
	background-position: center;
	background-repeat: repeat;
}
.module-header.style-8 .text-banner {
	padding: 10px 0;
	background: #f3e5c2;
	transition: .2s;
}
.module-header.style-8.fixed .text-banner a {
    visibility: hidden;
    transition: .2s;
}
.module-header.style-8 .text-banner .text-wrapper a {
	font-size: 13px !important;
	line-height: 1 !important;
	text-transform: uppercase;
	color: #242424;;
	letter-spacing: 1px;
	font-weight: 500;
	display: inline-block;
	position: relative;
	padding-left: 18px;
}
.module-header.style-8 .text-banner .text-wrapper a:before {
    content: "\f130";
    position: absolute;
    left: 0;
    top: -2px;
    bottom: 0;
    font-size: 16px;
    font-family: 'FontAwesome';
    margin: auto;
}
.module-header.style-8 .ry-container .ry-left {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
	top: 50%;
}
.module-header.style-8 .ry-container .ry-left img {
	max-width: 250px;
	transition: .2s;
	height: 180px;
}
.module-header.style-8 .ry-container .ry-right {
	max-width: 100%;
	margin: 40px 0;
}
.module-header.style-8 .ry-container .ry-right .ry-leads-v2 {
	padding: 0;
	transition: .2s;
}
.module-header.style-8 .ry-contact-v2 {
	display: flex;
	justify-content: space-between;
}
.module-header.style-8 .ry-btn {
	height: 50px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	align-items: center !important;
	display: flex !important;
}
.module-header.style-8 .ry-btn svg {
    display: none;
}
.module-header.style-8 .ry-btn svg {
	width: 18px;
	margin-right: 10px;
	fill: #242424;
}
.module-header.style-8 .menu-wrapper.new {
	display: flex;
	justify-content: center;
	/*border-top: 1px solid #FFFFFF;*/
	/*background: linear-gradient(45deg, #d04751, #f3e5c2);*/
	background: #d04751;
}
.module-header.style-8 .menu-wrapper.new .ry-right {
	max-width: 100%;
	/* border-top: 1px solid #ccc; */
	max-width: 1600px;
	width: 90%;
}
/* IF the MOCKUP need container
.module-header.style-8 .menu-wrapper.new .ry-right .ry-menu {
max-width: 1000px;
}
*/
.module-header.style-8 .menu-wrapper.new .ry-right .nav-menu {
	max-width: 100%;
	float: unset;
	top: 0 !important;
}
.module-header.style-8 .ry-right .ry-menu .nav-menu > li > a {
	color: #f3e5c2 !important;
	font-size: 18px !important;
	padding-bottom: 0 !important;
	font-family:  !important;
}
.module-header.style-8 .ry-right .ry-menu .nav-menu > li > a:hover {
    color: #111111 !important;
}
.ry-menu .ry-nav li.dropdown .dropdown-toggle span {
	margin-left: 5px;
}
.module-header.style-8.fixed .menu-wrapper.new .ry-right {
	padding-top: 20px;

}
.module-header.style-8.fixed .text-banner {
	height: 0;
	padding: 0;
	visibility: hidden;
	transition: .2s;
}
.module-header.style-8 .ry-menu .ry-nav li.dropdown .dropdown-toggle span {
	display: inline-block;
	margin-left: 5px;
}
.module-header.style-8 .ry-btn.btn-transparent {
	/*background: transparent !important;
	border: 1px solid;*/
	height:auto !important;
	border-radius: 10px;
	letter-spacing: initial;
	/* border-radius: 10px !important; */
	padding: 14px 17px !important;
	white-space: nowrap;
}

.module-header.style-8 .ry-contact-v2 .phones {
  display: flex;
  width: 100%;
  gap: 0 10px;
}

.ry-btn:hover {
	color: #FFFFFF !important;
}

.module-header.style-8 .ry-btn span {
	font-weight: 600;
	margin-right: 5px;
}

.module-header.style-8.fixed .ry-container .ry-right .ry-leads-v2 {
	/*padding: 35px 0;*/
	transition: .2s;
}
.module-header.style-8.fixed .ry-container .ry-left img {
	max-width: 150px;
	transition: .2s;
}
/* END HEADER */


@media (max-width: 1366px){
	.module-header.style-8 .ry-btn.btn-transparent {
		font-size: 15px !important;
	}
}
@media (max-width: 1080px) {
	.text-banner{
		position: fixed;
		z-index: 99;
	}
	.module-header.style-8 {
		display: none !important;
	}
	.mobile-header.style-8 {
		display: block !important;
	} 
	.mobile-header.style-8 .mobile-container {
		top: 26px;
		background: #fff !important;
		background-size: contain;
		background-position: center;
		background-repeat: repeat;
	}
	.mobile-header.style-8 .mobile-container .flex-wrap .mobile_logo img {
		max-width: 100px !important;
		min-width: 100px !important;
	}

	.mobile-header.style-8 .text-wrapper a {
		display: block;
		line-height: 1;
		font-size: 12px;
		background: #f3e5c2;
		color: #242424;
		height: 100%;
		min-height: 26px;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 9;
		padding: 8px 20px;
	}
	
	.mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner, 
	.mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner:before, 
	.mobile-header.style-8 .mobile-container .mobile-nav button .hamburger-inner:after,
	.mobile-header.style-8 .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
		color: #FFFFFF !important;
		background: #d04751 !important;
	}
	#menu_container .mm-listview .mm-listitem a {
		font-size: 16px;
	}
	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button a .fa:before {
		display: none;
	}
	/* CHANGES ON INSIDE MOBILE SIDEBAR */
	#menu_container .mm-listview .mm-listitem a,
	.mm-listitem>a, 
	.mm-listitem>span {
		font-size: 16px;
		text-transform: uppercase !important;
		letter-spacing: initial !important;
		color: #111111;
	}
	.mm-menu_theme-black .mm-btn:after, 
	.mm-menu_theme-black .mm-btn:before, 
	.mm-menu_theme-black .mm-listview .mm-btn_next:after,
	.mm-listitem, 
	.mm-listitem .mm-btn_next, 
	.mm-listitem .mm-btn_next:before, 
	.mm-listitem:after, 
	.mm-listview{
		border-color: #33333344;
	}
	.mm-menu_theme-black .mm-navbar>*, 
	.mm-menu_theme-black .mm-navbar a {
		color: #333;
		text-transform: uppercase;
		font-size: 16px;
		font-weight: 400;
	}
	.module-header.style-8 .ry-container .ry-left img{
		max-width: 300px;
	}
	.mobile-header.style-8 {
		z-index: 9999;
	}
}
@media (max-width: 460px) {
	.mobile-header.style-8 .mobile-container {
		top: 24px;
	}
	.text-banner .text-wrapper a {
		font-size: 10px;
		padding: 0 10px;
	}
	.mobile-header.style-8 .mobile-container .flex-wrap .mobile_logo img {
		max-width: 180px;
		min-width: 180px
	}
	.mobile-header.style-8 .mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
		width: 35px;
		height: 35px;
		font-size: 14px;
	}
	.mobile-header.style-8 .mobile-container {
		padding: 0;
	}

}

/** Updated CSS **/

.module-header.style-8.fixed {
    position: fixed;
}
.module-header.style-8 .ry-btn{
	background: #d04751 !important;
	border-color: #d04751 !important;
	color: #f3e5c2 !important;
	font-size: 16px !important;
}
.module-header.style-8 .ry-btn:hover{
	background: #f3e5c2 !important;
	border-color: #f3e5c2 !important;
	color: #242424 !important;
}

.module-header.style-8 .ry-btn span {
    color: #f3e5c2 !important;
}
.module-header.style-8 .ry-btn:hover span {
    color: #242424 !important;
}

/*.module-header.style-8 .ry-btn:nth-child(1):hover{
	background: #d04751 !important;
}
.module-header.style-8 .ry-btn:nth-child(2):hover{
	background: #f3e5c2 !important;
}*/
.module-header.style-8.fixed .menu-wrapper.new .ry-right{
	padding-top: 0px;
}
.ry-menu .ry-nav li.primary{
	padding: 15px 0;
}
.module-header.style-8 .ry-right .ry-menu .nav-menu li.primary {
    padding: 15px 0 15px;
}
.module-header.style-8.fixed .ry-right .ry-menu .nav-menu li.primary {
    padding: 10px 0 10px;
}
.module-header.style-8.fixed .ry-btn.btn-transparent {
    padding: 15px 20px !important;
    font-size: 16px !important;
}
.module-header.style-8.fixed .ry-right .ry-menu .nav-menu li:hover .dropdown-menu {
    top: 45px;
}


@media only screen and (min-width: 1081px) {
  body.home .module-header.style-8 {
    position: fixed !important;
  }
  body.home .ry-section-hero {
    margin-top: 215px;
  }
}
