/*
 * These styles are outputted both of the frontend and backend of the site
 * Please note any changes you do make may also make changes to the WP backend default styles.
 * Edit with caution
 */

/* Root Variables */
:root { --border-radius: 1rem; --grid-gap: 4rem; }

/* Presets */

/* :where(.editor-styles-wrapper) h1,
:where(.editor-styles-wrapper) h2,
:where(.editor-styles-wrapper) h3,
:where(.editor-styles-wrapper) h4,
:where(.editor-styles-wrapper) h5,
:where(.editor-styles-wrapper) h6 {
    font-size: revert !important;
} */






ul.white-logo-list {
    list-style: none;
    padding-left: 0;
}

ul.white-logo-list li {
    position: relative;
    padding-left: 32px;
}

ul.white-logo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/white-logo-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}






ul.logo-list {
    list-style: none;
    padding-left: 0;
}

ul.logo-list li {
    position: relative;
    padding-left: 32px;
}

ul.logo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/list-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.mta .column-content { display: flex; flex-direction: column; height: 100%;  }
.mta .button-block { margin-top: auto; }

.swirl { background-image: url(/wp-content/uploads/cta-background.png); background-repeat: no-repeat; background-size: contain; background-position: right bottom;  }


.chevbottom { position: relative; }
.chevbottom:after {     content: "";
    position: absolute;
    left: 0;
    bottom: -48px;
    width: 100%;
    height: 48px;
    background: var(--brand-1);
    clip-path: polygon(0 0, 100% 0, 50% 100%); }


