:root {
    --pink-color: #E6007E;
    --darkblue-color: #013063;
    --lightblue-color: #51c3e7;
    --green-color: #00C974;
    --green-hover-color: #03AD64;
    --lightblue2--color: #b3d6ff;
    --mdc-theme-primary: #00C974;
    --mdc-theme-error: red;
    --mdc-protected-button-label-text-color: #fff;
    --mdc-ripple-fg-opacity: var(#000, 0.5);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: var(--mdc-theme-primary);
}

.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: red;
    color: var(--mdc-theme-error, red);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.petition-form--top {
    background-color: var(--pink-color);
    padding: 40px 40px;
}

h3.petition-form--title {
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 15px;
}

span.total-signatures {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

span.goal-text {
    color: #000;
    font-weight: 500;
    font-size: 18px;
}

.petition-form--details {
    margin: auto;
    padding: 50px 30px 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
    width: 90%;
}

.petition-form--details>label,
.address-wrapper>label {
    width: 100%;
    margin-bottom: 10px;
}

.petition-form--politicians {
    width: 85%;
    margin: auto;
    background: linear-gradient(0deg, #DADDFA, #F1F4F9, #C8F5F5);
    padding: 20px;
}

select#districts {
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    border-radius: 5px;
}

.politicians-list {
    position: relative;
}

.politicians--wrapper {
    display: flex;
    padding: 20px 0 10px;
}

.politicians--wrapper>div {
    width: 50%;
}

.politicians--wrapper label {
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.5px;
    width: 100%;
    display: block;
    color: #000;
    font-size: 17px;
    line-height: 25px;
}

body {
    font-family: Archivo
}

label.politician-title {
    font-size: 8px;
    text-transform: uppercase;
    color: var(--darkblue-color);
    letter-spacing: 1px;
    line-height: 16px;
    font-weight: 400;
}

.static-politicians {
    padding-left: 10px;
}

.politicians-list {
    padding-right: 10px;
    border-right: solid 1px var(--darkblue-color);
    margin-right: 10px;
}

.keep-up-to-date {
    width: 89%;
    margin: auto;
    margin-top: 20px;
}

.gdpr-wrapper.yes {
    margin-bottom: 10px;
}

span.gdpr-option-text.yes {
    color: var(--pink-color);
}

span.gdpr-option-text.no {
    color: var(--lightblue-color);
}

p.privacy-policy {
    margin-top: 20px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 200;
    color: #000;
    font-family: 'Archivo Narrow';
}

button#submit:hover {
    background-color: var(--green-hover-color);
}

button#submit {
    background-color: var(--green-color);
    border: none;
    border-radius: 50px;
    height: 55px;
    width: 100%;
    box-shadow: inset 0 2px 3px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    margin-top: 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
    font-family: 'Silka';
    text-transform: none;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .2s;
}

button#submit span {
    color: #fff;
}

.petition--wrapper {
    margin-top: 10px;
    width: 100%;
    display: flex;
}

.petition-icon {
    height: min-content;
    padding: 10px;
    background-color: var(--lightblue2--color);
    border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.petition-icon i {
    font-size: 20px;
    color: #fff;
}

h3.petition-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
}

.petition-letter--wrapper {
    background-color: var(--lightblue2--color);
    padding: 10px 10px 10px 30px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
}

textarea#letter {
    background-color: var(--lightblue2--color);
    border: none;
    resize: none;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 19px;
}

button.petition-button--see-full-text {
    background: none;
    border: none;
    text-align: left;
    text-transform: uppercase;
    font-size: 11px;
}

button.petition-button--see-full-text i {
    margin-right: 10px;
    font-size: 13px;
}

.petition-form--wrapper * {
    color: #000;
}

i.fas.fa-lock {
    color: #fff;
    font-size: 12px;
    position: relative;
    top: -2px;
}

.gdpr-wrapper input {
    margin-right: 10px;
    top: 2px;
    position: relative;
}

.gdpr-option-text {
    font-weight: 700;
}

.laguage-button--wrapper {
    border: solid 1px #fff;
    width: fit-content;
    padding: 15px 10px;
    display: flex;
    position: relative;
    float: right;
    margin-right: 40px;
    background-color: rgba(0, 0, 0, 0.5);
}

