/*
Theme Name: Palouse Habitat for Humanity
Theme URI: http://northwest.media
Version: 1.0
Description: Custom theme developed for Palouse Habitat for Humanity
Author: Northwest Media
Author URI: http://northwest.media
template: bb-theme
*/


/* Utility - General */
.padding-top20 {
	padding-top: 20px;
}
.fl-builder-content a.fl-button, .fl-builder-content a.fl-button:visited {
	border-radius: 0px !important;
}
.hashtag-link {
    margin-top: -80px;
    padding-bottom: 80px;
    display: block;
}
.fl-col-small {
	max-width: 100% !important;
}
/* Navigation */

li.menu-item-221 {
	background: #43B02A;	
}
li.menu-item-221 a {
	color: #ffffff !important;
}

li.menu-item-221 ul.sub-menu li a {
	color: #428bca !important;
}
li.menu-item-221.current-menu-item > a{
	box-shadow: inset 1px -2.5px 3px rgba(255,255,255,0.7);
}
 .li.menu-item-221.current-menu-parent > a {
	box-shadow: inset 1px -2.5px 3px rgba(255,255,255,0.7) !important; 
 }
.current-menu-item > a {
	border-bottom: 1px solid #428bca;
}

li.current-menu-parent > a {
	border-bottom: 1px solid #428bca;
}
/* Landing page header graphic */
.landing .fl-row-content-wrap {
	/*background-position: top center !important;*/
	min-height: 400px;
}
/* Ways to Take Action Section */
#Action {
	background: #385988;	
}
#Action h2 {
	line-height: 36px;
	text-align: center;
}

#Learn img {
	height: 140px !important;
	width: auto;
	padding: 25px;
	background: #ffffff;
	z-index: 99;
	position: relative;
}
#Volunteer img {
	height: 140px !important;
	width: auto;
	padding: 20px 30px;
	background: #ffffff;
	z-index: 99;
	position: relative;
}
#Donate img {
	height: 140px !important;
	width: auto;
	padding: 25px 25px;
	background: #ffffff;
	z-index: 99;
	position: relative;
}
#Apply img {
	height: 140px !important;
	width: auto;
	padding: 20px 35px;
	background: #ffffff;
	z-index: 99;
	position: relative;
}

/* Event Organizer Section */

Disabled for the calendar to work. Only works with CSS disabled on front end. Is for posterboard.
.events h2 {
	margin: 0;
}
#event-board {
	position: relative;
}
#event-board-items {
	width: 100%;
}
#event-board-items .eo-eb-event-box {
	width: 49.9%;
	padding: 10px;
	margin: 0px;
	background: rgba(240,240,240,0.3);
	border-right: 5px solid #fff;
	margin-top: 5px;
}
.eo-event-board-items .eo-eb-date-container {
	float: right;
    text-align: center;
    width: 50px;
    line-height: 1.3;
    margin-left: 5px;
    
}
#event-board-items .eo-eb-date-day {
    display: block;
    margin: 0px;
    border: none;
    font-size: 32px;
}
#event-board-items .eo-eb-event-title a {
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
}
#event-board-items .eo-eb-event-meta {
	display: block;
	margin: 0;
	font-size: 12px;
}
.eo-event-board-items .eo-eb-date-container span {
	float: right;
    text-align: center;
    width: 50px;
    line-height: 1.3;
    color: #ffffff !important;
}
#event-board-items .eo-eb-event-meta-container {
	margin-bottom: 10px;
}


/* Footer */
.footer {
	background-image: url('/wp-content/uploads/2016/07/wood-light.png');
	background-repeat: repeat;
	background-position: center top;
	background-attachment: scroll;
	background-size: auto;
    background-color: #385988; 
}
.footer h4 {
	color: #ffffff;
	margin-bottom: 10px !important;
	font-weight: 600;
}
.footer p {
	color: #ffffff;
}
.footer .fl-rich-text ul {
	padding: 0;
	margin: 0;
}
.footer .fl-rich-text ul li {
	list-style-type: none;
}

.footer ul li img.alignnone {
	margin: 0px;
}

ul.footer4ways li {
	text-align: center;
	display: none;
}
.footer a {
	color: #ffffff !important;
}

.footer .fl-icon {
	font-size: 40px;
}
.footer .fl-module-content.fl-node-content {
	margin: 0;
}
.footer .fl-module-heading .fl-heading {
	margin-bottom: 10px !important;
}
.footer .fl-col-content {
	margin: 0 10px !important;
}
.footer .fl-icon {
	padding: 0px 10px;
}

/*Gravity Forms*/
#contact_form {
	display: none;
	background-size: auto;
    background-color: #385988;
}
	#contact_form h2 {
		color: #ffffff;
	}
#newsletter_form {
	display: none;
    background-color: #385988;
    color: #ffffff;
}
	#newsletter_form h2 {
		color: #ffffff;
	}
