/*
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
*/

/* Priority
---------------------------------------------------------------------------- */
body.hide-title-yes .wp-block-post-title {
	display: none!important;
}

/* Defaults
---------------------------------------------------------------------------- */

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-size: 20px;
	overflow-x: hidden;
}

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

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-block-button__link {
	transition: all 0.2s ease-in-out;
}

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;
}

blockquote {
	margin: 0;
}

sup {
	font-size: x-small;
}

/* Styles
--------------------------------------------- */
body {
	background: #fff;
	max-width: 100%;
	position: relative;
	overflow-x: hidden;
}
body.opened {
  overflow: hidden;
}

.editor-styles-wrapper:after{
  display: none;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5rem;
}

/* ul:not(.sub-menu):not(.wp-block-post-template),
ol:not(.sub-menu):not(.wp-block-post-template) {
	margin: 0 0 1rem 1rem;
} */

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;
}

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

.entry-content ul:not(.wp-block-post-template) li,
.entry-content ol:not(.wp-block-post-template) li {
	position: relative;
	margin: 0 0 20px 40px;
}

.entry-content ul li::marker {
	color: var(--wp--preset--color--black);
}

dd {
	margin: 0 1.5rem 1.5rem;
}

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

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

figure {
	margin: 1em 0;
}

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

i, em {
	font-family: "Noto serif italic 400";
	font-size: 120%;
}

b, strong {
	font-weight: 500;
}

/* Links
--------------------------------------------- */
a:focus {
	outline: thin dotted;
}

/* Forms
--------------------------------------------- */
.frm_fields_container .frm_primary_label,
.with_frm_style .frm_radio label, 
.with_frm_style .frm_checkbox label {
	color: var(--wp--preset--color--navy);
}
.with_frm_style .frm_inside_container.frm_label_float_top > label {
	top: -10px;
	color: var(--wp--preset--color--white);
}
.with_frm_style .frm_inside_container > label {
	top: 24px;
	color: var(--wp--preset--color--black);
}
.with_frm_style .frm_radio, 
.with_frm_style .frm_checkbox {
	margin-right: 30px;
}
.with_frm_style .frm_radio input[type=radio]:before,
.with_frm_style .frm_checkbox input[type=checkbox]:before {
	box-shadow: inset 10px 10px var(--wp--preset--color--black);
}
.frm_style_formidable-style.with_frm_style .frm_submit button {
	background-color: var(--wp--preset--color--black);
	border-radius: 10px;
	color: var(--wp--preset--color--white);
	padding-top: 24px;
	padding-right: 24px;
	padding-bottom: 24px;
	padding-left: 24px;
	min-width: 208px;
	border: 0;
	cursor: pointer;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 10px 10px 0 0;
}

.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: 24px;
	border-radius: 0;
	border-color: var(--wp--preset--color--light-black);
	font-size: var(--wp--preset--font-size--large);
	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);
}

.filter-select {
	width: 100%;
	height: 50px;
	margin-bottom: 0px;
}


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* 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;
}


/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/
.entry-header h1, h1.entry-title {
	width: 100%;
	/* max-width: var(--wp--custom--content-size); */
	margin: 0 auto;
	position: relative;
	z-index: 1;
	color: var(--wp--preset--color--black);
	text-align: left;
}

#wp--skip-link--target {
	padding: 0!important;
	margin: 0!important;
}

/* Header
--------------------------------------------- */
header {
	position: relative;
	display: block;
	z-index: 2;
	margin-bottom: 40px;
}
header .wp-block-group > div {
	/* max-width: var(--wp--custom--content-size); */
	margin-left: auto!important;
	margin-right: auto!important;
}
header ul.wp-block-social-links {
	margin: 0!important;
}
header p {
	margin-bottom: 0!important;
}
/* Footer
--------------------------------------------- */
footer a {
	text-decoration: none;
}
footer ul {
	list-style: none;
}
.home footer > .wp-block-spacer {
	display: none;
}

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

.wp-block-post-content > *:not(.alignfull),
.blog .wp-block-query,
h1.wp-block-post-title {
	/* max-width: var(--wp--custom--content-size)!important; */
	margin-left: auto!important;
	margin-right: auto!important;
	padding: 0 20px;
	position: relative;
}
h1.wp-block-post-title {
	max-width: 1320px;
}

.wp-block-query-pagination span,
.wp-block-query-pagination a {
	text-decoration: none;
	background: var(--wp--preset--color--aqua);
  padding: 5px 10px;
  color: #fff;
  transition: all .2s ease-in;
}
.wp-block-query-pagination a:hover {
	background: var(--wp--preset--color--green);
}
.wp-block-query-pagination span {
	background-color: var(--wp--preset--color--grass-green);
}
.wp-block-query .wp-block-post-title a {
	text-decoration: none;
}
.wp-block-query .wp-block-post-title a:after {
	border-style: solid;
	border-width: 3px 3px 0 0;
	content: '';
	display: inline-block;
	height: 13px;
	left: 5px;
	position: relative;
	top: 6px;
	transform: rotate(45deg);
	vertical-align: top;
	width: 13px;
}