.laguage-button--wrapper button {
    width: 100%;
    background: none;
    display: flex;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.laguage-button--wrapper::before {
    position: absolute;
    top: 0px;
    right: 0;
    width: calc(100% - 185px);
    height: 1px;
    content: '';
    background-color: #fff;
    display: none;
}

.laguage-button--wrapper::after {
    display: none;
    position: absolute;
    top: 0px;
    left: 0;
    width: calc(100% - 185px);
    height: 1px;
    content: '';
    background-color: #fff;
}

label.language-button--title {
    position: absolute;
    letter-spacing: 2px;
    color: #000;
    z-index: 1;
    top: -12px;
    left: 0px;
    font-weight: 400;
    text-align: center;
    width: 140px;
    font-size: 8px;
    text-transform: uppercase;
    background-color: #fff;
    left: 39px;
    border-radius: 20px;
    padding: 0;
    line-height: 14px;
    top: -7px;
}

.laguage-button--wrapper button img {
    max-width: 20px;
    margin-right: 7px;
}

.laguage-button--wrapper button.selected {
    color: var(--pink-color);
}

.laguage-button--wrapper button:hover {
    color: #f907a2;
    cursor: pointer;
}

textarea#letter.show {
    height: 500px;
    overflow: auto;
}

.sign-letter--signatures--bar {
    width: 90%;
    height: 26px;
    background-color: #D8D8D8;
    max-width: 100%;
    margin-left: 0px;
    margin-top: 10px;
    position: relative;
}

.sign-letter--signatures--bar--value {
    background: linear-gradient(90deg, #4ec4e7 0%, #073669 100%);
    height: 26px;
    width: 13px;
    position: relative;
    transition: ease-in-out 500ms;
}

.sign-letter--signatures--bar--value::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 20px 0px 20px 20px;
    border-color: transparent transparent transparent #f13400;
    height: 0px;
    width: 10px;
    right: -23px;
    display: none;
    top: -7px;
}

span.signatures-text {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

label#email-address-error,
label#name-error {
    position: absolute;
    color: red;
    font-size: 10px;
}

.petition-form--politicians.error select {
    color: red;
    border-color: red;
    background-color: #ffe4e4;
}

.petition-form--politicians.error::after {
    content: '';
    position: absolute;
    display: block;
    left: -8px;
    top: -8px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border: solid 3px red;
    z-index: -1;
}

.petition-form--politicians.error {
    position: relative;
}

.gdpr.error {
    border: solid 3px red;
    padding: 20px;
}

label#input-gdpr-error {
    color: red;
    font-size: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
    position: relative;
    display: block;
}

.gdpr {
    padding: 20px;
}

select#profession {
    width: 100%;
    margin-top: 0px;
    border-radius: 5px;
    height: 58px;
    padding: 0px 10px;
}

.petition-form--top::before {
    content: '';
    position: absolute;
    background-image: url(https://salvani.eu/wp-content/uploads/2022/11/Black-triangle.svg);
    background-repeat: no-repeat;
    left: 40px;
    top: -2px;
    width: 70px;
    height: 50px;
}

form#sign_petition::before {
    content: '';
    position: absolute;
    background-image: url(https://salvani.eu/wp-content/uploads/2022/11/Pink-triangle.svg);
    background-repeat: no-repeat;
    left: 40px;
    top: -1px;
    width: 70px;
    height: 50px;
}

form#sign_petition {
    position: relative;
    padding-bottom: 50px;
}

.petition-form--wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0px;
    height: 0px;
    width: 100%;
    box-shadow: 0px 20px 20px 20px #00000040;
    z-index: 0;
    overflow: hidden;
}

.petition-form--wrapper {
    position: relative;
    overflow: hidden;
}

h3.petition-form--title span:nth-child(2) {
    max-width: 330px;
    display: block;
    font-weight: 300;
    line-height: 1.3em;
    font-size: 18px;
}

span.goal-number {
    font-size: 18px;
}

.politicians--wrapper.hide {
    display: none;
}

.petition-progress-bar {
    margin-top: 20px;
}

