/*
CSS styles for HeyGov sections

Contents:
1. Global styles
2. Apps Banner
3. Forms
4. Venue availability
*/

.has-back-to-top-id .heygov-widget-button.bottom-right {
	bottom: 80px !important;
}
.has-back-to-top-class .heygov-widget-button.bottom-right {
	bottom: 80px; 
	right: 15px;
}


/* 1. HeyGov global styles*/

[v-cloak] {
	display: none;
}

*[class*='heygov-'] {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"!important;
}

.heygov-cursor-pointer {
	cursor: pointer;
}

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

.heygov-text-end {
	text-align: right;
}

.heygov-h3 {
	font-weight: 600;
	font-size: 22px;
	line-height: 36px;
	letter-spacing: 0.3px;
	color: rgba(0, 0, 13);
	text-decoration: none;
	margin: 0 !important;
}

.heygov-h6 {
	font-weight: 600;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0.3px;
	color: black;
	text-decoration: none;
	margin: 0!important; 

}

@media (max-width: 567px ) {
	h3.heygov-h3 {
		font-size: 16px!important;
	}
	h6.heygov-h6 {
		font-size: 12px!important;
	}
	article .entry-wrap  {
		padding: 0!important;
	}
}

.heygov-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: calc(100% + 20px);
	margin: 0 -10px 5px;
}

.heygov-col {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
	padding-left: 10px;
	padding-right: 10px;
}

.heygov-justify-content-center {
	justify-content: center;
}

.heygov-row-cols-2 {
	flex: 0 0 auto;
	width: 50%;
}

@media (min-width: 992px) {
	.heygov-row-cols-lg-5 {
		flex: 0 0 auto;
		width: 20% !important;
	}

	.heygov-row-cols-lg-4 {
		flex: 0 0 auto;
		width: 25% !important;
	}

	.heygov-row-cols-lg-3 {
		flex: 0 0 auto;
		width: 33.333% !important;
	}

	.heygov-row-cols-lg-2 {
		flex: 0 0 auto;
		width: 50% !important;
	}
}

@media (min-width: 768px) {
	.heygov-row-cols-md-4 {
		flex: 0 0 auto;
		width: 25%;
	}

	.heygov-row-cols-md-3 {
		flex: 0 0 auto;
		width: 33.333%;
	}
}

.heygov-mb-0 {
	margin-bottom: 0 !important;
}

.heygov-mb-3 {
	margin-bottom: 1.5rem !important;
}

.heygov-mt-3 {
	margin-top: 1.5rem !important;
}

.heygov-p-1 {
	padding: 0.5rem !important;
}

.heygov-p-2 {
	padding: 1rem !important;
}

.heygov-p-3 {
	padding: 1.5rem !important;
}

.heygov-pt-3 {
	padding-top: 1.5rem !important;
}

.heygov-my-2 {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

.heygov-m-2 {
	margin: 0.5rem !important;
}

.heygov-mx-2 {
	margin-left: 1rem !important;
	margin-right: 1rem !important;
}

.heygov-mx-1 {
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;
}

.heygov-px-3 {
	padding-right: 1rem !important;
	padding-left: 1rem !important;
}

.heygov-card {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
	transition: 0px 2px 10px rgba(0, 0, 0, 0.1) 0.2s ease-in-out;
	border-radius: 30px;
	overflow: hidden;
	width: 100%;
}

.heygov-card-header {
	border-radius: 30px 30px 0 0;
	padding: 1rem 1.5rem;
}

.heygov-card-body {
	padding: 1rem;
}

.heygov-card-title {
	margin-bottom: 0.5rem;
	position: relative;
}

.heygov-border-1 {
	border-width: 0.5px !important;
}

.heygov-text-dark {
	color: black !important;
	text-decoration: none;
}

.heygov-text-dark:hover {
	color: black !important;
	text-decoration: none;
}

.heygov-ratio {
	position: relative;
	width: 100%;
}

.heygov-ratio-1x1 {
	aspect-ratio: 1/1;
}


/* 2. Apps banner */

.heygov-apps-banner-wrapper {
	margin-top: 1rem;
	margin-bottom: 2rem;
}

.heygov-apps-banner {
	display: flex;
	flex-wrap: wrap;
	padding-top: 15px;
	padding-bottom: 15px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
}

.heygov-apps-banner-image {
	flex-grow: 1;
	flex-basis: 0;
	padding: 0 !important;
	border-radius: 10px;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
}

.heygov-apps-banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	margin: 0 !important;
}

