/* 
 Theme Name:     MALT
 Author:         Nductiv LLC
 Author URI:     http://nductiv.com
 Template:       Divi
 Version:        1.01
 Description:    MALT Theme
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

h6 {
	font-size: 18px !important;
	text-align: center;
	line-height: 1.7em !important;
	color: #666;
	font-weight:normal !important;
}

#et-secondary-menu {
	margin-right: 20px;
}

article.et_pb_post div.entry-content {
	margin-top: 0px !important;
	position:relative;
}


@media (min-width: 980px) {
	div.entry-content {
		margin-top: 118px !important;
		position:relative;
	}
	article.et_pb_post {
/*		margin-top: 153px !important; */
	}
}

@media (max-width: 980px) {
	article.et_pb_post {
		margin-top: 40px !important;
	}
	.column.size-1of1 article:first-of-type {
		margin-top: 0px !important;
	}
	article .et_pb_section_3 {
		padding: 0px 0px !important;
	}
	div.home-slider {
		top: 0px !important;
	}
}


/* Kill the native DIVI logo */

div.logo_container {
	display:none !important;
}

/* Kill DIVI native footer */

footer#main-footer {
	display: none !important;
}

/* Green background for secondary menu at top of screen */

#top-header, #et-secondary-nav li ul {
    background-color: #879637 !important;
}

/* Position native WP main menu relative to transparent menu bar */

div#et-top-navigation {
	padding-top:28px !important;
}

div#top-header>div {
	margin-right: 20px !important;
}

#top-header .container {
	width: 100%;
	max-width: none;
}

/* Kill search icon on BB page */

.page-id-3464 i.fa.fa-search {
	display:none;
}

/* Position WP secondary menu on top green bar */

.green-top-menu ul#menu-top {
  padding-top: 2px !important;
}

.green-top-menu ul#menu-top li a {
  padding-bottom: 8px !important;
}

/* Green secondary menu full width with a 1.5% right margin */

.green-top-menu .et_pb_row {
  max-width: 100%;
  margin-right: 1.5%;
}

/* Main menu full width */

div#main-menu div.et_pb_row {
	margin-right:0px !important;
	width:100% !important;
	max-width:100% !important;
}

.et_pb_posts .et_pb_post a img, 
.archive .et_pb_post a img, 
.search .et_pb_post a img {
    max-width: 66%!important;
    float: left;
    padding-right: 50px;
    margin-top: 6px;
	display: inline;
}

.et_pb_posts .et_pb_post a, 
.archive .et_pb_post a, 
.search .et_pb_post a {
	display: inline;
}

@media only screen and (min-width: 980px) {
	.et_pb_posts:not(.no-featured-image) .et_pb_post div.post-content, 
	.archive .et_pb_post div.post-content, 
	.search .et_pb_post div.post-content {
		float: right;
		width: 33%;
	}
}

@media only screen and (min-width: 980px) {
	.et_pb_posts.bottom-rule article {
		border-bottom: 2px solid #cbd1a8;
		padding-bottom: 16px !important;
	}
}

@media only screen and (max-width: 980px) {
.et_pb_posts .et_pb_post div.post-content, 
.archive .et_pb_post div.post-content, 
.search .et_pb_post div.post-content {
	width: 100%;
	border-bottom: 1px solid #cbd1a8;
}
}

.et_pb_posts .et_pb_post div.post-content>p, 
.archive .et_pb_post div.post-content>p, 
.search .et_pb_post div.post-content>p {
	display: block;
}

.et_pb_blog_grid .et_pb_post {
	border: 1px solid #cbd1a8;
}

article .et_pb_section {
	padding-top: 0px !important;
}


 #top-menu .menu-item-has-children>a:first-child {
   padding-right: 0px;
}

/* Main menu desktop font size */

ul#top-menu li li a {
	font-size: 18px !important;
}

 
@media only screen and (max-width: 980px) {
	.et_pb_posts .et_pb_post a img, 
	.archive .et_pb_post a img, 
	.search .et_pb_post a img {
		float:none;
		max-width: 250px!important;
	}
	.et_pb_text img {
		padding-bottom: 20px;
		clear:both;
	}
}

