/*
Theme Name: Total Child
Theme URI: http://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: http://totalwptheme.com
Template: Total
Version: 1.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*------------------------------------*\
    CONTENTS
/*------------------------------------*\
    - Colours
    - SVG
    - Undo main theme styles
    - Flexbox
    - Main
    - Ratios
    - Repeatable
    - Pages
    - Buttons/Links
    - Lists
    - Grid (the col grid system)
    - Tabs
    - Misc
    - Modal
    - Slick Base Theme
    - ACF Layout
\*------------------------------------*/

/*------------------------------------*\
    COLOURS
\*------------------------------------*/

:root {
    --primary-dark: #183640;
    --primary-med: #085275;
    --primary-light: #126881;
    --secondary-dark: #1B8AA8;
    --secondary-med: #70B9CD;
    --secondary-light: #95D8E8;
    --tertiary-dark: #1D4F44;
    --tertiary-med: #4B907B;
    --quaternary-dark: #70153E;
    --error-dark: #611818;
    --error-light: #F5AAAA;
    --warning-dark: #8C6D1F;
    --warning-light: #FDF3D6;
    --info-dark: #145338;
    --info-light: #A7EEC1;
    --breaks: #DDDDDD;
    --bg-dark: #F5F8FA;
    --bg-light: #FAFCFD;
}

/*------------------------------------*\
    SVG
\*------------------------------------*/

.svgbg{
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-position: center center;
	-webkit-mask-position: center center;
}

/*------------------------------------*\
    UNDO MAIN THEME STYLES
\*------------------------------------*/

main {
    padding-top: 92.13px;
}

#site-header.header-one.wpex-full-width {
    padding-left: 0!important;
}

#site-logo-link {
    width: 200px;
    height: 42.14px!important;
    background: url(images/svg/the-investor-forum-logo.svg) center center no-repeat;
    background-size: contain;
    display: block;
}

#site-logo-link img,
.page-template-home .page-header,
.page-id-4945 .post-pagination-wrap {
    display: none;
}

.page #menu-new-main-menu {
    box-shadow: none;
}

#site-header.overlay-header.dyn-styles #site-navigation-wrap {
    background: none!important;
}

#site-header {
    background: #fff!important;
    border-bottom: 1px solid var(--breaks);
}

#site-header.white-style {
    background: #fff!important;
}

#site-navigation-wrap {
    height: 100%!important;
    margin-top: 0!important;
}

.member-menu {
    background: var(--primary-dark)!important;
    width: 177px!important;
}

.sf-menu li.menu-item {
    padding-bottom: 0;
}

#site-navigation .dropdown-menu >li.menu-item >a {
    display: flex;
    align-items: center;
}

.wpex-dropdown-top-border #site-navigation .dropdown-menu li.menu-item ul.sub-menu {
    border-top: 1px solid var(--breaks)!important;
}

header.overlay-header.white-style.dyn-styles #mobile-menu .wpex-bars>span, 
header.overlay-header.white-style.dyn-styles #mobile-menu .wpex-bars>span:before, 
header.overlay-header.white-style.dyn-styles #mobile-menu .wpex-bars>span:after {
    background: #616161!important;
}

#site-navigation .dropdown-menu >li.menu-item.member-menu >a {
    color: #fff;
}

.cover {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 1023px) {

    main {
        padding-top: 73.13px;
    }

}

/*------------------------------------*\
    FLEXBOX
\*------------------------------------*/

