/*
/*
 Theme Name:   Astra Child
 Description:  Child theme for theme "Astra"
 Author:       Teamlink
 Author URI:   https://www.google.com
 Template:     astra
 Version:      v1d0
 Text Domain:  Teamlink
*/

/* Typography */
body {font-size: 14px;  }

h1, h2, h3, h4 { margin-bottom: 0.5em;}
h1, h1.entry-title, .entry-content h1 { font-size: 2rem;}
h2 { font-size: 1.5rem;}
h3 { font-size: 1rem;}
h4 { font-size: 0.75rem;}

.single h2 { font-size: 1.5rem; border-bottom: 1px solid #000;  padding-bottom: 0.5rem; margin-top: 2rem;}
.single h3 { font-size: 1.1rem; padding-bottom: 0.5rem;}

/* Shared elements */
.clear {clear:both; width:100%;}
.spacer-short { height: 1rem;}
.spacer-medium { height: 4rem;}
.spacer-tall { height: 8rem;}

.flex-container, .flex-container-mobile { display: flex;
	flex-direction: row;  flex-wrap: nowrap; 
	justify-content: flex-start;
	row-gap: 1rem; column-gap: 1rem;
}
.container-row { width:100%; margin: 0.5em 0; clear: both; }
.container-row:first-child { margin-top: 0.25; }

hr {margin-top: 1.5rem; margin-bottom: 1.5rem; }


/* Common componeents */
button.button-secondary {
    background-color: #fff;
    color: #dd7a17;
    border: 2px solid;
    border-color: #dd7a17;
}
button.button-secondary:hover {border: 2px solid; border-color: #dd7a17;}
button.button-secondary:active {}




/* Page structure */
#primary { margin: 2em 0; }
.ast-plain-container.ast-no-sidebar #primary { margin: 2em 0; }








/* Astro  general - Narrow */	
@media (max-width: 544px) { 
	.ast-grid-common-col { padding-left:0; padding-right:0; } 
}



/* Organization archive */
	.organization-entries-header {}


/* Organization card */
		.organization-card { margin: 0 0 1em 0; box-shadow: 0px .66em 2em 0px rgba(0, 0, 0, .25); padding: 2rem; background-color:#fff;}
			.organization-card a {color: #000!important;}

/* Organization Shared */
		.organization a.title { font-size: 2rem; line-height: 1rem; font-weight:300;}

		.organization .container-logo { width:7rem; flex:none; margin: 0 0 1em 0; }
			.organization .container-logo img { width: 100%; }

		.organization dl, .organization ul  { margin: 0 0 1em 0;}
			.organization dl dt  { margin:0; font-weight: bold;}
			.organization dl dd, .organization ul li { margin: 0; line-height: 1.5rem; margin-bottom: 0.25rem; margin-left: 0!important; list-style-type: none;}
				/* .organization dl.locations-list dd, */ .organization ul.locations-list li { margin-bottom: 1.5rem;}
			.organization dl dd a { color:#0000FF; text-decoration:underline;}

		.organization button { 	}
		.organization ul.social-list { margin: 0; }
			.organization ul.social-list li { list-style-type:none; }

/* Organization Mobile styling */
@media (max-width: 700px) {
	.post-type-archive .organization .container-logo { width: 100%; clear: both; }
	.post-type-archive .organization .container-logo img { max-width: 6rem;}
}



/* Filters - Top */
/*
.filters-top-container { background-color: #f6f6f6; padding-top: 0.6rem; padding-bottom: 0.35rem; }
.filters-top-container h2 { font-size: 1.3rem; display:inline; }
.filters-top-container .facetwp-facet-locations {display:inline;}
		.filters-top-container .facetwp-facet input.facetwp-search,
			.filters-top-container .facetwp-facet input.facetwp-location { min-width: 200px;}
*/

/* Filters - Top, Narrow */
/*
@media (max-width: 544px) { .filters-top-container h2 { display:block; } }
*/

/* Filters - Sidebar Container */
/*
.filters-sidebar-container { float: left; width: 24rem; max-width:100%; flex: 1; }
.filters-sidebar-container h2 {font-size: 1.3rem; }
.filters-sidebar-container h3 {font-size: 1.1rem; margin-bottom: 0.5rem; margin-top: 1rem;}
.facetwp-slider-wrap { padding-bottom: 0.25rem;}
*/
.filters-container {margin-right: 1rem;}
.filters-container button,
.filters-container input,
.filters-container select,
.filters-container textarea,
.filters-container .ast-button,
.filters-container .ast-custom-button {font-size: 0.75rem;}

/* Organizations Archive - Entries Container */
.organization-entries-container { flex: 3; }

/* Reviews  ( page id 181 see template page-181.php */
.container-title .glsr-summary-text,
.container-title .glsr-summary-percentages {display:none;}

.page-id-181 header h1.entry-title { display: none; }
.page-id-181 .container-logo { width:5rem; flex:none; margin-right: 0.5rem; }
.page-id-181 h1.entry-title { font-size: 2rem; font-weight: 600;}
.page-id-181 .flex-container { align-items: center; }




/* Archive */

section.ast-archive-description {display:none;}


/* Chips */
.chip {
  padding: 0.5em 1rem;
  border-radius: 1rem;
  background-color: #f1f1f1;
}


/* FaceWP Styling */
.facetwp-facet {margin-bottom: 1em!important;}
.facetwp-input-wrap { margin-bottom: 0.5rem;}


/* Google Maps & ACF Helper Code */
.acf-map {
    width: 100%;
	max-width:60rem;
    height: 30rem;
    margin: 0.25em 0;
}
/* Google maps styling */
.gm-style-iw.gm-style-iw-c {width: 18rem;}
.gm-style-iw.gm-style-iw-c a { text-decoration: underline; color: #0000EE; margin-top: 0.25rem;}
.organization button.gm-ui-hover-effect {top:0!important; right:0!important;}



/* Reviews plugin style overwrites */
/* Hide secondary ratings if no rating */
.glsr-custom-coaching:has(.glsr-star-rating[data-rating="0.0"]) { display:none; }
.glsr-custom-facilities:has(.glsr-star-rating[data-rating="0.0"]) { display:none; }
.glsr-custom-competitiveness:has(.glsr-star-rating[data-rating="0.0"]) { display:none; }
.glsr-custom-culture:has(.glsr-star-rating[data-rating="0.0"]) { display:none; }
/* Other styling */
.glsr.glsr-default.glsr-ltr {margin-bottom: 0.5rem;}
.glsr-review {border-bottom: 1px solid #ccc; padding-bottom: 1.5rem; }
.glsr-default form.glsr-filters-form .wp-block-search__input { max-width: 20rem;}
.glsr-review-title h4 { font-size: 1rem; }
.glsr-default .glsr-review-date { font-style: normal; }
/* Submit a review form */
.glsr-field.glsr-field-rating { margin-bottom: 0.5rem;}
.glsr-description .glsr-description-assigned_terms {display:none;}
/* Filters */
.glsr-filter-status {}
	.glsr-filter-status a { text-decoration: underline; }
	.glsr-filter-status span, .glsr-filter-status label {display:none!important;}
.glsr-sort-by>label {}
	.glsr-default form.glsr-filters-form .glsr-sort-by>label, .glsr-default form.glsr-filters-form .glsr-filter-by>label { 
		font-family: inherit;
	}
	.glsr .glsr-filters form.glsr-filters-form .glsr-sort-by>label, .glsr .glsr-filters form.glsr-filters-form .glsr-filter-by>label {
		display: flex;
		font-size: 0.75rem;
		font-weight: inherit;
		line-height: inherit;
		text-transform: none;
	}


/* Filters */
.filters-container-filters {margin-top: 2rem; }
/* Filters expand collapse */
	.filters-container-filters-small { display: none; }
	.collapsible {
	  background-color: #dd7a17;
	  color: white;
	  cursor: pointer;
	  width: 100%;
	  border: none;
	  text-align: left;
	  outline: none;
	}
button.collapsible {width: auto;}
	.content {  max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; }


/* Shared Mobile styling */ 
@media (max-width: 700px) { .flex-container { display: inline;}	}

@media (max-width: 700px) { 
	.filters-container-filters {display:none;} 
	.filters-container-filters-small {display:block; } 
}