
body,
.grandientWrap
{
    background-image: none;
}

.bodyWrap
{
    background-position: 38% 19%;
    background-image: url("../Images/Layout/bodyWrap.png");
}

.bodyWrap,
.topWrap,
.looseLeaf,
.looseLeafTopBackground,
.looseLeafFooter,
.looseLeaf .looseLeafRight,
#newsLatest h3,
#newsLatest summary,
#newsLatest div,
#newsLatest details > div
{
    width: 100%;
}

.looseLeaf,
.looseLeafTopBackground
{
    background-image: none;
}

.looseLeaf .looseLeafRight
{
    margin: 0 auto;
}

.looseLeaf .looseLeafLeft
{
    float: none;
    width: 100%;
    margin-block: 1rem;
    margin-inline: 0;
}
.looseLeaf .looseLeafLeft .locationsHeading
{
    background-size: 100% auto;
}

.csc-textpic-intext-left-nowrap-246 .csc-textpic-text
{
    margin-left: 0;
}

.allWrap
{
    width: 95%;
}

.looseLeafTopBackground
{
    display: flex;
    flex-direction: column-reverse;
}

.looseLeaf .looseLeafLeft .locations
{
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding-inline: 0;
    padding-block: 0.5rem;
}
.looseLeaf .looseLeafLeft .locations > *
{
    flex-basis: 100%;
    flex-grow: 1;
}
.looseLeaf > .clear,
.subMenu,
.furtherLinksHeading,
.furtherLinks,
.rightColumn,
.mainMenu,
#newsLatest,
.headerImage,
.looseLeafFooter,
.pageFooterTop,
.pageFooterBottom
{
    display: none;
}

/******************
*******************
***
***	  Footer
***
*******************
******************/
div.locations
{
    margin-bottom: 10px;
}

.locationsWrapper
{
    border-top: 1px solid grey;
    margin: 15px auto 0;
    padding: 10px 0;
    width: 90%;
}

div.locations .csc-default
{
    display: inline-block;
    margin: 0 2.5%;
    vertical-align: top;
    width: 45%;
}

div.locationsHeading h3
{
    width: 160px;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 20px;
}

.metaMenu
{
    float: none;
    width: auto;
    margin: 0 auto;
    margin-top: 10px;
    padding: 0 4px;
}

.metaMenuItemActive
{
    font-size: 12px;
}

.pageFooter
{
    margin: 10px 0;
    background-image: none;
}

.headerImage
{
    background: rgba(0, 0, 0, 0) url("../Images/Layout/sampleHeader_2.png") no-repeat scroll right bottom / 99% auto;
    display: block;
    margin-left: -122px;
    position: absolute;
    left: 50%;
}

#newsLatest
{
    margin: 0 auto;
    margin-top: 10px;
}

#newsLatest h3,
#newsLatest summary
{
    width: 550px;
}

#newsLatest div,
#newsLatest details > div
{
    width: 532px;
}

div.soboo
{
    float: none;
}
.topWrap
{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
    margin: 0;
}
.header
{
    position: relative;
    top: 0.5rem;
    left: 0.5rem;
    width: fit-content;
    height: fit-content;
}

.logo
{
    position: relative;
    width: fit-content;
    margin: 0;
    float: none;
    z-index: 20;
}

.logo > a
{
    display: block;
    width: fit-content;
    padding: 0.5rem;
    background-color: rgba(255,255,255,0.8);
    border-radius: 1.5rem;
    box-shadow: 5px 5px 6px 0 rgba(255,255,255,0.3);
    border: 1px silver dotted;
}

.logo img
{
    height: auto;
    width: 20vw;
}

.headerImage
{
    position: fixed;
    display: block;
    left: unset;
    right: 0;
    width: 100vw;
    max-width: 500px;
    margin-left: 0;
    opacity: 0.2;
    background-position: right bottom;
    z-index: 1;
}

.keywords
{
    float: none;
    width: 75vw;
    height: auto;
    margin-right: 10%;
    scale: 0.8;
}

.breadCrumb
{
    padding-bottom: 0;
    margin-left: 2rem;
    margin-bottom: 0;
    border-top-left-radius: 0.5rem;
}

.main-content
{
    width: auto;
    margin-left: 2rem;
    padding-left: 1.5rem;
    padding-block: 1.8rem;
    background-color: white;
}

#mainMenuMobile
{
    position: fixed;
    right: 0.5rem;
    top: 0.5rem;
    display: block;
    max-width: 100vw;
    z-index: 1000;

    transition: all 0.5s ease-in;
}

#mainMenuMobile.active
{
    width: 540px;
    border-bottom-left-radius: 0.8rem;
}

.hamburger-icon
{
    width: 100%;
    height: 4px;
    background-color: var(--fsndBlue);
}

.menu-button
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

    transition: all 0.5s ease-in;
}

.active .menu-button
{
    padding-bottom: 0.6rem;
    background-color: black;
    color: white;
    border-top-left-radius: 1rem;
}

.menuTitle
{
    display: inline-block;
    max-width: 0;
    width: fit-content;
    margin-inline: auto;
    overflow: clip;

    transition: all 0.5s ease-in;

}

.active .menuTitle
{
    max-width: 200px;
    margin-top: 0.5rem;
}

