/*wonky theme fuckery*/
:root :where(.is-layout-constrained) > :last-child {
	padding-bottom: 0 !important;
}

.wp-block-post-title {
	display: none;
}

.footer {
	top: 2em;
}

:root :where(.wp-block-cover) {
	border-right-width: 0 !important;
	border-left-width: 0 !important;
	width: 100% !important;
}

.heroimage {
	top: 0;
	position: relative;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.entry-header {
	display: none;
}

.entry-content {
	margin: 0 !important;
}

.site-content {
	padding: 0 !important;
}

/* roundcards to do normal cards across pages*/
.roundcard {
	border-radius: 25px;
	overflow: hidden;
	box-shadow: rgba(0,0,0,0.3) 2px 2px 2px 2px;
	position: relative;
	top: -2em;
	opacity: 100;
	z-index: 999;
	width: auto !important;
	margin-bottom: 1em;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #fff;
	margin-left: 1em;
}

.roundcard img {
	border-radius: 25px;
}

.roundcard h2 {
	color: #000 !important;
	font-weight: bold;
}

.roundcard li {
	color: #000;
}

.roundcard p {
	color: #000 !important;
}

/* round elements that need more freedom like color or buttons*/
.rounded {
	top: -2em;
	left: 2em;
	border-radius: 25px;
	overflow: hidden;
	width: 75% !important;
	height: 550px;
}

.rounded h4 {
	color: #fff !important;
}

/*servicecard to do roundcards on service page, fixed height with scrolls*/
.servicecard {
	border-radius: 25px;
	overflow: hidden;
	box-shadow: rgba(0,0,0,0.3) 2px 2px 2px 2px;
	position: relative;
	opacity: 100;
	z-index: 999;
	width: auto !important;
	margin-bottom: 1em;
	margin-left: 1em;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: white !important;
	height: 650px;
}

.servicecard h2 {
	color: #000 !important;
	font-weight: bold;
}

.servicecard li {
	color: #000;
}

.servicecard p {
	color: #000 !important;
	height: 175px !important;
	overflow-x: hidden;
}

h4 {
	font-weight: bold;
	color: rgb(79, 148, 212) !important;
}

.shortlist {
	border-radius: 25px;
	box-shadow: rgba(0,0,0,0.3) 2px 2px 2px 2px;
	margin-bottom: 1em;
	height: 125px;
	background-color: #FFF !important;
	display: inline-flex;
	padding: 10px;
}

.shortlist p {
	color: #000 !important;
	line-height: 0;
	position: relative;
	display: block;
	margin-left: -1em;
}

.shortlist img {
	height: auto;
	width: auto;
	margin-left: 2em;
}

/* form stuff */
.blue {
	border-radius: 25px;
	padding: 10px;
	background-color: rgb(79, 148, 212);
	margin-left: 2em;
	margin-bottom: 2em;
	margin-top: 2em;
}

.frm_button_submit {
	position: relative;
	left: 40%;
	right: 35%;
	width: 25% !important;
}

.frm_primary_label {
	color: #FFF !important;
	font-weight: bold !important;
}

/*=========================
===========Phones==========
=========================*/
@media (max-width: 480px) {
	.rounded {
		top: 1em;
		left: 0;
		border-radius: 25px;
		overflow: hidden;
		width: 110% !important;
		height: 550px;
	}
	
	.roundcard {
		width: 90% !important;
	}
	
	.wp-container-core-post-content-is-layout-1 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
		width: 90vw !important;
	}
	
	.wp-block-site-logo {
		width: 100%;
		margin: auto;
		left: auto;
		position: relative;
		display: inline-block;
		height: auto;
		text-align: center;
	}
	
	nav {
		position: sticky;
		z-index: 999;
		width: 100%;
		display: inline-block;
		margin: auto;
		left: auto;
		right: auto;
		text-align: center;
		align-content: center;
	}
	
	.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
		margin: auto;
		left: auto;
		right: auto;
		display: inline-block;
	}
	
	.wp-block-button {
		margin-top: 2em !important;
		margin-bottom: 1em !important;
		left: auto;
		right: auto;
	}
}