/* CSS to hide mobile or desktop views */

@media (max-width: 980px) {
	.hide-mobile {display:none !important;}
}

@media (min-width: 980px) {
	.hide-desktop {display:none !important;}
}

/* Position Read More on posts */

.post-content a.more-link, .search-results a.more-link {
   text-transform:capitalize;
   font-weight: 600;
   color:white;
   background:#5c7f92;
   float:left;
   margin-top:12px;
   margin-right:30px;
   border-radius: 12px;
   transition:0.5s ease-out;
   padding: 12px 20px 12px 20px;
   font-size: 16px;
}

.press-learn-more .post-content a.more-link {
      margin-top: 10px;
}

@media only screen and (max-width: 980px) {
   .post-content a.more-link {
		margin-top: 20px;
		margin-bottom: 26px;
		margin-right: auto;
		margin-left: auto;
		width: 100px;
		display: block;
	    text-align: center;	
	    float: none;
	}
}

div.size-1of3 .post-content a.more-link {
	margin-top: 20px;
	margin-bottom: 26px;
	margin-right: auto;
	margin-left: auto;
	width: 100px;
	display: block;
	text-align: center;	
	float: none;
}


@media only screen and (max-width: 980px) {
	article.has-post-thumbnail .et_pb_image_container {
		margin: -20px -20px -26px;
	}
}

/* Format LEARN MORE button */

.malt-events .pagination a, 
.malt-whats-new .pagination a {
   text-transform:capitalize;
   background:white;
   transition:0.5s ease-out;
   padding:14px;
   border: 4px solid #5c7f92; 
   border-radius: 12px;
   text-align: center;
}

.malt-events .pagination div, .malt-whats-new .pagination div {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
	float: none;
}

.horz-buttons div {
  display:inline;
}

.horz-buttons div a {
  width:144px;
}

div.footer-social {
    letter-spacing: 40px;
    font-size: 24px;
    margin-left: 36px;
    margin-top: 20px;
}

div#full-width-footer {
  width:100% !important;
  max-width:100% !important;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

div#full-width-header, div#full-width-header-press, div#full-width-header-staff {
  width:100% !important;
  max-width:100% !important;
  margin-bottom: 0px;
  padding-bottom: 0px;
  padding-top: 0px;
}

div#full-width-header h1 {
	font-weight: normal;
}

img.partner-logo {
  margin-right: 14px;
}

div#full-width-footer .et_pb_button_module_wrapper {
  margin-bottom: 0px !important;
}

/* Position and format page header title */

div.header-title {
  position: absolute !important;
}

div.header-title h1 {
  color: white;
  font-size: 40px;
  letter-spacing: 1px;
  font-weight:600;
}

ul#menu-menu li {
  margin-left: 0%;
}

div#main-menu .et_pb_row {
  width: 100%;
  max-width: 100%;
}

div#main-menu .fullwidth-menu-nav>ul {
  padding:0px !important;
}

/* Last main menu item is DONATE NOW button. Format this. But not on Blackbaud page */

body:not(.page-id-3464) ul#top-menu>li:last-child>a {
    color: white!important;
    margin: 0!important;
    padding: 14px 14px 14px 14px!important;
    border: 4.5px solid rgba(0,0,0,0)!important;
    background-color: #c65d28;
    border-radius: 10px;
}


ul#menu-menu>li:last-child>ul {
  right:-8vw;
	margin-top: 2.1vw;
}

div.submit-nofloat div.et_contact_bottom_container {
  display: inline-block !important;
  float: none !important;
}


div.submit-nofloat button {
	height: 74px !important;
}

