.page {
    border: 1px solid gray;
    justify-content: center;
    display: block;
    max-width: 1600px;
    margin: 0 auto;
}

.logo_panel {
    padding-top: 30px;
    text-align: center;
    height: 160px;
}

.the_logo
{
    height: 120px;
    /* margin-top: 20px; */
}

h1{
    font-size: xx-large;
    color: var(--primary);
}

h2{
    font-size: x-large;
    color: var(--primary);
}

h3{
    font-size: larger;
    color: var(--primary);
}

h4{
    font-size: large;
    color: var(--primary);
}

b {
    font-family: Poppins-Bold;
    color: var(--primary);
}

i {
    font-family: Poppins-Italic;
    color: var(--primary);
}

.large_text
{
    font-size: large;
    color: var(--primary);
}


/* .the_logo
{
    height: 140px;
    margin: 20px;
} */

.report_background
{
    background: url('/static/img/key_strip.jpeg');
    background-position: center;
}

.rep_rows
{
    width:100%;
}

.report_types
{
    display:flex;
    background-color: var(--semi_primary);
    height: 300px;
    /* margin: 0 auto; */
}

.complaint_header
{
    display: flex;
    /* font-family: Poppins-Bold; */
    color: white;
    justify-content: center;
    padding-top: 20px;
    font-size: xx-large;
    text-align: center;
}

.types 
{
    display: flex;
}

.complaint_type_button
{
    /* display: inline-block; */
    background-color:var(--menu_bg);
    color: var(--menu_item_text);
    border-radius: 24px;
    border: 1px solid var(--secondary);
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 10px;
    padding-left: 10px;
    font-family: Poppins;
    /* height: 40px; */
    width: 200px;
    font-size:large;
    opacity: 1;
    cursor: grab;
    /* margin: 40px; */
    text-align: center;
    margin: 0 auto;
    margin-top: 80px;
    display: inline-flex;
    justify-content: center; /* center the content horizontally */
    align-items: center;
}

.nav_strip
{
    /* display: inline-block; */
    height: 33px;
    width: 50%;
    display: flex;
    justify-content: center;
    /* background-color: fuchsia; */
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
    margin-bottom: 4px;
}

.hotline_panel
{
    background-color: lightgrey;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
}

.message_panel
{
    /* background-color: lightgrey; */
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
}

.nav_text
{
    background-color: var(--menu_item_text);
    color: var(--primary);
    width: 25%;
    font-family: Poppins-Bold;
    border: 1px solid rgb(230, 226, 226);
    border-radius: 4px;
    padding-top: 3px;
     margin-right: 1px;
}

.nav_text a
{
    background-color: var(--menu_item_text);
    color: var(--primary);
    width: 25%;
    font-family: Poppins-Bold;
    border: none !important;
}

.nav_text:hover
{
    color: var(--menu_item_text);
    background-color: var(--primary);
}

.nav_text:hover a
{
    color: var(--menu_item_text);
    background-color: var(--primary);
}

.powered_by
{
    background-color: rgb(89, 87, 87);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: small;
    color: darkgrey;
}

.box_panel
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.box {
    margin-left: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
    min-width: 200px;
    height: 200px;
    width: 19%;
    align-items: center;
    border: 1px solid lightgray;
    border-radius: 5px;
    text-align: center;
}

.hidden
{
    display: none;
}

.icon_strip
{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding-top: 4px;
}

.contact_panel
{
    display: inline-block;
    width: 90%;
    /* height:260px; */
    /* display: flex; */
    align-items: center;
    margin: 0 auto;
}

.contact_icon
{
    display:block;
    color: var(--primary);
    height: 32px;
    width: 40px;
    font-size: x-large;
    /* text-align: center; */
}

.qr_code
{
    color: var(--primary);
    /* height: 50px; */
    width: 140px;
    height: 140px;
    margin-top: -12px;
    /* width: 40px; */
    /* font-size: x-large; */
}

.contact_text
{
    font-size: small;
    text-overflow:ellipsis;
    padding-left: 2px;
    padding-right: 2px;
}

.contact_title
{
    font-size: medium;
    font-family: Poppins-Bold;
    padding-bottom: 6px;
}

.contact_button
{
    padding: 10px;
    margin: 5px;
    display: inline-block;
    text-align: center;
    width: 20%;
    /* height: 210px; */
    border: 1px solid lightgray;
    border-radius: 5px;
    min-width: 180px;
}

/* .qr_code
{
    width: 100px;
    height: 100px;
} */

/* @media screen and (min-width: 500px) 
{
   .the_logo
    {
        height: 140px;
        margin-top: 20px;
    }
} */

/* Shared client pages retain their desktop layout and tenant colours. */
.shared-landing .complaint_type_button {
    cursor: pointer;
}

.shared-landing .complaint_type_button:focus-visible,
.shared-landing a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

@media screen and (max-width: 760px) {
    .shared-landing {
        margin: 0;
    }

    .shared-landing .page,
    .shared-landing .page * {
        box-sizing: border-box;
    }

    .shared-landing .page {
        width: 100%;
        border: none;
    }

    .shared-landing .logo_panel {
        height: auto;
        padding: 24px 20px 16px;
    }

    .shared-landing .the_logo {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
    }

    .shared-landing .nav_strip {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: auto;
        height: auto;
        margin: 0 16px 16px;
    }

    .shared-landing .nav_strip > .nav_text:not(.hidden) {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 40%;
        min-height: 44px;
        width: auto;
        margin: 0;
        padding: 0;
        font-size: 1rem;
    }

    .shared-landing .nav_text a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 8px 12px;
    }

    .shared-landing .report_background {
        background-size: cover;
    }

    .shared-landing .report_types {
        background-color: var(--semi_primary, rgba(0, 0, 0, 0.55));
        height: auto;
        min-height: 240px;
        padding: 28px 20px 36px;
    }

    .shared-landing .rep_rows {
        min-width: 0;
        padding: 0;
    }

    .shared-landing .complaint_header {
        padding: 0;
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.35;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .shared-landing .types {
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .shared-landing .complaint_type_button {
        width: 100%;
        max-width: 360px;
        min-height: 60px;
        margin: 0 auto;
        padding: 16px 24px;
        font-size: 1.125rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .shared-landing .box_panel {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        margin: 0;
        padding: 20px 16px;
    }

    .shared-landing .box {
        width: 100%;
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 24px 18px;
    }

    .shared-landing .icon_strip {
        margin: 0 0 16px;
        padding: 0;
    }

    .shared-landing .contact_title {
        padding-bottom: 16px;
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .shared-landing .contact_text {
        padding: 0;
        font-size: 1rem;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .shared-landing .qr_code {
        width: 180px;
        height: auto;
        max-width: 100%;
        margin: 0;
    }

    .shared-landing .hotline_panel,
    .shared-landing .message_panel {
        padding: 24px 20px;
        font-size: 1rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .shared-landing .hotline_panel img,
    .shared-landing .message_panel img {
        max-width: 100%;
        height: auto;
    }

    .shared-landing .hotline_panel h1,
    .shared-landing .message_panel h1 { font-size: 1.75rem; }
    .shared-landing .hotline_panel h2,
    .shared-landing .message_panel h2 { font-size: 1.5rem; }
    .shared-landing .hotline_panel h3,
    .shared-landing .message_panel h3 { font-size: 1.25rem; }

    .shared-landing a {
        text-underline-offset: 3px;
    }
}
