/**
Theme Name: crarental
Author: Mike Maltby
Author URI: http://wpastra.com/about/
Description: Astra theme customizations for CRARental.org
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crarental
Template: astra
*/

/* Fuzzy background on testimonials */
.home .wp-block-kadence-testimonials {
    background: rgb(16 88 152 / 90%);
    box-shadow: rgb(16 88 152 / 90%) 0 0 10px 10px;
    border-radius: 1em;
    overflow: visible;
}

.home.ast-single-post .entry-content {
    margin-bottom: 0;
    margin-top: 0;
}
/* End Fuzzy background on testimonials */

/* membee events */
.MembeeEventWrapper {
	display: flex;
	align-items: stretch;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: 2rem;
	font-family: 'Noto Sans',sans-serif;
	color: #4b4f58;
	line-height: 1.6;
	padding: 20px;
  }
  
  .MembeeEvent {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
	padding-bottom: 20px;
	margin: 0 auto;
	box-shadow: 0px 0px 15px #4B4F58;
	box-sizing: border-box;
	width: 350px;
	flex-shrink: 0;
	scroll-snap-align: center;
  }
  
  .MembeeBullet {
	  display: none;
  }

  .MembeeEventLink {
	display: flex;
	flex-direction: column;
	gap: 20px;
  }
  
  .MembeeEventLink_image {
	order: -1;
	min-height: 200px;
	background-color: #105898;
	display: block !important;
  }
  
  .MembeeEventLink_text {
	color: #3a3a3a;
	font-size: 1.125rem;
	font-family: 'Montserrat',sans-serif;
	font-weight: 700;
  }
  
  .MembeeEventLink_text:hover {
	color: #e93c42;
  }
/* end membee events */

.border img {
	border: thin solid;
}

.center-div {
    text-align: center;
}


/* Set media and text image to 100% width on small screens */

	.wp-block-media-text .wp-block-media-text__media img {
		width: 100%;
		padding: 1.5em;
	}


/* override astra default position: absolute */
@media (min-width: 921px) {
	.ast-theme-transparent-header #masthead {
		position: relative;
	}
}

/* Style single post title */
.ast-separate-container .ast-article-single {
	padding-top: 0;
}
.ast-separate-container #primary {
	margin-top: 0;
	padding-top: 0;
}
.ast-separate-container .ast-archive-description {
	padding: 0;
}

.ast-archive-description .ast-archive-title,
.ast-single-post .entry-title {
	font-size: 4em;
	text-align: center;
}

.ast-single-post .entry-content {
    margin-bottom: 1.75em;
    margin-top: 1.75em;
}
/* End Style single post title */

/* Make page featured image full width */
.title-bg-primary {
	/* Set background color in absense of image */
	background-color: var(--ast-global-color-7);
}
.title-bg-primary .wp-block-cover__inner-container {
	color: var(--ast-global-color-0);
}

.wp-block-cover {
	min-height: 225px;
}
@media screen and (max-width: 920px) {
	.wp-block-cover {
		padding-top: 1rem;
		padding-bottom: 1rem;
		min-height: 100px;
	}
}

.post-thumb.wp-block-cover {
	background-color: #000;
}

.ast-separate-container .ast-archive-description,
.entry-header .wp-block-cover.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.page img.wp-post-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    -o-object-fit: cover;
    object-fit: cover;
    outline: none;
    border: none;
    box-shadow: none;
	opacity: 50%;
}
/* End making page featured image full width */

/* Style Post Grid Blocks */
.uagb-post-grid .uagb-post__image {
	padding: 1.25em;
}

/* Style the Meet the Team Blocks */
.team-group {
	padding: 0;
}

.team-group .wp-block-group__inner-container {
  display: flex;
	
	flex-wrap: wrap;
	justify-content: center;
  gap: 1.5em;
}

.wp-block-uagb-team {
	flex-basis: 0;
	background-color: white;
	border: thin solid;
	border-radius: 1em;
	padding: .75em;
}

.has-ast-global-color-4-background-color .wp-block-uagb-team {
	background-color: var(--ast-global-color-6)
}

.wp-block-uagb-team:hover {
	box-shadow: 5px 5px 5px;
}

.uagb-team__wrap {
	height: 100%;
}

.uagb-team__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.uagb-team__content {
  display: grid;
	width: 200px;
	height: 100%;
  grid-template-rows: 150px
 auto 1fr;
	justify-content:center;
	padding: 0 1em;
}

@media screen and (max-width: 720px) and (min-width: 400px) {
	.wp-block-uagb-team {
		padding-left: 0;
	}
	
	.uagb-team__content {
		width: calc(100vw - 6em);
		grid-template-columns: 150px 1fr;
		grid-template-rows: auto 1fr;
	}
	
	.uagb-team__image-wrap {
		grid-column: 1;
		grid-row: 1 / 3;
		align-self: center;
	}
}

.uagb-team__title-wrap {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

h3.uagb-team__title {
	margin-bottom: 0;
}

.uagb-team__desc-wrap {
	align-self: end; 
}
/* End Meet the Team Blocks */


/* Style wpdm download page */
.wpdmpro-template-default iframe {
	height: 100%;
}

.wpdmpro-template-default.ast-separate-container .ast-article-single {
	padding: 0;
}

@media screen and (max-width: 768px) {
	.wpdmpro-template-default iframe {
		height: 600px;
	}

	.wpdmpro-template-default .row {
		flex-direction: column-reverse;
		gap: 1em;
	}
}
/* End style wpdm download page */

/* Make last menu option a button */
@media screen and (min-width: 921px) {
	.main-header-menu > li:last-child > a.menu-link {
		color: #fff !important;
		background-color: var(--color-primary);
		border-radius: 10px;
	}	
}

/* Style Archive Pages */
.archive .post-content {
    display: grid;
    grid-template-columns: 1fr 4fr;
    column-gap: 1.5em;
}

.archive .entry-header {
    grid-column-start: 1;
    grid-column-end: 3;
}

.archive .entry-content {
	margin-top: .5em;
}

.archive article.post {
	padding: 1.5em 3em;
}
/* End Style Archive Pages