.flex {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.align-center {
	align-items: center;
	-ms-flex-align: center;
	-webkit-box-align: center;
}

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

.wrap {
	flex-wrap: wrap;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

.small {
    font-size: 0.75em;
    font-weight: 500;
}

[class*="line-clamp-"] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

:is(.page-template-reskin) h1 {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
}

:is(.page-template-reskin) h1 {
    color: var(--primary-dark);
}

:is(.page-template-reskin) .darkbg h1 {
    color: #fff;
}

:is(.page-template-reskin) .hero-carousel h1 {
    max-width: 530px;
    margin: 0;
    color: #fff;
}

:is(.page-template-reskin) :is(h1,h4,h5,h6) {
    font-weight: 600;
    line-height: 1.2;
}

:is(.page-template-reskin) :is(h1,h2,h3,h4,h5,h6).caps {
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

:is(.page-template-reskin) h2 {
    font-size: 1.5em;
}

:is(.page-template-reskin) :is(h2,h4) {
    color: var(--primary-light);
}

:is(.page-template-reskin) h4 {
    font-size: 1em;
    line-height: 1.18;
    margin: 1em 0;
}

:is(.page-template-reskin) main :is(p,a,ul,ol,li) {
    font-size: 1em;
}

.portal-carousel .date, #news-filter-search-results .day {
    color: #585858;
    padding-left: 10px;
    position: relative;
}

[class*="line-clamp-"] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

/*------------------------------------*\
    RATIOS
\*------------------------------------*/

.ratio-16x9 {
    aspect-ratio: 16 / 9;
}

.ratio-4x3 {
    aspect-ratio: 4 / 3;
}

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

.ratio-a4 {
    padding-bottom: 142%;
}

/*------------------------------------*\
    REPEATABLE
\*------------------------------------*/

.relative {
    position: relative;
}

.buffer {
    margin: 4em 40px;
}

.biffer {
    padding: 4em 40px;
}

.card :is(.inner,.overlay) {
    border-radius: 6px;
}

.buffer header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buffer.with-intro header {
    flex-direction: column;
    align-items: flex-start;
}

.buffer.with-intro header p,
.about header p {
    margin: 1em 0 0;
    max-width: 600px;
}

.portal-carousel .date:before {
    content: '';
    width: 3px;
    height: 3px;
    background-color: var(--secondary-light);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1.5px;
}

.portal-carousel .content {
    margin-top: 1em;
}

.fill-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a.fill-container {
    text-indent: -999em;
    z-index: 20;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%),rgb(0 0 0 / 100%));
    opacity: 0.4;
    transition: all 300ms cubic-bezier(0.86, 0, 0.07, 1);
}

.overlay.solid {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.core-values {
    color: #fff;
    background-color: var(--secondary-med);
    padding: 2em 40px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 24px;
}

.core-values li:not(:last-child) {
    margin-right: 60px;
}

.core-values li:not(:last-child):after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-med);
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.pill {
    position: absolute;
    top: 1em;
    left: 1em;
    background: var(--quaternary-dark);
    padding: 4px 10px;
    border-radius: 100px;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

.pill.standard {
    background: var(--primary-dark);
}

.pill:nth-child(2) {
    top: calc(1em + 28.5px);
}

.pill:nth-child(3) {
    top: calc(1em + 57px);
}

.pill:nth-child(n+4) {
    display: none;
}

.resources-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -15px 0;
}

.resources-grid article {
    flex: 1 0 33.33%;
}

