.ilgm-link {font-size: smaller !important;}

.ilgm-link:hover {color: #026eb9 !important;}


.arve-error {display: none;}

#publications h1 {
		font-size: 24px; 
		text-transform: none !important; 
		font-weight: bold;
}
#publications h2 {
		font-size: 18px; 
		text-transform: none !important;
}



/* Global */
.df-lightbox-wrapper {z-index: 999999 !important;}

/* Margins & Pddings arounf the thumb */
.dp-element[data-lightbox=thumb] {
	padding: 0 !important;
	margin: 0 !important;
}
.df-popup-thumb .df-book-wrapper {margin-bottom: -8px;}

/* Thumb Size */
.dp-element[data-lightbox=thumb] {width: auto;}
.dp-element[data-lightbox=thumb] img {
    max-height: none;
    height: auto;
    width: 175px; /* Thumbnail size */
}

/* Button formatting */
.df-popup-button {
		border-radius: 5px;
		padding: 10px 20px;
		font-size: 20px;
		background-color: #1b450e; /* Change Color */
		color: #ffffff;
}

/* Tool Bar Color */
.df-ui, 
.df-ui-btn, 
.df-ui .df-ui-page label {
		color: #fff; 
		background-color: #1b450e; /* Change Color */
}
.df-ui:hover, 
.df-ui-btn:hover, 
.df-ui .df-ui-page label:hover {
		color: #fff; 
		background-color: #99c455; /* Change Color */
}
.df-ui-nex:hover,
.df-ui-nav:hover,
.df-ui-next:hover,
.df-ui-btn:hover {
		background-color: rgba(0,0,0,0) !important;
}

/* Background Color */
.df-lightbox-wrapper {background-color: rgba(0,0,0,0.9) !important;}

/* Book Title Color */
.df-popup-thumb .df-book-title {
	background: rgba(27, 69, 14, 0.9); /* Change Color */
	color: #fff;
}

/* Hide Title */
.dp-element[data-lightbox=thumb] .dp-book-title,
.df-element[data-lightbox=thumb] .df-book-title {display: none;}

/* X Close Color */
.df-lightbox-wrapper .df-lightbox-close {
	color: #fff;
	font-weight: bold;
}


.yrc-video-desc {
		height: 100px;
		font-size: 14px;
}
.yrc-player-video-content a,
.yrc-player-video-content {background: rgb(0, 0, 0); color: #ccc;}

.yrc-player-video-details {border-top: 0;}
.pb-popup .pb-p-content {background: #000;}

#main-content .yrc-desktop ul, ol {
	margin-left: 0px !important;
}
.yrc-brand {
		background-color: #1c440e !important;
}
.yrc-menu {
	padding: .5em 0 !important;
	margin: 0 !important;
	background-color: #99c455;
}
.yrc-subscriber {
	bottom: auto !important;
	right: 20px !important;
	padding-top: 10px !important;
}
.yrc-menu-item {
	font-weight: bold !important;
	color: #fff !important;
}
.yrc-sections {
	margin-top: 10px !important;
}
.yrc-name {
	margin-top: 10px;		
}

.mobile_menu_bar:before {
	background-color: #8cc63f;
	padding: 4px 0px 5px 2px;
	top: 7px;
	color: #fff !important;}

.mobile_menu_bar::after {
	font-family: Arial;
	content: "MENU";
	position: relative;
	padding: 12px 20px 10px 5px;
	background-color: #8cc63f;
	color: #fff !important;
	cursor: pointer;}
.mobile_nav.opened .mobile_menu_bar:before {content: "\4d";}

@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .home_slider, .home_slider .et_pb_container { 
        height: 600px !important; 
    }
    .home_slider, .home_slider .et_pb_slide { 
        max-height: 600px; 
    }
}
@media ( max-width: 768px ) {
    /* Set the slider height */
    .home_slider, .home_slider .et_pb_container { 
        height: 200px !important; 
    }
    .home_slider, .home_slider .et_pb_slide { 
        max-height: 200px; 
    }
}

@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; 
    }
}


