@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');





* {
    box-sizing: border-box;
    transition: 0.15s;
    font-family: 'Roboto', sans-serif;
}

a{cursor: pointer;}

html, body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background-color: #f1f1f1;
}

.displayFont {
    font-family: 'Staatliches', serif;
}

body{
    overflow-x: hidden;
}


#headerWrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#titleCont {
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}#titleCont > h1 {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification {
    width: 100%;
    height: fit-content;
    background-color: #fca311;
    color: #14213d;
    padding: 1.2vh 4vh 1.2vh 6vh;
    font-family: 'IBM Plex Sans', sans-serif;
    display: grid;
    grid-template-columns: 1fr 4vh;
}.notification > p {
    margin:0;
}.notification > span {
    transition: 0.2s;
    cursor: pointer;
    user-select: none;
    background-image: url('/defaultMedia/close.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 1rem;
}.notification > span:hover {
    transform: scale(1.1);
}

#top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    user-select: none;
}

header {
    height: fit-content;
    width: 100%;
    border-bottom: 2px #14213d solid;
    padding: 0 3%;
    background-color: #e5e5e5;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    height: 16vh;
}header * {
    transition: 0.4s;
}

.headerScrolling {
    height: 10vh;
}

.headerScrolling a[type=tel] {
    height: 40%;
}

#headerTop {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 2fr 5fr 0.6fr;
    justify-items: space-between;
    align-content: center;
    font-family: 'Staatliches';
}
#menu_icon {
    display: none;
    width: 10vh;
    height: 100%;
    cursor: pointer;
}#menu_icon > div{
    width:6vh;
    height: 6vh;
    background-image: url("/defaultMedia/menu.png");
}

#headerBtm {
    width: 100%;
    height: fit-content;
    display: flex;
    align-content: center;
}#headerBtm * {
    margin: 1vh;
    margin-top: 0;
    margin-left: 0;
    font-size: 1.1rem;
    color: #14213d;
    font-weight: 500;
}

#pageBody {
    width: 100%;
    display: flex;
    font-family: 'Roboto', sans-serif;
    transition: 0.4s;
}.pageBodyScrolling {
    padding-top: 12vh;
}.pageBodyNotScrolling {
    padding-top: 16vh;
}

aside {
    width: 20%;
    height: fit-content;
    min-height: 10vh;
    border-right: 0.1rem rgb(43, 45, 51) solid;
    margin: 1rem 0.5rem;
    margin-right: 0;
    flex-direction: column;
    padding: 2rem;
    padding-left: 2%;
    gap: 2vh;
    background-color: #e4e7ee;
    font-weight: 600;
    display: none;
    border-top-left-radius: 0.4vh;
    border-bottom-left-radius: 0.4vh;
}aside a {
   text-decoration: none; 
}aside a::before {
    content: "\2012\00a0\00a0";
}aside a:hover {
    text-decoration: underline;
}aside * {
    color: rgb(43, 45, 51);
}

main {
    width: 100%;
    height: max-content;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
}

.fill {
    width: 100%;
    height: 100%;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #14213d;
    font-size: 6vh;
    letter-spacing: 0.2vh;
}

