/*
Theme Name:     Boxcar Ann Arbor YMCA Child theme
Theme URI:      
Description:    Divi child theme.
Author:         Boxcar Studio
Author URI:     https://boxcarstudio.com
Template:       Divi
Version:        0.1.0
*/

/* WEBSITE COLORS:
 * black = #231f20
 * gray = #636466
 * white = #ffffff
 * greens = #20bdbe  #01a490  #006b6b
 * blues = #00aeef  #0089d0  #0060af
 * purples = #f5f9ff  #92278f  #5c2e91
 * reds = #f15922  #ed1c24  #a92b31
 * oranges = #fcaf17  #f47920  #dd5828 */

/***** TYPOGRAPHY *****/
h1, h2, h3 {
	font-weight: 700;
	letter-spacing: -1px;
}
#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul {
    margin-left: 2em;
}

.et_pb_bg_layout_dark a {
	color: #fff !important;
}

.et_pb_module_header a {
	text-decoration: underline !important;
}

.cachet-font { /*for special instances like green ul on homepage*/
    font-family:'Cachet Bold',Helvetica,Arial,Lucida,sans-serif;
	text-transform: uppercase !important;
	font-weight:normal !important;
}

/* Instantly resize rows */
.row-full {
	width: 100%;
	max-width: none;
}
.row-wide {
	width:90%;
}

/* Faux-flex styling (mostly home/footer) */
.flex-column {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.footer-links {
	flex-basis: 25%;
}

/** Box hover animation (home) */
.box-gradient{
	position: relative;
	min-height: 200px;
	background-image: linear-gradient(52deg,rgba(0,137,208,0.85) 0%,rgba(0,137,208,0.85) 36%,rgba(0,137,208,0.45) 36%,rgba(0,137,208,0.45) 43%,rgba(255,255,255,0) 43%);
  z-index: 1;
}
.box-gradient::before{
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(52deg,rgba(0,137,208,0.9) 0%,rgba(0,137,208,0.9) 43%,rgba(0,137,208,0.45) 43%,rgba(0,137,208,0.45) 50%,rgba(255,255,255,0) 50%);
  z-index: -1;
  transition: opacity 250ms linear;
  opacity: 0;	
}
.box-gradient:hover::before{
	opacity: 1;
}

/* Number Counter - Change Counter Symbol*/
.counter-dollar .percent .percent-value:before {
    content: '$';
    display: inline-block;
}

/***** SMART SLIDER 3 *****/

.homeslider-content {
background: rgb(1,164,144);
background: linear-gradient(122deg, rgba(1,164,144,0.6) 0%, rgba(1,164,144,0.6) 17%, rgba(1,164,144,0.35) 17%, rgba(1,164,144,0.35) 22%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 90%, rgba(1,164,144,1) 90%, rgba(1,164,144,1) 100%);
  z-index: -1;
}
.homeslider-txt {
	left: 5%;
}
.homeslider-hover:hover {
	background-color: #000000AB !important;
}

/***** FacetWP *****/
/* Home Events Feed */
.facetwp-template article.post {
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}
.col.date {
	flex-basis: 25%;
}

.col.title {
    flex-basis: 75%;
}

.col.title a{
	color: #0060AF;
	font-size: 20px;
	text-transform: uppercase;
}

.col.title a:hover{
	color: #92278f;
	border-bottom: solid 2px #92278f !important;
}


span.date_block {
	display:flex;
	flex-wrap: wrap;
	flex-direction: column;
	background-color: #92278F;
	justify-content: center;
	align-content: center;
	font-family: 'Cachet Bold',Helvetica,Arial,Lucida,sans-serif;
	color: #ffffff;
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	padding: 5px;
}

/** BLOG MODULE 

@media only screen and (min-width: 1080px) {
    .et_pb_post.has-post-thumbnail .entry-featured-image-url {
        float: left;
        width: 30%;
        margin-right: 4%;
    }
    .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
        padding-left: 34%;
    }
}*/

/********** FACET WP **********/

/* Staff & Board Directory Feeds */
.fwpl-layout.staff-directory {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:center;
	align-content: space-between;
	align-items:stretch;
}

.fwpl-result, .fwpl-layout, .fwpl-row, .fwp-staff-indv {
	display:flex;
}

.fwpl-col.fwpl-col.fwp-staff-column {
	display:flex;
	flex-wrap:wrap;
	justify-content:center !important;
	align-items:flex-start !important;
}

.fwp-staff-indv {
	width: 310px;
	padding: 25px;
	background-color: #ffffff;
	border-radius: 8px;
	margin:1em;
	flex:1;
}

.fwpl-item {
	width: 225px;
}

.fwp-staff-img {
	width: 225px !important;
	height: 225px !important;
	object-fit:cover !important;
	overflow:hidden;
	border-radius: 8px;
}

.fwp-staff-name h2{
	font-size: 20px !important;
}

.fwp-staff-email {
	border-top: solid 1px #20bdbe;
	  overflow-wrap: break-word;

}

/* Staff Directory Filters & Search */

input.facetwp-search, select.facetwp-dropdown, .fs-label-wrap {
	border-radius: 8px;
	font-size:20px;
	height:40px;
	min-width: 305px;
}

.facet_filters {
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:center;
	gap:calc(100% - 610px);
	padding-left: 120px;
	padding-right: 120px;
}

.facet_group{
	min-width: 305px;
}

.facetwp-icon:before {
    background: url(/wp-content/uploads/2023/11/magnifying-glass-solid.svg) no-repeat !important;
		height: 20px !important;
}

.facetwp-icon{
	opacity: 1 !important;
	display: flex;
	align-items: center;
}

span.fs-arrow {
    background: url(/wp-content/uploads/2023/11/angle-down-solid.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    border: 0;
    width: 20px;
    height: 20px;
    display: block;
}

.fs-dropdown  {
	width: auto !important;
	border-radius: 8px;
	border: 1px solid #dddddd !important;
}

.fs-search {
	border-radius: 8px 8px 0px 0px;
}
/*
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	border: 1px solid #dddddd !important;

}*/

button.facetwp-reset.facetwp-hide-empty {
	background-color: #c6168d;
    border-width: 0px!important;
    border-radius: 8px;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
	font-family: 'Cachet Bold',Helvetica,Arial,Lucida,sans-serif;
	color: #ffffff;
	font-size: 20px;
	padding-bottom: .3em;
	padding-top: .3em;
	padding-left: 1em;
	padding-right: 1em;
}

button.facetwp-reset.facetwp-hide-empty:hover {
    background-color: #92278f;
	cursor: pointer;
	
}
.facet_group h2 {
	color: #0060af !important;
}

.facet_group label {
    font-size: 0;
    position: absolute;
    left: -10000px;
}