@import url("https://fonts.googleapis.com/css?family=Nunito+Sans%3A300%2C400%2C600%2C700%2C800&ver=6.1.7");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-family: 300;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 100vh;
    color: #404040;
}

header {
    background-color: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(113, 67, 220, 0.5);
    z-index: 999999;
}

footer {
    margin-top: auto;
    min-width: 100%;
    padding: 10px;
    background-color: #7143DC;
    color: white;
    max-width: 1500px;
    margin: 0 auto;
    bottom: 0;
    left: 0;
}

footer a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

footer a:hover {
    color: white;
}

hr.footerLine {
    border-top: 1px solid white;
}

/* Links */

a {
    color: #006DDF;
    text-decoration: none;
    font-weight: 600;
    transition: color ease-in-out 0.5s;
}

a:hover {
    color: #7143DC;
}

/* Footer */

.footer {
    max-width: 1500px;
    margin: 0 auto;
}

.footerMain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.footerBottom {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.footerLogos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footerImages img {
    height: 40px;
    width: auto;
}

/* Buttons */

.siteBtn {
    transition: color 0.5s;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    min-width: 150px;
    max-width: 100%;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 700;
    height: 50px;
    z-index: 1;
    padding: 14px 22px;
    background: #088486;
    color: #fff;
}

.siteBtn2 {
    transition: color .5s;
    transition: background-color .5s;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #404040;
    width: 100%;
    border: 1px solid #000000;
    padding: 10px;
    font-weight: bold;
}

.siteBtn2:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.siteBtn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background: #0aa9ac;
    z-index: -1;
    transform-origin: 0 0;
    transform: translateX(-100%) skewX(-45deg);
    transition: transform 0.5s;
}

.siteBtn:hover {
    color: #fff;
}

.siteBtn:hover:before {
    transform: translateX(0) skewX(-45deg);
}

.siteBtn.btnWhite {
    background: #fff;
    color: #7413dc;
}

.siteBtn.btnWhite:before {
    background: #088486;
}

.siteBtn.btnWhite:hover {
    color: #fff;
}

.siteBtn.btnOutline {
    background: none;
    border: 2px solid #fff;
}

.siteBtn.btnOutline:before {
    background: #fff;
}

.siteBtn.btnOutline:hover {
    color: #7413dc;
}

/* Text */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: .5rem;
    font-weight: 900;
    line-height: 1.2;
}

.h4 {
    font-size: 1.5rem;
}

.textAlignCentre {
    align-items: center;
    align-self: center;
    align-content: center;
    text-align: center;
}

/* Home Page */

.homePage {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.homePage .homepageTitleWrap {
    position: relative;
    height: 80%;
    padding-top: 0;
}

.homepageTitleWrap {
    max-width: 1500px;
    height: 92%;
    margin: 0 auto;
}

.homepageTitleCard {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%);
    top: 60%;
    left: 0;
    max-width: 540px;
    width: 100%;
    padding: 25px;
    border-radius: 2px;
    z-index: 1000;
    color: white;
}

.homepageCardBody h2 {
    color: #fff;
    font-size: 30px;
    line-height: 46px;
    margin: 0 0 18px 0;
    font-weight: 800;
}

.homepageCardBody p {
    margin: 0 0 10px 0;
    padding-bottom: 10px;
}

.homepageCardButtons .siteBtn {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 15px;
    max-width: 180px;
    width: 100%;
    font-weight: 700;
    line-height: unset;
}

.homepageCardButtons .siteBtn.btnWhite {
    background: #7413DC;
    border: 2px solid #fff;
    height: 50px;
    color: #fff;
    padding: 12px 22px;
}

.homepageCardButtons .siteBtn.btnWhite:before {
    background: #8818ff;
}

.homepageCardButtons .siteBtn.btnOutline {
    padding: 12px 22px;
}

.backgroundImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.siteDisclaimer {
    margin: 10px;
}

.siteDisclaimer p {
    max-width: 950px;
    margin: 0 auto;
}

