@media only screen and (min-width:981px)
#logo {max-height: 50% !important;}

.prod-snapshot .price {display: none !important;}
.prod-snapshot .product a {text-align: center !important;}
.prod-snapshot .product a {text-decoration: none !important;}
.prod-snapshot .product a:hover {text-decoration: underline !important;}



.cff-post-text {font-size: 12px !important;}

#main-content	ul, ol {margin-left: 30px;}

.da-overlay {background: rgba(255,255,255,.65) !important;}

#main-content .et_pb_social_media_follow {margin-left: 0 !important;}




@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .home_slider, .home_slider .et_pb_container { 
        height: 4500px !important; 
    }
    .home_slider, .home_slider .et_pb_slide { 
        max-height: 450px !important; 
    }
    .home_slider .et_pb_slide_description { 
        position: relative; 
        top: 25%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
}


@media (max-width: 997px) { 
		img#logo {
  	content: url("https://www.rmqha.com/wp-content/uploads/2024/09/rmqha_logo-menu.png");
		}
		}



.mobile_menu_bar:before {
	background-color: #944c24;
	padding: 4px 0px 5px 2px;
	top: 7px;
	color: #FFF !important;}

.mobile_menu_bar::after {
	font-family: Arial;
	content: "MENU";
	position: relative;
	padding: 13px 20px 10px 5px;
	background-color: #944c24;
	color: #FFF !important;
	cursor: pointer;}
.mobile_nav.opened .mobile_menu_bar:before {content: "\4d";}

.nf-input-limit {display: none;}
.ninja-forms-field.hr {
  height: 1px !important;  
  background-color: #b8b8b8 !important;
  padding: 1px !important;
  margin: 0 !important}

/* Menu Fixes */
/* 2nd level */
#main-header .nav li ul {right: 0px !important; left: auto;}
#main-header .nav li ul li {margin-bottom: 10px;}
/* 3rd level */
#main-header .nav li li ul {right: 240px !important; left: auto;margin-top: 20px;}
#main-header .nav li li ul li {margin-bottom: 10px;}
@media only screen and (min-width: 768px) {#et-info { float: left !important; }}
/* make subnavs wider */
#top-menu li li a {width: 270px !important;	padding: 0px 0px;}
.nav li ul {width: 295px !important;}




/*edit the Divi mega menu*/
@media (min-width: 998px) {
		.mega-menu-hide a {display: none !important;}
}
@media (max-width: 997px) {
	.mega-menu-img a {display: none !important;}
}

#main-header .nav li li ul {
		right: auto !important; 
		left: 20px;
		margin-top: 20px;}

.mega-menu-hide .sub-menu a {display: block !important;}
.et_fullwidth_nav #top-menu li.mega-menu>ul {}

/* desktops/tablets */
@media (min-width: 998px) {
	.mega-menu-hide a {display: none !important;}
	.mega-menu-hide .sub-menu a {display: block !important;}
}


/* 
 * mobile phones 
 * Column Headings need "visible" in ther Nav CSS
 * */
@media (max-width: 997px) {
	.mega-menu-img a {display: none !important;}
  .mega-menu-hide.menu-item-has-children  a {display: none;}
	.mega-menu-hide .sub-menu a {display: block !important;}
		
}

#top-menu li.mega-menu>ul {
	border-top: 5px #91715e solid;
	box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.30);
	width: auto !important;
}
/*edit the Divi mega menu submenu first row*/
#top-menu li.mega-menu > ul > li.mega-menu-category > a:first-child {
	border-bottom: 2px #91715e solid;
  cursor: pointer !important;
  opacity: 1 !important;
  text-decoration: none;
	font-family: 'Berling',Helvetica,Arial,Lucida,sans-serif !important;
		color: #b4a194 !important;
		font-size: 22px !important;
}

.mega-menu-img img {
	width: 80% !important;
	height: auto;
	border-radius: 20px;
	cursor: default !important;
	margin-right: 0 !important;
	margin-left: 50px !important;
	padding-right: 0 !important;
		
}
.mega-menu-img:hover,
.mega-menu-img img:hover {
	opacity:1; 
	filter:alpha(opacity=100); 
}

#top-menu li>ul {
border-top: 5px #91715e solid;
border-radius: 0 0 20px 20px;
}
/* end: mega */










