/*
Theme Name: urbansoul
Theme URI: https://www.urbansouldesign.co.uk/
Author: urbansoul
Author URI: https://www.urbansouldesign.co.uk/
Description: An experimental block theme for designers, developers, and creators.
Text Domain: urbansoul
*/

/* Defaults
---------------------------------------------------------------------------- */
html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-size: 20px;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-block-button__link {
	transition: var(--wp--custom--standard-transition);
}

a,
a:focus,
a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

ol,
ul {
	margin: 0;
	padding: 0 0 0 12px;
	list-style-position: inside;
}

b,
strong {
	font-weight: var(--wp--custom--bold-weight);
}

blockquote {
	margin: 0;
}

sup {
	font-size: x-small;
}

/* Styles
--------------------------------------------- */
body {
	background: #fff;
	color: var(--wp--preset--color--black);
	max-width: 100%;
	overflow-x: hidden;
  position: relative;
	font-size: var(--wp--custom--html-font-size);
	font-family: var(--wp--custom--font-family-primary);
	line-height: var(--wp--custom--line-height-body);
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul:not(.sub-menu),
li > ol:not(.sub-menu) {
	margin-bottom: 0;
	margin-left: 1.5rem;
}

dt {
	font-weight: var(--wp--custom--bold-weight);
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	width: 100%;
	max-width: 100%;
}

figure {
	margin: 1rem 0;
}

table {
	margin: 0 0 1.5rem;
	width: 100%;
}

.wp-block-pullquote {
	border-radius: 30px;
	background-color: var(--wp--preset--color--off-white);
	padding: 30px;
}
blockquote {
	color: var(--wp--preset--color--teal);
}
.wp-block-pullquote p {
    margin-top: 0;
	color: var(--wp--preset--color--teal);
}
.wp-block-pullquote cite {
    color: var(--wp--preset--color--teal);
    font-size: var(--wp--preset--font-size--normal) !important;
	font-weight: var(--wp--custom--bold-weight);
}

/* Links
--------------------------------------------- */
a:focus, a:focus-visible {
	outline: 3px solid;
}

a:hover,
a:active {
	transition: var(--wp--custom--standard-transition);
	color: var(--wp--preset--color--black);
}

/* Forms
--------------------------------------------- */
.with_frm_style input[type=text],
.with_frm_style input[type=password],
.with_frm_style input[type=email],
.with_frm_style input[type=number],
.with_frm_style input[type=url],
.with_frm_style input[type=tel],
.with_frm_style input[type=file],
.with_frm_style input[type=search],
.with_frm_style textarea {
	padding: 16px;
	border-radius: 0;
	border-color: var(--wp--preset--color--light-blue);
	font-size: var(--wp--preset--font-size--normal);
	margin-bottom: 20px;
	color: var(--wp--preset--color--black);
}
::placeholder {
	color: var(--wp--preset--color--black);
	opacity: 1;
}

.with_frm_style .frm_required {
	color: var(--wp--preset--color--black);
}
.with_frm_style .vertical_radio .frm_checkbox label, .with_frm_style .vertical_radio .frm_radio label,
.with_frm_style .frm_top_container .frm_primary_label {
	font-size: var(--wp--preset--font-size--normal);
}
.with_frm_style .frm_radio input[type=radio], .with_frm_style .frm_checkbox input[type=checkbox] {
	width: 23px;
	height: 23px;
	padding: 3px;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5rem;
	margin-bottom: 1.5rem;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5rem;
}

.has-text-align-center {
	text-align: center;
	display: block!important;
	margin-left: auto!important;
	margin-right: auto!important;
}

/*--------------------------------------------------------------
# Mobile font sizes
--------------------------------------------------------------*/
@media (max-width:960px) {
	.has-giant-font-size {
		font-size: var(--wp--preset--font-size--xxxxxl) !important;
	}
	.has-xxxxxl-font-size {
		font-size: var(--wp--preset--font-size--xxxxl) !important;
	}
	.has-xxxxl-font-size {
		font-size: var(--wp--preset--font-size--xxxl) !important;
	}
	.has-xxxl-font-size {
		font-size: var(--wp--preset--font-size--xxl) !important;
	}
	.has-xxl-font-size {
		font-size: var(--wp--preset--font-size--xl) !important;
	}
	.has-xl-font-size {
		font-size: var(--wp--preset--font-size--large) !important;
	}
	.has-large-font-size {
		font-size: var(--wp--preset--font-size--normal) !important;
	}
}
@media (max-width:420px) {
	.has-xxxxxl-font-size {
		font-size: var(--wp--preset--font-size--xxxl) !important;
	}
	.has-xxxxl-font-size {
		font-size: var(--wp--preset--font-size--xxl) !important;
	}
	.has-xxxl-font-size {
		font-size: var(--wp--preset--font-size--xl) !important;
	}
	.has-xxl-font-size {
		font-size: var(--wp--preset--font-size--large) !important;
	}
	.has-xl-font-size {
		font-size: var(--wp--preset--font-size--normal) !important;
	}
	.has-large-font-size {
		font-size: var(--wp--preset--font-size--normal) !important;
	}
}

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/
.revert, .revert img:first-of-type {
	width: revert-layer;
	height: revert-layer;
}

.has-border-radius img {
	border-radius: 40px;
}

.noclip {
	overflow: inherit;
}
.wp-site-blocks header.wp-block-template-part p {
	margin-bottom: 0!important;
}
.wp-site-blocks {
	width: 100vw;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* .entry-content.wp-block-post-content {
	max-width: 100%!important;
	position: relative;
	display: block;
	z-index: 1;
} */

.wp-site-blocks > .wp-block-template-part > *:not(.wp-block-cover):not(.nav-outer-wrapper):not(.nav-overlay),
.wp-site-blocks > .wp-entry-content > *:not(.wp-block-template-part),
.wp-site-blocks > div:not(.entry-content):not(.alignfull),
.wp-site-blocks > .entry-content > *:not(.alignfull),
/* .wp-site-blocks > .entry-content .wp-block-cover__inner-container.is-layout-constrained, */
.page-template-wp-custom-template-page-full-width .wp-site-blocks .wp-block-post-title
 {
	max-width: var(--wp--style--global--content-size)!important;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}
body:not(.home) .wp-site-blocks header.wp-block-template-part {
	margin-bottom: 40px;
}
body:not(.home) .wp-site-blocks footer.wp-block-template-part {
	margin-top: 40px;
}
body:not(.home) .wp-site-blocks footer.wp-block-template-part a {
	text-decoration: none;
}
@media (max-width:599px) {
	.wp-block-cover.header-branding > .wp-block-cover__inner-container > .wp-block-columns {
		flex-direction: column;
	}
	.wp-block-cover.header-branding > .wp-block-cover__inner-container .wp-block-column:last-of-type .wp-block-group {
		justify-content: center;
	}
	.wp-block-cover.header-branding > .wp-block-cover__inner-container .wp-block-column:last-of-type .wp-block-group {
		font-size: 17px!important;
		gap: 20px;
		justify-content: space-between;
	}
	.wp-block-cover.header-branding > .wp-block-cover__inner-container .wp-block-column:last-of-type .wp-block-group a {
		font-size: 15px!important;
	}
	.wp-site-blocks nav button {
		position: absolute;
		top: -140px;
		right: 20px;
		z-index: 9;
	}
	.wp-site-blocks nav button.wp-block-navigation__responsive-container-close {
		top: 21px;
	}
	.wp-block-cover.header-branding > .wp-block-cover__inner-container .wp-block-column:last-of-type .wp-block-group .wp-block-button__link {
		padding: 6px 9px;
	}
}
.wp-block-cover {
	overflow-x: hidden;
}
.wp-block-cover.header-branding .wp-block-group p {
	margin-bottom: 0!important;
}
.wp-block-cover.is-style-full-link {
	cursor: pointer;
}
.wp-block-cover.is-style-full-link.white-arrow a:after {
	right: 90px;
}
.wp-block-file {
	position: relative;
}

.wp-block-file:hover a {
	color: var(--wp--preset--color--black);
	border: 1px solid #dadada;
}

.wp-block-file:before {
	content: "";
	background-image: url(/wp-content/themes/urbansoul/images/download-icon.svg);
	background-size: 22px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: var(--wp--preset--color--teal)!important;
	position: absolute;
	height: 35px;
	width: 35px;
	background-color: transparent;
	top: 50%;
	transform: translateY(-50%);
	left: 30px;
	border-radius: 5px;
	transition: all ease .3s;
}

.wp-block-file:hover:before {
	background-image: url(/wp-content/themes/urbansoul/images/download-icon-white.svg);
	background-color: var(--wp--preset--color--cyan)!important;
	pointer-events: none;
}

.wp-block-file a {
	color: var(--wp--preset--color--black);
	padding: 20px 20px 20px 70px;
	background-color: var(--wp--preset--color--smoke);
	margin-bottom: 15px;
	display: block;
	text-decoration: none;
	transition: all ease .3s;
	border: 1px solid var(--wp--preset--color--smoke);
}

.wp-block-file__button {
	display: none!important;
}

.wp-block-search {
	max-width: 210px;
	background-color: var(--wp--preset--color--smoke) !important;
	border-radius: 20px;
}
.wp-block-search.search-mobile {
	max-width:calc(100% - 12px)!important;
}
.wp-block-search input {
	background-color: var(--wp--preset--color--smoke) !important;
}
.wp-block-search__inside-wrapper {
	border-radius: 20px;
	padding: 10px;
	border-color: #E5E5E5;
	flex-direction: row-reverse;
}
.wp-block-search__button.has-icon {
	padding: 2px;
}
.wp-block-search__button svg {
	transform: scale3d(-1.5, 1.5, 1.5);
	fill: var(--wp--preset--color--text-colour);
}
.search-desktop {
	display: none;
}
.search-mobile {
	display: block;
}
@media (min-width:700px) {
	.search-desktop {
		display: block;
	}
	.search-mobile {
		display: none;
	}
}
.wp-block-post-template {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
}
.wp-block-post-template li {
	margin-top: 0;
	width: 100%;
}
.wp-block-post-template li > .wp-block-cover {
	border-radius: 10px;
	box-shadow: 0 0 12px 4px #d7d7d7;
}
.wp-block-post-template h2,
.wp-block-post-template h3 {
	padding: 40px 30px!important;
	margin-top: 0;
	font-size: var(--wp--preset--font-size--xxxl);
	font-weight: normal;
}
.wp-block-post-template h2 a,
.wp-block-post-template h3 a {
	text-decoration: none;
}
.wp-block-post-template figure {
	height: 350px;
	margin-bottom: 0;
}
.wp-block-post-template figure img {
	width: 100%;
	height: 100%;
	overflow: hidden;
	object-fit: cover;
}
.wp-block-query-pagination > .wp-block-query-pagination-next,
.wp-block-query-pagination > .wp-block-query-pagination-numbers > *,
.wp-block-query-pagination > .wp-block-query-pagination-previous {
	padding: 5px 15px;
	text-decoration: none;
	color: #fff;
}
.wp-block-query-pagination > .wp-block-query-pagination-next,
.wp-block-query-pagination > .wp-block-query-pagination-previous {
	background-color: var(--wp--preset--color--burgundy);
}
.wp-block-query-pagination > .wp-block-query-pagination-numbers > * {
	background-color: var(--wp--preset--color--teal);
	padding: 12px 15px;
}
@media(min-width:782px) {
	.wp-block-post-template li {
		margin-top: 0;
		width: calc(50% - 24px);
	}
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.wp-block-buttons.home-header-buttons{
	margin-top: 10px!important;
	flex-direction: column;
	border-radius: 0;
	width: 100%;
	row-gap: 10px;
}
.wp-block-buttons.home-header-buttons .wp-block-button{
	width: 100%!important;
}
.wp-block-buttons.home-header-buttons .wp-block-button .wp-block-button__link {
	border-radius: 50px!important;
}
@media(min-width:870px) {
	.wp-block-buttons.home-header-buttons{
		flex-direction: row;
		margin-top: -36px!important;
		z-index: 1;
		position: relative;
		border-top-left-radius: 100px;
		border-top-right-radius: 100px;
		border-bottom-right-radius: 100px;
		border-bottom-left-radius: 100px;
		overflow-x: hidden;
		overflow-y: hidden;
		box-shadow: 0 0 10px 0 #EDF1F4;
	}
	.wp-block-buttons.home-header-buttons .wp-block-button{
		width: calc(50% - var(--wp--style--block-gap, .5em)* .5)!important;
	}
	.wp-block-buttons.home-header-buttons .wp-block-button .wp-block-button__link {
		border-radius: 0!important;
	}
}
.wp-block-cover.is-style-full-link .wp-block-buttons:not(.home-header-buttons) .wp-block-button .wp-block-button__link,
.wp-block-buttons:not(.home-header-buttons) .wp-block-button .wp-block-button__link {
	min-width: 345px;
	max-width: 100%;
	position: relative!important;
	text-align: left;
}
.headteacher .wp-block-button__link {
	min-width: 100%!important;
}
.wp-block-buttons>.wp-block-button {
	max-width: 100%;
}
@media(max-width:781px) {
	.what-makes-us-different {
		padding: 25px!important;
	}
	.what-makes-us-different > .wp-block-column:first-of-type {
		padding-right: 0!important;
	}
	.what-makes-us-different > .wp-block-column:last-of-type {
		padding: 20px!important;
	}
	figure.wp-block-image.st-johns-tree {
		float: none!important;
		margin-left: auto!important;
		margin-right: auto!important;
	}
	.st-johns-tree img {
		width: 200px!important;
	}
}
@media(max-width:360px) {
	.headteacher .wp-block-button__link {
		min-width: 100%!important;
		padding: 15px 25px 10px 25px !important;
		line-height: 1;
	}
	.headteacher .wp-block-buttons:not(.home-header-buttons) .wp-block-button__link:after {
		right: 16px;
	}
}
@media(min-width:361px) {
	.headteacher .wp-block-button__link {
		min-width: caLc(100% + 35px)!important;
	}	
}
@media(min-width:1000px) {
	.headteacher .wp-block-button__link {
		min-width: 345px!important;
	}	
}
.wp-block-buttons:not(.home-header-buttons) .wp-block-button__link:after {
	content: '';
    cursor: pointer;
	position: relative;
	display: inline-block;
    transition: var(--wp--custom--standard-transition);
	--s: 4px; /* control the shape (can be percentage) */
    width: 15px;
	height: 30px;
	clip-path: polygon(0 0,var(--s) 0,100% 50%,var(--s) 100%,0 100%,calc(100% - var(--s)) 50%);
	background: #fff;
}
.wp-block-buttons:not(.home-header-buttons) .wp-block-button__link.has-green-background-color:after {
	background: #000;
}
.wp-block-buttons:not(.home-header-buttons):not(.focus-link-buttons) .wp-block-button .wp-block-button__link {
	display: flex;
    column-gap: 25px;
}
.wp-block-buttons:not(.home-header-buttons):not(.focus-link-buttons) .wp-block-button .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--orange)!important;
	text-decoration: none;
}
.wp-block-cover.is-style-full-link:hover .wp-block-buttons:not(.home-header-buttons) .wp-block-button .wp-block-button__link:after {
	right: 75px;
}
.wp-block-cover.home-news > .wp-block-columns {
	flex-direction: row;
}
.wp-block-cover.home-news > .wp-block-columns > .wp-block-column {
	flex-basis: 1;
}
.home .with_frm_style #frm_field_8_container .frm_checkbox {
	display: inline-block;
	width: 100%;
	margin-bottom: 25px
}
.home .with_frm_style .vertical_radio .frm_checkbox input {
	border-radius: 10px;
	width: 40px;
	height: 40px;
}
.home .with_frm_style .frm_fields_container input {
	border-radius: 10px;
	margin-bottom: 0;
}
.home .frm_form_field.form-field.frm_top_container {
	display: flex;
}
.home #frm_field_7_container {
	grid-column-start: 1;
	grid-column-end: 12;
	grid-row-start: 1;
	grid-row-end: 2;
}
	.home #frm_field_8_container {
	grid-column-start: 1;
	grid-column-end: 12;
	grid-row-start: 3;
	grid-row-end: 4;
	flex-direction: column;
}
.home #frm_field_3_container {
	grid-column-start: 1;
	grid-column-end: 12;
	grid-row-start: 2;
	grid-row-end: 3;
}
.home #frm_field_10_container {
	grid-column-start: 1;
	grid-column-end: 12;
	grid-row-start: 4;
	grid-row-end: 5;
	display: flex;
	justify-content: center;
}
.home #frm_field_6_container {
	grid-column-start: 1;
	grid-column-end: 12;
	grid-row-start: 5;
	grid-row-end: 6;
	display: flex;
	justify-content: center;
}
.home #frm_field_3_container label,
.home #frm_field_7_container label {
	font-size: var(--wp--preset--font-size--normal);
	top: 30px;
}
.home #frm_field_3_container.frm_label_float_top label,
.home #frm_field_7_container.frm_label_float_top label {
	top: -10px;
}
.home .frm_style_formidable-style.with_frm_style .frm_submit button,
.frm_style_formidable-style.with_frm_style .frm_submit button {
	background-color: var(--wp--preset--color--green);
	border-radius: 100px;
	border-color: var(--wp--preset--color--green);
	color: var(--wp--preset--color--text-colour);
	font-family: var(--wp--custom--font-family-heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--bold-weight);
	padding-top: 20px !important;
	padding-right: 30px !important;
	padding-bottom: 15px !important;
	padding-left: 30px !important;
	width: 300px;
	transition: var(--wp--custom--standard-transition);
}
.frm_style_formidable-style.with_frm_style .frm_submit button:hover,
.home .frm_style_formidable-style.with_frm_style .frm_submit button:hover {
	background-color: var(--wp--preset--color--white);
}
.home .focus-links .wp-block-column > .wp-block-cover {
	border-radius: 10px;
}
.home .focus-links .wp-block-column > .wp-block-cover figure {
	display: none;
}
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons {
	margin-bottom: 0;
	position: relative;
	height: fit-content;
	width: 100%!important;
	min-width: 100%!important;
	max-width: 100%;
}
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons:after {
	background-color: var(--wp--preset--color--cyan);
	content: '';
	width: 100%;
	height: 100%;
	position: absolute!important;
	top: 0;
	left: 0;
	z-index: -1;
}
.home .focus-links .wp-block-column:nth-of-type(2) > .wp-block-cover .wp-block-buttons:after {
	background-color: var(--wp--preset--color--orange);
}
.home .focus-links .wp-block-column:nth-of-type(3) > .wp-block-cover .wp-block-buttons:after {
	background-color: var(--wp--preset--color--green);
}
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons .wp-block-button,
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons .wp-block-button .wp-block-button__link {
	width: 100%!important;
	min-width: 100%!important;
	max-width: 100%;
}
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons .wp-block-button .wp-block-button__link:after {
	position: absolute!important;
}
.home .focus-links .wp-block-column > .wp-block-cover .wp-block-cover__inner-container {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
}