/* Section Selector */

.sectionSelectorsHeading h2 {
    margin: 10px;
}

.sectionSelector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 5px;
}

.selectorCard {
    flex: 1 1 calc(20% - 20px);
    /* Default to 4 cards per row */
    padding: 30px;
    display: flex;
    /* Use flexbox for centering */
    flex-direction: column;
    align-items: center;
    /* Center items horizontally */
    justify-content: center;
    /* Center items vertically */
    text-align: center;
    /* Center text */
    background-color: #7143DC;
    height: 50%;
    margin: 10px 1px;
    transition: background-color ease-in-out 1s, color ease-in-out 1s;
    position: relative;
}

.selectorCard:hover {
    background-color: #FFFFFF;
    color: #000000;
    cursor: pointer;
}

.selectorCard:hover .sectionCardText {
    color: #000000;
}

.selectorCard img {
    transition: filter ease-in-out 1s;
}

.selectorCard:hover img {
    filter: invert(1);
}

.selectorCard p {
    margin: 0;
    padding: 0;
    text-align: center;
    color: white;
    font-weight: normal;
}

/* Loaders */

.contentLoader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    transition: opacity 1s ease-out;
    opacity: 1;
}

.contentLoader.fade-out {
    opacity: 0;
}

.pl {
    display: block;
    width: 6.375em;
    height: 6.375em;
}

.pl__arrows,
.pl__ring-rotate,
.pl__ring-stroke,
.pl__tick {
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.pl__arrows {
    animation-name: arrows42;
    transform: rotate(45deg);
    transform-origin: 16px 52px;
}

.pl__ring-rotate,
.pl__ring-stroke {
    transform-origin: 80px 80px;
}

.pl__ring-rotate {
    animation-name: ringRotate42;
}

.pl__ring-stroke {
    animation-name: ringStroke42;
    transform: rotate(-45deg);
}

.pl__tick {
    animation-name: tick42;
}

.pl__tick:nth-child(2) {
    animation-delay: -1.75s;
}

.pl__tick:nth-child(3) {
    animation-delay: -1.5s;
}

.pl__tick:nth-child(4) {
    animation-delay: -1.25s;
}

.pl__tick:nth-child(5) {
    animation-delay: -1s;
}

.pl__tick:nth-child(6) {
    animation-delay: -0.75s;
}

.pl__tick:nth-child(7) {
    animation-delay: -0.5s;
}

.pl__tick:nth-child(8) {
    animation-delay: -0.25s;
}

/* Animations */
@keyframes arrows42 {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(405deg);
    }
}

@keyframes ringRotate42 {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(720deg);
    }
}

@keyframes ringStroke42 {

    from,
    to {
        stroke-dashoffset: 452;
        transform: rotate(-45deg);
    }

    50% {
        stroke-dashoffset: 169.5;
        transform: rotate(-180deg);
    }
}

@keyframes tick42 {

    from,
    3%,
    47%,
    to {
        stroke-dashoffset: -12;
    }

    14%,
    36% {
        stroke-dashoffset: 0;
    }
}

/*  Sizing */

.contentContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contentFrameworks:after,
.contentFrameworks:before {
    content: " ";
    display: table;
}

.contentFrameworks:after {
    clear: both;
}

/* Headers */

.firstHeader {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.firstHeader a {
    margin-left: auto;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    margin-right: 18px;
}

.firstHeader a:hover {
    border-bottom: 1.5px dotted #666666;
}

.firstHeader i {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.6);
    margin-right: 7px;
}

.firstHeader i:last-child {
    margin-right: 0;
}

.firstHeader #burgerMenuIcon {
    display: none;
}

.secondHeader {
    padding: 10px;
    display: flex;
}

.headerLinks {
    display: flex;
    flex-direction: row-reverse;
}

.headerLinks a {
    margin-right: 10px;
}

.headerLinks a:nth-child(1) {
    order: 1;
}

.headerLinks a:nth-child(2) {
    order: 2;
}