menu {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

item {
    width: fit-content;
    padding: 2vh 0.5vh;
    margin: 0 5px;
    position: relative;
    text-align: center;
}

item > *{
    transition: 0.2s;
}

item > a {
    letter-spacing: 0.06vh;
    font-size: 2.8vh;
    white-space: nowrap;
    text-decoration: none;
    color: #14213d;
    font-family: 'Staatliches';
    cursor: default;
}

dropDown {
    width:max-content;
    background-color: #e5e5e5;
    z-index: 999;
    position: absolute;
    top: calc(100%);
    left: 0;
    transition: 0.4s;
    border: 2px #14213d solid;
    font-family: 'IBM Plex Sans', sans-serif;
    padding: 4vh;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility:hidden;
}

dropDown > ul {
    margin: 0;
    padding: 0;
    /* list-style-type: none; */
}

dropDown > ul > li {
    margin-bottom: 2.5vh;
    text-align: left;
}

dropDown > ul a {
    text-align: left;
    text-align: left;
    border-bottom: 1px #14213d solid;
    cursor: pointer;
    color: #14213d;
    text-decoration: none;

}

item:hover > a {
    text-decoration: underline;
}

item > dropDown > ul {
    opacity: 0;
    transition: 0.4s;
}

item:hover > dropDown > ul {
    opacity: 1;
}


dropDown > ul a:hover {
    border-bottom: 1px #fca311 solid;
    color: #fca311;
}

item:hover > dropDown {
    visibility: visible;
    height: fit-content;
    opacity: 1;
}

a[type=tel] {
    font-size: 2.4vh;
    padding: 0 3vh 0 3vh;
    border: 2px #14213d solid;
    height: 60%;
    border-radius: 100vh;
    text-decoration: none;
    color: #14213d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Staatliches';
    white-space: nowrap;
}a[type=tel]::before {
    content: "\1F4DE\2002";
    font-weight: 900;
}a[type=tel]:hover{
    background-color: rgba(30, 45, 77, 0.4);
}

a[type=facebook] {
    height: 60%;
    aspect-ratio: 1 / 1;
    padding: 1.5vh;
    border: 2px #14213d solid;
    border-radius: 50%;
    margin-left: 2vh;
}a[type=facebook]:hover{
    background-color: rgba(30, 47, 82, 0.4);
}



a > img {
    max-height: 100%;
    max-width: 100%;
}

.spanner {
    width: 100vw;
    height: 100vh;
    margin: 0;
}


/* FOOTER STYLING */

footer {
    width: 100%;
    padding: 4vh 5%;
    background-color: #14213d;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    color: #d9dbe2;
}

footer > div[footer_top] {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: left;
}footer > div[footer_top] * {
    letter-spacing: 0.1rem;
    font-size: 2rem;
}

footer > div[footer_mid] {
    width: 100%;
    height: fit-content;
    display: flex;
}

footer > div[footer_btm] {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: right;
}footer > div[footer_btm] a {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
}footer > div[footer_btm] a > .edigital_icon {
    height: 1.6rem;
    width: 1.6rem;
    background-image: url("https://edigital.org.uk/images/logo_light.svg");
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
}footer > div[footer_btm] a > p {
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    color: #e5e5e5;
    font-size: 1rem;
}



footer div[sitemap] {
    width: 70%;
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    gap: 5vh;
}footer div[sitemap] ul {
    list-style-type:none;
    margin: 0;
    max-width: 20%;
}footer div[sitemap] ul * {
    color: #d0d3da;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.25s;
}footer div[sitemap] ul li:first-child > a {
    font-family: 'Staatliches';
    font-size: 1.4em;
    font-weight: 800;
    cursor: default;
}footer div[sitemap] ul li:not(:first-child) > a:hover {
    text-decoration: underline;
    color: rgba(208, 211, 218, 0.4);

}footer div[sitemap] ul li {
    margin-bottom: 8px;
    margin: 8px 0;
}

footer div[socials] {
    width: 30%;
    height: fit-content;
    display: flex;
    flex-direction: row-reverse;
    gap: 2vh;
    flex-wrap: wrap;
    padding: 1.5vh;
    padding-right: 0;
}

/* MOBILE NAVIGATION STYLING */

#mobileNav {
    width:100vw;
    height:100vh;
    z-index: 10000000;
    background-color: rgba(20, 33, 61, 0.8);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    animation: fadeIn 0.4s forwards;
    user-select: none;
}#mobileNav div[navCtrl] {
    height: 6rem;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0 10%;
}#mobileNav div[navCtrl] > span {
    font-size: 3rem;
    color: #e5e5e5;
}#mobileNav div[navCtrl] > span::before {
    content: "\2716";
}#mobileNav div[navCont] {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 2rem 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}#mobileNav div[navCont] * {
    color:#e5e5e5;
    font-size: 3rem;
    font-family: 'Staatliches';
    width: fit-content;
}#mobileNav div[navCont] > div {
    width: 100%;
    height:fit-content;
    display: flex;
    flex-direction: column;
}#mobileNav div[navCont] > div > div {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}#mobileNav > div[navCont] > div > div > span {
    line-height: 100%;
    font-size: 2.2rem;
}#mobileNav div[navCont] > div > div > span[dropDownToggle] {
    cursor: pointer;
}#mobileNav div[navCont] ul {
    padding: 0;
    padding-left: 1rem;
    margin: 0;
    list-style-type: none;
    animation: fadeIn 0.4s forwards;
}#mobileNav div[navCont] ul * {
    font-size: 2.2rem;
    color:#b3bdd1;
}#mobileNav div[navCont] ul li {
    border-bottom: 2px #b3bdd1 solid;
}#mobileNav a {
    text-decoration: none;
}
.mobileNavCont {
    width: 100%;
    height: 84vh;
    overflow-y: auto;
}