div.submit-nofloat form.et_pb_contact_form  {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* JCF is a plugin that deals with event date formatting and placement */

div.jcf-value-inputtext-_event-date .jcf-field-content {
	  color: white;
    font-weight: 600;
	text-indent: 6px;
	font-size:18px;
}

article.post .jcf-field-content {
	color: white !important;
  text-shadow: -.5px -.5px 3px rgba(0, 0, 0, 0.16),
-.5px .5px 3px rgba(0, 0, 0, 0.16),
.5px -.5px 3px rgba(0, 0, 0, 0.16),
.5px .5px 3px rgba(0, 0, 0, 0.16);
}

article.post .et_post_meta_wrapper + div.entry-content .jcf-field-content {
	color: black !important;
    text-shadow: none;
	top: -70px !important;
	font-size: 18px !important;
}


div.et_pb_text_inner div.jcf-field-content {
    position: absolute;
    text-align: center;
    width: 100%;
    top: -13vw;
    font-size: 2.3vw;
}


h2.entry-title>a {
	color: white !important;
    text-shadow: -.5px -.5px 3px rgba(0, 0, 0, 0.16),
      -.5px .5px 3px rgba(0, 0, 0, 0.16),
      .5px -.5px 3px rgba(0, 0, 0, 0.16),
      .5px .5px 3px rgba(0, 0, 0, 0.16);
}

article.format-standard, div.below-menu {
    margin-top: 200px;
}

.et_pb_ajax_pagination_container article.format-standard {
    margin-top: 20px;
}

p.post-meta {
  display: none;
}

/* Format and place submenu containers. jQuery will place them horizontally */

nav li ul.sub-menu {
    background-color: rgba(255, 255, 255, 0.7) !important;
    column-count: 2;
    width: 640px !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: 0px;
    padding-top: 18px !important;
	padding-left: 0px !important;
	z-index: 85;
	transform: translate(-84px,0);
}

.fullwidth-menu li li a {
    width: 320px;
}

nav li ul.top-menu a {
    position: relative;
}

/* Green arrows on submenu hover items */

nav li ul.sub-menu .et-hover:hover::before {
	font-family: FontAwesome !important;
    content: '\f04b';
    position: absolute;
    left: 17px;
	text-align: right;
	color: #879637;
	top: 6px;
	transition-duration: 0s !important;
}

/* No hover background on submenu items */

#top-menu li li a {
	background-color: transparent !important;
}

/* Green arrows on main menu hover items */

nav>ul#top-menu>li:not(:last-child).et-hover>a::after {
	position:absolute;
	font-family: FontAwesome !important;
    content: '\f04b' !important;
	color: #879637;
	transform-origin: 0% 0%;
	transform: translate(0px, 48.5px) rotate(-90deg);
	left: calc(50% - 8px);
	transition: 0s !important;
}

nav>ul#top-menu>:last-child.et-hover>a::after {
	transform: translate(-800%, 6.4vw) rotate(-90deg) origin(0px,0px) !important;
	transition-duration: 0s !important;	
}

/* No green arrow on main menu items when NOT hovering */

nav>ul#top-menu>li>a::after {
  content: '' !important;
  transition: 0s !important;
}

nav>ul#top-menu>li.donate-hover.et-hover>a::after {
	content: none;
}

/* Fake some height on DONATE NOW so that submenu appears as mouse slides down
 * Uncomment this if DONATE NOW has a submenu

body:not(.page-id-3464) nav>ul#top-menu>li.et-hover:last-child>a::after {
  content: '3' !important;
	height:150px !important;
	width:170px;
	opacity:0;
}
*/

nav>ul#menu-menu>li>a {
  padding-right: 0px;
}

/* Height on main menu items so submenu appears as mouse slides down */

ul#menu-menu>li {
  padding-bottom: 42px;
}

/* Sub menu top position */

ul.sub-menu {
  top: 51px;
  padding-top: 0px;
}

/* Sub menu top position for DONATE NOW */

ul#top-menu>li:last-child>ul {
  top: 68.5px;
  padding-top: 0px;
}


@media only screen and (max-width: 980px) {
.et_pb_posts .et_pb_post a img, .archive .et_pb_post a img, .search .et_pb_post a img {
    float: none;
    max-width: 100%!important;
  }
}