.resources-grid article .inner {
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.resources-grid .content {
    position: relative;
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
    padding: 2em;
    bottom: -45.29px;
    color: #fff;
}

.resources-grid article:hover .overlay {
    opacity: 0.9;
}

.resources-grid article p.line-clamp-2 {
    height: 42.27px;
    overflow: hidden;
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
}

.resources-grid article:hover p.line-clamp-2 {
    -webkit-line-clamp: 4!important;
    height: 84.94px;
}

.resources-grid article:hover .content {
    bottom: 0;
}

.resources-grid .button {
    opacity: 0;
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
}

.resources-grid article:hover .button {
    opacity: 1;
    display: inline-block;
}

.resources-grid :is(h1,h2,h3,h4,h5,h6) {
    color: #fff;
    margin-bottom: 20px;
}

.page-template-master .buffer.resources.with-intro.card-grid {
    margin-top: 0;
}

.page-template-master .resources-grid h2 {
    font-size: 1.5em;
    margin-top: 0;
    color: #fff;
    margin-bottom: 20px;
}

.page-template-master .resources-grid p {
    font-size: 1em;
    line-height: 1.18;
}

.locked,
.unlocked {
    text-indent: -999em;
    background-color: #fff;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 1em;
    right: 1em;
    mask-image: url('images/svg/icon-locked.svg');
    -webkit-mask-image: url('images/svg/icon-locked.svg');
}

.unlocked {
    mask-image: url('images/svg/icon-lock-open.svg');
    -webkit-mask-image: url('images/svg/icon-lock-open.svg');
    opacity: 0.5;
}

.page-template-portal .unlocked {
    display: none;
}

.members-only-article:hover .locked,
.resources-grid article:hover .locked {
    animation: horizontal-shaking 0.5s;
    animation-iteration-count: 1;
}

details {
    margin-bottom: 1em;
}

summary {
    background-color: #e3f4fa;
    font-weight: 700;
    padding: 1em;
    cursor: pointer;
}

details .content {
    padding: 1em;
    border-bottom: 2px solid #e3f4fa;
}

@keyframes horizontal-shaking {
    0% { transform: translateX(0) }
    25% { transform: translateX(2px) }
    50% { transform: translateX(-2px) }
    75% { transform: translateX(2px) }
    100% { transform: translateX(0) }
}

@media only screen and (max-width: 1090px) {
    
    .resources-grid article {
        flex: 1 0 50%;
    }

}

@media only screen and (max-width: 975px) {

    .core-values ul.inline li {
        display: block;
        margin: 0;
    }

    .core-values ul.inline li:nth-child(2),
    .core-values ul.inline li:nth-child(3) {
        margin: 2em 0 0;
    }

    .core-values li:not(:last-child):after {
        display: none;
    }

    .core-values ul.inline li:nth-child(2):before,
    .core-values ul.inline li:nth-child(3):before {
        position: absolute;
        content: '';
        width: 10px;
        height: 10px;
        background: var(--primary-med);
        left: 50%;
        transform: translateX(-50%) rotate(-45deg);
    }

    .core-values ul.inline li:nth-child(2):before,
    .core-values ul.inline li:nth-child(3):before {
        top: -1.3em;
    }

}

@media only screen and (max-width: 744px) {

    .resources-grid article {
        flex: 1 0 100%;
    }

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*HOME*/
.biffer.about {
    background-color: var(--primary-med);
    color: #fff;
}

.biffer.about.vid {
    /* margin-top: calc(4em + 5%); */
    margin-top: 0;
}

.hasvideo {
    display: flex;
    flex-direction: row;
    padding-bottom: 5%;
    /* margin-top: -10%; */
}

.hasvideo .content,
.hasvideo .video-block {
    flex: 1 0 50%;
    position: relative;
}

.hasvideo .video-block {
    border-radius: 6px;
    cursor: pointer;
}

.hasvideo .video-block .overlay {
    background: rgb(0 0 0 / 70%);
    transition: 0.3s ease-in-out;
}

.play {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(1);
    margin-left: -50px;
    margin-top: -50px;
    mask-image: url(images/svg/play-circle.svg);
    -webkit-mask-image: url(images/svg/play-circle.svg);
    background-color: #fff;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.video-block:hover .play {
    transform: scale(0.9);
}

.hasvideo .video-block:hover .overlay {
    background: rgb(0 0 0 / 100%);
}

.hasvideo .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 5%;
}

@media only screen and (max-width: 1090px) {

    .hasvideo {
        flex-direction: column-reverse;
        /* margin-top: -15%; */
    }
    
    .hasvideo .content, 
    .hasvideo .video-block {
        flex: 1 0 100%;
    }

    .hasvideo .content {
        padding: 0;
        margin: 0 5%;
        text-align: center;
    }

    .hasvideo .video-block {
        margin: 0 5% 5%;
    }

    .about.vid header p {
        margin: 1em auto 0;
    }

}

@media only screen and (max-width: 600px) {

    .hasvideo,
    .biffer.about.vid {
        margin-top: 0;
    }

    .hasvideo .play {
        width: 60px;
        height: 60px;
        margin-left: -30px;
        margin-top: -30px;
    }

}

/*------------------------------------*\
    BUTTONS/LINKS
\*------------------------------------*/

a.quaternary,
a.quaternary:visited,
.single-body a:not(.color-button):is(:link,:visited,:hover,:active) {
    color: var(--quaternary-dark);
    font-weight: 500;
}

span.button {
    background: var(--tertiary-med);
}

.button.registration {
    background-color: var(--quaternary-dark);
}

.button.registration:is(:hover,:active) {
    background-color: #55102f;
}

#menu-primary-navigation .current-menu-item {
    font-weight: 600;
}

/*------------------------------------*\
    LISTS
\*------------------------------------*/