.headerLinks a:nth-child(3) {
    order: 3;
}

.headerDropdownToggle {
    float: left;
    overflow: hidden;
}

.headerDropdownContent {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    padding: 10px;
    z-index: 1;
    border-radius: 0.75rem;
}

.headerDropdownContent a {
    float: none;
    text-decoration: none;
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.headerDropdownContent a:last-child {
    margin-bottom: 5px;
}

.headerDropdownToggle:hover .headerDropdownContent {
    display: block;
}

/* Breadcrumb */

.pageBreadcrumb {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    background-color: #F1F1F1;
}

.breadcrumbItem a {
    color: #1A1A1A;
    font-weight: normal;
}

.breadcrumbnActive a:hover {
    text-decoration: underline;
}

.breadcrumbActive a {
    cursor: text;
    font-weight: bold;
}

.breadcrumbItem a:hover {
    color: #1A1A1A;
}

.pageBreadcrumb ol li {
    display: inline;
}

.pageBreadcrumb li+li:before {
    padding: 4px;
    color: black;
    content: "/\00a0";
}

/* !! SECTION PAGES !! */

.beaversPageTitle {
    background-color: rgb(0, 109, 223);
    padding: 10px;
    color: white;
}

.cubsPageTitle {
    background-color: rgb(0, 57, 130);
    padding: 10px;
    color: white;
}

.scoutsPageTitle {
    background-color: rgb(99, 16, 188);
    padding: 10px;
    color: white;
}

.safeguardingPageTitle {
    background-color: rgb(255, 230, 39);
    padding: 10px;
    color: #404040;
}

.sectionContent {
    display: flex;
    justify-content: space-between;
    max-width: 1250px;
    margin: 0 auto;
    padding: 1rem;
}

#row1contents {
    margin-bottom: 50px;
}

.newsContentRow {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#row1contents ol {
    list-style-type: none;
    max-width: 750px;
}

#row1contents p {
    max-width: 750px;
}

.titleContent p {
    max-width: 750px;
    margin: 0 auto;
}

.fontSmall {
    font-size: 80%;
}

.navigatorCard {
    flex: 1 1 calc(20% - 20px);
    min-width: 385px;
    max-width: 385px;
}

.cardImage img {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.cardBody {
    padding: 15px;
    background-color: #F1F1F1;
}

.newsCardBody {
    margin-top: -10px !important;
    padding: 15px;
    background-color: #F1F1F1;
}

.cardBody p {
    margin-bottom: 10px;
}

.safeguardingCard .cardBody {
    color: #1A1A1A;
    border: 1px solid black;
    border-radius: 0.1rem;
    border-left: 5px solid rgb(255, 230, 39);
}

.safeguardingCard {
    max-width: 950px;
    margin: 0 auto;
}

.safeguardingCardBody {
    color: #404040;
    background-color: rgb(255, 230, 39);
    padding: 30px;
    margin-bottom: 10px;
    display: flex;
}

.row {
    flex: 0 0 50%;
    max-width: 50%;
    flex-direction: row;
    justify-content: space-around;
}

.imagesrow {
    display: flex;
    justify-content: space-between;
}

.shareModal {
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 .1875rem .75rem #2f2b3d24;
}

.modalHeader {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

span.close {
    color: #000;
    float: right;
    font-weight: bold;
}

.modalHeader h2 {
    text-align: center;
}

.linkRow {
    display: flex;
}

.shareLinkButton {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 0;
    opacity: 100%;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 .75rem 1.5rem;
    max-width: 120px;
    padding: 1rem;
    width: 120px;
    height: 120px;
}

.facebookBackground {
    background-color: #3b5a9a;
}

.xBackground {
    background-color: #119fd7;
}

.whatsappBackground {
    background-color: #119b45;
}

.linkedlnBackground {
    background-color: #4974b6;
}

.pinterestBackground {
    background-color: #d0212a;
}

.miscBackground {
    background-color: #505050;
}