:root
{
    /*** sizes ***/
    --headerHeight: 72px;
    --teaserHeight: auto;
    --footerHeight: 601px;
    --borderRadius: 2.5rem;
    --maxWidth: 2000px;

    /*** colours ***/
    --primaryclr: #9800A2B2;
    --headerclr: rgba(152,0,162,0.7);
    --secondaryclr: #45006D;

    /*** fonts ***/
}

#centreAreaWrapper
{
    background-image: url("../Images/wave2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

h1
{
    color: #000;
    font-size: 3rem;
}

header span
{
    color: #000;
}

#leftRightWrapper
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: var(--contentWidth);
    margin-inline: auto;
    column-gap: 1rem;
}

#leftRightWrapper .content
{
    width: unset;
}

#headerWrapper
{
    background-color: unset;
}

#header
{
    padding-inline: 2rem;
    border-radius: var(--borderRadius);
    background-color: var(--headerclr);
    max-width: var(--maxWidth);
    margin-inline: auto;
}

#mainMenu a
{
    color: #fff;
    height: fit-content;
}

#mainMenuWrapper,
#headerMenuWrapper,
#mainMenu,
#mainMenu span
{
    height: 100%;
}

#mainMenu span
{
    display: flex;
    align-items: center;
}

#menuButton,
.menuToggler
{
    display: none;
}

#headerMenuWrapper,
#globeButton
{
    display: flex;
    align-items: center;
}

#headerMenuWrapper
{
    margin-left: auto;
    width: fit-content;
}

.subMenuOuterWrapper
{
    position: fixed;
}

#mainMenuWrapper li.level1 ul.level2
{
    top: 0;
    margin-top: 0;
    padding-top: 0;
    box-shadow: unset !important;
    position: unset;
}

#headerWrapper:has(li.menuItemLevel1:hover)
{
    height: 50vh;
    background: rgba(152, 0, 162, 0.7) url("../Images/wave1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 2rem;
}

#mainMenuWrapper ul.level1 li.level1 ul.level2 li
{
    background-color: unset;
    border-bottom: unset;
}

#teaserWrapper
{
    transform: translateY(calc(-1 * var(--headerHeight)));
    margin-bottom: calc(-1 * var(--headerHeight));
}

.indexPage .teaserImgInnerWrapper:after
{
    content: "";
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: 4rem;
    margin-right: 5rem;
    background-image: url("images/wAbC.png");
    background-repeat: no-repeat;
    background-size: contain;
}

#teaser
{
    overflow: clip;
    border-radius: var(--borderRadius);
    max-height: 80vh;
}

.teaserImageEl
{
    width: 100%;
    height: auto;
}

.teaserImgInnerWrapper
{
    align-items: flex-start;
}

.teaserTextWrapper
{
    margin-bottom: 4rem;
    margin-left: 4rem;
    top: unset;
    bottom: 0;
    left: 0;
    transform: unset;
}

.teaserText
{
    background-color: unset;
    max-width: unset;
}

.teaserHeaderWrapper
{
    display: flex;
    flex-direction: column-reverse;
}

.teaserHeaderWrapper h1
{
    color: #fff;
    font-size: clamp(12px, 5rem, 5rem);
}

.teaserHeaderWrapper .teaserSubHeader
{
    color: #fff;
}

#centreAreaWrapper,
#footerWrapper
{
    background-color: #fff;
}

#footerWrapper
{
    border-top: unset;
}

#footer
{
    max-width: var(--maxWidth);
    padding: 3rem;
    margin-inline: auto;
    background-color: var(--secondaryclr);
    border-radius: var(--borderRadius);
}

#bottomMenuWrapper
{
    width: 100%;
}

#bottomMenu
{
    display: flex;
    justify-content: space-between;
}

#bottomMenu a,
#contactInfo
{
    font-size: 1rem;
}

#bottomMenu .footerItemLevel1Link
{
    font-weight: 600;
}

.subFooterItems
{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.subFooterItems,
#contactInfo
{
    margin-top: 2rem;
}

#contactInfo p
{
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

#contactInfo .content
{
    width: unset;
}

.numbersGraphWrapper
{
    background-color: unset;
    max-width: 800px;
    margin-inline: auto;
}

.elNumberStatWrapper  .nameWrapper, .numberName
{
    color: #9F9FB6;
}

/*** powermail ***/

.tx-powermail .container-fluid
{
    background-color: rgba(234, 234, 246, 0.5);
    padding: 2rem;
    border-radius: 2rem;
}

.tx-powermail .powermail_legend
{
    font-size: 3rem;
    margin-bottom: 2rem;
}

label.powermail_label
{
    display: none;
}

input.powermail_input,
textarea.powermail_textarea,
.tx-powermail input[type=checkbox]
{
    border: 1px solid rgba(208, 208, 228, 1);
    background-color: #fff;
    border-radius: 4px;
}

input.powermail_input::placeholder,
textarea.powermail_textarea::placeholder
{
    color: #000;
}

.tx-powermail .powermail_fieldset .row:has(.powermail_fieldwrap_firstname)
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
}

.powermail_fieldwrap_lastname
{
    margin-block-start: 0.3em !important;
}

.tx-powermail input[type="submit"]
{
    background-color: #000;
    border: unset;
    border-radius: 2rem;
    padding-block: 1rem;
    padding-right: 4rem;
}

.tx-powermail .powermail_field:has(input[type="submit"])
{
    position: relative;
    width: fit-content;
}

.tx-powermail .powermail_field:has(input[type="submit"]):after
{
    content: "";
    position: absolute;
    background-image: url("images/bAwC.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 2.3rem;
    height: 2.3rem;
    right: 0;
    top: 50%;
    transform: translate(-20%, -50%);
}

.tx-powermail .powermail-errors-list.filled
{
    display: none;
}

.powermail_checkwrap.powermail_field_error
{
    background-color: rgba(220, 53, 69, 0.5);
    border-radius: 1rem;
}

/*** powermail end ***/

.csc-appearance1 .ce-textpic
{
    background-color: rgba(152, 0, 162, 1);
    border-radius: 2rem;
    padding: 2rem;
    color: #fff;
}

#rightContent .csc-appearance1,
#rightContent .frameInner,
#rightContent .contentBody,
#rightContent .ce-textpic
{
    height: 100%;
}

p.phone:before,
p.email:before
{
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 2rem;
    height: 2rem;
}

p.phone:before
{
    background-image: url("images/phone.png");
}

p.email:before
{
    background-image: url("images/mail.png");
}

.csc-appearance2 .headerItem
{
    width: fit-content;
    margin-left: 60%;
    font-size: 3rem;
    font-weight: 600;
}

.subPagesMenu
{
    padding-block: 2rem;
}

.subPagesMenu nav
{
    display: flex;
    gap: 1rem;
}

.subPageTitleWrapper
{
    border: 1px solid rgba(152, 0, 162, 1);
    border-radius: 2rem;
    padding: 0.5rem;
}

.subPageTitle,
.subPageTitle:visited
{
    color: rgba(152, 0, 162, 1);
    text-align: center;
}

.subPageTitleWrapper.currentPage
{
    border: unset;
    background-color: rgba(152, 0, 162, 1);
    border-radius: 2rem;
    padding: 0.5rem;
}

.subPageTitleWrapper.currentPage .subPageTitle
{
    color: #fff;
}

@media only screen and (max-width: 900px)
{
    #leftRightWrapper
    {
        display: block;
    }
}