/* body .wp-site-blocks .wp-block-column * {
	padding: 0;
} */
.wp-block-cover {
	margin-top: 0;
}
.wp-block-cover.noclip {
	overflow: visible;
}

.wp-block-cover.hero-title {
	margin-bottom: 40px;
}
.wp-block-cover .wp-block-cover__inner-container, 
.wp-block-cover-image .wp-block-cover__inner-container {
	/* max-width: var(--wp--custom--content-size); */
}
.home .wp-block-cover.hero-title {
	display: none;
}

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

/* Member Practices */
.wp-block-query .member-practices .slick-track {
	display: flex;
}
.wp-block-query .member-practices li {
	border: 1px solid var(--wp--preset--color--red);
	border-radius: 15px;
	padding: 10px 10px 20px 10px;
	height: inherit!important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}
.wp-block-query .member-practices li figure,
.wp-block-query .member-practices li figure img {
	border-radius: 0!important;
	width: 100%!important;
}
.wp-block-query .member-practices li figure {
	margin-top: 0;
	margin-bottom: 0;
}
.wp-block-query .member-practices li .wp-block-group.image-title {
	gap: 10px;
}
.wp-block-query .member-practices li .wp-block-group img {
	width: 22px;
	height: 22px;
}
.wp-block-query .member-practices li .links {
	gap: 5px;
}
.wp-block-query .member-practices li a {
	text-decoration: none;
	color: var(--wp--preset--color--custom-1-e-4135);
	font-size: var(--wp--preset--font-size--tiny);
}
.wp-block-query .member-practices h5 {
	margin-top: 5px;
	margin-bottom: 0;
}

.wp-block-file {
	position: relative;
}

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


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

.wp-block-file:hover:before {
	background-image: url(images/download-icon-hover.svg);
	background-color: #fff;
}
.wp-block-file a {
	color: var(--wp--preset--color--black);
	padding: 20px 20px 20px 60px;
	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;
}

.ghostkit-accordion-item .ghostkit-accordion-item-heading > a {
	margin-bottom: 0px;
	text-decoration: none;
	margin-top: 0;
	color: var(--wp--preset--color--black);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 0;
}
.accordion-inner-wrapper {
	position: relative;
	width: 100%;
	border-bottom: 1px solid #e0e0e0;
}
.ghostkit-accordion-item .ghostkit-accordion-item-heading.open:after {
	transform: rotate(180deg);
	color: #fff;
	top: 30px;
	right: 20px;
	transition: all 300ms linear;
}
.ghostkit-accordion-item .ghostkit-accordion-item-heading {
	width: 100%;
	padding: 30px;
	text-decoration: none;
	transition: all ease 300ms;
	background-color: var(--wp--preset--color--smoke);
	border-bottom: 10px solid #fff;
}
.ghostkit-accordion-item .ghostkit-accordion-item-heading:hover:after {
	color: #0fbed2;
}
.ghostkit-accordion-item .ghostkit-accordion-item-heading:hover {
	background-color: var(--wp--preset--color--green);
	color: #fff;
}
.ghostkit-accordion-item .ghostkit-accordion-item-heading.open:hover:after {
	color: #fff;
}
.ghostkit-accordion-item-active  .ghostkit-accordion-item-heading {
	background-color: var(--wp--preset--color--aqua);
}
.ghostkit-accordion-item-active .ghostkit-accordion-item-heading .ghostkit-accordion-item-label {
	color: #fff;
}
.accordion-content-wrapper p{
	margin-bottom: 0px;
	color: #484848;
}
.accordion-content-wrapper {
	background-color: #f5f5f5;
	padding: 30px;
}
.blog .twitter-block iframe {
	max-width: 100%;
}
.stuck {
	position: fixed!important;
	top: 10px;
}
.ghostkit-carousel-arrow, .ghostkit-carousel-arrow {
	opacity: 1;
}
.triangle {
	position: relative;
}
.triangle:after {
	content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid currentColor;
    clear: both;
	z-index: 1;
}
.triangle.right-25:after {
    right: -29px;
    top: calc(25% - 20px);
	transform: rotate(-90deg);
}
.triangle.right-50:after {
    right: -29px;
    top: calc(50% - 20px);
	transform: rotate(-90deg);
}
.triangle.right-75:after {
    right: -29px;
    top: calc(75% - 20px);
	transform: rotate(-90deg);
}
.triangle.left-25:after {
    left: -29px;
    top: calc(25% - 20px);
	transform: rotate(90deg);
}
.triangle.left-50:after {
    left: -29px;
    top: calc(50% - 20px);
	transform: rotate(90deg);
}
.triangle.left-75:after {
    left: -29px;
    top: calc(75% - 20px);
	transform: rotate(90deg);
}
.triangle.top-25:after {
    right: calc(25% - 20px);
    top: -19px;
	transform: rotate(180deg);
}
.triangle.top-50:after {
    right: calc(50% - 20px);
    top: -19px;
	transform: rotate(180deg);
}
.triangle.top-75:after {
    right: calc(75% - 20px);
    top: -19px;
	transform: rotate(180deg);
}
.triangle.bottom-25:after {
    bottom: -19px;
    right: calc(25% - 20px);
}
.triangle.bottom-50:after {
    bottom: -19px;
    right: calc(50% - 20px);
}
.triangle.bottom-75:after {
    bottom: -19px;
    right: calc(75% - 20px);
}
.wp-block-media-text.triangle.right-25:after {
    right: calc(50% - 29px);
    top: calc(25% - 20px);
	transform: rotate(-90deg);
}
.wp-block-media-text.triangle.right-50:after {
    right: calc(50% - 29px);
    top: calc(50% - 10px);
	transform: rotate(-90deg);
}
.wp-block-media-text.triangle.right-75:after {
    right: calc(50% - 29px);
    top: calc(75% - 20px);
	transform: rotate(-90deg);
}
.wp-block-media-text.triangle.left-25:after {
    left: calc(50% - 29px);
    top: calc(25% - 20px);
	transform: rotate(90deg);
}
.wp-block-media-text.triangle.left-50:after {
    left: calc(50% - 29px);
    top: calc(50% - 20px);
	transform: rotate(90deg);
}
.wp-block-media-text.triangle.left-75:after {
    left: calc(50% - 29px);
    top: calc(75% - 20px);
	transform: rotate(90deg);
}
@media (max-width: 600px) {
	.triangle:after {
		display: none;
	}
}
@media(max-width:768px) {
	.making-a-difference.mobile .wp-block-columns {
		width: 100%;
	}
}
@media(max-width:782px) {
	.making-a-difference .wp-block-cover__inner-container > .wp-block-columns {
		flex-direction: row;
	}
	.making-a-difference .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column {
		text-align: center;
		flex-basis: calc(33.333% - 24px)!important;
	}
	.making-a-difference img {
		max-width: 150px;
	}
	footer.wp-block-template-part p,
	footer.wp-block-template-part .wp-block-site-logo {
		text-align: center!important;
	}
	footer.wp-block-template-part .wp-block-social-links {
		justify-content: center!important;
	}
}
@media(max-width:600px) {
	.making-a-difference .wp-block-cover__inner-container > .wp-block-columns {
		flex-direction: column;
	}
	.making-a-difference .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column {
		flex-basis: 100%!important;
	}
}

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