#touchButton
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 2rem;
    height: 1.5rem;
    padding-block: 0.2rem;
    padding-inline: 0.1rem;
    border-radius: 0.3rem;
    box-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.4);
    background-color: white;
    cursor: pointer;

    transition: all 0.5s ease-in;
}

.active #touchButton
{
    max-width: 100vw;
    margin-left: auto;
    background: #2a292c;
    color: white;
}

.active .hamburger-icon
{
    height: 2px;
    background-color: white;
}

#mainMenuNav
{
    max-height: 0;
    height: auto;
    overflow: hidden;

    transition: all 0.5s ease-in;
}

.active #mobileMenuList
{
    max-height: calc(100vh - 4rem);
    overflow: auto;
    overscroll-behavior: contain;
}

#mobileMenuList
{
    max-width: 0;
    width: auto;
    padding-top: 0;
    margin-top: 0;
    box-shadow: -10px 10px 0 0 rgba(0, 0, 0, 0);
    border-top-left-radius: 0;

    transition: all 1s ease-in-out;
}

.active #mobileMenuList
{
    display: block;
    max-width: 240px;
    margin-top: 0.5rem;
    margin-left: auto;
    padding-top: 0.5rem;
    background-color: white;
    border-top-left-radius: 0.5rem;
    box-shadow: -10px 10px 0 0 rgba(0, 0, 0, 0.2);
}

#mobileMenuList ul
{
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

#mobileMenuList li
{
    position: relative;
}

#mobileMenuList a,
#mobileMenuList a:visited
{
    display: block;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    font-size: inherit;
    text-align: left;
    border-bottom: grey dotted 1px;
}

#mobileMenuList ul.level1
{
    padding-block: 1rem;
    text-align: left;
    background-color: white;
    font-size: 1rem;
    border-bottom-left-radius: 0.8rem;
}

li.mobileMenuLevel1Item
{
    font-size: 0.9rem;
    border-bottom: 1px dotted rgba(44,44,44,0.7);
}

li.mobileMenuLevel1Item:has(button)
{
    position: relative;
}

.subMenuToggle
{
    position: absolute;
    top: 0;
    right: 0;
    padding-block: 0.4rem;
    padding-inline: 0.5rem;
    font-size: 1.2em;
    font-weight: 600;
    rotate: 90deg;
    z-index: 2;

    transition: all 0.5s ease-in;
}

.open > .subMenuToggle
{
    transform: rotate(-90deg);
}

li.mobileMenuLevel1Item.last-item a
{
    border-bottom: none;
}

#mobileMenuList .mobileMenuLevel1Item  ul
{
    height: auto;
    max-height: 0;
    margin-left: 0;
    font-size: max(12px,0.8rem);
    background-color: white;
    overflow: clip;

    transition: all 0.5s ease-in;
}

#mobileMenuList .mobileMenuLevel1Item.open > ul
{
    max-height: 100vh;
    background-color: #f0f0f0;
    font-size: 0.85rem;
}

.mobileMenuLevel2 li > a
{
    padding-left: 1.5rem !important;
}

li .touch-button
{
    position: absolute;
    top: 0;
    right: 0;
    width: 3em;
    height: 2.7em;
    display: inline-block;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
    text-align: center;
    cursor: pointer;
    z-index: 900;
}
.ce-textpic.ce-intext img
{
    max-width: 45dvw;
    height: auto;
}
@media only screen and (max-width: 620px)
{
    .headerImage
    {
        background: rgba(0, 0, 0, 0) url("../Images/Layout/sampleHeader_2.png") no-repeat scroll right bottom / 92% auto;
        display: block;
    }

    #newsLatest h3,
    #newsLatest summary
    {
        width: 98% !important;
    }

    #newsLatest div,
    #newsLatest details > div
    {
        width: 84%;
    }
}

@media only screen and (max-width: 580px)
{
    #newsLatest h3,
    #newsLatest summary
    {
        width: 90% !important;
    }

    #newsLatest div,
    #newsLatest details > div
    {
        width: 84%;
    }

    div.soboo
    {
        width: 100%;
        margin: 0 auto;
        float: none;
        text-align: center;
    }

    div.twitter
    {
        float: none;
        display: inline-block;
    }

    div.wdgpo
    {
        float: none;
        display: inline-block;
    }

    div.twitter,
    div.wdgpo
    {
        margin: 5px 5px 10px 5px;
    }

    #___plusone_0
    {
        width: 65px !important;
    }

    div.faboo
    {
        float: none;
    }

    .headerImage
    {
        background: rgba(0, 0, 0, 0) url("../Images/Layout/sampleHeader_2.png") no-repeat scroll right bottom / 92% auto;
    }

    #newsLatest div,
    #newsLatest details > div
    {
        width: 85%;
    }
}

@media screen and (max-width: 500px)
{
    .breadCrumb,
    .main-content
    {
        margin-left: 0.1rem;
    }
    .ce-textpic.ce-intext img
    {
        max-width: 100dvw;
        margin-top: 1rem;
    }
    .ce-column,
    .ce-gallery
    {
        float: none !important;
        margin-inline: 0 !important;
    }
}

@media only screen and (max-width: 360px)
{
    .headerImage
    {
        background: rgba(0, 0, 0, 0) url("../Images/Layout/sampleHeader_2.png") no-repeat scroll right bottom / 85% auto;
        left: unset;
        right: 0;
    }


}