ul.reset {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.inline li {
    display: inline-block;
    position: relative;
}

/*------------------------------------*\
    GRID
\*------------------------------------*/

/* wrapper */
.wrapper-large {
	max-width: 1600px;
	margin: 0 auto;
	position: relative;
}

/* wrapper */
.wrapper-medium {
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
}

.row {
    box-sizing: border-box; 
    overflow: auto;
}

[class*="col-"] {
    float: left; 
    position: relative;
}

.col-1 	{width: 8.33%; padding: 15px;}
.col-2 	{width: 16.66%; padding: 15px;}
.col-3 	{width: 25%; padding: 15px;}
.col-4 	{width: 33.33%; padding: 15px;}
.col-5 	{width: 41.66%; padding: 15px;}
.col-6 	{width: 50%; padding: 15px;}
.col-7 	{width: 58.33%; padding: 15px;}
.col-8 	{width: 66.66%; padding: 15px;}
.col-9 	{width: 74.5%; padding: 15px;}
.col-10 {width: 83.33%; padding: 15px;}
.col-11 {width: 91.66%; padding: 15px;}
.col-12 {width: 100%; padding: 15px;}

/*------------------------------------*\
    TABS
\*------------------------------------*/

.resource-tabs {
    background-color: #7dbcd2;
    border-top: 20px solid #1d4f44;
}

.resource-tabs .tabcontent {
    display: none;
}

.page-id-4107 .resource-tabs .tabcontent {
    scroll-margin-top: 250px;
}

.resource-tabs .tab {
    text-align: center;
    padding-bottom: 45px;
}

.resource-tabs button.tablinks {
    border: 1px solid var(--breaks);
    color: var(--primary-med);
    font-weight: 500;
    background: #fff;
}

a.tablinks {
    font-size: 25px;
    margin: 0 15px;
    font-weight: 500;
    text-transform: uppercase;
    color: #183640;
}

a.tablinks.active {
    color: #fff;
    border-bottom: 2px solid #4b907b;
}

.resource-tabs button.tablinks:hover {
    background: #fafcfd;
}

.resource-tabs button.tablinks.active {
    background-color: var(--secondary-light);
    border-color: var(--secondary-med);
}

.resource-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.resource-container article {
    max-width: 31%;
    width: 100%;
    padding: 1.5em;
    background: #fff;
    border-radius: 0;
    box-shadow: 0px 0px 19px 0px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.resource-container.reviews .content {
    display: flex;
    flex-direction: column;
}

.resource-container.reviews article {
    flex: unset;
    min-width: unset;
    max-width: 31%;
    width: 100%;
    padding: 0 0 1.5em;
}

.resource-tabs .tabcontent h2 {
    font-size: 1.2em;
    color: #1d4f44;
    font-weight: 600;
    margin: 0 0 0.5em;
}

.resource-tabs .date {
    font-size: 0.75em;
    font-weight: 500;
    color: #909fa5;
}

.resource-tabs .button {
    background: var(--tertiary-med);
    margin-top: auto;
    align-self: flex-end;
}

.resource-tabs .intro {
    max-width: 900px;
    margin: 0 auto 45px;
    font-size: 1.2em;
    text-align: center;
    line-height: 1.4;
}

.resource-container.reviews .cover {
    background-color:#000;
    aspect-ratio: 1 / 1.41;
    border-radius: 0;
    margin-bottom: 1.5em;
    position: relative;
}

.resource-container.reviews .content {
    padding: 0 1.5em;
}

.resource-container.reviews h2 {
    margin-bottom: 20px;
}

@media only screen and (max-width: 991px) {

    .resource-container article,
    .resource-container.reviews article {
        max-width: 48%;
    }

}

@media only screen and (max-width: 768px) {

    .resource-container article,
    .resource-container.reviews article {
        max-width: 100%;
    }

}

@media only screen and (max-width: 767px) {

    .resource-tabs .tab {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .resource-tabs .tab a {
        align-self: flex-start;
    }

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

/*------------------------------------*\
    MODAL
\*------------------------------------*/

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 1050;
    padding: 5%;
    display: none;
}

.video-container {
    max-width: 1100px;
    margin: 3em auto;
    width: 100%;
    position: relative;
    overflow: visible;
}

.close-btn {
    text-indent: -999999em;
    width: 50px;
    height: 50px;
    -webkit-mask-image: url(images/svg/close-sharp.svg);
    mask-image: url(images/svg/close-sharp.svg);
    -webkit-mask-size: 20px;
    mask-size: 20px;
    background-color: #fff;
    position: absolute;
    top: -35px;
    right: -35px;
    z-index: 10;
    cursor: pointer;
}

#gateway {
	display: none;
	z-index: 5000;
    background: rgba(0,0,0,0.8);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow-y: scroll;
}

#gateway .flex {
	height: 100%;
}

.modal {
	background: #fff;
	max-width: 600px;
	width: 100%;
	position: relative;
	margin: 1em;
    border-top: 10px solid var(--secondary-dark);
    border-bottom: 10px solid var(--secondary-dark);
}

.modal .inner:not(.svgbg) {
	padding: 1.5em 2.5em 2.5em;
}

.modal .col-left,
.mc4wp-form .col-left,
.wpcf7 .col-left {
	width: 50%;
	padding: 0 0.5em 0.5em 0;
}

.modal .col-right,
.mc4wp-form .col-right,
.wpcf7 .col-right {
	width: 50%;
	padding: 0 0 0.5em 0.5em;
}

.optional {
	font-weight: normal;
	float: right;
}

.modal .close {
	position: absolute;
    width: 57px;
    height: 57px;
    z-index: 2;
    text-indent: -999999em;
    right: -57px;
    top: 0;
    cursor: pointer;
}

#wpcf7-f4455-o1 input[type="submit"] {
	background: var(--accent);
}