@media only screen and (max-width: 980px) {
	.et_pb_contact_field {
	  width: 80% !important;
	  max-width: 80% !important;
	  padding-left: 12px !important;
	 }
}

.land-image img {
  margin-top: -260px;
}

.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

/* Image slider goodness */

div.wpsisac-slick-image-slide.slick-slide:not(.slick-center) .wpsisac-img-wrap:after {
	position: absolute;
	content: '';
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: background 0.9s  !important;
}

div.wpsisac-slick-image-slide.slick-slide.slick-center .wpsisac-img-wrap:after {
	position: absolute;
	content: '';
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0) !important;
	transition: background 0.9s  !important;
}

h2.wpsisac-slide-title {
	font-size: 30px !important;
    letter-spacing: 0px;
	font-weight:500;
	text-shadow: -.5px -.5px 3px rgba(0, 0, 0, 0.16),
       -.5px .5px 3px rgba(0, 0, 0, 0.16),
       .5px -.5px 3px rgba(0, 0, 0, 0.16),
       .5px .5px 3px rgba(0, 0, 0, 0.16);
}

a.wpsisac-readmore a.wpsisac-slider-readmore:hover, a.wpsisac-readmore a.wpsisac-slider-readmore:focus {
/*	background: rgba(0,0,0,0.5); */
	border: 3px solid white !important;
    border-radius: 10px;
	font-size: 16px !important;
	padding: 10px 14px !important;
	text-transform:uppercase;
	font-weight: 800 !important;
	text-shadow: -.5px -.5px 3px rgba(0, 0, 0, 0.16),
       -.5px .5px 3px rgba(0, 0, 0, 0.16),
       .5px -.5px 3px rgba(0, 0, 0, 0.16),
       .5px .5px 3px rgba(0, 0, 0, 0.16);
}

.wpsisac-readmore>a {
	text-transform: uppercase;
	font-weight: 800 !important;
	background:rgba(0,0,0,0) !important;
}

a.wpsisac-slider-readmore:hover, a.wpsisac-slider-readmore:focus {
	background: rgba(0,0,0,0.0) !important; 
}

.wpsisac-slick button.slick-next {
	background: rgba(0, 0, 0, 0.0) url(/wp-content/plugins/wp-slick-slider-and-image-carousel-pro/assets/images/arrow-right.png) center center no-repeat !important;
	right: 20px !important;
}

.wpsisac-slick button.slick-prev {
	background: rgba(0, 0, 0, 0.0) url(/wp-content/plugins/wp-slick-slider-and-image-carousel-pro/assets/images/arrow-left.png) center center no-repeat !important;
	left: 20px !important;
}

ul.slick-dots {
	display: none !important;
}

.wpsisac-slick-variable.wpsisac-prodesign-13 .wpsisac-slider-content {
	top: 260px;
}

/* Position post title on top of header image */

article.post .et_post_meta_wrapper h1 {
    position: absolute;
    z-index: 5;
    top: 82%;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 3vw;
/*    text-transform: uppercase; 
	    font-variant: small-caps; */
    text-shadow: -.5px -.5px 3px rgba(0, 0, 0, 0.16),
       -.5px .5px 3px rgba(0, 0, 0, 0.16),
       .5px -.5px 3px rgba(0, 0, 0, 0.16),
       .5px .5px 3px rgba(0, 0, 0, 0.16);
}

article.post .et_post_meta_wrapper {
	width: 100% !important;
	max-width:100% !important;
	position: relative;
}

article.post .et_post_meta_wrapper img {
    top: 0;
    left: 0;
/*    margin-top: -254px; */
	margin-top:0px;
	width:100%;
}

.ranch-copy p {
	margin-top: -10px;
}

.white-link a {
	color: white;
}

.white-link a:hover {
	color: #ddd;
}

.bb-header-img.et_pb_row.et_pb_row_fullwidth  {
    width: 100%!important;
    max-width: 100%!important;
}