.heygov-apps-banner-image-big {
	display: none;
	height: 90px;
}

.heygov-apps-banner-links {
	width: 100%;
	border-radius: 10px;
	margin-left: 15px;
	margin-right: 15px;
	text-align: center;
}

.heygov-apps-banner-links .heygov-link-ios,
.heygov-apps-banner-links .heygov-link-android {
	display: inline-block;
	margin: 0;
	padding: 0;

}

.heygov-apps-banner-links .heygov-link-ios {
	margin-bottom: 5px;
}

.heygov-apps-banner-links img {
	height: 40px;
	width: auto;
}

@media (min-width: 600px) {
	.heygov-apps-banner-image {
		margin-bottom: 0;
	}

	.heygov-apps-banner-links {
		flex: 0 0 150px;
		max-width: 150px;
	}

	.heygov-apps-banner-image-small {
		display: none;
	}

	.heygov-apps-banner-image-big {
		display: inline;
	}

	.heygov-apps-banner-links img {
		height: auto;
		width: 125px;
	}
}


/* 3. Forms embed */

.heygov-card-form {
	overflow: hidden;
} 

.heygov-card-form.has-icon {
	background-color: rgba(224, 224, 224, 0.4); 
}

.heygov-card-form.has-department {
	background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
}

.heygov-card-form .heygov-form-price {
	position: absolute;
	bottom: 0.2rem;
}

.heygov-card-form .heygov-card-body .heygov-form-icon {
	right: -1rem!important;
	top: -0.5rem!important; 
    position: absolute; 
    left: auto;
    color: #e0e0e0;
    opacity: 0.05!important;
    overflow: hidden;
	width: 8rem;
    height: 8rem;

}

@media (max-width: 575.98px) {
	.heygov-card-form .heygov-card-body .heygov-form-icon {
		width: 6rem;
	}
}


/* 4. HeyGov venue availability */

.heygov-venue-availability {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 10px 10px 6px;
	width: calc(420px + 20px);
	margin: 24px auto;
	cursor: default;
}

.heygov-venue-availability .month-disabled {
	color: #999;
	pointer-events: none;
}

.heygov-venue-availability-days,
.heygov-venue-availability-dates {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.heygov-venue-availability-days > * {
	font-size: 14px;
	color: #666;
	text-align: center;
}

.heygov-venue-availability-dates .venue-availability-date {
	display: block;
	cursor: not-allowed;
	line-height: 60px;
	font-size: 16px;
	border-radius: 2rem;
	text-align: center;
	color: #898c90;
	text-decoration: line-through;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.heygov-venue-availability-dates .venue-availability-date-today {
	background-color: #ecf2ff;
}

.heygov-venue-availability-dates .venue-availability-date-available {
	font-weight: bold;
	color: #2a9836;
	cursor: pointer;
	text-decoration: none;
}

.heygov-venue-availability-dates .venue-availability-date-available:hover {
	background-color: rgba(0, 0, 0, 0.06);
}

.heygov-venue-availability-dates .venue-availability-date-selected {
	font-weight: bold;
	color: #fff;
	background-color: #5e81f4;
}

.heygov-venue-availability-dates .venue-availability-date-selected:hover {
	background-color: #5e81f4;
	color: #ecf2ff;
}

.heygov-venue-slot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #e4f7e6;
	border-radius: 12px;
	padding: 15px;
	margin-bottom: 15px;
	color: #222;
	transition: transform ease-in-out 0.2s;
}

.heygov-venue-slot:hover {
	text-decoration: none;
	transform: scale(1.02);
}

.heygov-venue-slot .venue-slot-book-btn {
	display: inline-block;
	background-color: #5e81f4;
	color: #fff;
	padding: 5px 10px;
	border-radius: 12px;
	font-size: 14px;
}

.heygov-venue-slot.venue-slot-unavailable {
	pointer-events: none;
	background-color: #d6d6d6;
	color: #666;
}

@media (max-width: 800px) {
	.heygov-venue-availability {
		width: calc(350px + 20px);
	}

	.heygov-venue-availability-dates .venue-availability-date {
		line-height: 50px;
	}
}

@media (max-width: 450px) {
	.heygov-venue-availability {
		width: calc(280px + 20px);
	}

	.heygov-venue-availability-dates .venue-availability-date {
		line-height: 40px;
		font-size: 15px;
	}
}