/*--------------------------------------------------------------
# Slick
--------------------------------------------------------------*/
.wp-block-query .member-practices .slick-arrow {
	width: 35px;
	height: 48px;
	padding: 3px 0 0 0;
	position: absolute;
	top: calc(50% - 24px);
	margin-top: 0;
	z-index: 2;
	cursor: pointer;
	display: block;
	background-color: transparent;
	margin-right: 5px;
	transition: .4s all;
}
.wp-block-query .member-practices .slick-arrow svg {
	width: 15px;
	margin: 0 10px;
}
.wp-block-query .member-practices .prev-arrow {
	left: -25px;
}
.wp-block-query .member-practices .next-arrow {
	right: -25px;
}
.wp-block-query .member-practices .prev-arrow:hover {
	left: -20px;
}
.wp-block-query .member-practices .next-arrow:hover {
	right: -20px;
}

.wp-block-query .member-practices {
	z-index: 1;
}
.wp-block-query .member-practices .slick-slide {
	margin: 0 9px;
}

/*--------------------------------------------------------------
# Nice Select
--------------------------------------------------------------*/
.nice-select {
  -webkit-tap-highlight-color: transparent;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 25px;
  outline: none;
  padding: 8px 30px 18px 12px!important;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  height: 45px;
}

.nice-select:hover {
  border-color: #dbdbdb;
}

.nice-select:active,.nice-select.open,.nice-select:focus {
  outline: -webkit-focus-ring-color auto 1px;
}

.nice-select:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: '';
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 5px;
}

.nice-select.open:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.nice-select.right {
  float: right;
}

.nice-select.right .list {
  left: auto;
  right: 0;
}

.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}

.nice-select.small:after {
  height: 4px;
  width: 4px;
}

.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}

.nice-select .list {
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin: 4px 0 0 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  width: 100%;
}

.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}

.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
	margin: 0;
  min-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.nice-select .option:hover,.nice-select .option.focus,.nice-select .option.selected.focus {
  background-color: #f6f6f6;
}

.nice-select .option.selected {
  font-weight: 600;
}

.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}



/*--------------------------------------------------------------
# Mobile tweaks
--------------------------------------------------------------*/

/* Mobile font sizes */
@media (max-width:960px) {
	.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;
	}
}