.hide-desktop .et_contact_bottom_container {
	float: left !important;
}

.hide-desktop .et_pb_contact {
	left: 0vw;
}

@media (max-width: 980px) {
    p.et_pb_contact_field, div.et_contact_bottom_container, div.et_contact_bottom_container button {
	   width: 100% !important;
	}
	.et_pb_contact_form {
		margin-left:0px !important;
	}
}

div#footer-section {
	background-size: contain;
}

@media only screen and (max-width: 980px) {
    .et_pb_posts .et_pb_post a img, .archive .et_pb_post a img, .search .et_pb_post a img {
	    padding-right:0px;
    }
	article.post .et_post_meta_wrapper h1 {
		top: 113% !important;
		font-size:25px;
		text-shadow: normal;
		color: black;
		display:none;
	}
	.et_pb_posts article {
		margin-top:20px !important;
	}
	article.post .et_post_meta_wrapper {
		margin-bottom: 30px;
	}
}

article.et_pb_post {
	margin-top:34px;
}

div.wide-header {
	width: 100%;
	max-width: 100%;
	padding-top: 0px;
	padding-bottom:32px;
}

@media only screen and (min-width: 980px) {
	.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
		padding-bottom: 6vw !important;
	}
}

div#et_mobile_nav_menu>ul>li>ul>li {
	background-color: rgba(255,255,255,255);
}

div.partner-logos img {
	width: 4vw;
}

div.partner-logos-mobile img {
	width: 7vw;
}

.blackbaud-hide {
	display:none;
}

/* Place main menu to right with 5% margin */

div.container.et_menu_container {
	width:95% !important;
	max-width:none;
}

/* Column width of submenu */

ul.sub-menu>li>a {
	width: 270px !important;
    padding-right: 0px !important;
}

/* Center menu vertically */

div#et-top-navigation {
    padding-top: 17.5px!important;
}

/* BB Menu vertical */

body.page-id-3464 div#et-top-navigation {
    padding-top: 34.5px!important;
}

#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; 

}
#main-header .et_mobile_menu .menu-item-has-children > a:after {
	font-family: 'ETmodules';
	text-align: center;
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	position: absolute; 
}

#main-header .et_mobile_menu .menu-item-has-children > a:after {
	font-size: 16px;
	content: '\4c';
	top: 8px;
	right: 3vw; 
}

#main-header .et_mobile_menu .menu-item-has-children.visible > a:after {
	content: '\4d'; 
}

#main-header .et_mobile_menu ul.sub-menu {
	display: none !important;
	visibility: hidden !important; 
	transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu .visible > ul.sub-menu {
	display: block !important;
	visibility: visible !important;
}

ul#mobile-menu.et_mobile_menu {
	top: 64px !important;
	left: 41% !important;
    width: 70% !important;
}

div#et_mobile_nav_menu {
	position: fixed;
	right:20px !important;
	top: 20px;
}

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
    position: fixed;
	top: 64px !important;
    left: 155px!important;
    width: calc(100% - 155px)!important;
	border-top: none;
}

#main-header .et_mobile_menu .visible>ul.sub-menu {
    display: block!important;
    visibility: visible!important;
}

#main-header .et_mobile_menu ul.sub-menu {
    display: none!important;
    visibility: hidden!important;
    transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul {
	padding-left:0px;
}

.et_mobile_menu ul.sub-menu>li>a {
	width:85% !important;
}

span.et_divi_100_custom_hamburger_menu__icon div {
	background: #879637;
}

.no-table-border table, .no-table-border td {
	border: none !important;
	padding-left: 0px !important;
}

section #huge_it_videogallery {
	background-color:white !important;
	box-shadow: none !important;
}

article.post, div#left-area {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
} 


@media only screen and (max-width: 980px) {
	article.post div.et_post_meta_wrapper img {
		margin-top: -92px !important;
	} 
}

div.green-biz {
	margin-left:7vw !important;
}

/* Submit button format */

div.malt-contact .et_contact_bottom_container {
	width: 200px;
}