.df-lightbox-wrapper {background-color: rgba(0,0,0,0.85) !important;}
.df-popup-thumb .df-book-title {
	background: rgba(208, 188, 157, 0.9);
	color: #000;
}
.df-lightbox-wrapper .df-lightbox-close {color: #FFF !important;}
.df-lightbox-wrapper .df-lightbox-close:hover {color: #777 !important;}

.df-lightbox-wrapper {z-index: 9999999;}



.grecaptcha-badge {visibility: hidden !important;}

h1, h2, h3, h4, h5, h6 { 
  line-height: 1.2em;
 }
h1 {
  font-size: 38px; 
  text-transform: uppercase;}
h2 {
  font-size: 32px;
	}
h3 {
  font-size: 26px;
  text-transform: uppercase;}
h4 {
  font-size: 24px;
  font-style: italic;}
h5 {
  font-size: 22px;}
h6 {
  font-size: 20px;
  font-weight: bold;}

.widgettitle {text-align: center !important;}

.rpwe-block li {border-bottom: 1px solid rgba(207,187,153,0.35) !important;}

.rpwe-img .rpwe-thumb {
border: 0 !important;
box-shadow: none !important;
margin: 2px 2px 20px 2px !important;
padding: 0 !important;
}

.rpwe-alignleft {
	display: block !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.rpwe-img {margin-bottom: 15px;}

.rpwe-time {
  margin-top: 0 !important;
  display: block !important;
  color: #646464 !important;
  text-align: center !important;
}
.rpwe-title {
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.rpwe-title a {
  font-weight: 600 !important;
  color: #944c24 !important;
  margin-bottom: -30px !important;
	font-size: 15px !important;
		text-decoration: none !important;
}
.rpwe-summary {
  font-size: 14px !important;
  color: #666666 !important;
  margin-bottom: 20px;
  line-height: 1.4em !important;
}
.rpwe-thumb {
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.rpwe-thumb:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.rpwe-thumb {
  border: 0 !important;
  box-shadow: none !important;
  margin-bottom: 10px !important;
  padding: 0 !important;
}
.rpwe-block li {
  margin-left: 0 !important;
  border-bottom: 0 !important;
}
.rpwe-side-by-side .pros ul li, .cons ul li {
	margin-bottom: 10px !important;
  margin-left: 5px !important;
}







ul {list-style: none !important;}
.fas{color: #944c24 !important; padding-right: 10px !important;}

.df-popup-thumb img {
	width: 350px !important;
	max-width: 350px !important;
}

.tribe-events-venue-map {
	border: 5px;
	width: 60% !important;
	height: 100% !important;
}
@media (min-width:768px) {
	.tribe-events-venue-map>div, 
		.tribe-events-venue-map>iframe {
			max-height: 325px;
}

.et-pb-active-slide .et_pb_slide_description {
	-webkit-animation-delay: .2s;
	-moz-animation-delay: 2s;
	-o-animation-delay: 2s;
	-ms-animation-delay: .2s;
	animation-delay: 2s;
	 -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease; 
  transition:all 0.5s ease;
}

.et_pb_slide_description h2, 
.et_pb_promo_description h2,
.et_pb_slide_content {
	text-shadow: none !important;
	font-weight: bold !important;
}
.et_pb_button_wrapper  .et_pb_more_button {
	margin-top: 5px !important;
	margin-bottom: 20px !important;
		
}
.et_pb_text_overlay_wrapper {
		background-color: rgba(255,255,255,0.9) !important;
		border-top: 8px #fff solid;
		border-left: 8px #fff solid;
		border-right: 8px #fff solid;
}
.home .et_pb_button_wrapper {
		background-color: rgba(255,255,255,0.9) !important;
		border-bottom: 8px #fff solid;
		border-left: 8px #fff solid;
		border-right: 8px #fff solid;
}



.ilgm-link {color: #5c6264 !important; text-decoration: underline !important;}
.ilgm-link:hover {color: #026eb9 !important;}
.ilgm-div {
		background-color: #000; 
		width: 100% !important;
		padding: 0px 30px 30px 30px; 
}



@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .page_slider, .page_slider .et_pb_container { 
        height: 600px !important; 
    }
    .page_slider, .page_slider .et_pb_slide { 
        max-height: 600px; 
    }
    .page_slider .et_pb_slide_description { 
        position: relative; 
        top: 25%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
}


#xlogo {
  max-height: 180% !important;
  margin-top: 15px;
  z-index: 100000;
}

#main-header,
#top-header {z-index: 99990 !important;}

@media (min-width: 1025px) and (max-width: 1300px){
	#xlogo {max-height: 150% !important;}
}
@media (max-width: 1024px) {
	.et_header_style_left #xlogo {
    max-width: 80%; 
    margin-left: -30px !important;}
}

/* ARVE Container */
#bp_container {
	z-index: 9999999;
	background: rgba(0,0,0,.7);
	opacity: 0;
	transition: opacity .35s;
}

.woocommerce-LoopProduct-link img {
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease; 
  transition:all 0.5s ease;}
.woocommerce-LoopProduct-link img:hover {
  opacity:0.6; 
  filter:alpha(opacity=60); 
  -moz-transition:all 0.5s ease; 
  -o-transition:all 0.5s ease; 
  transition:all 0.5s ease;}

a.add_to_cart_button  {
  border: 0;
  font-weight: normal !important;
  text-decoration: none !important;
  background: #5e6467 !important;
  padding: 10px 25px !important;
  color: #ffffff !important;
  display: block !important; 
	text-align: center;
	text-transform: capitalize;
  margin-top: 10px;
	-webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease;
  transition:all 0.5s ease;
}

a.add_to_cart_button :hover {
  background-color: #000000 !important;
	-webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease;
  transition:all 0.5s ease;}



.envira-gallery-wrap .envira-pagination {text-align: right !important;}

.envirabox-theme-sleek .envirabox-image-wrap {
	border-radius: 3px;
	border: 15px solid #550000 !important;
}

.envira-pagination {text-align: center;}
.envira-pagination a.page-numbers, 
span.page-numbers.dots, 
.envira-pagination a.prev.page-numbers, 
.envira-pagination a.next.page-numbers {
  display: inline-block;
  padding: 10px 16px; 
  background-color: #FFF;
  text-decoration: none;
  transition: all 0.2s ease-in 0s;
  color: #999;
  margin: -3px !important;
  border: 1px solid #bbb !important; 
  text-decoration: none !important;
  font-size: smaller;
}

.envira-pagination a.page-numbers:hover, 
.envira-pagination a.prev.page-numbers:hover, 
.envira-pagination a.next.page-numbers:hover {
  background-color: #ddd;
  color: #666;
  margin: 0 !important;
  border: 1px solid #bbb !important; 
  text-decoration: none !important;
  margin: -3px !important;
  font-size: smaller;
} 
.envira-pagination span.page-numbers.current {
  display: inline-block;
  padding: 10px 16px; 
  background-color: #ddd;
  color: #666;
  font-weight: bold;
  margin: -2px !important;
  border: 1px solid #bbb !important; 
  text-decoration: none !important;
  font-size: smaller;
}

.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 



#main-content a {font-weight: bold; text-decoration: underline;}
#main-content .et_pb_social_media_follow a {text-decoration: none !important;}

.et_pb_blurb_content a:hover,
.et_pb_member_social_links a:hover {color: #7f7f7f !important;}

.et_pb_button {font-weight: normal !important; text-decoration: none !important;}
.entry-title a,
.et_pb_slide_title a,
.et_pb_member_social_links a,
.et_pb_blurb_content a,
.post-meta a {text-decoration: none !important;}

.et_pb_gutters2 .footer-widget,
.et_pb_gutters2.et_pb_footer_columns1 .footer-widget .fwidget {margin-bottom: 0 !important;}

#site-styles-map .et_pb_map {
height: 700px!important;
}

.post-template-default #main-content {padding-top: 40px;}

.envirabox-is-open .envirabox-bg {
	background: #000 !important; 
	opacity: 0.90 !important;
}

.envira-gallery-wrap img {
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease; 
  transition:all 0.5s ease;}
.envira-gallery-wrap img:hover {
  opacity:0.6; 
  filter:alpha(opacity=60); 
  -moz-transition:all 0.5s ease; 
  -o-transition:all 0.5s ease; 
  transition:all 0.5s ease;}
.envira-gallery-wrap {margin: 30px 0 !important;}

.envira-gallery-item-inner {background-color: #000 !important;}

/* === Style WP-PageNavi Pagination === */
/* Add a border */
.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    border: 1px solid #bbb !important; 
    padding: 6px 12px; 
    margin: 0;  
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text */
.wp-pagenavi span, .wp-pagenavi a { 
    font-weight: bold !important; 
    color: #999 !important
}

/* Style the current / hovered page link */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #666 !important; 
    background-color: #ddd !important; 
}

/* Style the page count text */
.wp-pagenavi :first-child { color: #666 !important; }

/* Add text to the "next" link */
.wp-pagenavi .nextpostslink:before { content: 'Next '; }
.wp-pagenavi .previouspostslink:after { content: ' Prev'; }
/* end: pageNavi */

.post-content a {display: block; margin-left: auto; margin-right: auto;}

a.more-link {
  border: 0;
  font-weight: normal !important;
  text-decoration: none !important;
  background: #2e2319;
  padding: 10px 25px;
  color: #ffffff !important;
  display: block !important; 
	max-width: 50%; 
	text-align: center;
	text-transform: capitalize;
  margin-top: 10px;
	-webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease;
  transition:all 0.5s ease;
}

a.more-link:hover {
  background-color: #944c242e2319;
	-webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease;
  transition:all 0.5s ease;}



blockquote {margin-left: 30px; margin-right: 30px; font-style: italic;}

#logo:hover,
.img-hover:hover {opacity:0.6; filter:alpha(opacity=60); -moz-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease;}
#main-header #top-menu li.current-menu-item > a {
	color: #949164 !important;
}

select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important; /* Safari automatically adds in a radio */
	background: url(https://www.ilgminc.com/wp-content/uploads/2017/10/dd-arrow-70.png) no-repeat !important;
	background-position: right bottom !important;
	background-color: rgba(242,242,242,0.5) !important;
}

.ninja-forms-field::placeholder{
	color: #474747;
}

.et_pb_map_container .infowindow {color: #333333;}

/* fix the drop-down menu text color 
@media only screen and (min-width: 981px) {
	#main-header.et-fixed-header #top-menu li li a {
		color: #888888 !important;
    font-weight: 400 !important;
	}
}
*/


.frq-main-title {font-size: 32px !important;}
.hrf-entry {border: 1px red solid;}

.divi-vertical-align {display: flex; flex-direction: column; justify-content: center;} 

.testimonials-widget-testimonial .attachment-thumbnail {
  margin-right: 20px;
  margin-bottom: 5px !important;
  border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px; 
  -webkit-border-radius: 10px 10px 10px 10px;}

.testimonials-widget-testimonial .image {margin-bottom: 0 !important;}

.testimonials-widget-testimonial.has-post-thumbnail blockquote {
  border-left: 0px !important;
}
.testimonials-widget-testimonial {margin-bottom: 20px;}

.ninja-forms-field {border: 0 !important; font-family: 'Open Sans', sans-serif;}
.nf-form-fields-required {display: none;}
.sucess-header,
.nf-sucess-message h2,
.nf-sucess-message p {color: #FFF !important;}

.et_pb_slide_content a:link,
.et_pb_slide_content a:visited,
.et_pb_slide_content a:active,
.et_pb_slide_content a:hover {color: #FFF !important; font-weight: bold !important;}

.footer_custom a:visited,
.footer_custom a:active,
.footer_custom a:link {color: #fff;}
.footer_custom a:hover {color: #000;}


#blog .more-link {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 30px !important;
}

/**** ---------- For Custom Footer ----------- ****/
#main-footer #footer-widgets {padding-top: 0 !important;}

.footer_custom.et_pb_section {
    padding: 0 !important;
}

/**** Row Widget Custom ****/
.footer-widget .fwidget {
  min-width: 100% !important;
}

#footer-widgets {
    padding: 3% 0 0 !important;
}

#footer-widgets .footer-widget li:before {
    content: none !important;
}

#footer-widgets .footer-widget li {
    padding-left: 0px !important;
}

#main-footer .container {
    width: 100% !important;
    max-width: 100% !important;
}

.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget, .et_pb_gutters3 .footer-widget {
    margin-bottom: 0px ;
}

@media only screen and (max-width: 767px) {
  #footer-widgets .footer-widget .fwidget {    
    margin-bottom: 0% !important;
  }
}

@media only screen and (max-width: 980px) {
  .footer-widget:nth-child(n) {    
    width: 100% !important;    
    margin: 0 !important;
  }
}

@media only screen and (max-width: 479px) {
  #footer-widgets .footer-widget:nth-child(n), .footer-widget .fwidget {    
    margin-bottom: 0 !important;
  }
}

#xfooter-bottom .container{
	margin-right: 2.773%; 
	margin-left: 2.773%; 
	width:94.454%!important;
	max-width: 94.454%;
}

/* module formatting */

#npl_wrapper.npl_open_with_padding {
  -webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.fa-angle-right {color: #FFF !important;}
/* phones Two Columns */
@media (max-width: 980px) {
  .twoX2 .et_pb_column{max-width: 50% !important;}
  .twoX2 .et_pb_column.et_pb_column_1_3:nth-of-type(3){margin: 0 25%;}
  .twoX2C1 {padding-right: 2px !important;}
  .twoX2C2 {padding-left: 2px !important;}
}