.right-swirl { position: relative; }
.right-swirl:before { content: ""; display: block; position: absolute; inset: -50vw 0rem 50% 50%; background: transparent url(https://fdwealth.builtbytoast.uk/wp-content/uploads/page-swirl.png) center right no-repeat; background-size: contain; z-index: 0;  }
/* Default Margins */
.default-p { padding-top: clamp(2.5rem, 3vw, 5rem); padding-bottom: clamp(2.5rem, 3vw, 5rem); }
.default-m { margin-top: clamp(2.5rem, 3vw, 5rem); margin-bottom: clamp(2.5rem, 3vw, 5rem); }

* { box-sizing: border-box; }
img { max-width: 100%; vertical-align: middle; height: auto; }
.block-overlay-color { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
/* Grid */
.grid { display: grid; grid-gap: 4rem; }
@media screen and (max-width: 576px) {
	.grid { grid-template-columns: 1fr !important; }
}
/* Sections */
section { background-size: cover; background-position: center; position: relative; }
section.full-width .container,
.container.full-width { max-width: 100%; width: 100%; padding-left: 0rem; padding-right: 0rem; }
.container .container { padding: 0; }

/* Container */
section.narrow .container .grid { width: 80%; max-width: 80%; }
.container { width: 85%; max-width: 117rem; margin: 0 auto; padding: 0rem; position: relative; }
.wp-admin .container { width: 97%; }
.container .container { padding: 0; margin: 0; }
@media screen and (max-width: 1024px) {
	.container { max-width: 85%; }
}

/* Container widths (when using the override in Section settings on a block)*/
.container.width-20 { width: 20%; max-width: 20%; }
.container.width-25 { width: 25%; max-width: 25%; }
.container.width-30 { width: 30%; max-width: 30%; }
.container.width-33 { width: 33%; max-width: 33%; }
.container.width-40 { width: 40%; max-width: 40%; }
.container.width-50 { width: 50%; max-width: 50%; }
.container.width-60 { width: 60%; max-width: 60%; }
.container.width-66 { width: 66%; max-width: 66%; }
.container.width-70 { width: 70%; max-width: 70%; }
.container.width-75 { width: 75%; max-width: 75%; }
.container.width-80 { width: 80%; max-width: 80%; }
.container.width-85 { width: 85%; max-width: 85%; }
.container.width-90 { width: 90%; max-width: 90%; }
.container.width-100 { width: 100%; max-width: 100%; }

/* Block shapes */
.block-shape { position: relative; width: 100%; box-sizing: border-box; overflow: hidden; height: 10rem; }
.block-shape .triangle-shape { background-color: transparent !important; width: 0; height: 0; border-left: 50vw solid transparent; border-right: 50vw solid transparent; border-bottom: 10rem solid;  }
.block-shape .triangle-shape-bottom { background-color: transparent !important; width: 0; height: 0; border-left: 50vw solid transparent; border-right: 50vw solid transparent; border-top: 10rem solid;  }
.block-shape .curve-shape { height: 5rem; border: 0; width: 100%;  border-radius: 50% 50% 0 0; margin-top: 5rem;  }	 
.block-shape .curve-shape-bottom { height: 5rem; border: 0; width: 100%;  border-radius: 0 0 50% 50%; margin-bottom: 5rem;  }	 
.block-shape .tilt-shape { height: 10rem; border: 0; width: 120%; transform: rotate(2deg); margin-top: 5rem; position: relative; left: -5%; }	 
.block-shape .tilt-shape-bottom { height: 10rem; border: 0; width: 120%; transform: rotate(2deg); margin-bottom: 5rem; position: relative; top: -5rem; left: -5%;  }

.block-shape .small-triangle-shape { background-color: transparent !important; width: 0; height: 0; border-left: 10rem solid transparent; border-right: 10rem solid transparent; border-bottom: 5rem solid; position: absolute; bottom: 0; transform: translateX(-50%); left: 50%; }
.block-shape .small-triangle-shape-bottom { background-color: transparent !important; width: 0; height: 0; border-left: 10rem solid transparent; border-right: 10rem solid transparent; border-top: 5rem solid; position: absolute; top: 0; transform: translateX(-50%); left: 50%;   }


/* Section Titles */
.section-title-area { margin-bottom: 5rem; }
.section-title-area .section-title {}

/* Broken Links */
.broken-link { position: relative; }
.broken-link:after { content: "HASH LINK"; float: left; width: 6rem; color: #fff; background: red; border-radius: 100rem; padding: 0rem 1rem; font-size: 1rem; position: absolute; left: 3.5rem; text-align: left; line-height: 3rem; }

/* Post Listings */
h3.post-listing-title  { font-size: 2.5rem; }
.post-listing-image img { border-radius: 0 0% 50% 0; }
.post-listings { grid-template-columns: repeat(3, 1fr); }
.post-listing { position: relative; box-shadow: 0 10px 10px var(--shadow); border-radius: 10px; overflow: hidden; }
.post-listing .post-listing-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.post-listing .post-listing-content { padding: 2rem; }

/* Pagination */
.page-navigation { margin-top: 2rem; text-align: center; }

/* WYSIWYG Formats */
ul.toast-boxed-list { background: var(--brand-8); padding: 2rem 2rem 1rem 2rem; list-style: inside; border-radius: var(--border-radius); }
p.toast-alert-paragraph { display: flex; align-items: top; background: var(--brand-1); color: #fff; padding: 2rem; margin: 4rem 0; position: relative; border-radius: var(--border-radius); }
p.toast-alert-paragraph:before { content: ""; display: block; background: transparent url('/wp-content/themes/toast/assets/images/warning.svg') center center no-repeat; background-size: contain; height: 5rem; width: 10rem; margin-right: 2rem; border-radius: var(--border-radius); animation: shake 2.5s ease-in-out infinite; }
@keyframes shake {
    0%, 20%, 100% { transform: translateX(0); }
    2%, 6% { transform: translateX(-3px); }
    4%, 8% { transform: translateX(3px); }
}

img.toast-round-image { border-radius: 100%; }
img.toast-image-shadow { box-shadow: rgba(0, 0, 0, 0.25) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px; }

/* Captions */
p.wp-caption-text { background: var(--brand-2); padding: 1rem 2rem; box-sizing: border-box; display: inline-block; color: #fff; width: 100%; border-radius: var(--border-radius); }
div[id^="attachment_"] { max-width: 100% !important; width: 100% !important; }
div[id^="attachment_"] img { width: 100%; }
.alignleft .wp-caption-text,
.alignright .wp-caption-text { margin-bottom: 0 !important; }

/* Never Remove */
.wp-block { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; }