/* Clearance for some photos within page/post text modules */

.photo-right {
	clear:both;
	float: right;
	margin-top: 16px;
	margin-bottom:16px;
}

/* Search goodness */

.search-box {
	margin-right: 0px !important;
}

.search-close {
	margin-right: 0px !important;
}

@media only screen and (min-width: 908px) {
	.search-box input {
	    margin-top: -8px;
	    height: 20px;
	}
	.search-box a {
	    padding-bottom: 0px;
	}
}

@media only screen and (max-width: 980px) {
	.search-close {
		display: none !important;
	}
	.search-icon {
		display: none;
		position: absolute;
		right: 40px !important;
	}
	.search-box input,
	.search-box {
		width: 100%;
	    margin-top: -8px;
	    height: 20px;
	}
}

div.search-results h2 {
	position: relative !important;
}

div.search-results h2 a {
	color: olivedrab !important;
	text-shadow: none;
}

div.search-results .jcf-field-content {
	display: none !important;
}

.footer-links a {
	color: white;
}

.jcf-field-content {
	display: none;
}

h2.entry-title {
	display: none !important;
}

@media (max-width: 980px) {
	.et_pb_contact_submit {
		margin:0px;
	}
	p.et_pb_contact_field {
		margin-bottom: 20px !important;
		max-width: 100% !important;
	}
}

#main-header .et_mobile_menu {
	transition: 0.00001s !important;
}

#top-menu>li>ul, #top-menu>li>a:after {
	transition: 0s !important;
}

#top-menu-nav ul li a:not(:hover):after {
	display: none;
}

@media (min-width: 980px) {
	article div.et_post_meta_wrapper {
		padding-top: 85px !important;
	}
}

@media (max-width: 980px) {
	article a.entry-featured-image-url img {
		margin-bottom: 20px !important;
	}
}

@media (max-width: 980px) {
	table.mobile-fin-table {
		width: 100%;
	}
	table.mobile-fin-table td {
		padding-right:6px;
		padding-left: 0px;
		width: 25%;
	}
}

/* Video page */

.video-element h3 {
	color: olivedrab !important;
	font-size: 14px !important;
	font-weight: bold !important;
}

@media (max-width: 980px) {
	.malt-bio h2 {
		line-height: 1.2em !important;
	}
}

@media (max-width: 980px) {
	div#page-header-image + div.et_pb_text {
		top: 113% !important;
	}
	div#page-header-image + div.et_pb_text h1, h1.entry-title {
		color: #000 !important;
		text-shadow: none;
		font-size: 25px;
		letter-spacing: normal;
	}
	div.wide-header {
		margin-bottom:30px !important;
	}
	article>div.et_post_meta_wrapper {
		padding-top: 118px !important;
	}
	.protect-special, .donate-special {
		top: 80px !important;
	}
	div.home-we-work {
		padding-bottom: 0px !important;
		margin-bottom: -10px !important;
	}
}

div.search-results div.et_pb_row {
    margin-bottom: 0px;
    border-bottom: 2px solid #cbd1a8 !important;
    margin-top: 20px;
}

div.search-results div.et_pb_row:first-of-type {
    margin-bottom: 0px;
    border-bottom: 2px solid #cbd1a8 !important;
    margin-top: -20px;
}

.hilite {
	background-color: white !important;
	color: #55601c !important;
	font-weight: 700;
}

div#top-header {
	height: 32px !important;
}

div#et-secondary-menu {
	display:inline !important;
	position:fixed;
	right:20px;
}

ul#mobile_menu {
	max-width: 300px;
	width: 300px !important;
	left:calc(100% - 300px) !important;
}

span.m-donate {
	color: #879637;
	font-weight: 700;
	font-size: 17px;
}

a#malt-donate-button {
    position: fixed;
    top: 23px;
    left: calc(100% - 192px);
}


@media (max-width: 980px) {
	div#top-green + div.et_pb_section {
		padding-bottom: 0px !important;
	}
}