.sign-letter--signatures--bar::before {
    content: '';
    height: 60px;
    width: 60px;
    position: absolute;
    right: -30px;
    top: -15px;
    background-image: url(/wp-content/uploads/2022/11/Counter-image.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.profession-wrapper {
    width: 100%;
    display: block;
}

label#profession-error {
    display: block;
    color: red;
    font-size: 12px;
}

.profession-wrapper.error select {
    border-color: red;
    color: red;
}

.popup-map--wrapper {
    display: none;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 5;
}

.popup-map-list img {
    height: 90vh;
    margin: auto;
    position: relative;
    display: block;
    top: 5vh;
}

.popup-map-list {
    position: relative;
}

i.far.fa-times-circle {
    position: absolute;
    top: 70px;
    right: 70px;
    color: var(--pink-color);
    font-size: 60px;
    cursor: pointer;
    z-index: 9;
}

i.far.fa-times-circle:hover {
    color: #fff;
}

label.open-map--wrapper {
    font-weight: 400;
    font-size: 12px;
    display: block;
    position: relative;
    margin-top: 10px;
}

a.open-map {
    color: var(--pink-color);
    font-weight: 700;
}

span.open-map {
    color: var(--pink-color);
    font-weight: 700;
}

.time-location-info {
    background-color: var(--lightblue-color);
    padding: 25px;
    border-radius: 50px;
    color: #000;
    font-size: 32px;
    font-family: 'Rubik';
    font-weight: 900;
    text-align: center;
    width: fit-content;
    margin: auto;
}

.time-location-info i {
    color: #fff;
    margin-left: 20px;
}

.march-total--wrapper span.signatures-text.translate,
.march-total--wrapper span.total-signatures {
    color: #e6007f;
}

span.add-address,
span.add-email {
    color: var(--pink-color);
    text-decoration: underline;
}

.address-option--hide,
.address-option--show {
    cursor: pointer;
}

.address-wrapper {
    display: none;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    align-content: space-between;
}

.address-option--hide {
    display: none;
}

.address-option--wrapper {
    display: flex;
    text-align: left;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    width: 100%;
    margin-bottom: 10px;
}

@media(max-width: 768px) {
    a.share {
        padding: 20px 5px;
        font-size: 40px;
        margin-right: 0px;
    }
    a.share.facebook {
        color: #2f5993;
    }
    a.share.whatsapp {
        color: #31c973;
    }
    a.share.whatsapp {
        color: #31c973;
    }
    a.share.email {
        color: #4fc4e7;
    }
    .march-total--wrapper span.signatures-text.translate,
    .march-total--wrapper span.total-signatures {
        color: #e6007f;
    }
    .time-location-info {
        font-size: 10px;
        padding: 10px 10px;
        margin: auto;
    }
    .time-location-info i {
        margin-left: 5px;
    }
    label.language-button--title {
        font-size: 6px;
        left: 40px;
        line-height: 10px;
        top: -5px;
        width: 120px;
    }
    button.maltese-language.mt,
    button.english-language.en {
        font-size: 11px;
    }
    .laguage-button--wrapper {
        padding: 12px 10px;
        margin: auto;
        float: none;
        margin-bottom: -30px;
        margin-top: -20px;
    }
    label.politician-name {
        font-size: 12px;
        line-height: 1.7em;
    }
    .static-politicians label:not(.politician-title) {
        font-size: 14px;
    }
    .popup-map-list img {
        width: 100%;
        top: 15vh;
        height: auto;
    }
    i.far.fa-times-circle {
        position: absolute;
        top: 20px;
        right: 40px;
        font-size: 40px;
    }
    button#submit {
        font-size: 15px;
    }
    .petition-form--top {
        padding: 40px 20px;
    }
    .petition-form--details {
        padding: 50px 20 20pxpx;
        width: 100%;
    }
    .keep-up-to-date {
        width: 100%;
        padding: 0px 10px;
    }
    #march-language-buttons .laguage-button--wrapper {
        width: 250px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: center;
    }
    #march-language-buttons label.language-button--title {
        width: calc(100% - 120px);
        left: calc(50% - 60px);
    }
    #march-language-buttons button {
        position: relative;
        display: inline-flex;
    }
}