/* 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;}
#main-header #top-menu li.current-menu-item > a {color: #afafaf !important;}
.nav li ul {border-top-width: 5px !important;}
#top-menu li li a:active,
#top-menu li li a:visited,
#top-menu li li a:link {
    font-size: 15px;
  	color: #504e4e !important;
}
#top-menu li li a:hover {color: #504e4e !important;}

.tablepress tfoot th, .tablepress thead th {
	background-color: #e9f0ea !important;
}

h1, h2, h3, h4, h5, h6 { 
  line-height: 1.2em;
  color: #286d2f;
  font-weight: bold;
 }
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;}

.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: #504e4e !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 #474747 !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: none;}

.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: #504e4e;
  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: #000000;
	-webkit-transition:all 0.5s ease;
  -moz-transition:all 0.5s ease;
  -o-transition:all 0.5s ease;
  transition:all 0.5s ease;}


#xmain-header,
#xtop-header {z-index: 99990 !important;}

#main-content	ul, ol {margin-left: 30px;}

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;}

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: #026eb9;}
.footer_custom a:hover {color: #FFF;}

.et_pb_slide_description h2,
.et_pb_promo_description h2 {text-shadow: 3px 2px 2px rgba(0,0,0,0.5); font-weight: bold !important; }
.et_pb_slide_description p,
.et_pb_promo_description p {text-shadow: 1px 1px 1px rgba(0,0,0,0.5); font-weight: bold !important;}

#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;
  }
}

#footer-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;}
}

@media only screen and (min-width : 981px) {
	.mp_m_blurb_hover1 h4 {
		color: #fff !important;}
 	.mp_m_blurb_hover1 .et_pb_blurb_description p {
    font-size: 14px;
    line-height: 1.2em !important;
  }
	.mp_m_blurb_hover1 .et_pb_blurb_container {
		color: #fff !important;
		margin-top: -70px;
		padding: 7px;
		z-index: 2;
		position: relative;
		opacity: 1;
    background: rgba(40, 24, 3, 0.5);
		-webkit-transition: all .3s ease-out;
		-moz-transition: all 0.3s ease-out;
		-ms-transition: all 0.3s ease-out;
		-o-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;}
	.mp_m_blurb_hover1 .et_pb_main_blurb_image{ 
		margin-bottom: 0px;
		overflow: hidden;}
	.mp_m_blurb_hover1 img {
		vertical-align:top;
		-webkit-transition: all .3s ease-out;
		-moz-transition: all 0.3s ease-out;
		-ms-transition: all 0.3s ease-out;
		-o-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;}
	.mp_m_blurb_hover1:hover img {
		-webkit-transform: scale(1.05) rotate(1deg);
		-ms-transform: scale(1.05) rotate(1deg);
		transform: scale(1.05) rotate(1deg);}
	.mp_m_blurb_hover1:hover .et_pb_blurb_container {
		opacity:1;
		background: rgba(0, 0, 0, 0.85);}
}

/* custom quarter columns change from 4 to 3 to 2 */
	@media (min-width: 981px) and (max-width: 1260px){
		.mp_column_1, .mp_column_2, .mp_column_4  {width: 33%!important;}
		.mp_column_3 {display:none!important;}}

/* staff person module */
	@media only screen and (min-width : 981px) {
		.mp_m_staff_column:hover {
			top: -8px;
			box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);}}

/* row with 3 overlapping images */
	@media only screen and (min-width : 981px) {
	.mp-m-image_center {
		width: 130%;
		margin-left: -15%!important;
		margin-top: -7%!important;
	    top: 0px;
	    transition-delay: 0s;
	    transition-duration: 0.35s;
    	transition-property: all;
		box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.4);}
	.mp-m-image_center:hover {
    	top: -8px;
	    box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.5);}
	.mp_m_image_left {
		margin-left: 45px!important;
		margin-right: -45px!important;
	    transition-delay: 0s;
	    transition-duration: 0.45s;
    	transition-property: all;
		box-shadow: 4px 0px 30px rgba(0, 0, 0, 0.4);}
	.mp_m_image_left:hover {
    	margin-left: -15px!important;
		margin-right: 15px!important;
	    box-shadow: 8px 0px 40px rgba(0, 0, 0, 0.5);}
	.mp_m_image_right {
		margin-left: -45px!important;
		margin-right: 45px!important;
	    transition-delay: 0s;
	    transition-duration: 0.45s;
    	transition-property: all;
		box-shadow: -4px 0px 30px rgba(0, 0, 0, 0.4);}
	.mp_m_image_right:hover {
    	margin-left: 15px!important;
		margin-right: -15px!important;
	    box-shadow: -8px 0px 40px rgba(0, 0, 0, 0.5);}}

/*end: module formatting */

/* Ultimate Member */
/* Link colors */
.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color
{
    color: #286d2f !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
    color: #8cc63f !important;
}

/* Button colors */
.um-button {color: #ffffff !important;}
.xum-button:hover {background-color: #8cc63f !important;}

.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover
{
    background: #286d2f !important;
}

.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover{
    background: #8cc63f !important;
}

/* Button alt colors */
.um .um-button.um-alt, 
.um input[type=submit].um-button.um-alt {
    background: #eeeeee !important;
}

.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover {
    background: #e5e5e5 !important;	
}

/* end: UM */