@media(min-width:480px) {
	.home .with_frm_style #frm_field_8_container .frm_checkbox {
		width: 45%;
	}
}
@media(min-width:782px) {
	.home .focus-links .wp-block-column > .wp-block-cover figure {
		display: block;
	}
	.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons {
		margin-bottom: -60%;
	}
	.home .focus-links .wp-block-column > .wp-block-cover .wp-block-buttons:after {
		display: none;
	}
	.home .focus-links .wp-block-column > .wp-block-cover .wp-block-cover__inner-container {
		display: block;
	}
	.home #frm_field_7_container {
		grid-column-start: 1;
		grid-column-end: 7;
		grid-row-start: 1;
		grid-row-end: 2;
		margin-bottom: 0;
		padding-top: 0;
	}
	.home #frm_field_8_container {
		grid-column-start: 7;
		grid-column-end: 12;
		grid-row-start: 1;
		grid-row-end: 3;
	}
	.home #frm_field_3_container {
		grid-column-start: 1;
		grid-column-end: 7;
		grid-row-start: 2;
		grid-row-end: 3;
		margin-bottom: 0;
		padding-top: 0;
	}
	.home #frm_field_10_container {
		grid-row-start: 4;
		grid-row-end: 5;
	}
	.home #frm_field_6_container {
		grid-column-start: 4;
		grid-column-end: 10;
		grid-row-start: 5;
		grid-row-end: 6;
	}
	.home #frm_field_3_container label,
	.home #frm_field_7_container label {
		top: 13px;
	}
	.home #frm_field_3_container.frm_label_float_top label,
	.home #frm_field_7_container.frm_label_float_top label {
		top: -25px;
	}
	.home .with_frm_style #frm_field_8_container .frm_checkbox {
		width: 100%;
	}
}
@media(min-width:1100px) {
	.home .with_frm_style #frm_field_8_container .frm_checkbox {
		width: 45%;
	}	
}
.home .animate {
	word-spacing: 30px;
	white-space: nowrap;
}

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/
::-webkit-scrollbar {
	width: 12px;
}
::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--black);
	border-left: 1px solid var(--wp--preset--color--smoke);
}
::-webkit-scrollbar-track {
	background-color: var(--wp--preset--color--white);
	border-left: 1px solid var(--wp--preset--color--smoke);
}