.front-page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	border-radius: 0px;
}
.front-page .gform_wrapper textarea {
	border-radius: 0px;
}
.front-page .gform_wrapper .top_label .gfield_label {
	color: #ffffff;
}
.front-page .gform_wrapper label {
	color: #ffffff;
}
.front-page button, input[type=button], input[type=submit] {
	border-radius: 0px;
	background: #43B02A;
}
	.front-page button, input[type=button]:hover, input[type=submit]:hover {
		background: #43B02A;
	}
.front-page .gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background: transparent !important

}
.front-page .gform_wrapper .gfield_error .gfield_label {
	color: #ffffff !important;
	font-weight: bold !important;	
}
.front-page .gform_wrapper .validation_message {
	color: #ffffff !important;
	font-weight: bold !important;	
}
.close {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  overflow: hidden;
}
.close:hover::before, .close:hover::after {
  background: #ffffff;
}
.close::before, .close::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #ffffff;
}
.close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.close.thick::before, .close.thick::after {
  height: 4px;
  margin-top: -2px;
}



/* lightBoxSlider */	
#lightboxSlider .fl-row-content-wrap {
	padding: 0px !important;
}
#lightboxSlider .fl-module-content {
	margin: 0 !important;
}

#lightboxSlider .lightboxSliderContainer {
	display: block;
	position: relative;
	width:100%;
	height:300px;
	overflow: hidden;
	margin-bottom: -10px;
}
#lightboxSlider .lightboxSlider {
	position: absolute;
	left: 0;
	top; 0;
}
	#lightboxSlider .lightboxSlider img {
		display: inline-block;
		height: 300px;
		width: 300px;
		cursor: pointer;
	}

#lightboxSlider .lightboxSliderLeft {
	display: block;
	background: transparent;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 300px;
	width: 300px;
	z-index: 99;
	cursor: w-resize;
}
#lightboxSlider .lightboxSliderRight {
	display: block;
	background: transparent;
	position: absolute;
	right: 0;
	bottom: 0;
	height: 300px;
	width: 300px;
	z-index: 99;
	cursor: e-resize;
}
@media screen and (max-width: 1168px) {
	#lightboxSlider .lightboxSliderLeft {
		display: none;
	}
	#lightboxSlider .lightboxSliderRight {
		display:none;
	}
}




.modal {
	display: block;
	position: fixed;
	top:0;
	left:0;
	z-index: 9999;
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,0.9);
}
.modal .previous {
	font-size: 48px;
	position: absolute;
	left: 20px;
	top: 45%;
	z-index: 9999;
	color: #ffffff;
	cursor: pointer;
}
.modal .next {
	font-size: 48px;
	position: absolute;
	right: 20px;
	top: 45%;
	z-index: 9999;
	color: #ffffff;
	cursor: pointer;
}
@media screen and (max-width: 960px) {
	.modal .previous {
		display: none;
	}
	.modal .next {
		display: none;
	}	
}


.modal-container {
	position: relative;
	overflow: scroll;
	height: 100%;
	z-index: 9990
}
.modal-container p {
	text-align: center;
}
.modal-container p img {
	max-height: 100%;
	max-width: 100%;
}
/*
.close.heavy::before, .close.heavy::after {
  height: 12px;
  margin-top: -6px;
}

.close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 9999;
}
.close:hover::before, .close:hover::after {
  background: #d12329;
}
.close::before, .close::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #fff;
}
.close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
*/





/* Media Queries */
@media screen and (min-width: 992px) {
#Action h2 {
	text-align: left;
}

#Volunteer {
	margin-top: -30px;
	transition: margin-top 0.25s ease-in-out;
}

#Volunteer:hover {
	margin-top: -50px;
	transition: margin-top 0.25s ease-in-out;
}
#Donate {
	margin-top: -10px;
	transition: margin-top 0.25s ease-in-out;
}
#Donate:hover {
	margin-top: -30px;
	transition: margin-top 0.25s ease-in-out;
}

#Apply {
    position: relative;	
    margin-top: -10px;
    transition: margin-top 0.25s ease-in-out;
}

#Apply:hover {
	margin-top: -30px;
	transition: margin-top 0.25s ease-in-out;
}

#Learn {
	margin-top: -10px;
	transition: margin-top 0.25s ease-in-out;
}

#Learn:hover {
	margin-top: -30px;
	transition: margin-top 0.25s ease-in-out;
}

ul.footer4ways li {
	text-align: right;
	display: block;
}

}
@media screen and (max-width: 768px) {
	li.menu-item-221 ul.sub-menu li a {
		color: #ffffff !important;
	}
	.footer {
		text-align: center !important;
	}	
	.footer .fl-icon-group.fl-icon-group-center {
		display: block;
	    text-align: center;
	    width: 220px;
	    margin: 0 auto;
	}
}

