﻿/* Custom site CSS for www.suffolkconnected.org.uk */

/* Header */
    /* Google Translate positioning and styling */
    .GoogleTranslateContainer{
        text-align: right;
        padding: 0 10px;
        color: #fff !important;
    }
    .goog-te-gadget, .goog-logo-link {
        color: #fff !important;
    }

/* Menu */
    .menuContainer {
        width: 100%;
        background-color: #f2f2f2;
        color: #3e3851;
        font-weight: 600;
    }
    .menuContainer .menu ul{
        list-style-type: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    .menuContainer .menu ul li{
        padding: 1em 2em;
        display: inline-block;
    }
    .menuContainer .menu ul li a{
        color: #3e3851;
        font-size: 1.4em;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-decoration: none;
    }
    .menuContainer .menu ul li:last-of-type {
        border-right: 0;
    }
    /* Mobile menu */
    @media screen and (min-width: 1200px){
        .menuContainer .mobileMenu {
            display: none;
        }
        .menuContainer .menu {
            display: block;
        }
    }
    @media screen and (max-width: 1200px) {
        .menuContainer .mobileMenu {
            display: block;
        }
        .menuContainer .menu {
            display: none;
        }
    }
    .menuContainer .mobileMenu ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    .menuContainer .mobileMenu ul li {
        padding: 1em 3em;
    }
    .menuContainer .mobileMenu ul li a {
        color: #3e3851;
        font-size: 1.1em;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-decoration: none;
    }
    .menuContainer .mobileMenu #mobileMenuItems{
        display: none;
    }
    .menuContainer .mobileMenu ul li a{
        font-size: 1.2em;
    }
    .menuContainer .mobileMenuToggle {
        font-size: 1.5em;
    }
    .menuContainer .mobileMenuToggle:hover {
        cursor: pointer;
    }

/* Latest Alerts */
    .AlertLink, .AlertLink:hover{
        text-decoration: none;
        color: #000;
    }
    .AlertContainer {
        max-width: 600px;
        width: 100%;
        margin: auto;
    }
    .line-clamp-1{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .btn-Green{
        color: #fff;
        background-color: #0bb0a0;
        border-color: #0bb0a0;
        border-radius: 50px;
    }
    .btn-Green:hover{
        color: #fff;
        background-color: #0bb0a0;
        border-color: #0bb0a0;
    }
    .latestAlertsContainer p, .latestAlertsContainer .line-clamp-1, .latestAlertsContainer .line-clamp-2{
        color: #212529;
    }

/* Custom Colours */

    /* Background colours */
    .GreyBG {
        background-color: #2f3944;
        color: #fff;
    }
    .LightGreyBG {
        background-color: #f2f2f2;
        color: #000;
    }
.WhiteGreyGradientBG {
    background-image: linear-gradient(#fff, #2f3944);
}

    /* Headings */
    .GreyHeading {
        color: #2f3944;
    }

/* Accordion */
    .accordion-button:not(.collapsed) {
        color: #3e3851;
        background-color: #f2f2f2;
        font-weight: 500;
    }
    .accordion-button:focus {
        box-shadow: none;
    }

/* Quick registration */
    .NASignUpHolder {
    }
    .NASignUpHolder form {
        margin: 0;
    }
    .NASignUpHolder .NASignUpInputHolder {
        padding: 0.5em 0;
    }
    .NASignUpHolder .NASignUpInputHolder input[type=text], .NASignUpHolder .NASignUpInputHolder input[type=email] {
        padding: 1em;
        width: 100%;
        border-radius: 0.5em;
        border: 1px solid #f2f2f2;
        background-color: #f2f2f2;
    }
    .NASignUpHolder .NASignUpInputHolder input.errorBox {
        border: 2px solid #FF0000;
    }
    .NASignUpHolder .NASignUpInputHolder input.errorBox::-webkit-input-placeholder {
        color: #FF0000;
    }
    .NASignUpHolder .NASignUpInputHolder input.errorBox:-moz-placeholder {
        color: #FF0000;
    }
    .NASignUpHolder .NASignUpInputHolder input.errorBox::-moz-placeholder {
        color: #FF0000;
    }
    .NASignUpHolder .NASignUpInputHolder input.errorBox:-ms-input-placeholder {
        color: #FF0000;
    }
    .NASignUpHolder div.errorCheckbox {
        color: #FF0000!important;
    } .NASignUpHolder div.errorCheckbox a {
        color: #FF0000!important;
    }
    .NASignUpHolder .NASignUpInputHolder button {
        padding: 0.5em;
        width: 100%;
        max-width: 200px;
        cursor: pointer;
        background-color: #0bb0a0;
        color: #fff;
        border: 0;
        border-radius: 50px;
        font-size: 1.2em;
        font-weight: 600;
    }
    .NASignUpHolder .NASignUpInputHolder:last-of-type, .NASignUpHolder .NASignUpInputHolder:nth-last-of-type(2){
        text-align: left;
    }

/* Footer */
    .footer {
        width: 100%;
        white-space: normal;
        line-height: 1.5;
    }

    .footerContainer {
        width: 100%;
        color: #fff;
        border-top: 1px solid #fff;
    }

    .footerContainer a {
        color: #fff;
        text-decoration: underline;
    }

/* Cookie consent */
    #cookieConsent {
        position: fixed;
        bottom: 10px;
        right: 10px;
        padding: 10px;
        margin: 10px;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0px 5px 10px rgb(0 0 0 / 40%);
        border: 1px solid #ccc;
        max-width: 300px;
        width: 100%;
    }