/* SOCIAL MEDIA ICON STYLING FOR FOOTER */

a[social] {
    width: 3rem;
    height: 3rem;
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    border-radius: 50%;
}a[social]:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

a[social=facebook] {background-image: url("/defaultMedia/Facebook.svg");}
a[social=instagram] {background-image: url("/defaultMedia/Instagram.svg");}
a[social=linkedin] {background-image: url("/defaultMedia/LinkedIn.svg");}
a[social=pinterest] {background-image: url("/defaultMedia/Pinterest.svg");}
a[social=twitter] {background-image: url("/defaultMedia/Twitter.svg");}
a[social=youtube] {background-image: url("/defaultMedia/YouTube.svg");}

.inlineIcon {
    width: 1em;
    height: 1em;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 1em;
    margin: 0;
    margin-right: 0.4em;
}.inlineIcon[logo] {
    background-image: url("/resources/logo.png");
}












/* THESE ARE THE SYLES FOR THE USER-SET PAGE ELEMENTS */




.spanW {
    height: max-content;
    width: 100%;
}

.imgBanner {
    width: 100%;
    height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.textPadding {
    padding-left: 10%;
    padding-right: 10%;
}

main {
    color: rgb(43, 45, 51);
    line-height: 150%;
    padding-bottom: 10vh;
}

main h1,h2,h3,h4,h5,p,a {
    margin: 0;
    line-height: 125%;
}

main h1 {
    color: inherit;
    font-size: 2.5rem;
    letter-spacing: -0.01rem;
    padding-top: 5vh;
    padding-bottom: 5vh;
    color: rgb(67, 67, 70);
}

main h3 {
    padding: 20px 0;
}

main hr {
    border: 0.2vh #14213d solid;
    background-color: #14213d;
    height: 0;
    margin: 20px 0;
    margin-right: 12%;
}

main p,a,span {
    color: rgb(43, 45, 51);
    font-size: 1.2rem;
    line-height: 160%;
}

/* THIS MAY BE A TERRIBLE IDEA BUT HERE GOES */

main div {
    font-size: 1.2rem;
}

main p {
    padding: 2vh 0;
}

main a {
    font-weight: 500;
}

main h4 {
    padding: 4vh 0;
    text-align: center;
    font-size: 1.85rem;
}

main .gap {
    width: 100%;
    height: 10vh;
}

.linkBtn {
    display:flex;
    padding-top: 4vh;
    padding-bottom: 4vh;
}.linkBtn > a {
    padding: 1rem 2rem;
    border-radius: 0.4vh;
    border: 2px #14213d solid;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    text-decoration: none;
}.linkBtn > a:hover {
    background-color: rgba(54, 74, 117, 0.25);
}

.image_left_of_text {
    width: 55%;
    display: flex;
    padding: 5vh;
    height: fit-content;
    margin-bottom: 4vh;
    border: 0.1rem #14213d solid;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.img {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0.4vh;
}

.image_left_of_text > .img {
    width: 30%;
    padding-bottom: 30%;
}

.image_left_of_text > .txt {
    width: 75%;
    height: fit-content;
    padding: 1.5rem;
}

.image_left_of_text > .txt > p {
    color: #14213d;
    font-size: 1.3rem;
}

.spanW.textPadding > img {
    width: 100%;
    max-width: 100%;
}
.spanW.textPadding.smallerImg {
    padding-top: 4%;
    padding-bottom: 4%;
    display: flex;
    justify-content: center;
}.spanW.textPadding.smallerImg > img {
    width:unset;
    max-height: 60vh;
}

.spanW.textPadding > h2 {
    text-decoration: underline;
}.spanW.textPadding > h2::after {
    content: "\00a0";
}

.fixedImage {
    width: 100%;
    height: 84vh;
    padding: 7%;
    display: flex;
    justify-content: right;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.fixedImage > .infoBox {
    padding: 5vh;
    height: fit-content;
    background-color: #e5e5e5;
    clip-path: polygon(90% 0, 100% 10%, 100% 100%, 0 100%, 0 0);
}

.fixedImage > .infoBox > b {
    font-size: 1.3rem;
    border-bottom: 0.1vh #14213d solid;
}

.darkBanner {
    padding: 6% 12%;
    display: flex;
    background-color: #d9dbe2;
    margin: 4rem 0;
}

.darkBanner .txt {
    display: block;
    width: 50%;
}
.darkBanner .img {
    min-height: 45vh;
    width: 50%;
}
.darkBanner iframe.img {
    border: 2px #5c667a solid;
    max-height: 45vh;
}

.productLink_container {
    padding: 6% 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5vh;
}

.productLink{
    width: calc(50% - 0.75vh);
    height: 40vh;
    /* padding: 1.5vh 0; */
}.productLink > div {
    border: 0.1rem #14213d inset;
    width: 100%;
    height: 100%;
    display: flex;
}.productLink > div > a {
    transition: 0.4s all;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8vh;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f4f8;
    background-color: rgba(48, 48, 48, 0.4);
    text-align: center;
    text-decoration: none;
    font-family: 'Staatliches', serif;
    letter-spacing: 0.075rem;
}.productLink .img {
    background-size: cover;
}.productLink a:hover,a:focus > p {
    background-color: rgba(48, 48, 48, 0.6);
    color: white;
    text-shadow: 0px 0px 18px white;
}

.centeredLineBreak {
    display: flex;
    justify-content: center;
    align-items: center;
}.centeredLineBreak > hr {
    width: 50%;
    margin-right: 0;
}

.textCenter {
    text-align: center;
}

.spanW.textPadding.textCenter {
    padding-top: 6vh;
    padding-bottom: 6vh;
}









@media screen and (max-width:24cm) {
    #pageBody {
        flex-direction: column;
    }
    aside {
        width: 100%;
    }
    #headerTop {
        display: flex;
        justify-content: space-between;
    }
    header a[type=tel] {
        display: none;
    }
    .fill.center {
        display: none;
    }
    #titleCont > h1 {
        font-size: 2rem;
    }
    footer {
        padding: 4vh;
    }
    footer div[sitemap] {
        display: none;
    }
    footer div[socials] {
        width: 100%;
    }
    footer div[footer_btm] {
        position: relative;
        bottom: 0;
    }
    header .fill.center {
        display: none;
    }
    menu {
        display: none;
    }
    #menu_icon {
        display: flex;
    }

    /* USER-SET ELEMENTS */

    .fixedImage, .imgBanner {
        background-attachment: unset;
    }

    .image_left_of_text {
        width: 100%;
    }

    .darkBanner {
        flex-direction: column-reverse;
    }
    .darkBanner > .txt {
        width: 100%;
    }
    
    .darkBanner > .img {
        width: 100%;
    }

    main h1 {
        font-size: 1.5rem;
    }
    .productLink {
        width: 100%;
    }
}




/* ANIMATIONS */

@keyframes fadeIn {
    from {opacity: 0;}
    to{opacity: 1;}
}

@keyframes fadeOut {
    from {opacity: 1;}
    to{opacity: 0;}
}