.modal .close {
    mask-size: 25px;
    -webkit-mask-size: 25px;
    -webkit-mask-image: url(images/svg/close-sharp.svg);
    mask-image: url(images/svg/close-sharp.svg);
    background: #fff;
}

.modal :is(input[type="text"],input[type="email"]) {
    width: 100%;
    margin-top: 5px;
}

.wpcf7 {
    margin-top: 1em;
}

.wpcf7 label {
    color: var(--primary-light);
    line-height: 1.18;
    margin-bottom: 7px;
    display: block;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {

	.modal .col-left,
	.modal .col-right {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

    .modal .close {
        right: 0;
        background-color: var(--secondary-dark);
    }

}

@media only screen and (max-width: 500px) {

	.modal .inner:not(.svgbg) {
		padding: 0.5em 1.5em 1em;
	}
	
	.modal h2 {
		padding: 1em 24px;
	}

}

/*------------------------------------*\
    SLICK BASE THEME
\*------------------------------------*/

.hero-carousel {
    display: none;
}

.slick-list,.slick-slider,.slick-track{position: relative;top: 0;left: 0;display: block;margin-left: auto;margin-right: auto;}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{transform:translate3d(0,0,0)}.slick-track{top:0;left:0;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px;outline:none}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.slick-dots{list-style-type:none;padding:0;text-align:center;}.slick-dots li{display:inline-block;}.slick-slider button{-webkit-appearance: none; outline: none; text-indent: -999em; cursor: pointer; border: none; background: #fff; width: 58px; height: 58px; border-radius: 50%; margin: 0.5em; padding: 0; box-shadow: 0px 0px 20px 0px rgb(24 54 64 / 30%);}.slick-slider .slick-dots button {opacity:0.2;}.slick-slider .slick-active button{opacity:1;}.slick-dots li:only-child{display:none}

.slick-next:before,
.slick-prev:before  {
    content: "\f061";
    color: var(--primary-med);
    font-size: 22px;
}

.slick-prev:before {
    content: "\f060";
}

.slick-next:is(:hover,:focus),
.slick-prev:is(:hover,:focus) {
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgb(24 54 64 / 50%)
}

.slick-disabled {
    display: none!important;
}

.slick-slider.portal-carousel {
    margin-right: -15px;
    margin-left: -15px;
}

.slick-dots {
    position: relative;
    margin-top: 1em;
    text-align: left;
    margin-left: 10px;
}

.slick-slider .slick-dots button {
    opacity: 1;
    box-shadow: none;
}

.slick-dots li button:before {
    background-color: var(--secondary-light);
}

.slick-dots li button:hover:before, .slick-dots li button:focus:before, .slick-dots li.slick-active button:before {
    background-color: var(--primary-med);
}

.hero-carousel .slick-dots li button:before {
    background-color: rgb(255 255 255 / 60%);
}

.hero-carousel .slick-dots li button:hover:before, 
.hero-carousel .slick-dots li button:focus:before, 
.hero-carousel .slick-dots li.slick-active button:before {
    background-color: rgb(255 255 255 / 100%);
}

.slick-slider .slick-track {
    margin: 0;
}

.hero-carousel .slick-dots {
    text-align: center;
    position: absolute;
}

.hero-slide {
    padding: 0 40px;
}

.hero-slide .inner {
    /* min-height: 650px; */
    min-height: 250px;
    display: flex;
    align-items: center;
}

@media only screen and (max-width:777px) {

    .hero-slide .inner {
        align-items: center;
        width: 100%;
    }

    :is(.page-template-reskin) .hero-carousel h1 {
        max-width: 650px;
        margin: 0 auto;
        text-align: center;
    }

}

@media only screen and (max-width:600px) {

    .hero-carousel h1 {
        font-size: 1.5em;
    }

    .hero-carousel .overlay {
        opacity: 0.6;
    }

}


/*------------------------------------*\
    ACF LAYOUT
\*------------------------------------*/

.page-template-master :is(p,ul,ol,li) {
    font-size: 18px;
    line-height: 1.6;
}

.page-template-master h2 {
    font-size: 2em;
    line-height: 1.3;
    color: #0e88a9;
    margin: revert;
}

.page-template-master h3 {
    font-size: 1.2em;
    line-height: 1.6;
    color: #70153e;
}

.acf-header {
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#wavedivider {
    position: absolute;
    bottom: -1px;
    fill: #fff;
}

.acf-header.head-small {
    height: 192px;
}

.acf-header.head-medium {
    height: 350px;
}

.acf-header.head-large {
    min-height: 150px;
    height: 0;
    padding-bottom: 25%;
    position: relative;
}

.acf-header.head-large h1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.acf-header h1 {
    color: #fff;
    padding: 0 5%;
    z-index: 1;
}

.acf-layout {
    padding: 0 5%;
    overflow: auto;
}

.acf-layout.match-home {
    padding: 0 40px;
}

.acf-layout.match-home p {
    max-width: 600px;
}

.acf-layout.match-home p:last-child {
    margin-bottom: 0;
}

.acf-width {
    max-width: 1120px;
    width: 100%;
    position: relative;
    overflow: auto;
    margin-inline: auto;
}

.match-home .acf-width {
    max-width: 1600px;
}

.acf-layout.not-tiled,
.acf-header.not-tiled {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.acf-layout.tiled,
.acf-header.tiled {
    background-size: 75px;
    background-position: center top;
}

.acf-content * {
    word-break: break-word;
}

.acf-content.button-grid,
.acf-col3,
.acf-col2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 5% auto;
}

.acf-content.button-grid {
    margin: 0 auto;
}

.acf-title,
.acf-col1 {
    margin: 5% auto;
    overflow: hidden;
}

.acf-content.button-grid a {
    flex: 1 0 calc(33.33% - 20px);
    padding: 1.5em;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

.acf-chevron {
    text-indent: -9999em;
    background-color: #fff;
    margin-left: 10px;
    transition: 0.2s ease-in-out;
}

.acf-content.button-grid a:hover .acf-chevron {
    margin-left: 20px;
}

.acf-col3 .acf-content {
    flex: 1 0 calc(33.33% - 20px);
}

.acf-col2 .acf-content {
    flex: 1 0 calc(50% - 20px);
}

.acf-col1.with-sidebar {
    display: flex;
    flex-wrap: wrap;
}

.acf-col1.with-sidebar .acf-content {
    flex: 1;
    padding-right: 17.5px;
}

.wysiwyg,
.accordion-section,
.button-grid {
    overflow: auto;
}

.acf-sidebar {
    width: 360px;
    padding-left: 17.5px;
}

.acf-sidebar .inner {
    padding: 20px;
    background: #f7f7f7;
}

.head-black :is(h1,h2,h3,h4,h5,h6,a) {
    color: #000;
}
.head-blue :is(h1,h2,h3,h4,h5,h6,a) {
    color: #0e88a9;
}
.head-burgundy :is(h1,h2,h3,h4,h5,h6,a) {
    color: var(--quaternary-dark);
}
.head-white :is(h1,h2,h3,h4,h5,h6,a) {
    color: #fff;
}

.body-black :is(p,ul,ol,span) {
    color: #000;
}
.body-blue :is(p,ul,ol,span) {
    color: #0e88a9;
}
.body-burgundy :is(p,ul,ol,span) {
    color: var(--quaternary-dark);
}
.body-white :is(p,ul,ol,span) {
    color: #fff;
}

@media only screen and (max-width: 1100px) {

    .acf-content.button-grid a {
        flex: 1 0 calc(50% - 20px);
    }

    .acf-title, 
    .acf-col1,
    .acf-col3, 
    .acf-col2 {
        margin: 10% auto;
    }

}

@media only screen and (max-width: 768px) {

    .acf-col3 .acf-content,
    .acf-col2 .acf-content,
    .acf-content.button-grid a {
        flex: 1 0 100%;
    }

    .acf-col1.with-sidebar .acf-content,
    .acf-sidebar {
        flex: 1 0 100%;
    }

    .acf-col1.with-sidebar .acf-content {
        padding-right: 0;
    }

    .acf-sidebar {
        padding-left: 0;
    }

}